A local plugin for image-heavy chats in Codex, Claude Code and other agents: earlier images stop going out with every message, and the model fetches the one it needs by its ID, also after compaction.
TypeScript ai-agentsclaude-codeclaude-code-plugincodexcodex-plugincontext-managementdeveloper-toolsimage-generationmcpmultimodal
docs(spec): 明确选择权永远在用户,工具和模型不自动勾选
chipfighter7cb3c2a35160
diff --git a/docs/spec.md b/docs/spec.mdindex 339e05e..4ed1e95 100644--- a/docs/spec.md+++ b/docs/spec.md@@ -64,6 +64,7 @@- 真实数据不进仓库:从真实会话和用户素材里提取的图片、记录片段、日志和备份,只能放在本机的 `local/` 目录(已被 git 忽略),任何时候都不提交。仓库里的样例数据只能是合成的或脱敏的。- 仓库里的文档和代码不写用户本机的具体路径(例如个人项目文件夹)。`~/.codex`、`%LOCALAPPDATA%` 这类通用位置可以写。本项目以后会开源。- 对上下文的控制只通过“在新任务中继续”来实现,不改写原生任务的历史。+- 选择权永远在用户:哪些素材进入上下文,只由用户在面板里勾选决定。工具和模型都不能自动勾选或取消;模型只能按约定索要(例如回复“需要 IMG-004”),给不给由用户决定。- 先在 Windows 上开发和测试。技术栈:TypeScript/Node。- 交付形态:Codex 插件(skill 加本地 MCP 服务)加本地网页面板。