50 Commits
0.1.3 ... 1.0.3

Author SHA1 Message Date
andrepimenta
43c1c85efb Fix permissions and add windows support 2025-07-20 00:07:02 +01:00
Andre Pimenta
b07857bf57 Update README.md 2025-07-16 00:00:06 +01:00
andrepimenta
c9677b6185 Changelog and readme 2025-07-15 22:58:59 +01:00
andrepimenta
2053e768a8 Yolo mode warning less scary 2025-07-14 23:59:22 +01:00
andrepimenta
980d19bcb2 Yolo mode a bit less subtle 2025-07-14 23:55:13 +01:00
andrepimenta
8a581908e3 Yolo mode 2025-07-14 23:46:03 +01:00
andrepimenta
2feaed600d Fix permissions on side panel 2025-07-14 23:15:40 +01:00
andrepimenta
826c25bdd6 Remove custom commands from settings 2025-07-14 22:18:29 +01:00
Andre Pimenta
3e8a9630bd Merge pull request #49 from andrepimenta/feature/mcp-support
Feature/mcp support
2025-07-14 22:12:13 +01:00
andrepimenta
00f4e272b6 Custom commands 2025-07-14 22:11:48 +01:00
andrepimenta
2aa7db86e7 custom commands init 2025-07-14 21:57:33 +01:00
andrepimenta
42a5ebf763 Remove MCP from settings 2025-07-14 21:26:55 +01:00
andrepimenta
5b671485a1 Fix panel sending multiple prompts 2025-07-14 20:47:16 +01:00
andrepimenta
6e9893e3f3 Working in windows 2025-07-12 13:24:25 +01:00
andrepimenta
5c33bc94c1 Fix expand 2025-07-12 00:10:10 +01:00
andrepimenta
1681bea37f Filter internal mcp 2025-07-12 00:02:12 +01:00
andrepimenta
b8e5c253a3 Popular MCPs 2025-07-11 23:57:55 +01:00
andrepimenta
2eceda51ed Edit MCP 2025-07-11 23:19:33 +01:00
andrepimenta
cba6138828 Add popular MCPs 2025-07-11 23:06:35 +01:00
andrepimenta
03b0eb96fe MCP Servers UI 2025-07-11 22:39:48 +01:00
andrepimenta
cf46551f00 Don't override mcp-servers.json 2025-07-09 14:48:18 +01:00
andrepimenta
857d55e8d1 change permissions mcp to claude-code-chat-permissions 2025-07-09 14:43:10 +01:00
andrepimenta
ae9ad4a794 Showing mcp servers 2025-07-09 14:39:33 +01:00
andrepimenta
83584fff60 MCP modal 2025-07-09 14:32:12 +01:00
andrepimenta
521f9a7d68 Only scroll to bottom if the user is at bottom 2025-07-09 13:56:35 +01:00
andrepimenta
4f5a4cb7ef Copy code block 2025-07-09 13:46:32 +01:00
andrepimenta
234516c1ef Parse code blocks 2025-07-09 13:36:25 +01:00
Andre Pimenta
b261f5cb8a Merge pull request #45 from andrepimenta/feature/permissions
Feature/permissions
2025-07-09 13:17:31 +01:00
andrepimenta
88a2ba71a1 Add permission text 2025-07-09 02:19:50 +01:00
andrepimenta
717284a979 Let user chose yolo mode when there is an error with permissions 2025-07-09 01:59:39 +01:00
andrepimenta
d9baf71e4a Use fs watch instead of polling 2025-07-09 01:36:24 +01:00
andrepimenta
bad8c9a0a8 yolo mode warning 2025-07-09 01:28:43 +01:00
andrepimenta
2e4c866da2 Yolo mode init 2025-07-09 00:32:38 +01:00
andrepimenta
1fa94b9c54 Ability to add permission 2025-07-09 00:19:14 +01:00
andrepimenta
3ec983188a Settings UI for permissions 2025-07-08 23:57:38 +01:00
andrepimenta
0b98538903 permission button ui 2025-07-08 23:32:55 +01:00
andrepimenta
44166defce check commands that make sense to use wildcards 2025-07-08 23:20:50 +01:00
andrepimenta
ddf83cf760 Nice always allow ui 2025-07-08 22:51:52 +01:00
andrepimenta
63acf5e7f9 Always allow 2025-07-08 22:29:57 +01:00
andrepimenta
ede4fbaf98 Permission UI 2025-07-08 22:01:33 +01:00
andrepimenta
06eb335f7b initial implementation 2025-07-08 21:04:10 +01:00
andrepimenta
f501d2ddc4 Move images to .claude folder 2025-07-08 13:16:24 +01:00
andrepimenta
586b004273 Enable sidebar view 2025-07-08 12:48:15 +01:00
andrepimenta
b2579ed0f8 Plan mode only for current message fix 2025-07-07 23:41:34 +01:00
andrepimenta
0bdb0ce30a Allow copy paste images and screenshots 2025-07-07 23:23:27 +01:00
andrepimenta
bb20bb29c5 Display unix time when message is Claude AI usage limit reached 2025-07-07 22:39:39 +01:00
Andre Pimenta
5a59d67021 Merge pull request #38 from tonydehnke/patch-2
fix/Update README.md - Fix Issues Link
2025-07-07 21:38:21 +01:00
Tony Dehnke
7649c9aaab Update README.md - Fix Issues Link
Fix Support - Issues Link so it goes the repo correctly.

