Commit Graph
75 Commits
Author SHA1 Message Date
Chris Scott 8e90ba2e6e refactor: remove custom title generation and optimize session updates (#187)
* chore: bump version to 0.9.16

* Remove custom session title generation and rely on upstream OpenCode titles

- Delete backend/src/routes/title.ts and backend/src/services/session-title.ts
- Remove /api/generate-title route from backend/src/index.ts
- Delete backend/test/routes/title.test.ts
- Remove useTitleGenerating hook and title generation logic from frontend/src/hooks/useOpenCode.ts
- Remove generating prop from Header.EditableTitle and frontend/src/pages/SessionDetail.tsx
- Clean up unused imports in frontend/src/hooks/useOpenCode.ts and frontend/src/components/ui/header.tsx
- Session titles now come directly from upstream OpenCode via session refetches after prompt

* refactor: optimize session query updates with setQueryData

- Remove redundant query invalidations in useSendPrompt
- Use setQueryData for optimistic updates in SSE session.updated handler
- Update session cache directly when session exists in list
- Prepend new sessions to list when not found
- Fall back to invalidation only when cache is empty
2026-04-16 09:59:35 -04:00
Chris Scott 1e6f1293e2 chore: bump version to 0.9.15 2026-04-13 21:48:04 -04:00
Chris Scott 0a37fd14a3 feat: add OpenCode models editor and bump version to 0.9.13 2026-04-12 12:14:35 -04:00
Chris Scott 5620388aa6 Bump version to 0.9.12 2026-04-06 12:34:42 -04:00
Chris Scott 0f9caad98d Migrate memory plugin to standalone repository and remove Kasm files (#182)
Remove packages/memory from monorepo - plugin now lives at
chriswritescode-dev/opencode-memory and is installed from npm.

Update Dockerfile, docs, and workspace config to reflect the change.
Remove Dockerfile.kasm, kasm-startup.sh, and Kasm CI workflow.
2026-04-06 11:47:42 -04:00
Chris Scott 5c04eee031 Bump version to 0.9.11 2026-03-25 16:19:32 -04:00
Chris Scott e451c28675 Add memory package tests to root test script
Run both backend and memory tests with pnpm test.
2026-03-24 11:41:53 -04:00
Chris Scott df2bebc73e Bump version to 0.9.10 2026-03-22 18:57:14 -04:00
Chris Scott 1e863c5fc5 Add cron-based scheduling with prompt templates integration (#164) 2026-03-21 23:33:03 -04:00
Chris Scott b9b5d50643 Bump version to 0.9.09 2026-03-20 21:09:07 -04:00
Chris Scott 35556ed44a Fix Docker build by adding jsonc-parser to shared dependencies
The shared package imports jsonc-parser but did not declare it as a dependency, causing Docker builds to fail due to strict pnpm install. Added jsonc-parser ^3.3.1 to shared/package.json and bumped manager version to 0.9.08.
2026-03-07 10:52:56 -05:00
Chris Scott cffe33c8c3 chore: bump version to v0.9.07 and update lockfile 2026-03-07 10:42:39 -05:00
Chris Scott 6ef68774d8 Clean up and enhance memory plugin (#151)
* refactor storage to use worker-based vector operations

* update memory service and agent implementations

* update opencode plugin sdk

* update memory plugin documentation

* add tests for memory service and injection hook

* update lockfile for dependency changes

* Add memory plugin v0.0.13 with message deduplication and config UI

* Remove planning state feature from memory plugin
2026-03-06 20:24:52 -05:00
Chris Scott c15e53fb98 Add executionModel feature and refactor CLI into modular commands (#150)
* Add executionModel feature and refactor CLI into modular commands

- Add executionModel config option to memory plugin for specifying AI provider/model
- Refactor monolithic CLI into modular commands: export, import, list, stats, cleanup
- Add model selector UI with connected providers and recent models
- Add showClear prop to Combobox component
- Update documentation and bump version to 0.0.10

* Update execution model placeholder text

* Update docs with new CLI commands and ocm-mem binary usage

* Bump version to v0.9.06

* Add executionModel field to default config
2026-03-03 20:08:36 -05:00
Chris Scott e5b2cab9d9 Bump version to v0.9.05 2026-02-27 18:24:16 -05:00
Chris Scott 3461f86556 Add memory plugin with semantic search and session planning (#145)
* Add memory plugin with semantic search and session planning

* Clarify Memory Plugin is optional in docs
2026-02-23 15:08:56 -05:00
Chris Scott ba0501ccf7 Bump version to 0.9.03 2026-02-16 21:16:54 -05:00
Chris Scott 9562867f1d Bump version to 0.9.02 2026-02-16 10:48:30 -05:00
Chris Scott 63561640fd Bump version to 0.9.01 2026-02-15 23:34:05 -05:00
Chris Scott 8e1f6dc863 Bump version to 0.9.0 2026-02-15 19:49:18 -05:00
Chris Scott 7f7d106c28 Bump version to 0.8.31 2026-02-14 23:20:21 -05:00
Chris Scott 67c750300c Bump version to 0.8.30 2026-02-13 23:45:45 -05:00
Chris Scott 8131f1d411 Bump version to 0.8.29 2026-02-13 13:44:36 -05:00
Chris Scott 7824d52fb8 Bump version to 0.8.28 2026-02-11 22:59:12 -05:00
Chris Scott abec58282b Add SSH Authentication feature and bump version to 0.8.27
- Add SSH key authentication for git repositories
- Host key verification with fingerprint display
- Support for passphrase-protected SSH keys
- Custom SSH port support for non-standard ports
- Known hosts management with change detection
- Update documentation in README and docs/features/git.md
- Add SSH authentication to features overview
2026-02-08 14:31:38 -05:00
Chris Scott 414f39b809 feat: SSH Authentication Keys v2 (#113)
* feat: add SSH authentication keys v2 for Git operations

Add comprehensive SSH key authentication support for Git operations including:
- SSH host key verification with user approval flow
- Encrypted SSH key storage with passphrase support
- SSH connection testing endpoint
- Real-time host key change warnings

Backend changes:
- New SSHHostKeyHandler for managing host key verification via IPC
- Add passphrase handler for locked SSH keys
- Add SSH key manager utilities (key writing, validation, cleanup)
- Add crypto utilities for secure key/secret encryption
- Add SSH validation utilities for key format checking
- Add SSH routes for host key response handling
- Enhance GitAuthService with SSH setup and environment methods
- Update GitService to handle SSH authentication for push/fetch/pull
- Update OpenCode server to support SSH keys with SSH config generation
- Add database migration for trusted_ssh_hosts table
- Add settings endpoint for SSH connection testing

Frontend changes:
- Add SSHHostKeyDialog for host key verification UI
- Add PassphraseModal for SSH key passphrase input
- Update GitCredentialDialog with SSH key type and testing
- Update GitSettings to manage SSH keys
- Add SSH API client and hooks (useSSH, usePassphraseHandler)

Shared changes:
- Add SSH schemas and types

Test coverage:
- Integration tests for SSH flow
- IPC handler tests for host key and passphrase
- SSH route tests
- SSH utility validation tests
- Updated existing tests for SSH-aware changes
2026-02-08 00:06:44 -05:00
Chris Scott e25acf6e61 chore: bump version to 0.8.25 2026-02-06 11:24:31 -05:00
Chris Scott 3d9e9b8322 chore: bump version to 0.8.24 2026-02-05 20:20:14 -05:00
Chris Scott 395d41eb6e chore: bump version to 0.8.22 2026-02-01 21:53:58 -05:00
Chris Scott a02f7a2e98 Bump version to 0.8.21 (#99)
* Add timeout handling and recovery for OpenCode upgrade/install operations

- Extract DEFAULT_AGENTS_MD to constants file
- Add 90s timeout for opencode upgrade/install commands
- Implement server recovery when upgrade/install fails
- Update frontend error handling for recovery status
- Add settings route tests

* Add centralized query cache invalidation utility

* Bump version to 0.8.21
2026-01-30 22:39:24 -05:00
Chris Scott 7edb54b6d9 Bump version to 0.8.2 2026-01-27 09:51:59 -05:00
Chris Scott 020f4564f5 Bump version to 0.8.1 2026-01-26 23:20:42 -05:00
Chris Scott 358abbf20e Bump version to 0.8.0 and remove CHANGELOG.md (using GitHub Releases) 2026-01-26 13:10:26 -05:00
Chris Scott 204e79c713 Add worktree support and consolidate branch management UI (#78)
* Fix git credential saving and improve host matching

- Fix token masking bug in GitCredentialDialog that corrupted tokens on edit
- Add tokenEdited state to preserve original token when not modified
- Default new credential host to https://github.com
- Add normalizeHostname helper for consistent host comparison
- Improve credential lookup logging to show configured vs requested hosts
- Remove overly permissive fuzzy matching that could leak tokens

* Make OpenCode reload non-fatal when saving git credentials

Settings are now saved to database even if the OpenCode server reload
fails. The reload error is returned separately so the UI can inform
the user that credentials were saved but the server needs a manual
restart.

* Fix git fetch using credentials in silent mode

Previously, silent mode (used for UI fetch operations) would skip
credential lookup entirely and return empty, causing auth failures.
Now credentials are always looked up via IPC regardless of silent mode.

* Add worktree support and consolidate branch management UI

* Remove duplicate SECURE_COOKIES property from auth config

* Bump version to 0.7.8
2026-01-25 11:06:57 -05:00
Chris Scott fb9413782a Bump version to 0.7.7 2026-01-25 00:39:37 -05:00
Chris Scott 3a8d4993c1 Bump version to 0.7.6 2026-01-24 23:49:16 -05:00
Chris Scott 81a66d2ddb Add single-user authentication system with Better Auth integration (#76)
* Add Better Auth integration with session management

- Implement user authentication using Better Auth library
- Add login, register, and sign out functionality
- Support passkey/WebAuthn authentication
- Create database schema for users, sessions, accounts, passkeys
- Add AuthProvider context and ProtectedRoute components
- Add account settings page in settings dialog
- Protect all API routes with authentication middleware
- Update environment configuration for auth providers

* Add single-user authentication system with admin setup

- Add first-run Setup page for initial admin account creation
- Add environment-based admin configuration (ADMIN_EMAIL, ADMIN_PASSWORD)
- Add password reset capability via ADMIN_PASSWORD_RESET environment flag
- Migrate to data routers with auth loaders, remove ProtectedRoute
- Add change password functionality to account settings
- Enforce AUTH_SECRET requirement in production
- Auto-disable registration when admin is pre-configured via environment

* Track busy/idle session status across hooks

* Bump version to 0.7.5

* Update pnpm to 10.28.1
2026-01-24 17:45:44 -05:00
Chris Scott af292758c3 chore: bump version to 0.7.4 2026-01-23 17:39:21 -05:00
Chris Scott e6156f3c47 chore: bump version to 0.7.3, set package to public, and add per-session agent mode switching
Changes:
- Bump version to 0.7.3
- Set package.private to false
- Add useSessionAgent hook for per-session agent mode
- Remove global mode preference, use session-level mode
- Add mobile drag-and-drop toggle for repo list
- Improve repo card UI with truncation and compact status
- Fix TypeScript errors in repo.ts (undefined handling)
2026-01-23 17:08:18 -05:00
Chris Scott 94725ce473 Release v0.7.2 2026-01-23 00:44:00 -05:00
Chris Scott b022b0a2c5 Release v0.7.1 2026-01-22 23:08:37 -05:00
Chris Scott a90516410b Bump version to 0.7.0 2026-01-19 22:50:27 -05:00
Chris Scott 300b24fc10 Bump version to 0.6.4 2026-01-17 14:16:47 -05:00
Chris Scott 8d9e6d43da Bump version to 0.6.3 2026-01-15 18:04:06 -05:00
Chris Scott 213cd66cae Bump version to 0.6.2 2026-01-13 10:36:24 -05:00
Chris Scott 2850de02f3 Bump version to 0.6.1 2026-01-13 00:16:25 -05:00
Chris Scott 1915b1e765 Bump version to 0.6.0 2026-01-12 23:59:11 -05:00
Chris Scott ac551feddb Bump version to 0.5.9 2026-01-10 20:13:39 -05:00
Chris Scott 74b10fc57b Bump version to 0.5.8 2026-01-10 20:02:18 -05:00
Chris Scott ed4bc17987 add typecheck script and fix TypeScript errors (#48) 2026-01-04 17:11:53 -05:00