@shwfed/config 3.0.8 → 3.0.10

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 (48) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/components/actions/ai-l1.md +1 -1
  3. package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/runtime.vue +3 -2
  4. package/dist/runtime/components/config/ai-generate.system.md +2 -1
  5. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/config.d.vue.ts +18 -18
  6. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/config.vue.d.ts +18 -18
  7. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/runtime.d.vue.ts +18 -18
  8. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/runtime.vue.d.ts +18 -18
  9. package/dist/runtime/components/config/index.d.vue.ts +2 -2
  10. package/dist/runtime/components/config/index.vue.d.ts +2 -2
  11. package/dist/runtime/components/config/utils/ai-cursor.js +7 -1
  12. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +8 -8
  13. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +8 -8
  14. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +8 -8
  15. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +8 -8
  16. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +8 -8
  17. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +8 -8
  18. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +8 -8
  19. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +8 -8
  20. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +8 -8
  21. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +8 -8
  22. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.d.vue.ts +8 -8
  23. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +8 -8
  24. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.d.vue.ts +8 -8
  25. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +8 -8
  26. package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.navigation/runtime.js +3 -2
  27. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +8 -8
  28. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +8 -8
  29. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +8 -8
  30. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +8 -8
  31. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +8 -8
  32. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +8 -8
  33. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +8 -8
  34. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +8 -8
  35. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +8 -8
  36. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +8 -8
  37. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +8 -8
  38. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +8 -8
  39. package/dist/runtime/components/tabs/index.vue +10 -2
  40. package/dist/runtime/components/ui/chat/ChatMessages.vue +30 -6
  41. package/dist/runtime/share/navigation.d.ts +23 -0
  42. package/dist/runtime/share/navigation.js +15 -0
  43. package/dist/runtime/utils/disabled-date.d.ts +8 -2
  44. package/dist/runtime/utils/disabled-date.js +2 -1
  45. package/dist/runtime/vendor/cel-js/CLAUDE.md +3 -1
  46. package/dist/runtime/vendor/cel-js/PROMPT.md +13 -0
  47. package/dist/runtime/vendor/cel-js/lib/macros.js +64 -1
  48. package/package.json +2 -1
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "shwfed",
3
3
  "configKey": "shwfed",
4
- "version": "3.0.8",
4
+ "version": "3.0.10",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "unknown"
@@ -17,7 +17,7 @@
17
17
 
18
18
  常见接线:搜索按钮 → `触发事件`,触发目标表格的 `search`;重置按钮 → 触发目标表格的 `reset-query`;提交按钮 → `请求`,`before` 里先触发表单 `validate`(校验未过则中止),`onSuccess` 里再刷新表格。
19
19
 
20
- **链步引用(`steps`)**:触发行按顺序串行执行,发布输出的操作(如「发送请求」,见 `list_operations` 的 `output`)把结果存到该行 `id` 名下,后续行的 CEL 经 `steps[?"<该行 id>"]` 读取——例如先「发送请求」取下载凭据、再「下载文件」引用它。需要被引用的行请**自带一个新 UUID 作 `id`**(这是行输出的稳定地址,重排也不变);不引用输出的行可省略 `id`,写入时会自动补上。
20
+ **链步引用(`steps`)**:触发行按顺序串行执行,发布输出的操作(如「发送请求」,见 `list_operations` 的 `output`)把结果存到该行 `id` 名下,后续行的 CEL 经 `steps[?"<该行 id>"]` 读取——例如先「发送请求」取下载凭据、再「下载文件」引用它。需要被引用的行请调用 `gen_uuid` 取一个真 UUID 作 `id`(这是行输出的稳定地址,重排也不变)——**切勿自己臆造**(如 `00000000-0000-…`),占位 id 会互相冲突、`steps` 地址随之失效;不引用输出的行可省略 `id`,写入时会自动补上。
21
21
 
22
22
  ## 模态窗口按钮
23
23
 
@@ -1,7 +1,7 @@
1
1
  <script setup>
2
2
  import { Effect } from "effect";
3
3
  import { navigateTo, useRouter } from "#app";
4
- import { isAbsoluteUrl } from "../../../../../share/navigation";
4
+ import { isAbsoluteUrl, sameOriginInternalPath } from "../../../../../share/navigation";
5
5
  import { cel as _rawCel } from "../../../../../utils/cel";
