Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM mcr.microsoft.com/devcontainers/base:ubuntu

# Build arguments for Claude Code authentication
ARG CLAUDE_CODE_OAUTH_TOKEN

Check warning on line 4 in .devcontainer/Dockerfile

View workflow job for this annotation

GitHub Actions / Trivy Container Scan

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "CLAUDE_CODE_OAUTH_TOKEN") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/

Check warning on line 4 in .devcontainer/Dockerfile

View workflow job for this annotation

GitHub Actions / Generate SBOM

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "CLAUDE_CODE_OAUTH_TOKEN") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
ARG ANTHROPIC_API_KEY

Check warning on line 5 in .devcontainer/Dockerfile

View workflow job for this annotation

GitHub Actions / Trivy Container Scan

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "ANTHROPIC_API_KEY") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/

Check warning on line 5 in .devcontainer/Dockerfile

View workflow job for this annotation

GitHub Actions / Generate SBOM

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "ANTHROPIC_API_KEY") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/

# Install dependencies and Node.js using official binaries
RUN apt-get update && apt-get install -y \
Expand Down Expand Up @@ -57,12 +57,14 @@
RUN CLAUDE_CODE_VERSION=$(node -pe "require('/tmp/npm-global.json').dependencies['@anthropic-ai/claude-code'].version") \
&& CODEX_VERSION=$(node -pe "require('/tmp/npm-global.json').dependencies['@openai/codex'].version") \
&& VERCEL_VERSION=$(node -pe "require('/tmp/npm-global.json').dependencies['vercel'].version") \
&& GEMINI_CLI_VERSION=$(node -pe "require('/tmp/npm-global.json').dependencies['@google/gemini-cli'].version") \
&& npm install -g eslint \
typescript \
typescript-language-server \
@anthropic-ai/claude-code@${CLAUDE_CODE_VERSION} \
@openai/codex@${CODEX_VERSION} \
vercel@${VERCEL_VERSION}
vercel@${VERCEL_VERSION} \
@google/gemini-cli@${GEMINI_CLI_VERSION}

USER vscode
RUN bash -lc "cargo install similarity-ts" || true \
Expand Down
24 changes: 22 additions & 2 deletions .devcontainer/claude-settings.local.json
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@
"hooks": [
{
"type": "command",
"command": "python3 .claude/hooks/block_git_no_verify.py"
"command": "python3 /home/vscode/.claude/hooks/block_git_no_verify.py"
}
]
},
Expand All @@ -338,7 +338,27 @@
"hooks": [
{
"type": "command",
"command": "python3 .claude/hooks/pre_git_quality_gates.py"
"command": "python3 /home/vscode/.claude/hooks/pre_git_quality_gates.py"
}
]
},
{
"matcher": "tool_name == 'ExitPlanMode'",
"hooks": [
{
"type": "command",
"command": "python3 /home/vscode/.claude/hooks/pre_exit_plan_ai_review.py"
}
]
}
],
"PostToolUse": [
{
"matcher": "tool_name == 'Bash'",
"hooks": [
{
"type": "command",
"command": "python3 /home/vscode/.claude/hooks/post_pr_ai_review.py"
}
]
}
Expand Down
4 changes: 4 additions & 0 deletions npm/global.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
"version": "0.88.0",
"overridden": false
},
"@google/gemini-cli": {
"version": "0.25.0",
"overridden": false
},
"bash-language-server": {
"version": "5.6.0",
"overridden": false
Expand Down