https://github.com/andrepimenta/claude-code-chat/issues
2025-07-01 14:32:43 +02:00
andrepimenta
2d3c12ca38 Update expand UI 2025-06-24 22:58:35 +01:00
andrepimenta
c5486c6e26 Write UI 2025-06-24 22:45:58 +01:00
10 changed files with 17783 additions and 381 deletions

View File

@@ -9,3 +9,5 @@ vsc-extension-quickstart.md
**/*.map **/*.map
**/*.ts **/*.ts
**/.vscode-test.* **/.vscode-test.*
backup
.claude

View File

@@ -4,6 +4,118 @@ 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.0] - 2025-01-15
### 🚀 Major Features Added
#### **Advanced Permissions Management System**
- Complete permissions framework with MCP integration for secure tool execution
- Interactive permission dialogs with detailed tool information and command previews
- "Always Allow" functionality with smart command pattern matching for common tools (npm, git, docker, etc.)
- YOLO mode for power users to skip all permission checks
- Comprehensive permissions settings UI with ability to add/remove specific permissions
- File system watcher for real-time permission request handling
- Workspace-specific permission storage and management
#### **MCP (Model Context Protocol) Server Management**
- Complete MCP server configuration interface
- Popular MCP servers gallery with one-click installation
- Custom MCP server creation with validation
- Server management (edit, delete, enable/disable)
- Automatic permissions server integration
- WSL path conversion for cross-platform compatibility
#### **Sidebar Integration & Multi-Panel Support**
- Native VS Code sidebar view with full chat functionality
- Smart panel management (auto-close main panel when sidebar opens)
- Persistent session state across panel switches
- Proper webview lifecycle management
- Activity bar integration with custom icon
#### **Image & Clipboard Enhancements**
- Drag-and-drop image support directly into chat
- Clipboard image paste functionality (Ctrl+V for screenshots)
- Multiple image selection with VS Code's native file picker
- Automatic image organization in `.claude/claude-code-chat-images/` folder
- Automatic `.gitignore` creation for image folders
- Support for PNG, JPG, JPEG, GIF, SVG, WebP, BMP formats
#### **Code Block & Syntax Improvements**
- Enhanced markdown parsing with proper code block detection
- Syntax highlighting for code blocks with language detection
- Copy-to-clipboard functionality for code blocks
- Improved inline code rendering
- Better handling of technical identifiers and underscores
### 🎨 UI/UX Improvements
#### **Settings & Configuration**
- Comprehensive settings modal with organized sections
- YOLO mode toggle with visual warnings and explanations
- Real-time settings synchronization between UI and VS Code config
- Better visual hierarchy and professional styling
- Smart configuration validation and error handling
#### **Message & Chat Interface**
- Improved message spacing and visual consistency
- Enhanced tool result display with better formatting
- Smart scrolling behavior (only auto-scroll if user is at bottom)
- Loading indicators and processing states
- Better error handling and user feedback
#### **YOLO Mode Visual Design**
- Less subtle YOLO mode section (increased opacity and size)
- Changed warning icon from ⚠️ to 🚀 for less intimidating appearance
- Soft tomato red styling that's noticeable but not scary
- Clear explanation of YOLO mode functionality
### 🔧 Technical Enhancements
#### **Session & State Management**
- Persistent session state across VS Code restarts
- Proper cleanup of resources and event listeners
- Better error handling for failed operations
- Improved memory management for large conversations
#### **Cross-Platform Compatibility**
- Enhanced WSL support with proper path conversion
- Windows-specific improvements and fixes
- Better handling of different operating system environments
- Improved subprocess management and cleanup
#### **Performance Optimizations**
- Reduced context usage with more efficient tool operations
- Better file search and workspace integration
- Optimized message handling and UI updates
- Improved extension activation and initialization times
#### **Developer Experience**
- Better error messages and debugging information
- Improved extension logging and troubleshooting
- Enhanced development workflow support
- Better TypeScript integration and type safety
### 🐛 Bug Fixes
- Fixed multiple permission prompts being sent simultaneously
- Resolved panel management issues with multiple webviews
- Fixed expand/collapse functionality for long content
- Corrected Unix timestamp parsing for usage limit messages
- Fixed WSL integration on Windows systems
- Resolved markdown parsing issues with underscores in code
- Fixed copy-paste functionality for images and code blocks
- Corrected file path handling across different platforms
### 🔄 Breaking Changes
- Permission system now requires explicit approval for tool execution (unless YOLO mode is enabled)
- Image files are now stored in `.claude/claude-code-chat-images/` instead of root directory
- MCP configuration moved to extension storage instead of global config
### 📚 Documentation & Community
- Updated README with comprehensive feature documentation
- Fixed GitHub issues link in repository
- Enhanced examples and usage guides
- Better onboarding experience for new users
## [0.1.3] - 2025-06-24 ## [0.1.3] - 2025-06-24
### 🚀 Features Added ### 🚀 Features Added

