Repository navigation
接入官方 Claude Code 双端工作台,支持自定义底栏与 PWA 启动优化 - #9
Merged
Merged
Conversation
Rebuild the Claude Code integration on the /api/codex contract so the Web workspace serves Codex, Hermes and Claude from one shell. Bridge (Node, official Agent SDK): - split into history/state/runs/sessions modules; state is written only on transitions, live events stay in an in-memory ring with SSE resume - list and continue every native session; fork, rename, pin, delete, rewind via resumeSessionAt, model/effort and permission mode per session - steer through streaming input, graceful interrupt() stop, native permission suggestions, inline AskUserQuestion answers - failures before start are retryable; unknown results block the session until explicitly acknowledged and are never replayed - detect sessions held by desktop Claude processes (own SDK children excluded) and take over by gracefully ending the confirmed process Host: - no redirected stdio, interactive-session launch on Windows services, idle-only upgrades, Claude tasks block server updates - setup card, attachments, storage management and run registry for Claude Web: remove the standalone Claude page; new monochrome Claude icon. Android still uses the old screen and is not compatible yet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
If resolveSettings fails, the custom-endpoint guard no longer lets the run through. When custom endpoints are not allowed, the spawned CLI also gets ANTHROPIC_BASE_URL pinned to the official API. Bridge version 3 so the running worker is replaced once idle. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ot show the old square Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Phone session lists get one card per session with tighter line spacing; desktop cards drop the fixed height. Claude list rows now carry context_used/context_window like Codex and Hermes, cached per transcript revision. Bridge version 4. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…came busy The client sends the status the user confirmed; the bridge re-reads it just before signalling and refuses if an idle holder has started a task. The banner refreshes after a refusal. Bridge version 5. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
功能
通过官方 Claude Agent SDK,将本机 Claude Code 接入 Web 和 Android 主 App 共用的会话工作台。终端创建的会话可查看和续聊,历史按消息、思考、工具记录投影,避免把原始源码和事件日志直接堆到聊天中。
-PclaudeTrial=true使用独立测试包名;默认正式包名不变。已合入最新 master(11bdf64),保留上游 Material 3、资源热修改失效和文件交互修复;继续遵守手机工具等 App 专属能力边界。补充修复移动文件页动画导致操作栏短暂覆盖底栏,以及浅色更多菜单文字与编辑按钮布局。
安装
服务账户需安装并登录官方 Claude Code、Node.js 20+,在桥接目录执行
npm ci --omit=dev --omit=optional。SDK 固定为 0.3.322,接口协议 v2。配置、功能和权限边界见 Claude 接入说明。验证
UpdaterReadiness用例存在平台夹具断言失败(将非 Linux 视为 IIS,提前返回另一错误);未将其算作通过。浏览器模拟不替代手机真机及 Windows/Linux 实机验证。本 PR 不包含 APK、用户配置、数据库或凭据。