@webskill/sdk 0.2.7 → 0.3.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 (38) hide show
  1. package/README.md +42 -0
  2. package/dist/browser.d.ts +13 -4
  3. package/dist/browser.js +19 -10
  4. package/dist/{catalogComponents-C_V39rbF-B94i0fW7.js → catalogComponents-C_V39rbF-BOHveMWa.js} +254 -9090
  5. package/dist/client-BCM6Z3yq-qUQNkKrK.js +7787 -0
  6. package/dist/{dist-BQzncxXg.js → dist-8oQRa8Xz.js} +212 -13
  7. package/dist/{dist-CtBLBbEz.js → dist-ZKaM8j06.js} +2 -2
  8. package/dist/{dist-BdOW8N4V.js → dist-rorEJsNi.js} +596 -59
  9. package/dist/governance.d.ts +30 -197
  10. package/dist/governance.js +38 -199
  11. package/dist/{index-BpIK7tJM.d.ts → index-8d-oEDww.d.ts} +215 -2
  12. package/dist/{index-BNQNSDKg.d.ts → index-wiV5X8Rz.d.ts} +21 -4
  13. package/dist/index.d.ts +3 -3
  14. package/dist/index.js +3 -3
  15. package/dist/{jsonRenderRegistry-9GrWP_hE-CMkryt1H.js → jsonRenderRegistry-9GrWP_hE-U6Do3Kid.js} +2 -2
  16. package/dist/mcp.d.ts +5 -3
  17. package/dist/mcp.js +10 -5
  18. package/dist/node.d.ts +338 -4
  19. package/dist/node.js +2338 -4
  20. package/dist/{openUiLibrary-B8-Cvou9-Cu1QZqoT.js → openUiLibrary-B8-Cvou9-BbpNTXS3.js} +2 -2
  21. package/dist/sandboxWorkerEntry.js +12 -3
  22. package/dist/skillVersionStore-DOEI9ptb-BxbYL70B.d.ts +127 -0
  23. package/dist/stdio-CFMoANJJ-BxrTeXh7.js +31 -0
  24. package/dist/{testing-BUoXvm1u.js → testing-CsrG3XLz.js} +1 -1
  25. package/dist/testing.d.ts +1 -1
  26. package/dist/testing.js +1 -1
  27. package/dist/{types-7fnqDVrf-BnRQjVU3.d.ts → types-AmKCKJn_-VGabeXK4.d.ts} +140 -3
  28. package/dist/types-WovEf4ED-CZSDiiBU.js +6215 -0
  29. package/dist/ui-react.d.ts +2 -2
  30. package/dist/ui-react.js +6 -6
  31. package/dist/ui-vue.d.ts +1 -1
  32. package/dist/ui-vue.js +1 -1
  33. package/dist/ui.d.ts +3 -3
  34. package/dist/ui.js +2 -2
  35. package/dist/{webskillLitCatalog-CNaUpasU-CfSRvqCZ.js → webskillLitCatalog-CNaUpasU-BslMcxRZ.js} +1 -1
  36. package/package.json +4 -7
  37. package/dist/dist-CcMIUXeZ.js +0 -1896
  38. package/dist/index-BHL5FWGw.d.ts +0 -240
@@ -1,5 +1,5 @@
1
- import { C as UiSurfaceDrafts, D as UiSurfaceSnapshot, S as UiSurfaceActionResponse, _ as RenderResultRequest, b as UiSurfaceAction, o as InteractionRequest, s as InteractionResponse, v as UiBridge, w as UiSurfaceEvent, x as UiSurfaceActionRequest } from "./types-7fnqDVrf-BnRQjVU3.js";
2
- import { R as UiSpecNode } from "./index-BNQNSDKg.js";
1
+ import { C as UiSurfaceDrafts, D as UiSurfaceSnapshot, S as UiSurfaceActionResponse, _ as RenderResultRequest, b as UiSurfaceAction, o as InteractionRequest, s as InteractionResponse, v as UiBridge, w as UiSurfaceEvent, x as UiSurfaceActionRequest } from "./types-AmKCKJn_-VGabeXK4.js";
2
+ import { B as UiSpecNode } from "./index-wiV5X8Rz.js";
3
3
  import { z } from "zod";
