@tbox.cn/app-sdk-core 0.20.1 → 0.20.3
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/dist/index.d.ts +3 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -92,7 +92,7 @@ type InferModuleCards<M> = M extends {
|
|
|
92
92
|
*
|
|
93
93
|
* - server(preview-core / card-preview 安装器)与 client(card-preview-logic / page)
|
|
94
94
|
* 共同消费;**不经 server/client index 导出**(内部面,防 API 泄漏);
|
|
95
|
-
* - 统一样本模型(SPEC v7
|
|
95
|
+
* - 统一样本模型(SPEC v7):每样本自带完整渲染要素(data + envelope 投影 + 质量问题),
|
|
96
96
|
* 初始态 = 服务端由 sampleData 合成的第 0 个样本(initial: true),客户端零合成逻辑。
|
|
97
97
|
*/
|
|
98
98
|
|
|
@@ -133,6 +133,8 @@ interface TboxCardPreviewCard {
|
|
|
133
133
|
* 默认目录不出现在本列表,正常卡恒不带本键)
|
|
134
134
|
*/
|
|
135
135
|
hidden?: boolean;
|
|
136
|
+
/** 预览序位(meta.order 原样;additive——缺省卡不带本键,排序恒后置并按 cardType 兜底) */
|
|
137
|
+
order?: number;
|
|
136
138
|
}
|
|
137
139
|
/** GET /_tbox/api/cards 响应 */
|
|
138
140
|
interface TboxCardPreviewCatalog {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tbox.cn/app-sdk-core",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "tbox AI Agent 平台 SDK 共享内核(logger-core 纯函数日志域 + module-types 模块类型推导)——app-sdk-client/server 共同依赖,零 npm 依赖(DAG 顶点)。",
|
|
6
6
|
"exports": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@tbox.cn/app-contracts": "0.12.
|
|
31
|
+
"@tbox.cn/app-contracts": "0.12.4"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
34
|
"build": "tsup",
|