opencode-matrixx-v2 1.0.0 → 1.2.0

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.
Files changed (30) hide show
  1. package/README.md +2 -2
  2. package/dist/cli/doctor/checks/context-mode.d.ts +24 -1
  3. package/dist/cli.js +1254 -10967
  4. package/dist/config/schema/background-task.d.ts +0 -9
  5. package/dist/config/schema/matrixx-config.d.ts +0 -9
  6. package/dist/features/background-agent/constants.d.ts +0 -4
  7. package/dist/features/background-agent/index.d.ts +0 -1
  8. package/dist/features/background-agent/manager.d.ts +1 -0
  9. package/dist/features/background-agent/session-output.d.ts +4 -0
  10. package/dist/features/session-state/state.d.ts +1 -0
  11. package/dist/features/task-toast-manager/manager.d.ts +2 -6
  12. package/dist/hooks/auto-update-checker/hook/mcp-startup-toast.d.ts +5 -0
  13. package/dist/hooks/subagent-block/constants.d.ts +1 -1
  14. package/dist/index.js +6481 -15615
  15. package/dist/matrixx.schema.json +0 -33
  16. package/dist/mcps/context7.d.ts +12 -0
  17. package/dist/mcps/index.d.ts +3 -0
  18. package/dist/mcps/mcp-startup-notice.d.ts +5 -0
  19. package/dist/mcps/mcp.transform.d.ts +2 -0
  20. package/dist/plugin/legacy-hooks.d.ts +5 -5
  21. package/dist/plugin/setup-domains.d.ts +3 -0
  22. package/dist/shared/context-mode-enforcement.d.ts +7 -3
  23. package/dist/shared/task-system-gating.d.ts +1 -1
  24. package/dist/tools/background-task/clients.d.ts +2 -4
  25. package/dist/tools/background-task/create-background-cancel.d.ts +2 -2
  26. package/dist/tools/delegate-task/sync-session-poller.d.ts +15 -0
  27. package/dist/tools/index.d.ts +2 -1
  28. package/dist/tools.js +890 -10588
  29. package/package.json +3 -3
  30. package/dist/features/background-agent/concurrency.d.ts +0 -36
package/README.md CHANGED
@@ -119,7 +119,7 @@ Matrixx now ships an **opt-in session memory** (native port of [opencode-lcm](ht
119
119
 
120
120
  ## Quick Start
121
121
 
122
- **Prerequisites:** Bun 1.4.0 · OpenCode ≥ 1.0.150
122
+ **Prerequisites:** Bun 1.4.4 · OpenCode ≥ 1.0.150
123
123
 
124
124
  ```bash
125
125
  bunx opencode-matrixx-v2 install
@@ -159,7 +159,7 @@ Full setup, CI mode, troubleshooting, and uninstall: [Installation guide](docs/g
159
159
  - **Learning curve.** 17 agents, 8 categories, 50 skills, 23 commands — `ultrawork` hides this well, but mastery takes time.
160
160
  - **Multiple providers help.** It runs on one provider, but the multi-model value shows with two or more connected (or the OpenCode free tier).
161
161
  - **Orchestration overhead.** Delegation costs extra tokens on trivial one-line tasks — use direct mode for those.
162
- - **Pinned toolchain.** Bun 1.4.0 and recent OpenCode are required; bleeding-edge OpenCode versions can break the plugin temporarily.
162
+ - **Pinned toolchain.** Bun 1.4.4 and recent OpenCode are required; bleeding-edge OpenCode versions can break the plugin temporarily.
163
163
  - **Fast-moving project.** Conventions and config keys evolve; pin versions in CI.
164
164
 
165
165
  ---
@@ -1,4 +1,14 @@
1
1
  import type { CheckResult, DoctorCheck } from "../types";
2
+ export declare const CONTEXT_MODE_V1_TOOLS: readonly ["ctx_batch_execute", "ctx_execute_file", "ctx_fetch_and_index"];
3
+ export declare const CONTEXT_MODE_V2_TOOLS: readonly ["ctx_execute", "ctx_batch", "ctx_index", "ctx_search", "ctx_resume", "ctx_stats", "ctx_doctor", "ctx_upgrade", "ctx_purge"];
4
+ /**
5
+ * Pure evaluator for the context-mode tool-key compat check.
6
+ *
7
+ * Policy (locked): V1 keys are NEVER a hard failure — they pass with a
8
+ * migration hint naming the V2 replacements. V2-only keys pass clean.
9
+ * No ctx_* tools at all fails with an actionable message.
10
+ */
11
+ export declare function evaluateContextModeToolCompat(toolNames: string[]): CheckResult;
2
12
  /**
3
13
  * Pure evaluator for the context-mode MCP server cwd-sanity check.
4
14
  *
@@ -10,7 +20,20 @@ import type { CheckResult, DoctorCheck } from "../types";
10
20
  * cwd of a different project. Matrixx cannot patch the external server; this
11
21
  * check warns when the registration lacks an explicit cwd pin and points at
12
22
  * the per-project registration fix.
23
+ *
24
+ * Scope: MCP-only. Local plugin and registry installs resolve their own
25
+ * directory and never inherit a spawn cwd, so the check passes (skips) for
26
+ * those sources instead of warning.
27
+ */
28
+ export declare function evaluateContextModeCwd(server: unknown, source?: "mcp" | "local" | "registry" | string): CheckResult;
29
+ export declare const CONTEXT_MODE_VERSION_FLOOR = "2.1.0";
30
+ /**
31
+ * Pure floor check: major.minor numeric compare against 2.1.
32
+ * Prerelease suffixes (e.g. 2.1.0-next) are stripped before parsing;
33
+ * null/unparsable versions fail-open to false (never blocks doctor).
13
34
  */
14
- export declare function evaluateContextModeCwd(server: unknown): CheckResult;
35
+ export declare function isContextModeVersionBelowFloor(version: string | null | undefined): boolean;
36
+ /** Pure evaluator for the discipline version floor. Below 2.1.0 warns. */
37
+ export declare function evaluateContextModeVersion(version: string | null | undefined): CheckResult;
15
38
  export declare const contextModeCwdCheck: DoctorCheck;
16
39
  export declare const contextModeCheck: DoctorCheck;