codex-chatgpt-control 0.5.1-alpha.2 → 0.5.1-alpha.3

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.
Files changed (191) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +27 -0
  3. package/contracts/v1/fixtures/backend-capabilities.json +40 -1
  4. package/contracts/v1/fixtures/backend-compatibility.json +21 -0
  5. package/contracts/v1/fixtures/backend-version.json +6 -1
  6. package/contracts/v1/fixtures/operation-action-prepared-event.json +42 -0
  7. package/contracts/v1/fixtures/operation-action.json +13 -0
  8. package/contracts/v1/fixtures/operation-artifact-receipt.json +14 -0
  9. package/contracts/v1/fixtures/operation-artifact-transfer-intent-event.json +24 -0
  10. package/contracts/v1/fixtures/operation-artifact-transfer-receipt-event.json +26 -0
  11. package/contracts/v1/fixtures/operation-artifact-transfer-state.json +178 -0
  12. package/contracts/v1/fixtures/operation-blocker.json +10 -0
  13. package/contracts/v1/fixtures/operation-collect-request.json +17 -0
  14. package/contracts/v1/fixtures/operation-collect-result.json +42 -0
  15. package/contracts/v1/fixtures/operation-control-receipt.json +13 -0
  16. package/contracts/v1/fixtures/operation-control-request.json +18 -0
  17. package/contracts/v1/fixtures/operation-control-result.json +31 -0
  18. package/contracts/v1/fixtures/operation-event.json +18 -0
  19. package/contracts/v1/fixtures/operation-handle.json +10 -0
  20. package/contracts/v1/fixtures/operation-inspect-request.json +13 -0
  21. package/contracts/v1/fixtures/operation-inspect-result.json +205 -0
  22. package/contracts/v1/fixtures/operation-ownership-baseline-event.json +34 -0
  23. package/contracts/v1/fixtures/operation-receipt.json +32 -0
  24. package/contracts/v1/fixtures/operation-recovery-decision.json +7 -0
  25. package/contracts/v1/fixtures/operation-recovery-observation.json +12 -0
  26. package/contracts/v1/fixtures/operation-request.json +33 -0
  27. package/contracts/v1/fixtures/operation-state.json +144 -0
  28. package/contracts/v1/fixtures/operation-submission-witness-event.json +20 -0
  29. package/contracts/v1/fixtures/operation-submission-witness.json +11 -0
  30. package/contracts/v1/fixtures/operation-submit-result.json +16 -0
  31. package/contracts/v1/fixtures/operation-target-established-event.json +21 -0
  32. package/contracts/v1/manifest.json +155 -1
  33. package/contracts/v1/parity-suite.json +96 -1
  34. package/contracts/v1/schemas/backend-compatibility.schema.json +65 -0
  35. package/contracts/v1/schemas/backend-request.schema.json +8 -2
  36. package/contracts/v1/schemas/capabilities.schema.json +81 -1
  37. package/contracts/v1/schemas/manifest.schema.json +57 -0
  38. package/contracts/v1/schemas/operation-action.schema.json +155 -0
  39. package/contracts/v1/schemas/operation-artifact-receipt.schema.json +89 -0
  40. package/contracts/v1/schemas/operation-blocker.schema.json +70 -0
  41. package/contracts/v1/schemas/operation-collect-request.schema.json +46 -0
  42. package/contracts/v1/schemas/operation-collect-result.schema.json +74 -0
  43. package/contracts/v1/schemas/operation-control-receipt.schema.json +108 -0
  44. package/contracts/v1/schemas/operation-control-request.schema.json +111 -0
  45. package/contracts/v1/schemas/operation-control-result.schema.json +112 -0
  46. package/contracts/v1/schemas/operation-event.schema.json +756 -0
  47. package/contracts/v1/schemas/operation-handle.schema.json +55 -0
  48. package/contracts/v1/schemas/operation-inspect-request.schema.json +42 -0
  49. package/contracts/v1/schemas/operation-inspect-result.schema.json +1662 -0
  50. package/contracts/v1/schemas/operation-receipt.schema.json +153 -0
  51. package/contracts/v1/schemas/operation-recovery.schema.json +314 -0
  52. package/contracts/v1/schemas/operation-request.schema.json +158 -0
  53. package/contracts/v1/schemas/operation-state.schema.json +691 -0
  54. package/contracts/v1/schemas/operation-submission-witness.schema.json +48 -0
  55. package/contracts/v1/schemas/operation-submit-result.schema.json +94 -0
  56. package/contracts/v1/surface-drift-policy.json +50 -0
  57. package/contracts/v1/vectors/operation-request-digest-v1.json +43 -0
  58. package/dist/codex-chatgpt-control-backend.mjs +43897 -9094
  59. package/dist/codex-chatgpt-control.bundle.mjs +46360 -10262
  60. package/dist/src/backend/client.d.ts +103 -2
  61. package/dist/src/backend/client.js +1436 -97
  62. package/dist/src/backend/compatibility.d.ts +12 -0
  63. package/dist/src/backend/compatibility.js +208 -0
  64. package/dist/src/backend/protocol.d.ts +84 -1
  65. package/dist/src/backend/protocol.js +31 -5
  66. package/dist/src/backend/runtime-identity.d.ts +10 -0
  67. package/dist/src/backend/runtime-identity.js +141 -0
  68. package/dist/src/backend/session.d.ts +10 -2
  69. package/dist/src/backend/session.js +478 -7
  70. package/dist/src/backend/stdio-server.d.ts +4 -1
  71. package/dist/src/backend/stdio-server.js +240 -28
  72. package/dist/src/browser/active-composer-file-input.d.ts +9 -0
  73. package/dist/src/browser/active-composer-file-input.js +33 -0
  74. package/dist/src/browser/attach.d.ts +4 -1
  75. package/dist/src/browser/attach.js +136 -28
  76. package/dist/src/browser/downloads.d.ts +2 -0
  77. package/dist/src/client.d.ts +38 -0
  78. package/dist/src/client.js +1222 -59
  79. package/dist/src/commands/configuration.js +13 -7
  80. package/dist/src/commands/doctor.d.ts +1 -1
  81. package/dist/src/commands/doctor.js +26 -3
  82. package/dist/src/commands/experience.js +35 -0
  83. package/dist/src/commands/files.js +4 -27
  84. package/dist/src/commands/modes.js +49 -17
  85. package/dist/src/commands/power-discovery.d.ts +130 -0
  86. package/dist/src/commands/power-discovery.js +627 -0
  87. package/dist/src/commands/project-sources.js +325 -31
  88. package/dist/src/commands/sequence.js +59 -32
  89. package/dist/src/commands/session.js +7 -2
  90. package/dist/src/commands/work.js +31 -0
  91. package/dist/src/errors.d.ts +9 -0
  92. package/dist/src/errors.js +22 -0
  93. package/dist/src/index.d.ts +6 -0
  94. package/dist/src/index.js +9 -0
  95. package/dist/src/operations/artifact-output.d.ts +69 -0
  96. package/dist/src/operations/artifact-output.js +1748 -0
  97. package/dist/src/operations/artifact-stream.d.ts +19 -0
  98. package/dist/src/operations/artifact-stream.js +35 -0
  99. package/dist/src/operations/artifact-transfer.d.ts +149 -0
  100. package/dist/src/operations/artifact-transfer.js +1312 -0
  101. package/dist/src/operations/browser-adapter.d.ts +161 -0
  102. package/dist/src/operations/browser-adapter.js +2023 -0
  103. package/dist/src/operations/browser-observation.d.ts +110 -0
  104. package/dist/src/operations/browser-observation.js +1208 -0
  105. package/dist/src/operations/browser-target.d.ts +103 -0
  106. package/dist/src/operations/browser-target.js +489 -0
  107. package/dist/src/operations/canonical.d.ts +4 -0
  108. package/dist/src/operations/canonical.js +412 -0
  109. package/dist/src/operations/chatgpt-runtime.d.ts +72 -0
  110. package/dist/src/operations/chatgpt-runtime.js +1150 -0
  111. package/dist/src/operations/client.d.ts +138 -0
  112. package/dist/src/operations/client.js +1143 -0
  113. package/dist/src/operations/collector.d.ts +195 -0
  114. package/dist/src/operations/collector.js +1039 -0
  115. package/dist/src/operations/control.d.ts +372 -0
  116. package/dist/src/operations/control.js +1498 -0
  117. package/dist/src/operations/file-identity.d.ts +33 -0
  118. package/dist/src/operations/file-identity.js +153 -0
  119. package/dist/src/operations/handle.d.ts +19 -0
  120. package/dist/src/operations/handle.js +727 -0
  121. package/dist/src/operations/index.d.ts +22 -0
  122. package/dist/src/operations/index.js +22 -0
  123. package/dist/src/operations/journal.d.ts +142 -0
  124. package/dist/src/operations/journal.js +1931 -0
  125. package/dist/src/operations/production-attachments.d.ts +116 -0
  126. package/dist/src/operations/production-attachments.js +1018 -0
  127. package/dist/src/operations/production-chatgpt-artifacts.d.ts +74 -0
  128. package/dist/src/operations/production-chatgpt-artifacts.js +1146 -0
  129. package/dist/src/operations/production-chatgpt-attachments.d.ts +71 -0
  130. package/dist/src/operations/production-chatgpt-attachments.js +1563 -0
  131. package/dist/src/operations/production-configuration.d.ts +42 -0
  132. package/dist/src/operations/production-configuration.js +1363 -0
  133. package/dist/src/operations/production-primitives.d.ts +53 -0
  134. package/dist/src/operations/production-primitives.js +1073 -0
  135. package/dist/src/operations/production-work-steer.d.ts +203 -0
  136. package/dist/src/operations/production-work-steer.js +1218 -0
  137. package/dist/src/operations/recovery.d.ts +80 -0
  138. package/dist/src/operations/recovery.js +174 -0
  139. package/dist/src/operations/runtime-adapter.d.ts +118 -0
  140. package/dist/src/operations/runtime-adapter.js +786 -0
  141. package/dist/src/operations/send-once.d.ts +224 -0
  142. package/dist/src/operations/send-once.js +1081 -0
  143. package/dist/src/operations/service.d.ts +281 -0
  144. package/dist/src/operations/service.js +2810 -0
  145. package/dist/src/operations/staging.d.ts +136 -0
  146. package/dist/src/operations/staging.js +630 -0
  147. package/dist/src/operations/state-machine.d.ts +29 -0
  148. package/dist/src/operations/state-machine.js +2047 -0
  149. package/dist/src/operations/submission.d.ts +423 -0
  150. package/dist/src/operations/submission.js +1676 -0
  151. package/dist/src/operations/turn-ownership.d.ts +202 -0
  152. package/dist/src/operations/turn-ownership.js +700 -0
  153. package/dist/src/operations/types.d.ts +454 -0
  154. package/dist/src/operations/types.js +20 -0
  155. package/dist/src/operations/wire-requests.d.ts +21 -0
  156. package/dist/src/operations/wire-requests.js +396 -0
  157. package/dist/src/operations/wire-results.d.ts +97 -0
  158. package/dist/src/operations/wire-results.js +818 -0
  159. package/dist/src/runner/responses.d.ts +3 -1
  160. package/dist/src/runner/responses.js +19 -1
  161. package/dist/src/runner/result.js +227 -55
  162. package/dist/src/runner/types.d.ts +12 -0
  163. package/dist/src/runtime/command-routing.d.ts +149 -0
  164. package/dist/src/runtime/command-routing.js +431 -0
  165. package/dist/src/runtime/coordinated-browser.d.ts +24 -0
  166. package/dist/src/runtime/coordinated-browser.js +315 -0
  167. package/dist/src/runtime/coordinated-page.d.ts +39 -0
  168. package/dist/src/runtime/coordinated-page.js +634 -0
  169. package/dist/src/runtime/operation-context.d.ts +142 -0
  170. package/dist/src/runtime/operation-context.js +410 -0
  171. package/dist/src/runtime/runtime-session.d.ts +95 -0
  172. package/dist/src/runtime/runtime-session.js +314 -0
  173. package/dist/src/runtime/tab-coordinator.d.ts +200 -0
  174. package/dist/src/runtime/tab-coordinator.js +1200 -0
  175. package/dist/src/runtime/value-boundaries.d.ts +18 -0
  176. package/dist/src/runtime/value-boundaries.js +49 -0
  177. package/dist/src/safety/untrusted-output.js +2 -1
  178. package/dist/src/scripts/backend-server.js +4 -1
  179. package/dist/src/scripts/live-smoke/harness.js +79 -7
  180. package/dist/src/scripts/live-smoke/scenarios.d.ts +28 -0
  181. package/dist/src/scripts/live-smoke/scenarios.js +110 -18
  182. package/dist/src/scripts/live-smoke/types.d.ts +3 -0
  183. package/dist/src/scripts/release-canary-module.js +17 -4
  184. package/dist/src/types.d.ts +38 -1
  185. package/package.json +1 -1
  186. package/references/2026-08-16-transactional-operations.md +459 -0
  187. package/references/agents-runner.md +34 -0
  188. package/references/backend-protocol.md +73 -0
  189. package/references/python-parity.md +72 -0
  190. package/references/responses-adapter.md +19 -0
  191. package/references/streaming.md +6 -0
