mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-19 14:16:29 +00:00
Introduce @shumai/operations (pure definitions: Zod schemas, metadata, CLI hints) and @shumai/core/src/operations (implementOperation and the runOperation pipeline: validate, authorize, prepare, execute, validate output, audit). Migrate list_assets, create_folder, rename_asset, move_assets and delete_asset to Operations, and add list_projects. The agent now builds these tools from the registry, and the folder create/rename, file rename and reparent routes call the same Operations. Audit logs gain a nullable via column recording the surface. A lint rule keeps the Prisma client out of Operation implementations.
29 lines
740 B
JSON
29 lines
740 B
JSON
{
|
|
"name": "@shumai/agent",
|
|
"version": "0.6.1",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"dependencies": {
|
|
"@anthropic-ai/sandbox-runtime": "0.0.74",
|
|
"@earendil-works/pi-agent-core": "0.82.1",
|
|
"@earendil-works/pi-ai": "0.82.1",
|
|
"@google/genai": "2.28.0",
|
|
"@shumai/core": "workspace:*",
|
|
"@shumai/db": "workspace:*",
|
|
"@shumai/dtos": "workspace:*",
|
|
"@shumai/operations": "workspace:*",
|
|
"@shumai/workflow-core": "workspace:*",
|
|
"adm-zip": "0.6.0",
|
|
"jittered-fractional-indexing": "1.0.1",
|
|
"sharp": "0.35.4",
|
|
"typebox": "1.3.22",
|
|
"ulid": "3.0.2",
|
|
"zod": "4.5.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/adm-zip": "0.5.8"
|
|
}
|
|
}
|