feat(cli): add shumai-cli and token authentication

This commit is contained in:
yiling
2026-06-21 12:35:12 +08:00
parent e33cbdb37c
commit 90ef063d43
40 changed files with 3609 additions and 18 deletions
+27 -11
View File
@@ -32,7 +32,7 @@
},
"apps/agent": {
"name": "@shumai/agent-app",
"version": "0.0.6",
"version": "0.0.10",
"bin": {
"shumai-agent": "./src/index.ts",
},
@@ -42,9 +42,23 @@
"@shumai/workflow-core": "workspace:*",
},
},
"apps/shumai-cli": {
"name": "@shumai/cli",
"version": "0.0.10",
"bin": {
"shumai-cli": "./src/index.ts",
},
"dependencies": {
"@shumai/api": "workspace:*",
"@shumai/core": "workspace:*",
"@shumai/dtos": "workspace:*",
"hono": "4.12.23",
"ulid": "^3.0.2",
},
},
"apps/transcode": {
"name": "@shumai/transcode-app",
"version": "0.0.6",
"version": "0.0.10",
"bin": {
"shumai-transcode": "./src/index.ts",
},
@@ -56,7 +70,7 @@
},
"apps/web": {
"name": "@shumai/web-app",
"version": "0.0.6",
"version": "0.0.10",
"dependencies": {
"@shumai/agent": "workspace:*",
"@shumai/api": "workspace:*",
@@ -71,7 +85,7 @@
},
"packages/agent": {
"name": "@shumai/agent",
"version": "0.0.6",
"version": "0.0.10",
"dependencies": {
"@anthropic-ai/sandbox-runtime": "0.0.52",
"@earendil-works/pi-agent-core": "0.78.0",
@@ -95,7 +109,7 @@
},
"packages/api": {
"name": "@shumai/api",
"version": "0.0.6",
"version": "0.0.10",
"dependencies": {
"@hono/zod-validator": "0.7.6",
"@shumai/core": "workspace:*",
@@ -109,7 +123,7 @@
},
"packages/core": {
"name": "@shumai/core",
"version": "0.0.6",
"version": "0.0.10",
"dependencies": {
"@shumai/db": "workspace:*",
"@shumai/dtos": "workspace:*",
@@ -136,7 +150,7 @@
},
"packages/db": {
"name": "@shumai/db",
"version": "0.0.6",
"version": "0.0.10",
"dependencies": {
"@earendil-works/pi-agent-core": "0.78.0",
"@prisma/adapter-pg": "7.8.0",
@@ -152,14 +166,14 @@
},
"packages/dtos": {
"name": "@shumai/dtos",
"version": "0.0.6",
"version": "0.0.10",
"dependencies": {
"zod": "4.4.3",
},
},
"packages/transcode": {
"name": "@shumai/transcode",
"version": "0.0.6",
"version": "0.0.10",
"dependencies": {
"@shumai/core": "workspace:*",
"@shumai/db": "workspace:*",
@@ -173,7 +187,7 @@
},
"packages/webui": {
"name": "@shumai/webui",
"version": "0.0.6",
"version": "0.0.10",
"dependencies": {
"@base-ui/react": "1.5.0",
"@dnd-kit/abstract": "0.4.0",
@@ -273,7 +287,7 @@
},
"packages/workflow-core": {
"name": "@shumai/workflow-core",
"version": "0.0.6",
"version": "0.0.10",
"dependencies": {
"@shumai/core": "workspace:*",
"@shumai/db": "workspace:*",
@@ -968,6 +982,8 @@
"@shumai/api": ["@shumai/api@workspace:packages/api"],
"@shumai/cli": ["@shumai/cli@workspace:apps/shumai-cli"],
"@shumai/core": ["@shumai/core@workspace:packages/core"],
"@shumai/db": ["@shumai/db@workspace:packages/db"],