@claudexor/schema 2.1.3 → 3.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/dist/agent-capabilities.d.ts +32 -24
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +20 -11
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/apply-eligibility.d.ts +166 -0
- package/dist/apply-eligibility.d.ts.map +1 -1
- package/dist/apply-eligibility.js +63 -2
- package/dist/apply-eligibility.js.map +1 -1
- package/dist/attachment.d.ts +5 -5
- package/dist/budget.d.ts +4 -4
- package/dist/config.d.ts +59 -41
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +16 -6
- package/dist/config.js.map +1 -1
- package/dist/context.d.ts +6 -6
- package/dist/control-operation-responses.d.ts +190 -97
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +14 -1
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-run-detail.d.ts +347 -215
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-detail.js +34 -7
- package/dist/control-run-detail.js.map +1 -1
- package/dist/control-thread-apply.d.ts +5 -5
- package/dist/control-trust.d.ts +6 -6
- package/dist/control.d.ts +769 -306
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +164 -61
- package/dist/control.js.map +1 -1
- package/dist/credential-profile.d.ts +400 -1
- package/dist/credential-profile.d.ts.map +1 -1
- package/dist/credential-profile.js +109 -4
- package/dist/credential-profile.js.map +1 -1
- package/dist/decision.d.ts +78 -14
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +53 -20
- package/dist/decision.js.map +1 -1
- package/dist/delivery.d.ts +3 -3
- package/dist/delivery.js +1 -1
- package/dist/delivery.js.map +1 -1
- package/dist/events.d.ts +32 -6
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +45 -11
- package/dist/events.js.map +1 -1
- package/dist/gate.d.ts +4 -4
- package/dist/gate.d.ts.map +1 -1
- package/dist/gate.js +2 -2
- package/dist/gate.js.map +1 -1
- package/dist/harness.d.ts +137 -47
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +65 -16
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/operation.d.ts +66 -7
- package/dist/operation.d.ts.map +1 -1
- package/dist/operation.js +29 -2
- package/dist/operation.js.map +1 -1
- package/dist/output-schema.d.ts +40 -0
- package/dist/output-schema.d.ts.map +1 -0
- package/dist/output-schema.js +109 -0
- package/dist/output-schema.js.map +1 -0
- package/dist/plan.d.ts +206 -0
- package/dist/plan.d.ts.map +1 -0
- package/dist/plan.js +107 -0
- package/dist/plan.js.map +1 -0
- package/dist/primitives.d.ts +14 -10
- package/dist/primitives.d.ts.map +1 -1
- package/dist/primitives.js +14 -11
- package/dist/primitives.js.map +1 -1
- package/dist/project.d.ts +75 -0
- package/dist/project.d.ts.map +1 -1
- package/dist/project.js +17 -0
- package/dist/project.js.map +1 -1
- package/dist/quota.d.ts +119 -0
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +22 -0
- package/dist/quota.js.map +1 -1
- package/dist/raw.d.ts +4 -4
- package/dist/readiness.d.ts +14 -7
- package/dist/readiness.d.ts.map +1 -1
- package/dist/run-strategy.d.ts +17 -0
- package/dist/run-strategy.d.ts.map +1 -0
- package/dist/run-strategy.js +47 -0
- package/dist/run-strategy.js.map +1 -0
- package/dist/setup.d.ts +160 -160
- package/dist/status-projection.d.ts +78 -0
- package/dist/status-projection.d.ts.map +1 -0
- package/dist/status-projection.js +171 -0
- package/dist/status-projection.js.map +1 -0
- package/dist/task.d.ts +48 -316
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +3 -60
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +89 -89
- package/dist/thread.d.ts +167 -32
- package/dist/thread.d.ts.map +1 -1
- package/dist/thread.js +92 -28
- package/dist/thread.js.map +1 -1
- package/dist/tool-ref.d.ts +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +4 -6
- package/generated/ApplyEligibility.schema.json +1 -1
- package/generated/BudgetLease.schema.json +1 -2
- package/generated/ConformanceReport.schema.json +1 -2
- package/generated/ContinuityDisclosure.schema.json +74 -0
- package/generated/ControlApplyRequest.schema.json +1 -2
- package/generated/ControlCredentialProfileUpdateRequest.schema.json +20 -0
- package/generated/ControlCredentialProfileUpdateResponse.schema.json +142 -0
- package/generated/ControlCredentialProfilesResponse.schema.json +126 -2
- package/generated/ControlDeliveryResponse.schema.json +0 -1
- package/generated/ControlHandshakeResponse.schema.json +31 -3
- package/generated/ControlHarnessListResponse.schema.json +11 -6
- package/generated/ControlHarnessSettingsPatch.schema.json +4 -0
- package/generated/ControlOperationCatalog.schema.json +16 -1
- package/generated/ControlOperationDescriptor.schema.json +15 -0
- package/generated/ControlProject.schema.json +35 -0
- package/generated/ControlProjectListResponse.schema.json +35 -0
- package/generated/ControlProjectOutputsResponse.schema.json +57 -0
- package/generated/ControlQueuedRunInfo.schema.json +2 -11
- package/generated/ControlQuotaResponse.schema.json +42 -0
- package/generated/ControlRunAgainDraft.schema.json +37 -35
- package/generated/ControlRunDecisionRequest.schema.json +0 -1
- package/generated/ControlRunDetail.schema.json +292 -213
- package/generated/ControlRunListResponse.schema.json +88 -27
- package/generated/ControlRunStartRequest.schema.json +37 -35
- package/generated/ControlRunStartResponse.schema.json +2 -11
- package/generated/ControlRunSummary.schema.json +88 -27
- package/generated/ControlSettingsSnapshot.schema.json +6 -11
- package/generated/ControlSettingsUpdateRequest.schema.json +5 -10
- package/generated/ControlThread.schema.json +21 -3
- package/generated/ControlThreadApplyResponse.schema.json +0 -1
- package/generated/ControlThreadCreateRequest.schema.json +12 -3
- package/generated/ControlThreadDetail.schema.json +174 -16
- package/generated/ControlThreadListResponse.schema.json +60 -3
- package/generated/ControlThreadTurnRequest.schema.json +40 -34
- package/generated/ControlThreadUpdateRequest.schema.json +19 -0
- package/generated/DecisionRecord.schema.json +73 -33
- package/generated/GateResult.schema.json +1 -2
- package/generated/GlobalConfig.schema.json +7 -12
- package/generated/HarnessManifest.schema.json +11 -6
- package/generated/HarnessStatusDto.schema.json +11 -6
- package/generated/LaneCheckpoint.schema.json +59 -0
- package/generated/McpRunHandleResult.schema.json +234 -0
- package/generated/McpRunToolResult.schema.json +124 -2
- package/generated/RoutePrimaryDivergedPayload.schema.json +56 -0
- package/generated/RunEvent.schema.json +9 -5
- package/generated/RunTelemetry.schema.json +2 -4
- package/generated/TaskContract.schema.json +3 -135
- package/generated/Thread.schema.json +21 -3
- package/generated/ThreadTurn.schema.json +88 -0
- package/package.json +2 -2
- package/dist/control-spec.d.ts +0 -603
- package/dist/control-spec.d.ts.map +0 -1
- package/dist/control-spec.js +0 -87
- package/dist/control-spec.js.map +0 -1
- package/dist/orchestrate.d.ts +0 -556
- package/dist/orchestrate.d.ts.map +0 -1
- package/dist/orchestrate.js +0 -356
- package/dist/orchestrate.js.map +0 -1
- package/dist/spec.d.ts +0 -678
- package/dist/spec.d.ts.map +0 -1
- package/dist/spec.js +0 -186
- package/dist/spec.js.map +0 -1
- package/generated/ControlSpecAnswersRequest.schema.json +0 -74
- package/generated/ControlSpecQuestionsRequest.schema.json +0 -209
- package/generated/ControlSpecSession.schema.json +0 -261
- package/generated/ControlSpecSessionListResponse.schema.json +0 -273
- package/generated/OrchestrateContract.schema.json +0 -119
- package/generated/OrchestratePlan.schema.json +0 -264
- package/generated/OrchestratePlanProgress.schema.json +0 -164
- package/generated/SessionReboundLineage.schema.json +0 -73
- package/generated/SpecPack.schema.json +0 -483
|
@@ -1,261 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$ref": "#/definitions/ControlSpecSession",
|
|
3
|
-
"definitions": {
|
|
4
|
-
"ControlSpecSession": {
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"sessionId": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"minLength": 1,
|
|
10
|
-
"pattern": "\\S",
|
|
11
|
-
"description": "User-supplied string that must contain visible content, not just whitespace."
|
|
12
|
-
},
|
|
13
|
-
"threadId": {
|
|
14
|
-
"anyOf": [
|
|
15
|
-
{
|
|
16
|
-
"$ref": "#/definitions/ControlSpecSession/properties/sessionId"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"type": "null"
|
|
20
|
-
}
|
|
21
|
-
],
|
|
22
|
-
"description": "User-supplied string that must contain visible content, not just whitespace.",
|
|
23
|
-
"default": null
|
|
24
|
-
},
|
|
25
|
-
"prompt": {
|
|
26
|
-
"type": "string"
|
|
27
|
-
},
|
|
28
|
-
"scope": {
|
|
29
|
-
"type": "object",
|
|
30
|
-
"properties": {
|
|
31
|
-
"kind": {
|
|
32
|
-
"type": "string",
|
|
33
|
-
"const": "project"
|
|
34
|
-
},
|
|
35
|
-
"root": {
|
|
36
|
-
"type": "string"
|
|
37
|
-
},
|
|
38
|
-
"context": {
|
|
39
|
-
"type": "string",
|
|
40
|
-
"enum": [
|
|
41
|
-
"auto"
|
|
42
|
-
],
|
|
43
|
-
"description": "Project context depth; auto is the only mode."
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
"required": [
|
|
47
|
-
"kind",
|
|
48
|
-
"root",
|
|
49
|
-
"context"
|
|
50
|
-
],
|
|
51
|
-
"additionalProperties": false
|
|
52
|
-
},
|
|
53
|
-
"state": {
|
|
54
|
-
"type": "string",
|
|
55
|
-
"enum": [
|
|
56
|
-
"grounding",
|
|
57
|
-
"questions",
|
|
58
|
-
"answered",
|
|
59
|
-
"freezing",
|
|
60
|
-
"frozen",
|
|
61
|
-
"cancelled",
|
|
62
|
-
"failed",
|
|
63
|
-
"interrupted_unknown"
|
|
64
|
-
]
|
|
65
|
-
},
|
|
66
|
-
"planRunId": {
|
|
67
|
-
"type": [
|
|
68
|
-
"string",
|
|
69
|
-
"null"
|
|
70
|
-
]
|
|
71
|
-
},
|
|
72
|
-
"questions": {
|
|
73
|
-
"type": "array",
|
|
74
|
-
"items": {
|
|
75
|
-
"type": "object",
|
|
76
|
-
"properties": {
|
|
77
|
-
"id": {
|
|
78
|
-
"type": "string",
|
|
79
|
-
"minLength": 1,
|
|
80
|
-
"description": "Question id."
|
|
81
|
-
},
|
|
82
|
-
"tier": {
|
|
83
|
-
"type": "integer",
|
|
84
|
-
"minimum": 0,
|
|
85
|
-
"default": 0,
|
|
86
|
-
"description": "Hierarchical depth of the question (0 = foundational)."
|
|
87
|
-
},
|
|
88
|
-
"prompt": {
|
|
89
|
-
"type": "string",
|
|
90
|
-
"description": "The question text shown to the user."
|
|
91
|
-
},
|
|
92
|
-
"kind": {
|
|
93
|
-
"type": "string",
|
|
94
|
-
"enum": [
|
|
95
|
-
"single",
|
|
96
|
-
"multi",
|
|
97
|
-
"text"
|
|
98
|
-
],
|
|
99
|
-
"description": "Answer shape of an interview question: single choice, multiple choice, or free text.",
|
|
100
|
-
"default": "single"
|
|
101
|
-
},
|
|
102
|
-
"options": {
|
|
103
|
-
"type": "array",
|
|
104
|
-
"items": {
|
|
105
|
-
"type": "object",
|
|
106
|
-
"properties": {
|
|
107
|
-
"id": {
|
|
108
|
-
"type": "string",
|
|
109
|
-
"minLength": 1,
|
|
110
|
-
"description": "Option id."
|
|
111
|
-
},
|
|
112
|
-
"label": {
|
|
113
|
-
"type": "string",
|
|
114
|
-
"description": "Human-readable option label."
|
|
115
|
-
}
|
|
116
|
-
},
|
|
117
|
-
"required": [
|
|
118
|
-
"id",
|
|
119
|
-
"label"
|
|
120
|
-
],
|
|
121
|
-
"additionalProperties": false,
|
|
122
|
-
"description": "One selectable option of an interview question."
|
|
123
|
-
},
|
|
124
|
-
"default": [],
|
|
125
|
-
"description": "Selectable options; empty for pure free-text questions."
|
|
126
|
-
},
|
|
127
|
-
"allow_text": {
|
|
128
|
-
"type": "boolean",
|
|
129
|
-
"default": false,
|
|
130
|
-
"description": "Whether free-text is accepted in addition to or instead of options."
|
|
131
|
-
},
|
|
132
|
-
"rationale": {
|
|
133
|
-
"type": "string",
|
|
134
|
-
"description": "Why this question matters for the spec."
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
"required": [
|
|
138
|
-
"id",
|
|
139
|
-
"prompt"
|
|
140
|
-
],
|
|
141
|
-
"additionalProperties": false,
|
|
142
|
-
"description": "One quiz card of the spec interview."
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
"answers": {
|
|
146
|
-
"type": "array",
|
|
147
|
-
"items": {
|
|
148
|
-
"type": "object",
|
|
149
|
-
"properties": {
|
|
150
|
-
"question_id": {
|
|
151
|
-
"type": "string",
|
|
152
|
-
"minLength": 1,
|
|
153
|
-
"description": "Id of the question being answered."
|
|
154
|
-
},
|
|
155
|
-
"option_ids": {
|
|
156
|
-
"type": "array",
|
|
157
|
-
"items": {
|
|
158
|
-
"type": "string",
|
|
159
|
-
"minLength": 1,
|
|
160
|
-
"description": "Non-empty identifier string."
|
|
161
|
-
},
|
|
162
|
-
"default": [],
|
|
163
|
-
"description": "Ids of the selected options."
|
|
164
|
-
},
|
|
165
|
-
"text": {
|
|
166
|
-
"type": [
|
|
167
|
-
"string",
|
|
168
|
-
"null"
|
|
169
|
-
],
|
|
170
|
-
"default": null,
|
|
171
|
-
"description": "Free-text answer; null when only options were selected."
|
|
172
|
-
}
|
|
173
|
-
},
|
|
174
|
-
"required": [
|
|
175
|
-
"question_id"
|
|
176
|
-
],
|
|
177
|
-
"additionalProperties": false,
|
|
178
|
-
"description": "The user's answer to one interview question."
|
|
179
|
-
}
|
|
180
|
-
},
|
|
181
|
-
"priorDecisions": {
|
|
182
|
-
"type": "array",
|
|
183
|
-
"items": {
|
|
184
|
-
"type": "object",
|
|
185
|
-
"properties": {
|
|
186
|
-
"question": {
|
|
187
|
-
"type": "string",
|
|
188
|
-
"description": "Question asked in a prior tier."
|
|
189
|
-
},
|
|
190
|
-
"answer": {
|
|
191
|
-
"type": "string",
|
|
192
|
-
"description": "The user's answer."
|
|
193
|
-
}
|
|
194
|
-
},
|
|
195
|
-
"required": [
|
|
196
|
-
"question",
|
|
197
|
-
"answer"
|
|
198
|
-
],
|
|
199
|
-
"additionalProperties": false
|
|
200
|
-
}
|
|
201
|
-
},
|
|
202
|
-
"specId": {
|
|
203
|
-
"type": [
|
|
204
|
-
"string",
|
|
205
|
-
"null"
|
|
206
|
-
]
|
|
207
|
-
},
|
|
208
|
-
"specDir": {
|
|
209
|
-
"type": [
|
|
210
|
-
"string",
|
|
211
|
-
"null"
|
|
212
|
-
]
|
|
213
|
-
},
|
|
214
|
-
"specPath": {
|
|
215
|
-
"type": [
|
|
216
|
-
"string",
|
|
217
|
-
"null"
|
|
218
|
-
]
|
|
219
|
-
},
|
|
220
|
-
"specHash": {
|
|
221
|
-
"type": [
|
|
222
|
-
"string",
|
|
223
|
-
"null"
|
|
224
|
-
]
|
|
225
|
-
},
|
|
226
|
-
"error": {
|
|
227
|
-
"type": [
|
|
228
|
-
"string",
|
|
229
|
-
"null"
|
|
230
|
-
]
|
|
231
|
-
},
|
|
232
|
-
"createdAt": {
|
|
233
|
-
"type": "string"
|
|
234
|
-
},
|
|
235
|
-
"updatedAt": {
|
|
236
|
-
"type": "string"
|
|
237
|
-
}
|
|
238
|
-
},
|
|
239
|
-
"required": [
|
|
240
|
-
"sessionId",
|
|
241
|
-
"prompt",
|
|
242
|
-
"scope",
|
|
243
|
-
"state",
|
|
244
|
-
"planRunId",
|
|
245
|
-
"questions",
|
|
246
|
-
"answers",
|
|
247
|
-
"priorDecisions",
|
|
248
|
-
"specId",
|
|
249
|
-
"specDir",
|
|
250
|
-
"specPath",
|
|
251
|
-
"specHash",
|
|
252
|
-
"error",
|
|
253
|
-
"createdAt",
|
|
254
|
-
"updatedAt"
|
|
255
|
-
],
|
|
256
|
-
"additionalProperties": false,
|
|
257
|
-
"description": "Durable public projection of a spec interview session."
|
|
258
|
-
}
|
|
259
|
-
},
|
|
260
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
261
|
-
}
|
|
@@ -1,273 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$ref": "#/definitions/ControlSpecSessionListResponse",
|
|
3
|
-
"definitions": {
|
|
4
|
-
"ControlSpecSessionListResponse": {
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"sessions": {
|
|
8
|
-
"type": "array",
|
|
9
|
-
"items": {
|
|
10
|
-
"type": "object",
|
|
11
|
-
"properties": {
|
|
12
|
-
"sessionId": {
|
|
13
|
-
"type": "string",
|
|
14
|
-
"minLength": 1,
|
|
15
|
-
"pattern": "\\S",
|
|
16
|
-
"description": "User-supplied string that must contain visible content, not just whitespace."
|
|
17
|
-
},
|
|
18
|
-
"threadId": {
|
|
19
|
-
"anyOf": [
|
|
20
|
-
{
|
|
21
|
-
"$ref": "#/definitions/ControlSpecSessionListResponse/properties/sessions/items/properties/sessionId"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"type": "null"
|
|
25
|
-
}
|
|
26
|
-
],
|
|
27
|
-
"description": "User-supplied string that must contain visible content, not just whitespace.",
|
|
28
|
-
"default": null
|
|
29
|
-
},
|
|
30
|
-
"prompt": {
|
|
31
|
-
"type": "string"
|
|
32
|
-
},
|
|
33
|
-
"scope": {
|
|
34
|
-
"type": "object",
|
|
35
|
-
"properties": {
|
|
36
|
-
"kind": {
|
|
37
|
-
"type": "string",
|
|
38
|
-
"const": "project"
|
|
39
|
-
},
|
|
40
|
-
"root": {
|
|
41
|
-
"type": "string"
|
|
42
|
-
},
|
|
43
|
-
"context": {
|
|
44
|
-
"type": "string",
|
|
45
|
-
"enum": [
|
|
46
|
-
"auto"
|
|
47
|
-
],
|
|
48
|
-
"description": "Project context depth; auto is the only mode."
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
"required": [
|
|
52
|
-
"kind",
|
|
53
|
-
"root",
|
|
54
|
-
"context"
|
|
55
|
-
],
|
|
56
|
-
"additionalProperties": false
|
|
57
|
-
},
|
|
58
|
-
"state": {
|
|
59
|
-
"type": "string",
|
|
60
|
-
"enum": [
|
|
61
|
-
"grounding",
|
|
62
|
-
"questions",
|
|
63
|
-
"answered",
|
|
64
|
-
"freezing",
|
|
65
|
-
"frozen",
|
|
66
|
-
"cancelled",
|
|
67
|
-
"failed",
|
|
68
|
-
"interrupted_unknown"
|
|
69
|
-
]
|
|
70
|
-
},
|
|
71
|
-
"planRunId": {
|
|
72
|
-
"type": [
|
|
73
|
-
"string",
|
|
74
|
-
"null"
|
|
75
|
-
]
|
|
76
|
-
},
|
|
77
|
-
"questions": {
|
|
78
|
-
"type": "array",
|
|
79
|
-
"items": {
|
|
80
|
-
"type": "object",
|
|
81
|
-
"properties": {
|
|
82
|
-
"id": {
|
|
83
|
-
"type": "string",
|
|
84
|
-
"minLength": 1,
|
|
85
|
-
"description": "Question id."
|
|
86
|
-
},
|
|
87
|
-
"tier": {
|
|
88
|
-
"type": "integer",
|
|
89
|
-
"minimum": 0,
|
|
90
|
-
"default": 0,
|
|
91
|
-
"description": "Hierarchical depth of the question (0 = foundational)."
|
|
92
|
-
},
|
|
93
|
-
"prompt": {
|
|
94
|
-
"type": "string",
|
|
95
|
-
"description": "The question text shown to the user."
|
|
96
|
-
},
|
|
97
|
-
"kind": {
|
|
98
|
-
"type": "string",
|
|
99
|
-
"enum": [
|
|
100
|
-
"single",
|
|
101
|
-
"multi",
|
|
102
|
-
"text"
|
|
103
|
-
],
|
|
104
|
-
"description": "Answer shape of an interview question: single choice, multiple choice, or free text.",
|
|
105
|
-
"default": "single"
|
|
106
|
-
},
|
|
107
|
-
"options": {
|
|
108
|
-
"type": "array",
|
|
109
|
-
"items": {
|
|
110
|
-
"type": "object",
|
|
111
|
-
"properties": {
|
|
112
|
-
"id": {
|
|
113
|
-
"type": "string",
|
|
114
|
-
"minLength": 1,
|
|
115
|
-
"description": "Option id."
|
|
116
|
-
},
|
|
117
|
-
"label": {
|
|
118
|
-
"type": "string",
|
|
119
|
-
"description": "Human-readable option label."
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
"required": [
|
|
123
|
-
"id",
|
|
124
|
-
"label"
|
|
125
|
-
],
|
|
126
|
-
"additionalProperties": false,
|
|
127
|
-
"description": "One selectable option of an interview question."
|
|
128
|
-
},
|
|
129
|
-
"default": [],
|
|
130
|
-
"description": "Selectable options; empty for pure free-text questions."
|
|
131
|
-
},
|
|
132
|
-
"allow_text": {
|
|
133
|
-
"type": "boolean",
|
|
134
|
-
"default": false,
|
|
135
|
-
"description": "Whether free-text is accepted in addition to or instead of options."
|
|
136
|
-
},
|
|
137
|
-
"rationale": {
|
|
138
|
-
"type": "string",
|
|
139
|
-
"description": "Why this question matters for the spec."
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
"required": [
|
|
143
|
-
"id",
|
|
144
|
-
"prompt"
|
|
145
|
-
],
|
|
146
|
-
"additionalProperties": false,
|
|
147
|
-
"description": "One quiz card of the spec interview."
|
|
148
|
-
}
|
|
149
|
-
},
|
|
150
|
-
"answers": {
|
|
151
|
-
"type": "array",
|
|
152
|
-
"items": {
|
|
153
|
-
"type": "object",
|
|
154
|
-
"properties": {
|
|
155
|
-
"question_id": {
|
|
156
|
-
"type": "string",
|
|
157
|
-
"minLength": 1,
|
|
158
|
-
"description": "Id of the question being answered."
|
|
159
|
-
},
|
|
160
|
-
"option_ids": {
|
|
161
|
-
"type": "array",
|
|
162
|
-
"items": {
|
|
163
|
-
"type": "string",
|
|
164
|
-
"minLength": 1,
|
|
165
|
-
"description": "Non-empty identifier string."
|
|
166
|
-
},
|
|
167
|
-
"default": [],
|
|
168
|
-
"description": "Ids of the selected options."
|
|
169
|
-
},
|
|
170
|
-
"text": {
|
|
171
|
-
"type": [
|
|
172
|
-
"string",
|
|
173
|
-
"null"
|
|
174
|
-
],
|
|
175
|
-
"default": null,
|
|
176
|
-
"description": "Free-text answer; null when only options were selected."
|
|
177
|
-
}
|
|
178
|
-
},
|
|
179
|
-
"required": [
|
|
180
|
-
"question_id"
|
|
181
|
-
],
|
|
182
|
-
"additionalProperties": false,
|
|
183
|
-
"description": "The user's answer to one interview question."
|
|
184
|
-
}
|
|
185
|
-
},
|
|
186
|
-
"priorDecisions": {
|
|
187
|
-
"type": "array",
|
|
188
|
-
"items": {
|
|
189
|
-
"type": "object",
|
|
190
|
-
"properties": {
|
|
191
|
-
"question": {
|
|
192
|
-
"type": "string",
|
|
193
|
-
"description": "Question asked in a prior tier."
|
|
194
|
-
},
|
|
195
|
-
"answer": {
|
|
196
|
-
"type": "string",
|
|
197
|
-
"description": "The user's answer."
|
|
198
|
-
}
|
|
199
|
-
},
|
|
200
|
-
"required": [
|
|
201
|
-
"question",
|
|
202
|
-
"answer"
|
|
203
|
-
],
|
|
204
|
-
"additionalProperties": false
|
|
205
|
-
}
|
|
206
|
-
},
|
|
207
|
-
"specId": {
|
|
208
|
-
"type": [
|
|
209
|
-
"string",
|
|
210
|
-
"null"
|
|
211
|
-
]
|
|
212
|
-
},
|
|
213
|
-
"specDir": {
|
|
214
|
-
"type": [
|
|
215
|
-
"string",
|
|
216
|
-
"null"
|
|
217
|
-
]
|
|
218
|
-
},
|
|
219
|
-
"specPath": {
|
|
220
|
-
"type": [
|
|
221
|
-
"string",
|
|
222
|
-
"null"
|
|
223
|
-
]
|
|
224
|
-
},
|
|
225
|
-
"specHash": {
|
|
226
|
-
"type": [
|
|
227
|
-
"string",
|
|
228
|
-
"null"
|
|
229
|
-
]
|
|
230
|
-
},
|
|
231
|
-
"error": {
|
|
232
|
-
"type": [
|
|
233
|
-
"string",
|
|
234
|
-
"null"
|
|
235
|
-
]
|
|
236
|
-
},
|
|
237
|
-
"createdAt": {
|
|
238
|
-
"type": "string"
|
|
239
|
-
},
|
|
240
|
-
"updatedAt": {
|
|
241
|
-
"type": "string"
|
|
242
|
-
}
|
|
243
|
-
},
|
|
244
|
-
"required": [
|
|
245
|
-
"sessionId",
|
|
246
|
-
"prompt",
|
|
247
|
-
"scope",
|
|
248
|
-
"state",
|
|
249
|
-
"planRunId",
|
|
250
|
-
"questions",
|
|
251
|
-
"answers",
|
|
252
|
-
"priorDecisions",
|
|
253
|
-
"specId",
|
|
254
|
-
"specDir",
|
|
255
|
-
"specPath",
|
|
256
|
-
"specHash",
|
|
257
|
-
"error",
|
|
258
|
-
"createdAt",
|
|
259
|
-
"updatedAt"
|
|
260
|
-
],
|
|
261
|
-
"additionalProperties": false,
|
|
262
|
-
"description": "Durable public projection of a spec interview session."
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
},
|
|
266
|
-
"required": [
|
|
267
|
-
"sessions"
|
|
268
|
-
],
|
|
269
|
-
"additionalProperties": false
|
|
270
|
-
}
|
|
271
|
-
},
|
|
272
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
273
|
-
}
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$ref": "#/definitions/OrchestrateContract",
|
|
3
|
-
"definitions": {
|
|
4
|
-
"OrchestrateContract": {
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"thread_id": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"minLength": 1,
|
|
10
|
-
"description": "Thread the orchestration belongs to."
|
|
11
|
-
},
|
|
12
|
-
"goal": {
|
|
13
|
-
"type": "string",
|
|
14
|
-
"description": "The user goal the planner is orchestrating toward."
|
|
15
|
-
},
|
|
16
|
-
"tool_belt": {
|
|
17
|
-
"type": "array",
|
|
18
|
-
"items": {
|
|
19
|
-
"type": "string",
|
|
20
|
-
"enum": [
|
|
21
|
-
"start_run",
|
|
22
|
-
"race",
|
|
23
|
-
"status",
|
|
24
|
-
"answer_question",
|
|
25
|
-
"apply",
|
|
26
|
-
"review"
|
|
27
|
-
],
|
|
28
|
-
"description": "Tool in the orchestrate planner's belt, mapping 1:1 onto engine entry points: start_run, race (best-of-N), status, answer_question, apply, and review."
|
|
29
|
-
},
|
|
30
|
-
"default": [
|
|
31
|
-
"start_run",
|
|
32
|
-
"race",
|
|
33
|
-
"status",
|
|
34
|
-
"apply",
|
|
35
|
-
"review"
|
|
36
|
-
],
|
|
37
|
-
"description": "Tools the planner may use this run."
|
|
38
|
-
},
|
|
39
|
-
"budget": {
|
|
40
|
-
"type": "object",
|
|
41
|
-
"properties": {
|
|
42
|
-
"paid_budget": {
|
|
43
|
-
"anyOf": [
|
|
44
|
-
{
|
|
45
|
-
"type": "object",
|
|
46
|
-
"properties": {
|
|
47
|
-
"kind": {
|
|
48
|
-
"type": "string",
|
|
49
|
-
"const": "unlimited"
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
"required": [
|
|
53
|
-
"kind"
|
|
54
|
-
],
|
|
55
|
-
"additionalProperties": false
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"type": "object",
|
|
59
|
-
"properties": {
|
|
60
|
-
"kind": {
|
|
61
|
-
"type": "string",
|
|
62
|
-
"const": "finite"
|
|
63
|
-
},
|
|
64
|
-
"maxUsd": {
|
|
65
|
-
"type": "number",
|
|
66
|
-
"minimum": 0
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
"required": [
|
|
70
|
-
"kind",
|
|
71
|
-
"maxUsd"
|
|
72
|
-
],
|
|
73
|
-
"additionalProperties": false
|
|
74
|
-
}
|
|
75
|
-
],
|
|
76
|
-
"description": "Incremental-cash budget: explicitly unlimited or a finite non-negative USD cap.",
|
|
77
|
-
"default": {
|
|
78
|
-
"kind": "unlimited"
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
"max_tool_calls": {
|
|
82
|
-
"anyOf": [
|
|
83
|
-
{
|
|
84
|
-
"type": "integer",
|
|
85
|
-
"exclusiveMinimum": 0
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
"type": "null"
|
|
89
|
-
}
|
|
90
|
-
],
|
|
91
|
-
"default": null,
|
|
92
|
-
"description": "Maximum tool calls the executor will run; null = no cap."
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
"additionalProperties": false,
|
|
96
|
-
"default": {},
|
|
97
|
-
"description": "Budget limits for the orchestration."
|
|
98
|
-
},
|
|
99
|
-
"autonomy": {
|
|
100
|
-
"type": "string",
|
|
101
|
-
"enum": [
|
|
102
|
-
"suggest",
|
|
103
|
-
"auto_safe",
|
|
104
|
-
"auto_full"
|
|
105
|
-
],
|
|
106
|
-
"description": "How much the orchestrate planner may act without confirmation: suggest (user executes the plan), auto_safe (auto-runs only provably safe steps), auto_full (auto-runs everything).",
|
|
107
|
-
"default": "suggest"
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
"required": [
|
|
111
|
-
"thread_id",
|
|
112
|
-
"goal"
|
|
113
|
-
],
|
|
114
|
-
"additionalProperties": false,
|
|
115
|
-
"description": "Contract for one orchestrate run: goal, allowed tool belt, budget, and autonomy level."
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
119
|
-
}
|