Commit Graph
84 Commits
Author SHA1 Message Date
Bohdan Triapitsyn 6eace604de feat: add McpDropdown component with related UI enhancements 2026-01-08 23:14:29 +02:00
Bohdan Triapitsyn b9ed2217a6 feat: enhance environment path handling with buildAugmentedPath function 2026-01-08 19:33:43 +02:00
Bohdan Triapitsyn ab731fdc79 feat: add default variant support in settings and UI components 2026-01-08 16:08:51 +02:00
wienans 8ff7b61b8a Windows Git Paths fixes (#118)
* Initial plan

* fix(vscode): improve Windows path handling in git service

- Remove shell: true from execGit spawn options to fix issues with
  git paths containing spaces on Windows
- Fix normalizePath to handle tilde expansion correctly by expanding
  first, then normalizing slashes

Co-authored-by: wienans <40465543+wienans@users.noreply.github.com>
2026-01-08 09:35:07 +02:00
Bohdan Triapitsyn 2cbec5c3ce release v1.4.4 2026-01-08 02:05:17 +02:00
Bohdan Triapitsyn 8902662f74 feat: add rename branch functionality with UI integration 2026-01-08 01:13:51 +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
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
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 d86105fcb2 release v1.4.3 2026-01-04 00:36:59 +02:00
Bohdan Triapitsyn 8965d7841e fix(agent-manager): fetch sessions from worktree directories 2026-01-04 00:11:42 +02:00
Bohdan Triapitsyn 98fee8a8c0 fix(vscode): improve extension activation and error handling 2026-01-03 23:37:08 +02:00
wienans 0bccf71996 feat(vscode) Agent Manager (#87)
* Add Agent Manager

* Basic Mock UP

* Fix Comand naming Ctrl+P Uses Category to group

* Move the UI in views

* Agent Manager Landing Page

* Fix attachment buig

* Change Session Name for multi run to incoporate groupSlug

* First running UI

* Fix Max Model Multi Run

* Rework Agent Group detection

* ignore false positives with ' ' in it

* Simplify Logic

* remove unused dropdowns

* Clean up

* Update Changelog
2026-01-03 23:11:16 +02:00
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 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 17df8a43a9 release v1.4.1 2026-01-02 22:06:29 +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
wienans 2e732c2481 feat(vscode): Implement Git Backend via VS Code Git extension (#92) 2026-01-01 21:39:05 +02:00
Bohdan Triapitsyn 8505455c2e release v1.4.0 2026-01-01 16:18:05 +02:00
Bohdan Triapitsyn 409e042032 refactor(vscode): simplify sidebar toggle logic 2026-01-01 13:51:07 +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
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 a236dc81c9 feat(skills-catalog): implement caching, curated sources, git operations, and skill installation 2025-12-30 21:03:25 +02:00
Bohdan Triapitsyn 2ad59c4ad0 refactor: remove unused VSCode components 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 1492a2e512 release v1.3.8 2025-12-30 00:04:48 +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 d69ccd154d release v1.3.7 2025-12-28 03:31:24 +02:00
Bohdan Triapitsyn 5b24345013 feat(vscode): implement migration to clear legacy auto-set API URLs in configuration 2025-12-28 02:30:45 +02:00
Bohdan Triapitsyn 88e0cedcd3 release v1.3.6 2025-12-27 02:39:50 +02:00
Bohdan Triapitsyn 8f9facb561 feat: added providers management settings with ability to add or remove providers (#76)
* feat: implement adding opencode providers in openchamber settings

* feat: implement provider authentication management with removal functionality
2025-12-27 02:22:59 +02:00
Bohdan Triapitsyn ff874cc33d feat: switch project from pnpm to bun 2025-12-26 16:45:30 +02:00
Bohdan Triapitsyn ba0629f955 release v1.3.5 2025-12-26 04:39:52 +02:00
Bohdan Triapitsyn c0c82663c0 feat: add "Join Discord" menu item and link in AboutDialog 2025-12-26 03:23:58 +02:00
Bohdan Triapitsyn 96fd94fa7b fix(api): optimize opencode api health check time and workspace switching 2025-12-26 02:29:00 +02:00
Bohdan Triapitsyn e62bf9e811 feat(shell): add Nushell support 2025-12-26 01:44:33 +02:00
Bohdan Triapitsyn 3c8cc3a93e feat: add fuzzy matching to file search 2025-12-26 01:18:29 +02:00
Bohdan Triapitsyn 3106abec9b release v1.3.4 2025-12-25 17:57:31 +02:00
Bohdan Triapitsyn 1c91e1810c fix: added proper aliases for tsconfig 2025-12-25 14:46:51 +02:00
Bohdan Triapitsyn 24aebbafce release v1.3.3 2025-12-25 03:35:02 +02:00
Bohdan Triapitsyn eb8355b37e feat: reduce debug logging with conditional output based on streamDebugEnabled 2025-12-25 03:33:24 +02:00
Bohdan Triapitsyn b806b01c29 feat: implement path normalization across commands 2025-12-25 01:25:52 +02:00
Bohdan Triapitsyn 359cfd45b1 feat(vscode): refactor OpenCode configuration management and API proxying 2025-12-24 22:50:46 +02:00
Bohdan Triapitsyn 2d45abdc32 fix: reduce image thumbnails, refactor WorkingPlaceholder state machine, expand debug utilities 2025-12-24 03:32:24 +02:00
Bohdan Triapitsyn 8e98a72ddf fix: vscode runtime stability and cli connection 2025-12-24 03:31:07 +02:00