@fabricorg/gen-sdui 0.5.11 → 0.5.13

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,30 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.5.13
4
+
5
+ ### Patch Changes
6
+
7
+ - 749c507: Accept the additive staged descendant invocation contracts from `@fabricorg/platform`.
8
+ - Updated dependencies [749c507]
9
+ - @fabricorg/compiler@2.3.0
10
+
11
+ ## 0.5.12
12
+
13
+ ### Patch Changes
14
+
15
+ - 71d306f: Republish workspace dependents against the action finalization contracts. Finalizing actions require the new Host protocol and atomic transaction capabilities; compatible durable preparation supports checkpoint replay under the Host recovery safeguards.
16
+
17
+ The compiler now flags adding or removing the finalization protocol as a breaking action-contract difference, so compatibility review includes the new lifecycle requirement.
18
+
19
+ - d5e7caa: Rebuild workspace dependents against the additive adapter-step deadline contract.
20
+ Action and module registration and manifest normalization/export reject invalid
21
+ step durations. Host rejects invalid resolved step durations before handler or
22
+ adapter execution; existing Host-wide deadline failure semantics are retained.
23
+ - Updated dependencies [71d306f]
24
+ - Updated dependencies [d5e7caa]
25
+ - @fabricorg/compiler@2.2.12
26
+ - @fabricorg/experience-contracts@1.0.6
27
+
3
28
  ## 0.5.11
4
29
 
5
30
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -9,7 +9,7 @@ let _fabricorg_experience_contracts = require("@fabricorg/experience-contracts")
9
9
  */
