Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
- accounts.json 支持可选 kind: "bot":Claude、Codex、Antigravity 均可建,必须托管;具名账号不变 - bot 账号只建 ~/.agentnave-accounts/<provider>/<id> 目录,不同步接入、规则和 Skill,删除时也不做反同步 - 登录终端按 CLI 设 CLAUDE_CONFIG_DIR、CODEX_HOME 或 HOME;Windows 上暂不提供 Antigravity bot 账号 - 宿主接入行、会议席位、终端账号与各账号下拉只用具名账号;设置页各 CLI 详情里单列 bot 账号 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 账号 kind 由 bot 改为 clean,新增 shares 字段(缺省为该 CLI 的默认账号), 校验被共用账号须同 CLI、已登记且不是干净账号 - 并发计数与配额冷却都记在共用的原账号上,原账号冷却时干净账号也视为冷却 - 去掉只许逐项点名使用干净账号的 allow_bot 限制,工位、会议成员与备选顺位可选 - Antigravity 干净账号派发、用量查询和登录终端都设 AGY_CLI_FORCE_FILE_TOKEN_STORAGE=1, 去掉 GEMINI_HOME;建目录时拒绝已有 Library - 托盘建账号时目录存成规范化绝对路径,登录终端与派发使用 accounts.json 里同一个 dir Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Codex 用 codex login status,Antigravity 用 agy models(不花额度)判断是否已登录 - Antigravity 登录终端改跑官方的 agy acp --login:打印 Google 链接,贴回验证码即完成 - 登录向导对所有干净账号轮询登录状态,登录完成才显示「完成」 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
干净账号是全新配置,派到 worktree 时 Claude 会弹出「信任此文件夹及其仓库」, 画面里多了仓库根目录。只有它正是当前目录所属仓库的主检出时才确认, 其余仍按对不上处理。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude 会从工作目录往上找 CLAUDE.md,家目录下的仓库会把默认账号的全局规则当项目规则读进来。 建 Claude 干净账号时在其 settings.json 写入官方的 claudeMdExcludes 排除它和 ~/.claude/rules。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
干净账号的会话不在宿主或默认目录下,用量页一直看不到。按 accounts.json 里登记的干净账号, 补扫 Claude 的 projects、Codex 的 sessions 与 Antigravity 的 brain。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
accounts.json 新增可选 default_labels,记 Claude、Codex、Antigravity 默认账号的显示名;账号页可编辑(清空回到「默认」),终端标题、工位与会议的账号选择、共用额度下拉框都用它。服务端同步校验该字段,ADR-0108 与 README 同步。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
服务给成员起的称呼与设置页的工位、会议账号选择里,干净账号名后自动加标记,免得和它共用额度的原账号混淆;存的名字不变。 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.
改了什么
按 ADR-0144(#604)落地第 1 步「干净账号」:
accounts.json支持kind: "clean"与shares字段,干净账号与原账号共用额度,不带用户的全局配置和记忆。claudeMdExcludes排除家目录下的~/.claude/CLAUDE.md。acp --login登录,登录窗口提示把验证码粘贴回终端。account,按条派发到指定账号。accounts.json新增可选default_labels,清空回到「默认」),终端标题、工位与会议的账号选择都用它;服务端同步校验,ADR-0108 已记修订。注意:托盘与服务需一起升级,旧版服务读到该字段会报 accounts.json 无效。验证
ruff format --check、ruff check、pyright、pytest、scripts/review_checks.py --base origin/main全部通过。cargo fmt --check、cargo clippy --all-targets -D warnings(含预览配置)、cargo test、前端 node 测试全部通过。acp --login)。account派只读任务:回执账号正确,看不到 AgentNave 工具;Claude 不再读到全局CLAUDE.md,Codex 不读~/.codex/config.toml。default_labels,清空后字段移除;新版服务可读带该字段的文件。关联
feat/quota-panel,基于本分支),等本 PR 合并后再开,免得叠栈。🤖 Generated with Claude Code