Commit Graph
7 Commits
Author SHA1 Message Date
pastilhas 3e2c8090d5 chat history in projects 2026-02-23 06:49:18 +00:00
pastilhas 99a27e5b13 Chat cwd 2026-02-22 21:24:08 +00:00
pastilhas f1e3ce4b76 new flow for Pi provider/model settings 2026-02-22 20:19:11 +00:00
pastilhas 1372f53782 Local models 2026-02-22 18:04:01 +00:00
pastilhas 285852f04d logging 2026-02-22 16:49:10 +00:00
pastilhas 68c7973281 fix: Pi harness - dynamic models, correct RPC protocol, proper event handling
Backend:
- /api/pi/models now calls 'pi --list-models' with stored API keys
- pi-bridge.ts: callback-based event handling (matches pi-monorepo)
- pi-bridge.ts: correct RPC format (type: 'prompt' not jsonrpc)
- pi-bridge.ts: pass API keys to Pi process env
- websocket.ts: event handler runs in background, no blocking
- rest.ts: fix user home path (getHomeDir instead of hardcoded)

Frontend:
- Fix /api/ double prefix in useChatSessions, useChatGroups, useModels
- Add PROVIDER_DISPLAY mapping in SystemSettings.tsx
- Provider tabs show friendly names (e.g., 'OpenCode Zen')

UI (from previous session):
- Grouped session list with collapsible folders
- CreateGroupDialog, GroupContextMenu, SessionContextMenu components
2026-02-20 22:55:00 +00:00
pastilhas 92f4b2be8e feat: Complete Pi Harness Rebuild - Phases 1 till 7.2 2026-02-20 20:51:10 +00:00