@webskill/sdk 0.12.0 → 0.14.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.
Files changed (35) hide show
  1. package/dist/agent.d.ts +3 -3
  2. package/dist/agent.js +3 -3
  3. package/dist/browser.d.ts +250 -9
  4. package/dist/browser.js +1257 -95
  5. package/dist/{catalogComponents-BgAJN0p8-C3K8klJd.js → catalogComponents-BgAJN0p8-Cr55ouOg.js} +348 -14
  6. package/dist/{dist-sdKFgERo.js → dist-Bfga1TmS.js} +368 -34
  7. package/dist/{dist-DU9KDAuR.js → dist-BnqAkSS6.js} +965 -49
  8. package/dist/{dist-DqcL6jKO.js → dist-CiaDIqkV.js} +2 -2
  9. package/dist/{dist-Bev6i6Ip.js → dist-D5YhlCdY.js} +59 -1
  10. package/dist/governance.d.ts +3 -3
  11. package/dist/governance.js +2 -2
  12. package/dist/{index-C9pzXLKy.d.ts → index-CWoKOFBP.d.ts} +86 -5
  13. package/dist/{index-DFhU1uks.d.ts → index-DQwGvHAI.d.ts} +447 -22
  14. package/dist/{index-3fCHc1mQ.d.ts → index-sd-gVKey.d.ts} +2 -2
  15. package/dist/index.d.ts +4 -4
  16. package/dist/index.js +5 -5
  17. package/dist/mcp.d.ts +77 -3
  18. package/dist/mcp.js +78 -4
  19. package/dist/{memoryArtifactStore-52Zn9npI-LbCQaqyx.js → memoryArtifactStore-52Zn9npI-BxtUkrgV.js} +1 -1
  20. package/dist/node.d.ts +3 -3
  21. package/dist/node.js +6 -6
  22. package/dist/{openUiLibrary-BKXW7Iwx-DaymVubt.js → openUiLibrary-BKXW7Iwx-DjvEnMlJ.js} +2 -2
  23. package/dist/{skillVersionStore-D-qHk9ZE-DheTIwAB.d.ts → skillVersionStore-D-qHk9ZE-C0OFDTQY.d.ts} +1 -1
  24. package/dist/{testing-WPTyXQYt.js → testing-Cm8MseLF.js} +2 -2
  25. package/dist/testing.d.ts +1 -1
  26. package/dist/testing.js +2 -2
  27. package/dist/{types-DLctJep_-B5G4uk2u.d.ts → types-C3V6lAeO-BgeOvc1Y.d.ts} +63 -4
  28. package/dist/ui-react.d.ts +2 -2
  29. package/dist/ui-react.js +13 -11
  30. package/dist/ui-vue.d.ts +1 -1
  31. package/dist/ui-vue.js +1 -1
  32. package/dist/ui.d.ts +3 -3
  33. package/dist/ui.js +2 -2
  34. package/dist/{webskillLitCatalog-D_zCqeQF-C9lrvvMr.js → webskillLitCatalog-D_zCqeQF-swXsWoAe.js} +1 -1
  35. package/package.json +2 -1
@@ -1,6 +1,6 @@
1
1
  import { a as __require, i as __reExport, n as __esmMin, o as __toCommonJS, r as __exportAll$2, s as __toESM$1, t as __commonJSMin$1 } from "./rolldown-runtime-BOF7iYI8.js";
2
- import { h as WebSkillError } from "./dist-Bev6i6Ip.js";
3
- import { Ct as resolveSurfaceFormTexts, E as collectScopedValues, H as qualifyFieldName, I as gaugePercent, T as collectFormScopes, at as DEFAULT_CHART_FONT_SIZES, ct as DEFAULT_SURFACE_HOST_CONTROL_TEXTS, gt as chartSpecFromProps, j as evaluateFieldCondition, st as DEFAULT_SURFACE_FORM_TEXTS, wt as resolveSurfaceHostControlTexts, xt as resolveChartFontSizes, yt as mountEchart } from "./dist-DqcL6jKO.js";
2
+ import { b as WebSkillError } from "./dist-D5YhlCdY.js";
3
+ import { Ct as resolveSurfaceFormTexts, E as collectScopedValues, H as qualifyFieldName, I as gaugePercent, T as collectFormScopes, at as DEFAULT_CHART_FONT_SIZES, ct as DEFAULT_SURFACE_HOST_CONTROL_TEXTS, gt as chartSpecFromProps, j as evaluateFieldCondition, st as DEFAULT_SURFACE_FORM_TEXTS, wt as resolveSurfaceHostControlTexts, xt as resolveChartFontSizes, yt as mountEchart } from "./dist-CiaDIqkV.js";
4
4
  import minpath$1 from "node:path";