6
6
  import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
7
7
  import ShwfedActionDefinition from "../../../components/definition.vue";
@@ -22,7 +22,8 @@ const effect = Effect.suspend(
22
22
  window.open(absolute ? url : router.resolve(url).href, "_blank");
23
23
  return;
24
24
  }
25
- await navigateTo(url, { external: absolute });
25
+ const internal = absolute ? sameOriginInternalPath(url, window.location.origin, router.options.history.base) : url;
26
+ await (internal === null ? navigateTo(url, { external: true }) : navigateTo(internal, { external: false }));
26
27
  })
27
28
  )
28
29
  );
@@ -20,7 +20,8 @@
20
20
 
21
21
  ## id 与本地化规则
22
22
 
23
- - **所有 id 由 harness 铸造**:新增块 / 列 / 字段时,你**永远不要**提供 `id` 或 `compatibilityDate`;工具会自动分配。要引用某个块 / 列 / 字段时,用 `list_*` 工具拿到它的 id。
23
+ - **所有 id 由 harness 铸造**:新增块 / 列 / 字段 / 按钮时,你**永远不要**提供 `id` 或 `compatibilityDate`;工具会自动分配。要引用某个块 / 列 / 字段时,用 `list_*` 工具拿到它的 id。
24
+ - **绝不要自己臆造 UUID**(尤其不要写 `00000000-0000-…` 这类占位)。极少数你必须先写出、再在同一次写入里引用的 id——典型是某条触发行的 `id`,其步输出被后续行用 `steps["<该 id>"]` 读取——调用 `gen_uuid` 向 harness 取一个真 UUID 再用。
24
25
  - **本地化文本 zh 打头**:标题等 Locale 文本用 `[{ locale: 'zh', message: '…' }]` 形式,中文在前。
25
26
 
26
27
  ## 栅格约定
@@ -32,6 +32,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
32
32
  readonly locale: "en" | "ja" | "ko";
33
33
  readonly message: string;
34
34
  }[]];
35
+ readonly nodeTooltip?: readonly [{
36
+ readonly locale: "zh";
37
+ readonly message: string;
38
+ }, ...{
39
+ readonly locale: "en" | "ja" | "ko";
40
+ readonly message: string;
41
+ }[]] | undefined;
42
+ readonly nodeSelectable?: string | undefined;
43
+ readonly expandAll: boolean;
35
44
  readonly nodeActions: {
36
45
  readonly size: "default" | "sm" | "xs";
37
46
  readonly style?: string | undefined;
@@ -100,15 +109,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
100
109
  readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
101
110
  }[];
102
111
  };
103
- readonly nodeTooltip?: readonly [{
104
- readonly locale: "zh";
105
- readonly message: string;
106
- }, ...{
107
- readonly locale: "en" | "ja" | "ko";
108
- readonly message: string;
109
- }[]] | undefined;
110
- readonly nodeSelectable?: string | undefined;
111
- readonly expandAll: boolean;
112
112
  }) => any;
113
113
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
114
114
  "onUpdate:modelValue"?: ((value: {
@@ -140,6 +140,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
140
140
  readonly locale: "en" | "ja" | "ko";
141
141
  readonly message: string;
142
142
  }[]];
143
+ readonly nodeTooltip?: readonly [{
144
+ readonly locale: "zh";
145
+ readonly message: string;
146
+ }, ...{
147
+ readonly locale: "en" | "ja" | "ko";
148
+ readonly message: string;
149
+ }[]] | undefined;
150
+ readonly nodeSelectable?: string | undefined;
151
+ readonly expandAll: boolean;
143
152
  readonly nodeActions: {
144
153
  readonly size: "default" | "sm" | "xs";
145
154
  readonly style?: string | undefined;
@@ -208,15 +217,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
208
217
  readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
209
218
  }[];
210
219
  };
211
- readonly nodeTooltip?: readonly [{
212
- readonly locale: "zh";
213
- readonly message: string;
214
- }, ...{
215
- readonly locale: "en" | "ja" | "ko";
216
- readonly message: string;
217
- }[]] | undefined;
218
- readonly nodeSelectable?: string | undefined;
219
- readonly expandAll: boolean;
220
220
  }) => any) | undefined;
