* feat: Unify git revisions API to current-revisions endpoint
- Add getCurrentRevisions to GitController returning base branch, current branch, head, and commits
- Implement findBaseBranch in GitService to identify base branch from commit history
- Add getCommitsBetweenBranches to get commits between base and target branch
- Remove separate branches and commits API endpoints
- Update frontend to use unified gitCurrentRevisionsQuery
- Replace useGitBranches and useGitCommits with useGitCurrentRevisions hook
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* feat: Display current branch in session header
- Move useGitCurrentRevisions hook to SessionPageMain level
- Display current branch badge with GitBranchIcon in session header
- Pass revisionsData from parent to DiffModal to avoid duplicate API calls
- Update DiffModalProps to accept optional revisionsData parameter
- Show current branch between project path and session ID badges
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>
* feat: support markdown and source code file display
This commit extends file upload support beyond plain text to include:
- Markdown files (.md, .markdown) with full rendering
- Source code files with syntax highlighting (JS, TS, Python, Go, Rust, etc.)
- Proper media type detection and display type selection
Changes:
- Updated DocumentContentSchema to accept various text-based media types
- Created file-type-detector utility to map media types to display strategies
- Enhanced UserConversationContent to render markdown with MarkdownContent component
- Added syntax highlighting for code files using react-syntax-highlighter
- Added comprehensive tests for file type detection
Fixes#39🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* chore: fix implementation
* Revert "feat: support markdown and source code file display"
This reverts commit 5409a02c61c04b78a968bfe7a0c56a36a3db787b.
---------
Co-authored-by: Claude <noreply@anthropic.com>
Remove explicit .git directory checks from executeGitCommand functions.
Git automatically searches parent directories for .git, making these
checks unnecessary and preventing subdirectory execution.
Changes:
- src/server/core/git/functions/utils.ts: Remove .git existence check
- src/server/core/git/services/GitService.ts: Remove .git existence check
- src/server/core/git/functions/getDiff.test.ts: Add subdirectory test case
Fixes#25🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Changed import statements in multiple files to replace references from @anthropic-ai/claude-code to @anthropic-ai/claude-agent-sdk for consistency and to align with the latest SDK structure.
- Bumped versions for @anthropic-ai/claude-agent-sdk (0.1.23), @anthropic-ai/claude-code (2.0.24), @tailwindcss/postcss (4.1.15), @types/node (24.9.1), and tailwindcss (4.1.15).
- Updated pnpm-lock.yaml to reflect the new dependency versions.
- Re-added 'playwright' dependency in package.json and pnpm-lock.yaml.
- Updated Node.js version requirement in README.md from 20.18.1 to 20.19.0.
- Removed console log statements from GitController.ts and GitService.ts for cleaner code.
- Added a new function to resolve the Claude Code executable path with multiple fallback strategies: checking environment variables, system PATH, and project dependencies.
- Introduced a custom error class for handling cases where the executable cannot be found.
- Updated the Config export to utilize the new path resolution logic.
- Updated MobileSidebar to include a new "system-info" tab for displaying system information.
- Added SystemInfoCard component and integrated it into the sidebar.
- Modified state management to accommodate the new tab and updated tab click handling.
- Improved UI with an Info icon for the new tab, enhancing user navigation.
- Added a new ToolInputOneLine component for displaying input parameters in a concise format.
- Updated AssistantConversationContent to include an Eye icon for viewing task details and improved layout for better readability.
- Enhanced ConversationItem to check for related task calls, preventing unnecessary rendering.
- Modified SidechainConversationModal to display message count and improved task view button styling.
- Updated i18n messages for new features and improved translations.