yiling
2eb6ff6c0e
feat(search): add semantic search with embeddings and search mode toggle
2026-05-28 20:14:11 +08:00
yiling
f1963e7bb9
refactor(ai): initialize GoogleGenAI with process.env.GEMINI_API_KEY directly for embedding
2026-05-28 15:21:44 +08:00
yiling
6bce76cf0a
refactor(ai): remove legacy provider validations in embedding context activity
2026-05-28 15:17:10 +08:00
yiling
75e65a39b3
refactor(ai): pass outputDimensionality 1536 to gemini-embedding-2
2026-05-28 15:12:39 +08:00
yiling
a04392da41
refactor(ai): remove generic providers and hardcode gemini-embedding-2 in embedding activity
2026-05-28 14:55:59 +08:00
yiling
5173bb2a01
feat: remove all ai transcription related code and schema
2026-05-28 14:23:02 +08:00
Yiling-J
721a9c13d7
Merge pull request #30 from shumaiOne/feat/rename-metadata-field-key
...
refactor(metadata): rename field_id to field_key in AssetMetadataValue
2026-05-28 12:39:49 +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
904d9d7eac
refactor(agent): make AgentExecutionContext 100% type-safe
...
- Use generated Prisma types to precisely define AgentExecutionContext properties
- Make sessionId public in DatabaseSessionStorage and use instanceof type guard
- Explicitly type getAgentChatContextActivity and getAgentAutofillContextActivity returns
- Clean up all 'as any' casts and ESLint disable comments
- Refactor agent.test.ts to cast Session with DatabaseSessionMetadata
2026-05-28 11:43:42 +08:00
yiling
023f256e00
refactor(error): refactor standard throws to non-retryable ApplicationFailure in workflows and activities
2026-05-28 10:43:54 +08:00
yiling
3b08ade55d
refactor(workflow): throw non-retryable ApplicationFailure for validation errors
2026-05-28 09:57:30 +08:00
yiling
11d2e89a48
refactor(workflow): enforce strict nested type safety for WorkflowTaskPayload
2026-05-28 09:48:05 +08:00
yiling
911e369782
refactor(workflow): split database and agent activities for strict database isolation
2026-05-27 23:40:14 +08:00
yiling
64cb85df78
fix(collection): use project root as folder tree root in selector
2026-05-25 22:33:48 +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
206e1ae7b1
fix(comment): remove unique constraint on session_id to allow multiple agent replies
2026-05-22 11:05:40 +08:00
yiling
96d05083fa
fix(ui): preprocess markdown in session logs to resolve display bugs
2026-05-22 10:34:58 +08:00
yiling
db6e84817c
fix(workflow): remove unnecessary typecast and unused import in database activity
2026-05-22 09:54:35 +08:00
yiling
13af691aa5
refactor(workflow): separate database and agent activities
2026-05-22 09:49:22 +08:00
yiling
4f2fdbcf3f
feat(agent): resolve user mentions in comment history context
2026-05-22 09:36:46 +08:00
yiling
107f2e8a7a
refactor(activities): always format comments as user role messages in aiChatActivity
2026-05-22 09:25:27 +08:00
yiling
e50b895ed5
refactor(activities): improve type-safety and primary key generation in aiChatActivity
2026-05-22 09:20:49 +08:00
yiling
979e4711c5
feat(agent): add agent chat context session routing and thread support
2026-05-21 22:51: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
161ba3a466
feat(agent): replace isAi with sessionId & implement admin logs UI
2026-05-21 14:58:31 +08:00
yiling
6b946d3d5c
refactor(agent): decouple agent orchestration and relocate workflows
...
Decoupled high-level agent orchestration (chat, chatWithAgent, autofill) from sandbox execution in `src/agent` to `src/services/agent/agent.ts`. Relocated all related workflows and activities to `src/workflow`.
2026-05-20 22:43:31 +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