@tbox.cn/app-template-agent 0.7.5 → 0.9.0

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.
Files changed (152) hide show
  1. package/.gitignore +5 -0
  2. package/.tbox/app.json +9 -1
  3. package/AGENTS.md +12 -4
  4. package/ENV.md +105 -21
  5. package/README.md +40 -38
  6. package/apps/client/VISUAL_RESTORE.md +11 -11
  7. package/apps/client/index.html +3 -1
  8. package/apps/client/package.json +9 -8
  9. package/apps/client/src/business/App.tsx +4 -4
  10. package/apps/client/src/business/README.md +5 -11
  11. package/apps/client/src/cards/registry.ts +23 -8
  12. package/apps/client/src/main.tsx +36 -2
  13. package/apps/client/src/modules.ts +7 -4
  14. package/apps/client/src/pages/index/index.tsx +18 -162
  15. package/apps/client/src/platform/AgentChatApp.tsx +7 -6
  16. package/apps/client/src/platform/agent-runtime.ts +5 -0
  17. package/apps/client/src/store/chat.ts +47 -185
  18. package/apps/client/src/test/setup.ts +7 -0
  19. package/apps/client/vite.config.ts +16 -1
  20. package/apps/server/package.json +0 -3
  21. package/apps/server/src/app-tools.ts +2 -1
  22. package/apps/server/src/app.ts +248 -119
  23. package/apps/server/src/config/integration.ts +2 -6
  24. package/apps/server/src/dev.ts +0 -1
  25. package/apps/server/src/intent-routes.ts +3 -3
  26. package/apps/server/src/modules.ts +4 -4
  27. package/apps/server/src/pre-tools.ts +4 -3
  28. package/apps/server/tests/agent-prompt.test.ts +81 -0
  29. package/apps/server/tests/cards-registry.test.ts +1 -3
  30. package/apps/server/tests/deployment-loader.test.ts +35 -56
  31. package/apps/server/tests/tool-runtime.test.ts +25 -61
  32. package/package.json +5 -4
  33. package/packages/agent-ui-kit/LICENSE +21 -0
  34. package/packages/agent-ui-kit/README.md +17 -0
  35. package/packages/agent-ui-kit/package.json +58 -0
  36. package/packages/agent-ui-kit/src/ChatPage.less +62 -0
  37. package/packages/agent-ui-kit/src/ChatPage.tsx +305 -0
  38. package/packages/agent-ui-kit/src/chat-config.test.ts +82 -0
  39. package/packages/agent-ui-kit/src/chat-config.ts +62 -0
  40. package/{apps/client → packages/agent-ui-kit}/src/components/ActionBar/DebugButton.tsx +2 -2
  41. package/{apps/client → packages/agent-ui-kit}/src/components/ActionBar/index.less +19 -16
  42. package/{apps/client → packages/agent-ui-kit}/src/components/ActionBar/index.tsx +10 -15
  43. package/packages/agent-ui-kit/src/components/CardRenderer.tsx +36 -0
  44. package/packages/agent-ui-kit/src/components/ChatHeader/index.less +148 -0
  45. package/packages/agent-ui-kit/src/components/ChatHeader/index.test.tsx +74 -0
  46. package/{apps/client → packages/agent-ui-kit}/src/components/ChatHeader/index.tsx +27 -15
  47. package/{apps/client → packages/agent-ui-kit}/src/components/ChatInput/index.less +47 -39
  48. package/packages/agent-ui-kit/src/components/ChatInput/index.test.tsx +156 -0
  49. package/{apps/client → packages/agent-ui-kit}/src/components/ChatInput/index.tsx +13 -4
  50. package/{apps/client → packages/agent-ui-kit}/src/components/ChatInput/voice/useVoicePress.ts +2 -2
  51. package/packages/agent-ui-kit/src/components/HistoryEntry/index.less +49 -0
  52. package/packages/agent-ui-kit/src/components/HistoryEntry/index.tsx +42 -0
  53. package/{apps/client → packages/agent-ui-kit}/src/components/MediaList/index.less +3 -3
  54. package/{apps/client → packages/agent-ui-kit}/src/components/MediaList/index.tsx +6 -6
  55. package/{apps/client → packages/agent-ui-kit}/src/components/MessageBubble/index.less +25 -20
  56. package/packages/agent-ui-kit/src/components/MessageBubble/index.test.tsx +112 -0
  57. package/{apps/client → packages/agent-ui-kit}/src/components/MessageBubble/index.tsx +22 -17
  58. package/{apps/client → packages/agent-ui-kit}/src/components/PullDownIndicator/index.less +2 -2
  59. package/{apps/client → packages/agent-ui-kit}/src/components/PullDownIndicator/index.tsx +2 -2
  60. package/packages/agent-ui-kit/src/components/QuickCommands/index.less +63 -0
  61. package/packages/agent-ui-kit/src/components/QuickCommands/index.test.tsx +99 -0
  62. package/packages/agent-ui-kit/src/components/QuickCommands/index.tsx +52 -0
  63. package/{apps/client → packages/agent-ui-kit}/src/components/ScrollToBottomButton/index.less +1 -1
  64. package/packages/agent-ui-kit/src/components/ToolCallBlock/detail.test.ts +346 -0
  65. package/packages/agent-ui-kit/src/components/ToolCallBlock/detail.ts +204 -0
  66. package/packages/agent-ui-kit/src/components/ToolCallBlock/index.less +312 -0
  67. package/packages/agent-ui-kit/src/components/ToolCallBlock/index.test.tsx +261 -0
  68. package/packages/agent-ui-kit/src/components/ToolCallBlock/index.tsx +212 -0
  69. package/packages/agent-ui-kit/src/components/ToolCallBlock/titles.ts +102 -0
  70. package/packages/agent-ui-kit/src/hooks/use-drag-gesture.test.ts +66 -0
  71. package/packages/agent-ui-kit/src/hooks/use-drag-gesture.ts +129 -0
  72. package/packages/agent-ui-kit/src/hooks/use-pull-down-history.ts +241 -0
  73. package/packages/agent-ui-kit/src/hooks/use-pull-down-wheel-native.test.ts +64 -0
  74. package/{apps/client → packages/agent-ui-kit}/src/hooks/useMediaUpload.ts +3 -3
  75. package/{apps/client → packages/agent-ui-kit}/src/hooks/useTTSAutoPlay.ts +7 -5
  76. package/packages/agent-ui-kit/src/index.ts +69 -0
  77. package/packages/agent-ui-kit/src/store-context.tsx +92 -0
  78. package/packages/agent-ui-kit/src/test/setup.ts +7 -0
  79. package/packages/agent-ui-kit/src/theme/contract.json +72 -0
  80. package/packages/agent-ui-kit/src/theme/global.less +99 -0
  81. package/packages/agent-ui-kit/src/theme/motion.less +19 -0
  82. package/packages/agent-ui-kit/src/theme/theme-contract.test.ts +69 -0
  83. package/packages/agent-ui-kit/src/theme/theme.ts +17 -0
  84. package/packages/agent-ui-kit/src/theme/tokens.less +79 -0
  85. package/packages/agent-ui-kit/src/utils/haptics.test.ts +51 -0
  86. package/packages/agent-ui-kit/src/utils/haptics.ts +44 -0
  87. package/packages/agent-ui-kit/src/utils/pull-down-machine.test.ts +188 -0
  88. package/packages/agent-ui-kit/src/utils/pull-down-machine.ts +157 -0
  89. package/packages/agent-ui-kit/src/utils/tool-call-display.test.ts +240 -0
  90. package/packages/agent-ui-kit/src/utils/tool-call-display.ts +146 -0
  91. package/packages/agent-ui-kit/src/vite-env.d.ts +1 -0
  92. package/packages/agent-ui-kit/tsconfig.json +8 -0
  93. package/packages/agent-ui-kit/vitest.config.ts +7 -0
  94. package/pnpm-lock.template.yaml +177 -111
  95. package/pnpm-workspace.template.yaml +12 -4
  96. package/profiles/mall/config/agent.jsonc +33 -0
  97. package/profiles/mall/config/chat.json +21 -0
  98. package/profiles/mall/config/knowledge.json +5 -0
  99. package/profiles/mall/config/llm_provider.json +5 -0
  100. package/profiles/mall/config/plugins.json +3 -0
  101. package/profiles/mall.json +16 -0
  102. package/scripts/check-workspace.mjs +3 -2
  103. package/apps/client/assets/copy@2x.png +0 -0
  104. package/apps/client/assets/debug.png +0 -0
  105. package/apps/client/assets/dislike@2x.png +0 -0
  106. package/apps/client/assets/like@2x.png +0 -0
  107. package/apps/client/assets/speaker@2x.png +0 -0
  108. package/apps/client/src/cards/CardRenderer.tsx +0 -20
  109. package/apps/client/src/components/ChatHeader/index.less +0 -104
  110. package/apps/client/src/components/ErrorBoundary.tsx +0 -2
  111. package/apps/client/src/components/QuickCommands/index.less +0 -48
  112. package/apps/client/src/components/QuickCommands/index.tsx +0 -29
  113. package/apps/client/src/components/ToolCallBlock/index.less +0 -131
  114. package/apps/client/src/components/ToolCallBlock/index.tsx +0 -125
  115. package/apps/client/src/examples/tourism/TourismLanding.tsx +0 -96
  116. package/apps/client/src/examples/tourism/index.less +0 -192
  117. package/apps/client/src/pages/index/index.less +0 -43
  118. package/apps/client/src/store/chat-config.ts +0 -40
  119. package/apps/client/src/styles/global.less +0 -60
  120. package/apps/client/src/styles/tokens.less +0 -60
  121. package/apps/server/src/config/deployment.ts +0 -47
  122. package/packages/module-weather/package.json +0 -36
  123. package/packages/module-weather/skills/weather-guide/SKILL.md +0 -22
  124. package/packages/module-weather/skills/weather-guide/references/dressing-tips.md +0 -5
  125. package/packages/module-weather/src/client/cards/weather/index.less +0 -22
  126. package/packages/module-weather/src/client/cards/weather/index.tsx +0 -14
  127. package/packages/module-weather/src/client/index.ts +0 -19
  128. package/packages/module-weather/src/index.ts +0 -2
  129. package/packages/module-weather/src/server/cards/weather/meta.ts +0 -27
  130. package/packages/module-weather/src/server/index.ts +0 -45
  131. package/packages/module-weather/src/server/pre-tools.ts +0 -20
  132. package/packages/module-weather/src/server/tool.ts +0 -29
  133. package/packages/module-weather/tbox.module.json +0 -27
  134. package/packages/module-weather/tsconfig.json +0 -14
  135. /package/{apps/client → packages/agent-ui-kit}/assets/keyboard-circle.svg +0 -0
  136. /package/{apps/client → packages/agent-ui-kit}/assets/more-circle.svg +0 -0
  137. /package/{apps/client → packages/agent-ui-kit}/assets/new-chat.svg +0 -0
  138. /package/{apps/client → packages/agent-ui-kit}/assets/quick-command-star.svg +0 -0
  139. /package/{apps/client → packages/agent-ui-kit}/assets/send-gradient.svg +0 -0
  140. /package/{apps/client → packages/agent-ui-kit}/assets/stop@2x.png +0 -0
  141. /package/{apps/client → packages/agent-ui-kit}/assets/voice-circle.svg +0 -0
  142. /package/{apps/client → packages/agent-ui-kit}/src/components/ChatInput/voice/VoicePressField.tsx +0 -0
  143. /package/{apps/client → packages/agent-ui-kit}/src/components/ChatInput/voice/VoiceRecordingOverlay.tsx +0 -0
  144. /package/{apps/client → packages/agent-ui-kit}/src/components/ChatInput/voice/machine.ts +0 -0
  145. /package/{apps/client → packages/agent-ui-kit}/src/components/ReasoningBlock/index.less +0 -0
  146. /package/{apps/client → packages/agent-ui-kit}/src/components/ReasoningBlock/index.tsx +0 -0
  147. /package/{apps/client → packages/agent-ui-kit}/src/components/ScrollToBottomButton/index.tsx +0 -0
  148. /package/{apps/client/src/types/chat.ts → packages/agent-ui-kit/src/types.ts} +0 -0
  149. /package/{apps/client → packages/agent-ui-kit}/src/utils/copyText.ts +0 -0
  150. /package/{apps/client → packages/agent-ui-kit}/src/utils/imagePreview.ts +0 -0
  151. /package/{apps/client → packages/agent-ui-kit}/src/utils/session-error.ts +0 -0
  152. /package/{apps/client → packages/agent-ui-kit}/src/utils/toast.ts +0 -0
