Skip to content

Comments

feat: Add support for --session-id CLI argument#1

Merged
parruda merged 1 commit intomainfrom
worktree-a682dc47-4da8-4573-b951-39bfa48680ce
Jul 16, 2025
Merged

feat: Add support for --session-id CLI argument#1
parruda merged 1 commit intomainfrom
worktree-a682dc47-4da8-4573-b951-39bfa48680ce

Conversation

@parruda
Copy link
Owner

@parruda parruda commented Jul 16, 2025

Summary

  • Added support for the new --session-id CLI argument introduced in Claude Code
  • Users can now specify a session ID (UUID) when creating queries through the SDK
  • Version bumped to 0.1.2

Implementation Details

  • Added session_id field to ClaudeCodeOptions class
  • Updated subprocess CLI to include --session-id in command when session ID is provided
  • Added test coverage for the new functionality

Test plan

  • All existing tests pass
  • Added new test case for session ID functionality
  • Verified command building includes --session-id argument when provided

🤖 Generated with Claude Code

- Added session_id parameter to ClaudeCodeOptions
- CLI command now includes --session-id when session ID is provided
- Added test coverage for the new functionality
- Bumped version to 0.1.2

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@parruda parruda merged commit 448fd47 into main Jul 16, 2025
4 checks passed
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