@tbox.cn/app-sdk-core 0.20.0 → 0.20.2

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 (2) hide show
  1. package/dist/index.d.ts +7 -0
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -128,6 +128,13 @@ interface TboxCardPreviewCard {
128
128
  /** 该 cardType 的非 hidden 动作呈现字段(kind/label/style/enabled/...) */
129
129
  actions: CardActionPresentation[];
130
130
  samples: TboxCardPreviewSample[];
131
+ /**
132
+ * 不出卡徽标(meta.hidden === true;additive——仅 includeHidden=true 目录携带,
133
+ * 默认目录不出现在本列表,正常卡恒不带本键)
134
+ */
135
+ hidden?: boolean;
136
+ /** 预览序位(meta.order 原样;additive——缺省卡不带本键,排序恒后置并按 cardType 兜底) */
137
+ order?: number;
131
138
  }
132
139
  /** GET /_tbox/api/cards 响应 */
133
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.0",
3
+ "version": "0.20.2",
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.0"
31
+ "@tbox.cn/app-contracts": "0.12.3"
32
32
  },
33
33
  "scripts": {
34
34
  "build": "tsup",