@@ -16,17 +16,17 @@ catalogs:
16
16
  specifier: 0.1.0
17
17
  version: 0.1.0
18
18
  '@tbox.cn/app-contracts':
19
- specifier: 0.9.0
20
- version: 0.9.0
19
+ specifier: 0.11.0
20
+ version: 0.11.0
21
21
  '@tbox.cn/app-contracts-mall':
22
- specifier: 0.9.0
23
- version: 0.9.0
22
+ specifier: 0.11.0
23
+ version: 0.11.0
24
24
  '@tbox.cn/app-sdk':
25
- specifier: 0.18.0
26
- version: 0.18.0
27
- '@types/cors':
28
- specifier: 2.8.19
29
- version: 2.8.19
25
+ specifier: 0.20.0
26
+ version: 0.20.0
27
+ '@tbox.cn/app-theme-tbox':
28
+ specifier: 0.1.1
29
+ version: 0.1.1
30
30
  '@types/express':
31
31
  specifier: 4.17.25
32
32
  version: 4.17.25
@@ -45,9 +45,6 @@ catalogs:
45
45
  antd-mobile:
46
46
  specifier: 5.42.3
47
47
  version: 5.42.3
48
- cors:
49
- specifier: 2.8.6
50
- version: 2.8.6
51
48
  eslint:
