Compare commits

..

26 Commits

Author SHA1 Message Date
Robert Boyce
3d5ae36896 Add manual issue triage workflow
- Add optional issue_number parameter to Claude Issue Triage Action
- Create manual workflow that accepts comma-separated issue numbers
- Maintains backward compatibility with existing issue event workflow

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-05 10:59:44 -07:00
Robert Boyce
6370398030 Merge pull request #1662 from anthropics/rboyce/action-dupe
Add duplicate detection to triage action
2025-06-05 10:22:01 -07:00
Robert Boyce
bb083eea94 add duplicate detection to triage action 2025-06-05 10:15:43 -07:00
GitHub Actions
d9cc2b58a2 chore: Update CHANGELOG.md 2025-06-04 17:01:21 +00:00
GitHub Actions
0c3b9e94e1 chore: Update CHANGELOG.md 2025-06-04 16:10:22 +00:00
GitHub Actions
3cf808d1ec chore: Update CHANGELOG.md 2025-06-04 15:43:29 +00:00
GitHub Actions
e9f7c53b7c chore: Update CHANGELOG.md 2025-06-04 14:35:31 +00:00
Boris Cherny
d1510f5eef Merge pull request #1537 from anthropics/boris/xgsw
Update README with streamlined content and demo GIF
2025-06-03 10:26:18 -07:00
Boris Cherny
715ea8ed4a Update README with streamlined content and demo GIF
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-03 10:23:40 -07:00
Ashwin Bhat
0b881fcb4d Merge pull request #1310 from MadsRC/pinGhActions
pinned GitHub Actions
2025-06-03 10:14:53 -07:00
GitHub Actions
9ca3c81936 chore: Update CHANGELOG.md 2025-06-03 04:26:58 +00:00
GitHub Actions
4f162e6b79 chore: Update CHANGELOG.md 2025-06-02 16:10:56 +00:00
Mads R. Havmand
e05a423901 kept beta as per request 2025-05-31 11:04:37 +02:00
Boris Cherny
4c9bd9cd74 Merge pull request #1064 from grll/patch-1
Update Dockerfile
2025-05-28 20:45:20 -07:00
Boris Cherny
0d22403ad1 Merge pull request #991 from cg505/patch-1
fix docs link
2025-05-28 20:44:51 -07:00
Boris Cherny
931543f95f Merge pull request #1309 from licvido/fix-duplicate-comment
fix: remove duplicate comment
2025-05-28 20:44:24 -07:00
GitHub Actions
437f92b52e chore: Update CHANGELOG.md 2025-05-28 17:37:16 +00:00
Mads R. Havmand
14c8c0df32 pinned GitHub Actions 2025-05-25 17:50:57 +02:00
Filip Mikovcak
6767546666 fix: remove duplicate comment 2025-05-25 17:29:29 +02:00
GitHub Actions
5e54b4ccc1 chore: Update CHANGELOG.md 2025-05-22 17:54:14 +00:00
Lina Tawfik
895ce94465 Merge pull request #1231 from anthropics/add-claude-github-actions-1747935723354
Add Claude PR Assistant workflow
2025-05-22 10:44:47 -07:00
Lina Tawfik
7d0c29fe1a Add Claude PR Assistant workflow 2025-05-22 10:42:04 -07:00
Boris Cherny
51fecc9881 Merge pull request #1228 from anthropics/boris/pcdv
Update README.md documentation links and OAuth description
2025-05-22 10:27:35 -07:00
Guillaume Raille
e394b39220 Update .devcontainer/Dockerfile
Co-authored-by: Austin Macdonald <austin@dartmouth.edu>
2025-05-16 16:30:26 +02:00
Guillaume Raille
d337047b92 Update Dockerfile
consitent setting of env variables
2025-05-12 17:29:31 +02:00
Christopher Cooper
4adc8a066d fix docs link 2025-05-07 10:26:27 -07:00
9 changed files with 163 additions and 34 deletions

View File

