@webskill/sdk 0.22.0 → 0.24.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/agent.d.ts +3 -3
- package/dist/agent.js +200 -54
- package/dist/{approval-DWQlDPbY.js → approval-7CuZS3Z4.js} +3 -3
- package/dist/browser.d.ts +52 -7
- package/dist/browser.js +615 -59
- package/dist/{geometry-wx5ZTYzi.js → geometry-CRhuySKV.js} +8 -1
- package/dist/governance.d.ts +22 -4
- package/dist/governance.js +112 -12
- package/dist/{index-CjwdZQOS.d.ts → index-B3rMAUWB.d.ts} +138 -19
- package/dist/{index-YPd8ZSEa.d.ts → index-Bq299VnF.d.ts} +6 -3
- package/dist/{index-BiO9_XRk.d.ts → index-mKgZU7cG.d.ts} +62 -5
- package/dist/index.d.ts +4 -4
- package/dist/index.js +10 -8
- package/dist/{linkedDocument-CIuh_Yp0.js → linkedDocument-CZZOl9cO.js} +44 -4
- package/dist/mcp.d.ts +2 -2
- package/dist/node.d.ts +3 -3
- package/dist/node.js +12 -5
- package/dist/{openUiLibrary-B7j3rLrm.js → openUiLibrary-CxtrnX54.js} +1 -1
- package/dist/{openUiSpecLang-BSYYnjay.js → openUiSpecLang-DIcLcybq.js} +148 -13
- package/dist/{pathSecurity-B1owvJAF.js → pathSecurity-CirkQwWP.js} +12 -1
- package/dist/{skill-CAJMsLod.js → skill-WSUDp6A1.js} +1 -1
- package/dist/{skillVersionStore-B24Jjjry-BY1H7Krp.d.ts → skillVersionStore-S4_HJ_Fl-Ds97pwm5.d.ts} +35 -4
- package/dist/testing.d.ts +1 -1
- package/dist/{types-CpDRZ0rA-BM5FI9oN.d.ts → types-CpDRZ0rA-CFQ-vdKz.d.ts} +12 -1
- package/dist/ui-react.d.ts +11 -4
- package/dist/ui-react.js +76 -25
- package/dist/ui-vue.d.ts +1 -1
- package/dist/ui.d.ts +4 -4
- package/dist/ui.js +6 -6
- package/dist/{webSkillApi-Dy-Zjv0y.js → webSkillApi-D5VMUnrv.js} +2 -2
- package/dist/{webskillLitCatalog-D5BCiMCU.js → webskillLitCatalog-BPyjYuRT.js} +1 -1
- package/package.json +1 -1
package/dist/ui.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Nt as UiSpecNode } from "./types-CpDRZ0rA-
|
|
2
|
-
import { Cr as buildRenderResult } from "./index-
|
|
3
|
-
import { $ as
|
|
4
|
-
export { A2UI_BASIC_CATALOG_ID, A2UI_COMMON_TYPES, A2UI_SPEC_ACTION, A2UI_SPEC_FORM_PATH, A2UI_SURFACE_ACTION, A2UI_VERSION, type A2uiCatalogComponent, type A2uiCatalogDefinition, type A2uiCatalogHandle, type A2uiComponentShape, type A2uiMessage, type A2uiSpecActionEvent, type A2uiSpecMessageOptions, CATALOG_BUDGET_STAGE, CATALOG_PROMPT_MAX, CATALOG_SCHEMA_MAX, CHART_PALETTE, type ChartFontSizes, type CollectedValues, type ColumnWidthsRejection, type ControlModel, DEFAULT_CHART_FONT_SIZES, DEFAULT_INTERACTION_TEXTS, DEFAULT_SURFACE_FORM_TEXTS, DEFAULT_SURFACE_HOST_CONTROL_TEXTS, DESCRIBE_UI_PRESET_TOOL, DOCUMENT_COMPONENTS, type DocumentComponentName, type EchartHandle, type EvaluateFieldConditionOptions, type FieldCondition, type FieldConditionResult, type FieldOption, type FormModel, type InteractionSpecLabels, type InteractionTexts, type JsonRenderSpec, type LoadedOpenUiPeers, MAX_CONDITION_DEPTH, type NormalizedColumnWidths, type OpenUiRendererProps, type OpenUiRuntime, PLANNED_INCREMENT, RENDER_UI_TOOL, SPEC_TABLE_MIN_COLUMN_VAR, SPEC_TABLE_MIN_COLUMN_WIDTH, type SpecColumnMeta, type SurfaceFormTexts, type SurfaceHostControlTexts, UI_CATALOG_GROUPS, UI_CATALOG_PROMPT_BUDGET_BYTES, UI_PRESETS, UI_PRESET_NAMES, type UiActionDef, type UiCatalog, type UiCatalogInput, type UiCatalogPromptOptions, type UiCatalogToolSourceOptions, type UiComponentDef, type UiFormScope, type UiPreset, type UiPresetName, type UiSpecDegradation, type UiSpecDegradationCode, type UiSpecIssue, type UiSpecNode, type UiSpecSanitization, type UiSpecValidation, type UiSurfaceActionDispatch, VERCEL_INTERACTION_TOOL_NAME, VIEWER_COMPONENT_ATTR, VIEWER_FALLBACK_ATTR, VIEWER_PROPS_ATTR, type VercelToolInvocation, VercelUiBridge, type ViewerComponentsHandle, type ViewerComponentsOptions, WEBSKILL_A2UI_CATALOG_ID, WEBSKILL_STYLES_CSS, WEBSKILL_SURFACE_ACTION, WebFormBridge, type ZodRuntime, a2uiComponentSchema, a2uiComponentShapes, applySuggestion, buildA2uiCatalogDefinition, buildRenderResult, chartSpecFromProps, chartToTable, collectFormScopes, collectScopedValues, collectSpecActions, collectValues, createUiCatalogToolSource, defineUiCatalog, ensureStyles, evaluateFieldCondition, fromA2uiSpecAction, fromA2uiSurfaceAction, fromUiSurfaceActionDispatch, fromVercelToolResult, gaugePercent, interactionToFormModel, interactionToUiSpec, loadOpenUiPeers, loadWebSkillLitCatalog, mountEchart, mountViewerComponents, normalizeColumnWidths, normalizeFieldOptions, qualifyFieldName, renderBlocks, renderMiniChart, renderMiniMarkdown, renderRenderResult, resolveChartFontSizes, resolveColumnWidths, resolveInteractionTexts, resolveSurfaceFormTexts, resolveSurfaceHostControlTexts, shapeInteractionValue, toA2uiSpecMessages, toA2uiSurfaceAction, toEchartsOption, toJsonRenderSpec, toOpenUiSpecLang, toUiSurfaceActionDispatch, toVercelToolInvocation, uiCatalog, uiPreset };
|
|
1
|
+
import { Nt as UiSpecNode } from "./types-CpDRZ0rA-CFQ-vdKz.js";
|
|
2
|
+
import { Cr as buildRenderResult } from "./index-Bq299VnF.js";
|
|
3
|
+
import { $ as UI_CATALOG_PROMPT_BUDGET_BYTES, $t as mountEchart, A as DocumentComponentName, At as a2uiComponentSchema, B as LoadedOpenUiPeers, Bt as createUiCatalogToolSource, C as DEFAULT_CHART_COLORS, Cn as uiPreset, Ct as ViewerComponentsHandle, D as DEFAULT_SURFACE_HOST_CONTROL_TEXTS, Dt as WEBSKILL_SURFACE_ACTION, E as DEFAULT_SURFACE_FORM_TEXTS, Et as WEBSKILL_STYLES_CSS, F as FieldOption, Ft as chartToTable, G as PLANNED_INCREMENT, Gt as fromA2uiSurfaceAction, H as NormalizedColumnWidths, Ht as ensureStyles, I as FormModel, It as collectFormScopes, J as SPEC_TABLE_MIN_COLUMN_WIDTH, Jt as gaugePercent, K as RENDER_UI_TOOL, Kt as fromUiSurfaceActionDispatch, L as InteractionSpecLabels, Lt as collectScopedValues, M as EvaluateFieldConditionOptions, Mt as applySuggestion, N as FieldCondition, Nt as buildA2uiCatalogDefinition, O as DESCRIBE_UI_PRESET_TOOL, Ot as WebFormBridge, P as FieldConditionResult, Pt as chartSpecFromProps, Q as UI_CATALOG_GROUPS, Qt as loadWebSkillLitCatalog, R as InteractionTexts, Rt as collectSpecActions, S as ControlModel, Sn as uiCatalog, St as VercelUiBridge, T as DEFAULT_INTERACTION_TEXTS, Tt as WEBSKILL_A2UI_CATALOG_ID, U as OpenUiRendererProps, Ut as evaluateFieldCondition, V as MAX_CONDITION_DEPTH, Vt as defineUiCatalog, W as OpenUiRuntime, Wt as fromA2uiSpecAction, X as SurfaceFormTexts, Xt as interactionToUiSpec, Y as SpecColumnMeta, Yt as interactionToFormModel, Z as SurfaceHostControlTexts, Zt as loadOpenUiPeers, _ as CHART_PALETTE, _n as toEchartsOption, _t as VERCEL_INTERACTION_TOOL_NAME, a as A2UI_SURFACE_ACTION, an as renderMiniChart, at as UiCatalogPromptOptions, b as CollectedValues, bn as toUiSurfaceActionDispatch, bt as VIEWER_PROPS_ATTR, c as A2uiCatalogDefinition, cn as resolveChartColors, ct as UiFormScope, d as A2uiMessage, dn as resolveInteractionTexts, dt as UiSpecDegradation, en as mountViewerComponents, et as UI_PRESETS, f as A2uiSpecActionEvent, fn as resolveSurfaceFormTexts, ft as UiSpecDegradationCode, g as CATALOG_SCHEMA_MAX, gn as toA2uiSurfaceAction, gt as UiSurfaceActionDispatch, h as CATALOG_PROMPT_MAX, hn as toA2uiSpecMessages, ht as UiSpecValidation, i as A2UI_SPEC_FORM_PATH, in as renderBlocks, it as UiCatalogInput, j as EchartHandle, jt as a2uiComponentShapes, k as DOCUMENT_COMPONENTS, kt as ZodRuntime, l as A2uiCatalogHandle, ln as resolveChartFontSizes, lt as UiPreset, m as CATALOG_BUDGET_STAGE, mn as shapeInteractionValue, mt as UiSpecSanitization, n as A2UI_COMMON_TYPES, nn as normalizeFieldOptions, nt as UiActionDef, o as A2UI_VERSION, on as renderMiniMarkdown, ot as UiCatalogToolSourceOptions, p as A2uiSpecMessageOptions, pn as resolveSurfaceHostControlTexts, pt as UiSpecIssue, q as SPEC_TABLE_MIN_COLUMN_VAR, qt as fromVercelToolResult, r as A2UI_SPEC_ACTION, rn as qualifyFieldName, rt as UiCatalog, s as A2uiCatalogComponent, sn as renderRenderResult, st as UiComponentDef, t as A2UI_BASIC_CATALOG_ID, tn as normalizeColumnWidths, tt as UI_PRESET_NAMES, u as A2uiComponentShape, un as resolveColumnWidths, ut as UiPresetName, v as ChartColors, vn as toJsonRenderSpec, vt as VIEWER_COMPONENT_ATTR, w as DEFAULT_CHART_FONT_SIZES, wt as ViewerComponentsOptions, x as ColumnWidthsRejection, xn as toVercelToolInvocation, xt as VercelToolInvocation, y as ChartFontSizes, yn as toOpenUiSpecLang, yt as VIEWER_FALLBACK_ATTR, z as JsonRenderSpec, zt as collectValues } from "./index-mKgZU7cG.js";
|
|
4
|
+
export { A2UI_BASIC_CATALOG_ID, A2UI_COMMON_TYPES, A2UI_SPEC_ACTION, A2UI_SPEC_FORM_PATH, A2UI_SURFACE_ACTION, A2UI_VERSION, type A2uiCatalogComponent, type A2uiCatalogDefinition, type A2uiCatalogHandle, type A2uiComponentShape, type A2uiMessage, type A2uiSpecActionEvent, type A2uiSpecMessageOptions, CATALOG_BUDGET_STAGE, CATALOG_PROMPT_MAX, CATALOG_SCHEMA_MAX, CHART_PALETTE, type ChartColors, type ChartFontSizes, type CollectedValues, type ColumnWidthsRejection, type ControlModel, DEFAULT_CHART_COLORS, DEFAULT_CHART_FONT_SIZES, DEFAULT_INTERACTION_TEXTS, DEFAULT_SURFACE_FORM_TEXTS, DEFAULT_SURFACE_HOST_CONTROL_TEXTS, DESCRIBE_UI_PRESET_TOOL, DOCUMENT_COMPONENTS, type DocumentComponentName, type EchartHandle, type EvaluateFieldConditionOptions, type FieldCondition, type FieldConditionResult, type FieldOption, type FormModel, type InteractionSpecLabels, type InteractionTexts, type JsonRenderSpec, type LoadedOpenUiPeers, MAX_CONDITION_DEPTH, type NormalizedColumnWidths, type OpenUiRendererProps, type OpenUiRuntime, PLANNED_INCREMENT, RENDER_UI_TOOL, SPEC_TABLE_MIN_COLUMN_VAR, SPEC_TABLE_MIN_COLUMN_WIDTH, type SpecColumnMeta, type SurfaceFormTexts, type SurfaceHostControlTexts, UI_CATALOG_GROUPS, UI_CATALOG_PROMPT_BUDGET_BYTES, UI_PRESETS, UI_PRESET_NAMES, type UiActionDef, type UiCatalog, type UiCatalogInput, type UiCatalogPromptOptions, type UiCatalogToolSourceOptions, type UiComponentDef, type UiFormScope, type UiPreset, type UiPresetName, type UiSpecDegradation, type UiSpecDegradationCode, type UiSpecIssue, type UiSpecNode, type UiSpecSanitization, type UiSpecValidation, type UiSurfaceActionDispatch, VERCEL_INTERACTION_TOOL_NAME, VIEWER_COMPONENT_ATTR, VIEWER_FALLBACK_ATTR, VIEWER_PROPS_ATTR, type VercelToolInvocation, VercelUiBridge, type ViewerComponentsHandle, type ViewerComponentsOptions, WEBSKILL_A2UI_CATALOG_ID, WEBSKILL_STYLES_CSS, WEBSKILL_SURFACE_ACTION, WebFormBridge, type ZodRuntime, a2uiComponentSchema, a2uiComponentShapes, applySuggestion, buildA2uiCatalogDefinition, buildRenderResult, chartSpecFromProps, chartToTable, collectFormScopes, collectScopedValues, collectSpecActions, collectValues, createUiCatalogToolSource, defineUiCatalog, ensureStyles, evaluateFieldCondition, fromA2uiSpecAction, fromA2uiSurfaceAction, fromUiSurfaceActionDispatch, fromVercelToolResult, gaugePercent, interactionToFormModel, interactionToUiSpec, loadOpenUiPeers, loadWebSkillLitCatalog, mountEchart, mountViewerComponents, normalizeColumnWidths, normalizeFieldOptions, qualifyFieldName, renderBlocks, renderMiniChart, renderMiniMarkdown, renderRenderResult, resolveChartColors, resolveChartFontSizes, resolveColumnWidths, resolveInteractionTexts, resolveSurfaceFormTexts, resolveSurfaceHostControlTexts, shapeInteractionValue, toA2uiSpecMessages, toA2uiSurfaceAction, toEchartsOption, toJsonRenderSpec, toOpenUiSpecLang, toUiSurfaceActionDispatch, toVercelToolInvocation, uiCatalog, uiPreset };
|
package/dist/ui.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as WebSkillError } from "./errors-BDZNpC13.js";
|
|
2
2
|
import { t as buildRenderResult } from "./renderResult-D9Q-Vu2x.js";
|
|
3
3
|
import { a as applySuggestion, c as DEFAULT_SURFACE_FORM_TEXTS, d as resolveInteractionTexts, f as resolveSurfaceFormTexts, i as renderMiniMarkdown, l as DEFAULT_SURFACE_HOST_CONTROL_TEXTS, m as shapeInteractionValue, n as chartToTable, o as collectValues, p as resolveSurfaceHostControlTexts, r as renderMiniChart, s as DEFAULT_INTERACTION_TEXTS, t as CHART_PALETTE, u as interactionToFormModel } from "./miniChart-D0nYMzz8.js";
|
|
4
|
-
import { C as
|
|
4
|
+
import { C as DEFAULT_CHART_COLORS, D as resolveChartColors, E as mountEchart, O as resolveChartFontSizes, S as gaugePercent, T as chartSpecFromProps, _ as defineUiCatalog, a as SPEC_TABLE_MIN_COLUMN_VAR, b as CATALOG_SCHEMA_MAX, c as resolveColumnWidths, d as collectFormScopes, f as collectScopedValues, g as uiCatalog, h as UI_CATALOG_PROMPT_BUDGET_BYTES, i as normalizeFieldOptions, k as toEchartsOption, l as MAX_CONDITION_DEPTH, m as UI_CATALOG_GROUPS, n as interactionToUiSpec, o as SPEC_TABLE_MIN_COLUMN_WIDTH, p as qualifyFieldName, r as toJsonRenderSpec, s as normalizeColumnWidths, t as toOpenUiSpecLang, u as evaluateFieldCondition, v as CATALOG_BUDGET_STAGE, w as DEFAULT_CHART_FONT_SIZES, x as PLANNED_INCREMENT, y as CATALOG_PROMPT_MAX } from "./openUiSpecLang-DIcLcybq.js";
|
|
5
5
|
|
|
6
6
|
//#region ../ui/src/web/resultRenderer.ts
|
|
7
7
|
/** RenderBlock → DOM(markdown/json/table/image/file/chart 六种) */
|
|
@@ -126,7 +126,7 @@ function mountViewerComponents(root, options) {
|
|
|
126
126
|
}
|
|
127
127
|
const props = readProps(element, name);
|
|
128
128
|
if (!props) continue;
|
|
129
|
-
const handle = render(element, name, props, options
|
|
129
|
+
const handle = render(element, name, props, options);
|
|
130
130
|
if (handle) handles.push(handle);
|
|
131
131
|
}
|
|
132
132
|
return { dispose: () => {
|
|
@@ -170,13 +170,13 @@ function describeIssue(error) {
|
|
|
170
170
|
const path = issue.path.map(String).join(".");
|
|
171
171
|
return path === "" ? issue.message : `${path} — ${issue.message}`;
|
|
172
172
|
}
|
|
173
|
-
function render(element, name, props,
|
|
173
|
+
function render(element, name, props, options) {
|
|
174
174
|
const doc = element.ownerDocument;
|
|
175
175
|
element.replaceChildren();
|
|
176
176
|
switch (name) {
|
|
177
177
|
case "Chart": {
|
|
178
178
|
const handle = mountEchart(element);
|
|
179
|
-
handle.setChart(chartSpecFromProps(props), fontSizes);
|
|
179
|
+
handle.setChart(chartSpecFromProps(props), options?.fontSizes, options?.colors);
|
|
180
180
|
return handle;
|
|
181
181
|
}
|
|
182
182
|
case "Table":
|
|
@@ -1234,7 +1234,7 @@ function fromA2uiSpecAction(event) {
|
|
|
1234
1234
|
*/
|
|
1235
1235
|
async function loadWebSkillLitCatalog() {
|
|
1236
1236
|
try {
|
|
1237
|
-
const { webskillLitCatalog } = await import("./webskillLitCatalog-
|
|
1237
|
+
const { webskillLitCatalog } = await import("./webskillLitCatalog-BPyjYuRT.js");
|
|
1238
1238
|
return webskillLitCatalog();
|
|
1239
1239
|
} catch (cause) {
|
|
1240
1240
|
throw new WebSkillError("UI_UNAVAILABLE", "The WebSkill A2UI catalog is unavailable; install @a2ui/lit, @a2ui/web_core and lit to render catalog surfaces with A2UI", cause);
|
|
@@ -1262,4 +1262,4 @@ async function loadOpenUiPeers() {
|
|
|
1262
1262
|
}
|
|
1263
1263
|
|
|
1264
1264
|
//#endregion
|
|
1265
|
-
export { A2UI_BASIC_CATALOG_ID, A2UI_COMMON_TYPES, A2UI_SPEC_ACTION, A2UI_SPEC_FORM_PATH, A2UI_SURFACE_ACTION, A2UI_VERSION, CATALOG_BUDGET_STAGE, CATALOG_PROMPT_MAX, CATALOG_SCHEMA_MAX, CHART_PALETTE, DEFAULT_CHART_FONT_SIZES, DEFAULT_INTERACTION_TEXTS, DEFAULT_SURFACE_FORM_TEXTS, DEFAULT_SURFACE_HOST_CONTROL_TEXTS, DESCRIBE_UI_PRESET_TOOL, DOCUMENT_COMPONENTS, MAX_CONDITION_DEPTH, PLANNED_INCREMENT, RENDER_UI_TOOL, SPEC_TABLE_MIN_COLUMN_VAR, SPEC_TABLE_MIN_COLUMN_WIDTH, UI_CATALOG_GROUPS, UI_CATALOG_PROMPT_BUDGET_BYTES, UI_PRESETS, UI_PRESET_NAMES, VERCEL_INTERACTION_TOOL_NAME, VIEWER_COMPONENT_ATTR, VIEWER_FALLBACK_ATTR, VIEWER_PROPS_ATTR, VercelUiBridge, WEBSKILL_A2UI_CATALOG_ID, WEBSKILL_STYLES_CSS, WEBSKILL_SURFACE_ACTION, WebFormBridge, a2uiComponentSchema, a2uiComponentShapes, applySuggestion, buildA2uiCatalogDefinition, buildRenderResult, chartSpecFromProps, chartToTable, collectFormScopes, collectScopedValues, collectSpecActions, collectValues, createUiCatalogToolSource, defineUiCatalog, ensureStyles, evaluateFieldCondition, fromA2uiSpecAction, fromA2uiSurfaceAction, fromUiSurfaceActionDispatch, fromVercelToolResult, gaugePercent, interactionToFormModel, interactionToUiSpec, loadOpenUiPeers, loadWebSkillLitCatalog, mountEchart, mountViewerComponents, normalizeColumnWidths, normalizeFieldOptions, qualifyFieldName, renderBlocks, renderMiniChart, renderMiniMarkdown, renderRenderResult, resolveChartFontSizes, resolveColumnWidths, resolveInteractionTexts, resolveSurfaceFormTexts, resolveSurfaceHostControlTexts, shapeInteractionValue, A2UI_CHILDREN_PROP as t, toA2uiSpecMessages, toA2uiSurfaceAction, toEchartsOption, toJsonRenderSpec, toOpenUiSpecLang, toUiSurfaceActionDispatch, toVercelToolInvocation, uiCatalog, uiPreset };
|
|
1265
|
+
export { A2UI_BASIC_CATALOG_ID, A2UI_COMMON_TYPES, A2UI_SPEC_ACTION, A2UI_SPEC_FORM_PATH, A2UI_SURFACE_ACTION, A2UI_VERSION, CATALOG_BUDGET_STAGE, CATALOG_PROMPT_MAX, CATALOG_SCHEMA_MAX, CHART_PALETTE, DEFAULT_CHART_COLORS, DEFAULT_CHART_FONT_SIZES, DEFAULT_INTERACTION_TEXTS, DEFAULT_SURFACE_FORM_TEXTS, DEFAULT_SURFACE_HOST_CONTROL_TEXTS, DESCRIBE_UI_PRESET_TOOL, DOCUMENT_COMPONENTS, MAX_CONDITION_DEPTH, PLANNED_INCREMENT, RENDER_UI_TOOL, SPEC_TABLE_MIN_COLUMN_VAR, SPEC_TABLE_MIN_COLUMN_WIDTH, UI_CATALOG_GROUPS, UI_CATALOG_PROMPT_BUDGET_BYTES, UI_PRESETS, UI_PRESET_NAMES, VERCEL_INTERACTION_TOOL_NAME, VIEWER_COMPONENT_ATTR, VIEWER_FALLBACK_ATTR, VIEWER_PROPS_ATTR, VercelUiBridge, WEBSKILL_A2UI_CATALOG_ID, WEBSKILL_STYLES_CSS, WEBSKILL_SURFACE_ACTION, WebFormBridge, a2uiComponentSchema, a2uiComponentShapes, applySuggestion, buildA2uiCatalogDefinition, buildRenderResult, chartSpecFromProps, chartToTable, collectFormScopes, collectScopedValues, collectSpecActions, collectValues, createUiCatalogToolSource, defineUiCatalog, ensureStyles, evaluateFieldCondition, fromA2uiSpecAction, fromA2uiSurfaceAction, fromUiSurfaceActionDispatch, fromVercelToolResult, gaugePercent, interactionToFormModel, interactionToUiSpec, loadOpenUiPeers, loadWebSkillLitCatalog, mountEchart, mountViewerComponents, normalizeColumnWidths, normalizeFieldOptions, qualifyFieldName, renderBlocks, renderMiniChart, renderMiniMarkdown, renderRenderResult, resolveChartColors, resolveChartFontSizes, resolveColumnWidths, resolveInteractionTexts, resolveSurfaceFormTexts, resolveSurfaceHostControlTexts, shapeInteractionValue, A2UI_CHILDREN_PROP as t, toA2uiSpecMessages, toA2uiSurfaceAction, toEchartsOption, toJsonRenderSpec, toOpenUiSpecLang, toUiSurfaceActionDispatch, toVercelToolInvocation, uiCatalog, uiPreset };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as WebSkillError } from "./errors-BDZNpC13.js";
|
|
2
|
-
import { b as parseSkillMarkdown, i as buildCatalog, n as SkillDiscovery, t as validateSkills } from "./skill-
|
|
3
|
-
import { f as WebSkillRuntime } from "./approval-
|
|
2
|
+
import { b as parseSkillMarkdown, i as buildCatalog, n as SkillDiscovery, t as validateSkills } from "./skill-WSUDp6A1.js";
|
|
3
|
+
import { f as WebSkillRuntime } from "./approval-7CuZS3Z4.js";
|
|
4
4
|
|
|
5
5
|
//#region ../runtime/src/facade/webSkillApi.ts
|
|
6
6
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as DEFAULT_SURFACE_FORM_TEXTS, i as renderMiniMarkdown } from "./miniChart-D0nYMzz8.js";
|
|
2
|
-
import {
|
|
2
|
+
import { E as mountEchart, T as chartSpecFromProps, g as uiCatalog, i as normalizeFieldOptions } from "./openUiSpecLang-DIcLcybq.js";
|
|
3
3
|
import { WEBSKILL_A2UI_CATALOG_ID, a2uiComponentShapes, t as A2UI_CHILDREN_PROP } from "./ui.js";
|
|
4
4
|
import { A2uiController, A2uiLitElement } from "@a2ui/lit/v0_9";
|
|
5
5
|
import { Catalog } from "@a2ui/web_core/v0_9";
|