Commit Graph

28 Commits

Author SHA1 Message Date
Vivek R
e0a0ddf6ba fix: replace native confirm dialog with React dialog for agent deletion
- Replace synchronous confirm() with proper React Dialog component
- Add state management for delete confirmation dialog
- Prevent immediate deletion before user confirmation
- Add loading states and proper error handling
- Improve UX with clear confirmation message and responsive design
2025-06-24 01:10:26 +05:30
Vivek R
00cd299c2b Update GitHub Agent Browser and API library 2025-06-24 00:57:44 +05:30
Vivek R
c85caa7a47 feat(agents): Add GitHub agent import feature
- Implemented GitHub agent browser in CCAgents component
- Created GitHubAgentBrowser component for browsing and importing agents
- Added Rust commands for fetching and importing agents from GitHub
- Updated API layer with GitHub agent import methods
- Updated Cargo.toml with new dependencies
- Fixed Tauri configuration and capabilities
- Added dropdown menu for import options
- Implemented search and preview functionality for GitHub agents
2025-06-24 00:46:53 +05:30
Mufeed VH
5a29f9ae01 feat: add shared claude binary detection module
Introduces a dedicated module for detecting Claude Code binary installations
with support for multiple sources including NVM, aliased paths, and
version-based selection. This shared module improves the reliability of
finding Claude installations across different environments.

Key features:
- Supports multiple installation sources (NVM, system, homebrew, npm, yarn, bun)
- Handles aliased paths from 'which' command
- Version-aware selection to prefer latest installations
- Database caching of discovered binary paths
- Comprehensive logging for debugging
- Environment variable preservation for NVM compatibility

The implementation is inspired by:
- https://github.com/getAsterisk/claudia/pull/3
- https://github.com/getAsterisk/claudia/pull/4
2025-06-24 00:24:52 +05:30
Mufeed VH
0c732633e7 fix: resolve TypeScript and Rust build errors and warnings
- Fixed TypeScript errors in ClaudeCodeSession.tsx:
  - Removed unused imports (Square, PreviewPromptDialog, etc.)
  - Removed unused handleOpenPreview function
  - Fixed unused detectedUrl state variable
- Fixed TypeScript error in StreamMessage.tsx:
  - Removed unused useMemo import
- Fixed TypeScript errors in ToolWidgets.tsx:
  - Prefixed unused result props with underscore in multiple widgets
- Fixed Rust warnings:
  - Removed unused imports in commands modules
  - Prefixed unused variables with underscore
  - Added #[allow(dead_code)] for API methods intended for future use

Closes #31
Closes #23
Closes #21
Closes #22
2025-06-24 00:19:52 +05:30
Vivek R
c52c29ebad feat: non-collapsible widgets with tool call/result mapping 2025-06-23 23:25:25 +05:30
Mufeed VH
670630fb63 refactor: replace empty cc_agents file with agent templates directory
- Remove empty cc_agents file that was previously added
- Add cc_agents directory containing three agent configuration templates:
  - git-commit-bot: Automated git commit message generation
  - security-scanner: SAST security vulnerability detection
  - unit-tests-bot: Comprehensive unit test generation
- Each agent includes detailed system prompts and workflow configurations
- Templates are exported in .claudia.json format for easy import

This change provides ready-to-use agent templates for common development workflows.
2025-06-23 20:02:30 +05:30
Mufeed VH
ef1993cff3 docs: correct license reference from MIT to AGPL in README
The README incorrectly stated the project was licensed under MIT,
while the LICENSE file contains AGPL. This commit updates the README
to accurately reflect the AGPL license used by the project.

