agentswarm-cli 1.2.28 → 1.2.29

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/agency CHANGED
@@ -18,7 +18,7 @@ function run(target) {
18
18
  process.exit(code)
19
19
  }
20
20
 
21
- const envPath = process.env.AGENCY_BIN_PATH || process.env.OPENCODE_BIN_PATH
21
+ const envPath = process.env.AGENCY_BIN_PATH
22
22
  if (envPath) {
23
23
  run(envPath)
24
24
  }
@@ -27,7 +27,7 @@ const scriptPath = fs.realpathSync(fileURLToPath(import.meta.url))
27
27
  const scriptDir = path.dirname(scriptPath)
28
28
 
29
29
  //
30
- const cached = path.join(scriptDir, ".opencode")
30
+ const cached = path.join(scriptDir, ".agentswarm")
31
31
  if (fs.existsSync(cached)) {
32
32
  run(cached)
33
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentswarm-cli",
3
- "version": "1.2.28",
3
+ "version": "1.2.29",
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
- "agent-swarm-cli-windows-x64": "1.2.28",
27
- "agent-swarm-cli-linux-arm64": "1.2.28",
28
- "agent-swarm-cli-linux-x64-baseline": "1.2.28",
29
- "agent-swarm-cli-linux-x64": "1.2.28",
30
- "agent-swarm-cli-darwin-arm64": "1.2.28",
31
- "agent-swarm-cli-windows-arm64": "1.2.28",
32
- "agent-swarm-cli-windows-x64-baseline": "1.2.28",
33
- "agent-swarm-cli-linux-x64-musl": "1.2.28",
34
- "agent-swarm-cli-linux-arm64-musl": "1.2.28",
35
- "agent-swarm-cli-linux-x64-baseline-musl": "1.2.28",
36
- "agent-swarm-cli-darwin-x64": "1.2.28",
37
- "agent-swarm-cli-darwin-x64-baseline": "1.2.28"
26
+ "agent-swarm-cli-windows-x64": "1.2.29",
27
+ "agent-swarm-cli-linux-arm64": "1.2.29",
28
+ "agent-swarm-cli-linux-x64-baseline": "1.2.29",
29
+ "agent-swarm-cli-linux-x64": "1.2.29",
30
+ "agent-swarm-cli-darwin-arm64": "1.2.29",
31
+ "agent-swarm-cli-windows-arm64": "1.2.29",
32
+ "agent-swarm-cli-windows-x64-baseline": "1.2.29",
33
+ "agent-swarm-cli-linux-x64-musl": "1.2.29",
34
+ "agent-swarm-cli-linux-arm64-musl": "1.2.29",
35
+ "agent-swarm-cli-linux-x64-baseline-musl": "1.2.29",
36
+ "agent-swarm-cli-darwin-x64": "1.2.29",
37
+ "agent-swarm-cli-darwin-x64-baseline": "1.2.29"
38
38
  },
39
39
  "publishConfig": {
40
40
  "access": "public"
package/postinstall.mjs CHANGED
@@ -109,7 +109,7 @@ async function main() {
109
109
  // On non-Windows platforms, just verify the binary package exists
110
110
  // Don't replace the wrapper script - it handles binary execution
111
111
  const { binaryPath } = findBinary()
112
- const target = path.join(__dirname, "bin", ".opencode")
112
+ const target = path.join(__dirname, "bin", ".agentswarm")
113
113
  if (fs.existsSync(target)) fs.unlinkSync(target)
114
114
  try {
115
115
  fs.linkSync(binaryPath, target)