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.
67 lines
1.9 KiB
JSON
67 lines
1.9 KiB
JSON
{
|
|
"name": "@shumai/core",
|
|
"version": "0.6.1",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"dependencies": {
|
|
"@ai-sdk/alibaba": "2.0.38",
|
|
"@ai-sdk/amazon-bedrock": "5.0.67",
|
|
"@ai-sdk/azure": "4.0.53",
|
|
"@ai-sdk/black-forest-labs": "2.0.34",
|
|
"@ai-sdk/bytedance": "2.0.36",
|
|
"@ai-sdk/deepinfra": "3.0.40",
|
|
"@ai-sdk/fal": "3.0.34",
|
|
"@ai-sdk/fireworks": "3.0.43",
|
|
"@ai-sdk/google": "4.0.57",
|
|
"@ai-sdk/google-vertex": "5.0.69",
|
|
"@ai-sdk/klingai": "4.0.35",
|
|
"@ai-sdk/luma": "3.0.34",
|
|
"@ai-sdk/minimax": "3.0.21",
|
|
"@ai-sdk/openai": "4.0.51",
|
|
"@ai-sdk/prodia": "2.0.34",
|
|
"@ai-sdk/replicate": "3.0.34",
|
|
"@ai-sdk/togetherai": "3.0.41",
|
|
"@ai-sdk/xai": "4.0.49",
|
|
"@anthropic-ai/sandbox-runtime": "0.0.74",
|
|
"@aws-sdk/client-s3": "3.1121.0",
|
|
"@aws-sdk/s3-request-presigner": "3.1121.0",
|
|
"@earendil-works/pi-agent-core": "0.82.1",
|
|
"@earendil-works/pi-ai": "0.82.1",
|
|
"@google/genai": "2.28.0",
|
|
"@modelcontextprotocol/client": "2.0.0",
|
|
"@shumai/db": "workspace:*",
|
|
"@shumai/dtos": "workspace:*",
|
|
"@shumai/operations": "workspace:*",
|
|
"@sinclair/typebox": "0.34.52",
|
|
"adm-zip": "0.6.0",
|
|
"ai": "7.0.84",
|
|
"better-auth": "1.6.11",
|
|
"csv-parse": "7.0.2",
|
|
"date-fns": "4.4.0",
|
|
"dotenv": "17.4.2",
|
|
"dotenv-expand": "13.0.0",
|
|
"exiftool-vendored": "38.1.0",
|
|
"extract-zip": "2.0.1",
|
|
"hono": "4.13.5",
|
|
"jittered-fractional-indexing": "1.0.1",
|
|
"nodemailer": "10.0.10",
|
|
"pdfkit": "0.20.1",
|
|
"pino": "10.3.1",
|
|
"sharp": "0.35.4",
|
|
"tweetnacl": "1.0.3",
|
|
"typebox": "1.3.22",
|
|
"ulid": "3.0.2",
|
|
"yaml": "2.9.0",
|
|
"zod": "4.5.4"
|
|
},
|
|
"devDependencies": {
|
|
"@modelcontextprotocol/server": "2.0.0",
|
|
"@types/adm-zip": "0.5.8",
|
|
"@types/extract-zip": "2.0.3",
|
|
"@types/nodemailer": "8.0.2",
|
|
"@types/pdfkit": "0.17.6"
|
|
}
|
|
}
|