Commit Graph
5 Commits
Author SHA1 Message Date
yiling df57c9d2b9 feat(agent): strip and restore skill content and preserve envs on session rebuild 2026-06-01 14:34:23 +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 2e11748beb perf(agent): optimize getPathToRoot to fetch all session entries in one query 2026-05-21 12:45:26 +08:00
yiling 74993c9803 fix(agent): use ULID for session entry IDs and verify sort order in tests 2026-05-21 12:37:47 +08:00
yiling a73a39f2aa feat(agent): migrate to pi-agent-core harness and implement DatabaseSessionStorage 2026-05-21 11:50:09 +08:00