@tbox.cn/app-template-agent 0.10.31 → 0.10.32
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.
|
@@ -62,7 +62,9 @@ export default defineConfig(async ({ command }) => {
|
|
|
62
62
|
// 只在开发服务装载 server 插件;build/vitest 无需解析其 Node 端依赖。
|
|
63
63
|
if (command === 'serve' && !process.env.VITEST) {
|
|
64
64
|
const { previewErrorReporter } = await import('@tbox.cn/app-agent-sdk-server/platform');
|
|
65
|
-
devPlugins.push(previewErrorReporter(
|
|
65
|
+
devPlugins.push(previewErrorReporter({
|
|
66
|
+
excludedPagePaths: ['/_tbox/card-preview', '/_tbox/card-preview.html'],
|
|
67
|
+
}));
|
|
66
68
|
}
|
|
67
69
|
// 作用域门:override 仅 dev-serve 生效——build/vitest 不受 dev 会话残留影响
|
|
68
70
|
// (G2 防线;门与探针标记同文件,guard 另断言门条件在场)
|
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.32",
|
|
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.6"
|
|
40
40
|
},
|
|
41
41
|
"license": "MIT",
|
|
42
42
|
"publishConfig": {
|
package/pnpm-lock.template.yaml
CHANGED
|
@@ -16,8 +16,8 @@ catalogs:
|
|
|
16
16
|
specifier: 0.2.2
|
|
17
17
|
version: 0.2.2
|
|
18
18
|
'@tbox.cn/app-agent-sdk-server':
|
|
19
|
-
specifier: 0.3.
|
|
20
|
-
version: 0.3.
|
|
19
|
+
specifier: 0.3.5
|
|
20
|
+
version: 0.3.5
|
|
21
21
|
'@tbox.cn/app-contracts':
|
|
22
22
|
specifier: 0.13.3
|
|
23
23
|
version: 0.13.3
|
|
@@ -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.6
|
|
29
|
+
version: 0.26.6
|
|
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.6
|
|
107
107
|
eslint:
|
|
108
108
|
specifier: 'catalog:'
|
|
109
109
|
version: 9.39.5
|
|
@@ -152,7 +152,7 @@ importers:
|
|
|
152
152
|
devDependencies:
|
|
153
153
|
'@tbox.cn/app-agent-sdk-server':
|
|
154
154
|
specifier: 'catalog:'
|
|
155
|
-
version: 0.3.
|
|
155
|
+
version: 0.3.5(@tbox-dev-js/sdk@0.1.18)(rxjs@7.8.1)
|
|
156
156
|
'@types/node':
|
|
157
157
|
specifier: 'catalog:'
|
|
158
158
|
version: 24.13.3
|
|
@@ -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.6
|
|
198
198
|
typescript:
|
|
199
199
|
specifier: 'catalog:'
|
|
200
200
|
version: 5.9.3
|
|
@@ -221,7 +221,7 @@ importers:
|
|
|
221
221
|
version: 0.1.0(@mastra/core@1.59.0(ai@6.0.246(zod@3.25.76))(express@4.22.2)(rxjs@7.8.1)(zod@3.25.76))(@tbox-dev-js/sdk@0.1.18)(zod@3.25.76)
|
|
222
222
|
'@tbox.cn/app-agent-sdk-server':
|
|
223
223
|
specifier: 'catalog:'
|
|
224
|
-
version: 0.3.
|
|
224
|
+
version: 0.3.5(@tbox-dev-js/sdk@0.1.18)(rxjs@7.8.1)
|
|
225
225
|
'@tbox.cn/app-contracts':
|
|
226
226
|
specifier: 'catalog:'
|
|
227
227
|
version: 0.13.3
|
|
@@ -344,7 +344,7 @@ importers:
|
|
|
344
344
|
version: 0.2.2(@types/react@18.3.31)
|
|
345
345
|
'@tbox.cn/app-agent-sdk-server':
|
|
346
346
|
specifier: 'catalog:'
|
|
347
|
-
version: 0.3.
|
|
347
|
+
version: 0.3.5(@tbox-dev-js/sdk@0.1.18)(rxjs@7.8.1)
|
|
348
348
|
'@tbox.cn/app-contracts':
|
|
349
349
|
specifier: 'catalog:'
|
|
350
350
|
version: 0.13.3
|
|
@@ -387,7 +387,7 @@ importers:
|
|
|
387
387
|
version: 0.2.2(@types/react@18.3.31)
|
|
388
388
|
'@tbox.cn/app-agent-sdk-server':
|
|
389
389
|
specifier: 'catalog:'
|
|
390
|
-
version: 0.3.
|
|
390
|
+
version: 0.3.5(@tbox-dev-js/sdk@0.1.18)(rxjs@7.8.1)
|
|
391
391
|
'@tbox.cn/app-contracts':
|
|
392
392
|
specifier: 'catalog:'
|
|
393
393
|
version: 0.13.3
|
|
@@ -1421,8 +1421,8 @@ packages:
|
|
|
1421
1421
|
resolution: {integrity: sha512-Ciu+g4yVy9Ftd9f0KP7D8VVhUy6C4nzzVNxw2ncv2x+VcMO7weobQYbf+SfXgCpKaF30J7tLDBuAs6fjCWg+ZQ==}
|
|
1422
1422
|
engines: {node: '>=20.0.0'}
|
|
1423
1423
|
|
|
1424
|
-
'@tbox.cn/app-agent-sdk-server@0.3.
|
|
1425
|
-
resolution: {integrity: sha512-
|
|
1424
|
+
'@tbox.cn/app-agent-sdk-server@0.3.5':
|
|
1425
|
+
resolution: {integrity: sha512-11QF9ZfqB157FTdNK34s9YlXGwZ132C8a0ZwaLE1Ew1rv7DhPHUh9E5blZ8B1T3lJBQpm56A5GxqHNqnDTuiGA==}
|
|
1426
1426
|
engines: {node: '>=20.0.0'}
|
|
1427
1427
|
|
|
1428
1428
|
'@tbox.cn/app-contracts@0.13.2':
|
|
@@ -1441,13 +1441,8 @@ packages:
|
|
|
1441
1441
|
resolution: {integrity: sha512-HLLRg1y2jB32uJPL3/a387eABdNZUxrmkGoJwIv44XV9B94DXmTgb9vxYzbyBa0FazxXG0WudyzFnmH5eeqqrw==}
|
|
1442
1442
|
engines: {node: '>=20.0.0'}
|
|
1443
1443
|
|
|
1444
|
-
'@tbox.cn/app-sdk-server@0.26.
|
|
1445
|
-
resolution: {integrity: sha512-
|
|
1446
|
-
engines: {node: '>=20.0.0'}
|
|
1447
|
-
hasBin: true
|
|
1448
|
-
|
|
1449
|
-
'@tbox.cn/app-sdk-server@0.26.5':
|
|
1450
|
-
resolution: {integrity: sha512-zuXD5QxxEaN/0hfGFGIhX5oDQJRn3mWXPGQjmeEl9hEhdNAeu1TyD3qhTNmNAbOjlS8ETbhLCcjVxRx5RmSrxQ==}
|
|
1444
|
+
'@tbox.cn/app-sdk-server@0.26.6':
|
|
1445
|
+
resolution: {integrity: sha512-9SvVCV+m2WTr4AXdf47ztltFpE1AoxvJAJy8/GL1ezN7AjtWEp+jogr2SVINJWQACPm9Di2FchgwIU76mCopvw==}
|
|
1451
1446
|
engines: {node: '>=20.0.0'}
|
|
1452
1447
|
hasBin: true
|
|
1453
1448
|
|
|
@@ -4178,7 +4173,7 @@ snapshots:
|
|
|
4178
4173
|
- '@types/react'
|
|
4179
4174
|
- immer
|
|
4180
4175
|
|
|
4181
|
-
'@tbox.cn/app-agent-sdk-server@0.3.
|
|
4176
|
+
'@tbox.cn/app-agent-sdk-server@0.3.5(@tbox-dev-js/sdk@0.1.18)(rxjs@7.8.1)':
|
|
4182
4177
|
dependencies:
|
|
4183
4178
|
'@ag-ui/core': 0.0.47
|
|
4184
4179
|
'@ai-sdk/openai-compatible': 2.0.68(zod@3.25.76)
|
|
@@ -4188,7 +4183,7 @@ snapshots:
|
|
|
4188
4183
|
'@tbox.cn/agent-plugin': 0.1.0(@mastra/core@1.59.0(ai@6.0.246(zod@3.25.76))(express@4.22.2)(rxjs@7.8.1)(zod@3.25.76))(@tbox-dev-js/sdk@0.1.18)(zod@3.25.76)
|
|
4189
4184
|
'@tbox.cn/app-contracts': 0.13.3
|
|
4190
4185
|
'@tbox.cn/app-sdk-core': 0.20.5
|
|
4191
|
-
'@tbox.cn/app-sdk-server': 0.26.
|
|
4186
|
+
'@tbox.cn/app-sdk-server': 0.26.6
|
|
4192
4187
|
ai: 6.0.246(zod@3.25.76)
|
|
4193
4188
|
express: 4.22.2
|
|
4194
4189
|
gray-matter: 4.0.3
|
|
@@ -4229,19 +4224,7 @@ snapshots:
|
|
|
4229
4224
|
dependencies:
|
|
4230
4225
|
'@tbox.cn/app-contracts': 0.13.2
|
|
4231
4226
|
|
|
4232
|
-
'@tbox.cn/app-sdk-server@0.26.
|
|
4233
|
-
dependencies:
|
|
4234
|
-
'@ag-ui/core': 0.0.47
|
|
4235
|
-
'@tbox.cn/app-contracts': 0.13.3
|
|
4236
|
-
'@tbox.cn/app-sdk-core': 0.20.5
|
|
4237
|
-
'@tbox.cn/app-toolkit': 0.8.5
|
|
4238
|
-
express: 4.22.2
|
|
4239
|
-
jose: 6.2.8
|
|
4240
|
-
zod: 3.25.76
|
|
4241
|
-
transitivePeerDependencies:
|
|
4242
|
-
- supports-color
|
|
4243
|
-
|
|
4244
|
-
'@tbox.cn/app-sdk-server@0.26.5':
|
|
4227
|
+
'@tbox.cn/app-sdk-server@0.26.6':
|
|
4245
4228
|
dependencies:
|
|
4246
4229
|
'@ag-ui/core': 0.0.47
|
|
4247
4230
|
'@tbox.cn/app-contracts': 0.13.3
|
|
@@ -40,8 +40,8 @@ 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.
|
|
44
|
-
"@tbox.cn/app-agent-sdk-server": 0.3.
|
|
43
|
+
"@tbox.cn/app-sdk-server": 0.26.6
|
|
44
|
+
"@tbox.cn/app-agent-sdk-server": 0.3.5
|
|
45
45
|
"@tbox.cn/app-agent-sdk-client": 0.2.2
|
|
46
46
|
"@tbox.cn/app-contracts": 0.13.3
|
|
47
47
|
"@tbox.cn/app-contracts-mall": 0.17.2
|