View File

@@ -15,15 +15,16 @@ Ditch the command line and experience Claude Code like never before. This extens
## ✨ **Why Choose Claude Code Chat?** ## ✨ **Why Choose Claude Code Chat?**
🖥️ **No Terminal Required** - Beautiful chat interface replaces command-line interactions 🖥️ **No Terminal Required** - Beautiful chat interface replaces command-line interactions
**Restore Checkpoints** - Undo changes and restore code to any previous state **Restore Checkpoints** - Undo changes and restore code to any previous state
🔌 **MCP Server Support** - Complete Model Context Protocol server management
💾 **Conversation History** - Automatic conversation history and session management 💾 **Conversation History** - Automatic conversation history and session management
🎨 **VS Code Native** - Claude Code integrated directly into VS Code with native theming 🎨 **VS Code Native** - Claude Code integrated directly into VS Code with native theming and sidebar support
🧠 **Plan and Thinking modes** - Plan First and configurable Thinking modes for better results 🧠 **Plan and Thinking modes** - Plan First and configurable Thinking modes for better results
**Smart File Context and Commands** - Reference any file with simple @ mentions and / for commands **Smart File/Image Context and Custom Commands** - Reference any file, copy images or screenshots, and create custom commands
🤖 **Model Selection** - Choose between Opus, Sonnet, or Default based on your needs 🤖 **Model Selection** - Choose between Opus, Sonnet, or Default based on your needs
🐧 **WSL Support** - Full Windows Subsystem for Linux integration and compatibility 🐧 **Windows/WSL Support** - Full Windows support and Windows Subsystem for Linux integration and compatibility
![Claude Code Chat Cut](https://github.com/user-attachments/assets/d4ded28f-a4ed-4862-9766-c1ff89947775) ![Claude Code Chat 1 0 0](https://github.com/user-attachments/assets/5954a74c-eff7-4205-8482-6a1c9de6e102)
--- ---
@@ -34,8 +35,9 @@ Ditch the command line and experience Claude Code like never before. This extens
- No terminal required - everything through the UI - No terminal required - everything through the UI
- Real-time streaming responses with typing indicators - Real-time streaming responses with typing indicators
- One-click message copying with visual feedback - One-click message copying with visual feedback
- Rich markdown support for code blocks and formatting - Enhanced markdown support with syntax highlighting
- Auto-resizing input that grows with your content - Auto-resizing input that grows with your content
- Copy-to-clipboard for code blocks
### ⏪ **Checkpoint & Session Management** ### ⏪ **Checkpoint & Session Management**
- **Restore Checkpoints** - Instantly undo changes and restore to any previous state - **Restore Checkpoints** - Instantly undo changes and restore to any previous state
@@ -45,9 +47,36 @@ Ditch the command line and experience Claude Code like never before. This extens
- Real-time cost and token tracking - Real-time cost and token tracking
- Session statistics and performance metrics - Session statistics and performance metrics
### 🔌 **MCP Server Management** ⭐ **NEW IN V1.0**
- **Popular Servers Gallery** - One-click installation of common MCP servers
- **Custom Server Creation** - Build and configure your own MCP servers
- **Server Management** - Edit, delete, enable/disable servers through UI
- **Automatic Integration** - Seamless permissions and tool integration
- **Cross-platform Support** - Full WSL compatibility with path conversion
### 🔒 **Advanced Permissions System** ⭐ **NEW IN V1.0**
- **Interactive Permission Dialogs** - Detailed tool information with command previews
- **Always Allow Functionality** - Smart command pattern matching for common tools (npm, git, docker)
- **YOLO Mode** - Skip all permission checks for power users
- **Workspace Permissions** - Granular control over what tools can execute
- **Real-time Permission Management** - Add/remove permissions through intuitive UI
### 🖼️ **Image & Clipboard Support** ⭐ **NEW IN V1.0**
- **Drag & Drop Images** - Simply drag images directly into the chat
- **Clipboard Paste** - Press Ctrl+V to paste screenshots and copied images
- **Multiple Image Selection** - Choose multiple images through VS Code's file picker
- **Organized Storage** - Automatic organization in `.claude/claude-code-chat-images/`
- **Format Support** - PNG, JPG, JPEG, GIF, SVG, WebP, BMP formats
### 📱 **Sidebar Integration** ⭐ **NEW IN V1.0**
- **Native VS Code Sidebar** - Full chat functionality in the sidebar panel
- **Smart Panel Management** - Automatic switching between main and sidebar views
- **Persistent Sessions** - State maintained across panel switches
- **Activity Bar Integration** - Quick access from VS Code's activity bar
### 📁 **Smart File Integration** ### 📁 **Smart File Integration**
- Type `@` to instantly search and reference workspace files - Type `@` to instantly search and reference workspace files
- Image attachments via file browser - Image attachments via file browser and copy-paste screeshots
- Lightning-fast file search across your entire project - Lightning-fast file search across your entire project
- Seamless context preservation for multi-file discussions - Seamless context preservation for multi-file discussions
@@ -55,6 +84,7 @@ Ditch the command line and experience Claude Code like never before. This extens
- Visual dashboard showing all available Claude Code tools - Visual dashboard showing all available Claude Code tools
- Real-time tool execution with formatted results - Real-time tool execution with formatted results
- Process control - start, stop, and monitor operations - Process control - start, stop, and monitor operations
- Smart permission system for secure tool execution
### 🎨 **VS Code Integration** ### 🎨 **VS Code Integration**
- Native theming that matches your editor - Native theming that matches your editor
@@ -214,31 +244,39 @@ Example configuration in `settings.json`:
- Type `@` followed by your search term to quickly reference files - Type `@` followed by your search term to quickly reference files
- Use `@src/` to narrow down to specific directories - Use `@src/` to narrow down to specific directories
- Reference multiple files in one message for cross-file analysis - Reference multiple files in one message for cross-file analysis
- **NEW**: Copy-paste images directly into chat for visual context
- **NEW**: Paste screenshots with Ctrl+V for instant visual communication
### ⚡ **Productivity Boosters** ### ⚡ **Productivity Boosters**
- **Creates checkpoints automatically** before changes for safe experimentation - **Creates checkpoints automatically** before changes for safe experimentation
- **Restore instantly** if changes don't work out as expected - **Restore instantly** if changes don't work out as expected
- **NEW**: Permission system prevents accidental tool execution
- **NEW**: YOLO mode for power users who want speed over safety
- Use the stop button to cancel long-running operations - Use the stop button to cancel long-running operations
- Copy message contents to reuse Claude's responses - Copy message contents to reuse Claude's responses
- Open history panel to reference previous conversations - Open history panel to reference previous conversations
- **NEW**: Sidebar integration for multi-panel workflow
### 🎨 **Interface Customization** ### 🎨 **Interface Customization**
- The UI automatically adapts to your VS Code theme - The UI automatically adapts to your VS Code theme
- Messages are color-coded: Green for you, Blue for Claude - Messages are color-coded: Green for you, Blue for Claude
- Hover over messages to reveal the copy button - Hover over messages to reveal the copy button
- **NEW**: Enhanced code block rendering with syntax highlighting
- **NEW**: Copy-to-clipboard functionality for code blocks
--- ---
## 🔧 **Advanced Features** ## 🔧 **Advanced Features**
### 🛠️ **Tool Integration** ### 🛠️ **Tool Integration**
Claude Code Chat provides full access to all Claude Code tools: Claude Code Chat provides secure access to all Claude Code tools:
- **Bash** - Execute shell commands - **Bash** - Execute shell commands with permission controls
- **File Operations** - Read, write, and edit files - **File Operations** - Read, write, and edit files
- **Search** - Grep and glob pattern matching - **Search** - Grep and glob pattern matching across workspace
- **Web** - Fetch and search web content - **Web** - Fetch and search web content
- **Multi-edit** - Batch file modifications - **Multi-edit** - Batch file modifications
- **While in Beta, all tools are enabled by default, use at your own risk!** - **MCP Servers** - Extend functionality with Model Context Protocol servers
- **Permissions System** - Granular control over tool execution for security
### 📊 **Analytics & Monitoring** ### 📊 **Analytics & Monitoring**
- **Real-time cost tracking** - Monitor your API usage - **Real-time cost tracking** - Monitor your API usage
@@ -296,7 +334,7 @@ See the [LICENSE](LICENSE) file for details.
Need help? We've got you covered: Need help? We've got you covered:
- 🐛 **Issues**: [GitHub Issues](https://github.com/your-repo/claude-code-chat/issues) - 🐛 **Issues**: [GitHub Issues](https://github.com/andrepimenta/claude-code-chat/issues)
--- ---

13954
mcp-permissions.js Normal file

File diff suppressed because one or more lines are too long

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "claude-code-chat", "name": "claude-code-chat",
"version": "0.1.3", "version": "1.0.0",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "claude-code-chat", "name": "claude-code-chat",
"version": "0.1.3", "version": "1.0.0",
"license": "SEE LICENSE IN LICENSE", "license": "SEE LICENSE IN LICENSE",
"devDependencies": { "devDependencies": {
"@types/mocha": "^10.0.10", "@types/mocha": "^10.0.10",

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": "0.1.3", "version": "1.0.3",
"publisher": "AndrePimenta", "publisher": "AndrePimenta",
"author": "Andre Pimenta", "author": "Andre Pimenta",
"repository": { "repository": {
@@ -130,6 +130,7 @@
"claude-code-chat": [ "claude-code-chat": [
{ {
"id": "claude-code-chat.chat", "id": "claude-code-chat.chat",
"type": "webview",
"name": "Claude Code Chat", "name": "Claude Code Chat",
"when": "true", "when": "true",
"icon": "icon.png", "icon": "icon.png",
@@ -179,6 +180,11 @@
], ],
"default": "think", "default": "think",
"description": "Thinking mode intensity level. Higher levels provide more detailed reasoning but consume more tokens." "description": "Thinking mode intensity level. Higher levels provide more detailed reasoning but consume more tokens."
},
"claudeCodeChat.permissions.yoloMode": {
"type": "boolean",
"default": false,
"description": "Enable Yolo Mode to skip all permission checks. Use with caution as Claude can execute any command without asking."
} }
} }
} }

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

1546
src/ui.ts

File diff suppressed because it is too large Load Diff

View File

@@ -13,5 +13,8 @@
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
// "noUnusedParameters": true, /* Report errors on unused parameters. */ // "noUnusedParameters": true, /* Report errors on unused parameters. */
} },
"exclude": [
"mcp-permissions.js"
]
} }