@cluesmith/codev 3.1.2 → 3.1.3
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/afx.js +8 -4
- package/dashboard-dist/assets/{index-CM6A5r59.js → index-BVEyQfhg.js} +2 -2
- package/dashboard-dist/assets/{index-CM6A5r59.js.map → index-BVEyQfhg.js.map} +1 -1
- package/dashboard-dist/index.html +1 -1
- package/dist/agent-farm/cli.d.ts.map +1 -1
- package/dist/agent-farm/cli.js +28 -0
- package/dist/agent-farm/cli.js.map +1 -1
- package/dist/agent-farm/commands/spawn-worktree.d.ts +8 -2
- package/dist/agent-farm/commands/spawn-worktree.d.ts.map +1 -1
- package/dist/agent-farm/commands/spawn-worktree.js +30 -7
- package/dist/agent-farm/commands/spawn-worktree.js.map +1 -1
- package/dist/agent-farm/commands/spawn.d.ts +8 -0
- package/dist/agent-farm/commands/spawn.d.ts.map +1 -1
- package/dist/agent-farm/commands/spawn.js +21 -3
- package/dist/agent-farm/commands/spawn.js.map +1 -1
- package/dist/agent-farm/commands/workspace-recover.d.ts +74 -0
- package/dist/agent-farm/commands/workspace-recover.d.ts.map +1 -0
- package/dist/agent-farm/commands/workspace-recover.js +307 -0
- package/dist/agent-farm/commands/workspace-recover.js.map +1 -0
- package/dist/agent-farm/servers/tower-instances.d.ts.map +1 -1
- package/dist/agent-farm/servers/tower-instances.js +57 -1
- package/dist/agent-farm/servers/tower-instances.js.map +1 -1
- package/dist/agent-farm/utils/claude-session-discovery.d.ts +19 -0
- package/dist/agent-farm/utils/claude-session-discovery.d.ts.map +1 -0
- package/dist/agent-farm/utils/claude-session-discovery.js +64 -0
- package/dist/agent-farm/utils/claude-session-discovery.js.map +1 -0
- package/dist/cli.d.ts +2 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +22 -32
- package/dist/cli.js.map +1 -1
- package/dist/commands/porch/state.d.ts +17 -0
- package/dist/commands/porch/state.d.ts.map +1 -1
- package/dist/commands/porch/state.js +47 -0
- package/dist/commands/porch/state.js.map +1 -1
- package/package.json +3 -4
- package/bin/af.js +0 -8
package/bin/afx.js
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
// afx - Agent Farm CLI (standalone command)
|
|
4
|
-
//
|
|
5
|
-
|
|
4
|
+
// Issue #846: imports runAgentFarm directly. The `codev afx` / `codev agent-farm`
|
|
5
|
+
// wrapped variants were removed because they created a `process.argv[1]` invocation-style
|
|
6
|
+
// split that broke spawn(execPath, [argv[1], ...]) callers (e.g. workspace-recover.ts).
|
|
7
|
+
import { runAgentFarm } from '../dist/agent-farm/cli.js';
|
|
6
8
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
+
runAgentFarm(process.argv.slice(2)).catch((error) => {
|
|
10
|
+
console.error(error instanceof Error ? error.message : String(error));
|
|
11
|
+
process.exit(1);
|
|
12
|
+
});
|