@@ -54,8 +54,8 @@ USER node
ENV NPM_CONFIG_PREFIX=/usr/local/share/npm-global
ENV PATH=$PATH:/usr/local/share/npm-global/bin
# Set the default shell to bash rather than sh
ENV SHELL /bin/zsh
# Set the default shell to zsh rather than sh
ENV SHELL=/bin/zsh
# Default powerline10k theme
RUN sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/releases/download/v1.2.0/zsh-in-docker.sh)" -- \

View File

@@ -88,7 +88,6 @@ echo "Host network detected as: $HOST_NETWORK"
iptables -A INPUT -s "$HOST_NETWORK" -j ACCEPT
iptables -A OUTPUT -d "$HOST_NETWORK" -j ACCEPT
# Set default policies to DROP first
# Set default policies to DROP first
iptables -P INPUT DROP
iptables -P FORWARD DROP

View File

@@ -12,6 +12,9 @@ inputs:
github_token:
description: "GitHub token with repo and issues permissions"
required: true
issue_number:
description: "Issue number to triage (optional - defaults to event issue number)"
required: false
runs:
using: "composite"
@@ -32,7 +35,7 @@ runs:
Issue Information:
- REPO: ${{ github.repository }}
- ISSUE_NUMBER: ${{ github.event.issue.number }}
- ISSUE_NUMBER: ${{ inputs.issue_number || github.event.issue.number }}
TASK OVERVIEW:
@@ -55,14 +58,22 @@ runs:
- User impact
- Components affected
4. Select appropriate labels from the available labels list provided above:
4. Identify existing duplicate issues:
- Use mcp__github__search_issues to find similar issues
- List out all open or recently closed issues that seem likely to be reports of the same problem
- Place the best candidate issue to merge into at the top of the list.
The best candidate issue is the one that is:
1. Has the same underlying cause as the current issue
2. Is the most complete and well-documented
3. Is the oldest open issue that is still relevant
5. Select appropriate labels from the available labels list provided above:
- Choose labels that accurately reflect the issue's nature
- Be specific but comprehensive
- Select priority labels if you can determine urgency (high-priority, med-priority, or low-priority)
- Consider platform labels (android, ios) if applicable
- If you find similar issues using mcp__github__search_issues, consider using a "duplicate" label if appropriate. Only do so if the issue is a duplicate of another OPEN issue.
- Consider platform labels (macos, linux, windows) if applicable
- Do not apply the "duplicate" label unless you are certain the issue is a duplicate of another open issue
5. Apply the selected labels:
6. Apply the selected labels:
- Use mcp__github__update_issue to apply your selected labels
- DO NOT post any comments explaining your decision
- DO NOT communicate directly with users

View File

@@ -0,0 +1,46 @@
name: Claude Issue Triage Manual
description: "Manually triage GitHub issues using Claude Code"
on:
workflow_dispatch:
inputs:
issue_numbers:
description: 'Comma-separated list of issue numbers to triage (e.g., 123,456,789)'
required: true
type: string
jobs:
parse-issues:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- name: Parse issue numbers
id: set-matrix
run: |
# Remove spaces and convert to JSON array
CLEANED=$(echo "${{ github.event.inputs.issue_numbers }}" | tr -d ' ')
IFS=',' read -ra ISSUES <<< "$CLEANED"
MATRIX_JSON=$(printf '%s\n' "${ISSUES[@]}" | jq -R . | jq -s -c '{issue: .}')
echo "matrix=$MATRIX_JSON" >> $GITHUB_OUTPUT
triage-issue:
needs: parse-issues
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
issues: write
strategy:
matrix: ${{ fromJson(needs.parse-issues.outputs.matrix) }}
max-parallel: 5
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Run Claude Issue Triage
uses: ./.github/actions/claude-issue-triage-action
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}
issue_number: ${{ matrix.issue }}

View File

@@ -14,7 +14,7 @@ jobs:
issues: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Run Claude Issue Triage
uses: ./.github/actions/claude-issue-triage-action

37
.github/workflows/claude.yml vendored Normal file
View File

@@ -0,0 +1,37 @@
name: Claude Code
on:
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
issues:
types: [opened, assigned]
pull_request_review:
types: [submitted]
jobs:
claude:
if: |
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) ||
(github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')))
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
issues: read
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 1
- name: Run Claude Code
id: claude
uses: anthropics/claude-code-action@beta
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}