@@ -0,0 +1,48 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://local.codex-chatgpt-control/contracts/v1/schemas/operation-submission-witness.schema.json",
4
+ "title": "Transactional browser operation submission witness",
5
+ "description": "A redacted immutable proof binding the sole Send or Work steer intent to the exact post-Send user-turn evidence.",
6
+ "type": "object",
7
+ "additionalProperties": false,
8
+ "required": [
9
+ "schemaVersion",
10
+ "actionId",
11
+ "actionKind",
12
+ "targetBindingDigest",
13
+ "baselineSnapshotDigest",
14
+ "postSendDeltaDigest",
15
+ "operationUserEvidenceDigest",
16
+ "observedAt"
17
+ ],
18
+ "properties": {
19
+ "schemaVersion": { "const": "chatgpt.browser_control.operation_submission_witness.v1" },
20
+ "actionId": {
21
+ "type": "string",
22
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
23
+ },
24
+ "actionKind": { "enum": ["send", "work_steer"] },
25
+ "targetBindingDigest": { "$ref": "#/$defs/digest" },
26
+ "baselineSnapshotDigest": { "$ref": "#/$defs/digest" },
27
+ "postSendDeltaDigest": { "$ref": "#/$defs/digest" },
28
+ "operationUserEvidenceDigest": { "$ref": "#/$defs/digest" },
29
+ "userTurnId": { "$ref": "#/$defs/opaqueId" },
30
+ "observedAt": { "$ref": "#/$defs/instant" }
31
+ },
32
+ "$defs": {
33
+ "digest": {
34
+ "type": "string",
35
+ "pattern": "^hmac-sha256:[0-9a-f]{64}$"
36
+ },
37
+ "opaqueId": {
38
+ "type": "string",
39
+ "minLength": 1,
40
+ "maxLength": 512,
41
+ "pattern": "^(?=.*\\S)[^\\u0000-\\u001f\\u007f]{1,512}$"
42
+ },
43
+ "instant": {
44
+ "type": "string",
45
+ "pattern": "^(?!\\d{4}-02-(?:30|31)T)(?!\\d{4}-(?:04|06|09|11)-31T)\\d{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12]\\d|3[01])T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{3}Z$"
46
+ }
47
+ }
48
+ }
@@ -0,0 +1,94 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://local.codex-chatgpt-control/contracts/v1/schemas/operation-submit-result.schema.json",
4
+ "title": "Transactional browser operation submit result",
5
+ "description": "A strict versioned submit envelope. Every result represents an existing durable operation and therefore carries the current handle; raw request content is never present.",
6
+ "type": "object",
7
+ "additionalProperties": false,
8
+ "required": ["schemaVersion", "status", "operationId", "requestDigest", "handle"],
9
+ "properties": {
10
+ "schemaVersion": { "const": "chatgpt.browser_control.operation_submit_result.v1" },
11
+ "status": { "enum": ["accepted", "completed", "blocked", "uncertain"] },
12
+ "operationId": { "$ref": "#/$defs/uuid" },
13
+ "requestDigest": { "$ref": "#/$defs/digest" },
14
+ "handle": { "$ref": "#/$defs/handle" },
15
+ "receipt": { "$ref": "#/$defs/receipt" },
16
+ "blocker": { "$ref": "#/$defs/blocker" }
17
+ },
18
+ "allOf": [
19
+ {
20
+ "if": { "properties": { "status": { "const": "completed" } }, "required": ["status"] },
21
+ "then": { "required": ["receipt"], "properties": { "receipt": { "$ref": "#/$defs/receipt" }, "blocker": false } }
22
+ },
23
+ {
24
+ "if": { "properties": { "status": { "enum": ["blocked", "uncertain"] } }, "required": ["status"] },
25
+ "then": { "required": ["blocker"], "properties": { "blocker": { "$ref": "#/$defs/blocker" }, "receipt": false } }
26
+ },
27
+ {
28
+ "if": { "properties": { "status": { "const": "accepted" } }, "required": ["status"] },
29
+ "then": { "properties": { "receipt": false, "blocker": false } }
30
+ }
31
+ ],
32
+ "$defs": {
33
+ "uuid": { "type": "string", "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" },
34
+ "digest": { "type": "string", "pattern": "^hmac-sha256:[0-9a-f]{64}$" },
35
+ "sha256": { "type": "string", "pattern": "^[0-9a-f]{64}$" },
36
+ "instant": { "type": "string", "pattern": "^(?!\\d{4}-02-(?:30|31)T)(?!\\d{4}-(?:04|06|09|11)-31T)\\d{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12]\\d|3[01])T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{3}Z$" },
37
+ "opaqueId": { "type": "string", "minLength": 1, "maxLength": 512, "pattern": "^(?=.*\\S)[^\\u0000-\\u001f\\u007f]{1,512}$" },
38
+ "handle": {
39
+ "type": "object", "additionalProperties": false,
40
+ "required": ["schemaVersion", "operationId", "requestDigest", "surface", "revision", "phase", "mutationBoundary"],
41
+ "properties": {
42
+ "schemaVersion": { "const": "chatgpt.browser_control.operation_handle.v1" },
43
+ "operationId": { "$ref": "#/$defs/uuid" }, "requestDigest": { "$ref": "#/$defs/digest" },
44
+ "surface": { "enum": ["chat", "work"] }, "revision": { "type": "integer", "minimum": 1, "maximum": 9007199254740991 },
45
+ "phase": { "$ref": "#/$defs/phase" }, "mutationBoundary": { "$ref": "#/$defs/boundary" },
46
+ "targetBindingDigest": { "$ref": "#/$defs/digest" }
47
+ }
48
+ },
49
+ "phase": { "enum": ["prepared", "handoff_pending", "ready", "send_pending", "submitted", "generating", "capturing", "completed", "uncertain"] },
50
+ "boundary": { "enum": ["none", "handoff_may_have_occurred", "send_may_have_occurred", "control_may_have_occurred"] },
51
+ "artifact": {
52
+ "type": "object", "additionalProperties": false,
53
+ "required": ["schemaVersion", "operationId", "artifactKey", "assistantTurnId", "sourceIdentityDigest", "kind", "ordinal", "status"],
54
+ "properties": {
55
+ "schemaVersion": { "const": "chatgpt.browser_control.operation_artifact_receipt.v1" }, "operationId": { "$ref": "#/$defs/uuid" },
56
+ "artifactKey": { "type": "string", "minLength": 1, "maxLength": 128, "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$" },
57
+ "assistantTurnId": { "$ref": "#/$defs/opaqueId" }, "sourceIdentityDigest": { "$ref": "#/$defs/digest" },
58
+ "kind": { "enum": ["file", "image", "other"] }, "ordinal": { "type": "integer", "minimum": 0, "maximum": 31 },
59
+ "outputKey": { "type": "string", "minLength": 1, "maxLength": 128, "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$" },
60
+ "mimeType": { "type": "string", "minLength": 1, "maxLength": 127, "pattern": "^[A-Za-z0-9][A-Za-z0-9!#$&^_.+/-]{0,126}$" },
61
+ "bytes": { "type": "integer", "minimum": 0, "maximum": 8388608 }, "sha256": { "$ref": "#/$defs/sha256" },
62
+ "status": { "enum": ["available", "transferred", "partial", "blocked"] }, "blockerCode": { "$ref": "#/$defs/code" }
63
+ },
64
+ "allOf": [
65
+ { "if": { "properties": { "status": { "const": "transferred" } }, "required": ["status"] }, "then": { "required": ["outputKey", "bytes", "sha256"], "properties": { "outputKey": { "type": "string" }, "bytes": { "type": "integer" }, "sha256": { "$ref": "#/$defs/sha256" } } } },
66
+ { "if": { "properties": { "status": { "enum": ["partial", "blocked"] } }, "required": ["status"] }, "then": { "required": ["blockerCode"], "properties": { "blockerCode": { "$ref": "#/$defs/code" } } } },
67
+ { "if": { "properties": { "status": { "enum": ["available", "transferred"] } }, "required": ["status"] }, "then": { "properties": { "blockerCode": false } } }
68
+ ]
69
+ },
70
+ "receipt": {
71
+ "type": "object", "additionalProperties": false,
72
+ "required": ["schemaVersion", "operationId", "requestDigest", "targetBindingDigest", "userTurnId", "userTurnEvidenceDigest", "assistantTurnId", "ownershipEvidenceDigest", "finishReason", "contentAvailable", "artifacts", "completedAt"],
73
+ "properties": {
74
+ "schemaVersion": { "const": "chatgpt.browser_control.operation_receipt.v1" }, "operationId": { "$ref": "#/$defs/uuid" }, "requestDigest": { "$ref": "#/$defs/digest" }, "targetBindingDigest": { "$ref": "#/$defs/digest" },
75
+ "userTurnId": { "$ref": "#/$defs/opaqueId" }, "userTurnEvidenceDigest": { "$ref": "#/$defs/digest" }, "assistantTurnId": { "$ref": "#/$defs/opaqueId" }, "ownershipEvidenceDigest": { "$ref": "#/$defs/digest" },
76
+ "responseDigest": { "$ref": "#/$defs/digest" }, "responseBytes": { "type": "integer", "minimum": 0, "maximum": 8388608 }, "responseFormat": { "enum": ["markdown", "text"] },
77
+ "finishReason": { "type": "string", "minLength": 1, "maxLength": 128, "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$" }, "contentAvailable": { "type": "boolean" },
78
+ "artifacts": { "type": "array", "maxItems": 32, "items": { "$ref": "#/$defs/artifact" } }, "completedAt": { "$ref": "#/$defs/instant" }
79
+ },
80
+ "dependentRequired": { "responseDigest": ["responseBytes"], "responseBytes": ["responseDigest"] },
81
+ "allOf": [{ "if": { "properties": { "contentAvailable": { "const": true } }, "required": ["contentAvailable"] }, "then": { "required": ["responseDigest", "responseBytes"], "properties": { "responseDigest": { "$ref": "#/$defs/digest" }, "responseBytes": { "type": "integer", "minimum": 0, "maximum": 8388608 } } } }]
82
+ },
83
+ "code": { "type": "string", "pattern": "^[a-z][a-z0-9_]{0,63}$" },
84
+ "blocker": {
85
+ "type": "object", "additionalProperties": false,
86
+ "required": ["schemaVersion", "code", "recoverable", "operationId", "requestDigest", "phase", "mutationBoundary", "message"],
87
+ "properties": {
88
+ "schemaVersion": { "const": "chatgpt.browser_control.operation_blocker.v1" }, "code": { "$ref": "#/$defs/code" }, "recoverable": { "type": "boolean" },
89
+ "operationId": { "$ref": "#/$defs/uuid" }, "requestDigest": { "$ref": "#/$defs/digest" }, "phase": { "$ref": "#/$defs/phase" }, "mutationBoundary": { "$ref": "#/$defs/boundary" },
90
+ "message": { "type": "string", "minLength": 1, "maxLength": 512, "pattern": "^[A-Za-z0-9][A-Za-z0-9 .,:;'()\\-]{0,511}$" }
91
+ }
92
+ }
93
+ }
94
+ }
@@ -16,6 +16,11 @@
16
16
  "date": "2026-06-10",
