@cueframe/api-contract 1.0.0 → 2.0.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/README.md CHANGED
@@ -74,14 +74,14 @@ local copy) can tell a bumped pin from a regenerated tree.
74
74
  renamed, a type narrowed, a required field added, or the scene schema changed
75
75
  incompatibly. The reviewed inventory (`public-surface.json`) is the
76
76
  checklist: an operation added or removed there is at least a minor.
77
- - **A manifest-only resync is still a change.** `contract-manifest.json` is one
78
- of the five files and carries `privateCommit`, so a sync run from a new
79
- private commit whose three content files are byte-identical still rewrites
80
- the manifest and, under the rule above, still needs a bump (a patch). The
81
- private sync is therefore expected to leave the manifest untouched when the
82
- three content hashes equal the committed ones, so that only a contract change
83
- moves the version; until it does, accept the patch bump rather than weaken
84
- the rule.
77
+ - **A resync with unchanged content does not move the version.**
78
+ `contract-manifest.json` carries `privateCommit`, but the private sync
79
+ compares the three content files, their hashes, `kernelVersion` and
80
+ `contractVersion` against the committed target and writes nothing when they
81
+ are equal, so a sync run from a new private commit with identical content
82
+ leaves the manifest (and its `privateCommit`) untouched. Only a contract
83
+ change moves the version; when it does, the sync rewrites the manifest with
84
+ the new stamp and the rule above applies.
85
85
  - **The private sync may stamp the version.** When
86
86
  `api/contract-manifest.json` carries `contractVersion`, it names the package
87
87
  version the sync was run against; the check and the build both fail when it
@@ -1,11 +1,23 @@
1
1
  {
2
- "schemaVersion": 1,
3
- "kernelVersion": "0.2.64",
4
- "privateCommit": "936acea017b2dcb15a300cade29280956521ce7f",
2
+ "schemaVersion": 2,
3
+ "kernelVersion": "0.4.0",
4
+ "privateCommit": "5242046b205b5b1bf8d04423594852e9ffd25e78",
5
+ "privateSource": {
6
+ "kind": "working-tree",
7
+ "baseCommit": "5242046b205b5b1bf8d04423594852e9ffd25e78",
8
+ "lockfileSha256": "fa885e7493e3e94c44ca6e249413805603d81a408e2bc08f7ea0fff25e58c5d0",
9
+ "sha256": "a3ba620b019961a9fef548815607cd2c0c01ad6b303967efbb64943eb5c4fd97",
10
+ "patchSha256": "2eee2fb411482d3a3ca82663adb95edcf17949abd7cea09a68ac55dfb368cdbd",
11
+ "untrackedSha256": "92a2babd1d35721267055f15e7e499addc0016fad775c90aeae5410f500b32e8"
12
+ },
13
+ "kernelArtifact": {
14
+ "version": "0.4.0",
15
+ "sha256": "d48b212dfac5df95eaf4f331405fb6485b81b5e059a9cd84674e4eaf470685fe"
16
+ },
5
17
  "files": {
6
- "openapi.json": "e9b2ced4d88c1c1476fa26ec3852bb982ac6ccd7873e04e545d0c24b255c3076",
18
+ "openapi.json": "171f2995c6695ae3be6d0e4d92736371e7fb634fed535a340c2450ea070d901a",
7
19
  "scene-schema.json": "dbed283643cb2a60968f7d4f5372d5b4cb9d2204ae88054e83c87366b1f8aa7c",
8
20
  "scene-examples.json": "6eca2929e8567fb804e599619363e4f3f61e4ee1d53b170266d2261ae22cd5a2"
9
21
  },
10
- "contractVersion": "1.0.0"
22
+ "contractVersion": "2.0.0"
11
23
  }
package/dist/index.d.ts CHANGED
@@ -1,12 +1,12 @@
1
- export declare const contractVersion: "1.0.0";
2
- export declare const openApiSha256: "07deb2226172505f0dbe10ae1480a478fd0fe42c9505d3632879e6e829cd9694";
1
+ export declare const contractVersion: "2.0.0";
2
+ export declare const openApiSha256: "b1c857d2eeeda0350eda124409970dde099db9b8c4c31f3a0783c260c78ad45b";
3
3
  export declare const operationCount: 135;
4
4
  export declare const pathCount: 108;
