mirror of
https://github.com/cline/cline.git
synced 2026-08-29 03:52:41 +08:00
f1a84ddbde
* feat: add SessionStart hook for Claude Code on the web Adds a session-start hook that runs in remote environments to: - Install all dependencies (npm run install:all) - Generate gRPC/protobuf types (npm run protos) This enables Claude Code web sessions to properly run tests and linters. * feat: add .worktreeinclude for Claude Code worktrees Ensures environment files and local settings are copied to new worktrees: - .env files - .clineignore - Local Claude settings * fix: include node_modules and generated files in worktreeinclude Copying these to worktrees saves significant setup time: - node_modules: skips npm install (~1-2 min) - src/generated/, src/shared/proto/: skips proto generation * feat: install gh CLI and add GITHUB_TOKEN support in session hook - Rename session-start.sh to claude-code-for-web-setup.sh - Install latest gh CLI from GitHub releases - Check for GITHUB_TOKEN and inform Claude about gh availability - Enables using `gh issue`, `gh pr` commands when token is configured * refactor: make .worktreeinclude a symlink to .gitignore
Symbolic link
1 line
10 B
Plaintext
Symbolic link
1 line
10 B
Plaintext
.gitignore |