Skip to content

增强 Codex 上下文注入与终端变量支持 - #377

Open
lwz762 wants to merge 4 commits into
omnimind-ai:mainfrom
lwz762:codex-context-injection
Open

增强 Codex 上下文注入与终端变量支持#377
lwz762 wants to merge 4 commits into
omnimind-ai:mainfrom
lwz762:codex-context-injection

Conversation

@lwz762

@lwz762 lwz762 commented Jun 14, 2026

Copy link
Copy Markdown

更改内容

  • 在「设置 -> Codex 配置」新增「注入 Omnibot 上下文」开关,默认关闭。
  • 开启后,Codex 每轮会注入 SOUL、长期记忆、今日短期记忆、Skills 索引和终端变量名。
  • 终端变量值不会明文注入 prompt,避免泄露 API Key 等敏感信息。
  • 修复本地 Codex app-server 实际继承终端环境变量的问题;保存变量后会断开本地 Codex 会话,下一轮自动重启并加载新变量。
  • Codex 模式顶部模式岛支持切换到工具层,并可打开与 Agent 模式相同的终端环境变量编辑面板。
  • Codex 上下文中补充 Omnibot Skills 根目录和创建规范,指导新建 skill 写入 /workspace/.omnibot/skills/<skill-id>/SKILL.md,使技能仓库可以扫描显示。
  • 增加 debug APK GitHub Actions 构建 workflow,方便无本地 Android/Flutter 环境时构建测试包。

验证

  • git diff --check 通过。
  • GitHub Actions Build Debug APK 已成功构建 debug APK。
  • 本地环境缺少 dart / flutter,且 Gradle wrapper 下载曾遇到 SSL 握手问题,因此主要依赖 GitHub Actions 完整构建验证。

@lwz762
lwz762 force-pushed the codex-context-injection branch from 460215b to fd1854c Compare June 17, 2026 04:37
@wuzw21 wuzw21 closed this Aug 23, 2026
@wuzw21 wuzw21 reopened this Aug 23, 2026
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.

2 participants