221
221
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
222
222
  declare const _default: typeof __VLS_export;
@@ -32,6 +32,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
32
32
  readonly locale: "en" | "ja" | "ko";
33
33
  readonly message: string;
34
34
  }[]];
35
+ readonly nodeTooltip?: readonly [{
36
+ readonly locale: "zh";
37
+ readonly message: string;
38
+ }, ...{
39
+ readonly locale: "en" | "ja" | "ko";
40
+ readonly message: string;
41
+ }[]] | undefined;
42
+ readonly nodeSelectable?: string | undefined;
43
+ readonly expandAll: boolean;
35
44
  readonly nodeActions: {
36
45
  readonly size: "default" | "sm" | "xs";
37
46
  readonly style?: string | undefined;
@@ -100,15 +109,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
100
109
  readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
101
110
  }[];
102
111
  };
103
- readonly nodeTooltip?: readonly [{
104
- readonly locale: "zh";
105
- readonly message: string;
106
- }, ...{
107
- readonly locale: "en" | "ja" | "ko";
108
- readonly message: string;
109
- }[]] | undefined;
110
- readonly nodeSelectable?: string | undefined;
111
- readonly expandAll: boolean;
112
112
  }) => any;
113
113
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
114
114
  "onUpdate:modelValue"?: ((value: {
@@ -140,6 +140,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
140
140
  readonly locale: "en" | "ja" | "ko";
141
141
  readonly message: string;
142
142
  }[]];
143
+ readonly nodeTooltip?: readonly [{
144
+ readonly locale: "zh";
145
+ readonly message: string;
146
+ }, ...{
147
+ readonly locale: "en" | "ja" | "ko";
148
+ readonly message: string;
149
+ }[]] | undefined;
150
+ readonly nodeSelectable?: string | undefined;
151
+ readonly expandAll: boolean;
143
152
  readonly nodeActions: {
144
153
  readonly size: "default" | "sm" | "xs";
145
154
  readonly style?: string | undefined;
@@ -208,15 +217,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
208
217
  readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
209
218
  }[];
210
219
  };
211
- readonly nodeTooltip?: readonly [{
212
- readonly locale: "zh";
213
- readonly message: string;
214
- }, ...{
215
- readonly locale: "en" | "ja" | "ko";
216
- readonly message: string;
217
- }[]] | undefined;
218
- readonly nodeSelectable?: string | undefined;
219
- readonly expandAll: boolean;
220
220
  }) => any) | undefined;
221
221
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
222
222
  declare const _default: typeof __VLS_export;
@@ -37,6 +37,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
37
37
  readonly locale: "en" | "ja" | "ko";
38
38
  readonly message: string;
39
39
  }[]];
40
+ readonly nodeTooltip?: readonly [{
41
+ readonly locale: "zh";
42
+ readonly message: string;
43
+ }, ...{
44
+ readonly locale: "en" | "ja" | "ko";
45
+ readonly message: string;
46
+ }[]] | undefined;
47
+ readonly nodeSelectable?: string | undefined;
48
+ readonly expandAll: boolean;
40
49
  readonly nodeActions: {
41
50
  readonly size: "default" | "sm" | "xs";
42
51
  readonly style?: string | undefined;
@@ -105,15 +114,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
105
114
  readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
106
115
  }[];
107
116
  };
108
- readonly nodeTooltip?: readonly [{
109
- readonly locale: "zh";
110
- readonly message: string;
111
- }, ...{
112
- readonly locale: "en" | "ja" | "ko";
113
- readonly message: string;
114
- }[]] | undefined;
115
- readonly nodeSelectable?: string | undefined;
116
- readonly expandAll: boolean;
117
117
  }) => any;
118
118
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
119
119
  "onUpdate:block"?: ((value: {
@@ -145,6 +145,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
145
145
  readonly locale: "en" | "ja" | "ko";
146
146
  readonly message: string;
147
147
  }[]];
148
+ readonly nodeTooltip?: readonly [{
149
+ readonly locale: "zh";
150
+ readonly message: string;
151
+ }, ...{
152
+ readonly locale: "en" | "ja" | "ko";
153
+ readonly message: string;
154
+ }[]] | undefined;
155
+ readonly nodeSelectable?: string | undefined;
156
+ readonly expandAll: boolean;
148
157
  readonly nodeActions: {
149
158
  readonly size: "default" | "sm" | "xs";
150
159
  readonly style?: string | undefined;
@@ -213,15 +222,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
213
222
  readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
214
223
  }[];
215
224
  };
