context-mode 1.0.104 → 1.0.106
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/.openclaw-plugin/openclaw.plugin.json +1 -1
- package/.openclaw-plugin/package.json +1 -1
- package/README.md +2 -31
- package/build/executor.d.ts +1 -1
- package/build/executor.js +24 -11
- package/build/opencode-plugin.d.ts +23 -6
- package/build/opencode-plugin.js +72 -30
- package/build/server.d.ts +7 -2
- package/build/server.js +61 -34
- package/build/session/db.d.ts +23 -0
- package/build/session/db.js +45 -0
- package/cli.bundle.mjs +148 -139
- package/hooks/core/routing.mjs +3 -2
- package/hooks/session-db.bundle.mjs +13 -4
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
- package/server.bundle.mjs +136 -127
- package/skills/ctx-doctor/SKILL.md +3 -3
|
@@ -13,10 +13,10 @@ Run diagnostics and display results directly in the conversation.
|
|
|
13
13
|
|
|
14
14
|
## Instructions
|
|
15
15
|
|
|
16
|
-
1. Call the `ctx_doctor` MCP tool directly. It runs all checks server-side and returns a
|
|
17
|
-
2. Display the results verbatim — they are already formatted
|
|
16
|
+
1. Call the `ctx_doctor` MCP tool directly. It runs all checks server-side and returns a plain-text status report.
|
|
17
|
+
2. Display the results verbatim — they are already formatted with plain-text status prefixes: `[OK]` PASS, `[FAIL]` FAIL, `[WARN]` WARN. Renderer-safe (no markdown task-list syntax) for cross-client compatibility (e.g., Z.ai GLM).
|
|
18
18
|
3. **Fallback** (only if MCP tool call fails): Derive the **plugin root** from this skill's base directory (go up 2 levels — remove `/skills/ctx-doctor`), then run with Bash:
|
|
19
19
|
```
|
|
20
20
|
CLI="<PLUGIN_ROOT>/cli.bundle.mjs"; [ ! -f "$CLI" ] && CLI="<PLUGIN_ROOT>/build/cli.js"; node "$CLI" doctor
|
|
21
21
|
```
|
|
22
|
-
Re-display results
|
|
22
|
+
Re-display results verbatim with the same `[OK]`/`[FAIL]`/`[WARN]` prefixes.
|