@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.
Files changed (36) hide show
  1. package/bin/afx.js +8 -4
  2. package/dashboard-dist/assets/{index-CM6A5r59.js → index-BVEyQfhg.js} +2 -2
  3. package/dashboard-dist/assets/{index-CM6A5r59.js.map → index-BVEyQfhg.js.map} +1 -1
  4. package/dashboard-dist/index.html +1 -1
  5. package/dist/agent-farm/cli.d.ts.map +1 -1
  6. package/dist/agent-farm/cli.js +28 -0
  7. package/dist/agent-farm/cli.js.map +1 -1
  8. package/dist/agent-farm/commands/spawn-worktree.d.ts +8 -2
  9. package/dist/agent-farm/commands/spawn-worktree.d.ts.map +1 -1
  10. package/dist/agent-farm/commands/spawn-worktree.js +30 -7
  11. package/dist/agent-farm/commands/spawn-worktree.js.map +1 -1
  12. package/dist/agent-farm/commands/spawn.d.ts +8 -0
  13. package/dist/agent-farm/commands/spawn.d.ts.map +1 -1
  14. package/dist/agent-farm/commands/spawn.js +21 -3
  15. package/dist/agent-farm/commands/spawn.js.map +1 -1
  16. package/dist/agent-farm/commands/workspace-recover.d.ts +74 -0
  17. package/dist/agent-farm/commands/workspace-recover.d.ts.map +1 -0
  18. package/dist/agent-farm/commands/workspace-recover.js +307 -0
  19. package/dist/agent-farm/commands/workspace-recover.js.map +1 -0
  20. package/dist/agent-farm/servers/tower-instances.d.ts.map +1 -1
  21. package/dist/agent-farm/servers/tower-instances.js +57 -1
  22. package/dist/agent-farm/servers/tower-instances.js.map +1 -1
  23. package/dist/agent-farm/utils/claude-session-discovery.d.ts +19 -0
  24. package/dist/agent-farm/utils/claude-session-discovery.d.ts.map +1 -0
  25. package/dist/agent-farm/utils/claude-session-discovery.js +64 -0
  26. package/dist/agent-farm/utils/claude-session-discovery.js.map +1 -0
  27. package/dist/cli.d.ts +2 -1
  28. package/dist/cli.d.ts.map +1 -1
  29. package/dist/cli.js +22 -32
  30. package/dist/cli.js.map +1 -1
  31. package/dist/commands/porch/state.d.ts +17 -0
  32. package/dist/commands/porch/state.d.ts.map +1 -1
  33. package/dist/commands/porch/state.js +47 -0
  34. package/dist/commands/porch/state.js.map +1 -1
  35. package/package.json +3 -4
  36. 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
- // Routes to agent-farm command handler
5
- import { run } from '../dist/cli.js';
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
- const args = process.argv.slice(2);
8
- run(['agent-farm', ...args]);
9
+ runAgentFarm(process.argv.slice(2)).catch((error) => {
10
+ console.error(error instanceof Error ? error.message : String(error));
11
+ process.exit(1);
12
+ });