52
49
  specifier: 9.39.5
53
50
  version: 9.39.5
@@ -57,6 +54,9 @@ catalogs:
57
54
  express:
58
55
  specifier: 4.22.2
59
56
  version: 4.22.2
57
+ happy-dom:
58
+ specifier: 20.11.2
59
+ version: 20.11.2
60
60
  less:
61
61
  specifier: 4.8.1
62
62
  version: 4.8.1
@@ -100,13 +100,16 @@ catalogs:
100
100
  specifier: 4.5.7
101
101
  version: 4.5.7
102
102
 
103
+ overrides:
104
+ debug@4.4.3: 4.4.1
105
+
103
106
  importers:
104
107
 
105
108
  .:
106
109
  devDependencies:
107
110
  '@tbox.cn/app-sdk':
108
111
  specifier: 'catalog:'
109
- version: 0.18.0(@types/react@18.3.31)(rxjs@7.8.1)
112
+ version: 0.20.0(@types/react@18.3.31)(rxjs@7.8.1)
110
113
  eslint:
111
114
  specifier: 'catalog:'
112
115
  version: 9.39.5
@@ -122,36 +125,30 @@ importers:
122
125
 
123
126
  apps/client:
124
127
  dependencies:
125
- '@app/module-weather':
128
+ '@app/agent-ui-kit':
129
+ specifier: workspace:*
130
+ version: link:../../packages/agent-ui-kit
131
+ '@app/contracts-mall':
126
132
  specifier: workspace:*
127
- version: link:../../packages/module-weather
133
+ version: link:../../packages/contracts-mall
128
134
  '@app/provider-custom':
129
135
  specifier: workspace:*
130
136
  version: link:../../packages/provider-custom
131
- '@phosphor-icons/react':
132
- specifier: 'catalog:'
133
- version: 2.1.10(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
134
137
  '@tbox.cn/app-contracts':
135
138
  specifier: 'catalog:'
136
- version: 0.9.0
139
+ version: 0.11.0
137
140
  '@tbox.cn/app-sdk':
138
141
  specifier: 'catalog:'
139
- version: 0.18.0(@types/react@18.3.31)(rxjs@7.8.1)
140
- antd-mobile:
142
+ version: 0.20.0(@types/react@18.3.31)(rxjs@7.8.1)
143
+ '@tbox.cn/app-theme-tbox':
141
144
  specifier: 'catalog:'
142
- version: 5.42.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
145
+ version: 0.1.1
143
146
  react:
144
147
  specifier: 'catalog:'
145
148
  version: 18.3.1
146
149
  react-dom:
147
150
  specifier: 'catalog:'
148
151
  version: 18.3.1(react@18.3.1)
149
- react-markdown:
150
- specifier: 'catalog:'
151
- version: 9.1.0(@types/react@18.3.31)(react@18.3.1)
152
- remark-gfm:
153
- specifier: 'catalog:'
154
- version: 4.0.1
155
152
  zustand:
156
153
  specifier: 'catalog:'
157
154
  version: 4.5.7(@types/react@18.3.31)(react@18.3.1)
@@ -168,6 +165,9 @@ importers:
168
165
  '@vitejs/plugin-react':
169
166
  specifier: 'catalog:'
170
167
  version: 4.7.0(vite@6.4.3(@types/node@24.13.3)(less@4.8.1)(tsx@4.23.11))
168
+ happy-dom:
169
+ specifier: 'catalog:'
170
+ version: 20.11.2
171
171
  less:
172
172
  specifier: 'catalog:'
173
173
  version: 4.8.1
@@ -180,15 +180,15 @@ importers:
180
180
  vite:
181
181
  specifier: 'catalog:'
182
182
  version: 6.4.3(@types/node@24.13.3)(less@4.8.1)(tsx@4.23.11)
183
+ vitest:
184
+ specifier: 'catalog:'
185
+ version: 4.1.10(@opentelemetry/api@1.9.1)(@types/node@24.13.3)(happy-dom@20.11.2)(vite@6.4.3(@types/node@24.13.3)(less@4.8.1)(tsx@4.23.11))
183
186
 
184
187
  apps/server:
185
188
  dependencies:
186
189
  '@app/contracts-mall':
187
190
  specifier: workspace:*
188
191
  version: link:../../packages/contracts-mall
189
- '@app/module-weather':
190
- specifier: workspace:*
191
- version: link:../../packages/module-weather
192
192
  '@app/provider-custom':
193
193
  specifier: workspace:*
194
194
  version: link:../../packages/provider-custom
@@ -200,13 +200,10 @@ importers:
200
200
  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)
201
201
  '@tbox.cn/app-contracts':
202
202
  specifier: 'catalog:'
