@webskill/sdk 0.8.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.
- package/dist/agent.d.ts +2 -2
- package/dist/agent.js +6 -2
- package/dist/browser.d.ts +5 -3
- package/dist/browser.js +35 -13
- package/dist/{catalogComponents-DfxxfUvn-D55Gbb2l.js → catalogComponents-DTcYfpLQ-CcoOaz-Z.js} +1946 -976
- package/dist/{dist-CJqQsIm9.js → dist-1OFC-zax.js} +7 -5
- package/dist/{dist-DmI5SBBF.js → dist-BViUeszk.js} +393 -44
- package/dist/{dist-59XlqDuv.js → dist-Bev6i6Ip.js} +10 -2
- package/dist/{eventTypes-g1BXL6x5-CibcOftR.js → eventTypes-s2uwAcLG-Go3l_dUe.js} +13 -2
- package/dist/governance.d.ts +37 -6
- package/dist/governance.js +53 -15
- package/dist/{index-P9J2LTfU.d.ts → index-B0QPLWPZ.d.ts} +6 -2
- package/dist/{index-fLskQfAS.d.ts → index-BF4E1a9j.d.ts} +10 -3
- package/dist/{index-K-eewlGL.d.ts → index-DtFdMKBX.d.ts} +69 -7
- package/dist/index.d.ts +11 -3
- package/dist/index.js +13 -4
- package/dist/mcp.d.ts +23 -3
- package/dist/mcp.js +70 -25
- package/dist/{memoryArtifactStore-52Zn9npI-upv5OWYf.js → memoryArtifactStore-52Zn9npI-LbCQaqyx.js} +1 -1
- package/dist/node.d.ts +3 -3
- package/dist/node.js +6 -6
- package/dist/{openUiLibrary-DURlAxjk-CU6AzfSW.js → openUiLibrary-CIrV--Ad-B8zG_91e.js} +3 -3
- package/dist/{skillVersionStore-Bl-ElD45-gRfSaAby.d.ts → skillVersionStore-D-qHk9ZE-DBsYYCWn.d.ts} +13 -5
- package/dist/{testing-BCUO5gZR.js → testing-WPTyXQYt.js} +28 -5
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +2 -2
- package/dist/{types-B3n0cMZu-BdcqQ35O.d.ts → types-CrRcT-LM-DZAp8sWv.d.ts} +44 -3
- package/dist/ui-react.d.ts +17 -2
- package/dist/ui-react.js +123 -39
- package/dist/ui-vue.d.ts +1 -1
- package/dist/ui-vue.js +1 -1
- package/dist/ui.d.ts +3 -3
- package/dist/ui.js +2 -2
- package/dist/{webskillLitCatalog-DwTwSBFt-DiXXpNZA.js → webskillLitCatalog-BJrphK0y-SGmRXaaO.js} +2 -2
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h as WebSkillError } from "./dist-Bev6i6Ip.js";
|
|
2
2
|
import { toJSONSchema, z } from "zod";
|
|
3
3
|
|
|
4
|
-
//#region ../ui/dist/webskillCatalog-
|
|
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
|
|
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-
|
|
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);
|