### 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:** ```json { "plugin": ["@cortexkit/opencode-magic-context"], "compaction": { "auto": false, "prune": false } } ``` **magic-context.jsonc:** ```jsonc { "$schema": "https://raw.githubusercontent.com/cortexkit/opencode-magic-context/master/assets/magic-context.schema.json", "enabled": true, "historian": { "model": "[你的模型配置]" } } ``` ### Steps to Reproduce 1. 安装插件(通过 curl 脚本或手动配置) 2. 启动 OpenCode 3. 在对话中输入 `/ctx-status` 4. 看到错误: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 - [ ] 运行过 `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-flush` ### Screenshots [ <img width="1536" height="400" alt="Image" src="https://github.com/user-attachments/assets/6ea82e4a-628a-48f0-8624-578235061930" /> ] --- 请问还需要提供什么信息来帮助诊断这个问题?
Activity
ualtinok commentedon Apr 10, 2026
Would be better if you open issues in English. Are you able to see magic context commands in command palette? (ctrl + p)
fix: close remaining council audit findings (#5, #6, #9, #10)
test(pi-plugin): comprehensive coverage for PiSubagentRunner (#6)
feat(pi-plugin): full OpenCode runtime parity
fix(pi): round-3 audit — post-commit entry-id ref-map, cutover stamp …
fix(pi): round-7 cluster — model-change-across-restart, marker rehydr…
fix(pi): round-8 cluster — marker isolation, contention fallback, sig…
fix: 2-bug council findings — memory config bypass, session identity,…
fix: round-3 council findings (seq=0 m0 gap, dreamer archived underco…
fix: full-codebase audit findings (data-integrity, fail-closed, secur…
refactor(sqlite): replace better-sqlite3 with node:sqlite (Node/Elect…
fix(audit): dreamer lease atomicity, auto-update config safety, dream…
fix(audit): full-codebase council round — 9 real fixes + false-positi…
fix(cache): resolve transform/cache-stability council audit (5 real b…
13 remaining items
fix: 2-bug council findings — memory config bypass, session identity,…
fix: round-3 council findings (seq=0 m0 gap, dreamer archived underco…
fix: full-codebase audit findings (data-integrity, fail-closed, secur…
refactor(sqlite): replace better-sqlite3 with node:sqlite (Node/Elect…
fix(audit): dreamer lease atomicity, auto-update config safety, dream…
fix(audit): full-codebase council round — 9 real fixes + false-positi…
fix(cache): resolve transform/cache-stability council audit (5 real b…
fix: resolve remaining v0.22.5 audit findings (cortexkit#5, cortexkit#6…
fix(ctx-reduce): round-2 audit batch 2 — Pi config bleed, sqlite proj…
fix: release-audit batch — node:sqlite CI coverage, embedding-runtime…
fix(review): restore mangled TUI import + docs from embed-command wiring
fix: scope dreamer decay by project, session leak, XML escaping, leas…
fix: address round 2 audit findings — 10 fixes
fix(plugin): 8 audit fixes — JSON safety, dream scheduling, smart not…
fix(parity): hunt #6 — rust-lane engine-adjacent gaps: compartment au…