Skip to content

feat: add --headless mode to create-expert#559

Merged
FL4TLiN3 merged 1 commit intomainfrom
feat/create-expert-headless-mode
Feb 17, 2026
Merged

feat: add --headless mode to create-expert#559
FL4TLiN3 merged 1 commit intomainfrom
feat/create-expert-headless-mode

Conversation

@FL4TLiN3
Copy link
Contributor

Summary

  • Add --headless flag to create-expert CLI that outputs JSON events to stdout without TUI (like perstack run)
  • Add additionalEnv support to RunHandlerOptions so create-expert can inject PROVIDER_API_KEY in headless mode
  • Fix build by moving @perstack/* workspace packages from dependencies to devDependencies so tsdown bundles them into the dist output

Test plan

  • pnpm typecheck passes
  • pnpm test passes
  • pnpm build passes
  • pnpm biome check passes
  • pnpm run validate:changeset passes
  • node dist/bin/cli.js --headless without query shows error and exits 1
  • node dist/bin/cli.js --headless "Create a hello world expert" outputs JSON events and exits 0
  • node dist/bin/cli.js --headless --filter completeRun "Create a hello world expert" outputs only completeRun event

🤖 Generated with Claude Code

Add --headless flag to create-expert CLI that outputs JSON events to
stdout without a TUI, matching the behavior of `perstack run`. Also
adds additionalEnv support to runHandler and fixes the build by moving
@perstack/* workspace packages to devDependencies so they are bundled.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@FL4TLiN3 FL4TLiN3 enabled auto-merge (squash) February 17, 2026 09:09
@FL4TLiN3 FL4TLiN3 merged commit 350b30e into main Feb 17, 2026
11 checks passed
@FL4TLiN3 FL4TLiN3 mentioned this pull request Feb 17, 2026
@FL4TLiN3 FL4TLiN3 deleted the feat/create-expert-headless-mode branch February 25, 2026 13:35
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.

1 participant