@fabricorg/gen-sdui 0.2.0 → 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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Deliver Phase 1 correctness and contracts: payload-bound idempotency with staged enforcement,
8
+ capture/replay authority evidence, bounded invocation provenance, capability execution and view usage
9
+ semantics, event-schema compatibility classification, and deterministic conformance plans.
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+ - @fabricorg/compiler@1.0.0
15
+
16
+ ## 0.2.1
17
+
18
+ ### Patch Changes
19
+
20
+ - Close final uplift audit gaps: align Host 2.x documentation and migration evidence, surface every
21
+ compiler/generator API to LLM consumers, make memory outbox egress directly usable, sanitize relay
22
+ failures, validate complete archetype state maps, support recursive JSON Schema generation, reject
23
+ cross-platform path traversal, synchronize artifact version stamps, and include package licenses.
24
+ - Updated dependencies
25
+ - @fabricorg/compiler@0.2.1
26
+
3
27
  ## 0.2.0
4
28
 
5
29
  ### Minor Changes
package/dist/index.cjs CHANGED
@@ -24,8 +24,8 @@ __export(index_exports, {
24
24
  });
25
25
  module.exports = __toCommonJS(index_exports);
26
26
  var import_compiler = require("@fabricorg/compiler");
27
- var sduiGenerator = { name: "@fabricorg/gen-sdui", version: "0.1.0", generate(ir) {
28
- return ir.modules.map((module2) => ({ path: `${module2.namespace}/data-shapes.json`, content: (0, import_compiler.stableStringify)({ generator: { name: sduiGenerator.name, version: sduiGenerator.version }, manifestDigest: ir.manifestDigest, bindings: module2.views.map((view) => ({ uri: `capability://${view.name}`, version: view.version, shape: view.shape, scope: view.scope })) }) }));
27
+ var sduiGenerator = { name: "@fabricorg/gen-sdui", version: "0.3.0", generate(ir) {
28
+ return ir.modules.map((module2) => ({ path: `${module2.namespace}/data-shapes.json`, content: (0, import_compiler.stableStringify)({ generator: { name: sduiGenerator.name, version: sduiGenerator.version }, manifestDigest: ir.manifestDigest, roles: module2.capability?.roles ?? [], actionIntents: module2.capability?.actionIntents ?? [], slots: module2.capability?.slots ?? [], bindings: module2.views.map((view) => ({ uri: `capability://${view.name}`, version: view.version, shape: view.shape, scope: view.scope, usage: view.usage })) }) }));
29
29
  } };
30
30
  // Annotate the CommonJS export names for ESM import in node:
31
31
  0 && (module.exports = {
@@ -1 +1 @@
1
- {"version":3,"sources":["../index.ts"],"sourcesContent":["import { stableStringify,type GeneratorTarget } from \"@fabricorg/compiler\";\nexport const sduiGenerator:GeneratorTarget={name:\"@fabricorg/gen-sdui\",version:\"0.1.0\",generate(ir){return ir.modules.map((module)=>({path:`${module.namespace}/data-shapes.json`,content:stableStringify({generator:{name:sduiGenerator.name,version:sduiGenerator.version},manifestDigest:ir.manifestDigest,bindings:module.views.map((view)=>({uri:`capability://${view.name}`,version:view.version,shape:view.shape,scope:view.scope}))})}));}};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAqD;AAC9C,IAAM,gBAA8B,EAAC,MAAK,uBAAsB,SAAQ,SAAQ,SAAS,IAAG;AAAC,SAAO,GAAG,QAAQ,IAAI,CAACA,aAAU,EAAC,MAAK,GAAGA,QAAO,SAAS,qBAAoB,aAAQ,iCAAgB,EAAC,WAAU,EAAC,MAAK,cAAc,MAAK,SAAQ,cAAc,QAAO,GAAE,gBAAe,GAAG,gBAAe,UAASA,QAAO,MAAM,IAAI,CAAC,UAAQ,EAAC,KAAI,gBAAgB,KAAK,IAAI,IAAG,SAAQ,KAAK,SAAQ,OAAM,KAAK,OAAM,OAAM,KAAK,MAAK,EAAE,EAAC,CAAC,EAAC,EAAE;AAAE,EAAC;","names":["module"]}
1
+ {"version":3,"sources":["../index.ts"],"sourcesContent":["import { stableStringify,type GeneratorTarget } from \"@fabricorg/compiler\";\nexport const sduiGenerator:GeneratorTarget={name:\"@fabricorg/gen-sdui\",version:\"0.3.0\",generate(ir){return ir.modules.map((module)=>({path:`${module.namespace}/data-shapes.json`,content:stableStringify({generator:{name:sduiGenerator.name,version:sduiGenerator.version},manifestDigest:ir.manifestDigest,roles:module.capability?.roles??[],actionIntents:module.capability?.actionIntents??[],slots:module.capability?.slots??[],bindings:module.views.map((view)=>({uri:`capability://${view.name}`,version:view.version,shape:view.shape,scope:view.scope,usage:view.usage}))})}));}};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAqD;AAC9C,IAAM,gBAA8B,EAAC,MAAK,uBAAsB,SAAQ,SAAQ,SAAS,IAAG;AAAC,SAAO,GAAG,QAAQ,IAAI,CAACA,aAAU,EAAC,MAAK,GAAGA,QAAO,SAAS,qBAAoB,aAAQ,iCAAgB,EAAC,WAAU,EAAC,MAAK,cAAc,MAAK,SAAQ,cAAc,QAAO,GAAE,gBAAe,GAAG,gBAAe,OAAMA,QAAO,YAAY,SAAO,CAAC,GAAE,eAAcA,QAAO,YAAY,iBAAe,CAAC,GAAE,OAAMA,QAAO,YAAY,SAAO,CAAC,GAAE,UAASA,QAAO,MAAM,IAAI,CAAC,UAAQ,EAAC,KAAI,gBAAgB,KAAK,IAAI,IAAG,SAAQ,KAAK,SAAQ,OAAM,KAAK,OAAM,OAAM,KAAK,OAAM,OAAM,KAAK,MAAK,EAAE,EAAC,CAAC,EAAC,EAAE;AAAE,EAAC;","names":["module"]}
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // index.ts
2
2
  import { stableStringify } from "@fabricorg/compiler";
3
- var sduiGenerator = { name: "@fabricorg/gen-sdui", version: "0.1.0", generate(ir) {
4
- return ir.modules.map((module) => ({ path: `${module.namespace}/data-shapes.json`, content: stableStringify({ generator: { name: sduiGenerator.name, version: sduiGenerator.version }, manifestDigest: ir.manifestDigest, bindings: module.views.map((view) => ({ uri: `capability://${view.name}`, version: view.version, shape: view.shape, scope: view.scope })) }) }));
3
+ var sduiGenerator = { name: "@fabricorg/gen-sdui", version: "0.3.0", generate(ir) {
4
+ return ir.modules.map((module) => ({ path: `${module.namespace}/data-shapes.json`, content: stableStringify({ generator: { name: sduiGenerator.name, version: sduiGenerator.version }, manifestDigest: ir.manifestDigest, roles: module.capability?.roles ?? [], actionIntents: module.capability?.actionIntents ?? [], slots: module.capability?.slots ?? [], bindings: module.views.map((view) => ({ uri: `capability://${view.name}`, version: view.version, shape: view.shape, scope: view.scope, usage: view.usage })) }) }));
5
5
  } };
6
6
  export {
7
7
  sduiGenerator
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../index.ts"],"sourcesContent":["import { stableStringify,type GeneratorTarget } from \"@fabricorg/compiler\";\nexport const sduiGenerator:GeneratorTarget={name:\"@fabricorg/gen-sdui\",version:\"0.1.0\",generate(ir){return ir.modules.map((module)=>({path:`${module.namespace}/data-shapes.json`,content:stableStringify({generator:{name:sduiGenerator.name,version:sduiGenerator.version},manifestDigest:ir.manifestDigest,bindings:module.views.map((view)=>({uri:`capability://${view.name}`,version:view.version,shape:view.shape,scope:view.scope}))})}));}};\n"],"mappings":";AAAA,SAAS,uBAA4C;AAC9C,IAAM,gBAA8B,EAAC,MAAK,uBAAsB,SAAQ,SAAQ,SAAS,IAAG;AAAC,SAAO,GAAG,QAAQ,IAAI,CAAC,YAAU,EAAC,MAAK,GAAG,OAAO,SAAS,qBAAoB,SAAQ,gBAAgB,EAAC,WAAU,EAAC,MAAK,cAAc,MAAK,SAAQ,cAAc,QAAO,GAAE,gBAAe,GAAG,gBAAe,UAAS,OAAO,MAAM,IAAI,CAAC,UAAQ,EAAC,KAAI,gBAAgB,KAAK,IAAI,IAAG,SAAQ,KAAK,SAAQ,OAAM,KAAK,OAAM,OAAM,KAAK,MAAK,EAAE,EAAC,CAAC,EAAC,EAAE;AAAE,EAAC;","names":[]}
1
+ {"version":3,"sources":["../index.ts"],"sourcesContent":["import { stableStringify,type GeneratorTarget } from \"@fabricorg/compiler\";\nexport const sduiGenerator:GeneratorTarget={name:\"@fabricorg/gen-sdui\",version:\"0.3.0\",generate(ir){return ir.modules.map((module)=>({path:`${module.namespace}/data-shapes.json`,content:stableStringify({generator:{name:sduiGenerator.name,version:sduiGenerator.version},manifestDigest:ir.manifestDigest,roles:module.capability?.roles??[],actionIntents:module.capability?.actionIntents??[],slots:module.capability?.slots??[],bindings:module.views.map((view)=>({uri:`capability://${view.name}`,version:view.version,shape:view.shape,scope:view.scope,usage:view.usage}))})}));}};\n"],"mappings":";AAAA,SAAS,uBAA4C;AAC9C,IAAM,gBAA8B,EAAC,MAAK,uBAAsB,SAAQ,SAAQ,SAAS,IAAG;AAAC,SAAO,GAAG,QAAQ,IAAI,CAAC,YAAU,EAAC,MAAK,GAAG,OAAO,SAAS,qBAAoB,SAAQ,gBAAgB,EAAC,WAAU,EAAC,MAAK,cAAc,MAAK,SAAQ,cAAc,QAAO,GAAE,gBAAe,GAAG,gBAAe,OAAM,OAAO,YAAY,SAAO,CAAC,GAAE,eAAc,OAAO,YAAY,iBAAe,CAAC,GAAE,OAAM,OAAO,YAAY,SAAO,CAAC,GAAE,UAAS,OAAO,MAAM,IAAI,CAAC,UAAQ,EAAC,KAAI,gBAAgB,KAAK,IAAI,IAAG,SAAQ,KAAK,SAAQ,OAAM,KAAK,OAAM,OAAM,KAAK,OAAM,OAAM,KAAK,MAAK,EAAE,EAAC,CAAC,EAAC,EAAE;AAAE,EAAC;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fabricorg/gen-sdui",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "SDUI data-shape binding generator for Fabric compiler IR.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -25,14 +25,14 @@
25
25
  "CHANGELOG.md"
26
26
  ],
27
27
  "dependencies": {
28
- "@fabricorg/compiler": "^0.2.0"
28
+ "@fabricorg/compiler": "^1.0.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/node": "^22.10.0",
32
32
  "tsup": "^8.5.0",
33
33
  "typescript": "^5.7.3",
34
34
  "vitest": "^4.1.5",
35
- "@fabricorg/platform": "^0.11.0"
35
+ "@fabricorg/platform": "^0.12.0"
36
36
  },
37
37
  "engines": {
38
38
  "node": ">=20"