Commit Graph
18 Commits
Author SHA1 Message Date
yiling 39d45a1dc7 feat(agent): implement secure database-backed agent tools and comments context 2026-05-30 17:09:18 +08:00
yiling dad60b4bca chore(db): regenerate prisma client after schema index additions 2026-05-29 15:31:34 +08:00
yiling a341c6d131 test(team): update settings test to include semanticSearchEnabled 2026-05-28 23:54:00 +08:00
yiling 2eb6ff6c0e feat(search): add semantic search with embeddings and search mode toggle 2026-05-28 20:14:11 +08:00
yiling 5173bb2a01 feat: remove all ai transcription related code and schema 2026-05-28 14:23:02 +08:00
yiling 89916a2950 refactor(metadata): rename field_id to field_key in AssetMetadataValue
Rename the database column from field_id to field_key and the Prisma
property from fieldId to fieldKey to better reflect that the column
stores human-readable metadata field keys, not internal database IDs.

This fixes a bug where AI autofill wrote internal DB IDs instead of
field keys, causing metadata values to not display in the UI.

- Add SQL migration to rename the column
- Update metadata, search, and asset services
- Fix agent-autofill workflow to map fields by key
- Update all related test suites
2026-05-28 12:38:07 +08:00
yiling 794e7b3367 feat(collection): implement saved search results as collections 2026-05-25 17:29:45 +08:00
yiling 2e09ce6ab5 refactor(asset): optimize cleanup job and solidify GC with locking 2026-05-25 09:57:46 +08:00
yiling 5dc3bdb38e feat(asset): decouple logical assets from physical storage with StorageKey and implement O(1) copy 2026-05-25 00:52:45 +08:00
yiling effec44870 feat(trash): implement two-stage trashcan and project cleanup 2026-05-23 23:26:43 +08:00
yiling 206e1ae7b1 fix(comment): remove unique constraint on session_id to allow multiple agent replies 2026-05-22 11:05:40 +08:00
yiling 2c106bbb77 feat(agent): add teamId foreign key to agent table and refactor service queries 2026-05-21 20:41:37 +08:00
yiling 15e9076147 feat(db): migrate AgentSession and AssetComment to 1:1 relation 2026-05-21 16:24:40 +08:00
yiling 161ba3a466 feat(agent): replace isAi with sessionId & implement admin logs UI 2026-05-21 14:58:31 +08:00
yiling a73a39f2aa feat(agent): migrate to pi-agent-core harness and implement DatabaseSessionStorage 2026-05-21 11:50:09 +08:00
yiling 8160df0198 update 2026-05-20 14:14:02 +08:00
yiling 53594194cc feat(agent): integrate sandboxed bash tool and sandbox settings 2026-05-20 10:36:47 +08:00
yiling 9cad96210c initial commit 2026-05-19 16:05:09 +08:00