Description
根据文档,/ctx-status 命令应该显示调试信息,包括 tags、pending drops、cache TTL、nudge state、historian progress 等。但是我输入这个命令时,提示找不到该命令。
Environment
- OS: [ macOS 15.7 / Windows 11]
- OpenCode Version: [v1.4.3]
- Plugin Version: [latest]
- Installation Method: [手动配置 / bunx]
Configuration Files
opencode.json:
{
"plugin": ["@cortexkit/opencode-magic-context"],
"compaction": {
"auto": false,
"prune": false
}
}
magic-context.jsonc:
Steps to Reproduce
- 安装插件(通过 curl 脚本或手动配置)
- 启动 OpenCode
- 在对话中输入
/ctx-status
- 看到错误:Command not found / 找不到该命令
Expected Behavior
应该显示 Magic Context 的调试信息,包括:
- Tags
- Pending drops
- Cache TTL
- Nudge state
- Historian progress
- Compartment coverage
- History compression budget
Actual Behavior
-没有这个命令
Additional Information
│
└ Fixed 1 issue(s). Restart OpenCode to apply.]
Screenshots
[
]
请问还需要提供什么信息来帮助诊断这个问题?
Description
根据文档,
/ctx-status命令应该显示调试信息,包括 tags、pending drops、cache TTL、nudge state、historian progress 等。但是我输入这个命令时,提示找不到该命令。Environment
Configuration Files
opencode.json:
{ "plugin": ["@cortexkit/opencode-magic-context"], "compaction": { "auto": false, "prune": false } }magic-context.jsonc:
{ "$schema": "https://raw.githubusercontent.com/cortexkit/opencode-magic-context/master/assets/magic-context.schema.json", "enabled": true, "historian": { "model": "[你的模型配置]" } }Steps to Reproduce
/ctx-statusExpected Behavior
应该显示 Magic Context 的调试信息,包括:
Actual Behavior
-没有这个命令
Additional Information
bunx @cortexkit/opencode-magic-context@latest doctor,输出:[┌ Magic Context Doctor│
◆ OpenCode installed
│
◆ OpenCode config: /Users/abc/.config/opencode/opencode.json
│
◆ Magic Context config: /Users/abc/.config/opencode/magic-context.jsonc
│
◆ Plugin registered in opencode.json
│
◆ No conflicts detected (compaction, DCP, OMO hooks)
│
◆ TUI sidebar plugin configured
│
◆ Cleared outdated plugin cache — latest will download on restart
│
● /Users/abc/.cache/opencode/packages/@cortexkit/opencode-magic-context@latest
│
● Log file: /var/folders/4x/77nzrr516tj57ml3jxvq66j00000gn/T/magic-context.log (not yet created)
│
● OMO config found: /Users/abc/.config/opencode/oh-my-openagent.json
│
└ Fixed 1 issue(s). Restart OpenCode to apply.]
TUI 模式
其他命令如
/ctx-flushScreenshots
[
]
请问还需要提供什么信息来帮助诊断这个问题?