Commit Graph
20 Commits
Author SHA1 Message Date
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