Fixes #30
Fixes #33
2025-06-23 19:14:02 +05:30
Vivek R
bec8cea1e7 feat: add JSON import functionality for CC agents 2025-06-23 15:35:14 +05:30
Vivek R
ad035036e8 feat: export agents to .claudia.json file 2025-06-23 15:23:29 +05:30
Vivek R
ccac68a7c2 feat: add cc_agents directory for agent templates 2025-06-23 15:02:02 +05:30
Vivek R
3dc741fd6b feat: add ability to stop Claude execution mid-way using loading icon as cancel button 2025-06-23 14:52:02 +05:30
Mufeed VH
abe0891b0b chore: update component exports and fix merge artifacts
- Export new preview components
- Remove unused imports from upstream merge
- Update .gitignore patterns
- Clean up TypeScript errors from merge conflicts
2025-06-23 00:31:13 +05:30
Mufeed VH
7eab880bbc style: enhance UI animations and feedback
- Improve rotating symbol animation with scaling effects
- Add fade-in transitions for smoother UI
- Update animation timing for better visual feedback
- Optimize loading indicator appearance
2025-06-23 00:30:58 +05:30
Mufeed VH
80d8faccbd feat(stream): add link detection to message output
- Add onLinkDetected callback prop
- Integrate with URL detection system
- Support enhanced message types from upstream

Enables automatic detection of URLs in Claude's responses
and terminal command outputs.
2025-06-23 00:30:45 +05:30
Mufeed VH
1bb265beef perf: implement virtual scrolling for message lists
- Replace static rendering with @tanstack/react-virtual
- Optimize rendering for long conversation histories
- Maintain smooth auto-scroll behavior
- Integrate with enhanced message system from upstream

Significantly improves performance when handling extensive
agent execution outputs and long Claude sessions.
2025-06-23 00:30:31 +05:30
Mufeed VH
4334045661 feat(input): add image attachment support to prompt input
- Add imperative handle for programmatic image attachment
- Expose addImage() method via React ref
- Support screenshot integration from preview pane

Enables automatic attachment of screenshots to Claude prompts.
2025-06-23 00:30:15 +05:30
Mufeed VH
36744f13f9 feat(api): integrate screenshot commands and link detection
- Add captureUrlScreenshot() API endpoint
- Add cleanupScreenshotTempFiles() for maintenance
- Register screenshot commands in Tauri backend
- Update command module exports
2025-06-23 00:30:01 +05:30
Mufeed VH
a44e9a35c3 feat(terminal): add automatic URL detection in output
- Detect URLs including localhost addresses in terminal output
- Support for various URL formats and localhost patterns
- Provide utilities to make links clickable

Automatically detects when development servers start and offers
to open them in the preview pane.
2025-06-23 00:29:47 +05:30
Mufeed VH
444d480bad feat(preview): add web preview with screenshot capability
- Implement WebviewPreview component with browser-like navigation
- Add headless Chrome integration for capturing screenshots
- Create split-pane component for side-by-side layout
- Add dialog for URL detection prompts

Allows users to preview web applications and capture screenshots
directly into Claude prompts for better context sharing.
2025-06-23 00:29:33 +05:30
Mufeed VH
0c6c089810 build: add dependencies for web preview and virtual scrolling
- Add headless_chrome for screenshot functionality
- Add @tanstack/react-virtual for performance optimization
- Add @radix-ui/react-tooltip for UI components
- Update Tailwind CSS to v4 with new build tools
2025-06-23 00:20:53 +05:30
Vivek R
9a4158c649 feat: implement tool call/result mapping with collapsible UI 2025-06-22 22:39:53 +05:30
Vivek R
7434e18157 fix: remove fixed height causing initial scroll position issue 2025-06-22 17:50:48 +05:30
Vivek R
708b03125c fix: make main content scrollable while keeping navbar fixed 2025-06-22 17:45:03 +05:30
Mufeed VH
93ce8b656f feat: add image preview with drag-and-drop support
- Add ImagePreview component for displaying embedded image thumbnails
- Enable drag-and-drop functionality for images in FloatingPromptInput
- Configure Tauri asset protocol to properly serve local image files
- Support image mentions via @path syntax in prompts
- Add visual feedback for drag hover states
- Implement full-size image preview dialog with navigation
- Handle duplicate images and limit preview to 10 thumbnails
2025-06-22 01:50:29 +05:30
Coy Geek
9ab383bbbe docs: Add Star History chart to README (#15)
This PR adds a "Star History" section to the README.md file. This section includes a dynamic SVG chart that visualizes the repository's star growth over time, providing a nice visual metric for community engagement.
2025-06-21 21:16:26 +05:30
Mufeed VH
e8bac92e86 readme: update assets 2025-06-19 19:54:00 +05:30
Mufeed VH
8e76d016d4 init: push source 2025-06-19 19:24:01 +05:30