@steerable/pack-sdk 0.14.4 → 0.14.6

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/package.json +1 -1
  2. package/types/web.d.ts +8 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steerable/pack-sdk",
3
- "version": "0.14.4",
3
+ "version": "0.14.6",
4
4
  "type": "module",
5
5
  "description": "Scenario pack contract for @steerable/agent-shell (pure types, zero runtime). A scenario pack declares every extension a vertical scenario needs — services, tools, tables, skills, agent seeds, HTTP routes, renderer slots, branding — and the host composes the selected packs at build time.",
6
6
  "license": "Apache-2.0",
package/types/web.d.ts CHANGED
@@ -13,9 +13,17 @@ export interface PackRouteContribution {
13
13
  readonly Component: ComponentType;
14
14
  }
15
15
 
16
+ export type SettingsNavGroup = 'app' | 'capabilities' | 'data-security';
17
+
16
18
  export interface PackSettingsPanelContribution {
17
19
  readonly panelId: string;
18
20
  readonly title: string;
21
+ /** 子页副标题(展示在设置子页标题下方)。 */
22
+ readonly description?: string;
23
+ /** 左侧设置导航所属分组;缺省归入 'capabilities'。 */
24
+ readonly group?: SettingsNavGroup;
25
+ /** 搜索别名关键词(经本地化后参与设置侧栏实时过滤)。 */
26
+ readonly keywords?: readonly string[];
19
27
  /** 段头图标(react-icons 组件);缺省段头只显示标题文字。 */
20
28
  readonly Icon?: ComponentType<{ className?: string }>;
21
29
  readonly Component: ComponentType;