opencode-swarm 6.40.6 → 6.40.7
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/dist/cli/index.js +10 -5
- package/dist/index.js +15 -6
- package/dist/lang/grammars/tree-sitter.wasm +0 -0
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -33150,26 +33150,31 @@ async function checkGrammarWasmFiles() {
|
|
|
33150
33150
|
const grammarFiles = [
|
|
33151
33151
|
"tree-sitter-javascript.wasm",
|
|
33152
33152
|
"tree-sitter-typescript.wasm",
|
|
33153
|
+
"tree-sitter-tsx.wasm",
|
|
33153
33154
|
"tree-sitter-python.wasm",
|
|
33154
33155
|
"tree-sitter-go.wasm",
|
|
33155
33156
|
"tree-sitter-rust.wasm",
|
|
33156
33157
|
"tree-sitter-cpp.wasm",
|
|
33157
33158
|
"tree-sitter-c-sharp.wasm",
|
|
33158
33159
|
"tree-sitter-css.wasm",
|
|
33159
|
-
"tree-sitter-html.wasm",
|
|
33160
|
-
"tree-sitter-json.wasm",
|
|
33161
33160
|
"tree-sitter-bash.wasm",
|
|
33162
33161
|
"tree-sitter-ruby.wasm",
|
|
33163
33162
|
"tree-sitter-php.wasm",
|
|
33164
33163
|
"tree-sitter-java.wasm",
|
|
33165
33164
|
"tree-sitter-kotlin.wasm",
|
|
33166
33165
|
"tree-sitter-swift.wasm",
|
|
33167
|
-
"tree-sitter-dart.wasm"
|
|
33166
|
+
"tree-sitter-dart.wasm",
|
|
33167
|
+
"tree-sitter-powershell.wasm",
|
|
33168
|
+
"tree-sitter-ini.wasm",
|
|
33169
|
+
"tree-sitter-regex.wasm"
|
|
33168
33170
|
];
|
|
33169
33171
|
const thisDir = path12.dirname(fileURLToPath(import.meta.url));
|
|
33170
33172
|
const isSource = thisDir.replace(/\\/g, "/").endsWith("/src/services");
|
|
33171
33173
|
const grammarDir = isSource ? path12.join(thisDir, "..", "lang", "grammars") : path12.join(thisDir, "lang", "grammars");
|
|
33172
33174
|
const missing = [];
|
|
33175
|
+
if (!existsSync4(path12.join(grammarDir, "tree-sitter.wasm"))) {
|
|
33176
|
+
missing.push("tree-sitter.wasm (core runtime)");
|
|
33177
|
+
}
|
|
33173
33178
|
for (const file3 of grammarFiles) {
|
|
33174
33179
|
if (!existsSync4(path12.join(grammarDir, file3))) {
|
|
33175
33180
|
missing.push(file3);
|
|
@@ -33179,13 +33184,13 @@ async function checkGrammarWasmFiles() {
|
|
|
33179
33184
|
return {
|
|
33180
33185
|
name: "Grammar WASM Files",
|
|
33181
33186
|
status: "\u2705",
|
|
33182
|
-
detail:
|
|
33187
|
+
detail: `Core runtime + all ${grammarFiles.length} grammar WASM files present`
|
|
33183
33188
|
};
|
|
33184
33189
|
}
|
|
33185
33190
|
return {
|
|
33186
33191
|
name: "Grammar WASM Files",
|
|
33187
33192
|
status: "\u274C",
|
|
33188
|
-
detail: `${missing.length}
|
|
33193
|
+
detail: `${missing.length} WASM file(s) missing: ${missing.join(", ")}`
|
|
33189
33194
|
};
|
|
33190
33195
|
}
|
|
33191
33196
|
async function checkCheckpointManifest(directory) {
|
package/dist/index.js
CHANGED
|
@@ -40757,6 +40757,7 @@ var init_runtime = __esm(() => {
|
|
|
40757
40757
|
LANGUAGE_WASM_MAP = {
|
|
40758
40758
|
javascript: "tree-sitter-javascript.wasm",
|
|
40759
40759
|
typescript: "tree-sitter-typescript.wasm",
|
|
40760
|
+
tsx: "tree-sitter-tsx.wasm",
|
|
40760
40761
|
python: "tree-sitter-python.wasm",
|
|
40761
40762
|
go: "tree-sitter-go.wasm",
|
|
40762
40763
|
rust: "tree-sitter-rust.wasm",
|
|
@@ -40770,7 +40771,10 @@ var init_runtime = __esm(() => {
|
|
|
40770
40771
|
java: "tree-sitter-java.wasm",
|
|
40771
40772
|
kotlin: "tree-sitter-kotlin.wasm",
|
|
40772
40773
|
swift: "tree-sitter-swift.wasm",
|
|
40773
|
-
dart: "tree-sitter-dart.wasm"
|
|
40774
|
+
dart: "tree-sitter-dart.wasm",
|
|
40775
|
+
powershell: "tree-sitter-powershell.wasm",
|
|
40776
|
+
ini: "tree-sitter-ini.wasm",
|
|
40777
|
+
regex: "tree-sitter-regex.wasm"
|
|
40774
40778
|
};
|
|
40775
40779
|
});
|
|
40776
40780
|
|
|
@@ -47280,26 +47284,31 @@ async function checkGrammarWasmFiles() {
|
|
|
47280
47284
|
const grammarFiles = [
|
|
47281
47285
|
"tree-sitter-javascript.wasm",
|
|
47282
47286
|
"tree-sitter-typescript.wasm",
|
|
47287
|
+
"tree-sitter-tsx.wasm",
|
|
47283
47288
|
"tree-sitter-python.wasm",
|
|
47284
47289
|
"tree-sitter-go.wasm",
|
|
47285
47290
|
"tree-sitter-rust.wasm",
|
|
47286
47291
|
"tree-sitter-cpp.wasm",
|
|
47287
47292
|
"tree-sitter-c-sharp.wasm",
|
|
47288
47293
|
"tree-sitter-css.wasm",
|
|
47289
|
-
"tree-sitter-html.wasm",
|
|
47290
|
-
"tree-sitter-json.wasm",
|
|
47291
47294
|
"tree-sitter-bash.wasm",
|
|
47292
47295
|
"tree-sitter-ruby.wasm",
|
|
47293
47296
|
"tree-sitter-php.wasm",
|
|
47294
47297
|
"tree-sitter-java.wasm",
|
|
47295
47298
|
"tree-sitter-kotlin.wasm",
|
|
47296
47299
|
"tree-sitter-swift.wasm",
|
|
47297
|
-
"tree-sitter-dart.wasm"
|
|
47300
|
+
"tree-sitter-dart.wasm",
|
|
47301
|
+
"tree-sitter-powershell.wasm",
|
|
47302
|
+
"tree-sitter-ini.wasm",
|
|
47303
|
+
"tree-sitter-regex.wasm"
|
|
47298
47304
|
];
|
|
47299
47305
|
const thisDir = path18.dirname(fileURLToPath(import.meta.url));
|
|
47300
47306
|
const isSource = thisDir.replace(/\\/g, "/").endsWith("/src/services");
|
|
47301
47307
|
const grammarDir = isSource ? path18.join(thisDir, "..", "lang", "grammars") : path18.join(thisDir, "lang", "grammars");
|
|
47302
47308
|
const missing = [];
|
|
47309
|
+
if (!existsSync8(path18.join(grammarDir, "tree-sitter.wasm"))) {
|
|
47310
|
+
missing.push("tree-sitter.wasm (core runtime)");
|
|
47311
|
+
}
|
|
47303
47312
|
for (const file3 of grammarFiles) {
|
|
47304
47313
|
if (!existsSync8(path18.join(grammarDir, file3))) {
|
|
47305
47314
|
missing.push(file3);
|
|
@@ -47309,13 +47318,13 @@ async function checkGrammarWasmFiles() {
|
|
|
47309
47318
|
return {
|
|
47310
47319
|
name: "Grammar WASM Files",
|
|
47311
47320
|
status: "\u2705",
|
|
47312
|
-
detail:
|
|
47321
|
+
detail: `Core runtime + all ${grammarFiles.length} grammar WASM files present`
|
|
47313
47322
|
};
|
|
47314
47323
|
}
|
|
47315
47324
|
return {
|
|
47316
47325
|
name: "Grammar WASM Files",
|
|
47317
47326
|
status: "\u274C",
|
|
47318
|
-
detail: `${missing.length}
|
|
47327
|
+
detail: `${missing.length} WASM file(s) missing: ${missing.join(", ")}`
|
|
47319
47328
|
};
|
|
47320
47329
|
}
|
|
47321
47330
|
async function checkCheckpointManifest(directory) {
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-swarm",
|
|
3
|
-
"version": "6.40.
|
|
3
|
+
"version": "6.40.7",
|
|
4
4
|
"description": "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|