216
- readonly nodeTooltip?: readonly [{
217
- readonly locale: "zh";
218
- readonly message: string;
219
- }, ...{
220
- readonly locale: "en" | "ja" | "ko";
221
- readonly message: string;
222
- }[]] | undefined;
223
- readonly nodeSelectable?: string | undefined;
224
- readonly expandAll: boolean;
225
225
  }) => any) | undefined;
226
226
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
227
227
  declare const _default: typeof __VLS_export;
@@ -37,6 +37,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
37
37
  readonly locale: "en" | "ja" | "ko";
38
38
  readonly message: string;
39
39
  }[]];
40
+ readonly nodeTooltip?: readonly [{
41
+ readonly locale: "zh";
42
+ readonly message: string;
43
+ }, ...{
44
+ readonly locale: "en" | "ja" | "ko";
45
+ readonly message: string;
46
+ }[]] | undefined;
47
+ readonly nodeSelectable?: string | undefined;
48
+ readonly expandAll: boolean;
40
49
  readonly nodeActions: {
41
50
  readonly size: "default" | "sm" | "xs";
42
51
  readonly style?: string | undefined;
@@ -105,15 +114,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
105
114
  readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
106
115
  }[];
107
116
  };
108
- readonly nodeTooltip?: readonly [{
109
- readonly locale: "zh";
110
- readonly message: string;
111
- }, ...{
112
- readonly locale: "en" | "ja" | "ko";
113
- readonly message: string;
114
- }[]] | undefined;
115
- readonly nodeSelectable?: string | undefined;
116
- readonly expandAll: boolean;
117
117
  }) => any;
118
118
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
119
119
  "onUpdate:block"?: ((value: {
@@ -145,6 +145,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
145
145
  readonly locale: "en" | "ja" | "ko";
146
146
  readonly message: string;
147
147
  }[]];
148
+ readonly nodeTooltip?: readonly [{
149
+ readonly locale: "zh";
150
+ readonly message: string;
151
+ }, ...{
152
+ readonly locale: "en" | "ja" | "ko";
153
+ readonly message: string;
154
+ }[]] | undefined;
155
+ readonly nodeSelectable?: string | undefined;
156
+ readonly expandAll: boolean;
148
157
  readonly nodeActions: {
149
158
  readonly size: "default" | "sm" | "xs";
150
159
  readonly style?: string | undefined;
@@ -213,15 +222,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
213
222
  readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
214
223
  }[];
215
224
  };
216
- readonly nodeTooltip?: readonly [{
217
- readonly locale: "zh";
218
- readonly message: string;
219
- }, ...{
220
- readonly locale: "en" | "ja" | "ko";
221
- readonly message: string;
222
- }[]] | undefined;
223
- readonly nodeSelectable?: string | undefined;
224
- readonly expandAll: boolean;
225
225
  }) => any) | undefined;
226
226
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
227
227
  declare const _default: typeof __VLS_export;
@@ -12,7 +12,6 @@ type __VLS_ModelProps = {
12
12
  };
13
13
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
14
14
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
- "select-version": (version: string) => any;
16
15
  "update:config": (value: Readonly<{
17
16
  kind: "shwfed.component.page";
18
17
  title?: import("../../share/locale.js").LocaleValue;
@@ -26,8 +25,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
26
25
  }>[];
27
26
  }>;
28
27
  }> | null | undefined) => any;
28
+ "select-version": (version: string) => any;
29
29
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
30
- "onSelect-version"?: ((version: string) => any) | undefined;
31
30
  "onUpdate:config"?: ((value: Readonly<{
32
31
  kind: "shwfed.component.page";
33
32
  title?: import("../../share/locale.js").LocaleValue;
@@ -41,6 +40,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
41
40
  }>[];
42
41
  }>;
43
42
  }> | null | undefined) => any) | undefined;
43
+ "onSelect-version"?: ((version: string) => any) | undefined;
44
44
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
45
45
  declare const _default: typeof __VLS_export;
