opencode-matrixx-v2 1.0.0 → 1.1.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.
- package/README.md +2 -2
- package/dist/cli/doctor/checks/context-mode.d.ts +15 -1
- package/dist/cli.js +1239 -10971
- package/dist/config/schema/background-task.d.ts +0 -9
- package/dist/config/schema/matrixx-config.d.ts +0 -9
- package/dist/features/background-agent/constants.d.ts +0 -4
- package/dist/features/background-agent/index.d.ts +0 -1
- package/dist/features/background-agent/manager.d.ts +1 -0
- package/dist/features/background-agent/session-output.d.ts +4 -0
- package/dist/features/session-state/state.d.ts +1 -0
- package/dist/features/task-toast-manager/manager.d.ts +2 -6
- package/dist/hooks/subagent-block/constants.d.ts +1 -1
- package/dist/index.js +6291 -15528
- package/dist/matrixx.schema.json +0 -33
- package/dist/plugin/legacy-hooks.d.ts +5 -5
- package/dist/shared/context-mode-enforcement.d.ts +7 -3
- package/dist/shared/task-system-gating.d.ts +1 -1
- package/dist/tools/background-task/clients.d.ts +2 -4
- package/dist/tools/background-task/create-background-cancel.d.ts +2 -2
- package/dist/tools/index.d.ts +2 -1
- package/dist/tools.js +890 -10588
- package/package.json +3 -3
- 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.
|
|
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.
|
|
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,11 @@ 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.
|
|
13
27
|
*/
|
|
14
|
-
export declare function evaluateContextModeCwd(server: unknown): CheckResult;
|
|
28
|
+
export declare function evaluateContextModeCwd(server: unknown, source?: "mcp" | "local" | "registry" | string): CheckResult;
|
|
15
29
|
export declare const contextModeCwdCheck: DoctorCheck;
|
|
16
30
|
export declare const contextModeCheck: DoctorCheck;
|