You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c24d024
Browse filesBrowse the repository at this point in the historyBrowse files
authored
feat(map): add polylane map to run the first mapping via the user's coding agent (#41)
Adds a `headlessRun` recipe to the agent registry and a `polylane map`
command that launches the user's primary coding agent headlessly to map the
current repository (prompt: "Map this repository with Polylane"). This is what
the 0.2.x installer's "Or we can run it for you now?" step calls, so the user
never has to open their agent and paste the prompt by hand.
- `HeadlessRun` recipe ({ bin, args, env }) added to AgentSetup for the 8
agents with a documented scriptable one-shot + auto-approve: claude
(-p --permission-mode bypassPermissions), codex (exec --full-auto), cursor
(cursor-agent -p --force), gemini (-p --yolo), opencode (run), goose
(run --no-session -t, GOOSE_MODE=auto), pi (-p), cline (--yolo). IDE/extension
surfaces (warp, roo, windsurf, zed, vscode) have no recipe.
- `polylane map` resolves the agent (--agent flag > configured `agent` from
#38 > sole installed > interactive pick), verifies the binary is on PATH,
and falls back to any installed sibling CLI agent when the primary is
IDE-only, so a Windsurf/Zed user still maps through e.g. Claude Code.
`--dry-run` prints the command; no runnable agent prints the manual
instruction and exits 0. Registered as a no-auth command (like `setup`).
- 22 new tests (recipe coverage, sibling fallback, PATH probe); `map` added to
the resource-group and no-auth lists.
Part of unified onboarding (coreplanelabs/nominal#1165). Needs a CLI release
after merge for the installer to pick it up.
Co-authored-by: Justin Helmer <justin@coreplane.ai>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments