Commit Graph
231 Commits
Author SHA1 Message Date
Bohdan Triapitsyn d971836962 fix: switch to jsonc-parser for config file parsing in vscode extension 2026-01-03 15:02:50 +02:00
Bohdan Triapitsyn b97399a5af release v1.4.2 2026-01-03 14:53:19 +02:00
Bohdan Triapitsyn b9fb36f585 feat: refactored timeline dialog visuals and update keyboard shortcuts 2026-01-03 14:45:46 +02:00
Bohdan Triapitsyn f2507d58cf feat: migrate to OpenCode SDK v2
Update all import statements to use @opencode-ai/sdk/v2
Modify Vite configurations to alias new SDK path
Update API client method signatures for SDK v2 compatibility
2026-01-03 13:39:59 +02:00
Bohdan Triapitsyn 5029acfb9d fix(session): refresh sessions list after worktree archive operation 2026-01-03 02:37:55 +02:00
Bohdan Triapitsyn a0eac480b4 refactor: update keyboard shortcuts to prevent conflicts (#100)
Change Keyboard Shortcuts dialog shortcut from Cmd+H to Cmd+.
Update memory debug shortcut from Cmd+Shift+M to Cmd+Shift+D
Modify model selector shortcut to use Cmd+Shift+M
2026-01-03 02:27:10 +02:00
Michael Sakhniuk ff825c7651 feat: update the shortcuts in the desktop app for macOS (#96)
* feat(ui): update keyboard shortcuts to use platform-appropriate modifier keys

* fix(macos): update keyboard shortcuts to use Cmd modifier

Change Command Palette shortcut from Ctrl+X to Cmd+K
Update all menu shortcuts to use Cmd instead of Ctrl on macOS

* Fix linter issue
2026-01-03 02:18:57 +02:00
aptdnfapt 025a9a6b80 feat: implement Undo/Redo/Timeline and Fork Features and fixed opencode.json reading issue on broken json (#99)
* feat: add /undo, /redo, /timeline slash commands and fork button

- Add /undo command to revert to previous user message
- Add /redo command to redo previously undone messages
- Add /timeline command to show conversation history
- Add fork button on user messages (hover) to create new session
- Add TimelineDialog component for navigating conversation history
- Show undo/redo/timeline in autocomplete when session exists
- Fix fork to use SDK session.fork API
- Silent no-op behavior for undo/redo when no messages (matches OpenCode CLI)

* fix: correct fork session endpoint and session switching

- Add hybrid SDK approach using v1 for existing methods and v2 for fork only
- v2 SDK has correct endpoint /session/{sessionID}/fork instead of broken /session/{id}/fork
- Fix forkFromMessage to use setCurrentSession instead of direct set
- Ensures both useSessionStore and useSessionManagementStore are consistent
- Fixes issue where forked sessions appeared empty until sending a new message

* fix: use direct fetch for fork to avoid v2 SDK build errors

- Remove v2 SDK imports and hybrid SDK approach
- Use direct fetch() call to /api/session/{sessionID}/fork endpoint
- Avoids type conflicts between v1 and v2 SDK
- Bypasses broken v1 SDK fork endpoint (wrong path parameter)
- All codebase now uses v1 SDK consistently

* fix: use jsonc-parser for config file parsing

- Replace strip-json-comments + JSON.parse with jsonc-parser
- Handles comments, trailing commas, and unquoted keys
- Matches OpenCode CLI config parsing behavior
- Fixes SyntaxError when reading global opencode.json config

* feat: improve timeline dialog with loading state and search

- Add loading spinner on fork button during operation (~30s on big sessions)
- Refresh session list after fork so new session appears in sidebar immediately
- Add search bar to filter messages by prompt text content
- Show 'No messages found' when search has no results
- Disable fork button while forking to prevent duplicate operations
2026-01-03 01:33:35 +02:00
Bohdan Triapitsyn da7f0679d8 fix(session): handle worktree deletion without sessions 2026-01-03 01:20:56 +02:00
Bohdan Triapitsyn 17df8a43a9 release v1.4.1 2026-01-02 22:06:29 +02:00
Bohdan Triapitsyn 32c83f0c10 feat(multirun): enforce maximum model selection limit and update UI hints 2026-01-02 22:03:10 +02:00
Bohdan Triapitsyn 110b0e5d8f feat(terminal) refactoring and stability improvements (#98)
* feat(terminal): replace xterm with ghostty-web

Replace xterm.js terminal with ghostty-web implementation
Add terminal serialization support for state restoration
Apply custom patches to ghostty-web for enhancements

* feat(terminal): add bun-pty backend support

Switch terminal to ghostty-web with bun-pty backend for better performance
Auto-detect and prefer Bun runtime when available for terminal sessions
Update terminal viewport write queue handling for improved reliability

* fix(terminal): prevent unnecessary resize events

Only report terminal resize when dimensions actually change
Simplify chunk processing state tracking
Disable terminal transparency for consistent rendering

* feat(terminal): increase scrollback and buffer limits

Increase terminal scrollback buffer from 10k to 50k lines
Increase terminal buffer limit from 256k to 1M bytes
Add rate limiting and improve output handling for terminal streams
2026-01-02 21:57:53 +02:00
Bohdan Triapitsyn dca8be01ca feat(chat): show revert button on all user messages
Remove restriction preventing revert on first user message
Simplify message props by removing isFirstMessage flag
2026-01-02 19:54:16 +02:00
Bohdan Triapitsyn ad0439da39 feat(ui): add HEIC image support and MIME normalization
Convert HEIC/HEIF images to JPEG for AI processing
Normalize unsupported text MIME types to text/plain
2026-01-02 14:20:10 +02:00
Bohdan Triapitsyn d58beb5c6c feat(multirun): allow selecting the same model multiple times for comparison
Add file attachment support to multi-run launcher
Show instance indices for duplicate model selections
2026-01-02 14:18:40 +02:00
Bohdan Triapitsyn 19312b0a20 chore: updated CHANGELOG 2026-01-02 13:16:55 +02:00
Bohdan Triapitsyn 07ad3eaa3a feat: mprove model selector with search and keyboard navigation
Add Ctrl+M keyboard shortcut to open model selector
Use desktop dropdowns in VSCode runtime instead of mobile panels
2026-01-02 13:08:21 +02:00
wienans 2e732c2481 feat(vscode): Implement Git Backend via VS Code Git extension (#92) 2026-01-01 21:39:05 +02:00
Bohdan Triapitsyn 6a00744679 fix(multirun): adjust layout for multirun launcher view 2026-01-01 16:55:40 +02:00
Bohdan Triapitsyn 8505455c2e release v1.4.0 2026-01-01 16:18:05 +02:00
Bohdan Triapitsyn 2f2c127f13 feat(mobile): add keyboard avoidance for input area 2026-01-01 16:02:41 +02:00
Bohdan Triapitsyn 10e64b4f90 feat: add ability to run multiple agents from one prompt in isolated worktrees (#91)
* feat: WIP multirun implementation

* feat(chat): replace MindMap icon with ArrowsMerge

* feat(multirun): add base branch selection for worktrees

* feat(mobile): add multi-run launcher overlay
2026-01-01 14:59:51 +02:00
Bohdan Triapitsyn 2c1c960d5f fix(chat): display error messages for failed assistant messages 2026-01-01 14:25:46 +02:00
Bohdan Triapitsyn 3d1e8fa98d feat(sidebar): add dynamic background for sticky headers 2026-01-01 14:24:57 +02:00
Bohdan Triapitsyn 409e042032 refactor(vscode): simplify sidebar toggle logic 2026-01-01 13:51:07 +02:00
Bohdan Triapitsyn 5a71e050a5 feat(worktree): add start point option for new branch creation
Allow selecting a base branch when creating new worktree branches
Add dropdown to choose start point from existing branches
Extend worktree creation flow to support custom branch origins
2026-01-01 13:39:55 +02:00
aurorafluxandauroraflux 39b9f985ce feat: add input bar offset setting for curved screen devices (#89)
Co-authored-by: auroraflux <auroraflux@users.noreply.github.com>
2026-01-01 11:01:46 +02:00
wienans 919eeea53b feat(vscode): Move Navigation into the title bar (#88)
* Move Navigation into the title bar

* Fix spacing

* Update Changelog

* Remove unused function
2025-12-31 17:16:03 +02:00
Alexis Okuwaandaptdnfapt 6c30245134 feat(web): add Cloudflare Quick Tunnel support for remote access (#85)
* feat(web): add Cloudflare Quick Tunnel support for remote access

Implement --try-cf-tunnel flag that creates a temporary public URL
routing to the locally running server via cloudflared.

Features:
- Auto-detect and spawn cloudflared subprocess
- Extract and display *.trycloudflare.com URL
- Proper cleanup on server shutdown
- Dynamic port handling (tunnel routes to actual listening port)
- Isolated HOME dir to avoid config conflicts
- Installation help and limitations warning

* docs: add Cloudflare tunnel feature to README

- Document --try-cf-tunnel flag in CLI examples
- Add Cloudflare Quick Tunnel to Web/PWA features

* docs: add cloudflared as prerequisite for --try-cf-tunnel

* feat(web): auto-generate password for Cloudflare tunnel

When using --try-cf-tunnel without --ui-password, automatically generate
a secure random password to protect the publicly exposed service.

Features:
- 16-character random password (easy to read, no ambiguous characters)
- Password is displayed after tunnel is established
- Warning to save the password (not shown again)
- Works in both foreground and daemon modes
- Uses same password for subsequent restarts (stored in instance file)

* fix(web): improve Cloudflare tunnel UX and fix spawn ENAMETOOLONG

- Generate and display password before tunnel starts (green colored)
- Display tunnel URL in cyan via onTunnelReady callback
- Fix ENAMETOOLONG by using env:undefined instead of copying process.env
- Pass tryCfTunnel flag from CLI to main function
- Remove duplicate tunnel URL output
- Update warning message to reflect password protection
- Change start script to use CLI wrapper for proper initialization

---------

Co-authored-by: aptdnfapt <197602950+aptdnfapt@users.noreply.github.com>
2025-12-31 15:43:18 +02:00
aurorafluxandauroraflux fa2223a0e7 fix: inconsistent mobile keyboard input bar positioning on Android (#86)
Co-authored-by: auroraflux <auroraflux@users.noreply.github.com>
2025-12-31 15:38:22 +02:00
Bohdan Triapitsyn cadcf0bcf6 feat: enhance git operations with unpublished commits detection and upstream setup on first push 2025-12-31 01:06:33 +02:00
Bohdan Triapitsyn 7b98f972f3 feat: add OpenChamber sidebar command and icon for VS Code title bar 2025-12-31 00:06:59 +02:00
Bohdan Triapitsyn a9f3180439 release v1.3.9 2025-12-30 21:32:27 +02:00
Bohdan Triapitsyn 91a3496bd3 refactor: update ScrollableOverlay structure for consistent layout across pages 2025-12-30 21:13:59 +02:00
Bohdan Triapitsyn a236dc81c9 feat(skills-catalog): implement caching, curated sources, git operations, and skill installation 2025-12-30 21:03:25 +02:00
wienans 92794d1810 doc: update changelog (#84)
Added VS Code Right Click Context Menu actions for user convenience.
2025-12-30 20:05:46 +02:00
Bohdan Triapitsyn 2ad59c4ad0 refactor: remove unused VSCode components 2025-12-30 17:36:52 +02:00
Bohdan Triapitsyn 4c4e3eed99 fix: enhance skills text area styling for description and instructions fields 2025-12-30 17:36:52 +02:00
Bohdan Triapitsyn 2c833cef40 feat: Implement skill management functionality
- Added skill scope helpers and CRUD operations for skills in opencodeConfig.ts.
- Introduced API endpoints for skill management in main.tsx and index.js.
- Enhanced server-side logic to support skill discovery, creation, updating, and deletion.
- Implemented supporting file operations for skills, including reading, writing, and deleting files.
- Updated package.json to use the latest version of @opencode-ai/sdk.
2025-12-30 17:36:52 +02:00
wienans f3a00bc8f4 feat(vscode): add context menu commands (#83)
* Fix bun lock

* Add Context Menu

* Make it always visible

* Add Improve and Explain Command
2025-12-30 17:32:27 +02:00
Bohdan Triapitsyn b331a31414 fix: update DMG naming convention to include version and platform information 2025-12-30 01:35:31 +02:00
Bohdan Triapitsyn 9232599b3c fix: update artifact naming for DMG, tar.gz, and signature files to include platform information 2025-12-30 00:39:29 +02:00
Bohdan Triapitsyn 1492a2e512 release v1.3.8 2025-12-30 00:04:48 +02:00
Bohdan Triapitsyn 0f9c50cd58 fix: suppress logging for agent scope fetch and configuration updates 2025-12-29 23:58:33 +02:00
Bohdan Triapitsyn c4b9c18c24 feat: enhance agent management with project-level support
- Added support for project-level agents, allowing agents to be created, updated, and deleted within a specified working directory.
- Introduced `getAgentScope` function to determine the scope of agents based on their existence in project or user directories.
- Updated `getAgentSources`, `createAgent`, `updateAgent`, and `deleteAgent` functions to handle project-level paths and configurations.
- Enhanced logging to provide clearer information about agent operations, including scope and working directory.
- Refactored configuration reading and writing to accommodate project-specific configurations alongside user-level settings.
2025-12-29 22:42:10 +02:00
Bohdan Triapitsyn 0adcba854b feat: add command scope support and reload functionality
- Introduced command scope types (user and project) to manage command configurations at different levels.
- Enhanced command management functions to check and create commands based on their scope.
- Updated the API to handle command creation, updates, and deletions with respect to their scope.
- Added a reload button in the AboutSettings component to refresh OpenCode configuration.
- Improved command source retrieval to prioritize project-level commands over user-level commands.
- Refactored related functions to ensure proper handling of command paths and configurations based on scope.
2025-12-29 17:48:06 +02:00
Bohdan Triapitsyn 66351bea6c fix: reset turn UI states on expansion preference change to ensure consistency 2025-12-29 12:32:22 +02:00
Bohdan Triapitsyn 9b4283d618 feat: add active turn anchor management for improved scroll position handling 2025-12-29 12:12:52 +02:00
Bohdan Triapitsyn 66428cbded feat: add message queue functionality with auto-send and queue mode toggle
- Improved development server hot module replacement (HMR) by reusing OpenCode processes.
- Introduced queued message mode with batching and idle auto-send, including support for attachments.
- Added a toggle for queue mode in OpenChamber settings with persistence across sessions.
- Updated various components to handle queued messages, including ChatInput and QueuedMessageChips.
- Modified settings payload and desktop settings to include queue mode configuration.
- Enhanced message sending logic to support additional parts for queued messages.
2025-12-29 02:16:42 +02:00
Nick Roth aefbb1eac2 feat: add intel mac support (#80) 2025-12-28 22:57:26 +02:00