10
10
  const sduiGenerator = {
11
11
  name: "@fabricorg/gen-sdui",
12
- version: "0.5.11",
12
+ version: "0.5.13",
13
13
  generate(ir) {
14
14
  return ir.modules.map((module) => {
15
15
  const experience = (0, _fabricorg_experience_contracts.readExperienceMetadata)(module.capability);
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["readExperienceMetadata","stableStringify"],"sources":["../index.ts"],"sourcesContent":["/**\n * Trusted assembly/code-generation artifact, not an external audience catalog.\n * Internal surface declarations do not remove contracts here: assemblers and workers need\n * their schemas. External catalogs must filter internal definitions and apply audience rules.\n */\nimport { stableStringify, type GeneratorTarget } from \"@fabricorg/compiler\";\nimport { readExperienceMetadata } from \"@fabricorg/experience-contracts\";\n\nexport const sduiGenerator: GeneratorTarget = {\n\tname: \"@fabricorg/gen-sdui\",\n\tversion: \"0.5.11\",\n\tgenerate(ir) {\n\t\treturn ir.modules.map((module) => {\n\t\t\tconst experience = readExperienceMetadata(module.capability);\n\t\t\treturn {\n\t\t\t\tpath: `${module.namespace}/data-shapes.json`,\n\t\t\t\tcontent: stableStringify({\n\t\t\t\t\tgenerator: { name: sduiGenerator.name, version: sduiGenerator.version },\n\t\t\t\t\tmanifestDigest: ir.manifestDigest,\n\t\t\t\t\troles: experience?.roles ?? [],\n\t\t\t\t\tactionIntents: experience?.actionIntents ?? [],\n\t\t\t\t\tslots: experience?.slots ?? [],\n\t\t\t\t\tbindings: module.views.map((view) => ({\n\t\t\t\t\t\turi: `capability://${view.name}`,\n\t\t\t\t\t\tversion: view.version,\n\t\t\t\t\t\tshape: view.shape,\n\t\t\t\t\t\t...(view.parameterSchema ? { parameterSchema: view.parameterSchema } : {}),\n\t\t\t\t\t\tscope: view.scope,\n\t\t\t\t\t\tusage: view.usage,\n\t\t\t\t\t})),\n\t\t\t\t}),\n\t\t\t};\n\t\t});\n\t},\n};\n"],"mappings":";;;;;;;;;AAQA,MAAa,gBAAiC;CAC7C,MAAM;CACN,SAAS;CACT,SAAS,IAAI;EACZ,OAAO,GAAG,QAAQ,KAAK,WAAW;GACjC,MAAM,cAAA,GAAaA,gCAAAA,uBAAAA,CAAuB,OAAO,UAAU;GAC3D,OAAO;IACN,MAAM,GAAG,OAAO,UAAU;IAC1B,UAAA,GAASC,oBAAAA,gBAAAA,CAAgB;KACxB,WAAW;MAAE,MAAM,cAAc;MAAM,SAAS,cAAc;KAAQ;KACtE,gBAAgB,GAAG;KACnB,OAAO,YAAY,SAAS,CAAC;KAC7B,eAAe,YAAY,iBAAiB,CAAC;KAC7C,OAAO,YAAY,SAAS,CAAC;KAC7B,UAAU,OAAO,MAAM,KAAK,UAAU;MACrC,KAAK,gBAAgB,KAAK;MAC1B,SAAS,KAAK;MACd,OAAO,KAAK;MACZ,GAAI,KAAK,kBAAkB,EAAE,iBAAiB,KAAK,gBAAgB,IAAI,CAAC;MACxE,OAAO,KAAK;MACZ,OAAO,KAAK;KACb,EAAE;IACH,CAAC;GACF;EACD,CAAC;CACF;AACD"}
1
+ {"version":3,"file":"index.cjs","names":["readExperienceMetadata","stableStringify"],"sources":["../index.ts"],"sourcesContent":["/**\n * Trusted assembly/code-generation artifact, not an external audience catalog.\n * Internal surface declarations do not remove contracts here: assemblers and workers need\n * their schemas. External catalogs must filter internal definitions and apply audience rules.\n */\nimport { stableStringify, type GeneratorTarget } from \"@fabricorg/compiler\";\nimport { readExperienceMetadata } from \"@fabricorg/experience-contracts\";\n\nexport const sduiGenerator: GeneratorTarget = {\n\tname: \"@fabricorg/gen-sdui\",\n\tversion: \"0.5.13\",\n\tgenerate(ir) {\n\t\treturn ir.modules.map((module) => {\n\t\t\tconst experience = readExperienceMetadata(module.capability);\n\t\t\treturn {\n\t\t\t\tpath: `${module.namespace}/data-shapes.json`,\n\t\t\t\tcontent: stableStringify({\n\t\t\t\t\tgenerator: { name: sduiGenerator.name, version: sduiGenerator.version },\n\t\t\t\t\tmanifestDigest: ir.manifestDigest,\n\t\t\t\t\troles: experience?.roles ?? [],\n\t\t\t\t\tactionIntents: experience?.actionIntents ?? [],\n\t\t\t\t\tslots: experience?.slots ?? [],\n\t\t\t\t\tbindings: module.views.map((view) => ({\n\t\t\t\t\t\turi: `capability://${view.name}`,\n\t\t\t\t\t\tversion: view.version,\n\t\t\t\t\t\tshape: view.shape,\n\t\t\t\t\t\t...(view.parameterSchema ? { parameterSchema: view.parameterSchema } : {}),\n\t\t\t\t\t\tscope: view.scope,\n\t\t\t\t\t\tusage: view.usage,\n\t\t\t\t\t})),\n\t\t\t\t}),\n\t\t\t};\n\t\t});\n\t},\n};\n"],"mappings":";;;;;;;;;AAQA,MAAa,gBAAiC;CAC7C,MAAM;CACN,SAAS;CACT,SAAS,IAAI;EACZ,OAAO,GAAG,QAAQ,KAAK,WAAW;GACjC,MAAM,cAAA,GAAaA,gCAAAA,uBAAAA,CAAuB,OAAO,UAAU;GAC3D,OAAO;IACN,MAAM,GAAG,OAAO,UAAU;IAC1B,UAAA,GAASC,oBAAAA,gBAAAA,CAAgB;KACxB,WAAW;MAAE,MAAM,cAAc;MAAM,SAAS,cAAc;KAAQ;KACtE,gBAAgB,GAAG;KACnB,OAAO,YAAY,SAAS,CAAC;KAC7B,eAAe,YAAY,iBAAiB,CAAC;KAC7C,OAAO,YAAY,SAAS,CAAC;KAC7B,UAAU,OAAO,MAAM,KAAK,UAAU;MACrC,KAAK,gBAAgB,KAAK;MAC1B,SAAS,KAAK;MACd,OAAO,KAAK;MACZ,GAAI,KAAK,kBAAkB,EAAE,iBAAiB,KAAK,gBAAgB,IAAI,CAAC;MACxE,OAAO,KAAK;MACZ,OAAO,KAAK;KACb,EAAE;IACH,CAAC;GACF;EACD,CAAC;CACF;AACD"}
package/dist/index.js CHANGED
@@ -8,7 +8,7 @@ import { readExperienceMetadata } from "@fabricorg/experience-contracts";
8
8
  */
9
9
  const sduiGenerator = {
10
10
  name: "@fabricorg/gen-sdui",
11
- version: "0.5.11",
11
+ version: "0.5.13",
12
12
  generate(ir) {
13
13
  return ir.modules.map((module) => {
14
14
  const experience = readExperienceMetadata(module.capability);
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../index.ts"],"sourcesContent":["/**\n * Trusted assembly/code-generation artifact, not an external audience catalog.\n * Internal surface declarations do not remove contracts here: assemblers and workers need\n * their schemas. External catalogs must filter internal definitions and apply audience rules.\n */\nimport { stableStringify, type GeneratorTarget } from \"@fabricorg/compiler\";\nimport { readExperienceMetadata } from \"@fabricorg/experience-contracts\";\n\nexport const sduiGenerator: GeneratorTarget = {\n\tname: \"@fabricorg/gen-sdui\",\n\tversion: \"0.5.11\",\n\tgenerate(ir) {\n\t\treturn ir.modules.map((module) => {\n\t\t\tconst experience = readExperienceMetadata(module.capability);\n\t\t\treturn {\n\t\t\t\tpath: `${module.namespace}/data-shapes.json`,\n\t\t\t\tcontent: stableStringify({\n\t\t\t\t\tgenerator: { name: sduiGenerator.name, version: sduiGenerator.version },\n\t\t\t\t\tmanifestDigest: ir.manifestDigest,\n\t\t\t\t\troles: experience?.roles ?? [],\n\t\t\t\t\tactionIntents: experience?.actionIntents ?? [],\n\t\t\t\t\tslots: experience?.slots ?? [],\n\t\t\t\t\tbindings: module.views.map((view) => ({\n\t\t\t\t\t\turi: `capability://${view.name}`,\n\t\t\t\t\t\tversion: view.version,\n\t\t\t\t\t\tshape: view.shape,\n\t\t\t\t\t\t...(view.parameterSchema ? { parameterSchema: view.parameterSchema } : {}),\n\t\t\t\t\t\tscope: view.scope,\n\t\t\t\t\t\tusage: view.usage,\n\t\t\t\t\t})),\n\t\t\t\t}),\n\t\t\t};\n\t\t});\n\t},\n};\n"],"mappings":";;;;;;;;AAQA,MAAa,gBAAiC;CAC7C,MAAM;CACN,SAAS;CACT,SAAS,IAAI;EACZ,OAAO,GAAG,QAAQ,KAAK,WAAW;GACjC,MAAM,aAAa,uBAAuB,OAAO,UAAU;GAC3D,OAAO;IACN,MAAM,GAAG,OAAO,UAAU;IAC1B,SAAS,gBAAgB;KACxB,WAAW;MAAE,MAAM,cAAc;MAAM,SAAS,cAAc;KAAQ;KACtE,gBAAgB,GAAG;KACnB,OAAO,YAAY,SAAS,CAAC;KAC7B,eAAe,YAAY,iBAAiB,CAAC;KAC7C,OAAO,YAAY,SAAS,CAAC;KAC7B,UAAU,OAAO,MAAM,KAAK,UAAU;MACrC,KAAK,gBAAgB,KAAK;MAC1B,SAAS,KAAK;MACd,OAAO,KAAK;MACZ,GAAI,KAAK,kBAAkB,EAAE,iBAAiB,KAAK,gBAAgB,IAAI,CAAC;MACxE,OAAO,KAAK;MACZ,OAAO,KAAK;KACb,EAAE;IACH,CAAC;GACF;EACD,CAAC;CACF;AACD"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../index.ts"],"sourcesContent":["/**\n * Trusted assembly/code-generation artifact, not an external audience catalog.\n * Internal surface declarations do not remove contracts here: assemblers and workers need\n * their schemas. External catalogs must filter internal definitions and apply audience rules.\n */\nimport { stableStringify, type GeneratorTarget } from \"@fabricorg/compiler\";\nimport { readExperienceMetadata } from \"@fabricorg/experience-contracts\";\n\nexport const sduiGenerator: GeneratorTarget = {\n\tname: \"@fabricorg/gen-sdui\",\n\tversion: \"0.5.13\",\n\tgenerate(ir) {\n\t\treturn ir.modules.map((module) => {\n\t\t\tconst experience = readExperienceMetadata(module.capability);\n\t\t\treturn {\n\t\t\t\tpath: `${module.namespace}/data-shapes.json`,\n\t\t\t\tcontent: stableStringify({\n\t\t\t\t\tgenerator: { name: sduiGenerator.name, version: sduiGenerator.version },\n\t\t\t\t\tmanifestDigest: ir.manifestDigest,\n\t\t\t\t\troles: experience?.roles ?? [],\n\t\t\t\t\tactionIntents: experience?.actionIntents ?? [],\n\t\t\t\t\tslots: experience?.slots ?? [],\n\t\t\t\t\tbindings: module.views.map((view) => ({\n\t\t\t\t\t\turi: `capability://${view.name}`,\n\t\t\t\t\t\tversion: view.version,\n\t\t\t\t\t\tshape: view.shape,\n\t\t\t\t\t\t...(view.parameterSchema ? { parameterSchema: view.parameterSchema } : {}),\n\t\t\t\t\t\tscope: view.scope,\n\t\t\t\t\t\tusage: view.usage,\n\t\t\t\t\t})),\n\t\t\t\t}),\n\t\t\t};\n\t\t});\n\t},\n};\n"],"mappings":";;;;;;;;AAQA,MAAa,gBAAiC;CAC7C,MAAM;CACN,SAAS;CACT,SAAS,IAAI;EACZ,OAAO,GAAG,QAAQ,KAAK,WAAW;GACjC,MAAM,aAAa,uBAAuB,OAAO,UAAU;GAC3D,OAAO;IACN,MAAM,GAAG,OAAO,UAAU;IAC1B,SAAS,gBAAgB;KACxB,WAAW;MAAE,MAAM,cAAc;MAAM,SAAS,cAAc;KAAQ;KACtE,gBAAgB,GAAG;KACnB,OAAO,YAAY,SAAS,CAAC;KAC7B,eAAe,YAAY,iBAAiB,CAAC;KAC7C,OAAO,YAAY,SAAS,CAAC;KAC7B,UAAU,OAAO,MAAM,KAAK,UAAU;MACrC,KAAK,gBAAgB,KAAK;MAC1B,SAAS,KAAK;MACd,OAAO,KAAK;MACZ,GAAI,KAAK,kBAAkB,EAAE,iBAAiB,KAAK,gBAAgB,IAAI,CAAC;MACxE,OAAO,KAAK;MACZ,OAAO,KAAK;KACb,EAAE;IACH,CAAC;GACF;EACD,CAAC;CACF;AACD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fabricorg/gen-sdui",
3
- "version": "0.5.11",
3
+ "version": "0.5.13",
4
4
  "description": "SDUI data-shape binding generator for Fabric compiler IR.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -32,16 +32,16 @@
32
32
  "CHANGELOG.md"
33
33
  ],
34
34
  "dependencies": {
35
- "@fabricorg/experience-contracts": "^1.0.5",
36
- "@fabricorg/compiler": "^2.2.11"
35
+ "@fabricorg/experience-contracts": "^1.0.6",
36
+ "@fabricorg/compiler": "^2.3.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/node": "^22.10.0",
40
40
  "tsdown": "^0.23.1",
41
41
  "typescript": "^5.7.3",
42
42
  "vitest": "^4.1.5",
43
- "@fabric-platform/bundling": "0.0.0",
44
- "@fabricorg/platform": "^1.11.0"
43
+ "@fabricorg/platform": "^1.13.0",
44
+ "@fabric-platform/bundling": "0.0.0"
45
45
  },
46
46
  "engines": {
47
47
  "node": ">=20"