Skip to content

feat(spawn_workers): one-call worker-pool MCP tool (#7) - #8

Merged
Eyalm321 merged 1 commit into
mainfrom
feat/spawn-workers
Jun 24, 2026
Merged

Eyalm321 merged 1 commit into
mainfrom
feat/spawn-workers

Conversation

@Eyalm321

Copy link
Copy Markdown
Owner

Adds spawn_workers(queue, command, count, isolation, cwd) — opens a pane running the native hyperpanes worker runner bound to a queue (runs command via sh -c per claimed task, count competing workers, isolation:"worktree" → --worktree). Replaces the manual write-sh + open_pane + wire-up an orchestrator does today.

  • Drives the native runner; binary resolves from HYPERPANES_WORKER_BIN (default hyperpanes).
  • Returns the spawned pane id.
  • tsc-clean; registration test added (regression guard).

Pairs with the native runner in Eyalm321/hyperpanes#10.

Closes #7

🤖 Generated with Claude Code

spawn_workers(queue, command, count, isolation, cwd) opens a pane running the
native `hyperpanes worker` runner bound to a queue: sh -c <command> per task,
`count` competing workers, isolation:"worktree" -> --worktree. Replaces the manual
write-sh + open_pane + wire-up. Binary resolves from HYPERPANES_WORKER_BIN
(default `hyperpanes`). Registration test added; tsc clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Eyalm321
Eyalm321 merged commit 2f85769 into main Jun 24, 2026
2 checks passed
@Eyalm321
Eyalm321 deleted the feat/spawn-workers branch June 24, 2026 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MCP tool: spawn_workers(queue, command, count, isolation)

1 participant