Let Inbox choose Codex configuration per routine or launch

未关闭
#4,042 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
15/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
活跃
技术栈
typescript

调研方向

Start by reproducing the sign-in observation: run Codex with the default CODEX_HOME and with a separate home, then check which Inbox MCP tools each session exposes. Next, find where routines store their model and effort fields and where the Inbox resolves CODEX_HOME, since the choice has to be stored per routine or per manual launch. Done means two launches in one folder share the same sign-in, only the opted-in launch gets the Inbox tools, and scheduled runs and retries use the same resolved configuration. Settle the profile-versus-home decision with a maintainer first.

由索引模型根据 Issue 内容生成。

描述

I'd like to run a scheduled health check with the Inbox MCP tools while keeping those tools out of regular Codex sessions. The health check and a regular session may use the same working directory. Could the Inbox let me choose a Codex configuration or profile for one saved routine or one manual launch, while reusing my existing Codex sign-in when the selected configuration supports it?

In Plannotator 0.29.3 and 0.29.4, routines can select a model and effort. They have no field for a Codex profile, config override, or launch environment. The Inbox resolves CODEX_HOME from its login shell or service environment. Setting it for the service can affect other Codex sessions the Inbox starts. In a local check with 0.29.4, the default Codex home was signed in. A separate home with the Inbox MCP server registered was signed out, and Codex's local account check confirmed there was no signed-in account in that home.

The project-level preflight in #4000 would help when a dedicated trusted project is enough. I'd still like to choose which launch gets Inbox access when two sessions share a directory.

Two options could support this.

  1. Offer a named Codex profile or a supported launch-time config override within the existing Codex home. This could keep the current sign-in and enable the Inbox MCP server for the selected launch. It depends on what Codex supports overriding at startup and how those overrides interact with project config.
  2. Allow an explicit CODEX_HOME or a small set of non-secret environment overrides for the selected launch. A separate home can isolate settings and state, but an empty home may require its own sign-in. Reuse an existing sign-in only through a Codex-supported mechanism. Keep authentication under Codex's control in either case.

Use the same resolved configuration for the availability check and the process the Inbox starts, including scheduled runs and retries. With the option unset, preserve existing behavior for saved routines and new launches. A useful check would run two launches in the same folder with the same existing sign-in and confirm that only the opted-in launch gets the Inbox tools.

Pi has a similar configuration scope. The Inbox checks the extension in the settings for the agent directory selected by PI_CODING_AGENT_DIR or the default directory. A per-launch choice could help Pi too. The sign-in observation above is specific to Codex.

Environment

Plannotator 0.29.3 and 0.29.4, Codex CLI 0.172.0, macOS.

主要语言
TypeScript
星标
8.7k
派生
649
平均合并
16 小时 1 分钟
30 天内合并 PR
756

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

backnotprop/plannotator 的其他 Issue

查看 backnotprop/plannotator 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。