Commit Graph
31 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 81d7e2b845 chore(agent): remove unused os import from index.ts 2026-05-31 19:16:38 +08:00
yiling b53c40cbde update 2026-05-31 19:11:27 +08:00
yiling be7dc45051 feat(agent): restrict sandbox filesystem access and update system prompt instructions 2026-05-31 12:55:45 +08:00
yiling 3f5b564726 fix(agent): upload files and versions using compliant S3 keys 2026-05-31 10:48:06 +08:00
yiling c3cce15d7a feat(agent): format available skills as standard XML with absolute path locations 2026-05-31 10:20:20 +08:00
yiling 975a0cfcda feat(agent): add structured error logging to sandboxed-bash tool 2026-05-31 10:02:05 +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 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 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 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 2c106bbb77 feat(agent): add teamId foreign key to agent table and refactor service queries 2026-05-21 20:41:37 +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 be07f6b26c fix(agent): correct lint errors in database session storage tests 2026-05-21 11:57:48 +08:00
yiling a73a39f2aa feat(agent): migrate to pi-agent-core harness and implement DatabaseSessionStorage 2026-05-21 11:50:09 +08:00
yiling d905003f25 refactor(agent): instantiate session manager internally inside createAgentSession 2026-05-20 22:52:54 +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 47ce4f5d18 fix(skill): fallback to host environment only if skill config value is empty 2026-05-20 22:14:43 +08:00
yiling 1d00de51b0 feat(agent): finalize sandbox integration with strict isolation and tests 2026-05-20 21:49:42 +08:00
yiling e87ca5bb23 refactor(agent): replace any-typed Tool alias with ToolDefinition from pi-coding-agent 2026-05-20 14:30:58 +08:00
yiling 712b9d4185 refactor(agent): centralize sandbox allowedDomains default in prisma schema 2026-05-20 14:07:34 +08:00
yiling fb30e63b47 fix(agent): resolve lint and type errors in sandboxed bash tests 2026-05-20 13:49:59 +08:00
yiling ab669de84a test(agent): add unit tests for sandboxed bash tool 2026-05-20 11:40:40 +08:00
yiling 9acf5f059b refactor(agent): move sandboxed bash tool to dedicated file 2026-05-20 11:33:24 +08:00
yiling 4fddb6d85e docs(agent): document global SandboxManager architectural constraints 2026-05-20 11:10:56 +08:00
yiling e84632d5e7 fix(agent): enforce stricter sandbox filesystem isolation 2026-05-20 11:03:50 +08:00
yiling 4e9ad7bac2 feat(agent): restrict sandbox env to only skill-required variables 2026-05-20 10:44:28 +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