Commit Graph
173 Commits
Author SHA1 Message Date
pastilhasandClaude Opus 4.6 13cfeac384 chat session context scoping, fix sandboxed pi config mounts, dedupe zai/opencode providers
- Add context/contextId fields to session types, storage, and index
- Filter sessions by context (project, workspace, or default chat)
- Pass context through websocket, REST API, and frontend hooks
- Mount ~/.pi/agent into sandboxed containers for auth + writable sessions
- Remove PI_CODING_AGENT_DIR override so container pi uses ~/.pi/agent
- Deduplicate zai/opencode models (same service, show as opencode)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 22:35:02 +00:00
pastilhasandClaude Opus 4.6 e0f470137b persist model access policy to database
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 20:22:42 +00:00
pastilhasandClaude Opus 4.6 b8b71e78d9 normalize zai provider to opencode in model listing
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 19:00:39 +00:00
pastilhasandClaude Opus 4.6 e806f66edb remote provider health checks + compact display
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 18:56:58 +00:00
pastilhasandClaude Opus 4.6 11845fbae5 single source of truth for pi config via ~/.pi/agent
auth.json stores api keys, models.json stores local providers directly.
no more copies, sync layers, or per-user config generation.
docker containers mount pi config read-only.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 18:42:30 +00:00
pastilhasandClaude Opus 4.6 500a70910e migration to postgres
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 17:42:59 +00:00
pastilhasandClaude Opus 4.6 7f04ecd644 dock config to postgres, auto-add /email on google oauth, improved email empty state
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 17:42:27 +00:00
pastilhas 466dc3adda sidecar network host 2026-02-26 03:32:04 +00:00
pastilhas 42abb97d7b email syncyng 2026-02-26 01:39:38 +00:00
pastilhas 5d4f0114cd Critical Securities (5) fixes 2026-02-25 19:44:38 +00:00
pastilhas 10acd14755 proper user permissions inside container 2026-02-25 19:44:38 +00:00
pastilhas b6a0a57893 thinking 2026-02-25 16:04:11 +00:00
pastilhas cf121e2fee landing 2026-02-25 07:27:30 +00:00
pastilhas acd7713c86 projects 2026-02-25 06:59:29 +00:00
pastilhas 7bdeecd7f0 read alout chat messages 2026-02-25 05:11:09 +00:00
pastilhas 084dd22d57 fix sidecar issue, node 22 2026-02-25 04:50:16 +00:00
pastilhas 7078b68146 emails 2026-02-25 02:54:32 +00:00
pastilhas 21fde3d989 refresh models 2026-02-25 01:55:35 +00:00
pastilhas 0226608d8f email 2026-02-25 01:34:09 +00:00
pastilhas 6e8ee69311 fixed ocr/tts... caching 2026-02-25 00:16:52 +00:00
pastilhas e95c5de70d resend http api 2026-02-24 23:29:41 +00:00
pastilhas e36908cb0b opengraph stuff 2026-02-24 21:47:36 +00:00
pastilhas 05f0d0e8f7 resources 2026-02-24 16:44:22 +00:00
pastilhas d6ffe43a11 tools and skills, etc in the containers 2026-02-24 01:24:28 +00:00
pastilhas 071e2decc3 tools system - web-fetch 2026-02-24 00:06:32 +00:00
pastilhas 2126f3912e pi sills 2026-02-23 22:52:27 +00:00
pastilhas 8fb96c7cf8 mobile 2026-02-23 11:16:33 +00:00
pastilhas 2779fe22c6 file based auth 2026-02-23 09:58:08 +00:00
pastilhas c3c905907b useDock 2026-02-23 09:02:34 +00:00
pastilhas 3e2c8090d5 chat history in projects 2026-02-23 06:49:18 +00:00
pastilhas 9acef6cf6c copy path and chat about file/folder 2026-02-23 05:15:13 +00:00
pastilhas bdefc52331 SMTP settings 2026-02-23 03:30:16 +00:00
pastilhas 81256a1dc9 Onboarding 2026-02-23 02:03:45 +00:00
pastilhas 97da2e2736 fixed members login and permissions issues 2026-02-23 00:57:34 +00:00
pastilhas 09cff3f763 Pi running inside the docker containers 2026-02-22 22:21:47 +00:00
pastilhas 99a27e5b13 Chat cwd 2026-02-22 21:24:08 +00:00
pastilhas 7fe7260f51 better chat ui 2026-02-22 20:52:19 +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 e35b7340f3 default model 2026-02-22 16:49:30 +00:00
pastilhas 285852f04d logging 2026-02-22 16:49:10 +00:00
pastilhas a8aba2aee2 Preview proxy tuneup 2026-02-22 16:00:52 +00:00
pastilhas ca45301e3e App Preview 2026-02-22 03:35:26 +00:00
pastilhas ab03b175e7 Projects 2026-02-22 01:50:15 +00:00
pastilhas fe7874dd65 ready for app-registry refactor 2026-02-21 17:28: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
pastilhas 25f5f74b1b no idea 2026-02-20 18:25:33 +00:00
pastilhas ef1530b626 also no idea, from monorepo 2026-02-20 18:25:15 +00:00
pastilhas f48093424c Resources tuneup 2026-02-20 12:35:47 +00:00