@tbox.cn/app-template-h5 0.1.15 → 0.1.16

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.
@@ -72,7 +72,7 @@ const vite = await createViteServer({
72
72
  });
73
73
 
74
74
  const runtime = createTboxDevRuntime({
75
- vite: { middlewares: vite.middlewares, transformIndexHtml: vite.transformIndexHtml },
75
+ vite: { middlewares: vite.middlewares, transformIndexHtml: vite.transformIndexHtml, ws: vite.ws },
76
76
  hmrHub,
77
77
  hmrPath: path.posix.join(vite.config.base, HMR_WS_PATH),
78
78
  tokenState,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tbox.cn/app-template-h5",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "description": "tbox H5 全栈模板(单 workspace:apps/client + apps/server),运行时与页面微调经 @tbox.cn/app-sdk。",
5
5
  "type": "module",
6
6
  "engines": {
@@ -35,7 +35,7 @@
35
35
  "eslint-plugin-react-hooks": "5.2.0",
36
36
  "typescript-eslint": "8.67.0",
37
37
  "vite": "6.4.3",
38
- "@tbox.cn/app-sdk-server": "0.26.0"
38
+ "@tbox.cn/app-sdk-server": "0.26.2"
39
39
  },
40
40
  "scripts": {
41
41
  "dev": "pnpm --filter ./apps/server dev",
@@ -10,8 +10,8 @@ catalogs:
10
10
  specifier: 0.21.3
11
11
  version: 0.21.3
12
12
  '@tbox.cn/app-sdk-server':
13
- specifier: 0.26.0
14
- version: 0.26.0
13
+ specifier: 0.26.2
14
+ version: 0.26.2
15
15
  '@types/express':
16
16
  specifier: 4.17.25
17
17
  version: 4.17.25
@@ -79,7 +79,7 @@ importers:
79
79
  devDependencies:
80
80
  '@tbox.cn/app-sdk-server':
81
81
  specifier: 'catalog:'
82
- version: 0.26.0
82
+ version: 0.26.2
83
83
  eslint:
84
84
  specifier: 'catalog:'
85
85
  version: 9.39.5
@@ -134,7 +134,7 @@ importers:
134
134
  dependencies:
135
135
  '@tbox.cn/app-sdk-server':
136
136
  specifier: 'catalog:'
137
- version: 0.26.0
137
+ version: 0.26.2
138
138
  express:
139
139
  specifier: 'catalog:'
140
140
  version: 4.22.2
@@ -959,8 +959,12 @@ packages:
959
959
  resolution: {integrity: sha512-8sqP/23MoUlbTX9enFNotP5bu7XKFfigDUJ6sEn1Ff2a0rRlSTWzLWmDv9lP70cfZMPjh4MHoLKFoukr8QPvMA==}
960
960
  engines: {node: '>=20.0.0'}
961
961
 
962
- '@tbox.cn/app-contracts@0.13.1':
963
- resolution: {integrity: sha512-Cty4qoknyihli6ZMlxOqqTgRqwg0NOh0WOMfIWdB4rHua0QzZkP1jUoeffq5imnpIh7vXdfLhDpv/JwTrHd1XQ==}
962
+ '@tbox.cn/app-contracts@0.13.2':
963
+ resolution: {integrity: sha512-0lY9g29ice7xYbmV5XDnEiMmM70jvSzeK2cciUZVpzHgGykWqZiPRlqXIGkIRY7uObDQ1cICHC4mS67HuNQ8Jg==}
964
+ engines: {node: '>=20.0.0'}
965
+
966
+ '@tbox.cn/app-contracts@0.13.3':
967
+ resolution: {integrity: sha512-P16LFd+ZzIASrujs6fyaOEwRnsLg7Lh5k1qOVDNblmohrvUbVIOK5ntn+7mupJxnjK7SY43RUT4mtWtfM85/rQ==}
964
968
  engines: {node: '>=20.0.0'}
965
969
 
966
970
  '@tbox.cn/app-sdk-client@0.21.3':
@@ -971,13 +975,17 @@ packages:
971
975
  resolution: {integrity: sha512-4kcoxnZnPgsO0RwAsjsodOXRhZNQcr9r3INN3Z03/JR2e3E+izkW2YHsgGcdbVSVX81s8gZrkaBbE+xco3wSqg==}
972
976
  engines: {node: '>=20.0.0'}
973
977
 
974
- '@tbox.cn/app-sdk-server@0.26.0':
975
- resolution: {integrity: sha512-VpV3sf4K/2MEsnkuK5EqZUyf9KoSVHeJUm4Al0M6R4Wumg6183apnxB2f38S5wuP30JSJShN/ww63EzRniTrjw==}
978
+ '@tbox.cn/app-sdk-core@0.20.5':
979
+ resolution: {integrity: sha512-HLLRg1y2jB32uJPL3/a387eABdNZUxrmkGoJwIv44XV9B94DXmTgb9vxYzbyBa0FazxXG0WudyzFnmH5eeqqrw==}
980
+ engines: {node: '>=20.0.0'}
981
+
982
+ '@tbox.cn/app-sdk-server@0.26.2':
983
+ resolution: {integrity: sha512-TY9oo3VnsHtLv5im9eu9UUBzDJoluk/YRR7MFwU98G1ZzUDoSLagelb0kamhx5j/R9sXZjwV0NY3Kv6dz/WVmw==}
976
984
  engines: {node: '>=20.0.0'}
977
985
  hasBin: true
978
986
 
979
- '@tbox.cn/app-toolkit@0.8.0':
980
- resolution: {integrity: sha512-urefCf5DCWbH9wM8dSGavA9MNdY4gx7LY16+s9jIlwhahq83mfrCP2h9ombn44ljMrv04G7mnb3vMtNeWs5/Ug==}
987
+ '@tbox.cn/app-toolkit@0.8.3':
988
+ resolution: {integrity: sha512-i+rz8tUwndygwCw/T5dp/59p2JKW+Xpfy2UznKOY8vuKbqbe2ANCUTDUuNf8IDuyfvy158Iw/+5H/hLVNAD/3w==}
981
989
  engines: {node: '>=20.0.0'}
982
990
 
983
991
  '@types/babel__core@7.20.5':
@@ -2823,7 +2831,13 @@ snapshots:
2823
2831
  react: 18.3.1
2824
2832
  zod: 3.25.76
2825
2833
 
2826
- '@tbox.cn/app-contracts@0.13.1':
2834
+ '@tbox.cn/app-contracts@0.13.2':
2835
+ dependencies:
2836
+ '@ag-ui/core': 0.0.47
2837
+ react: 18.3.1
2838
+ zod: 3.25.76
2839
+
2840
+ '@tbox.cn/app-contracts@0.13.3':
2827
2841
  dependencies:
2828
2842
  '@ag-ui/core': 0.0.47
2829
2843
  react: 18.3.1
@@ -2840,19 +2854,23 @@ snapshots:
2840
2854
  dependencies:
2841
2855
  '@tbox.cn/app-contracts': 0.13.0
2842
2856
 
2843
- '@tbox.cn/app-sdk-server@0.26.0':
2857
+ '@tbox.cn/app-sdk-core@0.20.5':
2858
+ dependencies:
2859
+ '@tbox.cn/app-contracts': 0.13.2
2860
+
2861
+ '@tbox.cn/app-sdk-server@0.26.2':
2844
2862
  dependencies:
2845
2863
  '@ag-ui/core': 0.0.47
2846
- '@tbox.cn/app-contracts': 0.13.1
2847
- '@tbox.cn/app-sdk-core': 0.20.4
2848
- '@tbox.cn/app-toolkit': 0.8.0
2864
+ '@tbox.cn/app-contracts': 0.13.3
2865
+ '@tbox.cn/app-sdk-core': 0.20.5
2866
+ '@tbox.cn/app-toolkit': 0.8.3
2849
2867
  express: 4.22.2
2850
2868
  jose: 6.2.8
2851
2869
  zod: 3.25.76
2852
2870
  transitivePeerDependencies:
2853
2871
  - supports-color
2854
2872
 
2855
- '@tbox.cn/app-toolkit@0.8.0':
2873
+ '@tbox.cn/app-toolkit@0.8.3':
2856
2874
  dependencies:
2857
2875
  ajv: 8.20.0
2858
2876
  zod: 3.25.76
@@ -35,8 +35,8 @@ catalog:
35
35
  "@types/express": 4.17.25
36
36
  "@tbox.cn/app-sdk-core": 0.20.5
37
37
  "@tbox.cn/app-sdk-client": 0.21.3
38
- "@tbox.cn/app-sdk-server": 0.26.0
39
- "@tbox.cn/app-agent-sdk-server": 0.3.1
38
+ "@tbox.cn/app-sdk-server": 0.26.2
39
+ "@tbox.cn/app-agent-sdk-server": 0.3.3
40
40
  "@tbox.cn/app-agent-sdk-client": 0.2.0
41
41
  "@tbox.cn/app-contracts": 0.13.3
42
42
  "@tbox.cn/app-contracts-mall": 0.13.2