opencode-matrixx 2.6.9 → 2.6.10
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 +1 -1
- package/dist/cli.js +2 -1
- package/dist/config/schema/hooks.d.ts +1 -0
- package/dist/config/schema/matrixx-config.d.ts +1 -0
- package/dist/create-hooks.d.ts +1 -0
- package/dist/hooks/document-reader-guard/constants.d.ts +5 -0
- package/dist/hooks/document-reader-guard/hook.d.ts +2 -0
- package/dist/hooks/document-reader-guard/index.d.ts +2 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/json-error-recovery/hook.d.ts +1 -1
- package/dist/index.js +816 -525
- package/dist/matrixx.schema.json +1 -0
- package/dist/mcp/types.d.ts +0 -1
- package/dist/plugin/hooks/create-core-hooks.d.ts +1 -0
- package/dist/plugin/hooks/create-tool-guard-hooks.d.ts +2 -1
- package/dist/tools/github-search/cli.d.ts +7 -0
- package/dist/tools/github-search/constants.d.ts +6 -0
- package/dist/tools/github-search/index.d.ts +1 -0
- package/dist/tools/github-search/result-formatter.d.ts +2 -0
- package/dist/tools/github-search/result-formatter.test.d.ts +1 -0
- package/dist/tools/github-search/tools.d.ts +3 -0
- package/dist/tools/github-search/types.d.ts +20 -0
- package/dist/tools/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/mcp/white-rabbit.d.ts +0 -6
package/README.md
CHANGED
|
@@ -357,7 +357,7 @@ Every agent, model, temperature, and permission is fully customizable. [**Meet t
|
|
|
357
357
|
| **Developer Tools** | LSP (goto def, rename, diagnostics), AST-Grep (search & replace), Tmux terminal |
|
|
358
358
|
| **64 Lifecycle Hooks** | Context injection, think mode, comment checking, task/todo continuation enforcement, error recovery, quality gate, preemptive compaction, session recovery |
|
|
359
359
|
| **36 Built-in Skills** | DSL engineering (11), security (9), browser, git, frontend (7 via **Sati**), BDD (4: `bdd-contract`/`backend`/`frontend`/`tests` + pipeline), saturation research, AI slop detection, TDD (`tdd-enforcer` opt-in), software dev pipeline |
|
|
360
|
-
| **Curated MCPs** | Exa (web search), Context7 (official docs),
|
|
360
|
+
| **Curated MCPs** | Exa (web search), Context7 (official docs), Document Reader + native `github_search` (local gh/git/rg) |
|
|
361
361
|
| **Claude Code Compat** | Full compatibility — commands, agents, skills, MCPs, hooks from `settings.json` |
|
|
362
362
|
| **Software Dev Pipeline** | 6-phase TDD workflow (PLAN→BUILD→VERIFY→REVIEW→SECURE→SHIP), 5 team roles, adaptive phases |
|
|
363
363
|
||| **Assembly Tool** | Multi-model debate that spawns 3-5 parallel voters from different providers, collects independent reasoning, and synthesizes unified decisions with confidence scoring |
|
package/dist/cli.js
CHANGED
|
@@ -15635,7 +15635,7 @@ function date4(params) {
|
|
|
15635
15635
|
// node_modules/zod/v4/classic/external.js
|
|
15636
15636
|
config(en_default());
|
|
15637
15637
|
// src/mcp/types.ts
|
|
15638
|
-
var McpNameSchema = exports_external.enum(["websearch", "context7", "
|
|
15638
|
+
var McpNameSchema = exports_external.enum(["websearch", "context7", "document_reader"]);
|
|
15639
15639
|
var AnyMcpNameSchema = exports_external.string().min(1);
|
|
15640
15640
|
|
|
15641
15641
|
// src/config/schema/agent-definitions.ts
|
|
@@ -16254,6 +16254,7 @@ var HookNameEnum = exports_external.enum([
|
|
|
16254
16254
|
"context-mode-enforcer",
|
|
16255
16255
|
"context-mode-enforcer",
|
|
16256
16256
|
"task-edit-guard",
|
|
16257
|
+
"document-reader-guard",
|
|
16257
16258
|
"failure-counter"
|
|
16258
16259
|
]);
|
|
16259
16260
|
var HookNameSchema = exports_external.union([
|
|
@@ -61,6 +61,7 @@ export declare const HookNameSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
|
61
61
|
"evolution-hitl": "evolution-hitl";
|
|
62
62
|
"context-mode-enforcer": "context-mode-enforcer";
|
|
63
63
|
"task-edit-guard": "task-edit-guard";
|
|
64
|
+
"document-reader-guard": "document-reader-guard";
|
|
64
65
|
"failure-counter": "failure-counter";
|
|
65
66
|
}>, z.ZodPipe<z.ZodLiteral<"anthropic-context-window-limit-recovery">, z.ZodTransform<"context-window-limit-recovery", "anthropic-context-window-limit-recovery">>]>;
|
|
66
67
|
export type HookName = z.infer<typeof HookNameSchema>;
|
|
@@ -134,6 +134,7 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
|
|
|
134
134
|
"evolution-hitl": "evolution-hitl";
|
|
135
135
|
"context-mode-enforcer": "context-mode-enforcer";
|
|
136
136
|
"task-edit-guard": "task-edit-guard";
|
|
137
|
+
"document-reader-guard": "document-reader-guard";
|
|
137
138
|
"failure-counter": "failure-counter";
|
|
138
139
|
}>, z.ZodPipe<z.ZodLiteral<"anthropic-context-window-limit-recovery">, z.ZodTransform<"context-window-limit-recovery", "anthropic-context-window-limit-recovery">>]>>>;
|
|
139
140
|
disabled_commands: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
package/dist/create-hooks.d.ts
CHANGED
|
@@ -53,6 +53,7 @@ export declare function createHooks(args: {
|
|
|
53
53
|
qualityGate: ReturnType<typeof import("./hooks").createQualityGateHook> | null;
|
|
54
54
|
taskNotepad: ReturnType<typeof import("./hooks").createTaskNotepadHook> | null;
|
|
55
55
|
taskEditGuard: ReturnType<typeof import("./hooks").createTaskEditGuardHook> | null;
|
|
56
|
+
documentReaderGuard: ReturnType<typeof import("./hooks").createDocumentReaderGuardHook> | null;
|
|
56
57
|
evolutionWatcher: ReturnType<typeof import("./hooks").createEvolutionWatcherHook> | null;
|
|
57
58
|
contextWindowMonitor: ReturnType<typeof import("./hooks").createContextWindowMonitorHook> | null;
|
|
58
59
|
preemptiveCompaction: ReturnType<typeof import("./hooks").createPreemptiveCompactionHook> | null;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const HOOK_NAME = "document-reader-guard";
|
|
2
|
+
export declare const BINARY_EXTENSIONS: readonly [".pdf", ".docx", ".doc", ".xlsx", ".xls", ".pptx", ".ppt", ".jpg", ".jpeg", ".png", ".gif", ".webp", ".mp3", ".wav"];
|
|
3
|
+
export declare const BLOCKED_PATTERNS: RegExp[];
|
|
4
|
+
export declare const READ_BLOCK_MESSAGE: string;
|
|
5
|
+
export declare const BASH_BLOCK_MESSAGE: string;
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export { createContextWindowMonitorHook } from "./context-window-monitor";
|
|
|
15
15
|
export { createDelegateTaskRetryHook } from "./delegate-task-retry";
|
|
16
16
|
export { createDesignIntentPreserverHook } from "./design-intent-preserver";
|
|
17
17
|
export { createDirectoryAgentsInjectorHook } from "./directory-agents-injector";
|
|
18
|
+
export { createDocumentReaderGuardHook } from "./document-reader-guard";
|
|
18
19
|
export { createEditErrorRecoveryHook } from "./edit-error-recovery";
|
|
19
20
|
export { createEmptyTaskResponseDetectorHook } from "./empty-task-response-detector";
|
|
20
21
|
export { createEnvContextInjectorHook } from "./env-context-injector";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PluginInput } from "@opencode-ai/plugin";
|
|
2
|
-
export declare const JSON_ERROR_TOOL_EXCLUDE_LIST: readonly ["bash", "read", "glob", "grep", "webfetch", "look_at", "
|
|
2
|
+
export declare const JSON_ERROR_TOOL_EXCLUDE_LIST: readonly ["bash", "read", "glob", "grep", "webfetch", "look_at", "github_search", "websearch_web_search_exa"];
|
|
3
3
|
export declare const JSON_ERROR_PATTERNS: readonly RegExp[];
|
|
4
4
|
export declare const JSON_ERROR_REMINDER = "\n[JSON PARSE ERROR - IMMEDIATE ACTION REQUIRED]\n\nYou sent invalid JSON arguments to a tool. STOP and do this NOW:\n\n1. DO NOT retry with the same malformed JSON\n2. CORRECT the JSON syntax \u2014 check for: missing quotes, trailing commas, unmatched braces\n3. RETRY the tool call with valid JSON arguments\n\nThis usually means you garbled a string parameter or forgot to escape a character.\n";
|
|
5
5
|
export declare function createJsonErrorRecoveryHook(_ctx: PluginInput): {
|