Skip to content

refactor: remove claudeCodeEnv option and update environment variable…#10

Merged
cuipengfei merged 1 commit into
cuipengfei:devfrom
caozhiyuan:feature/count-token
Oct 1, 2025
Merged

refactor: remove claudeCodeEnv option and update environment variable…#10
cuipengfei merged 1 commit into
cuipengfei:devfrom
caozhiyuan:feature/count-token

Conversation

@cuipengfei
Copy link
Copy Markdown
Owner

… handling

Copilot AI review requested due to automatic review settings October 1, 2025 14:07
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes the claudeCodeEnv option from the command line interface and simplifies environment variable handling for Claude Code integration. The refactoring eliminates a conditional flag that was enabled by default and always generates the full set of environment variables when Claude Code is requested.

  • Removed the claudeCodeEnv boolean option from the CLI interface
  • Added additional environment variables for Claude Code configuration
  • Updated documentation to reflect the new environment variable set

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/start.ts Removed claudeCodeEnv option from interface and CLI, simplified conditional logic, and added new environment variables
README.md Removed documentation for the --claude-code-env flag and updated example configuration with new environment variables

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@cuipengfei cuipengfei merged commit b287a85 into cuipengfei:dev Oct 1, 2025
1 check passed
@caozhiyuan caozhiyuan deleted the feature/count-token branch October 29, 2025 07:20
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.

3 participants