Skip to content

fix(config): persist profile deployment mode - #199

Open
cnYui wants to merge 1 commit into
zarazhangrui:mainfrom
cnYui:codex/persist-profile-team-mode
Open

fix(config): persist profile deployment mode#199
cnYui wants to merge 1 commit into
zarazhangrui:mainfrom
cnYui:codex/persist-profile-team-mode

Conversation

@cnYui

@cnYui cnYui commented Jul 18, 2026

Copy link
Copy Markdown

Summary

Fixes #194.

  • Persist the profile mode field when saving root v2 config.
  • Extend the /config submit regression test to cover saving deploy_mode: "team".

Verification

  • pnpm exec vitest run --config vitest.local.config.ts tests/integration/commands/profile-config-command.test.ts tests/unit/config/profile-store.test.ts tests/unit/config/profile-schema.test.ts (41 passed)
  • pnpm typecheck
  • pnpm build
  • git diff --check

Note: I also ran the full local suite with a temporary Vitest config because this clone lives under another repo with its own vitest.config.ts. It reported 553 passed and 3 failures in tests/integration/cli/start-codex-legacy-config.test.ts from the existing Windows codex shim issue ('sh' is not recognized...), which appears unrelated to this change and is already covered by open PR #197.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

团队模式切换后未被持久化,重新加载 Profile 会回退到个人模式

1 participant