17
17
  "reason": "Backend metadata command used by protocol clients, not a user-facing SDK command descriptor."
18
18
  },
19
+ {
20
+ "command": "backend.hello",
21
+ "date": "2026-08-16",
22
+ "reason": "Backend handshake metadata command used by transport negotiation, not a user-facing SDK command descriptor."
23
+ },
19
24
  {
20
25
  "command": "runner.plan",
21
26
  "date": "2026-06-10",
@@ -70,6 +75,26 @@
70
75
  "command": "help",
71
76
  "date": "2026-06-10",
72
77
  "reason": "Command-discovery metadata command that returns help text; it is not itself a public descriptor."
78
+ },
79
+ {
80
+ "command": "operations.submit",
81
+ "date": "2026-08-16",
82
+ "reason": "Transactional operation protocol command exposed through the typed operations facade, not the legacy command descriptor registry."
83
+ },
84
+ {
85
+ "command": "operations.collect",
86
+ "date": "2026-08-16",
87
+ "reason": "Transactional operation protocol command exposed through the typed operations facade, not the legacy command descriptor registry."
88
+ },
89
+ {
90
+ "command": "operations.inspect",
91
+ "date": "2026-08-16",
92
+ "reason": "Transactional operation protocol command exposed through the typed operations facade, not the legacy command descriptor registry."
93
+ },
94
+ {
95
+ "command": "operations.control",
96
+ "date": "2026-08-16",
97
+ "reason": "Transactional operation protocol command exposed through the typed operations facade, not the legacy command descriptor registry."
73
98
  }
