Summary
Zed UI auto-generates thread titles from conversation content, supports forking threads, and lets users delete or archive stale threads. The headless Rust server (actus) needs equivalent functionality.
Requirements
Auto-generate thread titles
Fork threads
Delete / Archive threads
API Design
GET /v1/threads # list active threads (with ?include_archived)
GET /v1/threads/:id # get thread detail
POST /v1/threads/:id/fork # fork a thread
DELETE /v1/threads/:id # archive (soft-delete)
Current state
Related
Summary
Zed UI auto-generates thread titles from conversation content, supports forking threads, and lets users delete or archive stale threads. The headless Rust server (
actus) needs equivalent functionality.Requirements
Auto-generate thread titles
thread_title_changedevents from the Zed WebSocket protocol~/.actus/threads/threads.json/historyoutputFork threads
POST /v1/threads/:id/fork-- creates a new thread copying the full message history from an existing threadcompleted: true(user sends the first message)/fork <thread_id>command in terminal.pyDelete / Archive threads
DELETE /v1/threads/:id-- mark thread as archivedGET /v1/threadswith?include_archived=true-- filter archived threads/delete <thread_id>(or equivalent) command in terminal.pyAPI Design
Current state
GET /v1/threads,GET /v1/threads/:idexists~/.actus/threads/completedflag already tracked per session/historylists recent threadsRelated