@republicroad/seal-appshell 1.7.0 → 1.8.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.
package/dist/index.js CHANGED
@@ -1607,6 +1607,11 @@ var kt = /*#__PURE__*/ d.forwardRef(function(e, t) {
1607
1607
  group: _n,
1608
1608
  shortDescription: yn(e.description) ?? `函数集合(${n})`,
1609
1609
  tools: e.tools ?? [],
1610
+ searchKeywords: Array.from(new Set((e.tools ?? []).flatMap((e) => [
1611
+ e.name,
1612
+ e.title,
1613
+ yn(e.description) ?? ""
1614
+ ]).filter(Boolean))),
1610
1615
  seed: ({ index: e }) => ({
1611
1616
  name: `${t}${e}`,
1612
1617
  config: vn
@@ -10896,6 +10901,7 @@ var Hh = (e) => {
10896
10901
  displayName: e.displayName,
10897
10902
  group: e.group,
10898
10903
  shortDescription: e.shortDescription,
10904
+ searchKeywords: e.searchKeywords,
10899
10905
  icon: Wh[e.kind] ?? Gh,
10900
10906
  generateNode: e.seed
10901
10907
  }, n = e.tools ?? [];
@@ -11,6 +11,8 @@ export type CustomNodePlan = {
11
11
  shortDescription?: string;
12
12
  /** 命名空间工具集:存在时节点挂 schema 感知编辑面板(函数下拉 + 位置参数) */
13
13
  tools?: CustomFunctionTool[];
14
+ /** L6(ADR-008):面板搜索附加关键词——容器内部工具的 name/title/描述首行,命中时高亮词条 */
15
+ searchKeywords?: string[];
14
16
  seed: (params: {
15
17
  index: number;
16
18
  }) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@republicroad/seal-appshell",
3
- "version": "1.7.0",
3
+ "version": "1.8.0",
4
4
  "description": "Application shell for @republicroad/seal-editor — custom node hosting, UI slot overrides and skinning",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@base-ui/react": "^1.8.0",
36
- "@republicroad/seal-editor": "^1.7.0",
36
+ "@republicroad/seal-editor": "^1.8.0",
37
37
  "@tanstack/react-virtual": "^3.14.10",
38
38
  "axios": "^1.13.5",
39
39
  "better-auth": "^1.6.25",