46
46
  export default _default;
@@ -12,7 +12,6 @@ type __VLS_ModelProps = {
12
12
  };
13
13
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
14
14
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
- "select-version": (version: string) => any;
16
15
  "update:config": (value: Readonly<{
17
16
  kind: "shwfed.component.page";
18
17
  title?: import("../../share/locale.js").LocaleValue;
@@ -26,8 +25,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
26
25
  }>[];
27
26
  }>;
28
27
  }> | null | undefined) => any;
28
+ "select-version": (version: string) => any;
29
29
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
30
- "onSelect-version"?: ((version: string) => any) | undefined;
31
30
  "onUpdate:config"?: ((value: Readonly<{
32
31
  kind: "shwfed.component.page";
33
32
  title?: import("../../share/locale.js").LocaleValue;
@@ -41,6 +40,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
41
40
  }>[];
42
41
  }>;
43
42
  }> | null | undefined) => any) | undefined;
43
+ "onSelect-version"?: ((version: string) => any) | undefined;
44
44
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
45
45
  declare const _default: typeof __VLS_export;
46
46
  export default _default;
@@ -817,8 +817,14 @@ export function createConfigAiCursor(deps) {
817
817
  return recap;
818
818
  }
819
819
  };
820
+ const genUuidTool = {
821
+ name: "gen_uuid",
822
+ description: 'Mint a fresh UUID from the harness. You almost never need this: the harness assigns every id itself (insert_block / insert_field / insert_button / \u2026 return the id, and configure_button backfills a trigger row that omits one). Call it ONLY when you must author an id you then reference in the same write \u2014 chiefly a trigger row `id` whose step output a LATER row reads via `steps["<id>"]`. Never invent an id yourself (e.g. all-zeros) \u2014 collisions there break the steps address. Returns `{ uuid }`.',
823
+ inputJsonSchema: { type: "object", properties: {}, additionalProperties: false },
824
+ execute: () => ({ uuid: deps.genUuid() })
825
+ };
820
826
  function tools() {
821
- return [...current().family, enterNode, leaveNode];
827
+ return [...current().family, enterNode, leaveNode, genUuidTool];
822
828
  }