203
- version: 0.9.0
203
+ version: 0.11.0
204
204
  '@tbox.cn/app-sdk':
205
205
  specifier: 'catalog:'
206
- version: 0.18.0(@types/react@18.3.31)(rxjs@7.8.1)
207
- cors:
208
- specifier: 'catalog:'
209
- version: 2.8.6
206
+ version: 0.20.0(@types/react@18.3.31)(rxjs@7.8.1)
210
207
  express:
211
208
  specifier: 'catalog:'
212
209
  version: 4.22.2
@@ -214,9 +211,6 @@ importers:
214
211
  specifier: 'catalog:'
215
212
  version: 3.25.76
216
213
  devDependencies:
217
- '@types/cors':
218
- specifier: 'catalog:'
219
- version: 2.8.19
220
214
  '@types/express':
221
215
  specifier: 'catalog:'
222
216
  version: 4.17.25
@@ -237,54 +231,87 @@ importers:
237
231
  version: 6.4.3(@types/node@24.13.3)(less@4.8.1)(tsx@4.23.11)
238
232
  vitest:
239
233
  specifier: 'catalog:'
240
- version: 4.1.10(@opentelemetry/api@1.9.1)(@types/node@24.13.3)(vite@6.4.3(@types/node@24.13.3)(less@4.8.1)(tsx@4.23.11))
234
+ version: 4.1.10(@opentelemetry/api@1.9.1)(@types/node@24.13.3)(happy-dom@20.11.2)(vite@6.4.3(@types/node@24.13.3)(less@4.8.1)(tsx@4.23.11))
241
235
 
242
- packages/contracts-mall:
236
+ packages/agent-ui-kit:
243
237
  dependencies:
