Commit Graph
499 Commits
Author SHA1 Message Date
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.
v0.9.08
2026-03-07 10:52:56 -05:00
Chris Scott cffe33c8c3 chore: bump version to v0.9.07 and update lockfile v0.9.07 2026-03-07 10:42:39 -05:00
Chris Scott e1a4a70d3d Replace strip-json-comments with jsonc-parser for better error reporting 2026-03-07 10:42:18 -05:00
Chris Scott e1890d0554 memory: v0.0.15 with code-review workflow and agent updates 2026-03-07 10:41:40 -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 47ef830cbb Skip notifications for subagent sessions 2026-03-04 19:56:55 -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
v0.9.06
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 a3237d7f7f Fix mobile input prompt command selection (#148)
* fix mobile selection in suggestion dropdowns

* handle mobile keyboard viewport
2026-02-27 17:35:01 -05:00
Chris Scott f368a2fa62 Add agent color styling and session persistence v0.9.05 2026-02-27 17:01:56 -05:00
Chris Scott 13ebfc12b6 Update memory docs with Code Review agent 2026-02-27 15:58:32 -05:00
Chris Scott 89a508e0c7 Allow question tool for Code and Architect agents 2026-02-27 15:33:03 -05:00
Chris Scott 6dc8cab06e add Code Review agent with /review command support 2026-02-27 13:25:21 -05:00
Chris Scott 2b1dc9f72b document Code Review agent in memory package README and CHANGELOG 2026-02-27 13:25:20 -05:00
Chris Scott f8ba586364 Update memory plugin documentation for v0.0.9 changes 2026-02-27 12:45:30 -05:00
Chris Scott 7ee5bd3e68 Release v0.0.9 - add messages.transform hook and planning state improvements 2026-02-27 12:45:24 -05:00
Chris Scott bedfc80870 Restrict memory-planning-update and memory-planning-search to Memory subagent only 2026-02-27 12:45:17 -05:00
Chris Scott 4cb2ed7efd Inject read-only reminder into Architect messages, use constant for agent name, defensive state re-read 2026-02-27 12:45:11 -05:00
Chris Scott d149c94eac Add memory-planning-search tool and make planning state sessionID optional 2026-02-25 17:04:24 -05:00
Chris Scott f2d38f257e update tests for project-scoped storage and new features 2026-02-25 15:42:44 -05:00
Chris Scott b684a05475 update session hooks to use project-scoped storage 2026-02-25 15:42:38 -05:00
Chris Scott 48b64db0da add memory-planning-search tool and update architect workflow 2026-02-25 15:42:32 -05:00
Chris Scott 8323da1151 add projectId parameter to session state storage 2026-02-25 15:42:26 -05:00
Chris Scott 567fa6f415 bump version to 0.0.8 2026-02-25 15:42:20 -05:00
Chris Scott bc649d91ee Add color property to agent definitions 2026-02-24 23:16:14 -05:00
Chris Scott 8567e9bb2b Improve mobile table and heading styles in docs 2026-02-24 23:16:00 -05:00
Chris Scott 96d2bd5e74 Add Memory Plugin callout to docs landing page and npm badge to memory docs 2026-02-24 22:01:54 -05:00
Chris Scott 4f10435af4 Update memory plugin docs with Architect agent and new tools 2026-02-24 21:58:04 -05:00
Chris Scott 59465de475 Add CLI export/import and bundled agents to memory plugin 2026-02-24 21:27:17 -05:00
Chris Scott 60d999f858 Add memory-plan-execute tool, export/import types 2026-02-24 21:13:29 -05:00
Chris Scott 745b883052 Remove keyword/params hooks, add planning state 2026-02-24 21:13:27 -05:00
Chris Scott 0a4be46fd3 Remove review agent, add architect agent 2026-02-24 21:13:23 -05:00
Chris Scott 4bbc86bc39 refactor: use SubtaskPart for post-compaction memory extraction 2026-02-24 19:07:47 -05:00
Chris Scott d681ee5c29 add dimension mismatch detection and version injection to memory plugin 2026-02-24 11:24:27 -05:00
Chris Scott be871aa5b2 Readme redesign (#146)
* Redesign README for improved GitHub rendering

* Fix release badge URL format

* Add .env setup to Quick Start and update config examples

* Add Git Commit Demo GIF

* Fix release badge to use tag endpoint

* update development docs and fix default port in env

* Enhance Docker documentation with environment variables and entrypoint behavior

* Expand Memory plugin documentation with architecture, agents, and hooks

* Add dark mode CSS and configure MkDocs for dark-only theme
2026-02-23 20:28:49 -05:00
Chris Scott a911a2f759 Restore enhanced source control features from PR #138
PR #145 accidentally reverted all source control enhancements from PR #138. This cherry-picks those changes back: discard changes functionality, commit detail view, commit file diffs, diff truncation, and UI improvements.
v0.9.04
2026-02-23 16:43:28 -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
theepicsaxguyandChris Scott da283a82cf Feature/enhanced source control (#138)
* feat: enhance source control with discard and commit detail views

- Add discard changes functionality with confirmation dialog
- Implement commit detail view with file list and diffs
- Update commit badges: blue for unpushed (local), purple for pushed (remote)
- Display current branch in commits header
- Reuse existing components (DeleteDialog, FileDiffView, GitFlatFileList)
- Add proper error handling and toast notifications
- Extend backend API with /discard and /commit/:hash endpoints
- Update types to include CommitDetails and CommitFile interfaces

Backend:
- Add discardChanges() method to GitService
- Add getCommitDetails() and getCommitDiff() methods
- Add POST /:id/git/discard endpoint
- Add GET /:id/git/commit/:hash and /:id/git/commit/:hash/diff endpoints

Frontend:
- Add discard button (rotate-left icon) to file items
- Add gitDiscardFiles API function and useGit mutation
- Create CommitDetailView component
- Update CommitsTab with color coding and branch display
- Extend SourceControlPanel for commit detail navigation
- Add confirmation dialog using DeleteDialog pattern

Tests:
- Backend tests passing with 77% line coverage
- Linting passes for all modified files
- Type safety maintained throughout

BREAKING CHANGES: None

* Fix critical bugs from code review

- Fix syntax error in GitService.ts (missing closing brace for getCommitDiff)
- Make AUTH_SECRET mandatory in crypto.ts to prevent weak encryption fallback
- Fix race condition in PassphraseHandler by using unique request IDs
- Add error logging to ssh-key-manager catch blocks
- Add type guards (isGitCredential, filterGitCredentials) to replace unsafe assertions
- Fix TypeScript errors and variable shadowing in GitService and settings
- Remove unused variable in sshHostKeyHandler
- Update GitService tests with proper mock data structure

All changes verified: lint passes, typecheck passes, 102/103 tests pass

* Fix critical bugs from code review

- Fix git restore command syntax (--source=HEAD → --source HEAD)
- Use crypto.randomBytes for secure requestId generation
- Add requestId to SSH host key broadcast for frontend compatibility
- Add missing onDiscard prop to GitFlatFileList
- Remove dead code (187 unreachable lines) in ChangesTab
- Fix regex alternation bug in commit stat parsing
- Optimize getCommitDetails with --numstat (N+1 → 1 git call)
- Optimize unpushed commit check to use merge-base instead of full list
- Remove useless conditional in handleDiscard
- Fix type contract violation in CommitDetailView onSelect

* fix: resolve code review issues

- Add missing handleDiscard function in ChangesTab.tsx
- Fix duplicate requestId property in sshHostKeyHandler.ts
- Remove unnecessary type assertion in settings.ts

* feat: enhance source control with commit view improvements and diff fixes

- Add readOnly mode to GitFlatFileList to hide stage/unstage buttons in commit view
- Fix commit file diff display by using correct git show command syntax
- Add line stats display (+additions/-deletions) for each file in commit view
- Show total commit stats in header (Changed Files N +X -Y)
- Fix commit file list parsing to use --name-status and --numstat
- Add 500KB diff size limit with truncation warning
- Fix discard changes for untracked files by deleting them directly
- Update Dockerfile to copy backend/node_modules correctly
- Fix TypeScript error in CommitDetailView onFileSelect call

* Refactor API error handling and enhance source control functionality

* Fix code review issues: OAuth error handling, unpushed detection, comments, and duplicates

- Remove shared handleApiError import from OAuth and restore local pattern

- Fix isCommitUnpushed to use getUnpushedCommitHashes for correct upstream detection

- Remove inline comments from ssh-key-manager.ts (style violation)

- Remove duplicate fetchCommitDiff function

- Add missing getErrorMessage import to repo-git.ts

* Refactor imports and type assertions in GitService, SSH tests, and handleApiError

* Refactor GitService methods for improved error handling and code clarity; add discardChanges functionality and enhance commit details retrieval

* Refactor Git and SSH services: streamline imports, enhance error handling, and remove unused code

* Refactor source control components: remove unused useGitAction hook and enhance error handling in handleGitAction

* Enhance error handling in Git routes and improve UI components for better user experience

* Remove unnecessary blank line in GitService class

* Fix commit log parsing and rename detection in GitService

* Refactor source control UI for full-screen diffs, improve mobile view, and add discard confirmation dialog

* Fix lint warnings and ignore test files in GitGuardian scan

---------

Co-authored-by: Chris Scott <99081550+chriswritescode-dev@users.noreply.github.com>
2026-02-21 21:57:05 -05:00
Chris Scott ba0501ccf7 Bump version to 0.9.03 v0.9.03 2026-02-16 21:16:54 -05:00
Chris Scott 9c6dc9f603 Add SSH known hosts support and optimize git status fetching (#140) 2026-02-16 20:13:30 -05:00
Chris ScottandFran Boon b38b9e3aca Add version notifications for new releases (#139)
* Add SSH known hosts support and optimize git status fetching

* Add opencode-manager version to health endpoint

* Add version notifications for new releases

---------

Co-authored-by: Fran Boon <fran@aidiq.com>
2026-02-16 20:07:20 -05:00
Chris Scott 9562867f1d Bump version to 0.9.02 0.9.02 2026-02-16 10:48:30 -05:00
Chris Scott 725122b588 refactor: inline message parts with batched SSE updates (#137) 2026-02-16 10:47:37 -05:00
Chris Scott 63561640fd Bump version to 0.9.01 0.9.01 2026-02-15 23:34:05 -05:00
Chris Scott 8640a16a48 Add content version tracking to auto-scroll for message part updates 2026-02-15 20:00:21 -05:00
Chris Scott 8e1f6dc863 Bump version to 0.9.0 v0.9.0 2026-02-15 19:49:18 -05:00
Chris Scott 5de419ee28 fix issues (#136)
* fix: prevent delete button click when card is not swiped open

* refactor: improve CreateRepoInput type safety

* security: require AUTH_SECRET and use secure random generation

* fix: SSH key path validation, async passphrase stripping, and port handling

* fix: use correct console methods for logger levels

* Add error handling to DB update functions and improve migration logging

* Add error handling for session lookup in auth middleware

* Add structured git error handling with user-friendly messages

- Parse git errors with specific error codes (AUTH_FAILED, REPO_NOT_FOUND,
  PUSH_REJECTED, MERGE_CONFLICT, etc.) and appropriate HTTP status codes
- Return structured error responses with summary and detail from backend
- Add GitErrorBanner component for better error display in UI
- Add optional onError callback to useGit hook for external error handling

* Make IPC server initialization/disposal async and fix SSH host key handler

* add try-catch error handling in frontend lib utilities

* remove unresolved promise handlers in speech synthesizer callbacks

* Extract error types to shared package

* Import GitErrorCode from shared package

* Refactor API layer to use shared FetchError and fetchWrapper

* Update prompt parser and source control components

* Extract MCP server list to separate component with improved badge menu UX

* merge useSettingsDialogUrl into useSettingsDialog and extract getRepoDisplayName utility

* add separate loading state for passkey sign in

* refactor hooks: use fetchWrapper, improve error handling, add proper types

* replace browser confirm() with DeleteDialog component in settings

* fix: add missing variables parameter in React Query onError callbacks

* Refactor message parts to use separate Zustand store

* Update QuestionPrompt styling for light/dark mode
2026-02-15 19:48:03 -05:00
Chris Scott 7f7d106c28 Bump version to 0.8.31 v0.8.31 2026-02-14 23:20:21 -05:00
Chris Scott 687ad405ae Extract swipe gesture logic and improve push notification handling (#135) 2026-02-14 23:19:37 -05:00
Chris Scott 24609ef6c3 fix: show directory-level MCP servers in RepoMcpDialog (#134)
* fix: show directory-level MCP servers in RepoMcpDialog

- Derive server list from MCP status response instead of global config
- Add GET /opencode-configs/:name endpoint to fetch named configs
- Fetch repo-specific config via openCodeConfigName in RepoDetail/SessionDetail
- Add null guards for serverConfig to handle directory-only servers
- Update empty state text to mention project's opencode.json

Closes #130

* Switch RepoMcpDialog to use directory-level server configs
2026-02-14 21:01:54 -05:00