Commit Graph

124 Commits

Author SHA1 Message Date
きむそん
6c93fe58b0 fix: Change unifySameTitleSession default value to false (#48)
* refactor: Clean up message handling in ClaudeCodeLifeCycleService

- Removed debug logging from handleMessage function.
- Eliminated unnecessary fallback message check in message iteration loop.

This improves code readability and performance by streamlining message processing.

* fix: Change unifySameTitleSession default value to false

Changed the default value of unifySameTitleSession configuration from true to false.
This affects both the Zod schema definition and the UserConfigService initial state.

Updated README.md to reflect the new default value in the User Settings table.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-11-02 13:02:38 +09:00
きむそん
76ab4d641d feat: Remove 4000 character limit for new chat input (#44)
- Remove maxLength={4000} constraint from textarea
- Remove character count display showing "/4000"
- Allow unrestricted message length input

Closes #38

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-11-02 12:23:47 +09:00
きむそん
158db20b52 feat: Filter git revisions to show only base and current branches (#47)
* 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>
2025-11-02 12:22:41 +09:00
d-kimsuon
76aaf1013c chore: support claude code v2.0.30 schema 2025-11-02 01:45:58 +09:00
きむそん
e17b58b481 feat: Support markdown and source code file display (#40)
* 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>
2025-11-02 00:00:10 +09:00
d-kimsuon
25f20f7f8d chore: improve setup project feature 2025-10-31 02:17:53 +09:00
d-kimsuon
d09797d7ed chore: set project name in title tag for session detail page 2025-10-31 01:40:22 +09:00
d-kimsuon
2ae3123cef chore: fix type error 2025-10-31 01:26:24 +09:00
d-kimsuon
9fbe4d78fe feat: send reserved feature for current session 2025-10-27 08:48:24 +09:00
d-kimsuon
586dbe7833 docs: update readme, write about scheduler and file upload feature 2025-10-26 22:15:25 +09:00
d-kimsuon
996e0bc3d0 chore: remove dev tool 2025-10-26 22:05:49 +09:00
d-kimsuon
368ab36dac fix state sync bug 2025-10-26 21:33:11 +09:00
d-kimsuon
8b43b16522 chore: disable permisseion setting if feature unavailable 2025-10-26 21:26:44 +09:00
きむそん
51280f5bf8 feat: File upload(plain text, pdf, image) #34
* support file upload

* preview pdf
2025-10-26 20:12:45 +09:00
d-kimsuon
27da712d90 fix vrt 2025-10-26 18:46:08 +09:00
d-kimsuon
343096b82e fix not found page 2025-10-26 18:05:35 +09:00
d-kimsuon
24274a20ed restore i18n support 2025-10-26 16:19:12 +09:00
d-kimsuon
fbbcb87f50 restore theme feature 2025-10-26 16:11:44 +09:00
d-kimsuon
aa7616a5c7 imporove loading 2025-10-26 15:46:57 +09:00
d-kimsuon
efa63a1224 build separated arcitecture 2025-10-26 14:42:58 +09:00
d-kimsuon
3c00d9e651 Next.js App separates vite SPA and hono BE 2025-10-26 14:34:21 +09:00
d-kimsuon
3b245cf18c fix bugs after manual check 2025-10-25 17:56:46 +09:00
d-kimsuon
ef4521750f implement frontend 2025-10-25 14:40:44 +09:00
d-kimsuon
974d87daf7 implement BE for scheduler feat 2025-10-25 01:32:42 +09:00
d-kimsuon
7ac09bbd6a fix: Git Diff View works in subdirectories
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>
2025-10-23 03:26:31 +09:00
d-kimsuon
4bad647b84 refactor: update imports to use @anthropic-ai/claude-agent-sdk
- 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.
2025-10-21 22:43:32 +09:00
d-kimsuon
a85bdf0a26 chore: update dependencies and remove debug logs
- 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.
2025-10-21 22:34:12 +09:00
d-kimsuon
6c4d301125 feat: implement dynamic resolution for Claude Code executable path
- 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.
2025-10-21 15:39:08 +09:00
d-kimsuon
a92f094483 feat: enhance MobileSidebar with system information tab
- 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.
2025-10-20 05:26:50 +09:00
d-kimsuon
93dc63a7f3 feat: enhance conversation components with task handling and UI improvements
- 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.
2025-10-20 05:19:44 +09:00
d-kimsuon
0047b6b2a2 feat: system information view 2025-10-20 03:00:13 +09:00
d-kimsuon
81a5d31f6e feat: integrate @anthropic-ai/claude-agent-sdk for latest version
- Added @anthropic-ai/claude-agent-sdk as a dependency for improved functionality.
- Updated controllablePromise to include a status property, allowing tracking of promise states (pending, resolved, rejected).
- Adjusted query function to utilize the new agent SDK for enhanced query capabilities.
- Updated i18n message files for better formatting and consistency.
2025-10-20 01:03:13 +09:00
d-kimsuon
4a4354fe63 feat: add i18n support, avaiable languages are 'en' and 'ja' 2025-10-20 00:18:44 +09:00
d-kimsuon
170c6ec759 feat: enhance commit section in DiffModal with collapsible UI
- Added a collapsible section for commit changes in the DiffModal, improving user experience by allowing users to expand or collapse the commit controls.
- Integrated file selection controls and commit message input within the collapsible section for better organization.
- Updated styling and layout for improved clarity and interaction.
2025-10-19 19:14:16 +09:00
d-kimsuon
9144f26084 feat: add support for file history snapshots in conversation components
- Introduced a new `FileHistorySnapshotConversationContent` component to handle rendering of file history snapshots.
- Updated `ConversationItem` and `ConversationList` to accommodate the new conversation type.
- Modified the conversation schema to include `FileHistorySnapshotEntrySchema` and related types.
- Enhanced the `useSidechain` hook to filter out file history snapshots from sidechain conversations.
- Adjusted the `SidechainConversationModal` to correctly handle the new conversation type.
2025-10-19 18:00:37 +09:00
d-kimsuon
017d374cfe feat: commit on web diff panel
test

test

test2

implement done

bug fix
2025-10-19 17:18:56 +09:00
d-kimsuon
30a92c48d4 refactor: improve styling and layout in DiffModal and DiffViewer components
- Reduced padding and adjusted spacing in the DiffModal for a more compact layout.
- Updated text sizes and line heights in the DiffViewer for better readability.
- Removed unnecessary dialog components to streamline the structure.
- Enhanced the file header layout for improved visual clarity and interaction.
2025-10-19 00:38:36 +09:00
d-kimsuon
a77d7e205b refactor: update testing layers and configurations
- Changed the setup file path in vitest configuration for better organization.
- Refactored the EventBus implementation to streamline event handling.
- Updated various test files to utilize new testing layers for improved clarity and maintainability.
- Introduced new utility layers for file system and persistent service mocks to enhance test reliability.
- Enhanced the platform layer to include necessary services for testing environments.
2025-10-18 20:07:47 +09:00
d-kimsuon
c8f7110cfd chore: format by linter 2025-10-18 17:48:15 +09:00
d-kimsuon
277247aa4b refactor(ApplicationContext): rename environment variable for clarity
- Changed the environment variable from "CLAUDE_CODE_VIEWER_CC_EXECUTABLE_PATH" to "GLOBAL_CLAUDE_DIR" for better understanding and usage within the application context.
2025-10-18 17:48:15 +09:00
d-kimsuon
90e260f11e feat(e2e): add sidechain task modal interactions to session detail capture
- Implemented a new capture case for the "sidechain-task-modal" in the session detail E2E tests.
- Added data-testid attributes to the SidechainConversationModal for improved test targeting.
- Enhanced the GitController to handle errors gracefully when fetching branches and commits, returning an empty response on failure.
2025-10-18 17:48:15 +09:00
d-kimsuon
1e62eeb856 feat(e2e): enhance end-to-end testing setup with new scripts and capture cases
- Updated package.json to include new E2E scripts for execution and snapshot capturing.
- Added new capture cases for the "new-project-modal" and "start-new-chat" functionalities in the E2E tests.
- Increased wait times in session detail captures to ensure elements are fully loaded before interactions.
- Introduced new shell scripts for starting the server and capturing snapshots, improving the E2E testing workflow.
- Updated NewChatModal and SessionsTab components to include data-testid attributes for better test targeting.
2025-10-18 17:48:15 +09:00
d-kimsuon
dabc4b29e3 fix: chore 2025-10-18 04:14:39 +09:00
d-kimsuon
45ebfad36a refactor: firstCommand 2025-10-18 03:48:39 +09:00
d-kimsuon
e45a841656 refactor: add platform effects 2025-10-18 03:08:43 +09:00
d-kimsuon
4de41129fe chore: adjust form styles 2025-10-18 03:08:43 +09:00
d-kimsuon
58d428a16c chore: adjust form styles 2025-10-18 01:50:14 +09:00
d-kimsuon
6f627fb649 refactor: use more effect-ts 2025-10-18 01:50:04 +09:00
d-kimsuon
1bd122daa0 refactor: split request handle logic to controller 2025-10-18 00:46:13 +09:00
d-kimsuon
c745824dbe refactor: move directories 2025-10-17 20:47:25 +09:00