74
99
  ],
75
100
  "descriptorBackendCommandExemptions": [
@@ -126,6 +151,31 @@
126
151
  "command": "backend.version",
127
152
  "date": "2026-06-10",
128
153
  "reason": "Python exposes the generic BackendClient.request path for backend.version; health and capabilities have dedicated facades."
154
+ },
155
+ {
156
+ "command": "backend.hello",
157
+ "date": "2026-08-16",
158
+ "reason": "Python can use the generic BackendClient.request path while the typed hello diagnostics facade is completed in the parity lane."
159
+ },
160
+ {
161
+ "command": "operations.submit",
162
+ "date": "2026-08-16",
163
+ "reason": "Python OperationsClient routes this command through a bounded module constant; the static facade scanner cannot infer constant values."
164
+ },
165
+ {
166
+ "command": "operations.collect",
167
+ "date": "2026-08-16",
168
+ "reason": "Python OperationsClient routes this command through a bounded module constant; the static facade scanner cannot infer constant values."
169
+ },
170
+ {
171
+ "command": "operations.inspect",
172
+ "date": "2026-08-16",
173
+ "reason": "Python OperationsClient routes this command through a bounded module constant; the static facade scanner cannot infer constant values."
174
+ },
175
+ {
176
+ "command": "operations.control",
177
+ "date": "2026-08-16",
178
+ "reason": "Python OperationsClient routes this command through a bounded module constant; the static facade scanner cannot infer constant values."
129
179
  }