5
5
  import { fileURLToPath as urlToPath$1 } from "node:url";
6
6
  import { z } from "zod";
@@ -31626,7 +31626,7 @@ var init_merge = __esmMin((() => {
31626
31626
  * Value that can be used to look up the properly cased property on a
31627
31627
  * `Schema`.
31628
31628
  */
31629
- function normalize$2(value) {
31629
+ function normalize(value) {
31630
31630
  return value.toLowerCase();
31631
31631
  }
31632
31632
  var init_normalize = __esmMin((() => {}));
@@ -31755,8 +31755,8 @@ function create$1(definition) {
31755
31755
  const info = new DefinedInfo$1(property, definition.transform(definition.attributes || {}, property), value, definition.space);
31756
31756
  if (definition.mustUseProperty && definition.mustUseProperty.includes(property)) info.mustUseProperty = true;
31757
31757
  properties[property] = info;
31758
- normals[normalize$2(property)] = property;
31759
- normals[normalize$2(info.attribute)] = property;
31758
+ normals[normalize(property)] = property;
31759
+ normals[normalize(info.attribute)] = property;
31760
31760
  }
31761
31761
  return new Schema$1(properties, normals, definition.space);
31762
31762
  }
@@ -32873,7 +32873,7 @@ var init_hast_to_react = __esmMin((() => {
32873
32873
  * Info.
32874
32874
  */
32875
32875
  function find$1(schema, value) {
32876
- const normal = normalize$2(value);
32876
+ const normal = normalize(value);
32877
32877
  let property = value;
32878
32878
  let Type = Info$1;
32879
32879
  if (normal in schema.normal) return schema.property[schema.normal[normal]];
@@ -97125,7 +97125,7 @@ function addChild$1(nodes, value) {
97125
97125
  function parsePrimitive$1(info, name, value) {
97126
97126
  if (typeof value === "string") {
97127
97127
  if (info.number && value && !Number.isNaN(Number(value))) return Number(value);
97128
- if ((info.boolean || info.overloadedBoolean) && (value === "" || normalize$2(value) === normalize$2(name))) return true;
97128
+ if ((info.boolean || info.overloadedBoolean) && (value === "" || normalize(value) === normalize(name))) return true;
97129
97129
  }
97130
97130
  return value;
97131
97131
  }
@@ -99827,6 +99827,110 @@ const createLucideIcon = (iconName, iconNode) => {
99827
99827
  * This source code is licensed under the ISC license.
99828
99828
  * See the LICENSE file in the root directory of this source tree.
99829
99829
  */
99830
+ const AppWindow = createLucideIcon("app-window", [
99831
+ ["rect", {
99832
+ x: "2",
99833
+ y: "4",
99834
+ width: "20",
99835
+ height: "16",
99836
+ rx: "2",
99837
+ key: "izxlao"
99838
+ }],
99839
+ ["path", {
99840
+ d: "M10 4v4",
99841
+ key: "pp8u80"
99842
+ }],
99843
+ ["path", {
99844
+ d: "M2 8h20",
99845
+ key: "d11cs7"
99846
+ }],
99847
+ ["path", {
99848
+ d: "M6 4v4",
99849
+ key: "1svtjw"
99850
+ }]
99851
+ ]);
99852
+ /**
99853
+ * @license lucide-react v1.27.0 - ISC
99854
+ *
99855
+ * This source code is licensed under the ISC license.
99856
+ * See the LICENSE file in the root directory of this source tree.
99857
+ */
99858
+ const Bug = createLucideIcon("bug", [
99859
+ ["path", {
99860
+ d: "M12 20v-9",
99861
+ key: "1qisl0"
99862
+ }],
99863
+ ["path", {
99864
+ d: "M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",
99865
+ key: "uouzyp"
99866
+ }],
99867
+ ["path", {
99868
+ d: "M14.12 3.88 16 2",
99869
+ key: "qol33r"
99870
+ }],
99871
+ ["path", {
99872
+ d: "M21 21a4 4 0 0 0-3.81-4",
99873
+ key: "1b0z45"
99874
+ }],
99875
+ ["path", {
99876
+ d: "M21 5a4 4 0 0 1-3.55 3.97",
99877
+ key: "5cxbf6"
99878
+ }],
99879
+ ["path", {
99880
+ d: "M22 13h-4",
99881
+ key: "1jl80f"
99882
+ }],
99883
+ ["path", {
99884
+ d: "M3 21a4 4 0 0 1 3.81-4",
99885
+ key: "1fjd4g"
99886
+ }],
99887
+ ["path", {
99888
+ d: "M3 5a4 4 0 0 0 3.55 3.97",
99889
+ key: "1d7oge"
99890
+ }],
99891
+ ["path", {
99892
+ d: "M6 13H2",
99893
+ key: "82j7cp"
99894
+ }],
99895
+ ["path", {
99896
+ d: "m8 2 1.88 1.88",
99897
+ key: "fmnt4t"
99898
+ }],
99899
+ ["path", {
99900
+ d: "M9 7.13V6a3 3 0 1 1 6 0v1.13",
99901
+ key: "1vgav8"
99902
+ }]
99903
+ ]);
99904
+ /**
99905
+ * @license lucide-react v1.27.0 - ISC
99906
+ *
99907
+ * This source code is licensed under the ISC license.
99908
+ * See the LICENSE file in the root directory of this source tree.
99909
+ */
99910
+ const ChartColumn = createLucideIcon("chart-column", [
99911
+ ["path", {
99912
+ d: "M3 3v16a2 2 0 0 0 2 2h16",
99913
+ key: "c24i48"
99914
+ }],
99915
+ ["path", {
99916
+ d: "M18 17V9",
99917
+ key: "2bz60n"
99918
+ }],
99919
+ ["path", {
99920
+ d: "M13 17V5",
99921
+ key: "1frdt8"
99922
+ }],
99923
+ ["path", {
99924
+ d: "M8 17v-3",
99925
+ key: "17ska0"
99926
+ }]
99927
+ ]);
99928
+ /**
99929
+ * @license lucide-react v1.27.0 - ISC
99930
+ *
99931
+ * This source code is licensed under the ISC license.
99932
+ * See the LICENSE file in the root directory of this source tree.
99933
+ */
99830
99934
  const Check = createLucideIcon("check", [["path", {
99831
99935
  d: "M20 6 9 17l-5-5",
99832
99936
  key: "1gmf2c"
@@ -99879,6 +99983,43 @@ const CircleQuestionMark = createLucideIcon("circle-question-mark", [
99879
99983
  * This source code is licensed under the ISC license.
99880
99984
  * See the LICENSE file in the root directory of this source tree.
99881
99985
  */
99986
+ const ClipboardList = createLucideIcon("clipboard-list", [
99987
+ ["rect", {
99988
+ width: "8",
99989
+ height: "4",
99990
+ x: "8",
99991
+ y: "2",
99992
+ rx: "1",
99993
+ ry: "1",
99994
+ key: "tgr4d6"
99995
+ }],
99996
+ ["path", {
99997
+ d: "M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",
99998
+ key: "116196"
99999
+ }],
100000
+ ["path", {
100001
+ d: "M12 11h4",
100002
+ key: "1jrz19"
100003
+ }],
100004
+ ["path", {
100005
+ d: "M12 16h4",
100006
+ key: "n85exb"
100007
+ }],
100008
+ ["path", {
100009
+ d: "M8 11h.01",
100010
+ key: "1dfujw"
100011
+ }],
100012
+ ["path", {
100013
+ d: "M8 16h.01",
100014
+ key: "18s6g9"
100015
+ }]
100016
+ ]);
100017
+ /**
100018
+ * @license lucide-react v1.27.0 - ISC
100019
+ *
100020
+ * This source code is licensed under the ISC license.
100021
+ * See the LICENSE file in the root directory of this source tree.
100022
+ */
99882
100023
  const Copy = createLucideIcon("copy", [["rect", {
99883
100024
  width: "14",
99884
100025
  height: "14",
@@ -99943,6 +100084,95 @@ const ExternalLink = createLucideIcon("external-link", [
99943
100084
  * This source code is licensed under the ISC license.
99944
100085
  * See the LICENSE file in the root directory of this source tree.
99945
100086
  */
100087
+ const FileText = createLucideIcon("file-text", [
100088
+ ["path", {
100089
+ d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",
100090
+ key: "1oefj6"
100091
+ }],
100092
+ ["path", {
100093
+ d: "M14 2v5a1 1 0 0 0 1 1h5",
100094
+ key: "wfsgrz"
100095
+ }],
100096
+ ["path", {
100097
+ d: "M10 9H8",
100098
+ key: "b1mrlr"
100099
+ }],
100100
+ ["path", {
100101
+ d: "M16 13H8",
100102
+ key: "t4e002"
100103
+ }],
100104
+ ["path", {
100105
+ d: "M16 17H8",
100106
+ key: "z1uh3a"
100107
+ }]
100108
+ ]);
100109
+ /**
100110
+ * @license lucide-react v1.27.0 - ISC
100111
+ *
100112
+ * This source code is licensed under the ISC license.
100113
+ * See the LICENSE file in the root directory of this source tree.
100114
+ */
100115
+ const FlaskConical = createLucideIcon("flask-conical", [
100116
+ ["path", {
100117
+ d: "M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",
100118
+ key: "18mbvz"
100119
+ }],
100120
+ ["path", {
100121
+ d: "M6.453 15h11.094",
100122
+ key: "3shlmq"
100123
+ }],
100124
+ ["path", {
100125
+ d: "M8.5 2h7",
100126
+ key: "csnxdl"
100127
+ }]
100128
+ ]);
100129
+ /**
100130
+ * @license lucide-react v1.27.0 - ISC
100131
+ *
100132
+ * This source code is licensed under the ISC license.
100133
+ * See the LICENSE file in the root directory of this source tree.
100134
+ */
100135
+ const Gauge = createLucideIcon("gauge", [["path", {
100136
+ d: "m12 14 4-4",
100137
+ key: "9kzdfg"
100138
+ }], ["path", {
100139
+ d: "M3.34 19a10 10 0 1 1 17.32 0",
100140
+ key: "19p75a"
100141
+ }]]);
100142
+ /**
100143
+ * @license lucide-react v1.27.0 - ISC
100144
+ *
100145
+ * This source code is licensed under the ISC license.
100146
+ * See the LICENSE file in the root directory of this source tree.
100147
+ */
100148
+ const GitCompare = createLucideIcon("git-compare", [
100149
+ ["circle", {
100150
+ cx: "18",
100151
+ cy: "18",
100152
+ r: "3",
100153
+ key: "1xkwt0"
100154
+ }],
100155
+ ["circle", {
100156
+ cx: "6",
100157
+ cy: "6",
100158
+ r: "3",
100159
+ key: "1lh9wr"
100160
+ }],
100161
+ ["path", {
100162
+ d: "M13 6h3a2 2 0 0 1 2 2v7",
100163
+ key: "1yeb86"
100164
+ }],
100165
+ ["path", {
100166
+ d: "M11 18H8a2 2 0 0 1-2-2V9",
100167
+ key: "19pyzm"
100168
+ }]
100169
+ ]);
100170
+ /**
100171
+ * @license lucide-react v1.27.0 - ISC
100172
+ *
100173
+ * This source code is licensed under the ISC license.
100174
+ * See the LICENSE file in the root directory of this source tree.
100175
+ */
99946
100176
  const Inbox = createLucideIcon("inbox", [["polyline", {
99947
100177
  points: "22 12 16 12 14 15 10 15 8 12 2 12",
99948
100178
  key: "o97t9d"
@@ -99956,6 +100186,38 @@ const Inbox = createLucideIcon("inbox", [["polyline", {
99956
100186
  * This source code is licensed under the ISC license.
99957
100187
  * See the LICENSE file in the root directory of this source tree.
99958
100188
  */
100189
+ const List = createLucideIcon("list", [
100190
+ ["path", {
100191
+ d: "M3 5h.01",
100192
+ key: "18ugdj"
100193
+ }],
100194
+ ["path", {
100195
+ d: "M3 12h.01",
100196
+ key: "nlz23k"
100197
+ }],
100198
+ ["path", {
100199
+ d: "M3 19h.01",
100200
+ key: "noohij"
100201
+ }],
100202
+ ["path", {
100203
+ d: "M8 5h13",
100204
+ key: "1pao27"
100205
+ }],
100206
+ ["path", {
100207
+ d: "M8 12h13",
100208
+ key: "1za7za"
100209
+ }],
100210
+ ["path", {
100211
+ d: "M8 19h13",
100212
+ key: "m83p4d"
100213
+ }]
100214
+ ]);
100215
+ /**
100216
+ * @license lucide-react v1.27.0 - ISC
100217
+ *
100218
+ * This source code is licensed under the ISC license.
100219
+ * See the LICENSE file in the root directory of this source tree.
100220
+ */
99959
100221
  const LoaderCircle = createLucideIcon("loader-circle", [["path", {
99960
100222
  d: "M21 12a9 9 0 1 1-6.219-8.56",
99961
100223
  key: "13zald"
@@ -99983,6 +100245,16 @@ const PanelLeft = createLucideIcon("panel-left", [["rect", {
99983
100245
  * This source code is licensed under the ISC license.
99984
100246
  * See the LICENSE file in the root directory of this source tree.
99985
100247
  */
100248
+ const Play = createLucideIcon("play", [["path", {
100249
+ d: "M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",
100250
+ key: "10ikf1"
100251
+ }]]);
100252
+ /**
100253
+ * @license lucide-react v1.27.0 - ISC
100254
+ *
100255
+ * This source code is licensed under the ISC license.
100256
+ * See the LICENSE file in the root directory of this source tree.
100257
+ */
99986
100258
  const Search = createLucideIcon("search", [["path", {
99987
100259
  d: "m21 21-4.34-4.34",
99988
100260
  key: "14j7rj"
@@ -99998,6 +100270,47 @@ const Search = createLucideIcon("search", [["path", {
99998
100270
  * This source code is licensed under the ISC license.
99999
100271
  * See the LICENSE file in the root directory of this source tree.
100000
100272
  */
100273
+ const Settings = createLucideIcon("settings", [["path", {
100274
+ d: "M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",
100275
+ key: "1i5ecw"
100276
+ }], ["circle", {
100277
+ cx: "12",
100278
+ cy: "12",
100279
+ r: "3",
100280
+ key: "1v7zrd"
100281
+ }]]);
100282
+ /**
100283
+ * @license lucide-react v1.27.0 - ISC
100284
+ *
100285
+ * This source code is licensed under the ISC license.
100286
+ * See the LICENSE file in the root directory of this source tree.
100287
+ */
100288
+ const Sparkles = createLucideIcon("sparkles", [
100289
+ ["path", {
100290
+ d: "M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",
100291
+ key: "1s2grr"
100292
+ }],
100293
+ ["path", {
100294
+ d: "M20 2v4",
100295
+ key: "1rf3ol"
100296
+ }],
100297
+ ["path", {
100298
+ d: "M22 4h-4",
100299
+ key: "gwowj6"
100300
+ }],
100301
+ ["circle", {
100302
+ cx: "4",
100303
+ cy: "20",
100304
+ r: "2",
100305
+ key: "6kqj1y"
100306
+ }]
100307
+ ]);
100308
+ /**
100309
+ * @license lucide-react v1.27.0 - ISC
100310
+ *
100311
+ * This source code is licensed under the ISC license.
100312
+ * See the LICENSE file in the root directory of this source tree.
100313
+ */
100001
100314
  const TriangleAlert = createLucideIcon("triangle-alert", [
100002
100315
  ["path", {
100003
100316
  d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",
@@ -100567,7 +100880,7 @@ function merge(definitions, space) {
100567
100880
  * Value that can be used to look up the properly cased property on a
100568
100881
  * `Schema`.
100569
100882
  */
100570
- function normalize$1(value) {
100883
+ function normalize$2(value) {
100571
100884
  return value.toLowerCase();
100572
100885
  }
100573
100886
  /**
@@ -100706,8 +101019,8 @@ function create(definition) {
100706
101019
  const info = new DefinedInfo(property, definition.transform(definition.attributes || {}, property), value, definition.space);
100707
101020
  if (definition.mustUseProperty && definition.mustUseProperty.includes(property)) info.mustUseProperty = true;
100708
101021
  properties[property] = info;
100709
- normals[normalize$1(property)] = property;
100710
- normals[normalize$1(info.attribute)] = property;
101022
+ normals[normalize$2(property)] = property;
101023
+ normals[normalize$2(info.attribute)] = property;
100711
101024
  }
100712
101025
  return new Schema(properties, normals, definition.space);
100713
101026
  }
@@ -101769,7 +102082,7 @@ const valid = /^data[-\w.:]+$/i;
101769
102082
  * Info.
101770
102083
  */
101771
102084
  function find(schema, value) {
101772
- const normal = normalize$1(value);
102085
+ const normal = normalize$2(value);
101773
102086
  let property = value;
101774
102087
  let Type = Info;
101775
102088
  if (normal in schema.normal) return schema.property[schema.normal[normal]];
@@ -114629,7 +114942,7 @@ function join(...segments) {
114629
114942
  assertPath$1(segments[index]);
114630
114943
  if (segments[index]) joined = joined === void 0 ? segments[index] : joined + "/" + segments[index];
114631
114944
  }
114632
- return joined === void 0 ? "." : normalize(joined);
114945
+ return joined === void 0 ? "." : normalize$1(joined);
114633
114946
  }
114634
114947
  /**
114635
114948
  * Normalize a basic file path.
@@ -114639,7 +114952,7 @@ function join(...segments) {
114639
114952
  * @returns {string}
114640
114953
  * File path.
114641
114954
  */
114642
- function normalize(path) {
114955
+ function normalize$1(path) {
114643
114956
  assertPath$1(path);
114644
114957
  const absolute = path.codePointAt(0) === 47;
114645
114958
  let value = normalizeString(path, !absolute);
@@ -117554,7 +117867,7 @@ function addChild(nodes, value) {
117554
117867
  function parsePrimitive(info, name, value) {
117555
117868
  if (typeof value === "string") {
117556
117869
  if (info.number && value && !Number.isNaN(Number(value))) return Number(value);
117557
- if ((info.boolean || info.overloadedBoolean) && (value === "" || normalize$1(value) === normalize$1(name))) return true;
117870
+ if ((info.boolean || info.overloadedBoolean) && (value === "" || normalize$2(value) === normalize$2(name))) return true;
117558
117871
  }
117559
117872
  return value;
117560
117873
  }
@@ -120682,6 +120995,27 @@ const MarkdownText = memo(function MarkdownText({ className }) {
120682
120995
  });
120683
120996
  });
120684
120997
  /**
120998
+ * 图标表。这张表不进任何包的公开面:宿主只认名字,具体用哪套图标是实现细节。
120999
+ */
121000
+ const ICONS = {
121001
+ chart: ChartColumn,
121002
+ document: FileText,
121003
+ report: ClipboardList,
121004
+ search: Search,
121005
+ list: List,
121006
+ bug: Bug,
121007
+ test: FlaskConical,
121008
+ metric: Gauge,
121009
+ compare: GitCompare,
121010
+ page: AppWindow,
121011
+ run: Play,
121012
+ warn: TriangleAlert,
121013
+ sparkles: Sparkles,
121014
+ settings: Settings
121015
+ };
121016
+ /** 受控枚举的全部取值(console 的图标下拉数据源) */
121017
+ const QUICK_PROMPT_ICON_NAMES = Object.keys(ICONS);
121018
+ /**
120685
121019
  * provider 相关的默认值与切换规则(0.6.0 FR-13.1)。
120686
121020
  * chatbot 设置面板与 console 的 `connections.models` 共用这一份——
120687
121021
  * 0.5.x 时两处各自硬编码,改一处漏一处。