4
4
  import { ComponentType, ReactNode } from "react";
5
5
  //#region ../ui-react/dist/index.d.ts
package/dist/ui-react.js CHANGED
@@ -1,7 +1,7 @@
1
- import { u as WebSkillError } from "./dist-BQzncxXg.js";
2
- import { H as validateUiSurface, U as validateUiSurfaceEvent } from "./dist-BdOW8N4V.js";
3
- import { B as shapeInteractionValue, F as isUiSpecSurface, G as toJsonRenderSpec, P as interactionToFormModel, S as collectValues, dt as renderMiniMarkdown, ft as uiCatalog, q as toOpenUiSpecLang, ut as renderMiniChart } from "./dist-CtBLBbEz.js";
4
- import { a as Checkbox, c as DropdownMenuCheckboxItem, d as Input, f as Markdown, g as Textarea, h as Switch, i as Button, l as DropdownMenuContent, m as Separator, n as catalogComponentImpls, o as DataTable, p as Select, r as Badge, s as DropdownMenu, t as EChart, u as DropdownMenuTrigger } from "./catalogComponents-C_V39rbF-B94i0fW7.js";
1
+ import { m as WebSkillError } from "./dist-8oQRa8Xz.js";
2
+ import { J as validateUiSurface, Y as validateUiSurfaceEvent } from "./dist-rorEJsNi.js";
3
+ import { B as shapeInteractionValue, F as isUiSpecSurface, G as toJsonRenderSpec, P as interactionToFormModel, S as collectValues, dt as renderMiniMarkdown, ft as uiCatalog, q as toOpenUiSpecLang, ut as renderMiniChart } from "./dist-ZKaM8j06.js";
4
+ import { a as Checkbox, c as DropdownMenuCheckboxItem, d as Input, f as Markdown, g as Textarea, h as Switch, i as Button, l as DropdownMenuContent, m as Separator, n as catalogComponentImpls, o as DataTable, p as Select, r as Badge, s as DropdownMenu, t as EChart, u as DropdownMenuTrigger } from "./catalogComponents-C_V39rbF-BOHveMWa.js";
5
5
  import * as React$1 from "react";
