Commit Graph
195 Commits
Author SHA1 Message Date
Bohdan Triapitsyn e0279e59b0 feat: implement default Git identity management and local identity check 2026-01-14 22:34:17 +02:00
Bohdan Triapitsyn 032229c7a2 feat(vscode): add session editor panel (#146)
Add command to open active session in editor panel.
Introduce editor view mode for displaying sessions alongside files.
Update toolbar navigation for editor and sidebar modes.
2026-01-14 17:13:47 +02:00
Bohdan Triapitsyn be5a12af6e refactor(diff): enchance file list display 2026-01-14 15:21:44 +02:00
Nelson Pires e95bfdebaf feat: Add stacked diff mode controls and mobile dropdown mode selector (#142)
* feat: add diffViewMode to UI store

* feat(PierreDiffViewer): add layout prop for inline diff

* feat: add diff view modes and change descriptors

* feat(openchamber): add diff view mode toggle

* feat: add diff view mode selector
2026-01-14 15:15:16 +02:00
JovinesandJovines 4fa4c8d40b fix(mobile): add iOS keyboard home indicator safe area (#141)
On iOS devices, when the keyboard is open, there's a home indicator bar
(approximately 34px tall) at the bottom of the keyboard that needs additional
safe area padding.

Changes:
- Add --oc-keyboard-home-indicator CSS variable
- Add ios-keyboard-safe-area class for keyboard open state
- Detect iOS userAgent and set keyboard home indicator height
- Apply ios-keyboard-safe-area class to ChatInput when keyboard is open

Co-authored-by: Jovines <jovines@qq.com>
2026-01-14 13:25:18 +02:00
Bohdan Triapitsyn c4fb9d5730 fix(upload): increase attachment size limit to 50mb (#144)
* fix(upload): increase attachment size limit to 50mb

Raises body limits in web proxy and desktop app. Adds client-side size checks and better 413 error handling.

* fix(client): auto-compress large images to avoid server body limits

Adds client-side compression for images >1MB. Resizes to max 2048px and converts large PNGs to JPEG. Adds detailed logging for debugging.

* chore: remove debug logs from client and proxy
2026-01-14 13:23:17 +02:00
Bohdan Triapitsyn 1319033df9 feat(git): enhance token authentication and credential handling 2026-01-14 02:54:48 +02:00
btriapitsyn fa83c1e645 feat(git): add token authentication and credential discovery
Add support for token-based git authentication in identity profiles.
Enable discovery and import of credentials from ~/.git-credentials file.
Introduce remote URL-based filtering for token identities in git view.
2026-01-14 02:47:26 +02:00
JovinesandJovines d56eef8aa6 feat: Add Nerd Fonts support for terminal icons (#140)
Co-authored-by: Jovines <jovines@qq.com>
2026-01-14 02:38:48 +02:00
Bohdan Triapitsyn 84650e16c3 feat(chat): add turn duration display 2026-01-14 01:23:24 +02:00
Bohdan Triapitsyn b84c17e0e2 feat: add notification mode settings and enhance notification handling 2026-01-14 01:03:26 +02:00
Nelson Pires 279efb28b3 feat: Display default model in dropdowns and consolidate Git settings menu (#135)
* types: add commitMessageModel to DesktopSettings

* store: add commitMessageModel state and fetch logic

* lib: implement persistence for commitMessageModel setting

* ui: create GitSettings component for model selection

* ui: add Git section to OpenChamber settings sidebar

* ui: register GitSectionContent in OpenChamberPage

* server: use commitMessageModel setting for AI generation

* tauri: sanitize commitMessageModel in settings commands

* tauri: use commitMessageModel for desktop message generation

* build: update lockfile and package configuration

* refactor(openchamber): improve default model parsing with fallback logic

* feat(openchamber): improve model selection fallback logic

* refactor: move worktree settings into git section

* refactor(openchamber): merge worktree into git section

* refactor[worktree]: simplify empty state layout

* revert: rollback bun.lock and package.json to main

* feat(git): restrict model selection to OpenCode provider
2026-01-14 00:21:16 +02:00
vio1ator f2fb852421 feat: sort chat sidebar by last updated date (#127) 2026-01-12 15:40:14 +02:00
vio1ator 31c773aeb6 fix: persist config-store state and apply settingsDefaultModel to new sessions (#126) 2026-01-12 15:39:42 +02:00
vio1ator 53b51a12c9 fix: hide todo list/status when all todos complete, fix notifications (#124) 2026-01-11 17:00:01 +02:00
vio1ator e09559f711 feat: add configurable web native notifications for assistant completion (#123) 2026-01-11 15:21:13 +02:00
Bohdan Triapitsyn eca270ba97 feat: enhance TerminalViewport styling and hide system caret in terminal input 2026-01-10 11:01:16 +02:00
Bohdan Triapitsyn 21fdba08a3 feat: Integrate ClawdHub skill registry 2026-01-10 01:01:47 +02:00
Bohdan Triapitsyn 4a87126b74 feat: added questions and permissions 2026-01-09 21:38:22 +02:00
Bohdan Triapitsyn 6fdeb833b2 feat: disable spell check and autocomplete for input, number input, and textarea components 2026-01-09 11:13:52 +02:00
Bohdan Triapitsyn 2382c6e82a release v1.4.5 2026-01-09 00:01:22 +02:00
Bohdan Triapitsyn e134f0f14e feat: implement DirectoryAutocomplete component and integrate it into DirectoryExplorerDialog for enhanced path selection 2026-01-08 23:53:03 +02:00
Bohdan Triapitsyn 6eace604de feat: add McpDropdown component with related UI enhancements 2026-01-08 23:14:29 +02:00
Bohdan Triapitsyn 699fc7596a feat: rename summarize command to compact and update related descriptions for session compression 2026-01-08 21:10:38 +02:00
Bohdan Triapitsyn 49fb01f42d feat: implement fuzzy matching for autocomplete components and add Fuse.js for improved search functionality 2026-01-08 20:49:22 +02:00
Bohdan Triapitsyn 2a895311d9 feat: enhance autocomplete components with agent and command metadata support 2026-01-08 20:19:33 +02:00
Bohdan Triapitsyn a2f2d91a22 feat: add SkillAutocomplete component and integrate skill selection in ChatInput 2026-01-08 19:58:31 +02:00
Bohdan Triapitsyn 04d6a2b2bf feat: add VS Code runtime detection to session sidebar and agent manager components 2026-01-08 17:59:36 +02:00
Bohdan Triapitsyn bc4425567d feat: add keyboard shortcuts for cycling agent and thinking variant 2026-01-08 17:20:33 +02:00
Bohdan Triapitsyn 4b0ae1d95f feat: add variant support across model selection and multi-run components 2026-01-08 17:01:24 +02:00
Bohdan Triapitsyn ab731fdc79 feat: add default variant support in settings and UI components 2026-01-08 16:08:51 +02:00
Bohdan Triapitsyn 8e777a94c2 feat: add support for model variants across chat components and session management 2026-01-08 14:48:06 +02:00
Bohdan Triapitsyn cc09f802ce feat: add new session button and integrate worktree session creation logic 2026-01-08 01:48:42 +02:00
Bohdan Triapitsyn 8902662f74 feat: add rename branch functionality with UI integration 2026-01-08 01:13:51 +02:00
Bohdan Triapitsyn d6f74087c4 feat: update SessionSidebar to include new session creation and worktree handling 2026-01-08 00:29:20 +02:00
Bohdan Triapitsyn 29ba318f0f feat: enhance SessionSidebar with worktree metadata and UI updates 2026-01-08 00:06:02 +02:00
Bohdan Triapitsyn c7700d5384 feat: add auto-create worktree setting and related UI components 2026-01-07 23:37:32 +02:00
Bohdan Triapitsyn b6646b6b3e feat: enhance worktree session creation with loading screen 2026-01-07 23:00:26 +02:00
Bohdan Triapitsyn d92a1ab297 feat: implement worktree session creation and management
- Added `createWorktreeSession` utility to handle the creation of new sessions with auto-generated worktrees.
- Introduced branch name generation utilities for creating unique and friendly branch names.
- Updated `CommandPalette` to trigger worktree session creation via a command.
- Refactored keyboard shortcuts to support new worktree session creation with Shift + Cmd/Ctrl + N.
- Enhanced project settings to include worktree defaults (branch prefix, base branch, auto-create option).
- Updated persistence logic to preserve worktree defaults when saving project settings.
- Modified menu actions to initiate new worktree sessions.
- Ensured proper handling of existing branches to avoid conflicts during worktree creation.
2026-01-07 22:06:28 +02:00
Bohdan Triapitsyn 4f6eea9ea5 refactor: reorganize worktree action buttons in SessionDialogs component 2026-01-07 22:01:49 +02:00
Bohdan Triapitsyn 4433888903 feat: implement worktree setup commands management
- Introduced `readFile` and `writeFile` methods in the FilesAPI for reading and writing files.
- Added `execCommands` method to execute shell commands in a specified directory.
- Implemented `runWorktreeSetupCommands` function to handle setup commands for worktrees.
- Created `OpenChamberConfig` service for managing project-specific configuration, including setup commands.
- Enhanced `useMultiRunStore` to save and execute setup commands during multi-run creation.
- Updated VSCode bridge to handle file read/write and command execution requests.
- Added server endpoints for reading and writing files, and executing shell commands.
2026-01-07 22:01:49 +02:00
Martin DONADIEU 11fb61a883 feat: add QR code and password URL for Cloudflare tunnel (#112)
* feat: add QR code and password URL parameter for Cloudflare tunnel

Add --tunnel-qr flag to generate scannable QR code for tunnel URL in terminal.
Add --tunnel-password-url flag to include password as URL parameter for auto-login.
Frontend now automatically detects and submits password token from URL.

* docs: update README with tunnel QR and password URL features

Add dev script for concurrent server, web, and UI watch mode.
2026-01-07 21:51:45 +02:00
wienans 6a06d57a95 Add Copy Worktree Path in More Icon for Agent Manager (#115) 2026-01-07 21:50:48 +02:00
Bohdan Triapitsyn 18c5b4c7b5 feat: add multi-project support (#110)
* feat: Implement project management store with project path validation and synchronization

- Added `useProjectsStore` for managing projects, including adding, removing, renaming, and validating project paths.
- Implemented persistence for projects and active project ID using safe storage.
- Introduced synchronization from desktop settings to keep project data consistent.
- Enhanced session store to manage sessions by directory and added new methods for session management.
- Updated todo store to fetch session todos based on the directory context.
- Refactored server code to validate and resolve project directories for various API endpoints.
- Added project entry validation and sanitization to ensure data integrity.

* feat(settings): migrate legacy project settings and update settings loading logic

* feat: enhance project management with directory-aware settings and improved agent/command source handling

* feat: enhance session and project management with directory-aware settings and improved configuration refresh logic

* feat: enhance project management with worktree manager integration and project directory resolution

* feat: enhance agent groups store with project directory resolution and loading logic

* feat: add heartbeat management and global wrapping for SSE blocks in agent and chat providers

* feat: refactor command and project handling in useCommandsStore

- Replaced useDirectoryStore with useProjectsStore to manage project paths.
- Introduced getRequestDirectory function to determine the active project directory.
- Updated command fetching to respect project-level scoping.
- Enhanced error handling and logging for command configuration fetching.
- Improved command configuration saving and updating to utilize project directory context.

feat: enhance project path normalization in useProjectsStore

- Added resolveTildePath function to expand paths starting with ~.
- Updated normalizeProjectPath to utilize home directory for path expansion.

fix: update permission handling in useSessionStore

- Changed Permission type to PermissionRequest for clarity.
- Updated respondToPermission method to use requestId instead of permissionId.

refactor: improve permission utilities

- Introduced types for PermissionAction and PermissionRule.
- Enhanced getAgentDefinition and resolveConfigStore functions for better type safety.
- Added resolvePermissionAction to streamline permission resolution logic.

feat: add agent configuration retrieval endpoint

- Implemented new API endpoint to fetch agent configuration based on project directory.
- Enhanced getAgentPermissionSource to prioritize project-level permissions.

chore: update SDK version in package.json files

- Bumped @opencode-ai/sdk version to ^1.1.1 across all relevant package.json files.

refactor: streamline bridge message handling

- Updated handleBridgeMessage to accept directory parameter for agent and command requests.
- Improved local API request handling to extract directory from query parameters and headers.

feat: enhance project configuration management

- Added functions to retrieve and merge project configuration paths.
- Improved handling of existing project configuration files for agents and commands.

* feat: enhance VSCode integration and session management

- Added support for a sticky sidebar header background in light and dark themes.
- Introduced functions to read VSCode workspace directory and check if running in VSCode.
- Implemented detailed logging for session loading and creation processes.
- Enhanced session filtering based on directory structure and canonical paths.
- Added a new method to reorder projects and prevent modifications in VSCode workspace.
- Improved error handling and logging for app initialization and markdown file parsing.
- Updated API checks and health checks to ensure readiness before proceeding.
- Refactored code for better readability and maintainability across various modules.

* feat: improve agent and branch selection logic, enhance session management, and update multi-run creation response

* feat: add worktree management actions in agent group detail and sidebar, including delete and keep only options

* fix(ui): share IME guard and cover multi-run

* fix(session): reduce maximum visible sessions in group from 7 to 5
2026-01-06 21:31:04 +02:00
madebyjun 8aa379e313 fix(chat): prevent message send during IME composition (#107)
* fix(chat): prevent message send during IME composition

Add isComposing check to ChatInput to prevent messages from being sent
during Japanese/CJK character conversion. This fixes the issue where
pressing Enter to confirm IME composition would immediately send the
message instead of just completing the character conversion.

Changes:
- Add early return in handleKeyDown when IME is composing
- Add explicit isComposing check to Enter key handler

Fixes issue where Enter during IME composition sends incomplete text.

* fix(chat): improve IME composition detection with keyCode 229 fallback

Add isIMECompositionEvent helper function that checks both isComposing
and keyCode === 229, as recommended by MDN. This fixes IME input issues
on WebKit-based browsers (including Tauri WebView on macOS) where
compositionend may fire before keydown, causing isComposing to be false
when Enter key is processed.

Changes:
- Add isIMECompositionEvent helper function with dual detection
- Update handleKeyDown to use the new helper for IME checks

Fixes MacUI desktop app issue where pressing Enter during IME
composition would send the message instead of confirming the input.

* fix(agent-manager): prevent message send during IME composition

Apply the same IME composition fix as ChatInput to AgentManagerEmptyState.
Add isIMECompositionEvent helper and check it in handleKeyDown to prevent
accidental form submission when confirming IME input with Enter key.

* fix(agent-manager): add redundant IME check to Enter key handler

Add explicit isIMECompositionEvent check to the Enter key condition in
handleKeyDown. Although the early return already handles this, this
change ensures the implementation pattern matches ChatInput.tsx exactly
for consistency and safety.
2026-01-06 19:48:18 +02:00
wienans af01995c3b feat(vscode): Delete Agent Group (#109) 2026-01-06 19:46:25 +02:00
wienans b0bfa739e1 feat(multi-run): Agent Selector (#103)
* Add Agent Selector

* Send on Enter

* Allow multi run with 1 Model for Agent Manager

* Update packages/ui/src/stores/useMultiRunStore.ts

* Update Changelog
2026-01-04 16:53:44 +02:00
Bohdan Triapitsyn 45b3d1d920 feat(event-stream): add global event stream and activity tracking
Add global event stream endpoint for cross-session activity monitoring
Support multiple concurrent SSE subscriptions with scoped connections
Enhance session activity detection from various event types
2026-01-04 10:50:35 +02:00
Bohdan Triapitsyn 9d1aceeb6d fix: make model selector dropdowns responsive to viewport 2026-01-04 01:24:29 +02:00
Bohdan Triapitsyn 8965d7841e fix(agent-manager): fetch sessions from worktree directories 2026-01-04 00:11:42 +02:00