244
- '@tbox.cn/app-contracts-mall':
238
+ '@phosphor-icons/react':
239
+ specifier: 'catalog:'
240
+ version: 2.1.10(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
241
+ '@tbox.cn/app-contracts':
245
242
  specifier: 'catalog:'
246
- version: 0.9.0
243
+ version: 0.11.0
244
+ '@tbox.cn/app-sdk':
245
+ specifier: 'catalog:'
246
+ version: 0.20.0(@types/react@18.3.31)(rxjs@7.8.1)
247
+ antd-mobile:
248
+ specifier: 'catalog:'
249
+ version: 5.42.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
250
+ react-markdown:
251
+ specifier: 'catalog:'
252
+ version: 9.1.0(@types/react@18.3.31)(react@18.3.1)
253
+ remark-gfm:
254
+ specifier: 'catalog:'
255
+ version: 4.0.1
256
+ zustand:
257
+ specifier: 'catalog:'
258
+ version: 4.5.7(@types/react@18.3.31)(react@18.3.1)
247
259
  devDependencies:
248
260
  '@types/node':
249
- specifier: 24.13.3
261
+ specifier: 'catalog:'
250
262
  version: 24.13.3
263
+ '@types/react':
264
+ specifier: 'catalog:'
265
+ version: 18.3.31
266
+ '@types/react-dom':
267
+ specifier: 'catalog:'
268
+ version: 18.3.7(@types/react@18.3.31)
269
+ happy-dom:
270
+ specifier: 'catalog:'
271
+ version: 20.11.2
272
+ less:
273
+ specifier: 'catalog:'
274
+ version: 4.8.1
275
+ react:
276
+ specifier: 'catalog:'
277
+ version: 18.3.1
278
+ react-dom:
279
+ specifier: 'catalog:'
280
+ version: 18.3.1(react@18.3.1)
251
281
  typescript:
252
- specifier: 5.9.3
282
+ specifier: 'catalog:'
253
283
  version: 5.9.3
284
+ vite:
285
+ specifier: 'catalog:'
286
+ version: 6.4.3(@types/node@24.13.3)(less@4.8.1)(tsx@4.23.11)
254
287
  vitest:
255
- specifier: 4.1.10
256
- version: 4.1.10(@opentelemetry/api@1.9.1)(@types/node@24.13.3)(vite@6.4.3(@types/node@24.13.3)(less@4.8.1)(tsx@4.23.11))
288
+ specifier: 'catalog:'
289
+ version: 4.1.10(@opentelemetry/api@1.9.1)(@types/node@24.13.3)(happy-dom@20.11.2)(vite@6.4.3(@types/node@24.13.3)(less@4.8.1)(tsx@4.23.11))
257
290
 
258
- packages/module-weather:
291
+ packages/contracts-mall:
259
292
  dependencies:
260
- '@tbox.cn/app-contracts':
261
- specifier: 'catalog:'
262
- version: 0.9.0
263
- '@tbox.cn/app-sdk':
293
+ '@tbox.cn/app-contracts-mall':
264
294
  specifier: 'catalog:'
265
- version: 0.18.0(@types/react@18.3.31)(rxjs@7.8.1)
266
- react:
267
- specifier: 18.3.1
268
- version: 18.3.1
269
- zod:
270
- specifier: 3.25.76
271
- version: 3.25.76
295
+ version: 0.11.0
272
296
  devDependencies:
273
- '@types/react':
274
- specifier: 18.3.31
275
- version: 18.3.31
297
+ '@types/node':
298
+ specifier: 24.13.3
299
+ version: 24.13.3
276
300
  typescript:
277
301
  specifier: 5.9.3
278
302
  version: 5.9.3
303
+ vitest:
304
+ specifier: 4.1.10
305
+ version: 4.1.10(@opentelemetry/api@1.9.1)(@types/node@24.13.3)(happy-dom@20.11.2)(vite@6.4.3(@types/node@24.13.3)(less@4.8.1)(tsx@4.23.11))
279
306
 
280
307
  packages/provider-custom:
281
308
  dependencies:
282
309
  '@tbox.cn/app-contracts':
283
310
  specifier: 'catalog:'
284
- version: 0.9.0
311
+ version: 0.11.0
285
312
  '@tbox.cn/app-sdk':
286
313
  specifier: 'catalog:'
287
- version: 0.18.0(@types/react@18.3.31)(rxjs@7.8.1)
314
+ version: 0.20.0(@types/react@18.3.31)(rxjs@7.8.1)
288
315
  devDependencies:
289
316
  '@types/node':
290
317
  specifier: 24.13.3
@@ -297,7 +324,7 @@ importers:
297
324
  version: 5.9.3
298
325
  vitest:
299
326
  specifier: 4.1.10
300
- version: 4.1.10(@opentelemetry/api@1.9.1)(@types/node@24.13.3)(vite@6.4.3(@types/node@24.13.3)(less@4.8.1)(tsx@4.23.11))
327
+ version: 4.1.10(@opentelemetry/api@1.9.1)(@types/node@24.13.3)(happy-dom@20.11.2)(vite@6.4.3(@types/node@24.13.3)(less@4.8.1)(tsx@4.23.11))
301
328
 
302
329
  packages:
303
330
 
@@ -1299,21 +1326,24 @@ packages:
1299
1326
  '@tbox-dev-js/sdk': '>=0.1.18 <0.2.0'
1300
1327
  zod: '>=3.24.0 <4.0.0'
1301
1328
 
1302
- '@tbox.cn/app-contracts-mall@0.9.0':
1303
- resolution: {integrity: sha512-gkW6FboBd7rWyXDjxqxyT5O8hJmWYWXaGBT8QVk5fOjJ1NV8YyARkWPBAixs78F4K87eK1hwjGxo0H7fcfJIEw==}
1329
+ '@tbox.cn/app-contracts-mall@0.11.0':
1330
+ resolution: {integrity: sha512-4BpbtZAif2zmYlMJ2M1wF03yTs3n4w5eFBZKFlA3yGeAfjpODyUy4OTRmRMaFfz4dHBichQF3n30A0RgS/h0Eg==}
1304
1331
  engines: {node: '>=20.0.0'}
1305
1332
 
1306
- '@tbox.cn/app-contracts@0.9.0':
1307
- resolution: {integrity: sha512-8OkBhFGxSiGeIxLkgkX/HRkzpCXk7omKI54mGShUKG1+7DV6jR+SxIMTzz/Y6wQnY2kYv50esxkOiPhTspA0jg==}
1333
+ '@tbox.cn/app-contracts@0.11.0':
1334
+ resolution: {integrity: sha512-ePyJwpfmWwyOx1BrSoAWZpwEI7xB8b2wFliR+uaAQfyGvbOfvKbaWJXOt/qPJh+PlYgUGvGLGvntnX2m2YC6BA==}
1308
1335
  engines: {node: '>=20.0.0'}
1309
1336
 
1310
- '@tbox.cn/app-sdk@0.18.0':
1311
- resolution: {integrity: sha512-n3ZlG24V7EsTmy3OLZaZGcXBX67LeaQWEl/CwQeE7gO+1FLqa8l3WKoYYuZIi4eFaDSIuUSfB6DOdnNGWm55iw==}
1337
+ '@tbox.cn/app-sdk@0.20.0':
1338
+ resolution: {integrity: sha512-r6Jx/ciA+UWZ8rOlaAs94Et98g/n9NBIMoaXy3jpnUNs8zFrBTrViVYGaQvBMqL4yvDLcJBjOJQ2oSF7h1MJGQ==}
1312
1339
  engines: {node: '>=20.0.0'}
1313
1340
  hasBin: true
1314
1341
 
1315
- '@tbox.cn/app-toolkit@0.2.0':
1316
- resolution: {integrity: sha512-pu+99pVoxdqjCNP6Zl3TRvcP2Nn/5/Xtkb1hqptK5ftzdfsXacdmZrTy3/JVdSwwEefiZO2r9Yv1PTo99a4KHw==}
1342
+ '@tbox.cn/app-theme-tbox@0.1.1':
1343
+ resolution: {integrity: sha512-g4150ksl35yZLMSezeMrtqj281Ly2RcX7qJCYQql0oDMHczlBXu2lpKuzOZ2GUdCnfT61wdmuahb7jPuyg6o7A==}
1344
+
1345
+ '@tbox.cn/app-toolkit@0.4.0':
1346
+ resolution: {integrity: sha512-b4ha8IonQKu2M9O/EHrUqUZh7ReiMfryNojptytRsnAOiJnTyRIQeChrDxEDHfb5ZS8AAJ0Prb5/ofxvqd7uqg==}
1317
1347
  engines: {node: '>=20.0.0'}
1318
1348
 
1319
1349
  '@types/babel__core@7.20.5':
@@ -1337,9 +1367,6 @@ packages:
1337
1367
  '@types/connect@3.4.38':
1338
1368
  resolution: {integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==}
1339
1369
 
1340
- '@types/cors@2.8.19':
1341
- resolution: {integrity: sha512-mFNylyeyqN93lfe/9CSxOGREz8cpzAhH+E93xJ4xWQf62V8sQ/24reV2nyzUWM6H6Xji+GGHpkbLe7pVoUEskg==}
1342
-
1343
1370
  '@types/debug@4.1.13':
1344
1371
  resolution: {integrity: sha512-KSVgmQmzMwPlmtljOomayoR89W4FynCAi3E8PPs7vmDVPe84hT+vGPKkJfThkmXs0x0jAaa9U8uW8bbfyS2fWw==}
1345
1372
 
@@ -1414,6 +1441,12 @@ packages:
1414
1441
  '@types/unist@3.0.3':
1415
1442
  resolution: {integrity: sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==}
1416
1443
 
1444
+ '@types/whatwg-mimetype@3.0.2':
1445
+ resolution: {integrity: sha512-c2AKvDT8ToxLIOUlN51gTiHXflsfIFisS4pO7pDPoKouJCESkhZnEy623gwP9laCy5lnLDAw1vAzu2vM2YLOrA==}
1446
+
1447
+ '@types/ws@8.18.1':
1448
+ resolution: {integrity: sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==}
1449
+
1417
1450
  '@typescript-eslint/eslint-plugin@8.67.0':
1418
1451
  resolution: {integrity: sha512-Un7Heoyj65NREbKAyIrFxeM143NZpExWmy1Nep4DLeQOeLlTeumPjoNKnBrU5D5moWXbPJgRa5Uwcdu0faVNGQ==}
1419
1452
  engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -1637,6 +1670,10 @@ packages:
1637
1670
  engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
1638
1671
  hasBin: true
1639
1672
 
1673
+ buffer-image-size@0.6.4:
1674
+ resolution: {integrity: sha512-nEh+kZOPY1w+gcCMobZ6ETUp9WfibndnosbpwB1iJk/8Gt5ZF2bhS6+B6bPYz424KtwsR6Rflc3tCz1/ghX2dQ==}
1675
+ engines: {node: '>=4.0'}
1676
+
1640
1677
  bundle-require@5.1.0:
1641
1678
  resolution: {integrity: sha512-3WrrOuZiyaaZPWiEt4G3+IffISVC9HYlWueJEBWED4ZH4aIAC2PnkdnuRrR94M+w6yGWn4AglWtJtBI8YqvgoA==}
1642
1679
  engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
@@ -1757,10 +1794,6 @@ packages:
1757
1794
  resolution: {integrity: sha512-yCEafptTtb4bk7GLEQoM8KVJpxAfdBJYaXyzQEgQQQgYrZiDp8SJmGKlYza6CYjEDNstAdNdKA3UuoULlEbS6w==}
1758
1795
  engines: {node: '>=12.13'}
1759
1796
 
1760
- cors@2.8.6:
1761
- resolution: {integrity: sha512-tJtZBBHA6vjIAaF6EnIaq6laBBP9aq/Y3ouVJjEfoHbRBcHBAHYcMh/w8LDrk2PvIMMq8gmopa5D4V8RmbrxGw==}
1762
- engines: {node: '>= 0.10'}
1763
-
1764
1797
  croner@10.0.1:
1765
1798
  resolution: {integrity: sha512-ixNtAJndqh173VQ4KodSdJEI6nuioBWI0V1ITNKhZZsO0pEMoDxz539T4FTTbSZ/xIOSuDnzxLVRqBVSvPNE2g==}
1766
1799
  engines: {node: '>=18.0'}
@@ -1791,8 +1824,8 @@ packages:
1791
1824
  supports-color:
1792
1825
  optional: true
1793
1826
 
1794
- debug@4.4.3:
1795
- resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==}
1827
+ debug@4.4.1:
1828
+ resolution: {integrity: sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==}
1796
1829
  engines: {node: '>=6.0'}
