Skip to content

feat: remove memory plugin and add assistant mode with internal API#213

Merged
chriswritescode-dev merged 1 commit intodevfrom
opencode/remove-memory-plugin-1
May 3, 2026
Merged

feat: remove memory plugin and add assistant mode with internal API#213
chriswritescode-dev merged 1 commit intodevfrom
opencode/remove-memory-plugin-1

Conversation

@chriswritescode-dev
Copy link
Copy Markdown
Owner

Summary

  • Remove the memory plugin (backend routes, frontend components, API, hooks, tests, docs)
  • Add assistant mode with internal token authentication and API routes
  • Add OpenCode server authentication settings and config
  • Add SSE password resolver and server health monitoring
  • Update README and project documentation
  • Bump version to 0.10.0

Changes

  • backend/src/routes/memory.ts - Removed memory routes
  • backend/src/services/plugin-memory.ts - Removed memory plugin service
  • backend/src/services/assistant-mode.ts - New assistant mode service
  • backend/src/services/opencode/client.ts - New OpenCode event stream client
  • backend/src/services/opencode/auth.ts - New OpenCode auth service
  • backend/src/services/internal-token.ts - Internal token authentication
  • backend/src/routes/internal/* - New internal API routes (notifications, settings)
  • backend/test/routes/internal-*.test.ts - New internal API tests
  • backend/test/services/proxy.test.ts - Removed proxy tests
  • backend/test/services/opencode/client.test.ts - New client tests
  • frontend/src/api/memory.ts - Removed memory API
  • frontend/src/components/memory/* - Removed memory components
  • frontend/src/pages/Memories.tsx - Removed memories page
  • frontend/src/hooks/useMemories.ts - Removed memory hooks
  • frontend/src/hooks/useOpenCode.ts - New OpenCode hook
  • frontend/src/hooks/useOpenCodeServerAuth.ts - New auth hook
  • frontend/src/lib/opencode-event-stream/* - New event stream implementation
  • frontend/src/components/settings/OpenCodeServerAuthSettings.tsx - New settings component
  • frontend/src/components/repo/RepoSkillsDialog.tsx - New skills dialog
  • shared/src/schemas/memory.ts - Removed memory schemas
  • shared/src/schemas/internal-assistant.ts - New assistant schemas
  • docs/features/assistant-internal-api.md - New docs
  • docs/features/memory.md - Removed memory docs
    • many more (133 files changed, 7278 insertions, 6287 deletions)

Type of Change

  • Feature
  • Refactor
  • Removal

Checklist

  • Code follows project style (no comments, named imports)
  • TypeScript types are properly defined
  • Tests added/updated
  • `pnpm lint` passes locally

@chriswritescode-dev chriswritescode-dev merged commit fbee6bc into dev May 3, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant