@cueframe/api-contract 7.0.4 → 8.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.
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
3
  "kernelVersion": "0.7.15-ea20261029.21",
4
- "privateCommit": "fc180ae5da212961c176cf1da6da639a4035f4eb",
4
+ "privateCommit": "885f60b6e2f05d034f94d96fa9cdbfef1d6c9495",
5
5
  "privateSource": {
6
6
  "kind": "commit",
7
- "baseCommit": "fc180ae5da212961c176cf1da6da639a4035f4eb",
8
- "lockfileSha256": "0127a018b656166603593441a1862ed95f946bbec92737f3e1101e0a9263b66f"
7
+ "baseCommit": "885f60b6e2f05d034f94d96fa9cdbfef1d6c9495",
8
+ "lockfileSha256": "7ccb3a65a8d8ce7e574a1276bd535f69070448992cafaaecfbd6b0c70ecd7c94"
9
9
  },
10
10
  "kernelArtifact": {
11
11
  "version": "0.7.15-ea20261029.21",
12
12
  "sha256": "02453eb96c686d06042cc616eca93b33b5feb6b1bf224adb6802286fded8c1a8"
13
13
  },
14
14
  "files": {
15
- "openapi.json": "956f66143252bdf6610ee335f9cdcd7688a62df46defbea99233a23f6fd04fa1",
15
+ "openapi.json": "680948d9d435377c4a301608e61bb64455b83dcf8670d7f8fb8416718787df23",
16
16
  "scene-schema.json": "2d06da9c75e0d5c515927f0a26c60f6bb64283f5b4350994a85e4d9fc5af6084",
17
17
  "scene-examples.json": "1725fbe9b88defdb0606d071bce188f7847b22b89613d670647d22f30e0c0a2c"
18
18
  },
19
- "contractVersion": "7.0.4"
19
+ "contractVersion": "8.0.0"
20
20
  }
package/dist/index.d.ts CHANGED
@@ -1,12 +1,12 @@
1
- export declare const contractVersion: "7.0.4";
2
- export declare const openApiSha256: "956f66143252bdf6610ee335f9cdcd7688a62df46defbea99233a23f6fd04fa1";
3
- export declare const operationCount: 179;
4
- export declare const pathCount: 146;
5
- export declare const componentCount: 253;
1
+ export declare const contractVersion: "8.0.0";
2
+ export declare const openApiSha256: "680948d9d435377c4a301608e61bb64455b83dcf8670d7f8fb8416718787df23";
3
+ export declare const operationCount: 177;
4
+ export declare const pathCount: 144;
5
+ export declare const componentCount: 251;
6
6
  export declare const kernelVersion: "0.7.15-ea20261029.21";
7
- export declare const privateCommit: "fc180ae5da212961c176cf1da6da639a4035f4eb";
7
+ export declare const privateCommit: "885f60b6e2f05d034f94d96fa9cdbfef1d6c9495";
8
8
  export declare const syncedFiles: {
9
- "openapi.json": "956f66143252bdf6610ee335f9cdcd7688a62df46defbea99233a23f6fd04fa1",
9
+ "openapi.json": "680948d9d435377c4a301608e61bb64455b83dcf8670d7f8fb8416718787df23",
10
10
  "scene-schema.json": "2d06da9c75e0d5c515927f0a26c60f6bb64283f5b4350994a85e4d9fc5af6084",
11
11
  "scene-examples.json": "1725fbe9b88defdb0606d071bce188f7847b22b89613d670647d22f30e0c0a2c"
12
12
  };
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
- export const contractVersion = "7.0.4";
2
- export const openApiSha256 = "956f66143252bdf6610ee335f9cdcd7688a62df46defbea99233a23f6fd04fa1";
3
- export const operationCount = 179;
4
- export const pathCount = 146;
5
- export const componentCount = 253;
1
+ export const contractVersion = "8.0.0";
2
+ export const openApiSha256 = "680948d9d435377c4a301608e61bb64455b83dcf8670d7f8fb8416718787df23";
3
+ export const operationCount = 177;
4
+ export const pathCount = 144;
5
+ export const componentCount = 251;
6
6
  export const kernelVersion = "0.7.15-ea20261029.21";
7
- export const privateCommit = "fc180ae5da212961c176cf1da6da639a4035f4eb";
7
+ export const privateCommit = "885f60b6e2f05d034f94d96fa9cdbfef1d6c9495";
8
8
  export const syncedFiles = {
9
- "openapi.json": "956f66143252bdf6610ee335f9cdcd7688a62df46defbea99233a23f6fd04fa1",
9
+ "openapi.json": "680948d9d435377c4a301608e61bb64455b83dcf8670d7f8fb8416718787df23",
10
10
  "scene-schema.json": "2d06da9c75e0d5c515927f0a26c60f6bb64283f5b4350994a85e4d9fc5af6084",
11
11
  "scene-examples.json": "1725fbe9b88defdb0606d071bce188f7847b22b89613d670647d22f30e0c0a2c"
12
12
  };
@@ -1,23 +1,23 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "contractVersion": "7.0.4",
4
- "sha256": "956f66143252bdf6610ee335f9cdcd7688a62df46defbea99233a23f6fd04fa1",
5
- "operationCount": 179,
6
- "pathCount": 146,
7
- "componentCount": 253,
3
+ "contractVersion": "8.0.0",
4
+ "sha256": "680948d9d435377c4a301608e61bb64455b83dcf8670d7f8fb8416718787df23",
5
+ "operationCount": 177,
6
+ "pathCount": 144,
7
+ "componentCount": 251,
8
8
  "kernelVersion": "0.7.15-ea20261029.21",
9
- "privateCommit": "fc180ae5da212961c176cf1da6da639a4035f4eb",
9
+ "privateCommit": "885f60b6e2f05d034f94d96fa9cdbfef1d6c9495",
10
10
  "privateSource": {
11
11
  "kind": "commit",
12
- "baseCommit": "fc180ae5da212961c176cf1da6da639a4035f4eb",
13
- "lockfileSha256": "0127a018b656166603593441a1862ed95f946bbec92737f3e1101e0a9263b66f"
12
+ "baseCommit": "885f60b6e2f05d034f94d96fa9cdbfef1d6c9495",
13
+ "lockfileSha256": "7ccb3a65a8d8ce7e574a1276bd535f69070448992cafaaecfbd6b0c70ecd7c94"
14
14
  },
15
15
  "kernelArtifact": {
16
16
  "version": "0.7.15-ea20261029.21",
17
17
  "sha256": "02453eb96c686d06042cc616eca93b33b5feb6b1bf224adb6802286fded8c1a8"
18
18
  },
19
19
  "syncedFiles": {
20
- "openapi.json": "956f66143252bdf6610ee335f9cdcd7688a62df46defbea99233a23f6fd04fa1",
20
+ "openapi.json": "680948d9d435377c4a301608e61bb64455b83dcf8670d7f8fb8416718787df23",
21
21
  "scene-schema.json": "2d06da9c75e0d5c515927f0a26c60f6bb64283f5b4350994a85e4d9fc5af6084",
22
22
  "scene-examples.json": "1725fbe9b88defdb0606d071bce188f7847b22b89613d670647d22f30e0c0a2c"
23
23
  }
package/dist/openapi.json CHANGED
@@ -229377,7 +229377,7 @@
229377
229377
  "type": "boolean"
229378
229378
  },
229379
229379
  "reviewMode": {
229380
- "description": "Who captures the review decision. Default 'agent': you relay the packet and call resume. 'hosted': every checkpoint mints a review-page URL (checkpoint.ready payload + get_checkpoint's reviewUrl) where a human approves/revises from the browser — no account, no agent session; the recorded decision rides the SAME resume rail and you learn of it via checkpoint webhooks / wait_job.",
229380
+ "description": "Who captures the review decision. Default 'agent': you relay the packet and call resume. 'hosted': a signed-in org member decides each checkpoint on the console review page (checkpoint.ready payload + get_checkpoint's reviewUrl, which carries no credential). Agent credentials cannot answer a hosted gate; the recorded decision rides the SAME resume rail and you learn of it via checkpoint webhooks / wait_job.",
229381
229381
  "type": "string",
229382
229382
  "enum": [
229383
229383
  "agent",
@@ -230151,7 +230151,7 @@
230151
230151
  ]
230152
230152
  },
230153
230153
  "reviewUrl": {
230154
- "description": "Hosted review-page URL (present when reviewMode is 'hosted') — a human decides from this link, no account or agent session; the recorded decision rides the SAME resume rail, and the agent learns of it via checkpoint webhooks / wait_job.",
230154
+ "description": "Hosted review-page URL (present when reviewMode is 'hosted'). It carries no credential: a signed-in member of the org decides on that console page, never an agent credential. The decision rides the SAME resume rail; the agent learns of it via checkpoint webhooks / wait_job.",
230155
230155
  "type": "string"
230156
230156
  },
230157
230157
  "createdAt": {
@@ -230193,172 +230193,6 @@
230193
230193
  ],
230194
230194
  "additionalProperties": false
230195
230195
  },
230196
- "ReviewPacketResponse": {
230197
- "type": "object",
230198
- "properties": {
230199
- "id": {
230200
- "type": "string"
230201
- },
230202
- "projectId": {
230203
- "type": "string"
230204
- },
230205
- "composeJobId": {
230206
- "type": "string"
230207
- },
230208
- "briefId": {
230209
- "type": "string"
230210
- },
230211
- "kind": {
230212
- "type": "string",
230213
- "enum": [
230214
- "gate",
230215
- "score"
230216
- ]
230217
- },
230218
- "stage": {
230219
- "$ref": "#/components/schemas/CheckpointStage"
230220
- },
230221
- "version": {
230222
- "type": "integer",
230223
- "minimum": -9007199254740991,
230224
- "maximum": 9007199254740991
230225
- },
230226
- "status": {
230227
- "type": "string",
230228
- "enum": [
230229
- "awaiting",
230230
- "approved",
230231
- "revised",
230232
- "abandoned",
230233
- "expired",
230234
- "superseded"
230235
- ]
230236
- },
230237
- "artifact": {
230238
- "description": "The stage artifact under review: the locked ComposePlan at content; the composition wire shape at layout/motion; the judged composition snapshot on kind:'score'."
230239
- },
230240
- "stillUrls": {
230241
- "description": "Presigned storyboard/eval stills — the packet's visual evidence (may be GC'd by the retention sweep after the job goes terminal; the decision record is immortal).",
230242
- "type": "array",
230243
- "items": {
230244
- "type": "string"
230245
- }
230246
- },
230247
- "criticVerdicts": {
230248
- "description": "Per-criterion scores + critique from the design loop / judge, incl. lock_violation entries."
230249
- },
230250
- "quote": {
230251
- "$ref": "#/components/schemas/CheckpointQuote"
230252
- },
230253
- "revisionCycle": {
230254
- "type": "integer",
230255
- "minimum": -9007199254740991,
230256
- "maximum": 9007199254740991,
230257
- "description": "Revise cycles this gate has consumed. The brief quote states the included count (revisionCyclesIncluded); beyond it, resume(revise) is refused with a typed error."
230258
- },
230259
- "decision": {
230260
- "description": "The recorded decision {decision, comments?, globalNote?, decidedAt} once resolved."
230261
- },
230262
- "reviewMode": {
230263
- "description": "How this packet is decided (from the Brief's gates). 'hosted' = the review PAGE captures the decision; absent/'agent' = the decision flows back through the driving agent.",
230264
- "type": "string",
230265
- "enum": [
230266
- "agent",
230267
- "hosted"
230268
- ]
230269
- },
230270
- "createdAt": {
230271
- "type": "number"
230272
- },
230273
- "updatedAt": {
230274
- "type": "number"
230275
- },
230276
- "versionStack": {
230277
- "type": "array",
230278
- "items": {
230279
- "type": "object",
230280
- "properties": {
230281
- "id": {
230282
- "type": "string"
230283
- },
230284
- "version": {
230285
- "type": "integer",
230286
- "minimum": -9007199254740991,
230287
- "maximum": 9007199254740991
230288
- },
230289
- "stage": {
230290
- "type": "string",
230291
- "enum": [
230292
- "content",
230293
- "layout",
230294
- "motion"
230295
- ]
230296
- },
230297
- "status": {
230298
- "type": "string"
230299
- },
230300
- "decision": {
230301
- "type": "string"
230302
- },
230303
- "createdAt": {
230304
- "type": "number"
230305
- }
230306
- },
230307
- "required": [
230308
- "id",
230309
- "version",
230310
- "status",
230311
- "createdAt"
230312
- ],
230313
- "additionalProperties": false
230314
- },
230315
- "description": "The run's v1→vN gate history — per-version status + decision summaries."
230316
- }
230317
- },
230318
- "required": [
230319
- "id",
230320
- "projectId",
230321
- "kind",
230322
- "version",
230323
- "status",
230324
- "artifact",
230325
- "revisionCycle",
230326
- "createdAt",
230327
- "updatedAt",
230328
- "versionStack"
230329
- ],
230330
- "additionalProperties": false
230331
- },
230332
- "ReviewDecisionResponse": {
230333
- "type": "object",
230334
- "properties": {
230335
- "ok": {
230336
- "type": "boolean",
230337
- "const": true
230338
- },
230339
- "stage": {
230340
- "type": "string",
230341
- "enum": [
230342
- "content",
230343
- "layout",
230344
- "motion"
230345
- ]
230346
- },
230347
- "version": {
230348
- "type": "integer",
230349
- "minimum": -9007199254740991,
230350
- "maximum": 9007199254740991
230351
- },
230352
- "composeJobId": {
230353
- "type": "string"
230354
- }
230355
- },
230356
- "required": [
230357
- "ok"
230358
- ],
230359
- "additionalProperties": false,
230360
- "description": "Decision recorded; the run resumes (the SAME rail as POST /checkpoints/{id}/resume)."
230361
- },
230362
230196
  "WebhookListResponse": {
230363
230197
  "type": "object",
230364
230198
  "properties": {
@@ -357854,162 +357688,6 @@
357854
357688
  }
357855
357689
  }
357856
357690
  },
357857
- "/v1/review/{id}": {
357858
- "get": {
357859
- "operationId": "getReviewPacket",
357860
- "tags": [
357861
- "checkpoints"
357862
- ],
357863
- "summary": "Read a hosted review packet (token-authenticated page data)",
357864
- "description": "The checkpoint page's data: stage artifact (rendered from the packet's own snapshot), presigned stills, critic verdicts, the money triple, the recorded decision once resolved, and the run's v1→vN version stack. Authenticated by the packet's reviewToken (?token=) — the URL from the checkpoint.ready webhook / get_checkpoint. Expired or already-answered packets still render (with their decision), never an error page.",
357865
- "security": [],
357866
- "responses": {
357867
- "200": {
357868
- "description": "The review packet + version stack.",
357869
- "content": {
357870
- "application/json": {
357871
- "schema": {
357872
- "$ref": "#/components/schemas/ReviewPacketResponse"
357873
- }
357874
- }
357875
- }
357876
- },
357877
- "404": {
357878
- "description": "Resource not found.",
357879
- "content": {
357880
- "application/json": {
357881
- "schema": {
357882
- "$ref": "#/components/schemas/ErrorEnvelope"
357883
- }
357884
- }
357885
- }
357886
- },
357887
- "429": {
357888
- "description": "Rate limited. Retry-After header present.",
357889
- "content": {
357890
- "application/json": {
357891
- "schema": {
357892
- "$ref": "#/components/schemas/ErrorEnvelope"
357893
- }
357894
- }
357895
- }
357896
- },
357897
- "500": {
357898
- "description": "Internal error.",
357899
- "content": {
357900
- "application/json": {
357901
- "schema": {
357902
- "$ref": "#/components/schemas/ErrorEnvelope"
357903
- }
357904
- }
357905
- }
357906
- }
357907
- },
357908
- "parameters": [
357909
- {
357910
- "schema": {
357911
- "type": "string"
357912
- },
357913
- "in": "path",
357914
- "name": "id",
357915
- "required": true
357916
- }
357917
- ]
357918
- }
357919
- },
357920
- "/v1/review/{id}/decision": {
357921
- "post": {
357922
- "operationId": "recordReviewDecision",
357923
- "tags": [
357924
- "checkpoints"
357925
- ],
357926
- "summary": "Record a hosted review decision (the same resume rail)",
357927
- "description": "Record approve / revise / abandon from the hosted page. Server-side this IS POST /v1/checkpoints/{id}/resume — one implementation; the driving agent learns of the decision via the checkpoint webhooks / wait_job. 409 when the packet is no longer awaiting (superseded, expired, or already decided).",
357928
- "security": [],
357929
- "responses": {
357930
- "200": {
357931
- "description": "Decision recorded; the run resumes.",
357932
- "content": {
357933
- "application/json": {
357934
- "schema": {
357935
- "$ref": "#/components/schemas/ReviewDecisionResponse"
357936
- }
357937
- }
357938
- }
357939
- },
357940
- "400": {
357941
- "description": "Bad request — validation_error / invalid_cursor / invalid_query.",
357942
- "content": {
357943
- "application/json": {
357944
- "schema": {
357945
- "$ref": "#/components/schemas/ErrorEnvelope"
357946
- }
357947
- }
357948
- }
357949
- },
357950
- "402": {
357951
- "description": "Payment required — billing_required or x402 payment_*.",
357952
- "content": {
357953
- "application/json": {
357954
- "schema": {
357955
- "$ref": "#/components/schemas/ErrorEnvelope"
357956
- }
357957
- }
357958
- }
357959
- },
357960
- "404": {
357961
- "description": "Resource not found.",
357962
- "content": {
357963
- "application/json": {
357964
- "schema": {
357965
- "$ref": "#/components/schemas/ErrorEnvelope"
357966
- }
357967
- }
357968
- }
357969
- },
357970
- "409": {
357971
- "description": "Conflict — stale_etag / idempotency_conflict / suggestions_already_complete.",
357972
- "content": {
357973
- "application/json": {
357974
- "schema": {
357975
- "$ref": "#/components/schemas/ErrorEnvelope"
357976
- }
357977
- }
357978
- }
357979
- },
357980
- "429": {
357981
- "description": "Rate limited. Retry-After header present.",
357982
- "content": {
357983
- "application/json": {
357984
- "schema": {
357985
- "$ref": "#/components/schemas/ErrorEnvelope"
357986
- }
357987
- }
357988
- }
357989
- },
357990
- "500": {
357991
- "description": "Internal error.",
357992
- "content": {
357993
- "application/json": {
357994
- "schema": {
357995
- "$ref": "#/components/schemas/ErrorEnvelope"
357996
- }
357997
- }
357998
- }
357999
- }
358000
- },
358001
- "parameters": [
358002
- {
358003
- "schema": {
358004
- "type": "string"
358005
- },
358006
- "in": "path",
358007
- "name": "id",
358008
- "required": true
358009
- }
358010
- ]
358011
- }
358012
- },
358013
357691
  "/v1/skills": {
358014
357692
  "get": {
358015
357693
  "operationId": "listSkills",
@@ -367902,10 +367580,13 @@
367902
367580
  },
367903
367581
  "responses": {
367904
367582
  "200": {
367905
- "description": "Parsed SSE events with JSON data. The wire remains text/event-stream, for example `event: error\ndata: {\"message\":\"Render not found\"}\n\n`.",
367583
+ "description": "Raw text/event-stream body. Each frame is one event described by x-sse-events, for example `event: error\ndata: {\"message\":\"Render not found\"}\n\n`.",
367906
367584
  "content": {
367907
367585
  "text/event-stream": {
367908
367586
  "schema": {
367587
+ "type": "string"
367588
+ },
367589
+ "x-sse-events": {
367909
367590
  "oneOf": [
367910
367591
  {
367911
367592
  "type": "object",
@@ -65,7 +65,6 @@
65
65
  "GET /v1/registry/acquisitions/{receiptId} getRegistryAcquisition",
66
66
  "GET /v1/registry/items searchRegistryItems",
67
67
  "GET /v1/registry/items/{name} getRegistryItem",
68
- "GET /v1/review/{id} getReviewPacket",
69
68
  "GET /v1/sessions listSessions",
70
69
  "GET /v1/sessions/{id} getSession",
71
70
  "GET /v1/sessions/{id}/mux-job getMuxJob",
@@ -155,7 +154,6 @@
155
154
  "POST /v1/registry/refresh refreshRegistrySnapshot",
156
155
  "POST /v1/resources/import importResource",
157
156
  "POST /v1/resources/search searchResources",
158
- "POST /v1/review/{id}/decision recordReviewDecision",
159
157
  "POST /v1/sessions createSession",
160
158
  "POST /v1/sessions/{id}/mux-job triggerMuxJob",
161
159
  "POST /v1/sessions/{id}/mux-job/cancel cancelMuxJob",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cueframe/api-contract",
3
- "version": "7.0.4",
3
+ "version": "8.0.0",
4
4
  "description": "Versioned OpenAPI contract and composition schemas for the CueFrame video editing and rendering API.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",