opencode-matrixx 1.1.0 → 1.1.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.
|
@@ -26,4 +26,6 @@ export declare const EXIT_CODES: {
|
|
|
26
26
|
};
|
|
27
27
|
export declare const MIN_OPENCODE_VERSION = "1.0.150";
|
|
28
28
|
export declare const PACKAGE_NAME = "matrixx";
|
|
29
|
+
export declare const NPM_PACKAGE_NAME = "opencode-matrixx";
|
|
30
|
+
export declare const LEGACY_NPM_PACKAGE_NAME = "matrixx";
|
|
29
31
|
export declare const OPENCODE_BINARIES: readonly ["opencode", "opencode-desktop"];
|
package/dist/cli/index.js
CHANGED
|
@@ -1019,7 +1019,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
1019
1019
|
this._exitCallback = (err) => {
|
|
1020
1020
|
if (err.code !== "commander.executeSubCommandAsync") {
|
|
1021
1021
|
throw err;
|
|
1022
|
-
}
|
|
1022
|
+
}
|
|
1023
1023
|
};
|
|
1024
1024
|
}
|
|
1025
1025
|
return this;
|
|
@@ -7344,7 +7344,7 @@ async function getPluginNameWithVersion(currentVersion) {
|
|
|
7344
7344
|
}
|
|
7345
7345
|
return `${PACKAGE_NAME}@${currentVersion}`;
|
|
7346
7346
|
}
|
|
7347
|
-
var PACKAGE_NAME = "matrixx", PRIORITIZED_TAGS;
|
|
7347
|
+
var PACKAGE_NAME = "opencode-matrixx", PRIORITIZED_TAGS;
|
|
7348
7348
|
var init_plugin_name_with_version = __esm(() => {
|
|
7349
7349
|
PRIORITIZED_TAGS = ["latest", "beta", "next"];
|
|
7350
7350
|
});
|
|
@@ -7443,6 +7443,9 @@ var init_parse_opencode_config_file = __esm(() => {
|
|
|
7443
7443
|
|
|
7444
7444
|
// src/cli/config-manager/add-plugin-to-opencode-config.ts
|
|
7445
7445
|
import { readFileSync as readFileSync5, writeFileSync as writeFileSync3 } from "fs";
|
|
7446
|
+
function isManagedPluginEntry(entry) {
|
|
7447
|
+
return entry === PACKAGE_NAME2 || entry.startsWith(`${PACKAGE_NAME2}@`) || entry === LEGACY_PACKAGE_NAME || entry.startsWith(`${LEGACY_PACKAGE_NAME}@`);
|
|
7448
|
+
}
|
|
7446
7449
|
async function addPluginToOpenCodeConfig(currentVersion) {
|
|
7447
7450
|
try {
|
|
7448
7451
|
ensureConfigDirectoryExists();
|
|
@@ -7472,7 +7475,7 @@ async function addPluginToOpenCodeConfig(currentVersion) {
|
|
|
7472
7475
|
}
|
|
7473
7476
|
const config = parseResult.config;
|
|
7474
7477
|
const plugins = config.plugin ?? [];
|
|
7475
|
-
const existingIndex = plugins.findIndex((p) => p
|
|
7478
|
+
const existingIndex = plugins.findIndex((p) => isManagedPluginEntry(p));
|
|
7476
7479
|
if (existingIndex !== -1) {
|
|
7477
7480
|
if (plugins[existingIndex] === pluginEntry) {
|
|
7478
7481
|
return { success: true, configPath: path3 };
|
|
@@ -7511,7 +7514,7 @@ async function addPluginToOpenCodeConfig(currentVersion) {
|
|
|
7511
7514
|
};
|
|
7512
7515
|
}
|
|
7513
7516
|
}
|
|
7514
|
-
var PACKAGE_NAME2 = "matrixx";
|
|
7517
|
+
var PACKAGE_NAME2 = "opencode-matrixx", LEGACY_PACKAGE_NAME = "matrixx";
|
|
7515
7518
|
var init_add_plugin_to_opencode_config = __esm(() => {
|
|
7516
7519
|
init_config_context();
|
|
7517
7520
|
init_ensure_config_directory_exists();
|
|
@@ -8105,7 +8108,7 @@ function detectCurrentConfig() {
|
|
|
8105
8108
|
}
|
|
8106
8109
|
const openCodeConfig = parseResult.config;
|
|
8107
8110
|
const plugins = openCodeConfig.plugin ?? [];
|
|
8108
|
-
result.isInstalled = plugins.some((p) => p.startsWith("matrixx"));
|
|
8111
|
+
result.isInstalled = plugins.some((p) => p.startsWith("opencode-matrixx") || p === "matrixx" || p.startsWith("matrixx@"));
|
|
8109
8112
|
if (!result.isInstalled) {
|
|
8110
8113
|
return result;
|
|
8111
8114
|
}
|
|
@@ -8716,7 +8719,7 @@ function getWindowsAppdataDir() {
|
|
|
8716
8719
|
return null;
|
|
8717
8720
|
return process.env.APPDATA ?? path4.join(os3.homedir(), "AppData", "Roaming");
|
|
8718
8721
|
}
|
|
8719
|
-
var PACKAGE_NAME3 = "matrixx", NPM_REGISTRY_URL, NPM_FETCH_TIMEOUT = 5000, CACHE_DIR, VERSION_FILE, USER_CONFIG_DIR, USER_OPENCODE_CONFIG, USER_OPENCODE_CONFIG_JSONC, INSTALLED_PACKAGE_JSON;
|
|
8722
|
+
var PACKAGE_NAME3 = "opencode-matrixx", NPM_REGISTRY_URL, NPM_FETCH_TIMEOUT = 5000, CACHE_DIR, VERSION_FILE, USER_CONFIG_DIR, USER_OPENCODE_CONFIG, USER_OPENCODE_CONFIG_JSONC, INSTALLED_PACKAGE_JSON;
|
|
8720
8723
|
var init_constants3 = __esm(() => {
|
|
8721
8724
|
init_shared();
|
|
8722
8725
|
NPM_REGISTRY_URL = `https://registry.npmjs.org/-/package/${PACKAGE_NAME3}/dist-tags`;
|
|
@@ -9474,7 +9477,7 @@ var {
|
|
|
9474
9477
|
// package.json
|
|
9475
9478
|
var package_default = {
|
|
9476
9479
|
name: "opencode-matrixx",
|
|
9477
|
-
version: "1.1.
|
|
9480
|
+
version: "1.1.1",
|
|
9478
9481
|
description: "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
9479
9482
|
main: "dist/index.js",
|
|
9480
9483
|
types: "dist/index.d.ts",
|
|
@@ -9562,13 +9565,13 @@ var package_default = {
|
|
|
9562
9565
|
typescript: "^5.7.3"
|
|
9563
9566
|
},
|
|
9564
9567
|
optionalDependencies: {
|
|
9565
|
-
"opencode-matrixx-darwin-arm64": "1.1.
|
|
9566
|
-
"opencode-matrixx-darwin-x64": "1.1.
|
|
9567
|
-
"opencode-matrixx-linux-arm64": "1.1.
|
|
9568
|
-
"opencode-matrixx-linux-arm64-musl": "1.1.
|
|
9569
|
-
"opencode-matrixx-linux-x64": "1.1.
|
|
9570
|
-
"opencode-matrixx-linux-x64-musl": "1.1.
|
|
9571
|
-
"opencode-matrixx-windows-x64": "1.1.
|
|
9568
|
+
"opencode-matrixx-darwin-arm64": "1.1.1",
|
|
9569
|
+
"opencode-matrixx-darwin-x64": "1.1.1",
|
|
9570
|
+
"opencode-matrixx-linux-arm64": "1.1.1",
|
|
9571
|
+
"opencode-matrixx-linux-arm64-musl": "1.1.1",
|
|
9572
|
+
"opencode-matrixx-linux-x64": "1.1.1",
|
|
9573
|
+
"opencode-matrixx-linux-x64-musl": "1.1.1",
|
|
9574
|
+
"opencode-matrixx-windows-x64": "1.1.1"
|
|
9572
9575
|
},
|
|
9573
9576
|
trustedDependencies: [
|
|
9574
9577
|
"@ast-grep/cli",
|
|
@@ -21794,7 +21797,7 @@ class JSONSchemaGenerator {
|
|
|
21794
21797
|
if (val === undefined) {
|
|
21795
21798
|
if (this.unrepresentable === "throw") {
|
|
21796
21799
|
throw new Error("Literal `undefined` cannot be represented in JSON Schema");
|
|
21797
|
-
}
|
|
21800
|
+
}
|
|
21798
21801
|
} else if (typeof val === "bigint") {
|
|
21799
21802
|
if (this.unrepresentable === "throw") {
|
|
21800
21803
|
throw new Error("BigInt literals cannot be represented in JSON Schema");
|
|
@@ -26288,6 +26291,8 @@ var EXIT_CODES = {
|
|
|
26288
26291
|
};
|
|
26289
26292
|
var MIN_OPENCODE_VERSION = "1.0.150";
|
|
26290
26293
|
var PACKAGE_NAME4 = "matrixx";
|
|
26294
|
+
var NPM_PACKAGE_NAME = "opencode-matrixx";
|
|
26295
|
+
var LEGACY_NPM_PACKAGE_NAME = "matrixx";
|
|
26291
26296
|
var OPENCODE_BINARIES2 = ["opencode", "opencode-desktop"];
|
|
26292
26297
|
|
|
26293
26298
|
// src/cli/doctor/checks/system.ts
|
|
@@ -26392,19 +26397,25 @@ function detectConfigPath() {
|
|
|
26392
26397
|
return null;
|
|
26393
26398
|
}
|
|
26394
26399
|
function parsePluginVersion(entry) {
|
|
26395
|
-
|
|
26396
|
-
|
|
26397
|
-
|
|
26398
|
-
|
|
26399
|
-
|
|
26400
|
-
|
|
26400
|
+
for (const name of [NPM_PACKAGE_NAME, LEGACY_NPM_PACKAGE_NAME]) {
|
|
26401
|
+
if (entry.startsWith(`${name}@`)) {
|
|
26402
|
+
const value = entry.slice(name.length + 1);
|
|
26403
|
+
if (!value || value === "latest")
|
|
26404
|
+
return null;
|
|
26405
|
+
return value;
|
|
26406
|
+
}
|
|
26407
|
+
}
|
|
26408
|
+
return null;
|
|
26409
|
+
}
|
|
26410
|
+
function matchesPluginName(entry, name) {
|
|
26411
|
+
return entry === name || entry.startsWith(`${name}@`);
|
|
26401
26412
|
}
|
|
26402
26413
|
function findPluginEntry2(entries) {
|
|
26403
26414
|
for (const entry of entries) {
|
|
26404
|
-
if (entry
|
|
26415
|
+
if (matchesPluginName(entry, NPM_PACKAGE_NAME) || matchesPluginName(entry, LEGACY_NPM_PACKAGE_NAME)) {
|
|
26405
26416
|
return { entry, isLocalDev: false };
|
|
26406
26417
|
}
|
|
26407
|
-
if (entry.startsWith("file://") && entry.includes(
|
|
26418
|
+
if (entry.startsWith("file://") && entry.includes(NPM_PACKAGE_NAME)) {
|
|
26408
26419
|
return { entry, isLocalDev: true };
|
|
26409
26420
|
}
|
|
26410
26421
|
}
|
|
@@ -26500,10 +26511,10 @@ function normalizeVersion(value) {
|
|
|
26500
26511
|
function getLoadedPluginVersion() {
|
|
26501
26512
|
const cacheDir = resolveOpenCodeCacheDir();
|
|
26502
26513
|
const cachePackagePath = join14(cacheDir, "package.json");
|
|
26503
|
-
const installedPackagePath = join14(cacheDir, "node_modules",
|
|
26514
|
+
const installedPackagePath = join14(cacheDir, "node_modules", NPM_PACKAGE_NAME, "package.json");
|
|
26504
26515
|
const cachePackage = readPackageJson(cachePackagePath);
|
|
26505
26516
|
const installedPackage = readPackageJson(installedPackagePath);
|
|
26506
|
-
const expectedVersion = normalizeVersion(cachePackage?.dependencies?.[
|
|
26517
|
+
const expectedVersion = normalizeVersion(cachePackage?.dependencies?.[NPM_PACKAGE_NAME]);
|
|
26507
26518
|
const loadedVersion = normalizeVersion(installedPackage?.version);
|
|
26508
26519
|
return {
|
|
26509
26520
|
cacheDir,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export declare const PACKAGE_NAME = "matrixx";
|
|
2
|
-
export declare const
|
|
1
|
+
export declare const PACKAGE_NAME = "opencode-matrixx";
|
|
2
|
+
export declare const LEGACY_PACKAGE_NAME = "matrixx";
|
|
3
|
+
export declare const NPM_REGISTRY_URL = "https://registry.npmjs.org/-/package/opencode-matrixx/dist-tags";
|
|
3
4
|
export declare const NPM_FETCH_TIMEOUT = 5000;
|
|
4
5
|
export declare const CACHE_DIR: string;
|
|
5
6
|
export declare const VERSION_FILE: string;
|
package/dist/index.js
CHANGED
|
@@ -31494,7 +31494,7 @@ class JSONSchemaGenerator {
|
|
|
31494
31494
|
if (val === undefined) {
|
|
31495
31495
|
if (this.unrepresentable === "throw") {
|
|
31496
31496
|
throw new Error("Literal `undefined` cannot be represented in JSON Schema");
|
|
31497
|
-
}
|
|
31497
|
+
}
|
|
31498
31498
|
} else if (typeof val === "bigint") {
|
|
31499
31499
|
if (this.unrepresentable === "throw") {
|
|
31500
31500
|
throw new Error("BigInt literals cannot be represented in JSON Schema");
|
|
@@ -37410,7 +37410,7 @@ import { fileURLToPath } from "url";
|
|
|
37410
37410
|
// src/hooks/auto-update-checker/constants.ts
|
|
37411
37411
|
import * as path5 from "path";
|
|
37412
37412
|
import * as os4 from "os";
|
|
37413
|
-
var PACKAGE_NAME = "matrixx";
|
|
37413
|
+
var PACKAGE_NAME = "opencode-matrixx";
|
|
37414
37414
|
var NPM_REGISTRY_URL = `https://registry.npmjs.org/-/package/${PACKAGE_NAME}/dist-tags`;
|
|
37415
37415
|
var NPM_FETCH_TIMEOUT = 5000;
|
|
37416
37416
|
function getCacheDir3() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-matrixx",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.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",
|
|
@@ -88,13 +88,13 @@
|
|
|
88
88
|
"typescript": "^5.7.3"
|
|
89
89
|
},
|
|
90
90
|
"optionalDependencies": {
|
|
91
|
-
"opencode-matrixx-darwin-arm64": "1.1.
|
|
92
|
-
"opencode-matrixx-darwin-x64": "1.1.
|
|
93
|
-
"opencode-matrixx-linux-arm64": "1.1.
|
|
94
|
-
"opencode-matrixx-linux-arm64-musl": "1.1.
|
|
95
|
-
"opencode-matrixx-linux-x64": "1.1.
|
|
96
|
-
"opencode-matrixx-linux-x64-musl": "1.1.
|
|
97
|
-
"opencode-matrixx-windows-x64": "1.1.
|
|
91
|
+
"opencode-matrixx-darwin-arm64": "1.1.1",
|
|
92
|
+
"opencode-matrixx-darwin-x64": "1.1.1",
|
|
93
|
+
"opencode-matrixx-linux-arm64": "1.1.1",
|
|
94
|
+
"opencode-matrixx-linux-arm64-musl": "1.1.1",
|
|
95
|
+
"opencode-matrixx-linux-x64": "1.1.1",
|
|
96
|
+
"opencode-matrixx-linux-x64-musl": "1.1.1",
|
|
97
|
+
"opencode-matrixx-windows-x64": "1.1.1"
|
|
98
98
|
},
|
|
99
99
|
"trustedDependencies": [
|
|
100
100
|
"@ast-grep/cli",
|