1797
1830
  peerDependencies:
1798
1831
  supports-color: '*'
@@ -1843,6 +1876,10 @@ packages:
1843
1876
  resolution: {integrity: sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==}
1844
1877
  engines: {node: '>= 0.8'}
1845
1878
 
1879
+ entities@7.0.1:
1880
+ resolution: {integrity: sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA==}
1881
+ engines: {node: '>=0.12'}
1882
+
1846
1883
  errno@0.1.8:
1847
1884
  resolution: {integrity: sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==}
1848
1885
  hasBin: true
@@ -2084,6 +2121,10 @@ packages:
2084
2121
  resolution: {integrity: sha512-5v6yZd4JK3eMI3FqqCouswVqwugaA9r4dNZB1wwcmrD02QkV5H0y7XBQW8QwQqEaZY1pM9aqORSORhJRdNK44Q==}
2085
2122
  engines: {node: '>=6.0'}
2086
2123
 
2124
+ happy-dom@20.11.2:
2125
+ resolution: {integrity: sha512-7MB+bJLkxu3SowAfBJbjW+c55kNz5tkR45gu2qzrxznezhLeN5YIlJbwUgSzlGc+qWoZ8Ykg71H5ezz69xixrw==}
2126
+ engines: {node: '>=20.0.0'}
2127
+
2087
2128
  has-flag@4.0.0:
2088
2129
  resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==}
2089
2130
  engines: {node: '>=8'}
@@ -3176,6 +3217,10 @@ packages:
3176
3217
  jsdom:
3177
3218
  optional: true
3178
3219
 
3220
+ whatwg-mimetype@3.0.0:
3221
+ resolution: {integrity: sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==}
3222
+ engines: {node: '>=12'}
3223
+
3179
3224
  which@2.0.2:
3180
3225
  resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==}
3181
3226
  engines: {node: '>= 8'}
@@ -3351,7 +3396,7 @@ snapshots:
3351
3396
  '@babel/types': 7.29.8
3352
3397
  '@jridgewell/remapping': 2.3.5
3353
3398
  convert-source-map: 2.0.0
3354
- debug: 4.4.3
3399
+ debug: 4.4.1
3355
3400
  gensync: 1.0.0-beta.2
3356
3401
  json5: 2.2.3
3357
3402
  semver: 6.3.1
@@ -3435,7 +3480,7 @@ snapshots:
3435
3480
  '@babel/parser': 7.29.8
3436
3481
  '@babel/template': 7.29.7
3437
3482
  '@babel/types': 7.29.8
3438
- debug: 4.4.3
3483
+ debug: 4.4.1
3439
3484
  transitivePeerDependencies:
3440
3485
  - supports-color
3441
3486
 
@@ -3688,7 +3733,7 @@ snapshots:
3688
3733
  '@eslint/config-array@0.21.2':
3689
3734
  dependencies:
3690
3735
  '@eslint/object-schema': 2.1.7
3691
- debug: 4.4.3
3736
+ debug: 4.4.1
3692
3737
  minimatch: 3.1.5
3693
3738
  transitivePeerDependencies:
3694
3739
  - supports-color
@@ -3704,7 +3749,7 @@ snapshots:
3704
3749
  '@eslint/eslintrc@3.3.6':
3705
3750
  dependencies:
3706
3751
  ajv: 6.15.0
3707
- debug: 4.4.3
3752
+ debug: 4.4.1
3708
3753
  espree: 10.4.0
3709
3754
  globals: 14.0.0
3710
3755
  ignore: 5.3.2
@@ -3999,18 +4044,18 @@ snapshots:
3999
4044
  '@tbox-dev-js/sdk': 0.1.18
4000
4045
  zod: 3.25.76
4001
4046
 
4002
- '@tbox.cn/app-contracts-mall@0.9.0':
4047
+ '@tbox.cn/app-contracts-mall@0.11.0':
4003
4048
  dependencies:
4004
- '@tbox.cn/app-contracts': 0.9.0
4049
+ '@tbox.cn/app-contracts': 0.11.0
4005
4050
  zod: 3.25.76
4006
4051
 
4007
- '@tbox.cn/app-contracts@0.9.0':
4052
+ '@tbox.cn/app-contracts@0.11.0':
4008
4053
  dependencies:
4009
4054
  '@ag-ui/core': 0.0.47
