Files
shumai/tsconfig.json
Yiling-J 76057ccd21 feat(operations): add shared Operation layer for agent capabilities (#494)
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.
2026-10-27 08:09:09 +08:00

39 lines
1.6 KiB
JSON

{
"compilerOptions": {
"strict": true,
"jsx": "react-jsx",
"jsxImportSource": "react",
"module": "esnext",
"moduleResolution": "bundler",
"target": "esnext",
"allowImportingTsExtensions": true,
"noEmit": true,
"skipLibCheck": true,
"types": ["bun"],
"paths": {
"@/ui/*": ["./packages/webui/*"],
"@shumai/webui": ["./packages/webui/index.html"],
"@shumai/api": ["./packages/api/src/index.ts"],
"@shumai/core": ["./packages/core/src/index.ts"],
"@shumai/core/src/*": ["./packages/core/src/*"],
"@shumai/db": ["./packages/db/src/index.ts"],
"@shumai/db/enums": ["./packages/db/src/generated/prisma/enums.ts"],
"@shumai/db/test": ["./packages/db/src/test.ts"],
"@shumai/dtos": ["./packages/dtos/src/index.ts"],
"@shumai/operations": ["./packages/operations/src/index.ts"],
"@shumai/operations/src/*": ["./packages/operations/src/*"],
"@shumai/workflow-core": ["./packages/workflow-core/src/index.ts"],
"@shumai/workflow-core/src/*": ["./packages/workflow-core/src/*"],
"@shumai/agent": ["./packages/agent/src/index.ts"],
"@shumai/agent/src/*": ["./packages/agent/src/*"],
"@shumai/transcode": ["./packages/transcode/src/index.ts"],
"@shumai/transcode/src/*": ["./packages/transcode/src/*"],
"@shumai/cli": ["./apps/cli/src/index.ts"],
"@shumai/premiere-uxp": ["./apps/premiere-uxp/src/index.tsx"],
"@shumai/tableprinter": ["./packages/tableprinter/src/index.ts"],
"@shumai/e2e/*": ["./packages/e2e/*"]
}
},
"exclude": ["node_modules"]
}