Skip to content

Commit d42d46d

Browse files
committed
docs: Update .prd with OpenCode investigation results - no persistent history found
1 parent 29c6fc7 commit d42d46d

1 file changed

Lines changed: 53 additions & 0 deletions

File tree

.prd

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# agentgui Work Items
2+
3+
## ACTIVE 🔄
4+
5+
### Phase 2: OpenCode Integration (PRIORITY 2)
6+
**User Request:** Import all OpenCode conversations and keep them in sync
7+
8+
**Investigation Result:**
9+
- OpenCode does NOT store persistent conversation history like Claude Code
10+
- ~/.config/opencode/opencode.json contains only MCP server config
11+
- No sessions-index.json or history.jsonl found in OpenCode directories
12+
- OpenCode may not persist conversations to filesystem
13+
14+
**Options:**
15+
- [ ] Option A: Implement OpenCode CLI integration to query conversations at runtime (requires OpenCode SDK/API)
16+
- [ ] Option B: Focus on Claude Code import (already complete) and document OpenCode limitation
17+
- [ ] Option C: Create placeholder for future OpenCode support when SDK is available
18+
19+
**Tasks (waiting for approach decision):**
20+
- [ ] Implement OpenCode history loader (if feasible)
21+
- [ ] Merge both sources in database
22+
- [ ] Display merged history in sidebar
23+
- [ ] Support agent type filtering
24+
25+
### Phase 3: Sync & Consistency (PRIORITY 3)
26+
- [ ] File watchers for history changes
27+
- [ ] Auto-import new conversations from CLI
28+
- [ ] Keep GUI database in sync with filesystem
29+
- [ ] Handle conflicts (same conversation in both systems)
30+
- [ ] Implement read-only mode for imported conversations
31+
32+
## ISSUES TO FIX ⚠️
33+
34+
**Issue #1: Timeout on Conversation Selection**
35+
- Clicking conversations causes code execution timeout
36+
- Needs investigation into click handlers
37+
38+
**Issue #2: Message Input Field**
39+
- Message submission behavior unclear
40+
- May not be properly wired to agent communication
41+
42+
## Test Categories Remaining (10 of 12)
43+
- [ ] Category 2: Real-Time Streaming with Persistence
44+
- [ ] Category 3: HTML Rendering Without Text Mixing
45+
- [ ] Category 4: Theme Compliance (Light/Dark)
46+
- [ ] Category 5: Advanced RippleUI Components
47+
- [ ] Category 6: Interactive Forms & Input Validation
48+
- [ ] Category 7: Database Persistence & Recovery
49+
- [ ] Category 8: State Consistency & Validation
50+
- [ ] Category 9: Reconnection & Recovery
51+
- [ ] Category 10: Error Handling & Edge Cases
52+
- [ ] Category 11: Performance & Latency
53+
- [ ] Category 12: Multi-Agent & Configuration

0 commit comments

Comments
 (0)