@ggui-ai/artifact-manifest 0.28.0 → 0.29.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/artifact-manifest.d.ts +1 -1
- package/dist/artifact-manifest.d.ts.map +1 -1
- package/dist/artifact-manifest.js +1 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.d.ts.map +1 -1
- package/dist/base.js +1 -1
- package/dist/blueprint-manifest.d.ts +1 -1
- package/dist/blueprint-manifest.d.ts.map +1 -1
- package/dist/blueprint-manifest.js +1 -1
- package/dist/gadget-manifest.d.ts +1 -1
- package/dist/gadget-manifest.d.ts.map +1 -1
- package/dist/gadget-manifest.js +1 -1
- package/dist/mcp-tool-bindings.d.ts +1 -1
- package/dist/mcp-tool-bindings.d.ts.map +1 -1
- package/dist/mcp-tool-bindings.js +1 -1
- package/package.json +5 -5
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
* about a specific kind can use the narrower parsers without dipping
|
|
21
21
|
* into the union.
|
|
22
22
|
*/
|
|
23
|
-
import
|
|
23
|
+
import * as z from 'zod';
|
|
24
24
|
/**
|
|
25
25
|
* Discriminated union over every artifact kind the registry accepts.
|
|
26
26
|
* Narrowing is driven by the `kind` literal (`"gadget"` | `"blueprint"`).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"artifact-manifest.d.ts","sourceRoot":"","sources":["../src/artifact-manifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,OAAO,
|
|
1
|
+
{"version":3,"file":"artifact-manifest.d.ts","sourceRoot":"","sources":["../src/artifact-manifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAOzB;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAGjC,CAAC;AAEH;;;;;;GAMG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAatE;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,OAAO,GAAG,gBAAgB,CAEpE;AAED;;;;GAIG;AACH,wBAAgB,yBAAyB,CACvC,GAAG,EAAE,OAAO,GACX,UAAU,CAAC,OAAO,sBAAsB,CAAC,SAAS,CAAC,CAErD"}
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
* about a specific kind can use the narrower parsers without dipping
|
|
21
21
|
* into the union.
|
|
22
22
|
*/
|
|
23
|
-
import
|
|
23
|
+
import * as z from 'zod';
|
|
24
24
|
import { gadgetManifestSchema } from './gadget-manifest.js';
|
|
25
25
|
import { blueprintManifestSchema, } from './blueprint-manifest.js';
|
|
26
26
|
/**
|
package/dist/base.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* No discriminator field lives here — `kind` is intentionally per-variant
|
|
9
9
|
* so zod's `z.discriminatedUnion("kind", […])` can narrow on the literal.
|
|
10
10
|
*/
|
|
11
|
-
import
|
|
11
|
+
import * as z from 'zod';
|
|
12
12
|
/**
|
|
13
13
|
* Artifact scope — an npm-style organizational namespace. MUST start
|
|
14
14
|
* with `@` and contain only lowercase alphanumerics + hyphens after
|
package/dist/base.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../src/base.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../src/base.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,mBAAmB,aAK5B,CAAC;AAEL;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc,QAAsC,CAAC;AAElE;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,QAAiB,CAAC;AAEhD;;;;;;;;GAQG;AACH,eAAO,MAAM,qBAAqB,aAQ/B,CAAC;AAEJ;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,wBAAwB;;;EAAgC,CAAC;AAEtE;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB;;;;kBAQ/B,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;CA6CtB,CAAC"}
|
package/dist/base.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* No discriminator field lives here — `kind` is intentionally per-variant
|
|
9
9
|
* so zod's `z.discriminatedUnion("kind", […])` can narrow on the literal.
|
|
10
10
|
*/
|
|
11
|
-
import
|
|
11
|
+
import * as z from 'zod';
|
|
12
12
|
/**
|
|
13
13
|
* Artifact scope — an npm-style organizational namespace. MUST start
|
|
14
14
|
* with `@` and contain only lowercase alphanumerics + hyphens after
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
* Root + nested objects are strict — unknown keys fail parse. Same
|
|
59
59
|
* loud-feedback posture as the gadget manifest.
|
|
60
60
|
*/
|
|
61
|
-
import
|
|
61
|
+
import * as z from 'zod';
|
|
62
62
|
import { type BlueprintVariance, type DataContract } from '@ggui-ai/protocol';
|
|
63
63
|
/**
|
|
64
64
|
* Strict zod schema for `ggui.blueprint.json`. Strict root — unknown
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blueprint-manifest.d.ts","sourceRoot":"","sources":["../src/blueprint-manifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AACH,OAAO,
|
|
1
|
+
{"version":3,"file":"blueprint-manifest.d.ts","sourceRoot":"","sources":["../src/blueprint-manifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AACH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,YAAY,EAGlB,MAAM,mBAAmB,CAAC;AAgC3B;;;;;;;;GAQG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA+ElC,CAAC;AAEH;;;;;;;;GAQG;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAmBxE;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,wBAAwB,CAAC;AAElE;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,OAAO,GAAG,iBAAiB,CAEtE;AAED;;;GAGG;AACH,wBAAgB,0BAA0B,CACxC,GAAG,EAAE,OAAO,GACX,UAAU,CAAC,OAAO,uBAAuB,CAAC,SAAS,CAAC,CAEtD"}
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
* Root + nested objects are strict — unknown keys fail parse. Same
|
|
59
59
|
* loud-feedback posture as the gadget manifest.
|
|
60
60
|
*/
|
|
61
|
-
import
|
|
61
|
+
import * as z from 'zod';
|
|
62
62
|
import { blueprintVarianceSchema, dataContractSchema, } from '@ggui-ai/protocol';
|
|
63
63
|
import { ArtifactScopeSchema, ArtifactVersionSchema, ArtifactVisibilitySchema, BLUEPRINT_NAME_RE, sharedMetadataShape, } from './base.js';
|
|
64
64
|
import { mcpToolsSchema } from './mcp-tool-bindings.js';
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
* `ggui.gadget.json` should fail loud, not silently get ignored at
|
|
53
53
|
* publish time.
|
|
54
54
|
*/
|
|
55
|
-
import
|
|
55
|
+
import * as z from 'zod';
|
|
56
56
|
/**
|
|
57
57
|
* One export of a gadget package — a hook or a component. Mirrors the
|
|
58
58
|
* protocol's `GadgetExport` shape: a gadget package bundles ≥1 of
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gadget-manifest.d.ts","sourceRoot":"","sources":["../src/gadget-manifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,OAAO,
|
|
1
|
+
{"version":3,"file":"gadget-manifest.d.ts","sourceRoot":"","sources":["../src/gadget-manifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAuFzB;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;oBAwB7B,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA+H/B,CAAC;AAEH;;;;;;GAMG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,qBAAqB,CAAC;AAE5D;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,OAAO,GAAG,cAAc,CAEhE;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CACrC,GAAG,EAAE,OAAO,GACX,UAAU,CAAC,OAAO,oBAAoB,CAAC,SAAS,CAAC,CAEnD"}
|
package/dist/gadget-manifest.js
CHANGED
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
* `ggui.gadget.json` should fail loud, not silently get ignored at
|
|
53
53
|
* publish time.
|
|
54
54
|
*/
|
|
55
|
-
import
|
|
55
|
+
import * as z from 'zod';
|
|
56
56
|
import { BUNDLE_HOST_RE, gadgetRequiresSchema, jsonValueSchema, } from '@ggui-ai/protocol';
|
|
57
57
|
import { ArtifactScopeSchema, ArtifactVersionSchema, ArtifactVisibilitySchema, GADGET_NAME_RE, sharedMetadataShape, } from './base.js';
|
|
58
58
|
import { mcpToolsSchema } from './mcp-tool-bindings.js';
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
* `streamSpec[*].source.tool`). Gadgets never derive (they carry no
|
|
21
21
|
* contract).
|
|
22
22
|
*/
|
|
23
|
-
import
|
|
23
|
+
import * as z from "zod";
|
|
24
24
|
import type { BlueprintManifest } from "./blueprint-manifest.js";
|
|
25
25
|
import type { GadgetManifest } from "./gadget-manifest.js";
|
|
26
26
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcp-tool-bindings.d.ts","sourceRoot":"","sources":["../src/mcp-tool-bindings.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,OAAO,
|
|
1
|
+
{"version":3,"file":"mcp-tool-bindings.d.ts","sourceRoot":"","sources":["../src/mcp-tool-bindings.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D;;;;;;;GAOG;AACH,eAAO,MAAM,wBAAwB,QAA4B,CAAC;AAElE;;;;;;;;GAQG;AACH,eAAO,MAAM,4BAA4B,KAAK,CAAC;AAE/C;;;GAGG;AACH,eAAO,MAAM,oBAAoB;;;kBAkB/B,CAAC;AAEH,4CAA4C;AAC5C,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc;;;oBAkBxB,CAAC;AAEJ;;;GAGG;AACH,MAAM,MAAM,oBAAoB,GAAG,UAAU,GAAG,SAAS,CAAC;AAE1D;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,cAAc,GAAG,iBAAiB,GAC3C;IAAE,MAAM,EAAE,oBAAoB,CAAC;IAAC,QAAQ,EAAE,aAAa,CAAC,cAAc,CAAC,CAAA;CAAE,GAAG,SAAS,CAuBvF"}
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
* `streamSpec[*].source.tool`). Gadgets never derive (they carry no
|
|
21
21
|
* contract).
|
|
22
22
|
*/
|
|
23
|
-
import
|
|
23
|
+
import * as z from "zod";
|
|
24
24
|
/**
|
|
25
25
|
* Charset for both `server` and `tool` binding names — 1-128 chars
|
|
26
26
|
* of `[A-Za-z0-9_.-]`, the practical MCP tool-name grammar.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ggui-ai/artifact-manifest",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.0",
|
|
4
4
|
"description": "Strict zod schemas + parsers for GGUI marketplace artifact manifests — ggui.gadget.json (gadget bundles) and ggui.blueprint.json (cached UI blueprints).",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"keywords": [
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"zod": "^4.
|
|
30
|
-
"@ggui-ai/protocol": "0.
|
|
29
|
+
"zod": "^4.6.6",
|
|
30
|
+
"@ggui-ai/protocol": "0.29.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"typescript": "^5.0.0",
|
|
34
|
-
"vitest": "^
|
|
35
|
-
"@ggui-ai/protocol-conformance": "0.
|
|
34
|
+
"vitest": "^4.1.11",
|
|
35
|
+
"@ggui-ai/protocol-conformance": "0.29.0"
|
|
36
36
|
},
|
|
37
37
|
"repository": {
|
|
38
38
|
"type": "git",
|