@webskill/sdk 0.3.0 → 0.4.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 (32) hide show
  1. package/dist/browser.d.ts +2 -2
  2. package/dist/browser.js +2 -6
  3. package/dist/{catalogComponents-C_V39rbF-BOHveMWa.js → catalogComponents-KsujmL4b-Clx1kCnU.js} +278 -122
  4. package/dist/{dist-rorEJsNi.js → dist-C-Sh0MDU.js} +498 -282
  5. package/dist/{dist-ZKaM8j06.js → dist-D9Lcn5Pp.js} +527 -837
  6. package/dist/governance.d.ts +45 -10
  7. package/dist/governance.js +151 -24
  8. package/dist/{index-wiV5X8Rz.d.ts → index-CHXxDccV.d.ts} +62 -144
  9. package/dist/{index-8d-oEDww.d.ts → index-DLfR2Y6I.d.ts} +215 -23
  10. package/dist/index.d.ts +3 -3
  11. package/dist/index.js +3 -2
  12. package/dist/mcp.d.ts +2 -2
  13. package/dist/mcp.js +1 -1
  14. package/dist/memoryArtifactStore-BtOeB_hm-tj3fC5ip.js +78 -0
  15. package/dist/node.d.ts +8 -4
  16. package/dist/node.js +1 -1
  17. package/dist/{openUiLibrary-B8-Cvou9-BbpNTXS3.js → openUiLibrary-YLS-cxyT-C96jWDQq.js} +6 -5
  18. package/dist/{skillVersionStore-DOEI9ptb-BxbYL70B.d.ts → skillVersionStore-uyefLPR1-DXOzbksv.d.ts} +41 -10
  19. package/dist/{testing-CsrG3XLz.js → testing-DDCJWvgA.js} +7 -5
  20. package/dist/testing.d.ts +1 -1
  21. package/dist/testing.js +2 -2
  22. package/dist/{types-AmKCKJn_-VGabeXK4.d.ts → types-7Wcg--Vh-1YlQ4jF9.d.ts} +85 -71
  23. package/dist/ui-react.d.ts +329 -18
  24. package/dist/ui-react.js +3714 -3463
  25. package/dist/ui-vue.d.ts +1 -1
  26. package/dist/ui-vue.js +1 -1
  27. package/dist/ui.d.ts +4 -3
  28. package/dist/ui.js +3 -3
  29. package/dist/{webskillLitCatalog-CNaUpasU-BslMcxRZ.js → webskillLitCatalog-CSTbhBe_-CYIs5BX8.js} +312 -122
  30. package/package.json +1 -1
  31. package/dist/jsonRenderRegistry-9GrWP_hE-U6Do3Kid.js +0 -2468
  32. package/dist/memoryArtifactStore-C9lFVqPF-yFz6yJj0.js +0 -48
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-AmKCKJn_-VGabeXK4.js";
1
+ import { o as InteractionRequest, s as InteractionResponse, v as RenderResultRequest, y as UiBridge } from "./types-7Wcg--Vh-1YlQ4jF9.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-ZKaM8j06.js";
1
+ import { D as renderMiniChart, K as renderMiniMarkdown, S as interactionToFormModel, h as collectValues, k as shapeInteractionValue } from "./dist-D9Lcn5Pp.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,4 @@
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 };
1
+ import { pt as UiSpecNode } from "./types-7Wcg--Vh-1YlQ4jF9.js";
2
+ import { Bt as buildRenderResult } from "./index-DLfR2Y6I.js";
3
+ import { $ as fromA2uiSpecAction, A as UiCatalogToolSourceOptions, B as WEBSKILL_SURFACE_ACTION, C as OpenUiRuntime, D as UiCatalog, E as UiActionDef, F as VERCEL_INTERACTION_TOOL_NAME, G as buildA2uiCatalogDefinition, H as ZodRuntime, I as VercelToolInvocation, J as collectSpecActions, K as chartSpecFromProps, L as VercelUiBridge, M as UiSpecIssue, N as UiSpecValidation, O as UiCatalogInput, P as UiSurfaceActionDispatch, Q as ensureStyles, R as WEBSKILL_A2UI_CATALOG_ID, S as OpenUiRendererProps, T as UI_CATALOG_GROUPS, U as a2uiComponentSchema, V as WebFormBridge, W as a2uiComponentShapes, X as createUiCatalogToolSource, Y as collectValues, Z as defineUiCatalog, _ as EchartHandle, _t as toUiSurfaceActionDispatch, a as A2UI_SURFACE_ACTION, at as loadOpenUiPeers, b as JsonRenderSpec, c as A2uiCatalogDefinition, ct as renderBlocks, d as A2uiMessage, dt as renderRenderResult, et as fromA2uiSurfaceAction, f as A2uiSpecActionEvent, ft as shapeInteractionValue, g as ControlModel, gt as toOpenUiSpecLang, h as CollectedValues, ht as toJsonRenderSpec, i as A2UI_SPEC_FORM_PATH, it as interactionToUiSpec, j as UiComponentDef, k as UiCatalogPromptOptions, l as A2uiCatalogHandle, lt as renderMiniChart, m as CHART_PALETTE, mt as toA2uiSurfaceAction, n as A2UI_COMMON_TYPES, nt as fromVercelToolResult, o as A2UI_VERSION, ot as loadWebSkillLitCatalog, p as A2uiSpecMessageOptions, pt as toA2uiSpecMessages, q as chartToTable, r as A2UI_SPEC_ACTION, rt as interactionToFormModel, s as A2uiCatalogComponent, st as mountEchart, t as A2UI_BASIC_CATALOG_ID, tt as fromUiSurfaceActionDispatch, u as A2uiComponentShape, ut as renderMiniMarkdown, v as FormModel, vt as toVercelToolInvocation, w as RENDER_UI_TOOL, x as LoadedOpenUiPeers, y as InteractionSpecLabels, yt as uiCatalog, z as WEBSKILL_STYLES_CSS } from "./index-CHXxDccV.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, CHART_PALETTE, type CollectedValues, type ControlModel, type EchartHandle, type FormModel, type InteractionSpecLabels, type JsonRenderSpec, type LoadedOpenUiPeers, type OpenUiRendererProps, type OpenUiRuntime, RENDER_UI_TOOL, UI_CATALOG_GROUPS, type UiActionDef, type UiCatalog, type UiCatalogInput, type UiCatalogPromptOptions, type UiCatalogToolSourceOptions, type UiComponentDef, type UiSpecIssue, type UiSpecNode, type UiSpecValidation, type UiSurfaceActionDispatch, VERCEL_INTERACTION_TOOL_NAME, type VercelToolInvocation, VercelUiBridge, WEBSKILL_A2UI_CATALOG_ID, WEBSKILL_STYLES_CSS, WEBSKILL_SURFACE_ACTION, WebFormBridge, type ZodRuntime, a2uiComponentSchema, a2uiComponentShapes, buildA2uiCatalogDefinition, buildRenderResult, chartSpecFromProps, chartToTable, collectSpecActions, collectValues, createUiCatalogToolSource, defineUiCatalog, ensureStyles, fromA2uiSpecAction, fromA2uiSurfaceAction, fromUiSurfaceActionDispatch, fromVercelToolResult, interactionToFormModel, interactionToUiSpec, loadOpenUiPeers, loadWebSkillLitCatalog, mountEchart, renderBlocks, renderMiniChart, renderMiniMarkdown, renderRenderResult, shapeInteractionValue, toA2uiSpecMessages, toA2uiSurfaceAction, toJsonRenderSpec, toOpenUiSpecLang, toUiSurfaceActionDispatch, toVercelToolInvocation, uiCatalog };
package/dist/ui.js CHANGED
@@ -1,4 +1,4 @@
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";
1
+ import { k as buildRenderResult } from "./dist-C-Sh0MDU.js";
2
+ import { A as toA2uiSpecMessages, B as a2uiComponentSchema, C as interactionToUiSpec, D as renderMiniChart, E as renderBlocks, F as toVercelToolInvocation, G as mountEchart, H as buildA2uiCatalogDefinition, K as renderMiniMarkdown, L as A2UI_COMMON_TYPES, M as toJsonRenderSpec, N as toOpenUiSpecLang, O as renderRenderResult, P as toUiSurfaceActionDispatch, R as UI_CATALOG_GROUPS, S as interactionToFormModel, T as loadWebSkillLitCatalog, U as chartSpecFromProps, V as a2uiComponentShapes, W as defineUiCatalog, _ as ensureStyles, a as A2UI_VERSION, b as fromUiSurfaceActionDispatch, c as VERCEL_INTERACTION_TOOL_NAME, d as WEBSKILL_SURFACE_ACTION, f as WebFormBridge, g as createUiCatalogToolSource, h as collectValues, i as A2UI_SURFACE_ACTION, j as toA2uiSurfaceAction, k as shapeInteractionValue, l as VercelUiBridge, m as collectSpecActions, n as A2UI_SPEC_ACTION, o as CHART_PALETTE, p as chartToTable, q as uiCatalog, r as A2UI_SPEC_FORM_PATH, s as RENDER_UI_TOOL, t as A2UI_BASIC_CATALOG_ID, u as WEBSKILL_STYLES_CSS, v as fromA2uiSpecAction, w as loadOpenUiPeers, x as fromVercelToolResult, y as fromA2uiSurfaceAction, z as WEBSKILL_A2UI_CATALOG_ID } from "./dist-D9Lcn5Pp.js";
3
3
 
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 };
4
+ export { A2UI_BASIC_CATALOG_ID, A2UI_COMMON_TYPES, A2UI_SPEC_ACTION, A2UI_SPEC_FORM_PATH, A2UI_SURFACE_ACTION, A2UI_VERSION, CHART_PALETTE, RENDER_UI_TOOL, UI_CATALOG_GROUPS, VERCEL_INTERACTION_TOOL_NAME, VercelUiBridge, WEBSKILL_A2UI_CATALOG_ID, WEBSKILL_STYLES_CSS, WEBSKILL_SURFACE_ACTION, WebFormBridge, a2uiComponentSchema, a2uiComponentShapes, buildA2uiCatalogDefinition, buildRenderResult, chartSpecFromProps, chartToTable, collectSpecActions, collectValues, createUiCatalogToolSource, defineUiCatalog, ensureStyles, fromA2uiSpecAction, fromA2uiSurfaceAction, fromUiSurfaceActionDispatch, fromVercelToolResult, interactionToFormModel, interactionToUiSpec, loadOpenUiPeers, loadWebSkillLitCatalog, mountEchart, renderBlocks, renderMiniChart, renderMiniMarkdown, renderRenderResult, shapeInteractionValue, toA2uiSpecMessages, toA2uiSurfaceAction, toJsonRenderSpec, toOpenUiSpecLang, toUiSurfaceActionDispatch, toVercelToolInvocation, uiCatalog };