opencode-matrixx 1.0.0 → 1.0.1
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/index.js +21 -45
- package/dist/cli/install-validators.d.ts +0 -1
- package/dist/cli/model-fallback-types.d.ts +0 -1
- package/dist/cli/types.d.ts +0 -3
- package/dist/index.js +1 -1
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -114,12 +114,12 @@ Scans for vulnerabilities but never touches code. OWASP Top 10, SAST, DAST, depe
|
|
|
114
114
|
|-------|------|-------|
|
|
115
115
|
| **Oracle** | Strategic planning with interview mode | Claude Opus 4.6 |
|
|
116
116
|
| **Merovingian** | Architecture decisions & debugging | GPT 5.2 |
|
|
117
|
-
| **Architect** | Plan execution orchestrator |
|
|
117
|
+
| **Architect** | Plan execution orchestrator | Claude Sonnet 4.6 |
|
|
118
118
|
| **Seraph** | Pre-planning analysis | Claude Opus 4.6 |
|
|
119
119
|
| **Smith** | Plan validation & review | GPT 5.2 |
|
|
120
120
|
| **Operator** | Documentation & OSS search | GLM 4.7 |
|
|
121
121
|
| **Trinity** | Blazing fast codebase grep | Grok Code Fast |
|
|
122
|
-
| **Construct** | PDF, image & diagram analysis |
|
|
122
|
+
| **Construct** | PDF, image & diagram analysis | Gemini 3 Flash |
|
|
123
123
|
|
|
124
124
|
Every agent, model, temperature, and permission is fully customizable. [**Meet the full team →**](docs/agents.md)
|
|
125
125
|
|
package/dist/cli/index.js
CHANGED
|
@@ -7553,7 +7553,6 @@ function toProviderAvailability(config) {
|
|
|
7553
7553
|
opencodeZen: config.hasOpencodeZen,
|
|
7554
7554
|
copilot: config.hasCopilot,
|
|
7555
7555
|
zai: config.hasZaiCodingPlan,
|
|
7556
|
-
kimiForCoding: config.hasKimiForCoding,
|
|
7557
7556
|
isMaxPlan: config.isMax20
|
|
7558
7557
|
};
|
|
7559
7558
|
}
|
|
@@ -7564,8 +7563,7 @@ function isProviderAvailable(provider, availability) {
|
|
|
7564
7563
|
google: availability.native.gemini,
|
|
7565
7564
|
"github-copilot": availability.copilot,
|
|
7566
7565
|
opencode: availability.opencodeZen,
|
|
7567
|
-
"zai-coding-plan": availability.zai
|
|
7568
|
-
"kimi-for-coding": availability.kimiForCoding
|
|
7566
|
+
"zai-coding-plan": availability.zai
|
|
7569
7567
|
};
|
|
7570
7568
|
return mapping[provider] ?? false;
|
|
7571
7569
|
}
|
|
@@ -7615,7 +7613,7 @@ var init_fallback_chain_resolution = __esm(() => {
|
|
|
7615
7613
|
// src/cli/model-fallback.ts
|
|
7616
7614
|
function generateModelConfig(config) {
|
|
7617
7615
|
const avail = toProviderAvailability(config);
|
|
7618
|
-
const hasAnyProvider = avail.native.claude || avail.native.openai || avail.native.gemini || avail.opencodeZen || avail.copilot || avail.zai
|
|
7616
|
+
const hasAnyProvider = avail.native.claude || avail.native.openai || avail.native.gemini || avail.opencodeZen || avail.copilot || avail.zai;
|
|
7619
7617
|
if (!hasAnyProvider) {
|
|
7620
7618
|
return {
|
|
7621
7619
|
$schema: SCHEMA_URL,
|
|
@@ -8091,22 +8089,21 @@ import { existsSync as existsSync9, readFileSync as readFileSync9 } from "fs";
|
|
|
8091
8089
|
function detectProvidersFromOmoConfig() {
|
|
8092
8090
|
const omoConfigPath = getOmoConfigPath();
|
|
8093
8091
|
if (!existsSync9(omoConfigPath)) {
|
|
8094
|
-
return { hasOpenAI: true, hasOpencodeZen: true, hasZaiCodingPlan: false
|
|
8092
|
+
return { hasOpenAI: true, hasOpencodeZen: true, hasZaiCodingPlan: false };
|
|
8095
8093
|
}
|
|
8096
8094
|
try {
|
|
8097
8095
|
const content = readFileSync9(omoConfigPath, "utf-8");
|
|
8098
8096
|
const omoConfig = parseJsonc(content);
|
|
8099
8097
|
if (!omoConfig || typeof omoConfig !== "object") {
|
|
8100
|
-
return { hasOpenAI: true, hasOpencodeZen: true, hasZaiCodingPlan: false
|
|
8098
|
+
return { hasOpenAI: true, hasOpencodeZen: true, hasZaiCodingPlan: false };
|
|
8101
8099
|
}
|
|
8102
8100
|
const configStr = JSON.stringify(omoConfig);
|
|
8103
8101
|
const hasOpenAI = configStr.includes('"openai/');
|
|
8104
8102
|
const hasOpencodeZen = configStr.includes('"opencode/');
|
|
8105
8103
|
const hasZaiCodingPlan = configStr.includes('"zai-coding-plan/');
|
|
8106
|
-
|
|
8107
|
-
return { hasOpenAI, hasOpencodeZen, hasZaiCodingPlan, hasKimiForCoding };
|
|
8104
|
+
return { hasOpenAI, hasOpencodeZen, hasZaiCodingPlan };
|
|
8108
8105
|
} catch {
|
|
8109
|
-
return { hasOpenAI: true, hasOpencodeZen: true, hasZaiCodingPlan: false
|
|
8106
|
+
return { hasOpenAI: true, hasOpencodeZen: true, hasZaiCodingPlan: false };
|
|
8110
8107
|
}
|
|
8111
8108
|
}
|
|
8112
8109
|
function detectCurrentConfig() {
|
|
@@ -8118,8 +8115,7 @@ function detectCurrentConfig() {
|
|
|
8118
8115
|
hasGemini: false,
|
|
8119
8116
|
hasCopilot: false,
|
|
8120
8117
|
hasOpencodeZen: true,
|
|
8121
|
-
hasZaiCodingPlan: false
|
|
8122
|
-
hasKimiForCoding: false
|
|
8118
|
+
hasZaiCodingPlan: false
|
|
8123
8119
|
};
|
|
8124
8120
|
const { format: format2, path: path3 } = detectConfigFormat();
|
|
8125
8121
|
if (format2 === "none") {
|
|
@@ -8136,11 +8132,10 @@ function detectCurrentConfig() {
|
|
|
8136
8132
|
return result;
|
|
8137
8133
|
}
|
|
8138
8134
|
result.hasGemini = plugins.some((p) => p.startsWith("opencode-antigravity-auth"));
|
|
8139
|
-
const { hasOpenAI, hasOpencodeZen, hasZaiCodingPlan
|
|
8135
|
+
const { hasOpenAI, hasOpencodeZen, hasZaiCodingPlan } = detectProvidersFromOmoConfig();
|
|
8140
8136
|
result.hasOpenAI = hasOpenAI;
|
|
8141
8137
|
result.hasOpencodeZen = hasOpencodeZen;
|
|
8142
8138
|
result.hasZaiCodingPlan = hasZaiCodingPlan;
|
|
8143
|
-
result.hasKimiForCoding = hasKimiForCoding;
|
|
8144
8139
|
return result;
|
|
8145
8140
|
}
|
|
8146
8141
|
var init_detect_current_config = __esm(() => {
|
|
@@ -9045,7 +9040,7 @@ var {
|
|
|
9045
9040
|
// package.json
|
|
9046
9041
|
var package_default = {
|
|
9047
9042
|
name: "opencode-matrixx",
|
|
9048
|
-
version: "1.0.
|
|
9043
|
+
version: "1.0.1",
|
|
9049
9044
|
description: "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
9050
9045
|
main: "dist/index.js",
|
|
9051
9046
|
types: "dist/index.d.ts",
|
|
@@ -9120,13 +9115,13 @@ var package_default = {
|
|
|
9120
9115
|
typescript: "^5.7.3"
|
|
9121
9116
|
},
|
|
9122
9117
|
optionalDependencies: {
|
|
9123
|
-
"opencode-matrixx-darwin-arm64": "1.0.
|
|
9124
|
-
"opencode-matrixx-darwin-x64": "1.0.
|
|
9125
|
-
"opencode-matrixx-linux-arm64": "1.0.
|
|
9126
|
-
"opencode-matrixx-linux-arm64-musl": "1.0.
|
|
9127
|
-
"opencode-matrixx-linux-x64": "1.0.
|
|
9128
|
-
"opencode-matrixx-linux-x64-musl": "1.0.
|
|
9129
|
-
"opencode-matrixx-windows-x64": "1.0.
|
|
9118
|
+
"opencode-matrixx-darwin-arm64": "1.0.1",
|
|
9119
|
+
"opencode-matrixx-darwin-x64": "1.0.1",
|
|
9120
|
+
"opencode-matrixx-linux-arm64": "1.0.1",
|
|
9121
|
+
"opencode-matrixx-linux-arm64-musl": "1.0.1",
|
|
9122
|
+
"opencode-matrixx-linux-x64": "1.0.1",
|
|
9123
|
+
"opencode-matrixx-linux-x64-musl": "1.0.1",
|
|
9124
|
+
"opencode-matrixx-windows-x64": "1.0.1"
|
|
9130
9125
|
},
|
|
9131
9126
|
trustedDependencies: [
|
|
9132
9127
|
"@ast-grep/cli",
|
|
@@ -9167,7 +9162,6 @@ function formatConfigSummary(config) {
|
|
|
9167
9162
|
lines.push(formatProvider("GitHub Copilot", config.hasCopilot, "fallback"));
|
|
9168
9163
|
lines.push(formatProvider("OpenCode Zen", config.hasOpencodeZen, "opencode/ models"));
|
|
9169
9164
|
lines.push(formatProvider("Z.ai Coding Plan", config.hasZaiCodingPlan, "Librarian/Multimodal"));
|
|
9170
|
-
lines.push(formatProvider("Kimi For Coding", config.hasKimiForCoding, "Morpheus/Oracle fallback"));
|
|
9171
9165
|
lines.push("");
|
|
9172
9166
|
lines.push(import_picocolors.default.dim("\u2500".repeat(40)));
|
|
9173
9167
|
lines.push("");
|
|
@@ -9245,9 +9239,6 @@ function validateNonTuiArgs(args) {
|
|
|
9245
9239
|
if (args.zaiCodingPlan !== undefined && !["no", "yes"].includes(args.zaiCodingPlan)) {
|
|
9246
9240
|
errors.push(`Invalid --zai-coding-plan value: ${args.zaiCodingPlan} (expected: no, yes)`);
|
|
9247
9241
|
}
|
|
9248
|
-
if (args.kimiForCoding !== undefined && !["no", "yes"].includes(args.kimiForCoding)) {
|
|
9249
|
-
errors.push(`Invalid --kimi-for-coding value: ${args.kimiForCoding} (expected: no, yes)`);
|
|
9250
|
-
}
|
|
9251
9242
|
return { valid: errors.length === 0, errors };
|
|
9252
9243
|
}
|
|
9253
9244
|
function argsToConfig(args) {
|
|
@@ -9258,8 +9249,7 @@ function argsToConfig(args) {
|
|
|
9258
9249
|
hasGemini: args.gemini === "yes",
|
|
9259
9250
|
hasCopilot: args.copilot === "yes",
|
|
9260
9251
|
hasOpencodeZen: args.opencodeZen === "yes",
|
|
9261
|
-
hasZaiCodingPlan: args.zaiCodingPlan === "yes"
|
|
9262
|
-
hasKimiForCoding: args.kimiForCoding === "yes"
|
|
9252
|
+
hasZaiCodingPlan: args.zaiCodingPlan === "yes"
|
|
9263
9253
|
};
|
|
9264
9254
|
}
|
|
9265
9255
|
function detectedToInitialValues(detected) {
|
|
@@ -9273,8 +9263,7 @@ function detectedToInitialValues(detected) {
|
|
|
9273
9263
|
gemini: detected.hasGemini ? "yes" : "no",
|
|
9274
9264
|
copilot: detected.hasCopilot ? "yes" : "no",
|
|
9275
9265
|
opencodeZen: detected.hasOpencodeZen ? "yes" : "no",
|
|
9276
|
-
zaiCodingPlan: detected.hasZaiCodingPlan ? "yes" : "no"
|
|
9277
|
-
kimiForCoding: detected.hasKimiForCoding ? "yes" : "no"
|
|
9266
|
+
zaiCodingPlan: detected.hasZaiCodingPlan ? "yes" : "no"
|
|
9278
9267
|
};
|
|
9279
9268
|
}
|
|
9280
9269
|
|
|
@@ -10043,16 +10032,6 @@ async function promptInstallConfig(detected) {
|
|
|
10043
10032
|
});
|
|
10044
10033
|
if (!zaiCodingPlan)
|
|
10045
10034
|
return null;
|
|
10046
|
-
const kimiForCoding = await selectOrCancel({
|
|
10047
|
-
message: "Do you have a Kimi For Coding subscription?",
|
|
10048
|
-
options: [
|
|
10049
|
-
{ value: "no", label: "No", hint: "Will use other configured providers" },
|
|
10050
|
-
{ value: "yes", label: "Yes", hint: "Kimi K2.5 for Morpheus/Oracle fallback" }
|
|
10051
|
-
],
|
|
10052
|
-
initialValue: initial.kimiForCoding
|
|
10053
|
-
});
|
|
10054
|
-
if (!kimiForCoding)
|
|
10055
|
-
return null;
|
|
10056
10035
|
return {
|
|
10057
10036
|
hasClaude: claude !== "no",
|
|
10058
10037
|
isMax20: claude === "max20",
|
|
@@ -10060,8 +10039,7 @@ async function promptInstallConfig(detected) {
|
|
|
10060
10039
|
hasGemini: gemini === "yes",
|
|
10061
10040
|
hasCopilot: copilot === "yes",
|
|
10062
10041
|
hasOpencodeZen: opencodeZen === "yes",
|
|
10063
|
-
hasZaiCodingPlan: zaiCodingPlan === "yes"
|
|
10064
|
-
hasKimiForCoding: kimiForCoding === "yes"
|
|
10042
|
+
hasZaiCodingPlan: zaiCodingPlan === "yes"
|
|
10065
10043
|
};
|
|
10066
10044
|
}
|
|
10067
10045
|
|
|
@@ -27790,20 +27768,19 @@ function createMcpOAuthCommand() {
|
|
|
27790
27768
|
var VERSION2 = package_default.version;
|
|
27791
27769
|
var program2 = new Command;
|
|
27792
27770
|
program2.name("matrixx").description("The ultimate OpenCode plugin - multi-model orchestration, LSP tools, and more").version(VERSION2, "-v, --version", "Show version number").enablePositionalOptions();
|
|
27793
|
-
program2.command("install").description("Install and configure matrixx with interactive setup").option("--no-tui", "Run in non-interactive mode (requires all options)").option("--claude <value>", "Claude subscription: no, yes, max20").option("--openai <value>", "OpenAI/ChatGPT subscription: no, yes (default: no)").option("--gemini <value>", "Gemini integration: no, yes").option("--copilot <value>", "GitHub Copilot subscription: no, yes").option("--opencode-zen <value>", "OpenCode Zen access: no, yes (default: no)").option("--zai-coding-plan <value>", "Z.ai Coding Plan subscription: no, yes (default: no)").option("--
|
|
27771
|
+
program2.command("install").description("Install and configure matrixx with interactive setup").option("--no-tui", "Run in non-interactive mode (requires all options)").option("--claude <value>", "Claude subscription: no, yes, max20").option("--openai <value>", "OpenAI/ChatGPT subscription: no, yes (default: no)").option("--gemini <value>", "Gemini integration: no, yes").option("--copilot <value>", "GitHub Copilot subscription: no, yes").option("--opencode-zen <value>", "OpenCode Zen access: no, yes (default: no)").option("--zai-coding-plan <value>", "Z.ai Coding Plan subscription: no, yes (default: no)").option("--skip-auth", "Skip authentication setup hints").addHelpText("after", `
|
|
27794
27772
|
Examples:
|
|
27795
27773
|
$ bunx matrixx install
|
|
27796
27774
|
$ bunx matrixx install --no-tui --claude=max20 --openai=yes --gemini=yes --copilot=no
|
|
27797
27775
|
$ bunx matrixx install --no-tui --claude=no --gemini=no --copilot=yes --opencode-zen=yes
|
|
27798
27776
|
|
|
27799
|
-
Model Providers (Priority: Native > Copilot > OpenCode Zen > Z.ai
|
|
27777
|
+
Model Providers (Priority: Native > Copilot > OpenCode Zen > Z.ai):
|
|
27800
27778
|
Claude Native anthropic/ models (Opus, Sonnet, Haiku)
|
|
27801
27779
|
OpenAI Native openai/ models (GPT-5.2 for Oracle)
|
|
27802
27780
|
Gemini Native google/ models (Gemini 3 Pro, Flash)
|
|
27803
27781
|
Copilot github-copilot/ models (fallback)
|
|
27804
27782
|
OpenCode Zen opencode/ models (opencode/claude-opus-4-6, etc.)
|
|
27805
27783
|
Z.ai zai-coding-plan/glm-4.7 (Librarian priority)
|
|
27806
|
-
Kimi kimi-for-coding/k2p5 (Morpheus/Oracle fallback)
|
|
27807
27784
|
`).action(async (options) => {
|
|
27808
27785
|
const args = {
|
|
27809
27786
|
tui: options.tui !== false,
|
|
@@ -27813,7 +27790,6 @@ Model Providers (Priority: Native > Copilot > OpenCode Zen > Z.ai > Kimi):
|
|
|
27813
27790
|
copilot: options.copilot,
|
|
27814
27791
|
opencodeZen: options.opencodeZen,
|
|
27815
27792
|
zaiCodingPlan: options.zaiCodingPlan,
|
|
27816
|
-
kimiForCoding: options.kimiForCoding,
|
|
27817
27793
|
skipAuth: options.skipAuth ?? false
|
|
27818
27794
|
};
|
|
27819
27795
|
const exitCode = await install(args);
|
package/dist/cli/types.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ export interface InstallArgs {
|
|
|
8
8
|
copilot?: BooleanArg;
|
|
9
9
|
opencodeZen?: BooleanArg;
|
|
10
10
|
zaiCodingPlan?: BooleanArg;
|
|
11
|
-
kimiForCoding?: BooleanArg;
|
|
12
11
|
skipAuth?: boolean;
|
|
13
12
|
}
|
|
14
13
|
export interface InstallConfig {
|
|
@@ -19,7 +18,6 @@ export interface InstallConfig {
|
|
|
19
18
|
hasCopilot: boolean;
|
|
20
19
|
hasOpencodeZen: boolean;
|
|
21
20
|
hasZaiCodingPlan: boolean;
|
|
22
|
-
hasKimiForCoding: boolean;
|
|
23
21
|
}
|
|
24
22
|
export interface ConfigMergeResult {
|
|
25
23
|
success: boolean;
|
|
@@ -35,5 +33,4 @@ export interface DetectedConfig {
|
|
|
35
33
|
hasCopilot: boolean;
|
|
36
34
|
hasOpencodeZen: boolean;
|
|
37
35
|
hasZaiCodingPlan: boolean;
|
|
38
|
-
hasKimiForCoding: boolean;
|
|
39
36
|
}
|
package/dist/index.js
CHANGED
|
@@ -8078,7 +8078,7 @@ var init_constants2 = __esm(() => {
|
|
|
8078
8078
|
"bullet-time": { model: "openai/gpt-5.4-mini" },
|
|
8079
8079
|
"blue-pill": { model: "anthropic/claude-sonnet-4-5" },
|
|
8080
8080
|
"red-pill": { model: "anthropic/claude-opus-4-6", variant: "max" },
|
|
8081
|
-
broadcast: { model: "
|
|
8081
|
+
broadcast: { model: "anthropic/claude-sonnet-4-6" },
|
|
8082
8082
|
"dsl-engineering": { model: "anthropic/claude-opus-4-6", variant: "high" }
|
|
8083
8083
|
};
|
|
8084
8084
|
CATEGORY_PROMPT_APPENDS = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-matrixx",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -75,13 +75,13 @@
|
|
|
75
75
|
"typescript": "^5.7.3"
|
|
76
76
|
},
|
|
77
77
|
"optionalDependencies": {
|
|
78
|
-
"opencode-matrixx-darwin-arm64": "1.0.
|
|
79
|
-
"opencode-matrixx-darwin-x64": "1.0.
|
|
80
|
-
"opencode-matrixx-linux-arm64": "1.0.
|
|
81
|
-
"opencode-matrixx-linux-arm64-musl": "1.0.
|
|
82
|
-
"opencode-matrixx-linux-x64": "1.0.
|
|
83
|
-
"opencode-matrixx-linux-x64-musl": "1.0.
|
|
84
|
-
"opencode-matrixx-windows-x64": "1.0.
|
|
78
|
+
"opencode-matrixx-darwin-arm64": "1.0.1",
|
|
79
|
+
"opencode-matrixx-darwin-x64": "1.0.1",
|
|
80
|
+
"opencode-matrixx-linux-arm64": "1.0.1",
|
|
81
|
+
"opencode-matrixx-linux-arm64-musl": "1.0.1",
|
|
82
|
+
"opencode-matrixx-linux-x64": "1.0.1",
|
|
83
|
+
"opencode-matrixx-linux-x64-musl": "1.0.1",
|
|
84
|
+
"opencode-matrixx-windows-x64": "1.0.1"
|
|
85
85
|
},
|
|
86
86
|
"trustedDependencies": [
|
|
87
87
|
"@ast-grep/cli",
|