CommandCodeAI / CommandCodeAI/command-code
DEDICATED SHORTCUT for switching seamlessly from PLAN to EXEC mode alongside "DESIRED MODEL preference for each mode"
还没有人认领这个 Issue。
- 主要语言
- 没有语言数据
- 星标
- 4k
- 派生
- 350
- PR 合并指标
- 30 天内没有已合并 PR
描述
Summary
There should be a feature in which when we press the "Tab" key, we auto-switch b/w PLAN mode and EXECUTION mode alongside the desired model of choice for each mode respectively without the need to use the slash '/' command every time then select 'model' when transitioning between PLAN - EXEC modes.
TASTE.md knows the preference of it's user for each but it cannot implement this directly into the CLI cz the harness is hard-wired I guess.
OpenCode can be tweaked to do this instantly by doing edits in it's JSON file.
The cron_create scheduling mechanism is local native on disk, would have been better if it were running on a cloud when the command code team has no limitations to make it happen.
Expected Behavior
Mentioned above
Actual Behavior
Mentioned in summary
Steps to reproduce the issue
read summary
Command Code Version
1.15.1
Operating System
Linux
Terminal/IDE
Unknown
Shell
bash
Session file (optional)
{
"$schema": "https://opencode.ai/config.json",
"model": "openrouter/deepseek/deepseek-v4-flash",
"agent": {
"plan": {
"mode": "primary",
"model": "openrouter/deepseek/deepseek-v4-pro",
"description": "Token-efficient planning & SIGINT/ELINT
vectoring — read-only analysis, robust plan for DS V4 Flash execution"
},
"build": {
"mode": "primary",
"model": "openrouter/deepseek/deepseek-v4-flash",
"description": "Token-efficient execution — builds strictly
from the approved plan"
}
}
}
Default model = Flash (execution). Tab to plan switches to V4 Pro for
planning/analytics.
Fix prompt (optional)
N/A
Additional context
Mentioned in summary already
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
没有指定 repository 文件或测试。首先比较提供的 session JSON 与用于处理 Tab 和通过 slash-command 选择模型的 CLI 入口点。完成标准是 Tab 能在 PLAN 和 EXECUTION 模式之间切换,并选择每种模式配置的模型,同时将预期行为与无关的 cron 请求分开说明。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- bash, json
- 领域
- ai, cli
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 冷清
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100