@kmlckj/licos-ai-cli 1.8.0 → 1.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,35 +1,35 @@
1
- {
2
- "name": "server",
3
- "private": true,
4
- "type": "module",
5
- "scripts": {
6
- "build": "node build.js",
7
- "dev": "bash ../.licosproj/scripts/server_dev_run.sh",
8
- "preinstall": "node -e \"const ua=process.env.npm_config_user_agent||''; if(!ua.includes('pnpm')){console.error('Use pnpm to install dependencies.'); process.exit(1)}\"",
9
- "start": "NODE_ENV=production PORT=${PORT:-5000} node dist/index.js",
10
- "lint": "tsc --noEmit"
11
- },
12
- "dependencies": {
13
- "@kmlckj/licos-dev-sdk": "0.5.0",
14
- "@kmlckj/licos-platform-sdk": "0.15.5",
15
- "cors": "^2.8.5",
16
- "dayjs": "^1.11.19",
17
- "dotenv": "^17.2.3",
18
- "drizzle-orm": "^0.45.1",
19
- "drizzle-zod": "^0.8.3",
20
- "express": "^4.22.1",
21
- "multer": "^2.0.2",
22
- "pg": "^8.16.3",
23
- "zod": "^4.2.1"
24
- },
25
- "devDependencies": {
26
- "@types/cors": "^2.8.19",
27
- "@types/express": "^5.0.6",
28
- "@types/multer": "^2.0.0",
29
- "@types/pg": "^8.16.0",
30
- "drizzle-kit": "^0.31.8",
31
- "esbuild": "0.27.2",
32
- "tsx": "^4.21.0",
33
- "typescript": "^5.8.3"
34
- }
35
- }
1
+ {
2
+ "name": "server",
3
+ "private": true,
4
+ "type": "module",
5
+ "scripts": {
6
+ "build": "node build.js",
7
+ "dev": "bash ../.licosproj/scripts/server_dev_run.sh",
8
+ "preinstall": "node -e \"const ua=process.env.npm_config_user_agent||''; if(!ua.includes('pnpm')){console.error('Use pnpm to install dependencies.'); process.exit(1)}\"",
9
+ "start": "NODE_ENV=production PORT=${PORT:-5000} node dist/index.js",
10
+ "lint": "tsc --noEmit"
11
+ },
12
+ "dependencies": {
13
+ "@kmlckj/licos-dev-sdk": "0.5.0",
14
+ "@kmlckj/licos-platform-sdk": "0.15.5",
15
+ "cors": "^2.8.5",
16
+ "dayjs": "^1.11.19",
17
+ "dotenv": "^17.2.3",
18
+ "drizzle-orm": "^0.45.1",
19
+ "drizzle-zod": "^0.8.3",
20
+ "express": "^4.22.1",
21
+ "multer": "^2.0.2",
22
+ "pg": "^8.16.3",
23
+ "zod": "^4.2.1"
24
+ },
25
+ "devDependencies": {
26
+ "@types/cors": "^2.8.19",
27
+ "@types/express": "^5.0.6",
28
+ "@types/multer": "^2.0.0",
29
+ "@types/pg": "^8.16.0",
30
+ "drizzle-kit": "^0.31.8",
31
+ "esbuild": "0.27.2",
32
+ "tsx": "^4.21.0",
33
+ "typescript": "^5.8.3"
34
+ }
35
+ }
@@ -1,19 +1,19 @@
1
- # 查阅当前项目的 SDK
2
-
3
- 平台功能、方法、参数和限制以项目实际安装包文档为准;此文件记录查阅与接入位置。
4
-
5
- 先检查本项目 package.json 和锁文件。安装完成后,在项目根目录执行:
6
-
7
- ```sh
8
- node --input-type=module -e 'import { fileURLToPath } from "node:url"; console.log(fileURLToPath(new URL("./docs/project-runtime.md", import.meta.resolve("@kmlckj/licos-platform-sdk"))))'
9
- ```
10
-
11
- 同目录的 `project-runtime-api.md` 列出完整接口。旧包不存在该文档时查实际安装包的 README 与声明文件,说明能力差异,不静默升级。
12
-
13
- 服务端接入放在 `src/app/api/` 路由或 `src/lib/` 的服务端模块;浏览器组件放在 `src/components/`。
14
-
15
- 接入步骤与协议见上述 SDK 文档;开发约束沿用项目规则。这里只维护本模板的目录与文档入口。
16
-
17
- ## 通用模型服务
18
-
19
- 全局模型目录、输入输出定义和调用使用服务端 `@kmlckj/licos-dev-sdk` 的 `ModelServiceClient`,查实际安装包 README 和类型声明。浏览器通过项目自身后端调用,外部模型授权由平台配置。
1
+ # 查阅当前项目的 SDK
2
+
3
+ 平台功能、方法、参数和限制以项目实际安装包文档为准;此文件记录查阅与接入位置。
4
+
5
+ 先检查本项目 package.json 和锁文件。安装完成后,在项目根目录执行:
6
+
7
+ ```sh
8
+ node --input-type=module -e 'import { fileURLToPath } from "node:url"; console.log(fileURLToPath(new URL("./docs/project-runtime.md", import.meta.resolve("@kmlckj/licos-platform-sdk"))))'
9
+ ```
10
+
11
+ 同目录的 `project-runtime-api.md` 列出完整接口。旧包不存在该文档时查实际安装包的 README 与声明文件,说明能力差异,不静默升级。
12
+
13
+ 服务端接入放在 `src/app/api/` 路由或 `src/lib/` 的服务端模块;浏览器组件放在 `src/components/`。
14
+
15
+ 接入步骤与协议见上述 SDK 文档;开发约束沿用项目规则。这里只维护本模板的目录与文档入口。
16
+
17
+ ## 通用模型服务
18
+
19
+ 全局模型目录、输入输出定义和调用使用服务端 `@kmlckj/licos-dev-sdk` 的 `ModelServiceClient`,查实际安装包 README 和类型声明。浏览器通过项目自身后端调用,外部模型授权由平台配置。
@@ -1,95 +1,95 @@
1
- {
2
- "name": "<%= appName %>",
3
- "version": "0.1.0",
4
- "private": true,
5
- "scripts": {
6
- "build": "bash ./scripts/build.sh",
7
- "dev": "bash ./scripts/dev.sh",
8
- "ensure:deps": "node -e \"const fs=require('fs'); const bins=['node_modules/.bin/next','node_modules/.bin/tsx','node_modules/.bin/tsup','node_modules/.bin/eslint','node_modules/.bin/tsc']; process.exit(bins.every((p)=>fs.existsSync(p)||fs.existsSync(p+'.cmd'))?0:1)\" || pnpm install --registry=https://registry.npmmirror.com --prefer-frozen-lockfile --prefer-offline --reporter=append-only || pnpm install --registry=https://registry.npmjs.org --no-frozen-lockfile --reporter=append-only",
9
- "prebuild": "pnpm run ensure:deps",
10
- "predev": "pnpm run ensure:deps",
11
- "preinstall": "node -e \"const ua=process.env.npm_config_user_agent||''; if(!ua.includes('pnpm')){console.error('Use pnpm to install dependencies.'); process.exit(1)}\"",
12
- "lint": "eslint",
13
- "start": "bash ./scripts/start.sh",
14
- "ts-check": "tsc -p tsconfig.json"
15
- },
16
- "dependencies": {
17
- "@kmlckj/licos-dev-sdk": "0.5.0",
18
- "@kmlckj/licos-platform-sdk": "0.15.5",
19
- "@aws-sdk/client-s3": "^3.958.0",
20
- "@aws-sdk/lib-storage": "^3.958.0",
21
- "@hookform/resolvers": "^5.2.2",
22
- "@radix-ui/react-accordion": "^1.2.12",
23
- "@radix-ui/react-alert-dialog": "^1.1.15",
24
- "@radix-ui/react-aspect-ratio": "^1.1.8",
25
- "@radix-ui/react-avatar": "^1.1.11",
26
- "@radix-ui/react-checkbox": "^1.3.3",
27
- "@radix-ui/react-collapsible": "^1.1.12",
28
- "@radix-ui/react-context-menu": "^2.2.16",
29
- "@radix-ui/react-dialog": "^1.1.15",
30
- "@radix-ui/react-dropdown-menu": "^2.1.16",
31
- "@radix-ui/react-hover-card": "^1.1.15",
32
- "@radix-ui/react-label": "^2.1.8",
33
- "@radix-ui/react-menubar": "^1.1.16",
34
- "@radix-ui/react-navigation-menu": "^1.2.14",
35
- "@radix-ui/react-popover": "^1.1.15",
36
- "@radix-ui/react-progress": "^1.1.8",
37
- "@radix-ui/react-radio-group": "^1.3.8",
38
- "@radix-ui/react-scroll-area": "^1.2.10",
39
- "@radix-ui/react-select": "^2.2.6",
40
- "@radix-ui/react-separator": "^1.1.8",
41
- "@radix-ui/react-slider": "^1.3.6",
42
- "@radix-ui/react-slot": "^1.2.4",
43
- "@radix-ui/react-switch": "^1.2.6",
44
- "@radix-ui/react-tabs": "^1.1.13",
45
- "@radix-ui/react-toggle": "^1.1.10",
46
- "@radix-ui/react-toggle-group": "^1.1.11",
47
- "@radix-ui/react-tooltip": "^1.2.8",
48
- "class-variance-authority": "^0.7.1",
49
- "clsx": "^2.1.1",
50
- "cmdk": "^1.1.1",
51
- "date-fns": "^4.1.0",
52
- "dotenv": "^17.2.3",
53
- "drizzle-kit": "^0.31.8",
54
- "drizzle-orm": "^0.45.1",
55
- "drizzle-zod": "^0.8.3",
56
- "embla-carousel-react": "^8.6.0",
57
- "input-otp": "^1.4.2",
58
- "lucide-react": "^0.468.0",
59
- "next": "16.1.1",
60
- "next-themes": "^0.4.6",
61
- "pg": "^8.16.3",
62
- "react": "19.2.3",
63
- "react-day-picker": "^9.13.0",
64
- "react-dom": "19.2.3",
65
- "react-hook-form": "^7.70.0",
66
- "react-resizable-panels": "^4.2.0",
67
- "recharts": "2.15.4",
68
- "sonner": "^2.0.7",
69
- "tailwind-merge": "^2.6.0",
70
- "tw-animate-css": "^1.4.0",
71
- "vaul": "^1.1.2",
72
- "zod": "^4.3.5"
73
- },
74
- "devDependencies": {
75
- "@react-dev-inspector/babel-plugin": "^2.0.1",
76
- "@react-dev-inspector/middleware": "^2.0.1",
77
- "@tailwindcss/postcss": "^4",
78
- "@types/node": "^20",
79
- "@types/pg": "^8.16.0",
80
- "@types/react": "^19",
81
- "@types/react-dom": "^19",
82
- "eslint": "^9",
83
- "eslint-config-next": "16.1.1",
84
- "react-dev-inspector": "^2.0.1",
85
- "shadcn": "latest",
86
- "tailwindcss": "^4",
87
- "tsup": "^8.3.5",
88
- "tsx": "^4.19.2",
89
- "typescript": "^5"
90
- },
91
- "packageManager": "pnpm@9.0.0",
92
- "engines": {
93
- "pnpm": ">=9.0.0"
94
- }
95
- }
1
+ {
2
+ "name": "<%= appName %>",
3
+ "version": "0.1.0",
4
+ "private": true,
5
+ "scripts": {
6
+ "build": "bash ./scripts/build.sh",
7
+ "dev": "bash ./scripts/dev.sh",
8
+ "ensure:deps": "node -e \"const fs=require('fs'); const bins=['node_modules/.bin/next','node_modules/.bin/tsx','node_modules/.bin/tsup','node_modules/.bin/eslint','node_modules/.bin/tsc']; process.exit(bins.every((p)=>fs.existsSync(p)||fs.existsSync(p+'.cmd'))?0:1)\" || pnpm install --registry=https://registry.npmmirror.com --prefer-frozen-lockfile --prefer-offline --reporter=append-only || pnpm install --registry=https://registry.npmjs.org --no-frozen-lockfile --reporter=append-only",
9
+ "prebuild": "pnpm run ensure:deps",
10
+ "predev": "pnpm run ensure:deps",
11
+ "preinstall": "node -e \"const ua=process.env.npm_config_user_agent||''; if(!ua.includes('pnpm')){console.error('Use pnpm to install dependencies.'); process.exit(1)}\"",
12
+ "lint": "eslint",
13
+ "start": "bash ./scripts/start.sh",
14
+ "ts-check": "tsc -p tsconfig.json"
15
+ },
16
+ "dependencies": {
17
+ "@kmlckj/licos-dev-sdk": "0.5.0",
18
+ "@kmlckj/licos-platform-sdk": "0.15.5",
19
+ "@aws-sdk/client-s3": "^3.958.0",
20
+ "@aws-sdk/lib-storage": "^3.958.0",
21
+ "@hookform/resolvers": "^5.2.2",
22
+ "@radix-ui/react-accordion": "^1.2.12",
23
+ "@radix-ui/react-alert-dialog": "^1.1.15",
24
+ "@radix-ui/react-aspect-ratio": "^1.1.8",
25
+ "@radix-ui/react-avatar": "^1.1.11",
26
+ "@radix-ui/react-checkbox": "^1.3.3",
27
+ "@radix-ui/react-collapsible": "^1.1.12",
28
+ "@radix-ui/react-context-menu": "^2.2.16",
29
+ "@radix-ui/react-dialog": "^1.1.15",
30
+ "@radix-ui/react-dropdown-menu": "^2.1.16",
31
+ "@radix-ui/react-hover-card": "^1.1.15",
32
+ "@radix-ui/react-label": "^2.1.8",
33
+ "@radix-ui/react-menubar": "^1.1.16",
34
+ "@radix-ui/react-navigation-menu": "^1.2.14",
35
+ "@radix-ui/react-popover": "^1.1.15",
36
+ "@radix-ui/react-progress": "^1.1.8",
37
+ "@radix-ui/react-radio-group": "^1.3.8",
38
+ "@radix-ui/react-scroll-area": "^1.2.10",
39
+ "@radix-ui/react-select": "^2.2.6",
40
+ "@radix-ui/react-separator": "^1.1.8",
41
+ "@radix-ui/react-slider": "^1.3.6",
42
+ "@radix-ui/react-slot": "^1.2.4",
43
+ "@radix-ui/react-switch": "^1.2.6",
44
+ "@radix-ui/react-tabs": "^1.1.13",
45
+ "@radix-ui/react-toggle": "^1.1.10",
46
+ "@radix-ui/react-toggle-group": "^1.1.11",
47
+ "@radix-ui/react-tooltip": "^1.2.8",
48
+ "class-variance-authority": "^0.7.1",
49
+ "clsx": "^2.1.1",
50
+ "cmdk": "^1.1.1",
51
+ "date-fns": "^4.1.0",
52
+ "dotenv": "^17.2.3",
53
+ "drizzle-kit": "^0.31.8",
54
+ "drizzle-orm": "^0.45.1",
55
+ "drizzle-zod": "^0.8.3",
56
+ "embla-carousel-react": "^8.6.0",
57
+ "input-otp": "^1.4.2",
58
+ "lucide-react": "^0.468.0",
59
+ "next": "16.1.1",
60
+ "next-themes": "^0.4.6",
61
+ "pg": "^8.16.3",
62
+ "react": "19.2.3",
63
+ "react-day-picker": "^9.13.0",
64
+ "react-dom": "19.2.3",
65
+ "react-hook-form": "^7.70.0",
66
+ "react-resizable-panels": "^4.2.0",
67
+ "recharts": "2.15.4",
68
+ "sonner": "^2.0.7",
69
+ "tailwind-merge": "^2.6.0",
70
+ "tw-animate-css": "^1.4.0",
71
+ "vaul": "^1.1.2",
72
+ "zod": "^4.3.5"
73
+ },
74
+ "devDependencies": {
75
+ "@react-dev-inspector/babel-plugin": "^2.0.1",
76
+ "@react-dev-inspector/middleware": "^2.0.1",
77
+ "@tailwindcss/postcss": "^4",
78
+ "@types/node": "^20",
79
+ "@types/pg": "^8.16.0",
80
+ "@types/react": "^19",
81
+ "@types/react-dom": "^19",
82
+ "eslint": "^9",
83
+ "eslint-config-next": "16.1.1",
84
+ "react-dev-inspector": "^2.0.1",
85
+ "shadcn": "latest",
86
+ "tailwindcss": "^4",
87
+ "tsup": "^8.3.5",
88
+ "tsx": "^4.19.2",
89
+ "typescript": "^5"
90
+ },
91
+ "packageManager": "pnpm@9.0.0",
92
+ "engines": {
93
+ "pnpm": ">=9.0.0"
94
+ }
95
+ }