agentswarm-cli 1.4.9 → 1.4.11
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 +13 -2
- package/package.json +13 -13
package/bin/agentswarm
CHANGED
|
@@ -9,6 +9,10 @@ import { fileURLToPath } from "node:url"
|
|
|
9
9
|
function run(target) {
|
|
10
10
|
const result = childProcess.spawnSync(target, process.argv.slice(2), {
|
|
11
11
|
stdio: "inherit",
|
|
12
|
+
env: {
|
|
13
|
+
...process.env,
|
|
14
|
+
AGENTSWARM_LAUNCHER: process.env.AGENTSWARM_LAUNCHER || "1",
|
|
15
|
+
},
|
|
12
16
|
})
|
|
13
17
|
if (result.error) {
|
|
14
18
|
console.error(result.error.message)
|
|
@@ -172,10 +176,17 @@ function findBinary(startDir) {
|
|
|
172
176
|
}
|
|
173
177
|
}
|
|
174
178
|
|
|
175
|
-
|
|
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)
|
|
176
187
|
if (!resolved) {
|
|
177
188
|
console.error(
|
|
178
|
-
"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 " +
|
|
179
190
|
packageNames.map((name) => `"${name}"`).join(" or ") +
|
|
180
191
|
" package",
|
|
181
192
|
)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentswarm-cli",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.11",
|
|
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.11",
|
|
27
|
+
"@vrsen/agentswarm-cli-windows-x64": "1.4.11",
|
|
28
|
+
"@vrsen/agentswarm-cli-windows-arm64": "1.4.11",
|
|
29
|
+
"@vrsen/agentswarm-cli-darwin-x64": "1.4.11",
|
|
30
|
+
"@vrsen/agentswarm-cli-linux-x64": "1.4.11",
|
|
31
|
+
"@vrsen/agentswarm-cli-darwin-arm64": "1.4.11",
|
|
32
|
+
"@vrsen/agentswarm-cli-linux-x64-musl": "1.4.11",
|
|
33
|
+
"@vrsen/agentswarm-cli-linux-x64-baseline": "1.4.11",
|
|
34
|
+
"@vrsen/agentswarm-cli-linux-x64-baseline-musl": "1.4.11",
|
|
35
|
+
"@vrsen/agentswarm-cli-darwin-x64-baseline": "1.4.11",
|
|
36
|
+
"@vrsen/agentswarm-cli-linux-arm64": "1.4.11",
|
|
37
|
+
"@vrsen/agentswarm-cli-windows-x64-baseline": "1.4.11"
|
|
38
38
|
},
|
|
39
39
|
"platformScope": "@vrsen",
|
|
40
40
|
"publishConfig": {
|