mirror of
https://github.com/anthropics/claude-code.git
synced 2026-02-19 04:27:33 -08:00
Compare commits
26 Commits
add-claude
...
rboyce/act
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
78f98bb6b3 | ||
|
|
885a36faf3 | ||
|
|
eb0b297e11 | ||
|
|
6370398030 | ||
|
|
bb083eea94 | ||
|
|
d9cc2b58a2 | ||
|
|
0c3b9e94e1 | ||
|
|
3cf808d1ec | ||
|
|
e9f7c53b7c | ||
|
|
d1510f5eef | ||
|
|
715ea8ed4a | ||
|
|
0b881fcb4d | ||
|
|
9ca3c81936 | ||
|
|
4f162e6b79 | ||
|
|
e05a423901 | ||
|
|
4c9bd9cd74 | ||
|
|
0d22403ad1 | ||
|
|
931543f95f | ||
|
|
437f92b52e | ||
|
|
14c8c0df32 | ||
|
|
6767546666 | ||
|
|
5e54b4ccc1 | ||
|
|
895ce94465 | ||
|
|
e394b39220 | ||
|
|
d337047b92 | ||
|
|
4adc8a066d |
@@ -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)" -- \
|
||||
|
||||
@@ -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
|
||||
|
||||
2
.github/workflows/claude-issue-triage.yml
vendored
2
.github/workflows/claude-issue-triage.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/claude.yml
vendored
2
.github/workflows/claude.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
||||
id-token: write
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
|
||||
49
CHANGELOG.md
49
CHANGELOG.md
@@ -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
|
||||
|
||||
37
README.md
37
README.md
@@ -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
|
||||
```
|
||||
## Reporting Bugs
|
||||
|
||||
3. Navigate to your project directory and run `claude`.
|
||||
We welcome your feedback. Use the `/bug` command to report issues directly within Claude Code, or file a [GitHub issue](https://github.com/anthropics/claude-code/issues).
|
||||
|
||||
4. Complete the one-time OAuth process with your Claude Max or Anthropic Console account.
|
||||
|
||||
### 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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user