Repository navigation
Conversation
mimoren
force-pushed
the
agent/codex-app-server-profile
branch
7 times, most recently
from
August 2, 2026 20:00
7aa34bc to
a524dcb
Compare
mimoren
force-pushed
the
agent/codex-app-server-profile
branch
5 times, most recently
from
August 7, 2026 20:00
59377c4 to
636b121
Compare
- 新增 HAPI_CODEX_PROFILE 环境变量并在 app-server 启动时透传给 Codex - 保持未配置 profile 时的原有启动行为不变 - 补充默认启动与 tapsvc profile 参数顺序测试 - 验证 Codex 定向用例及全仓类型检查通过
mimoren
force-pushed
the
agent/codex-app-server-profile
branch
from
August 8, 2026 20:00
636b121 to
999f1d1
Compare
This branch has not been deployed
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.
What changed
HAPI_CODEX_PROFILEfor Codex app-server sessionscodex --profile <name> app-serverwhen configuredcodex app-serverbehavior when the variable is unsetWhy
hapi codex --profile <name>already forwards the profile in local mode, but remote runner sessions use Codex app-server and ignore general Codex CLI arguments. This left runner-managed sessions without a way to select a Codex config profile.The environment variable gives each runner machine a default profile without extending the hub RPC or session persistence schema.
Validation
cd cli && bunx vitest run src/codex/codexAppServerClient.test.tsbun typecheckbun run test:hubbun run test:sharedcodex --profile tapsvc app-server --helpThe full CLI suite passed the new test and all Codex/runner coverage, but one existing Kimi config test read the operator's legacy
~/.kimi/config.tomland failed its "nothing configured" assertion. The web suite had one unrelated jsdomStorageEvent.storageAreatype failure; 1,413 other web tests passed.