@tbox.cn/app-template-agent 0.10.30 → 0.10.31
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.
- package/AGENTS.md +4 -0
- package/package.json +2 -2
- package/pnpm-lock.template.yaml +21 -4
- package/pnpm-workspace.template.yaml +2 -2
package/AGENTS.md
CHANGED
|
@@ -169,3 +169,7 @@ pnpm install
|
|
|
169
169
|
修改本应用任何代码时,导出面与装配文件的注释保持**自包含短文档**(用途 + 关键约束 +
|
|
170
170
|
消费视角);不引用仓库内部路径与决策编号——它们对沙箱外的读者无意义。指引类内容
|
|
171
171
|
不写进注释:集成指引用 `npx --yes @tbox.cn/app-cli skills get integration`(真源),本文件为发现入口。
|
|
172
|
+
|
|
173
|
+
## 首页卡片源码
|
|
174
|
+
|
|
175
|
+
定制首页时先运行 `npx --yes @tbox.cn/app-cli home list`、`home inspect <id>`,再用 `home add <ids...>` 按需复制卡片源码。复制后读取 `apps/client/src/components/home/shared/home-integration.md` 组合并接入 home 槽,后续直接改本地源码。已有 home 槽先确认替换方案,不能覆盖商圈业务首页。资源包不作为应用运行依赖;没有定制首页需求时无需安装。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tbox.cn/app-template-agent",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.31",
|
|
4
4
|
"description": "tbox AI Agent 全栈模板(多包 pnpm workspace):apps/client + apps/server。唯一模板(W4 单一模板统一化:缺省带 AI 支付体验的 chat 形态;mall 能力经 profiles/mall 加装),能力经 CLI module add 模块扩展(shopping-guide/member 等)。",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=24.0.0 <25.0.0"
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"typescript-eslint": "8.67.0",
|
|
37
37
|
"eslint-plugin-react-hooks": "5.2.0",
|
|
38
38
|
"vite": "6.4.3",
|
|
39
|
-
"@tbox.cn/app-sdk-server": "0.26.
|
|
39
|
+
"@tbox.cn/app-sdk-server": "0.26.5"
|
|
40
40
|
},
|
|
41
41
|
"license": "MIT",
|
|
42
42
|
"publishConfig": {
|
package/pnpm-lock.template.yaml
CHANGED
|
@@ -25,8 +25,8 @@ catalogs:
|
|
|
25
25
|
specifier: 0.21.4
|
|
26
26
|
version: 0.21.4
|
|
27
27
|
'@tbox.cn/app-sdk-server':
|
|
28
|
-
specifier: 0.26.
|
|
29
|
-
version: 0.26.
|
|
28
|
+
specifier: 0.26.5
|
|
29
|
+
version: 0.26.5
|
|
30
30
|
'@tbox.cn/app-theme-tbox':
|
|
31
31
|
specifier: 0.1.6
|
|
32
32
|
version: 0.1.6
|
|
@@ -103,7 +103,7 @@ importers:
|
|
|
103
103
|
devDependencies:
|
|
104
104
|
'@tbox.cn/app-sdk-server':
|
|
105
105
|
specifier: 'catalog:'
|
|
106
|
-
version: 0.26.
|
|
106
|
+
version: 0.26.5
|
|
107
107
|
eslint:
|
|
108
108
|
specifier: 'catalog:'
|
|
109
109
|
version: 9.39.5
|
|
@@ -194,7 +194,7 @@ importers:
|
|
|
194
194
|
version: 0.21.4
|
|
195
195
|
'@tbox.cn/app-sdk-server':
|
|
196
196
|
specifier: 'catalog:'
|
|
197
|
-
version: 0.26.
|
|
197
|
+
version: 0.26.5
|
|
198
198
|
typescript:
|
|
199
199
|
specifier: 'catalog:'
|
|
200
200
|
version: 5.9.3
|
|
@@ -1446,6 +1446,11 @@ packages:
|
|
|
1446
1446
|
engines: {node: '>=20.0.0'}
|
|
1447
1447
|
hasBin: true
|
|
1448
1448
|
|
|
1449
|
+
'@tbox.cn/app-sdk-server@0.26.5':
|
|
1450
|
+
resolution: {integrity: sha512-zuXD5QxxEaN/0hfGFGIhX5oDQJRn3mWXPGQjmeEl9hEhdNAeu1TyD3qhTNmNAbOjlS8ETbhLCcjVxRx5RmSrxQ==}
|
|
1451
|
+
engines: {node: '>=20.0.0'}
|
|
1452
|
+
hasBin: true
|
|
1453
|
+
|
|
1449
1454
|
'@tbox.cn/app-theme-tbox@0.1.6':
|
|
1450
1455
|
resolution: {integrity: sha512-u3CAWYYChTYCvqMF0bBxeIDhDSa/rfailxzIKnjRrumRgQYs6YS10t4kl3vgQpf6s8KTPFZoGKdJmrLtnMccnQ==}
|
|
1451
1456
|
|
|
@@ -4236,6 +4241,18 @@ snapshots:
|
|
|
4236
4241
|
transitivePeerDependencies:
|
|
4237
4242
|
- supports-color
|
|
4238
4243
|
|
|
4244
|
+
'@tbox.cn/app-sdk-server@0.26.5':
|
|
4245
|
+
dependencies:
|
|
4246
|
+
'@ag-ui/core': 0.0.47
|
|
4247
|
+
'@tbox.cn/app-contracts': 0.13.3
|
|
4248
|
+
'@tbox.cn/app-sdk-core': 0.20.5
|
|
4249
|
+
'@tbox.cn/app-toolkit': 0.8.5
|
|
4250
|
+
express: 4.22.2
|
|
4251
|
+
jose: 6.2.8
|
|
4252
|
+
zod: 3.25.76
|
|
4253
|
+
transitivePeerDependencies:
|
|
4254
|
+
- supports-color
|
|
4255
|
+
|
|
4239
4256
|
'@tbox.cn/app-theme-tbox@0.1.6': {}
|
|
4240
4257
|
|
|
4241
4258
|
'@tbox.cn/app-toolkit@0.8.5':
|
|
@@ -40,11 +40,11 @@ catalog:
|
|
|
40
40
|
"@tbox.cn/agent-plugin": 0.1.0
|
|
41
41
|
"@tbox.cn/app-sdk-core": 0.20.5
|
|
42
42
|
"@tbox.cn/app-sdk-client": 0.21.4
|
|
43
|
-
"@tbox.cn/app-sdk-server": 0.26.
|
|
43
|
+
"@tbox.cn/app-sdk-server": 0.26.5
|
|
44
44
|
"@tbox.cn/app-agent-sdk-server": 0.3.4
|
|
45
45
|
"@tbox.cn/app-agent-sdk-client": 0.2.2
|
|
46
46
|
"@tbox.cn/app-contracts": 0.13.3
|
|
47
|
-
"@tbox.cn/app-contracts-mall": 0.
|
|
47
|
+
"@tbox.cn/app-contracts-mall": 0.17.2
|
|
48
48
|
"@tbox.cn/app-theme-tbox": 0.1.6
|
|
49
49
|
zustand: 4.5.7
|
|
50
50
|
eslint: 9.39.5
|