From a6091b65c012c022314e66b1fc3c73843ee104c6 Mon Sep 17 00:00:00 2001 From: Masa1984a Date: Sun, 15 Jun 2025 11:34:23 +0900 Subject: [PATCH 01/14] fix: Add nano and vim editors to devcontainer with default editor config Fixes #2098 - Add nano and vim to provide editor choices for users - Set EDITOR and VISUAL environment variables to nano as default - This ensures /memory command and other tools work out of the box Users can still change their preferred editor by setting these environment variables in their shell configuration. --- .devcontainer/Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 04fffd16..1a3ca1dd 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -19,7 +19,9 @@ RUN apt update && apt install -y less \ iproute2 \ dnsutils \ aggregate \ - jq + jq \ + nano \ + vim # Ensure default node user has access to /usr/local/share RUN mkdir -p /usr/local/share/npm-global && \ @@ -57,6 +59,10 @@ ENV PATH=$PATH:/usr/local/share/npm-global/bin # Set the default shell to zsh rather than sh ENV SHELL=/bin/zsh +# Set the default editor and visual +ENV EDITOR nano +ENV VISUAL nano + # Default powerline10k theme RUN sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/releases/download/v1.2.0/zsh-in-docker.sh)" -- \ -p git \ From d45bce242d8ac7ff13a2bab2e619558ab5f47dec Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 11 Jul 2025 22:54:23 +0000 Subject: [PATCH 02/14] chore: Update CHANGELOG.md --- CHANGELOG.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 490313c1..6a1014a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## 1.0.51 + +- Added support for native Windows (requires Git for Windows) +- Added support for Bedrock API keys through environment variable AWS_BEARER_TOKEN_BEDROCK +- Settings: /doctor can now help you identify and fix invalid setting files +- `--append-system-prompt` can now be used in interactive mode, not just --print/-p. +- Increased auto-compact warning threshold from 60% to 80% +- Fixed an issue with handling user directories with spaces for shell snapshots +- OTEL resource now includes os.type, os.version, host.arch, and wsl.version (if running on Windows Subsystem for Linux) +- Custom slash commands: Fixed user-level commands in subdirectories +- Plan mode: Fixed issue where rejected plan from sub-task would get discarded + ## 1.0.48 - Fixed a bug in v1.0.45 where the app would sometimes freeze on launch @@ -17,7 +29,7 @@ - Fixed config file corruption issue by enforcing atomic writes - Updated prompt input undo to Ctrl+\_ to avoid breaking existing Ctrl+U behavior, matching zsh's undo shortcut - Stop Hooks: Fixed transcript path after /clear and fixed triggering when loop ends with tool call -- Custom slash commands: Restored namespacing in command names based on subdirectories. For example, .claude/frontend/component.md is now /frontend:component, not /component. +- Custom slash commands: Restored namespacing in command names based on subdirectories. For example, .claude/commands/frontend/component.md is now /frontend:component, not /component. ## 1.0.44 From 90c26533d185a99ac87f42d17d9e945c898cf50f Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Wed, 16 Jul 2025 23:50:28 +0000 Subject: [PATCH 03/14] chore: Update CHANGELOG.md --- CHANGELOG.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a1014a0..df2e3904 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## 1.0.54 + +- Hooks: Added UserPromptSubmit hook and the current working directory to hook inputs +- Custom slash commands: Added argument-hint to frontmatter +- Windows: OAuth uses port 45454 and properly constructs browser URL +- Windows: mode switching now uses alt + m, and plan mode renders properly +- Shell: Switch to in-memory shell snapshot to file-related errors + +## 1.0.53 + +- Updated @-mention file truncation from 100 lines to 2000 lines +- Add helper script settings for AWS token refresh: awsAuthRefresh (for foreground operations like aws sso login) and awsCredentialExport (for background operation with STS-like response). + +## 1.0.52 + +- Added support for MCP server instructions + ## 1.0.51 - Added support for native Windows (requires Git for Windows) From 9285dfbf2f093c0071798a237ed102a513544a14 Mon Sep 17 00:00:00 2001 From: keitosuwahara Date: Thu, 17 Jul 2025 13:05:39 +0900 Subject: [PATCH 04/14] Addition of check for presence of required commands --- Script/run_devcontainer_claude_code.ps1 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Script/run_devcontainer_claude_code.ps1 b/Script/run_devcontainer_claude_code.ps1 index 117202cf..5b99d7d8 100644 --- a/Script/run_devcontainer_claude_code.ps1 +++ b/Script/run_devcontainer_claude_code.ps1 @@ -37,6 +37,21 @@ param( Write-Host "--- DevContainer Startup & Connection Script ---" Write-Host "Using backend: $($Backend)" +# --- Prerequisite Check --- +Write-Host "Checking for required commands..." +try { + Get-Command $Backend -ErrorAction Stop | Out-Null + Write-Host "- $($Backend) command found." + Get-Command devcontainer -ErrorAction Stop | Out-Null + Write-Host "- devcontainer command found." +} +catch { + Write-Error "A required command is not installed or not in your PATH." + Write-Error "Please ensure '$($_.Exception.Message.Split(':')[0])' and 'devcontainer' are installed and accessible." + exit 1 +} + + # --- Backend-Specific Initialization --- if ($Backend -eq 'podman') { Write-Host "--- Podman Backend Initialization ---" From 68d43db2a0688d0579bb2b1a50db45bc856a4fca Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Thu, 17 Jul 2025 22:39:14 +0000 Subject: [PATCH 05/14] chore: Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index df2e3904..45796efd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ - Custom slash commands: Added argument-hint to frontmatter - Windows: OAuth uses port 45454 and properly constructs browser URL - Windows: mode switching now uses alt + m, and plan mode renders properly -- Shell: Switch to in-memory shell snapshot to file-related errors +- Shell: Switch to in-memory shell snapshot to fix file-related errors ## 1.0.53 From 486b3057085dfef8df30bc8a407d7ed8cb4e3894 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 18 Jul 2025 16:41:25 +0000 Subject: [PATCH 06/14] chore: Update CHANGELOG.md --- CHANGELOG.md | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 45796efd..6a1014a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,22 +1,5 @@ # Changelog -## 1.0.54 - -- Hooks: Added UserPromptSubmit hook and the current working directory to hook inputs -- Custom slash commands: Added argument-hint to frontmatter -- Windows: OAuth uses port 45454 and properly constructs browser URL -- Windows: mode switching now uses alt + m, and plan mode renders properly -- Shell: Switch to in-memory shell snapshot to fix file-related errors - -## 1.0.53 - -- Updated @-mention file truncation from 100 lines to 2000 lines -- Add helper script settings for AWS token refresh: awsAuthRefresh (for foreground operations like aws sso login) and awsCredentialExport (for background operation with STS-like response). - -## 1.0.52 - -- Added support for MCP server instructions - ## 1.0.51 - Added support for native Windows (requires Git for Windows) From b328530abdc2e47faa0153d2a642de9bd9b986c6 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 18 Jul 2025 20:30:50 +0000 Subject: [PATCH 07/14] chore: Update CHANGELOG.md --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a1014a0..2980a9fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 1.0.53 + +- Updated @-mention file truncation from 100 lines to 2000 lines +- Add helper script settings for AWS token refresh: awsAuthRefresh (for foreground operations like aws sso login) and awsCredentialExport (for background operation with STS-like response). + +## 1.0.52 + +- Added support for MCP server instructions + ## 1.0.51 - Added support for native Windows (requires Git for Windows) From 4c056f7a09bce072f2f774c4dda8f0084e45d0fe Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Sat, 19 Jul 2025 00:06:08 +0000 Subject: [PATCH 08/14] chore: Update CHANGELOG.md --- CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2980a9fa..45796efd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.0.54 + +- Hooks: Added UserPromptSubmit hook and the current working directory to hook inputs +- Custom slash commands: Added argument-hint to frontmatter +- Windows: OAuth uses port 45454 and properly constructs browser URL +- Windows: mode switching now uses alt + m, and plan mode renders properly +- Shell: Switch to in-memory shell snapshot to fix file-related errors + ## 1.0.53 - Updated @-mention file truncation from 100 lines to 2000 lines From c8207b4f687aadc5ef761c99a95819bde5388e91 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Wed, 23 Jul 2025 21:17:14 +0000 Subject: [PATCH 09/14] chore: Update CHANGELOG.md --- CHANGELOG.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 45796efd..8e4e5da8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,30 @@ # Changelog +## 1.0.58 + +- Added support for reading PDFs +- MCP: Improved server health status display in 'claude mcp list' +- Hooks: Added CLAUDE_PROJECT_DIR env var for hook commands + +## 1.0.57 + +- Added support for specifying a model in slash commands +- Improved permission messages to help Claude understand allowed tools +- Fix: Remove trailing newlines from bash output in terminal wrapping + +## 1.0.56 + +- Windows: Enabled shift+tab for mode switching on versions of Node.js that support terminal VT mode +- Fixes for WSL IDE detection +- Fix an issue causing awsRefreshHelper changes to .aws directory not to be picked up + +## 1.0.55 + +- Clarified knowledge cutoff for Opus 4 and Sonnet 4 models +- Windows: fixed Ctrl+Z crash +- SDK: Added ability to capture error logging +- Add --system-prompt-file option to override system prompt in print mode + ## 1.0.54 - Hooks: Added UserPromptSubmit hook and the current working directory to hook inputs From e0d79c35712981915945f61eab255e85c6e0cd3f Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Wed, 23 Jul 2025 21:21:28 +0000 Subject: [PATCH 10/14] chore: Update CHANGELOG.md --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e4e5da8..e8faa662 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 1.0.59 + +- Rename CLAUDE_CODE_BASH_PREFIX to CLAUDE_CODE_SHELL_PREFIX +- SDK: Added tool confirmation support with canUseTool callback +- SDK: Allow specifying env for spawned process +- Hooks: Exposed PermissionDecision to hooks (including "ask") +- Hooks: UserPromptSubmit now supports additionalContext in advanced JSON output +- Fixed issue where some Max users that specified Opus would still see fallback to Sonnet + ## 1.0.58 - Added support for reading PDFs From 812c27b8b35ff3a520764c0f0aa75b61ad512489 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Thu, 24 Jul 2025 21:01:31 +0000 Subject: [PATCH 11/14] chore: Update CHANGELOG.md --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e8faa662..98472a3c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.0.60 + +- You can now create custom subagents for specialized tasks! Run /agents to get started + ## 1.0.59 - Rename CLAUDE_CODE_BASH_PREFIX to CLAUDE_CODE_SHELL_PREFIX From 55219b8b4e612b5fc6a85f7dc4eb4382ec4134eb Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 25 Jul 2025 21:06:44 +0000 Subject: [PATCH 12/14] chore: Update CHANGELOG.md --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 98472a3c..a61acdd9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.0.61 + +- Added --settings flag to load settings from a JSON file + ## 1.0.60 - You can now create custom subagents for specialized tasks! Run /agents to get started From b48dfb8e8761f3d186518af32b89eb307e0d3113 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Mon, 28 Jul 2025 18:35:03 +0000 Subject: [PATCH 13/14] chore: Update CHANGELOG.md --- CHANGELOG.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a61acdd9..81f68260 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,14 @@ ## 1.0.61 -- Added --settings flag to load settings from a JSON file +- Transcript mode (Ctrl+R): Changed Esc to exit transcript mode rather than interrupt +- Settings: Added `--settings` flag to load settings from a JSON file +- Settings: Fixed resolution of settings files paths that are symlinks +- OTEL: Fixed reporting of wrong organization after authentication changes +- Slash commands: Fixed permissions checking for allowed-tools with Bash +- IDE: Added support for pasting images in VSCode MacOS using ⌘+V +- IDE: Added `CLAUDE_CODE_AUTO_CONNECT_IDE=false` for disabling IDE auto-connection +- Added `CLAUDE_CODE_SHELL_PREFIX` for wrapping Claude and user-provided shell commands run by Claude Code ## 1.0.60 @@ -10,7 +17,6 @@ ## 1.0.59 -- Rename CLAUDE_CODE_BASH_PREFIX to CLAUDE_CODE_SHELL_PREFIX - SDK: Added tool confirmation support with canUseTool callback - SDK: Allow specifying env for spawned process - Hooks: Exposed PermissionDecision to hooks (including "ask") From 8ad36c459cc33f048901e34b8c2db3e00d3926e0 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Mon, 28 Jul 2025 22:35:41 +0000 Subject: [PATCH 14/14] chore: Update CHANGELOG.md --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 81f68260..da15b50b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 1.0.62 + +- Added @-mention support with typeahead for custom agents. @ to invoke it +- Hooks: Added SessionStart hook for new session initialization +- /add-dir command now supports typeahead for directory paths +- Improved network connectivity check reliability + ## 1.0.61 - Transcript mode (Ctrl+R): Changed Esc to exit transcript mode rather than interrupt