View File

@@ -1,5 +1,54 @@
# Changelog
## 1.0.11
- Claude Code can now also be used with a Claude Pro subscription
- Added /upgrade for smoother switching to Claude Max plans
- Improved UI for authentication from API keys and Bedrock/Vertex/external auth tokens
- Improved shell configuration error handling
- Improved todo list handling during compaction
## 1.0.10
- Added markdown table support
- Improved streaming performance
## 1.0.8
- Fixed Vertex AI region fallback when using CLOUD_ML_REGION
- Increased default otel interval from 1s -> 5s
- Fixed edge cases where MCP_TIMEOUT and MCP_TOOL_TIMEOUT weren't being respected
- Fixed a regression where search tools unnecessarily asked for permissions
- Added support for triggering thinking non-English languages
- Improved compacting UI
## 1.0.7
- Renamed /allowed-tools -> /permissions
- Migrated allowedTools and ignorePatterns from .claude.json -> settings.json
- Deprecated claude config commands in favor of editing settings.json
- Fixed a bug where --dangerously-skip-permissions sometimes didn't work in --print mode
- Improved error handling for /install-github-app
- Bugfixes, UI polish, and tool reliability improvements
## 1.0.6
- Improved edit reliability for tab-indented files
- Respect CLAUDE_CONFIG_DIR everywhere
- Reduced unnecessary tool permission prompts
- Added support for symlinks in @file typeahead
- Bugfixes, UI polish, and tool reliability improvements
## 1.0.4
- Fixed a bug where MCP tool errors weren't being parsed correctly
## 1.0.1
- Added `DISABLE_INTERLEAVED_THINKING` to give users the option to opt out of interleaved thinking.
- Improved model references to show provider-specific names (Sonnet 3.7 for Bedrock, Sonnet 4 for Console)
- Updated documentation links and OAuth process descriptions
## 1.0.0
- Claude Code is now generally available

View File

@@ -4,44 +4,31 @@
[npm]: https://img.shields.io/npm/v/@anthropic-ai/claude-code.svg?style=flat-square
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.
Some of its key capabilities include:
- Edit files and fix bugs across your codebase
- Answer questions about your code's architecture and logic
- Execute and fix tests, lint, and other commands
- Search through git history, resolve merge conflicts, and create commits and PRs
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows -- all through natural language commands. Use it in your terminal, IDE, or tag @claude on Github.
**Learn more in the [official documentation](https://docs.anthropic.com/en/docs/claude-code/overview)**.
<img src="./demo.gif" />
## Get started
1. If you are new to Node.js and Node Package Manager (`npm`), then it is recommended that you configure an NPM prefix for your user.
Instructions on how to do this can be found [here](https://docs.anthropic.com/en/docs/claude-code/troubleshooting#recommended-solution-create-a-user-writable-npm-prefix).
1. Install Claude Code:
_Important_ We recommend installing this package as a non-privileged user, not as an administrative user like `root`.
Installing as a non-privileged user helps maintain your system's security and stability.
```sh
npm install -g @anthropic-ai/claude-code
```
2. Install Claude Code:
2. Navigate to your project directory and run `claude`.
```sh
npm install -g @anthropic-ai/claude-code
```
3. Navigate to your project directory and run `claude`.
4. Complete the one-time OAuth process with your Claude Max or Anthropic Console account.
### Reporting Bugs
## Reporting Bugs
We welcome feedback during this beta period. Use the `/bug` command to report issues directly within Claude Code, or file a [GitHub issue](https://github.com/anthropics/claude-code/issues).
### Data collection, usage, and retention
## Data collection, usage, and retention
When you use Claude Code, we collect feedback, which includes usage data (such as code acceptance or rejections), associated conversation data, and user feedback submitted via the `/bug` command.
#### How we use your data
### How we use your data
We may use feedback to improve our products and services, but we will not train generative models using your feedback from Claude Code. Given their potentially sensitive nature, we store user feedback transcripts for only 30 days.

BIN
demo.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 MiB