130
180
  ],
131
181
  "generatedBlockerDocs": [
@@ -0,0 +1,43 @@
1
+ {
2
+ "schemaVersion": "chatgpt.browser_control.operation_request_digest_vector.v1",
3
+ "keyHex": "1111111111111111111111111111111111111111111111111111111111111111",
4
+ "input": {
5
+ "operationId": "123e4567-e89b-42d3-a456-426614174000",
6
+ "surface": "chat",
7
+ "target": {
8
+ "type": "conversation_id",
9
+ "conversationId": "fixture-conversation"
10
+ },
11
+ "prompt": "Fixture prompt.",
12
+ "configuration": {
13
+ "effort": "High",
14
+ "model": "Fixture Model"
15
+ },
16
+ "tools": [
17
+ "search"
18
+ ],
19
+ "files": [
20
+ {
21
+ "displayName": "fixture.txt",
22
+ "bytes": 12,
23
+ "contentSha256": "abababababababababababababababababababababababababababababababab"
24
+ }
25
+ ],
26
+ "capturePolicy": {
27
+ "responseContent": "metadata",
28
+ "responseFormat": "markdown",
29
+ "artifacts": "transfer",
30
+ "outputDirectory": "/ignored-by-request-identity"
31
+ },
32
+ "behavior": {
33
+ "existingTab": true
34
+ }
35
+ },
36
+ "expected": {
37
+ "canonicalInput": "{\"behavior\":{\"existingTab\":true},\"capturePolicy\":{\"artifacts\":\"transfer\",\"responseContent\":\"metadata\",\"responseFormat\":\"markdown\"},\"configuration\":{\"effort\":\"High\",\"model\":\"Fixture Model\"},\"files\":[{\"bytes\":12,\"contentDigest\":\"hmac-sha256:416895599948182096b0bd5f39f3e39ef81e98471569cb001dac1aaeff429e9b\",\"displayNameDigest\":\"hmac-sha256:da8ab313a5f0c9d3dcd227826d8f1e1c12c450d94659e4add5596c05bb0e50e4\"}],\"operationId\":\"123e4567-e89b-42d3-a456-426614174000\",\"prompt\":{\"bytes\":15,\"digest\":\"hmac-sha256:bc599d7caf5f2108976533e17d21b94c20c26ca65f64430a0bed1543f107cd08\"},\"schemaVersion\":\"chatgpt.browser_control.operation_request_identity.v1\",\"surface\":\"chat\",\"target\":{\"conversationId\":\"fixture-conversation\",\"type\":\"conversation_id\"},\"tools\":[\"search\"]}",
38
+ "promptDigest": "hmac-sha256:bc599d7caf5f2108976533e17d21b94c20c26ca65f64430a0bed1543f107cd08",
39
+ "displayNameDigest": "hmac-sha256:da8ab313a5f0c9d3dcd227826d8f1e1c12c450d94659e4add5596c05bb0e50e4",
40
+ "contentDigest": "hmac-sha256:416895599948182096b0bd5f39f3e39ef81e98471569cb001dac1aaeff429e9b",
41
+ "requestDigest": "hmac-sha256:040c070ecbf1a649f21523187cb183d4036e283cbc2556aa2916261aca7dc1ba"
42
+ }
43
+ }