@webskill/sdk 0.9.0 → 0.10.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 (33) hide show
  1. package/dist/agent.d.ts +2 -2
  2. package/dist/agent.js +5 -1
  3. package/dist/browser.d.ts +5 -3
  4. package/dist/browser.js +15 -7
  5. package/dist/{catalogComponents-DfxxfUvn-T7Ic8QFV.js → catalogComponents-DTcYfpLQ-CcoOaz-Z.js} +1354 -415
  6. package/dist/{dist-BQe1uglQ.js → dist-1OFC-zax.js} +6 -4
  7. package/dist/{dist-CFmkV45C.js → dist-BViUeszk.js} +349 -32
  8. package/dist/{eventTypes-DbOpAECr-BjcjZVms.js → eventTypes-s2uwAcLG-Go3l_dUe.js} +5 -2
  9. package/dist/governance.d.ts +29 -6
  10. package/dist/governance.js +45 -7
  11. package/dist/{index-DXNTIa-6.d.ts → index-B0QPLWPZ.d.ts} +6 -2
  12. package/dist/{index-lLcCpHE-.d.ts → index-BF4E1a9j.d.ts} +10 -3
  13. package/dist/{index-znZjobkr.d.ts → index-DtFdMKBX.d.ts} +63 -6
  14. package/dist/index.d.ts +4 -4
  15. package/dist/index.js +3 -3
  16. package/dist/mcp.d.ts +18 -3
  17. package/dist/mcp.js +62 -21
  18. package/dist/node.d.ts +3 -3
  19. package/dist/node.js +2 -2
  20. package/dist/{openUiLibrary-DURlAxjk-Do_yqg3u.js → openUiLibrary-CIrV--Ad-B8zG_91e.js} +3 -3
  21. package/dist/{skillVersionStore-Bl-ElD45-dMJ8Ybhb.d.ts → skillVersionStore-D-qHk9ZE-DBsYYCWn.d.ts} +13 -5
  22. package/dist/{testing-Csg5ljNm.js → testing-WPTyXQYt.js} +26 -3
  23. package/dist/testing.d.ts +1 -1
  24. package/dist/testing.js +1 -1
  25. package/dist/{types-B3n0cMZu-BDhheIhX.d.ts → types-CrRcT-LM-DZAp8sWv.d.ts} +36 -3
  26. package/dist/ui-react.d.ts +11 -2
  27. package/dist/ui-react.js +119 -38
  28. package/dist/ui-vue.d.ts +1 -1
  29. package/dist/ui-vue.js +1 -1
  30. package/dist/ui.d.ts +3 -3
  31. package/dist/ui.js +2 -2
  32. package/dist/{webskillLitCatalog-DwTwSBFt-BG7kL-Es.js → webskillLitCatalog-BJrphK0y-SGmRXaaO.js} +2 -2
  33. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import { h as WebSkillError } from "./dist-Bev6i6Ip.js";
2
2
  import { toJSONSchema, z } from "zod";
3
3
 
4
- //#region ../ui/dist/webskillCatalog-CKM0bu47.js
4
+ //#region ../ui/dist/webskillCatalog-BA7pjlS9.js
5
5
  const DEFAULT_INTERACTION_TEXTS = {
6
6
  submit: "Submit",
7
7
  cancel: "Cancel",
@@ -29,7 +29,9 @@ const DEFAULT_SURFACE_FORM_TEXTS = {
29
29
  addItem: "Add",
30
30
  removeItem: "Remove",
31
31
  arrayFirstItemOnly: "This renderer shows only the first item of a repeatable group.",
32
- readOnlySnapshot: "This is a saved record — its actions are no longer available."
32
+ readOnlySnapshot: "This is a saved record — its actions are no longer available.",
33
+ suggested: DEFAULT_INTERACTION_TEXTS.suggested,
34
+ useSuggestion: DEFAULT_INTERACTION_TEXTS.useSuggestion
33
35
  };
34
36
  function resolveSurfaceFormTexts(texts) {
35
37
  return texts ? {
@@ -1007,7 +1009,7 @@ const uiCatalog = defineUiCatalog({
1007
1009
  {
1008
1010
  name: "FileLink",
1009
1011
  group: "data",
1010
- description: "A download entry for a run artifact.",
1012
+ description: "A download entry for a file. The host automatically renders every artifact the run produced as a download card, so never create a FileLink for those; use it only for files that are not run artifacts.",
1011
1013
  props: z.object({
1012
1014
  path: z.string(),
1013
1015
  label: z.string().optional(),
@@ -2871,7 +2873,7 @@ function fromA2uiSpecAction(event) {
2871
2873
  */
2872
2874
  async function loadWebSkillLitCatalog() {
2873
2875
  try {
2874
- const { webskillLitCatalog } = await import("./webskillLitCatalog-DwTwSBFt-BG7kL-Es.js");
2876
+ const { webskillLitCatalog } = await import("./webskillLitCatalog-BJrphK0y-SGmRXaaO.js");
2875
2877
  return webskillLitCatalog();
2876
2878
  } catch (cause) {
2877
2879
  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);