yiling
9c20938628
fix(agent): assign lower sortIndex to newer versions to ensure they are marked as latest
2026-05-31 10:56:52 +08:00
yiling
c2fbd3ed53
fix(agent): trigger post-upload transcode and AI workflows for agent-created assets
2026-05-31 09:38:18 +08:00
yiling
a8df6b382d
feat(agent): add local write filesystem constraints to agent system prompt
2026-05-30 23:27:49 +08:00
yiling
ff5196a517
fix(agent): pre-upload files in agent tools before database workflow execution to ensure worker isolation
2026-05-30 19:24:04 +08:00
yiling
2e685ceccb
perf(workflow): optimize getMimeType to read first 4100 bytes instead of whole file
2026-05-30 19:03:13 +08:00
yiling
2fe66a74e3
feat(agent): update agent system prompt with platform instructions and file system constraints
2026-05-30 18:50:12 +08:00
yiling
39d45a1dc7
feat(agent): implement secure database-backed agent tools and comments context
2026-05-30 17:09:18 +08:00
yiling
53c2792cf5
feat(workflow): use atomic updateMany CAS locking to prevent multi-replica polling race conditions
2026-05-30 11:19:15 +08:00
yiling
2119eb4194
feat(workflow): lock task status and start heartbeat immediately upon queueing
2026-05-30 11:12:58 +08:00
yiling
aebe90f280
fix(workflow): resolve microtask race condition in ConcurrencyLimiter
2026-05-30 10:58:08 +08:00
yiling
29f7a97a4a
feat(workflow): add concurrency control and task heartbeat loop to local executor
2026-05-30 10:13:31 +08:00
yiling
ae445fa58a
fix(workflow): remove redundant submit call from executeWait
...
Remove the duplicate 'this.submit(task)' call in 'executeWait' as task submission is already handled automatically upon task creation by the Prisma Client Extension in 'src/db.ts'.
2026-05-29 20:00:47 +08:00
yiling
9da3d6e1ce
fix(workflow): remove direct prisma database calls from query-embedding-for-search workflow
...
- Refactor queryEmbeddingForSearch workflow to use activities for DB updates
- Add generic updateWorkflowTaskActivity database activity to decouple workflows from prisma runtime
- Resolves webpack bundler scheme errors during docker build
2026-05-29 12:31:53 +08:00
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