feat: add workspace plugin for OpenCode TUI integration

- Add @opencode-manager/workspace-plugin package
- Add API tokens management with scoped access control
- Add workspace-plugin routes for project discovery
- Add bearer token authentication for external access
- Add proxy WebSocket support for remote workspaces
- Add frontend UI for API token management
- Update documentation with workspace plugin guide
This commit is contained in:
CS committed 2026-04-20 18:31:22 -04:00
1 parent 0836e324a3
commit d5342ecd91
118 files changed
+7831 -1715

No files matched your search

+12
View File
@@ -17,6 +17,11 @@ LOG_LEVEL=info
OPENCODE_SERVER_PORT=5551
OPENCODE_HOST=127.0.0.1
# Optional - bearer password required to talk to the spawned OpenCode server.
# When set, the backend spawns OpenCode with this password and attaches it to
# every proxied request. Leave unset to disable OpenCode-level auth.
# OPENCODE_SERVER_PASSWORD=
# Optional - import an existing standalone OpenCode install on first startup
# Useful for Docker when your host OpenCode data is bind-mounted into the container
# OPENCODE_IMPORT_CONFIG_PATH=/import/opencode-config/opencode.json
@@ -123,3 +128,10 @@ PASSKEY_ORIGIN=http://localhost:5003
# VITE_OPENCODE_PORT=5551
# VITE_MAX_FILE_SIZE_MB=50
# VITE_MAX_UPLOAD_SIZE_MB=50
# ============================================
# Workspace Plugin Configuration
# For connecting OpenCode TUI to opencode-manager
# ============================================
# OPENCODE_MANAGER_URL=http://localhost:5003
# OPENCODE_MANAGER_TOKEN=