agentswarm-cli 1.4.10 → 1.4.12
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/bin/agentswarm +9 -2
- package/package.json +13 -13
package/bin/agentswarm
CHANGED
|
@@ -176,10 +176,17 @@ function findBinary(startDir) {
|
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
|
|
179
|
+
function findBuiltBinary(startDir) {
|
|
180
|
+
for (const name of names) {
|
|
181
|
+
const candidate = path.join(startDir, "..", "dist", name, "bin", binary)
|
|
182
|
+
if (fs.existsSync(candidate)) return candidate
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
const resolved = findBinary(scriptDir) ?? findBuiltBinary(scriptDir)
|
|
180
187
|
if (!resolved) {
|
|
181
188
|
console.error(
|
|
182
|
-
"It seems that your package manager failed to install the right version of the agentswarm-cli package for your platform.
|
|
189
|
+
"It seems that your package manager failed to install the right version of the agentswarm-cli package for your platform. If this is a local source install, build the current checkout first with \"bun run build -- --single\" before running \"npm install -g .\". Otherwise you can try manually installing " +
|
|
183
190
|
packageNames.map((name) => `"${name}"`).join(" or ") +
|
|
184
191
|
" package",
|
|
185
192
|
)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentswarm-cli",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.12",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Agent Swarm CLI for the terminal.",
|
|
@@ -23,18 +23,18 @@
|
|
|
23
23
|
"postinstall": "bun ./postinstall.mjs || node ./postinstall.mjs"
|
|
24
24
|
},
|
|
25
25
|
"optionalDependencies": {
|
|
26
|
-
"@vrsen/agentswarm-cli-linux-arm64-musl": "1.4.
|
|
27
|
-
"@vrsen/agentswarm-cli-windows-x64": "1.4.
|
|
28
|
-
"@vrsen/agentswarm-cli-windows-arm64": "1.4.
|
|
29
|
-
"@vrsen/agentswarm-cli-darwin-x64": "1.4.
|
|
30
|
-
"@vrsen/agentswarm-cli-linux-x64": "1.4.
|
|
31
|
-
"@vrsen/agentswarm-cli-darwin-arm64": "1.4.
|
|
32
|
-
"@vrsen/agentswarm-cli-linux-x64-musl": "1.4.
|
|
33
|
-
"@vrsen/agentswarm-cli-linux-x64-baseline": "1.4.
|
|
34
|
-
"@vrsen/agentswarm-cli-linux-x64-baseline-musl": "1.4.
|
|
35
|
-
"@vrsen/agentswarm-cli-darwin-x64-baseline": "1.4.
|
|
36
|
-
"@vrsen/agentswarm-cli-linux-arm64": "1.4.
|
|
37
|
-
"@vrsen/agentswarm-cli-windows-x64-baseline": "1.4.
|
|
26
|
+
"@vrsen/agentswarm-cli-linux-arm64-musl": "1.4.12",
|
|
27
|
+
"@vrsen/agentswarm-cli-windows-x64": "1.4.12",
|
|
28
|
+
"@vrsen/agentswarm-cli-windows-arm64": "1.4.12",
|
|
29
|
+
"@vrsen/agentswarm-cli-darwin-x64": "1.4.12",
|
|
30
|
+
"@vrsen/agentswarm-cli-linux-x64": "1.4.12",
|
|
31
|
+
"@vrsen/agentswarm-cli-darwin-arm64": "1.4.12",
|
|
32
|
+
"@vrsen/agentswarm-cli-linux-x64-musl": "1.4.12",
|
|
33
|
+
"@vrsen/agentswarm-cli-linux-x64-baseline": "1.4.12",
|
|
34
|
+
"@vrsen/agentswarm-cli-linux-x64-baseline-musl": "1.4.12",
|
|
35
|
+
"@vrsen/agentswarm-cli-darwin-x64-baseline": "1.4.12",
|
|
36
|
+
"@vrsen/agentswarm-cli-linux-arm64": "1.4.12",
|
|
37
|
+
"@vrsen/agentswarm-cli-windows-x64-baseline": "1.4.12"
|
|
38
38
|
},
|
|
39
39
|
"platformScope": "@vrsen",
|
|
40
40
|
"publishConfig": {
|