diff --git a/.changeset/disable-codex-app-github.md b/.changeset/disable-codex-app-github.md new file mode 100644 index 00000000..7ef391ee --- /dev/null +++ b/.changeset/disable-codex-app-github.md @@ -0,0 +1,13 @@ +--- +"@prover-coder-ai/docker-git": patch +--- + +Disable the unused `codex_app.github` connector in the managed Codex config. + +The generated `config.toml` enables `apps`, which surfaces the built-in +`codex_app.github` connector. It is redundant inside docker-git because +containers already get GitHub access through the cloned repository, the synced +GitHub token, and the managed git wrapper, so the connector only adds noise. +The default Codex config now sets `[apps.github] enabled = false` (both the +`defaultCodexConfig` written by auth sync and the entrypoint heredoc), turning +the connector off while keeping the rest of the `apps` feature intact. diff --git a/packages/app/CHANGELOG.md b/packages/app/CHANGELOG.md index 4eef8c73..dd7e5a73 100644 --- a/packages/app/CHANGELOG.md +++ b/packages/app/CHANGELOG.md @@ -1,5 +1,14 @@ # @prover-coder-ai/docker-git +## 1.3.5 + +### Patch Changes + +- chore: automated version bump + +- Updated dependencies []: + - @prover-coder-ai/docker-git-session-sync@1.0.63 + ## 1.3.4 ### Patch Changes diff --git a/packages/app/package.json b/packages/app/package.json index 29069780..66f95f9a 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -1,6 +1,6 @@ { "name": "@prover-coder-ai/docker-git", - "version": "1.3.4", + "version": "1.3.5", "description": "docker-git Bun and Gridland CLI plus browser frontend", "main": "dist/src/docker-git/main.js", "bin": { diff --git a/packages/app/src/lib/core/templates-entrypoint/codex.ts b/packages/app/src/lib/core/templates-entrypoint/codex.ts index 3f83c3ee..255ef495 100644 --- a/packages/app/src/lib/core/templates-entrypoint/codex.ts +++ b/packages/app/src/lib/core/templates-entrypoint/codex.ts @@ -94,6 +94,10 @@ multi_agent = true apps = true shell_tool = true +[apps.github] +# docker-git: disable the unused codex_app.github connector (issue #410) +enabled = false + [profiles.longcontx] model = "gpt-5.5" model_context_window = 1050000 diff --git a/packages/app/src/lib/usecases/auth-sync-helpers.ts b/packages/app/src/lib/usecases/auth-sync-helpers.ts index 1fd6307e..e85604e7 100644 --- a/packages/app/src/lib/usecases/auth-sync-helpers.ts +++ b/packages/app/src/lib/usecases/auth-sync-helpers.ts @@ -57,6 +57,10 @@ export const defaultCodexConfig = [ "apps = true", "shell_tool = true", "", + "[apps.github]", + "# docker-git: disable the unused codex_app.github connector (issue #410)", + "enabled = false", + "", "[profiles.longcontx]", "model = \"gpt-5.5\"", "model_context_window = 1050000", diff --git a/packages/docker-git-session-sync/CHANGELOG.md b/packages/docker-git-session-sync/CHANGELOG.md index 16f07008..3573150f 100644 --- a/packages/docker-git-session-sync/CHANGELOG.md +++ b/packages/docker-git-session-sync/CHANGELOG.md @@ -1,5 +1,11 @@ # @prover-coder-ai/docker-git-session-sync +## 1.0.63 + +### Patch Changes + +- chore: automated version bump + ## 1.0.62 ### Patch Changes diff --git a/packages/docker-git-session-sync/package.json b/packages/docker-git-session-sync/package.json index 12cc86ef..9ae0dde4 100644 --- a/packages/docker-git-session-sync/package.json +++ b/packages/docker-git-session-sync/package.json @@ -1,6 +1,6 @@ { "name": "@prover-coder-ai/docker-git-session-sync", - "version": "1.0.62", + "version": "1.0.63", "description": "Standalone docker-git AI agent session synchronization tool", "main": "dist/docker-git-session-sync.js", "bin": { diff --git a/packages/lib/src/core/templates-entrypoint/codex.ts b/packages/lib/src/core/templates-entrypoint/codex.ts index be5b033f..0598f091 100644 --- a/packages/lib/src/core/templates-entrypoint/codex.ts +++ b/packages/lib/src/core/templates-entrypoint/codex.ts @@ -93,6 +93,10 @@ multi_agent = true apps = true shell_tool = true +[apps.github] +# docker-git: disable the unused codex_app.github connector (issue #410) +enabled = false + [profiles.longcontx] model = "gpt-5.5" model_context_window = 1050000 diff --git a/packages/lib/src/usecases/auth-sync-helpers.ts b/packages/lib/src/usecases/auth-sync-helpers.ts index dba1fd67..67b7c7b1 100644 --- a/packages/lib/src/usecases/auth-sync-helpers.ts +++ b/packages/lib/src/usecases/auth-sync-helpers.ts @@ -56,6 +56,10 @@ export const defaultCodexConfig = [ "apps = true", "shell_tool = true", "", + "[apps.github]", + "# docker-git: disable the unused codex_app.github connector (issue #410)", + "enabled = false", + "", "[profiles.longcontx]", "model = \"gpt-5.5\"", "model_context_window = 1050000", diff --git a/packages/lib/tests/usecases/auth-sync.test.ts b/packages/lib/tests/usecases/auth-sync.test.ts index aa67477b..eedf6fb8 100644 --- a/packages/lib/tests/usecases/auth-sync.test.ts +++ b/packages/lib/tests/usecases/auth-sync.test.ts @@ -102,6 +102,9 @@ describe("syncGithubAuthKeys", () => { expect(configText).toContain("model_auto_compact_token_limit = 945000") expect(configText).toContain("model_reasoning_effort = \"xhigh\"") expect(configText).toContain("plan_mode_reasoning_effort = \"xhigh\"") + // issue #410: the unused codex_app.github connector must be disabled + expect(configText).toContain("[apps.github]") + expect(configText).toContain("enabled = false") }) ).pipe(Effect.provide(NodeContext.layer)))