823
829
  function reset() {
824
830
  frames = [pageFrame];
@@ -37,15 +37,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
37
37
  readonly displayName?: string | undefined;
38
38
  readonly compatibilityDate: "2026-05-23";
39
39
  readonly readonly?: string | undefined;
40
- readonly dataSource: {
41
- readonly data: string;
42
- readonly request?: string | undefined;
43
- };
44
40
  readonly binding?: string | undefined;
45
41
  readonly derived?: {
46
42
  readonly mode: "formula" | "prefill";
47
43
  readonly expression: string;
48
44
  } | undefined;
45
+ readonly dataSource: {
46
+ readonly data: string;
47
+ readonly request?: string | undefined;
48
+ };
49
49
  readonly nodeKey: string;
50
50
  readonly nodeChildren: string;
51
51
  readonly nodeLabel: readonly [{
@@ -112,15 +112,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
112
112
  readonly displayName?: string | undefined;
113
113
  readonly compatibilityDate: "2026-05-23";
114
114
  readonly readonly?: string | undefined;
115
- readonly dataSource: {
116
- readonly data: string;
117
- readonly request?: string | undefined;
118
- };
119
115
  readonly binding?: string | undefined;
120
116
  readonly derived?: {
121
117
  readonly mode: "formula" | "prefill";
122
118
  readonly expression: string;
123
119
  } | undefined;
120
+ readonly dataSource: {
121
+ readonly data: string;
122
+ readonly request?: string | undefined;
123
+ };
124
124
  readonly nodeKey: string;
125
125
  readonly nodeChildren: string;
126
126
  readonly nodeLabel: readonly [{
@@ -37,15 +37,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
37
37
  readonly displayName?: string | undefined;
38
38
  readonly compatibilityDate: "2026-05-23";
39
39
  readonly readonly?: string | undefined;
40
- readonly dataSource: {
41
- readonly data: string;
42
- readonly request?: string | undefined;
43
- };
44
40
  readonly binding?: string | undefined;
45
41
  readonly derived?: {
46
42
  readonly mode: "formula" | "prefill";
47
43
  readonly expression: string;
48
44
  } | undefined;
45
+ readonly dataSource: {
46
+ readonly data: string;
47
+ readonly request?: string | undefined;
48
+ };
49
49
  readonly nodeKey: string;
50
50
  readonly nodeChildren: string;
51
51
  readonly nodeLabel: readonly [{
@@ -112,15 +112,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
112
112
  readonly displayName?: string | undefined;
113
113
  readonly compatibilityDate: "2026-05-23";
114
114
  readonly readonly?: string | undefined;
115
- readonly dataSource: {
116
- readonly data: string;
117
- readonly request?: string | undefined;
118
- };
119
115
  readonly binding?: string | undefined;
120
116
  readonly derived?: {
121
117
  readonly mode: "formula" | "prefill";
122
118
  readonly expression: string;
123
119
  } | undefined;
120
+ readonly dataSource: {
121
+ readonly data: string;
122
+ readonly request?: string | undefined;
123
+ };
124
124
  readonly nodeKey: string;
125
125
  readonly nodeChildren: string;
126
126
  readonly nodeLabel: readonly [{
@@ -34,15 +34,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
34
34
  readonly message: string;
35
35
  }[]] | undefined;
36
36
  readonly readonly?: string | undefined;
37
- readonly dataSource: {
38
- readonly data: string;
39
- readonly request?: string | undefined;
40
- };
41
37
  readonly binding?: string | undefined;
42
38
  readonly derived?: {
43
39
  readonly mode: "formula" | "prefill";
44
40
  readonly expression: string;
45
41
  } | undefined;
42
+ readonly dataSource: {
43
+ readonly data: string;
44
+ readonly request?: string | undefined;
45
+ };
46
46
  readonly nodeKey: string;
47
47
  readonly nodeChildren: string;
48
48
  readonly nodeLabel: readonly [{
@@ -106,15 +106,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
106
106
  readonly message: string;
107
107
  }[]] | undefined;
108
108
  readonly readonly?: string | undefined;
109
- readonly dataSource: {
110
- readonly data: string;
111
- readonly request?: string | undefined;
112
- };
113
109
  readonly binding?: string | undefined;
114
110
  readonly derived?: {
115
111
  readonly mode: "formula" | "prefill";
116
112
  readonly expression: string;
117
113
  } | undefined;
114
+ readonly dataSource: {
115
+ readonly data: string;
116
+ readonly request?: string | undefined;
117
+ };
118
118
  readonly nodeKey: string;
119
119
  readonly nodeChildren: string;
120
120
  readonly nodeLabel: readonly [{
@@ -34,15 +34,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
34
34
  readonly message: string;
35
35
  }[]] | undefined;
36
36
  readonly readonly?: string | undefined;
37
- readonly dataSource: {
38
- readonly data: string;
39
- readonly request?: string | undefined;
40
- };
41
37
  readonly binding?: string | undefined;
42
38
  readonly derived?: {
43
39
  readonly mode: "formula" | "prefill";
44
40
  readonly expression: string;
45
41
  } | undefined;
42
+ readonly dataSource: {
43
+ readonly data: string;
44
+ readonly request?: string | undefined;
45
+ };
46
46
  readonly nodeKey: string;
47
47
  readonly nodeChildren: string;
48
48
  readonly nodeLabel: readonly [{
@@ -106,15 +106,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
106
106
  readonly message: string;
107
107
  }[]] | undefined;
108
108
  readonly readonly?: string | undefined;
109
- readonly dataSource: {
110
- readonly data: string;
111
- readonly request?: string | undefined;
112
- };
113
109
  readonly binding?: string | undefined;
114
110
  readonly derived?: {
115
111
  readonly mode: "formula" | "prefill";
116
112
  readonly expression: string;
117
113
  } | undefined;
114
+ readonly dataSource: {
115
+ readonly data: string;
116
+ readonly request?: string | undefined;
117
+ };
118
118
  readonly nodeKey: string;
119
119
  readonly nodeChildren: string;
120
120
  readonly nodeLabel: readonly [{
@@ -34,15 +34,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
34
34
  readonly message: string;
35
35
  }[]] | undefined;
36
36
  readonly readonly?: string | undefined;
37
- readonly dataSource: {
38
- readonly data: string;
39
- readonly request?: string | undefined;
40
- };
41
37
  readonly binding?: string | undefined;
42
38
  readonly derived?: {
43
39
  readonly mode: "formula" | "prefill";
44
40
  readonly expression: string;
45
41
  } | undefined;
42
+ readonly dataSource: {
43
+ readonly data: string;
44
+ readonly request?: string | undefined;
45
+ };
46
46
  readonly nodeKey: string;
47
47
  readonly nodeChildren: string;
48
48
  readonly nodeLabel: readonly [{
@@ -105,15 +105,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
105
105
  readonly message: string;
106
106
  }[]] | undefined;
107
107
  readonly readonly?: string | undefined;
108
- readonly dataSource: {
109
- readonly data: string;
110
- readonly request?: string | undefined;
111
- };
112
108
  readonly binding?: string | undefined;
113
109
  readonly derived?: {
114
110
  readonly mode: "formula" | "prefill";
115
111
  readonly expression: string;
116
112
  } | undefined;
113
+ readonly dataSource: {
114
+ readonly data: string;
115
+ readonly request?: string | undefined;
116
+ };
117
117
  readonly nodeKey: string;
118
118
  readonly nodeChildren: string;
119
119
  readonly nodeLabel: readonly [{
@@ -34,15 +34,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
34
34
  readonly message: string;
35
35
  }[]] | undefined;
36
36
  readonly readonly?: string | undefined;
37
- readonly dataSource: {
38
- readonly data: string;
39
- readonly request?: string | undefined;
40
- };
41
37
  readonly binding?: string | undefined;
42
38
  readonly derived?: {
43
39
  readonly mode: "formula" | "prefill";
44
40
  readonly expression: string;
45
41
  } | undefined;
42
+ readonly dataSource: {
43
+ readonly data: string;
44
+ readonly request?: string | undefined;
45
+ };
46
46
  readonly nodeKey: string;
47
47
  readonly nodeChildren: string;
48
48
  readonly nodeLabel: readonly [{
@@ -105,15 +105,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
105
105
  readonly message: string;
106
106
  }[]] | undefined;
107
107
  readonly readonly?: string | undefined;
108
- readonly dataSource: {
109
- readonly data: string;
110
- readonly request?: string | undefined;
111
- };
112
108
  readonly binding?: string | undefined;
113
109
  readonly derived?: {
114
110
  readonly mode: "formula" | "prefill";
115
111
  readonly expression: string;
116
112
  } | undefined;
113
+ readonly dataSource: {
114
+ readonly data: string;
115
+ readonly request?: string | undefined;
116
+ };
117
117
  readonly nodeKey: string;
118
118
  readonly nodeChildren: string;
119
119
  readonly nodeLabel: readonly [{
@@ -35,15 +35,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
35
35
  }[]] | undefined;
36
36
  readonly keywords?: string | undefined;
37
37
  readonly readonly?: string | undefined;
38
- readonly dataSource: {
39
- readonly data: string;
40
- readonly request?: string | undefined;
41
- };
42
38
  readonly binding?: string | undefined;
43
39
  readonly derived?: {
44
40
  readonly mode: "formula" | "prefill";
45
41
  readonly expression: string;
46
42
  } | undefined;
43
+ readonly dataSource: {
44
+ readonly data: string;
45
+ readonly request?: string | undefined;
46
+ };
47
47
  readonly nodeKey: string;
48
48
  readonly nodeChildren: string;
49
49
  readonly nodeLabel: readonly [{
@@ -108,15 +108,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
108
108
  }[]] | undefined;
109
109
  readonly keywords?: string | undefined;
110
110
  readonly readonly?: string | undefined;
111
- readonly dataSource: {
112
- readonly data: string;
113
- readonly request?: string | undefined;
114
- };
115
111
  readonly binding?: string | undefined;
116
112
  readonly derived?: {
117
113
  readonly mode: "formula" | "prefill";
118
114
  readonly expression: string;
119
115
  } | undefined;
116
+ readonly dataSource: {
117
+ readonly data: string;
118
+ readonly request?: string | undefined;
119
+ };
120
120
  readonly nodeKey: string;
121
121
  readonly nodeChildren: string;
122
122
  readonly nodeLabel: readonly [{