Skip to content

feat: add CLI passthrough flags for Claude session options#94

Merged
frankekn merged 1 commit intomainfrom
maint/pr92-agent-passthrough-flags
Mar 10, 2026
Merged

feat: add CLI passthrough flags for Claude session options#94
frankekn merged 1 commit intomainfrom
maint/pr92-agent-passthrough-flags

Conversation

@frankekn
Copy link
Copy Markdown
Contributor

Reference #92

This is a maintainer-owned replacement PR for the current-architecture version of the Claude session-option passthrough work.

Why replace the original branch:

  • the original fork PR is currently blocked on GitHub Actions action_required
  • the code itself rebases cleanly to current main
  • local gates are green on the rebased head

Included behavior:

  • add first-class CLI flags for --model, --allowed-tools, and --max-turns
  • thread those flags through exec, sessions new, and sessions ensure
  • forward Claude-specific session options via ACP session/new _meta.claudeCode.options
  • include parsing/help/unit/integration coverage for the passthrough path

Local validation:

  • pnpm run format:check
  • pnpm run typecheck
  • pnpm run build
  • pnpm run build:test && node --test dist-test/test/client.test.js dist-test/test/cli.test.js dist-test/test/integration.test.js

@frankekn frankekn merged commit 6cb2abb into main Mar 10, 2026
7 checks passed
@frankekn frankekn deleted the maint/pr92-agent-passthrough-flags branch March 10, 2026 03:18
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.

2 participants