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
2026-05-19 16:05:09 +08:00
2026-05-19 16:05:09 +08:00
2026-05-19 16:05:09 +08:00
2026-05-19 16:05:09 +08:00
2026-05-19 16:05:09 +08:00
2026-05-19 16:05:09 +08:00
2026-05-19 16:05:09 +08:00
2026-05-19 16:05:09 +08:00
2026-05-19 16:05:09 +08:00
2026-05-19 16:05:09 +08:00
2026-05-19 16:05:09 +08:00
2026-05-19 16:05:09 +08:00
2026-05-19 16:05:09 +08:00
Languages
TypeScript 82.2%
JavaScript 17%
CSS 0.5%
PLpgSQL 0.2%