4010
4055
  react: 18.3.1
4011
4056
  zod: 3.25.76
4012
4057
 
4013
- '@tbox.cn/app-sdk@0.18.0(@types/react@18.3.31)(rxjs@7.8.1)':
4058
+ '@tbox.cn/app-sdk@0.20.0(@types/react@18.3.31)(rxjs@7.8.1)':
4014
4059
  dependencies:
4015
4060
  '@ag-ui/core': 0.0.47
4016
4061
  '@ai-sdk/openai-compatible': 2.0.68(zod@3.25.76)
@@ -4019,8 +4064,8 @@ snapshots:
4019
4064
  '@mastra/observability': 1.16.5(@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))(zod@3.25.76)
4020
4065
  '@tbox-dev-js/sdk': 0.1.18
4021
4066
  '@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)
4022
- '@tbox.cn/app-contracts': 0.9.0
4023
- '@tbox.cn/app-toolkit': 0.2.0
4067
+ '@tbox.cn/app-contracts': 0.11.0
4068
+ '@tbox.cn/app-toolkit': 0.4.0
4024
4069
  ai: 6.0.246(zod@3.25.76)
4025
4070
  express: 4.22.2
4026
4071
  gray-matter: 4.0.3
@@ -4043,7 +4088,9 @@ snapshots:
4043
4088
  - utf-8-validate
4044
4089
  - workflow
4045
4090
 
4046
- '@tbox.cn/app-toolkit@0.2.0':
4091
+ '@tbox.cn/app-theme-tbox@0.1.1': {}
4092
+
4093
+ '@tbox.cn/app-toolkit@0.4.0':
4047
4094
  dependencies:
4048
4095
  ajv: 8.20.0
4049
4096
  zod: 3.25.76
@@ -4083,10 +4130,6 @@ snapshots:
4083
4130
  dependencies:
4084
4131
  '@types/node': 24.13.3
4085
4132
 
4086
- '@types/cors@2.8.19':
4087
- dependencies:
4088
- '@types/node': 24.13.3
4089
-
4090
4133
  '@types/debug@4.1.13':
4091
4134
  dependencies:
4092
4135
  '@types/ms': 2.1.0
@@ -4169,6 +4212,12 @@ snapshots:
4169
4212
 
4170
4213
  '@types/unist@3.0.3': {}
4171
4214
 
4215
+ '@types/whatwg-mimetype@3.0.2': {}
4216
+
4217
+ '@types/ws@8.18.1':
4218
+ dependencies:
4219
+ '@types/node': 24.13.3
4220
+
4172
4221
  '@typescript-eslint/eslint-plugin@8.67.0(@typescript-eslint/parser@8.67.0(eslint@9.39.5)(typescript@5.9.3))(eslint@9.39.5)(typescript@5.9.3)':
4173
4222
  dependencies:
4174
4223
  '@eslint-community/regexpp': 4.12.2
@@ -4191,7 +4240,7 @@ snapshots:
4191
4240
  '@typescript-eslint/types': 8.67.0
4192
4241
  '@typescript-eslint/typescript-estree': 8.67.0(typescript@5.9.3)
4193
4242
  '@typescript-eslint/visitor-keys': 8.67.0
4194
- debug: 4.4.3
4243
+ debug: 4.4.1
4195
4244
  eslint: 9.39.5
4196
4245
  typescript: 5.9.3
4197
4246
  transitivePeerDependencies:
@@ -4201,7 +4250,7 @@ snapshots:
4201
4250
  dependencies:
4202
4251
  '@typescript-eslint/tsconfig-utils': 8.68.0(typescript@5.9.3)
4203
4252
  '@typescript-eslint/types': 8.68.0
4204
- debug: 4.4.3
4253
+ debug: 4.4.1
4205
4254
  typescript: 5.9.3
4206
4255
  transitivePeerDependencies:
4207
4256
  - supports-color
@@ -4224,7 +4273,7 @@ snapshots:
4224
4273
  '@typescript-eslint/types': 8.67.0
4225
4274
  '@typescript-eslint/typescript-estree': 8.67.0(typescript@5.9.3)
4226
4275
  '@typescript-eslint/utils': 8.67.0(eslint@9.39.5)(typescript@5.9.3)
4227
- debug: 4.4.3
4276
+ debug: 4.4.1
4228
4277
  eslint: 9.39.5
4229
4278
  ts-api-utils: 2.5.0(typescript@5.9.3)
4230
4279
  typescript: 5.9.3
@@ -4241,7 +4290,7 @@ snapshots:
4241
4290
  '@typescript-eslint/tsconfig-utils': 8.67.0(typescript@5.9.3)
4242
4291
  '@typescript-eslint/types': 8.67.0
4243
4292
  '@typescript-eslint/visitor-keys': 8.67.0
4244
- debug: 4.4.3
4293
+ debug: 4.4.1
4245
4294
  minimatch: 10.2.6
4246
4295
  semver: 7.8.5
4247
4296
  tinyglobby: 0.2.17
@@ -4471,6 +4520,10 @@ snapshots:
4471
4520
  node-releases: 2.0.53
4472
4521
  update-browserslist-db: 1.3.1(browserslist@4.28.8)
4473
4522
 
4523
+ buffer-image-size@0.6.4:
4524
+ dependencies:
4525
+ '@types/node': 24.13.3
4526
+
4474
4527
  bundle-require@5.1.0(esbuild@0.27.7):
4475
4528
  dependencies:
4476
4529
  esbuild: 0.27.7
@@ -4564,11 +4617,6 @@ snapshots:
4564
4617
  dependencies:
4565
4618
  is-what: 4.1.16
4566
4619
 
4567
- cors@2.8.6:
4568
- dependencies:
4569
- object-assign: 4.1.1
4570
- vary: 1.1.2
4571
-
4572
4620
  croner@10.0.1: {}
4573
4621
 
4574
4622
  cross-spawn@7.0.6:
@@ -4590,7 +4638,7 @@ snapshots:
4590
4638
  ms: 2.1.3
4591
4639
  optional: true
4592
4640
 
4593
- debug@4.4.3:
4641
+ debug@4.4.1:
4594
4642
  dependencies:
4595
4643
  ms: 2.1.3
4596
4644
 
@@ -4626,6 +4674,8 @@ snapshots:
4626
4674
 
