Added more built-in commands

This commit is contained in:
andrepimenta
2025-10-01 23:20:26 +01:00
parent 0abfab72a8
commit 1be89d43a4
4 changed files with 51 additions and 6 deletions

View File

@@ -4,6 +4,23 @@ All notable changes to the "claude-code-chat" extension will be documented in th
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file. Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
## [1.0.7] - 2025-10-01
### 🚀 Features Added
- **Slash Commands Update**: Added 4 new slash commands to the commands modal
- `/add-dir` - Add additional working directories
- `/agents` - Manage custom AI subagents for specialized tasks
- `/rewind` - Rewind the conversation and/or code
- `/usage` - Show plan usage limits and rate limit status (subscription plans only)
### 📚 Documentation Updates
- Updated slash commands count from 19+ to 23+ built-in commands
- Enhanced command descriptions for better clarity:
- `/config` - Now specifies "Open the Settings interface (Config tab)"
- `/cost` - Added note about cost tracking guide for subscription-specific details
- `/status` - Expanded description to mention version, model, account, and connectivity
- `/terminal-setup` - Added clarification about iTerm2 and VSCode only support
## [1.0.6] - 2025-08-26 ## [1.0.6] - 2025-08-26
### 🐛 Bug Fixes ### 🐛 Bug Fixes

View File

@@ -103,7 +103,7 @@ Ditch the command line and experience Claude Code like never before. This extens
### ⚡ **Slash Commands Integration** ### ⚡ **Slash Commands Integration**
- **Slash Commands Modal** - Type "/" to access all Claude Code commands instantly - **Slash Commands Modal** - Type "/" to access all Claude Code commands instantly
- **19+ Built-in Commands** - /cost, /status, /config, /help, /memory, /review, and more - **23+ Built-in Commands** - /agents, /cost, /config, /memory, /review, and more
- **Custom Command Support** - Execute any Claude Code command with session context - **Custom Command Support** - Execute any Claude Code command with session context
- **Session-Aware Execution** - All commands run with current conversation context - **Session-Aware Execution** - All commands run with current conversation context
- **Terminal Integration** - Commands open directly in VS Code terminal with WSL support - **Terminal Integration** - Commands open directly in VS Code terminal with WSL support

View File

@@ -2,7 +2,7 @@
"name": "claude-code-chat", "name": "claude-code-chat",
"displayName": "Claude Code Chat", "displayName": "Claude Code Chat",
"description": "Beautiful Claude Code Chat Interface for VS Code", "description": "Beautiful Claude Code Chat Interface for VS Code",
"version": "1.0.6", "version": "1.0.7",
"publisher": "AndrePimenta", "publisher": "AndrePimenta",
"author": "Andre Pimenta", "author": "Andre Pimenta",
"repository": { "repository": {

View File

@@ -545,6 +545,20 @@ const getHtml = (isTelemetryEnabled: boolean) => `<!DOCTYPE html>
<p>These commands require the Claude CLI and will open in VS Code terminal. Return here after completion.</p> <p>These commands require the Claude CLI and will open in VS Code terminal. Return here after completion.</p>
</div> </div>
<div class="slash-commands-list" id="nativeCommandsList"> <div class="slash-commands-list" id="nativeCommandsList">
<div class="slash-command-item" onclick="executeSlashCommand('add-dir')">
<div class="slash-command-icon">📁</div>
<div class="slash-command-content">
<div class="slash-command-title">/add-dir</div>
<div class="slash-command-description">Add additional working directories</div>
</div>
</div>
<div class="slash-command-item" onclick="executeSlashCommand('agents')">
<div class="slash-command-icon">🤖</div>
<div class="slash-command-content">
<div class="slash-command-title">/agents</div>
<div class="slash-command-description">Manage custom AI subagents for specialized tasks</div>
</div>
</div>
<div class="slash-command-item" onclick="executeSlashCommand('bug')"> <div class="slash-command-item" onclick="executeSlashCommand('bug')">
<div class="slash-command-icon">🐛</div> <div class="slash-command-icon">🐛</div>
<div class="slash-command-content"> <div class="slash-command-content">
@@ -570,14 +584,14 @@ const getHtml = (isTelemetryEnabled: boolean) => `<!DOCTYPE html>
<div class="slash-command-icon">⚙️</div> <div class="slash-command-icon">⚙️</div>
<div class="slash-command-content"> <div class="slash-command-content">
<div class="slash-command-title">/config</div> <div class="slash-command-title">/config</div>
<div class="slash-command-description">View/modify configuration</div> <div class="slash-command-description">Open the Settings interface (Config tab)</div>
</div> </div>
</div> </div>
<div class="slash-command-item" onclick="executeSlashCommand('cost')"> <div class="slash-command-item" onclick="executeSlashCommand('cost')">
<div class="slash-command-icon">💰</div> <div class="slash-command-icon">💰</div>
<div class="slash-command-content"> <div class="slash-command-content">
<div class="slash-command-title">/cost</div> <div class="slash-command-title">/cost</div>
<div class="slash-command-description">Show token usage statistics</div> <div class="slash-command-description">Show token usage statistics (see cost tracking guide for subscription-specific details)</div>
</div> </div>
</div> </div>
<div class="slash-command-item" onclick="executeSlashCommand('doctor')"> <div class="slash-command-item" onclick="executeSlashCommand('doctor')">
@@ -657,18 +671,32 @@ const getHtml = (isTelemetryEnabled: boolean) => `<!DOCTYPE html>
<div class="slash-command-description">Request code review</div> <div class="slash-command-description">Request code review</div>
</div> </div>
</div> </div>
<div class="slash-command-item" onclick="executeSlashCommand('rewind')">
<div class="slash-command-icon">⏪</div>
<div class="slash-command-content">
<div class="slash-command-title">/rewind</div>
<div class="slash-command-description">Rewind the conversation and/or code</div>
</div>
</div>
<div class="slash-command-item" onclick="executeSlashCommand('status')"> <div class="slash-command-item" onclick="executeSlashCommand('status')">
<div class="slash-command-icon">📊</div> <div class="slash-command-icon">📊</div>
<div class="slash-command-content"> <div class="slash-command-content">
<div class="slash-command-title">/status</div> <div class="slash-command-title">/status</div>
<div class="slash-command-description">View account and system statuses</div> <div class="slash-command-description">Open the Settings interface (Status tab) showing version, model, account, and connectivity</div>
</div> </div>
</div> </div>
<div class="slash-command-item" onclick="executeSlashCommand('terminal-setup')"> <div class="slash-command-item" onclick="executeSlashCommand('terminal-setup')">
<div class="slash-command-icon">⌨️</div> <div class="slash-command-icon">⌨️</div>
<div class="slash-command-content"> <div class="slash-command-content">
<div class="slash-command-title">/terminal-setup</div> <div class="slash-command-title">/terminal-setup</div>
<div class="slash-command-description">Install Shift+Enter key binding for newlines</div> <div class="slash-command-description">Install Shift+Enter key binding for newlines (iTerm2 and VSCode only)</div>
</div>
</div>
<div class="slash-command-item" onclick="executeSlashCommand('usage')">
<div class="slash-command-icon">📈</div>
<div class="slash-command-content">
<div class="slash-command-title">/usage</div>
<div class="slash-command-description">Show plan usage limits and rate limit status (subscription plans only)</div>
</div> </div>
</div> </div>
<div class="slash-command-item" onclick="executeSlashCommand('vim')"> <div class="slash-command-item" onclick="executeSlashCommand('vim')">