6
6
  import React, { useEffect, useLayoutEffect, useRef, useState, useSyncExternalStore } from "react";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -7130,7 +7130,7 @@ function JsonRenderSpecSurface({ spec }) {
7130
7130
  const [unavailable, setUnavailable] = useState(false);
7131
7131
  useEffect(() => {
7132
7132
  let cancelled = false;
7133
- import("./jsonRenderRegistry-9GrWP_hE-CMkryt1H.js").then((loaded) => {
7133
+ import("./jsonRenderRegistry-9GrWP_hE-U6Do3Kid.js").then((loaded) => {
7134
7134
  if (!cancelled) setModule(loaded);
7135
7135
  }).catch(() => {
7136
7136
  if (!cancelled) setUnavailable(true);
@@ -7173,7 +7173,7 @@ function OpenUiSpecSurface({ spec }) {
7173
7173
  const [unavailable, setUnavailable] = useState(false);
7174
7174
  useEffect(() => {
7175
7175
  let cancelled = false;
7176
- import("./openUiLibrary-B8-Cvou9-Cu1QZqoT.js").then((loaded) => {
7176
+ import("./openUiLibrary-B8-Cvou9-BbpNTXS3.js").then((loaded) => {
7177
7177
  if (!cancelled) setModule(loaded);
7178
7178
  }).catch(() => {
7179
7179
  if (!cancelled) setUnavailable(true);
package/dist/ui-vue.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as RenderResultRequest, o as InteractionRequest, s as InteractionResponse, v as UiBridge } from "./types-7fnqDVrf-BnRQjVU3.js";
1
+ import { _ as RenderResultRequest, o as InteractionRequest, s as InteractionResponse, v as UiBridge } from "./types-AmKCKJn_-VGabeXK4.js";
2
2
  import { PropType } from "vue";
3
3
  //#region ../ui-vue/dist/index.d.ts
4
4
  //#region src/bridgeState.d.ts
package/dist/ui-vue.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as shapeInteractionValue, P as interactionToFormModel, S as collectValues, dt as renderMiniMarkdown, ut as renderMiniChart } from "./dist-CtBLBbEz.js";
1
+ import { B as shapeInteractionValue, P as interactionToFormModel, S as collectValues, dt as renderMiniMarkdown, ut as renderMiniChart } from "./dist-ZKaM8j06.js";
2
2
  import { defineComponent, h, reactive, ref } from "vue";
3
3
 
4
4
  //#region ../ui-vue/dist/index.js
package/dist/ui.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { mt as buildRenderResult } from "./index-BpIK7tJM.js";
2
- import { $ as ZodRuntime, A as UI_SPEC_COMPONENT, At as toJsonRenderSpec, B as UiSpecValidation, C as OPENUI_SUBMIT_ACTION, Ct as renderMiniMarkdown, D as RENDER_UI_TOOL, Dt as toA2uiSpecMessages, E as OpenUiRuntime, Et as toA2uiMessages, F as UiCatalogToolSourceOptions, Ft as toUiSurfaceActionDispatch, G as VERCEL_SURFACE_DATA_PART_TYPE, H as UiSurfaceDescriptor, I as UiComponentDef, It as toUiSurfaceDescriptor, J as VercelUiBridge, K as VercelSurfaceDataPart, L as UiSpecIssue, Lt as toVercelSurfaceDataPart, M as UiCatalog, Mt as toOpenUiSpecLang, N as UiCatalogInput, Nt as toOpenUiSurfaceLang, O as SurfaceRendererProvenance, Ot as toA2uiSurfaceAction, P as UiCatalogPromptOptions, Pt as toSurface, Q as WebFormBridge, R as UiSpecNode, Rt as toVercelToolInvocation, S as OPENUI_CANCEL_ACTION, St as renderMiniChart, T as OpenUiRendererProps, Tt as shapeInteractionValue, U as VERCEL_INTERACTION_TOOL_NAME, V as UiSurfaceActionDispatch, W as VERCEL_SURFACE_ACTION_DATA_PART_TYPE, X as WEBSKILL_STYLES_CSS, Y as WEBSKILL_A2UI_CATALOG_ID, Z as WEBSKILL_SURFACE_ACTION, _ as FormModel, _t as interactionToFormModel, a as A2UI_SPEC_FORM_PATH, at as createUiCatalogToolSource, b as LoadedOpenUiPeers, bt as loadWebSkillLitCatalog, c as A2UI_VERSION, ct as ensureStyles, d as A2uiMessage, dt as fromA2uiSurfaceAction, et as a2uiComponentSchema, f as A2uiSpecActionEvent, ft as fromOpenUiAction, g as ControlModel, gt as fromVercelToolResult, h as CollectedValues, ht as fromVercelSurfaceAction, i as A2UI_SPEC_ACTION, it as collectValues, j as UiActionDef, jt as toOpenUiLang, k as UI_CATALOG_GROUPS, kt as toA2uiSurfaceMessages, l as A2uiCatalogDefinition, lt as fromA2uiAction, m as CHART_PALETTE, mt as fromUiSurfaceActionDispatch, n as A2UI_CANCEL_ACTION, nt as buildA2uiCatalogDefinition, o as A2UI_SUBMIT_ACTION, ot as decodeInteractionResponse, p as A2uiSpecMessageOptions, pt as fromOpenUiSurfaceAction, q as VercelToolInvocation, r as A2UI_COMMON_TYPES, rt as chartToTable, s as A2UI_SURFACE_ACTION, st as defineUiCatalog, t as A2UI_BASIC_CATALOG_ID, tt as a2uiComponentShapes, u as A2uiComponentShape, ut as fromA2uiSpecAction, v as JsonRenderSpec, vt as isUiSpecSurface, w as OPENUI_SURFACE_ACTION, wt as renderRenderResult, x as OPENUI_AUTHORIZE_ACTION, xt as renderBlocks, y as LitRendererBridge, yt as loadOpenUiPeers, z as UiSpecSurfaceProps, zt as uiCatalog } from "./index-BNQNSDKg.js";
3
- export { A2UI_BASIC_CATALOG_ID, A2UI_CANCEL_ACTION, A2UI_COMMON_TYPES, A2UI_SPEC_ACTION, A2UI_SPEC_FORM_PATH, A2UI_SUBMIT_ACTION, A2UI_SURFACE_ACTION, A2UI_VERSION, type A2uiCatalogDefinition, type A2uiComponentShape, type A2uiMessage, type A2uiSpecActionEvent, type A2uiSpecMessageOptions, CHART_PALETTE, type CollectedValues, type ControlModel, type FormModel, type JsonRenderSpec, LitRendererBridge, type LoadedOpenUiPeers, OPENUI_AUTHORIZE_ACTION, OPENUI_CANCEL_ACTION, OPENUI_SUBMIT_ACTION, OPENUI_SURFACE_ACTION, type OpenUiRendererProps, type OpenUiRuntime, RENDER_UI_TOOL, type SurfaceRendererProvenance, UI_CATALOG_GROUPS, UI_SPEC_COMPONENT, type UiActionDef, type UiCatalog, type UiCatalogInput, type UiCatalogPromptOptions, type UiCatalogToolSourceOptions, type UiComponentDef, type UiSpecIssue, type UiSpecNode, type UiSpecSurfaceProps, type UiSpecValidation, type UiSurfaceActionDispatch, type UiSurfaceDescriptor, VERCEL_INTERACTION_TOOL_NAME, VERCEL_SURFACE_ACTION_DATA_PART_TYPE, VERCEL_SURFACE_DATA_PART_TYPE, type VercelSurfaceDataPart, type VercelToolInvocation, VercelUiBridge, WEBSKILL_A2UI_CATALOG_ID, WEBSKILL_STYLES_CSS, WEBSKILL_SURFACE_ACTION, WebFormBridge, type ZodRuntime, a2uiComponentSchema, a2uiComponentShapes, buildA2uiCatalogDefinition, buildRenderResult, chartToTable, collectValues, createUiCatalogToolSource, decodeInteractionResponse, defineUiCatalog, ensureStyles, fromA2uiAction, fromA2uiSpecAction, fromA2uiSurfaceAction, fromOpenUiAction, fromOpenUiSurfaceAction, fromUiSurfaceActionDispatch, fromVercelSurfaceAction, fromVercelToolResult, interactionToFormModel, isUiSpecSurface, loadOpenUiPeers, loadWebSkillLitCatalog, renderBlocks, renderMiniChart, renderMiniMarkdown, renderRenderResult, shapeInteractionValue, toA2uiMessages, toA2uiSpecMessages, toA2uiSurfaceAction, toA2uiSurfaceMessages, toJsonRenderSpec, toOpenUiLang, toOpenUiSpecLang, toOpenUiSurfaceLang, toSurface, toUiSurfaceActionDispatch, toUiSurfaceDescriptor, toVercelSurfaceDataPart, toVercelToolInvocation, uiCatalog };
1
+ import { Dt as buildRenderResult } from "./index-8d-oEDww.js";
2
+ import { $ as WEBSKILL_SURFACE_ACTION, A as SurfaceRendererProvenance, At as toA2uiSurfaceAction, B as UiSpecNode, Bt as toVercelToolInvocation, C as OPENUI_AUTHORIZE_ACTION, Ct as renderBlocks, D as OpenUiRendererProps, Dt as shapeInteractionValue, E as OPENUI_SURFACE_ACTION, Et as renderRenderResult, F as UiCatalogInput, Ft as toOpenUiSurfaceLang, G as VERCEL_INTERACTION_TOOL_NAME, H as UiSpecValidation, I as UiCatalogPromptOptions, It as toSurface, J as VercelSurfaceDataPart, K as VERCEL_SURFACE_ACTION_DATA_PART_TYPE, L as UiCatalogToolSourceOptions, Lt as toUiSurfaceActionDispatch, M as UI_SPEC_COMPONENT, Mt as toJsonRenderSpec, N as UiActionDef, Nt as toOpenUiLang, O as OpenUiRuntime, Ot as toA2uiMessages, P as UiCatalog, Pt as toOpenUiSpecLang, Q as WEBSKILL_STYLES_CSS, R as UiComponentDef, Rt as toUiSurfaceDescriptor, S as LoadedOpenUiPeers, St as loadWebSkillLitCatalog, T as OPENUI_SUBMIT_ACTION, Tt as renderMiniMarkdown, U as UiSurfaceActionDispatch, V as UiSpecSurfaceProps, Vt as uiCatalog, W as UiSurfaceDescriptor, X as VercelUiBridge, Y as VercelToolInvocation, Z as WEBSKILL_A2UI_CATALOG_ID, _ as CollectedValues, _t as fromVercelSurfaceAction, a as A2UI_SPEC_FORM_PATH, at as chartToTable, b as JsonRenderSpec, bt as isUiSpecSurface, c as A2UI_VERSION, ct as decodeInteractionResponse, d as A2uiCatalogHandle, dt as fromA2uiAction, et as WebFormBridge, f as A2uiComponentShape, ft as fromA2uiSpecAction, g as CHART_PALETTE, gt as fromUiSurfaceActionDispatch, h as A2uiSpecMessageOptions, ht as fromOpenUiSurfaceAction, i as A2UI_SPEC_ACTION, it as buildA2uiCatalogDefinition, j as UI_CATALOG_GROUPS, jt as toA2uiSurfaceMessages, k as RENDER_UI_TOOL, kt as toA2uiSpecMessages, l as A2uiCatalogComponent, lt as defineUiCatalog, m as A2uiSpecActionEvent, mt as fromOpenUiAction, n as A2UI_CANCEL_ACTION, nt as a2uiComponentSchema, o as A2UI_SUBMIT_ACTION, ot as collectValues, p as A2uiMessage, pt as fromA2uiSurfaceAction, q as VERCEL_SURFACE_DATA_PART_TYPE, r as A2UI_COMMON_TYPES, rt as a2uiComponentShapes, s as A2UI_SURFACE_ACTION, st as createUiCatalogToolSource, t as A2UI_BASIC_CATALOG_ID, tt as ZodRuntime, u as A2uiCatalogDefinition, ut as ensureStyles, v as ControlModel, vt as fromVercelToolResult, w as OPENUI_CANCEL_ACTION, wt as renderMiniChart, x as LitRendererBridge, xt as loadOpenUiPeers, y as FormModel, yt as interactionToFormModel, z as UiSpecIssue, zt as toVercelSurfaceDataPart } from "./index-wiV5X8Rz.js";
3
+ export { A2UI_BASIC_CATALOG_ID, A2UI_CANCEL_ACTION, A2UI_COMMON_TYPES, A2UI_SPEC_ACTION, A2UI_SPEC_FORM_PATH, A2UI_SUBMIT_ACTION, A2UI_SURFACE_ACTION, A2UI_VERSION, type A2uiCatalogComponent, type A2uiCatalogDefinition, type A2uiCatalogHandle, type A2uiComponentShape, type A2uiMessage, type A2uiSpecActionEvent, type A2uiSpecMessageOptions, CHART_PALETTE, type CollectedValues, type ControlModel, type FormModel, type JsonRenderSpec, LitRendererBridge, type LoadedOpenUiPeers, OPENUI_AUTHORIZE_ACTION, OPENUI_CANCEL_ACTION, OPENUI_SUBMIT_ACTION, OPENUI_SURFACE_ACTION, type OpenUiRendererProps, type OpenUiRuntime, RENDER_UI_TOOL, type SurfaceRendererProvenance, UI_CATALOG_GROUPS, UI_SPEC_COMPONENT, type UiActionDef, type UiCatalog, type UiCatalogInput, type UiCatalogPromptOptions, type UiCatalogToolSourceOptions, type UiComponentDef, type UiSpecIssue, type UiSpecNode, type UiSpecSurfaceProps, type UiSpecValidation, type UiSurfaceActionDispatch, type UiSurfaceDescriptor, VERCEL_INTERACTION_TOOL_NAME, VERCEL_SURFACE_ACTION_DATA_PART_TYPE, VERCEL_SURFACE_DATA_PART_TYPE, type VercelSurfaceDataPart, type VercelToolInvocation, VercelUiBridge, WEBSKILL_A2UI_CATALOG_ID, WEBSKILL_STYLES_CSS, WEBSKILL_SURFACE_ACTION, WebFormBridge, type ZodRuntime, a2uiComponentSchema, a2uiComponentShapes, buildA2uiCatalogDefinition, buildRenderResult, chartToTable, collectValues, createUiCatalogToolSource, decodeInteractionResponse, defineUiCatalog, ensureStyles, fromA2uiAction, fromA2uiSpecAction, fromA2uiSurfaceAction, fromOpenUiAction, fromOpenUiSurfaceAction, fromUiSurfaceActionDispatch, fromVercelSurfaceAction, fromVercelToolResult, interactionToFormModel, isUiSpecSurface, loadOpenUiPeers, loadWebSkillLitCatalog, renderBlocks, renderMiniChart, renderMiniMarkdown, renderRenderResult, shapeInteractionValue, toA2uiMessages, toA2uiSpecMessages, toA2uiSurfaceAction, toA2uiSurfaceMessages, toJsonRenderSpec, toOpenUiLang, toOpenUiSpecLang, toOpenUiSurfaceLang, toSurface, toUiSurfaceActionDispatch, toUiSurfaceDescriptor, toVercelSurfaceDataPart, toVercelToolInvocation, uiCatalog };
package/dist/ui.js CHANGED
@@ -1,4 +1,4 @@
1
- import { w as buildRenderResult } from "./dist-BdOW8N4V.js";
2
- import { $ as toVercelToolInvocation, A as fromOpenUiSurfaceAction, B as shapeInteractionValue, C as createUiCatalogToolSource, D as fromA2uiSpecAction, E as fromA2uiAction, F as isUiSpecSurface, G as toJsonRenderSpec, H as toA2uiSpecMessages, I as loadOpenUiPeers, J as toOpenUiSurfaceLang, K as toOpenUiLang, L as loadWebSkillLitCatalog, M as fromVercelSurfaceAction, N as fromVercelToolResult, O as fromA2uiSurfaceAction, P as interactionToFormModel, Q as toVercelSurfaceDataPart, R as renderBlocks, S as collectValues, T as ensureStyles, U as toA2uiSurfaceAction, V as toA2uiMessages, W as toA2uiSurfaceMessages, X as toUiSurfaceActionDispatch, Y as toSurface, Z as toUiSurfaceDescriptor, _ as VERCEL_SURFACE_DATA_PART_TYPE, a as A2UI_SUBMIT_ACTION, at as a2uiComponentSchema, b as WEBSKILL_SURFACE_ACTION, c as LitRendererBridge, ct as chartToTable, d as OPENUI_SUBMIT_ACTION, dt as renderMiniMarkdown, f as OPENUI_SURFACE_ACTION, ft as uiCatalog, g as VERCEL_SURFACE_ACTION_DATA_PART_TYPE, h as VERCEL_INTERACTION_TOOL_NAME, i as A2UI_SPEC_FORM_PATH, it as WEBSKILL_A2UI_CATALOG_ID, j as fromUiSurfaceActionDispatch, k as fromOpenUiAction, l as OPENUI_AUTHORIZE_ACTION, lt as defineUiCatalog, m as UI_SPEC_COMPONENT, n as A2UI_CANCEL_ACTION, nt as CHART_PALETTE, o as A2UI_SURFACE_ACTION, ot as a2uiComponentShapes, p as RENDER_UI_TOOL, q as toOpenUiSpecLang, r as A2UI_SPEC_ACTION, rt as UI_CATALOG_GROUPS, s as A2UI_VERSION, st as buildA2uiCatalogDefinition, t as A2UI_BASIC_CATALOG_ID, tt as A2UI_COMMON_TYPES, u as OPENUI_CANCEL_ACTION, ut as renderMiniChart, v as VercelUiBridge, w as decodeInteractionResponse, x as WebFormBridge, y as WEBSKILL_STYLES_CSS, z as renderRenderResult } from "./dist-CtBLBbEz.js";
1
+ import { O as buildRenderResult } from "./dist-rorEJsNi.js";
2
+ import { $ as toVercelToolInvocation, A as fromOpenUiSurfaceAction, B as shapeInteractionValue, C as createUiCatalogToolSource, D as fromA2uiSpecAction, E as fromA2uiAction, F as isUiSpecSurface, G as toJsonRenderSpec, H as toA2uiSpecMessages, I as loadOpenUiPeers, J as toOpenUiSurfaceLang, K as toOpenUiLang, L as loadWebSkillLitCatalog, M as fromVercelSurfaceAction, N as fromVercelToolResult, O as fromA2uiSurfaceAction, P as interactionToFormModel, Q as toVercelSurfaceDataPart, R as renderBlocks, S as collectValues, T as ensureStyles, U as toA2uiSurfaceAction, V as toA2uiMessages, W as toA2uiSurfaceMessages, X as toUiSurfaceActionDispatch, Y as toSurface, Z as toUiSurfaceDescriptor, _ as VERCEL_SURFACE_DATA_PART_TYPE, a as A2UI_SUBMIT_ACTION, at as a2uiComponentSchema, b as WEBSKILL_SURFACE_ACTION, c as LitRendererBridge, ct as chartToTable, d as OPENUI_SUBMIT_ACTION, dt as renderMiniMarkdown, f as OPENUI_SURFACE_ACTION, ft as uiCatalog, g as VERCEL_SURFACE_ACTION_DATA_PART_TYPE, h as VERCEL_INTERACTION_TOOL_NAME, i as A2UI_SPEC_FORM_PATH, it as WEBSKILL_A2UI_CATALOG_ID, j as fromUiSurfaceActionDispatch, k as fromOpenUiAction, l as OPENUI_AUTHORIZE_ACTION, lt as defineUiCatalog, m as UI_SPEC_COMPONENT, n as A2UI_CANCEL_ACTION, nt as CHART_PALETTE, o as A2UI_SURFACE_ACTION, ot as a2uiComponentShapes, p as RENDER_UI_TOOL, q as toOpenUiSpecLang, r as A2UI_SPEC_ACTION, rt as UI_CATALOG_GROUPS, s as A2UI_VERSION, st as buildA2uiCatalogDefinition, t as A2UI_BASIC_CATALOG_ID, tt as A2UI_COMMON_TYPES, u as OPENUI_CANCEL_ACTION, ut as renderMiniChart, v as VercelUiBridge, w as decodeInteractionResponse, x as WebFormBridge, y as WEBSKILL_STYLES_CSS, z as renderRenderResult } from "./dist-ZKaM8j06.js";
3
3
 
4
4
  export { A2UI_BASIC_CATALOG_ID, A2UI_CANCEL_ACTION, A2UI_COMMON_TYPES, A2UI_SPEC_ACTION, A2UI_SPEC_FORM_PATH, A2UI_SUBMIT_ACTION, A2UI_SURFACE_ACTION, A2UI_VERSION, CHART_PALETTE, LitRendererBridge, OPENUI_AUTHORIZE_ACTION, OPENUI_CANCEL_ACTION, OPENUI_SUBMIT_ACTION, OPENUI_SURFACE_ACTION, RENDER_UI_TOOL, UI_CATALOG_GROUPS, UI_SPEC_COMPONENT, VERCEL_INTERACTION_TOOL_NAME, VERCEL_SURFACE_ACTION_DATA_PART_TYPE, VERCEL_SURFACE_DATA_PART_TYPE, VercelUiBridge, WEBSKILL_A2UI_CATALOG_ID, WEBSKILL_STYLES_CSS, WEBSKILL_SURFACE_ACTION, WebFormBridge, a2uiComponentSchema, a2uiComponentShapes, buildA2uiCatalogDefinition, buildRenderResult, chartToTable, collectValues, createUiCatalogToolSource, decodeInteractionResponse, defineUiCatalog, ensureStyles, fromA2uiAction, fromA2uiSpecAction, fromA2uiSurfaceAction, fromOpenUiAction, fromOpenUiSurfaceAction, fromUiSurfaceActionDispatch, fromVercelSurfaceAction, fromVercelToolResult, interactionToFormModel, isUiSpecSurface, loadOpenUiPeers, loadWebSkillLitCatalog, renderBlocks, renderMiniChart, renderMiniMarkdown, renderRenderResult, shapeInteractionValue, toA2uiMessages, toA2uiSpecMessages, toA2uiSurfaceAction, toA2uiSurfaceMessages, toJsonRenderSpec, toOpenUiLang, toOpenUiSpecLang, toOpenUiSurfaceLang, toSurface, toUiSurfaceActionDispatch, toUiSurfaceDescriptor, toVercelSurfaceDataPart, toVercelToolInvocation, uiCatalog };
@@ -1,4 +1,4 @@
1
- import { dt as renderMiniMarkdown, et as A2UI_CHILDREN_PROP, ft as uiCatalog, it as WEBSKILL_A2UI_CATALOG_ID, ot as a2uiComponentShapes, ut as renderMiniChart } from "./dist-CtBLBbEz.js";
1
+ import { dt as renderMiniMarkdown, et as A2UI_CHILDREN_PROP, ft as uiCatalog, it as WEBSKILL_A2UI_CATALOG_ID, ot as a2uiComponentShapes, ut as renderMiniChart } from "./dist-ZKaM8j06.js";
2
2
  import { A2uiController, A2uiLitElement } from "@a2ui/lit/v0_9";
3
3
  import { Catalog } from "@a2ui/web_core/v0_9";
4
4
  import { z } from "zod/v3";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webskill/sdk",
3
- "version": "0.2.7",
3
+ "version": "0.3.0",
4
4
  "description": "WebSkill \u2014 browser/Node agent skill runtime (skills, tools, MCP, governance, UI)",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -59,7 +59,8 @@
59
59
  },
60
60
  "dependencies": {
61
61
  "fflate": "0.8.3",
62
- "yaml": "^2.9.0"
62
+ "yaml": "^2.9.0",
63
+ "zod": "^4.0.0"
63
64
  },
64
65
  "peerDependencies": {
65
66
  "react": ">=19.0.0",
@@ -67,8 +68,7 @@
67
68
  "vue": ">=3.5.0",
68
69
  "@modelcontextprotocol/sdk": ">=1.29.0",
69
70
  "oxc-parser": ">=0.141.0",
70
- "tar": ">=7.5.0",
71
- "zod": ">=4.0.0"
71
+ "tar": ">=7.5.0"
72
72
  },
73
73
  "peerDependenciesMeta": {
74
74
  "react": {
@@ -88,9 +88,6 @@
88
88
  },
89
89
  "tar": {
90
90
  "optional": true
91
- },
92
- "zod": {
93
- "optional": true
94
91
  }
95
92
  },
96
93
  "devDependencies": {