@claudexor/schema 3.3.15 → 3.4.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.
Files changed (41) hide show
  1. package/dist/apply-eligibility.d.ts +0 -882
  2. package/dist/apply-eligibility.d.ts.map +1 -1
  3. package/dist/apply-eligibility.js +0 -145
  4. package/dist/apply-eligibility.js.map +1 -1
  5. package/dist/control.js +4 -4
  6. package/dist/control.js.map +1 -1
  7. package/dist/harness.d.ts +2 -3
  8. package/dist/harness.d.ts.map +1 -1
  9. package/dist/harness.js +3 -4
  10. package/dist/harness.js.map +1 -1
  11. package/dist/index.d.ts +1 -0
  12. package/dist/index.d.ts.map +1 -1
  13. package/dist/index.js +1 -0
  14. package/dist/index.js.map +1 -1
  15. package/dist/mcp-run-result.d.ts +1932 -0
  16. package/dist/mcp-run-result.d.ts.map +1 -0
  17. package/dist/mcp-run-result.js +155 -0
  18. package/dist/mcp-run-result.js.map +1 -0
  19. package/dist/operation.d.ts +9 -0
  20. package/dist/operation.d.ts.map +1 -1
  21. package/dist/operation.js +10 -0
  22. package/dist/operation.js.map +1 -1
  23. package/dist/primitives.js +1 -1
  24. package/dist/primitives.js.map +1 -1
  25. package/dist/task.d.ts.map +1 -1
  26. package/dist/task.js +1 -1
  27. package/dist/task.js.map +1 -1
  28. package/dist/telemetry.d.ts +8 -8
  29. package/dist/telemetry.d.ts.map +1 -1
  30. package/dist/telemetry.js +8 -8
  31. package/dist/telemetry.js.map +1 -1
  32. package/generated/ControlHandshakeResponse.schema.json +8 -0
  33. package/generated/ControlRunDetail.schema.json +4 -4
  34. package/generated/ControlRunListResponse.schema.json +4 -4
  35. package/generated/ControlRunSummary.schema.json +4 -4
  36. package/generated/HarnessEvent.schema.json +1 -1
  37. package/generated/McpRunHandleResult.schema.json +538 -151
  38. package/generated/McpRunToolResult.schema.json +517 -130
  39. package/generated/RunTelemetry.schema.json +7 -7
  40. package/generated/TaskContract.schema.json +1 -1
  41. package/package.json +2 -2
@@ -73,7 +73,7 @@
73
73
  "web_required": {
74
74
  "type": "boolean",
75
75
  "default": false,
76
- "description": "Whether the run required web evidence."
76
+ "description": "Explicit stored web requirement."
77
77
  },
78
78
  "final_attempt_id": {
79
79
  "anyOf": [
@@ -95,7 +95,7 @@
95
95
  "required": {
96
96
  "type": "boolean",
97
97
  "default": false,
98
- "description": "Whether the run required web evidence."
98
+ "description": "Explicit stored web requirement."
99
99
  },
100
100
  "policy": {
101
101
  "type": "string",
@@ -121,7 +121,7 @@
121
121
  "satisfied": {
122
122
  "type": "boolean",
123
123
  "default": false,
124
- "description": "Whether the web-evidence requirement was satisfied."
124
+ "description": "Completed without a typed failure; verification records retrieval-proof strength."
125
125
  },
126
126
  "status": {
127
127
  "type": "string",
@@ -132,7 +132,7 @@
132
132
  "failed",
133
133
  "unverified"
134
134
  ],
135
- "description": "Web-evidence verdict for an attempt/run: none (no web activity), attempted, satisfied (required evidence produced), failed, or unverified.",
135
+ "description": "Observed web activity: none, attempted, satisfied, failed, or unverified.",
136
136
  "default": "none"
137
137
  },
138
138
  "verification": {
@@ -143,7 +143,7 @@
143
143
  "none"
144
144
  ],
145
145
  "default": "none",
146
- "description": "Retrieval strength of the web evidence: verified (typed retrieval), dispatched (completed but no typed outcome), or none."
146
+ "description": "Retrieval-proof strength of observed web activity: verified (typed successful retrieval; content proven), dispatched (operation completed but no typed retrieval outcome; content not proven), or none."
147
147
  },
148
148
  "tool": {
149
149
  "type": [
@@ -759,7 +759,7 @@
759
759
  }
760
760
  },
761
761
  "additionalProperties": false,
762
- "description": "Token usage summed from harness usage events; money is tracked separately in the budget ledger, not here. Each field is null until a harness reports it (cursor reports cost only; raw-api has no cached), so unreported never reads as 0. Do NOT sum into a grand total: codex cached is a subset of input while claude cached is disjoint from input.",
762
+ "description": "Token usage summed from harness usage events; money is tracked separately in the budget ledger, not here. Each field is null until a harness reports it, so unreported never reads as 0. The relation between cached_input_tokens and input_tokens is harness-specific; do not derive a grand total.",
763
763
  "default": {}
764
764
  }
765
765
  },
@@ -846,7 +846,7 @@
846
846
  "usage_totals": {
847
847
  "$ref": "#/definitions/RunTelemetry/properties/attempts/items/properties/usage",
848
848
  "default": {},
849
- "description": "Token usage summed from harness usage events; money is tracked separately in the budget ledger, not here. Each field is null until a harness reports it (cursor reports cost only; raw-api has no cached), so unreported never reads as 0. Do NOT sum into a grand total: codex cached is a subset of input while claude cached is disjoint from input."
849
+ "description": "Token usage summed from harness usage events; money is tracked separately in the budget ledger, not here. Each field is null until a harness reports it, so unreported never reads as 0. The relation between cached_input_tokens and input_tokens is harness-specific; do not derive a grand total."
850
850
  },
851
851
  "auth_route": {
852
852
  "anyOf": [
@@ -434,7 +434,7 @@
434
434
  "web_required": {
435
435
  "type": "boolean",
436
436
  "default": false,
437
- "description": "Whether the task requires live web evidence."
437
+ "description": "Whether a persisted task contract explicitly requires web evidence; ordinary run policies keep this false."
438
438
  },
439
439
  "effective_mode": {
440
440
  "$ref": "#/definitions/TaskContract/properties/external_context/properties/policy",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claudexor/schema",
3
- "version": "3.3.15",
3
+ "version": "3.4.0",
4
4
  "license": "MIT",
5
5
  "description": "Single source of truth for all Claudexor data shapes (Zod + generated JSON Schema).",
6
6
  "type": "module",
@@ -20,7 +20,7 @@
20
20
  "dependencies": {
21
21
  "zod": "^4.4.3",
22
22
  "zod-to-json-schema": "^3.24.1",
23
- "@claudexor/util": "3.3.15"
23
+ "@claudexor/util": "3.4.0"
24
24
  },
25
25
  "repository": {
26
26
  "type": "git",