4627
4675
  encodeurl@2.0.0: {}
4628
4676
 
4677
+ entities@7.0.1: {}
4678
+
4629
4679
  errno@0.1.8:
4630
4680
  dependencies:
4631
4681
  prr: 1.0.1
@@ -4768,7 +4818,7 @@ snapshots:
4768
4818
  ajv: 6.15.0
4769
4819
  chalk: 4.1.2
4770
4820
  cross-spawn: 7.0.6
4771
- debug: 4.4.3
4821
+ debug: 4.4.1
4772
4822
  escape-string-regexp: 4.0.0
4773
4823
  eslint-scope: 8.4.0
4774
4824
  eslint-visitor-keys: 4.2.1
@@ -4985,6 +5035,19 @@ snapshots:
4985
5035
  section-matter: 1.0.0
4986
5036
  strip-bom-string: 1.0.0
4987
5037
 
5038
+ happy-dom@20.11.2:
5039
+ dependencies:
5040
+ '@types/node': 24.13.3
5041
+ '@types/whatwg-mimetype': 3.0.2
5042
+ '@types/ws': 8.18.1
5043
+ buffer-image-size: 0.6.4
5044
+ entities: 7.0.1
5045
+ whatwg-mimetype: 3.0.0
5046
+ ws: 8.21.3
5047
+ transitivePeerDependencies:
5048
+ - bufferutil
5049
+ - utf-8-validate
5050
+
4988
5051
  has-flag@4.0.0: {}
4989
5052
 
4990
5053
  has-symbols@1.1.0: {}
@@ -5519,7 +5582,7 @@ snapshots:
5519
5582
  micromark@4.0.2:
5520
5583
  dependencies:
5521
5584
  '@types/debug': 4.1.13
5522
- debug: 4.4.3
5585
+ debug: 4.4.1
5523
5586
  decode-named-character-reference: 1.3.0
5524
5587
  devlop: 1.1.0
5525
5588
  micromark-core-commonmark: 2.0.3
@@ -6087,7 +6150,7 @@ snapshots:
6087
6150
  cac: 6.7.14
6088
6151
  chokidar: 4.0.3
6089
6152
  consola: 3.4.2
6090
- debug: 4.4.3
6153
+ debug: 4.4.1
6091
6154
  esbuild: 0.27.7
6092
6155
  fix-dts-default-cjs-exports: 1.0.1
6093
6156
  joycon: 3.1.1
@@ -6230,7 +6293,7 @@ snapshots:
6230
6293
  less: 4.8.1
6231
6294
  tsx: 4.23.11
6232
6295
 
6233
- vitest@4.1.10(@opentelemetry/api@1.9.1)(@types/node@24.13.3)(vite@6.4.3(@types/node@24.13.3)(less@4.8.1)(tsx@4.23.11)):
6296
+ vitest@4.1.10(@opentelemetry/api@1.9.1)(@types/node@24.13.3)(happy-dom@20.11.2)(vite@6.4.3(@types/node@24.13.3)(less@4.8.1)(tsx@4.23.11)):
6234
6297
  dependencies:
6235
6298
  '@vitest/expect': 4.1.10
6236
6299
  '@vitest/mocker': 4.1.10(vite@6.4.3(@types/node@24.13.3)(less@4.8.1)(tsx@4.23.11))
@@ -6255,9 +6318,12 @@ snapshots:
6255
6318
  optionalDependencies:
6256
6319
  '@opentelemetry/api': 1.9.1
6257
6320
  '@types/node': 24.13.3
6321
+ happy-dom: 20.11.2
6258
6322
  transitivePeerDependencies:
6259
6323
  - msw
6260
6324
 
6325
+ whatwg-mimetype@3.0.0: {}
6326
+
6261
6327
  which@2.0.2:
6262
6328
  dependencies:
6263
6329
  isexe: 2.0.0
@@ -4,7 +4,7 @@
4
4
  # - catalog 键集 = agent 三模板成员 catalog: 引用并集 ∪ 平台三键(@tbox.cn/app-{sdk,contracts*}——
5
5
  # codegen 展开恒改写为 catalog: 的完备键);键随成员引用增删,不镜像根全量。
6
6
  # - catalog 值与根 pnpm-workspace.yaml 同键全等(scripts/release.mjs sync-catalog 维护)。
7
- # - 非 catalog 顶层键与根镜像(packages/overrides 除外——发布态不带 overrides)。
7
+ # - 非 catalog 顶层键与根镜像(packages 除外);overrides 不镜像,仅携 debug 钉版止血键(@tbox 回指不进模板——发布态解析 registry)。
8
8
  packages:
9
9
  - apps/*
10
10
  - packages/*
@@ -38,9 +38,10 @@ catalog:
38
38
  ws: 8.21.3
39
39
  "@types/ws": 8.18.1
40
40
  "@tbox.cn/agent-plugin": 0.1.0
41
- "@tbox.cn/app-sdk": 0.18.0
42
- "@tbox.cn/app-contracts": 0.9.0
43
- "@tbox.cn/app-contracts-mall": 0.9.0
41
+ "@tbox.cn/app-sdk": 0.20.0
42
+ "@tbox.cn/app-contracts": 0.11.0
43
+ "@tbox.cn/app-contracts-mall": 0.11.0
44
+ "@tbox.cn/app-theme-tbox": 0.1.1
44
45
  zustand: 4.5.7
45
46
  eslint: 9.39.5
46
47
  typescript-eslint: 8.67.0
@@ -58,3 +59,10 @@ catalog:
58
59
  remark-gfm: 4.0.1
59
60
  happy-dom: 20.11.2
60
61
  postcss-pxtorem: 6.1.0
62
+
63
+ # debug 钉版止血(与根 pnpm-workspace.yaml 同步维护;见 2026-09-16-ci-internal-registry-pollution.md):
64
+ # 模板锁种子投影会清 overrides 段致 debug 重解析为 4.4.3(R5 子集校验失败),故模板必须同携此键;
65
+ # 段恒居文件末尾——create --local-deps 的 overrides 条目按"并入末尾段"注入(cli/src/commands/create.ts)。
66
+ # 平台修复内网 registry 数据后随根一并移除。
67
+ overrides:
68
+ "debug@4.4.3": "4.4.1"