summaryrefslogtreecommitdiffhomepage
path: root/MISSING_API_FEATURES.md
diff options
context:
space:
mode:
authoradamdottv <[email protected]>2025-05-28 10:12:08 -0500
committeradamdottv <[email protected]>2025-05-28 15:36:35 -0500
commit5e738ce7d3b66b88a407a1bcc53a5169d0f4a904 (patch)
tree5c7a6ac13ebb60946e7c88f7d0e04df766edf94a /MISSING_API_FEATURES.md
parent641e9ff6642ef7b55928ef235f54d53822045baf (diff)
downloadopencode-5e738ce7d3b66b88a407a1bcc53a5169d0f4a904.tar.gz
opencode-5e738ce7d3b66b88a407a1bcc53a5169d0f4a904.zip
wip: refactoring tui
Diffstat (limited to 'MISSING_API_FEATURES.md')
-rw-r--r--MISSING_API_FEATURES.md102
1 files changed, 102 insertions, 0 deletions
diff --git a/MISSING_API_FEATURES.md b/MISSING_API_FEATURES.md
new file mode 100644
index 000000000..fcdccf32c
--- /dev/null
+++ b/MISSING_API_FEATURES.md
@@ -0,0 +1,102 @@
+# Missing API Features for TypeScript Backend
+
+This document tracks features that need to be implemented in the TypeScript backend to support the existing Go TUI functionality.
+
+## Current API Endpoints Available
+- `/session_create` - Create a new session
+- `/session_share` - Share a session
+- `/session_messages` - Get messages for a session
+- `/session_list` - List all sessions
+- `/session_chat` - Send a chat message (with SSE streaming response)
+- `/event` - SSE event stream (currently only supports `storage.write` events)
+
+## Missing Features
+
+### Session Management
+- [ ] Session deletion
+- [ ] Session renaming/updating title
+- [ ] Session compaction/summarization
+- [ ] Session export/import
+
+### Message Management
+- [ ] Message editing
+- [ ] Message deletion
+- [ ] Message retrieval by ID
+- [ ] Message search/filtering
+- [ ] System messages support
+
+### Agent/LLM Features
+- [ ] Model selection/switching
+- [ ] Tool invocation support
+- [ ] Agent state management (busy/idle)
+- [ ] Cancel ongoing generation
+- [ ] Token usage tracking per message
+- [ ] Custom prompts/system messages
+
+### File/Attachment Support
+- [ ] File attachments in messages
+- [ ] Image attachments
+- [ ] Code snippet attachments
+- [ ] Attachment storage/retrieval
+
+### LSP Integration
+- [ ] LSP server discovery
+- [ ] LSP diagnostics
+- [ ] LSP code actions
+- [ ] LSP hover information
+- [ ] LSP references
+- [ ] LSP workspace symbols
+
+### Configuration
+- [ ] Model configuration
+- [ ] API key management
+- [ ] Theme preferences
+- [ ] User preferences storage
+
+### Permissions
+- [ ] File system access permissions
+- [ ] Command execution permissions
+- [ ] Network access permissions
+
+### Status/Notifications
+- [ ] Status message broadcasting
+- [ ] Error notifications
+- [ ] Progress indicators
+
+### History
+- [ ] Command history
+- [ ] Search history
+- [ ] Recent files/folders
+
+### Events (SSE)
+Currently only `storage.write` is supported. Missing events:
+- [ ] `session.created`
+- [ ] `session.updated`
+- [ ] `session.deleted`
+- [ ] `message.created`
+- [ ] `message.updated`
+- [ ] `message.deleted`
+- [ ] `agent.status` (busy/idle)
+- [ ] `tool.invoked`
+- [ ] `tool.result`
+- [ ] `error`
+- [ ] `status` (info/warning/error messages)
+- [ ] `lsp.diagnostics`
+- [ ] `permission.requested`
+- [ ] `permission.granted`
+- [ ] `permission.denied`
+
+### Database/Storage
+- [ ] Message persistence
+- [ ] Session persistence
+- [ ] File tracking
+- [ ] Log storage
+
+### Pubsub/Real-time Updates
+- [ ] Publish message events when messages are created/updated via API
+- [ ] Agent busy/idle status updates
+
+### Misc
+- [ ] Health check endpoint
+- [ ] Version endpoint
+- [ ] Metrics/telemetry \ No newline at end of file