5
- export declare const componentCount: 208;
6
- export declare const kernelVersion: "0.2.64";
7
- export declare const privateCommit: "936acea017b2dcb15a300cade29280956521ce7f";
5
+ export declare const componentCount: 214;
6
+ export declare const kernelVersion: "0.4.0";
7
+ export declare const privateCommit: "5242046b205b5b1bf8d04423594852e9ffd25e78";
8
8
  export declare const syncedFiles: {
9
- "openapi.json": "e9b2ced4d88c1c1476fa26ec3852bb982ac6ccd7873e04e545d0c24b255c3076",
9
+ "openapi.json": "171f2995c6695ae3be6d0e4d92736371e7fb634fed535a340c2450ea070d901a",
10
10
  "scene-schema.json": "dbed283643cb2a60968f7d4f5372d5b4cb9d2204ae88054e83c87366b1f8aa7c",
11
11
  "scene-examples.json": "6eca2929e8567fb804e599619363e4f3f61e4ee1d53b170266d2261ae22cd5a2"
12
12
  };
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
- export const contractVersion = "1.0.0";
2
- export const openApiSha256 = "07deb2226172505f0dbe10ae1480a478fd0fe42c9505d3632879e6e829cd9694";
1
+ export const contractVersion = "2.0.0";
2
+ export const openApiSha256 = "b1c857d2eeeda0350eda124409970dde099db9b8c4c31f3a0783c260c78ad45b";
3
3
  export const operationCount = 135;
4
4
  export const pathCount = 108;
5
- export const componentCount = 208;
6
- export const kernelVersion = "0.2.64";
7
- export const privateCommit = "936acea017b2dcb15a300cade29280956521ce7f";
5
+ export const componentCount = 214;
6
+ export const kernelVersion = "0.4.0";
7
+ export const privateCommit = "5242046b205b5b1bf8d04423594852e9ffd25e78";
8
8
  export const syncedFiles = {
9
- "openapi.json": "e9b2ced4d88c1c1476fa26ec3852bb982ac6ccd7873e04e545d0c24b255c3076",
9
+ "openapi.json": "171f2995c6695ae3be6d0e4d92736371e7fb634fed535a340c2450ea070d901a",
10
10
  "scene-schema.json": "dbed283643cb2a60968f7d4f5372d5b4cb9d2204ae88054e83c87366b1f8aa7c",
11
11
  "scene-examples.json": "6eca2929e8567fb804e599619363e4f3f61e4ee1d53b170266d2261ae22cd5a2"
12
12
  };
@@ -1,14 +1,26 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "contractVersion": "1.0.0",
4
- "sha256": "07deb2226172505f0dbe10ae1480a478fd0fe42c9505d3632879e6e829cd9694",
3
+ "contractVersion": "2.0.0",
4
+ "sha256": "b1c857d2eeeda0350eda124409970dde099db9b8c4c31f3a0783c260c78ad45b",
5
5
  "operationCount": 135,
6
6
  "pathCount": 108,
7
- "componentCount": 208,
8
- "kernelVersion": "0.2.64",
9
- "privateCommit": "936acea017b2dcb15a300cade29280956521ce7f",
7
+ "componentCount": 214,
8
+ "kernelVersion": "0.4.0",
9
+ "privateCommit": "5242046b205b5b1bf8d04423594852e9ffd25e78",
10
+ "privateSource": {
11
+ "kind": "working-tree",
12
+ "baseCommit": "5242046b205b5b1bf8d04423594852e9ffd25e78",
13
+ "lockfileSha256": "fa885e7493e3e94c44ca6e249413805603d81a408e2bc08f7ea0fff25e58c5d0",
14
+ "sha256": "a3ba620b019961a9fef548815607cd2c0c01ad6b303967efbb64943eb5c4fd97",
15
+ "patchSha256": "2eee2fb411482d3a3ca82663adb95edcf17949abd7cea09a68ac55dfb368cdbd",
16
+ "untrackedSha256": "92a2babd1d35721267055f15e7e499addc0016fad775c90aeae5410f500b32e8"
17
+ },
18
+ "kernelArtifact": {
19
+ "version": "0.4.0",
20
+ "sha256": "d48b212dfac5df95eaf4f331405fb6485b81b5e059a9cd84674e4eaf470685fe"
21
+ },
10
22
  "syncedFiles": {
11
- "openapi.json": "e9b2ced4d88c1c1476fa26ec3852bb982ac6ccd7873e04e545d0c24b255c3076",
23
+ "openapi.json": "171f2995c6695ae3be6d0e4d92736371e7fb634fed535a340c2450ea070d901a",
12
24
  "scene-schema.json": "dbed283643cb2a60968f7d4f5372d5b4cb9d2204ae88054e83c87366b1f8aa7c",
13
25
  "scene-examples.json": "6eca2929e8567fb804e599619363e4f3f61e4ee1d53b170266d2261ae22cd5a2"
14
26
  }