@claudexor/schema 3.10.4 → 3.11.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 +24 -0
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +5 -0
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/attempt-execution.d.ts +112 -0
- package/dist/attempt-execution.d.ts.map +1 -0
- package/dist/attempt-execution.js +15 -0
- package/dist/attempt-execution.js.map +1 -0
- package/dist/budget.d.ts +76 -0
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +12 -0
- package/dist/budget.js.map +1 -1
- package/dist/control-harness-list.d.ts +18 -0
- package/dist/control-harness-list.d.ts.map +1 -1
- package/dist/control-harness-models.d.ts +1042 -0
- package/dist/control-harness-models.d.ts.map +1 -0
- package/dist/control-harness-models.js +47 -0
- package/dist/control-harness-models.js.map +1 -0
- package/dist/control-operation-responses.d.ts +73 -21
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +6 -0
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-run-detail.d.ts +270 -85
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-detail.js +12 -1
- package/dist/control-run-detail.js.map +1 -1
- package/dist/control-run-execution.d.ts +6 -0
- package/dist/control-run-execution.d.ts.map +1 -1
- package/dist/control-run-execution.js +6 -0
- package/dist/control-run-execution.js.map +1 -1
- package/dist/control-thread-apply.d.ts +12 -0
- package/dist/control-thread-apply.d.ts.map +1 -1
- package/dist/control.d.ts +181 -146
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +25 -33
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +36 -0
- package/dist/credential-profile-snapshot.d.ts.map +1 -1
- package/dist/decision.d.ts +16 -8
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +5 -0
- package/dist/decision.js.map +1 -1
- package/dist/delivery.d.ts +8 -0
- package/dist/delivery.d.ts.map +1 -1
- package/dist/delivery.js +1 -0
- package/dist/delivery.js.map +1 -1
- package/dist/files-manifest.d.ts +501 -0
- package/dist/files-manifest.d.ts.map +1 -0
- package/dist/files-manifest.js +77 -0
- package/dist/files-manifest.js.map +1 -0
- package/dist/harness-model.d.ts +86 -0
- package/dist/harness-model.d.ts.map +1 -0
- package/dist/harness-model.js +34 -0
- package/dist/harness-model.js.map +1 -0
- package/dist/harness.d.ts +183 -27
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +19 -31
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-run-result.d.ts +379 -56
- package/dist/mcp-run-result.d.ts.map +1 -1
- package/dist/mcp-run-result.js +3 -0
- package/dist/mcp-run-result.js.map +1 -1
- package/dist/model-operation.d.ts +1371 -0
- package/dist/model-operation.d.ts.map +1 -1
- package/dist/model-operation.js +36 -0
- package/dist/model-operation.js.map +1 -1
- package/dist/processing.d.ts +94 -0
- package/dist/processing.d.ts.map +1 -0
- package/dist/processing.js +45 -0
- package/dist/processing.js.map +1 -0
- package/dist/readiness.d.ts +14 -0
- package/dist/readiness.d.ts.map +1 -1
- package/dist/run-facts.d.ts +28 -28
- package/dist/run-facts.js +4 -4
- package/dist/run-facts.js.map +1 -1
- package/dist/run-strategy.d.ts +1 -0
- package/dist/run-strategy.d.ts.map +1 -1
- package/dist/run-strategy.js +2 -0
- package/dist/run-strategy.js.map +1 -1
- package/dist/status-projection.d.ts.map +1 -1
- package/dist/status-projection.js +3 -1
- package/dist/status-projection.js.map +1 -1
- package/dist/surface-run-controls.d.ts.map +1 -1
- package/dist/surface-run-controls.js +22 -1
- package/dist/surface-run-controls.js.map +1 -1
- package/dist/task.d.ts +9 -0
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +2 -0
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +263 -41
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +5 -8
- package/dist/telemetry.js.map +1 -1
- package/dist/workproduct.d.ts +4 -4
- package/dist/workproduct.d.ts.map +1 -1
- package/dist/workproduct.js +4 -4
- package/dist/workproduct.js.map +1 -1
- package/dist/workspace.d.ts +14 -11
- package/dist/workspace.d.ts.map +1 -1
- package/dist/workspace.js +14 -9
- package/dist/workspace.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +25 -0
- package/generated/AttemptExecutionEvidence.schema.json +187 -0
- package/generated/BudgetLease.schema.json +39 -0
- package/generated/ControlApplyCheckRequest.schema.json +7 -0
- package/generated/ControlApplyRequest.schema.json +7 -0
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +25 -0
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +25 -0
- package/generated/ControlDeliveryResponse.schema.json +10 -0
- package/generated/ControlHarnessAccountCatalog.schema.json +208 -0
- package/generated/ControlHarnessAccountModelsResponse.schema.json +320 -0
- package/generated/ControlHarnessListResponse.schema.json +25 -0
- package/generated/ControlHarnessModelsQueryResponse.schema.json +347 -0
- package/generated/ControlHarnessModelsResponse.schema.json +89 -0
- package/generated/ControlModelAccountCatalogResponse.schema.json +339 -0
- package/generated/ControlModelCatalogQueryResponse.schema.json +346 -0
- package/generated/ControlModelCatalogResponse.schema.json +86 -0
- package/generated/ControlModelOperationDetail.schema.json +39 -0
- package/generated/ControlModelSourcesAccountsResponse.schema.json +61 -0
- package/generated/ControlModelSourcesQueryResponse.schema.json +98 -0
- package/generated/ControlRunAgainDraft.schema.json +29 -0
- package/generated/ControlRunDecisionRequest.schema.json +4 -3
- package/generated/ControlRunDecisionResponse.schema.json +2 -1
- package/generated/ControlRunDetail.schema.json +234 -28
- package/generated/ControlRunListResponse.schema.json +18 -4
- package/generated/ControlRunStartRequest.schema.json +29 -0
- package/generated/ControlRunSummary.schema.json +18 -4
- package/generated/ControlThreadApplyResponse.schema.json +10 -0
- package/generated/ControlThreadDetail.schema.json +9 -4
- package/generated/ControlThreadTurnRequest.schema.json +45 -0
- package/generated/DecisionRecord.schema.json +8 -1
- package/generated/HarnessEvent.schema.json +146 -0
- package/generated/HarnessManifest.schema.json +25 -0
- package/generated/HarnessModel.schema.json +89 -0
- package/generated/HarnessStatusDto.schema.json +25 -0
- package/generated/McpRunHandleResult.schema.json +205 -9
- package/generated/McpRunToolResult.schema.json +196 -9
- package/generated/ModelCallRequest.schema.json +9 -0
- package/generated/ModelCallResult.schema.json +124 -0
- package/generated/ProcessingCapability.schema.json +95 -0
- package/generated/ProcessingCostBasis.schema.json +45 -0
- package/generated/ProcessingPreference.schema.json +15 -0
- package/generated/ProcessingReceipt.schema.json +94 -0
- package/generated/RunFacts.schema.json +6 -1
- package/generated/RunTelemetry.schema.json +168 -1
- package/generated/TaskContract.schema.json +9 -0
- package/generated/UsageCostBasis.schema.json +31 -0
- package/generated/UsageCostSummary.schema.json +44 -0
- package/generated/WorkProduct.schema.json +4 -3
- package/generated/WorkspaceEnvelope.schema.json +25 -5
- package/generated/WorkspaceFilesManifest.schema.json +160 -0
- package/generated/WorkspaceKind.schema.json +13 -0
- package/package.json +2 -2
package/dist/mcp-run-result.d.ts
CHANGED
|
@@ -18,6 +18,115 @@ export type RunDetailProblem = z.infer<typeof RunDetailProblem>;
|
|
|
18
18
|
* Text content mirrors it for hosts without structured-output support.
|
|
19
19
|
*/
|
|
20
20
|
export declare const McpRunToolResult: z.ZodObject<{
|
|
21
|
+
attemptExecution: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
22
|
+
attemptId: z.ZodString;
|
|
23
|
+
harnessId: z.ZodString;
|
|
24
|
+
processing: z.ZodOptional<z.ZodObject<{
|
|
25
|
+
requested: z.ZodNullable<z.ZodEnum<["standard", "fast", "economy"]>>;
|
|
26
|
+
submitted: z.ZodNullable<z.ZodEnum<["standard", "fast", "economy"]>>;
|
|
27
|
+
submittedNative: z.ZodNullable<z.ZodString>;
|
|
28
|
+
observed: z.ZodEnum<["standard", "fast", "economy", "mixed", "unknown"]>;
|
|
29
|
+
observedNative: z.ZodArray<z.ZodString, "many">;
|
|
30
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
31
|
+
source: z.ZodString;
|
|
32
|
+
}, "strict", z.ZodTypeAny, {
|
|
33
|
+
requested: "economy" | "fast" | "standard" | null;
|
|
34
|
+
submitted: "economy" | "fast" | "standard" | null;
|
|
35
|
+
submittedNative: string | null;
|
|
36
|
+
observed: "economy" | "fast" | "mixed" | "standard" | "unknown";
|
|
37
|
+
observedNative: string[];
|
|
38
|
+
reason: string | null;
|
|
39
|
+
source: string;
|
|
40
|
+
}, {
|
|
41
|
+
requested: "economy" | "fast" | "standard" | null;
|
|
42
|
+
submitted: "economy" | "fast" | "standard" | null;
|
|
43
|
+
submittedNative: string | null;
|
|
44
|
+
observed: "economy" | "fast" | "mixed" | "standard" | "unknown";
|
|
45
|
+
observedNative: string[];
|
|
46
|
+
reason: string | null;
|
|
47
|
+
source: string;
|
|
48
|
+
}>>;
|
|
49
|
+
processingCostBasis: z.ZodOptional<z.ZodObject<{
|
|
50
|
+
nativeMode: z.ZodNullable<z.ZodString>;
|
|
51
|
+
kind: z.ZodEnum<["included", "paid_credits", "cash", "valuation", "unknown"]>;
|
|
52
|
+
source: z.ZodString;
|
|
53
|
+
}, "strict", z.ZodTypeAny, {
|
|
54
|
+
nativeMode: string | null;
|
|
55
|
+
kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
|
|
56
|
+
source: string;
|
|
57
|
+
}, {
|
|
58
|
+
nativeMode: string | null;
|
|
59
|
+
kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
|
|
60
|
+
source: string;
|
|
61
|
+
}>>;
|
|
62
|
+
usageCost: z.ZodOptional<z.ZodObject<{
|
|
63
|
+
cashUsd: z.ZodNumber;
|
|
64
|
+
valuationUsd: z.ZodNumber;
|
|
65
|
+
unknownUsd: z.ZodNumber;
|
|
66
|
+
cashKnowledge: z.ZodEnum<["exact", "estimated", "unknown"]>;
|
|
67
|
+
valuationKnowledge: z.ZodEnum<["exact", "estimated", "unknown"]>;
|
|
68
|
+
}, "strict", z.ZodTypeAny, {
|
|
69
|
+
cashUsd: number;
|
|
70
|
+
valuationUsd: number;
|
|
71
|
+
unknownUsd: number;
|
|
72
|
+
cashKnowledge: "estimated" | "exact" | "unknown";
|
|
73
|
+
valuationKnowledge: "estimated" | "exact" | "unknown";
|
|
74
|
+
}, {
|
|
75
|
+
cashUsd: number;
|
|
76
|
+
valuationUsd: number;
|
|
77
|
+
unknownUsd: number;
|
|
78
|
+
cashKnowledge: "estimated" | "exact" | "unknown";
|
|
79
|
+
valuationKnowledge: "estimated" | "exact" | "unknown";
|
|
80
|
+
}>>;
|
|
81
|
+
}, "strict", z.ZodTypeAny, {
|
|
82
|
+
attemptId: string;
|
|
83
|
+
harnessId: string;
|
|
84
|
+
processing?: {
|
|
85
|
+
requested: "economy" | "fast" | "standard" | null;
|
|
86
|
+
submitted: "economy" | "fast" | "standard" | null;
|
|
87
|
+
submittedNative: string | null;
|
|
88
|
+
observed: "economy" | "fast" | "mixed" | "standard" | "unknown";
|
|
89
|
+
observedNative: string[];
|
|
90
|
+
reason: string | null;
|
|
91
|
+
source: string;
|
|
92
|
+
} | undefined;
|
|
93
|
+
processingCostBasis?: {
|
|
94
|
+
nativeMode: string | null;
|
|
95
|
+
kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
|
|
96
|
+
source: string;
|
|
97
|
+
} | undefined;
|
|
98
|
+
usageCost?: {
|
|
99
|
+
cashUsd: number;
|
|
100
|
+
valuationUsd: number;
|
|
101
|
+
unknownUsd: number;
|
|
102
|
+
cashKnowledge: "estimated" | "exact" | "unknown";
|
|
103
|
+
valuationKnowledge: "estimated" | "exact" | "unknown";
|
|
104
|
+
} | undefined;
|
|
105
|
+
}, {
|
|
106
|
+
attemptId: string;
|
|
107
|
+
harnessId: string;
|
|
108
|
+
processing?: {
|
|
109
|
+
requested: "economy" | "fast" | "standard" | null;
|
|
110
|
+
submitted: "economy" | "fast" | "standard" | null;
|
|
111
|
+
submittedNative: string | null;
|
|
112
|
+
observed: "economy" | "fast" | "mixed" | "standard" | "unknown";
|
|
113
|
+
observedNative: string[];
|
|
114
|
+
reason: string | null;
|
|
115
|
+
source: string;
|
|
116
|
+
} | undefined;
|
|
117
|
+
processingCostBasis?: {
|
|
118
|
+
nativeMode: string | null;
|
|
119
|
+
kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
|
|
120
|
+
source: string;
|
|
121
|
+
} | undefined;
|
|
122
|
+
usageCost?: {
|
|
123
|
+
cashUsd: number;
|
|
124
|
+
valuationUsd: number;
|
|
125
|
+
unknownUsd: number;
|
|
126
|
+
cashKnowledge: "estimated" | "exact" | "unknown";
|
|
127
|
+
valuationKnowledge: "estimated" | "exact" | "unknown";
|
|
128
|
+
} | undefined;
|
|
129
|
+
}>, "many">>;
|
|
21
130
|
summary: z.ZodString;
|
|
22
131
|
runId: z.ZodNullable<z.ZodString>;
|
|
23
132
|
runDir: z.ZodNullable<z.ZodString>;
|
|
@@ -29,7 +138,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
29
138
|
mode: z.ZodEnum<["ask", "plan", "agent"]>;
|
|
30
139
|
outcome: z.ZodObject<{
|
|
31
140
|
lifecycle: z.ZodEnum<["succeeded", "failed", "cancelled", "interrupted"]>;
|
|
32
|
-
noChanges: z.ZodDefault<z.ZodBoolean
|
|
141
|
+
noChanges: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
|
33
142
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
34
143
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
35
144
|
review_requested: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -69,7 +178,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
69
178
|
}>>;
|
|
70
179
|
}, "strict", z.ZodTypeAny, {
|
|
71
180
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
72
|
-
noChanges: boolean;
|
|
181
|
+
noChanges: boolean | null;
|
|
73
182
|
checks: "failed" | "not_configured" | "passed";
|
|
74
183
|
review: "approved" | "blocked" | "not_run";
|
|
75
184
|
review_requested?: boolean | undefined;
|
|
@@ -85,7 +194,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
85
194
|
} | undefined;
|
|
86
195
|
}, {
|
|
87
196
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
88
|
-
noChanges?: boolean | undefined;
|
|
197
|
+
noChanges?: boolean | null | undefined;
|
|
89
198
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
90
199
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
91
200
|
review_requested?: boolean | undefined;
|
|
@@ -102,42 +211,42 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
102
211
|
}>;
|
|
103
212
|
deliverable: z.ZodObject<{
|
|
104
213
|
present: z.ZodBoolean;
|
|
105
|
-
kind: z.ZodNullable<z.ZodEnum<["answer", "report", "plan", "patch", "structured_output"]>>;
|
|
214
|
+
kind: z.ZodNullable<z.ZodEnum<["answer", "report", "plan", "patch", "files", "structured_output"]>>;
|
|
106
215
|
path: z.ZodNullable<z.ZodString>;
|
|
107
216
|
producer_attempt_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
108
217
|
}, "strict", z.ZodTypeAny, {
|
|
109
218
|
present: boolean;
|
|
110
|
-
kind: "answer" | "patch" | "plan" | "report" | "structured_output" | null;
|
|
219
|
+
kind: "answer" | "files" | "patch" | "plan" | "report" | "structured_output" | null;
|
|
111
220
|
path: string | null;
|
|
112
221
|
producer_attempt_id: string | null;
|
|
113
222
|
}, {
|
|
114
223
|
present: boolean;
|
|
115
|
-
kind: "answer" | "patch" | "plan" | "report" | "structured_output" | null;
|
|
224
|
+
kind: "answer" | "files" | "patch" | "plan" | "report" | "structured_output" | null;
|
|
116
225
|
path: string | null;
|
|
117
226
|
producer_attempt_id?: string | null | undefined;
|
|
118
227
|
}>;
|
|
119
228
|
presentation: z.ZodOptional<z.ZodObject<{
|
|
120
229
|
state: z.ZodEnum<["ready", "diagnostic"]>;
|
|
121
230
|
primary: z.ZodNullable<z.ZodObject<{
|
|
122
|
-
kind: z.ZodEnum<["answer", "report", "plan", "patch", "structured_output", "diagnostic"]>;
|
|
231
|
+
kind: z.ZodEnum<["answer", "report", "plan", "patch", "files", "structured_output", "diagnostic"]>;
|
|
123
232
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
124
233
|
}, "strict", z.ZodTypeAny, {
|
|
125
|
-
kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
|
|
234
|
+
kind: "answer" | "diagnostic" | "files" | "patch" | "plan" | "report" | "structured_output";
|
|
126
235
|
path: string;
|
|
127
236
|
}, {
|
|
128
|
-
kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
|
|
237
|
+
kind: "answer" | "diagnostic" | "files" | "patch" | "plan" | "report" | "structured_output";
|
|
129
238
|
path: string;
|
|
130
239
|
}>>;
|
|
131
240
|
}, "strict", z.ZodTypeAny, {
|
|
132
241
|
state: "diagnostic" | "ready";
|
|
133
242
|
primary: {
|
|
134
|
-
kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
|
|
243
|
+
kind: "answer" | "diagnostic" | "files" | "patch" | "plan" | "report" | "structured_output";
|
|
135
244
|
path: string;
|
|
136
245
|
} | null;
|
|
137
246
|
}, {
|
|
138
247
|
state: "diagnostic" | "ready";
|
|
139
248
|
primary: {
|
|
140
|
-
kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
|
|
249
|
+
kind: "answer" | "diagnostic" | "files" | "patch" | "plan" | "report" | "structured_output";
|
|
141
250
|
path: string;
|
|
142
251
|
} | null;
|
|
143
252
|
}>>;
|
|
@@ -269,7 +378,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
269
378
|
mode: "agent" | "ask" | "plan";
|
|
270
379
|
outcome: {
|
|
271
380
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
272
|
-
noChanges: boolean;
|
|
381
|
+
noChanges: boolean | null;
|
|
273
382
|
checks: "failed" | "not_configured" | "passed";
|
|
274
383
|
review: "approved" | "blocked" | "not_run";
|
|
275
384
|
review_requested?: boolean | undefined;
|
|
@@ -286,14 +395,14 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
286
395
|
};
|
|
287
396
|
deliverable: {
|
|
288
397
|
present: boolean;
|
|
289
|
-
kind: "answer" | "patch" | "plan" | "report" | "structured_output" | null;
|
|
398
|
+
kind: "answer" | "files" | "patch" | "plan" | "report" | "structured_output" | null;
|
|
290
399
|
path: string | null;
|
|
291
400
|
producer_attempt_id: string | null;
|
|
292
401
|
};
|
|
293
402
|
presentation?: {
|
|
294
403
|
state: "diagnostic" | "ready";
|
|
295
404
|
primary: {
|
|
296
|
-
kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
|
|
405
|
+
kind: "answer" | "diagnostic" | "files" | "patch" | "plan" | "report" | "structured_output";
|
|
297
406
|
path: string;
|
|
298
407
|
} | null;
|
|
299
408
|
} | undefined;
|
|
@@ -341,7 +450,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
341
450
|
mode: "agent" | "ask" | "plan";
|
|
342
451
|
outcome: {
|
|
343
452
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
344
|
-
noChanges?: boolean | undefined;
|
|
453
|
+
noChanges?: boolean | null | undefined;
|
|
345
454
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
346
455
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
347
456
|
review_requested?: boolean | undefined;
|
|
@@ -358,14 +467,14 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
358
467
|
};
|
|
359
468
|
deliverable: {
|
|
360
469
|
present: boolean;
|
|
361
|
-
kind: "answer" | "patch" | "plan" | "report" | "structured_output" | null;
|
|
470
|
+
kind: "answer" | "files" | "patch" | "plan" | "report" | "structured_output" | null;
|
|
362
471
|
path: string | null;
|
|
363
472
|
producer_attempt_id?: string | null | undefined;
|
|
364
473
|
};
|
|
365
474
|
presentation?: {
|
|
366
475
|
state: "diagnostic" | "ready";
|
|
367
476
|
primary: {
|
|
368
|
-
kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
|
|
477
|
+
kind: "answer" | "diagnostic" | "files" | "patch" | "plan" | "report" | "structured_output";
|
|
369
478
|
path: string;
|
|
370
479
|
} | null;
|
|
371
480
|
} | undefined;
|
|
@@ -409,7 +518,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
409
518
|
}>>>;
|
|
410
519
|
outcomeFacts: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
411
520
|
lifecycle: z.ZodEnum<["succeeded", "failed", "cancelled", "interrupted"]>;
|
|
412
|
-
noChanges: z.ZodDefault<z.ZodBoolean
|
|
521
|
+
noChanges: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
|
413
522
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
414
523
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
415
524
|
review_requested: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -449,7 +558,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
449
558
|
}>>;
|
|
450
559
|
}, "strict", z.ZodTypeAny, {
|
|
451
560
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
452
|
-
noChanges: boolean;
|
|
561
|
+
noChanges: boolean | null;
|
|
453
562
|
checks: "failed" | "not_configured" | "passed";
|
|
454
563
|
review: "approved" | "blocked" | "not_run";
|
|
455
564
|
review_requested?: boolean | undefined;
|
|
@@ -465,7 +574,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
465
574
|
} | undefined;
|
|
466
575
|
}, {
|
|
467
576
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
468
|
-
noChanges?: boolean | undefined;
|
|
577
|
+
noChanges?: boolean | null | undefined;
|
|
469
578
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
470
579
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
471
580
|
review_requested?: boolean | undefined;
|
|
@@ -644,6 +753,31 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
644
753
|
remediation?: string | null | undefined;
|
|
645
754
|
}>>>;
|
|
646
755
|
}, "strip", z.ZodTypeAny, {
|
|
756
|
+
attemptExecution?: {
|
|
757
|
+
attemptId: string;
|
|
758
|
+
harnessId: string;
|
|
759
|
+
processing?: {
|
|
760
|
+
requested: "economy" | "fast" | "standard" | null;
|
|
761
|
+
submitted: "economy" | "fast" | "standard" | null;
|
|
762
|
+
submittedNative: string | null;
|
|
763
|
+
observed: "economy" | "fast" | "mixed" | "standard" | "unknown";
|
|
764
|
+
observedNative: string[];
|
|
765
|
+
reason: string | null;
|
|
766
|
+
source: string;
|
|
767
|
+
} | undefined;
|
|
768
|
+
processingCostBasis?: {
|
|
769
|
+
nativeMode: string | null;
|
|
770
|
+
kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
|
|
771
|
+
source: string;
|
|
772
|
+
} | undefined;
|
|
773
|
+
usageCost?: {
|
|
774
|
+
cashUsd: number;
|
|
775
|
+
valuationUsd: number;
|
|
776
|
+
unknownUsd: number;
|
|
777
|
+
cashKnowledge: "estimated" | "exact" | "unknown";
|
|
778
|
+
valuationKnowledge: "estimated" | "exact" | "unknown";
|
|
779
|
+
} | undefined;
|
|
780
|
+
}[] | undefined;
|
|
647
781
|
summary: string;
|
|
648
782
|
runId: string | null;
|
|
649
783
|
runDir: string | null;
|
|
@@ -655,7 +789,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
655
789
|
mode: "agent" | "ask" | "plan";
|
|
656
790
|
outcome: {
|
|
657
791
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
658
|
-
noChanges: boolean;
|
|
792
|
+
noChanges: boolean | null;
|
|
659
793
|
checks: "failed" | "not_configured" | "passed";
|
|
660
794
|
review: "approved" | "blocked" | "not_run";
|
|
661
795
|
review_requested?: boolean | undefined;
|
|
@@ -672,14 +806,14 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
672
806
|
};
|
|
673
807
|
deliverable: {
|
|
674
808
|
present: boolean;
|
|
675
|
-
kind: "answer" | "patch" | "plan" | "report" | "structured_output" | null;
|
|
809
|
+
kind: "answer" | "files" | "patch" | "plan" | "report" | "structured_output" | null;
|
|
676
810
|
path: string | null;
|
|
677
811
|
producer_attempt_id: string | null;
|
|
678
812
|
};
|
|
679
813
|
presentation?: {
|
|
680
814
|
state: "diagnostic" | "ready";
|
|
681
815
|
primary: {
|
|
682
|
-
kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
|
|
816
|
+
kind: "answer" | "diagnostic" | "files" | "patch" | "plan" | "report" | "structured_output";
|
|
683
817
|
path: string;
|
|
684
818
|
} | null;
|
|
685
819
|
} | undefined;
|
|
@@ -723,7 +857,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
723
857
|
} | null;
|
|
724
858
|
outcomeFacts: {
|
|
725
859
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
726
|
-
noChanges: boolean;
|
|
860
|
+
noChanges: boolean | null;
|
|
727
861
|
checks: "failed" | "not_configured" | "passed";
|
|
728
862
|
review: "approved" | "blocked" | "not_run";
|
|
729
863
|
review_requested?: boolean | undefined;
|
|
@@ -790,6 +924,31 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
790
924
|
remediation: string | null;
|
|
791
925
|
} | null;
|
|
792
926
|
}, {
|
|
927
|
+
attemptExecution?: {
|
|
928
|
+
attemptId: string;
|
|
929
|
+
harnessId: string;
|
|
930
|
+
processing?: {
|
|
931
|
+
requested: "economy" | "fast" | "standard" | null;
|
|
932
|
+
submitted: "economy" | "fast" | "standard" | null;
|
|
933
|
+
submittedNative: string | null;
|
|
934
|
+
observed: "economy" | "fast" | "mixed" | "standard" | "unknown";
|
|
935
|
+
observedNative: string[];
|
|
936
|
+
reason: string | null;
|
|
937
|
+
source: string;
|
|
938
|
+
} | undefined;
|
|
939
|
+
processingCostBasis?: {
|
|
940
|
+
nativeMode: string | null;
|
|
941
|
+
kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
|
|
942
|
+
source: string;
|
|
943
|
+
} | undefined;
|
|
944
|
+
usageCost?: {
|
|
945
|
+
cashUsd: number;
|
|
946
|
+
valuationUsd: number;
|
|
947
|
+
unknownUsd: number;
|
|
948
|
+
cashKnowledge: "estimated" | "exact" | "unknown";
|
|
949
|
+
valuationKnowledge: "estimated" | "exact" | "unknown";
|
|
950
|
+
} | undefined;
|
|
951
|
+
}[] | undefined;
|
|
793
952
|
summary: string;
|
|
794
953
|
runId: string | null;
|
|
795
954
|
runDir: string | null;
|
|
@@ -801,7 +960,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
801
960
|
mode: "agent" | "ask" | "plan";
|
|
802
961
|
outcome: {
|
|
803
962
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
804
|
-
noChanges?: boolean | undefined;
|
|
963
|
+
noChanges?: boolean | null | undefined;
|
|
805
964
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
806
965
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
807
966
|
review_requested?: boolean | undefined;
|
|
@@ -818,14 +977,14 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
818
977
|
};
|
|
819
978
|
deliverable: {
|
|
820
979
|
present: boolean;
|
|
821
|
-
kind: "answer" | "patch" | "plan" | "report" | "structured_output" | null;
|
|
980
|
+
kind: "answer" | "files" | "patch" | "plan" | "report" | "structured_output" | null;
|
|
822
981
|
path: string | null;
|
|
823
982
|
producer_attempt_id?: string | null | undefined;
|
|
824
983
|
};
|
|
825
984
|
presentation?: {
|
|
826
985
|
state: "diagnostic" | "ready";
|
|
827
986
|
primary: {
|
|
828
|
-
kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
|
|
987
|
+
kind: "answer" | "diagnostic" | "files" | "patch" | "plan" | "report" | "structured_output";
|
|
829
988
|
path: string;
|
|
830
989
|
} | null;
|
|
831
990
|
} | undefined;
|
|
@@ -869,7 +1028,7 @@ export declare const McpRunToolResult: z.ZodObject<{
|
|
|
869
1028
|
} | null | undefined;
|
|
870
1029
|
outcomeFacts?: {
|
|
871
1030
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
872
|
-
noChanges?: boolean | undefined;
|
|
1031
|
+
noChanges?: boolean | null | undefined;
|
|
873
1032
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
874
1033
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
875
1034
|
review_requested?: boolean | undefined;
|
|
@@ -945,6 +1104,115 @@ export type McpRunToolResult = z.infer<typeof McpRunToolResult>;
|
|
|
945
1104
|
* declared shape instead of a free-text blob (v3: no legacy extra fields).
|
|
946
1105
|
*/
|
|
947
1106
|
export declare const McpRunHandleResult: z.ZodObject<{
|
|
1107
|
+
attemptExecution: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1108
|
+
attemptId: z.ZodString;
|
|
1109
|
+
harnessId: z.ZodString;
|
|
1110
|
+
processing: z.ZodOptional<z.ZodObject<{
|
|
1111
|
+
requested: z.ZodNullable<z.ZodEnum<["standard", "fast", "economy"]>>;
|
|
1112
|
+
submitted: z.ZodNullable<z.ZodEnum<["standard", "fast", "economy"]>>;
|
|
1113
|
+
submittedNative: z.ZodNullable<z.ZodString>;
|
|
1114
|
+
observed: z.ZodEnum<["standard", "fast", "economy", "mixed", "unknown"]>;
|
|
1115
|
+
observedNative: z.ZodArray<z.ZodString, "many">;
|
|
1116
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
1117
|
+
source: z.ZodString;
|
|
1118
|
+
}, "strict", z.ZodTypeAny, {
|
|
1119
|
+
requested: "economy" | "fast" | "standard" | null;
|
|
1120
|
+
submitted: "economy" | "fast" | "standard" | null;
|
|
1121
|
+
submittedNative: string | null;
|
|
1122
|
+
observed: "economy" | "fast" | "mixed" | "standard" | "unknown";
|
|
1123
|
+
observedNative: string[];
|
|
1124
|
+
reason: string | null;
|
|
1125
|
+
source: string;
|
|
1126
|
+
}, {
|
|
1127
|
+
requested: "economy" | "fast" | "standard" | null;
|
|
1128
|
+
submitted: "economy" | "fast" | "standard" | null;
|
|
1129
|
+
submittedNative: string | null;
|
|
1130
|
+
observed: "economy" | "fast" | "mixed" | "standard" | "unknown";
|
|
1131
|
+
observedNative: string[];
|
|
1132
|
+
reason: string | null;
|
|
1133
|
+
source: string;
|
|
1134
|
+
}>>;
|
|
1135
|
+
processingCostBasis: z.ZodOptional<z.ZodObject<{
|
|
1136
|
+
nativeMode: z.ZodNullable<z.ZodString>;
|
|
1137
|
+
kind: z.ZodEnum<["included", "paid_credits", "cash", "valuation", "unknown"]>;
|
|
1138
|
+
source: z.ZodString;
|
|
1139
|
+
}, "strict", z.ZodTypeAny, {
|
|
1140
|
+
nativeMode: string | null;
|
|
1141
|
+
kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
|
|
1142
|
+
source: string;
|
|
1143
|
+
}, {
|
|
1144
|
+
nativeMode: string | null;
|
|
1145
|
+
kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
|
|
1146
|
+
source: string;
|
|
1147
|
+
}>>;
|
|
1148
|
+
usageCost: z.ZodOptional<z.ZodObject<{
|
|
1149
|
+
cashUsd: z.ZodNumber;
|
|
1150
|
+
valuationUsd: z.ZodNumber;
|
|
1151
|
+
unknownUsd: z.ZodNumber;
|
|
1152
|
+
cashKnowledge: z.ZodEnum<["exact", "estimated", "unknown"]>;
|
|
1153
|
+
valuationKnowledge: z.ZodEnum<["exact", "estimated", "unknown"]>;
|
|
1154
|
+
}, "strict", z.ZodTypeAny, {
|
|
1155
|
+
cashUsd: number;
|
|
1156
|
+
valuationUsd: number;
|
|
1157
|
+
unknownUsd: number;
|
|
1158
|
+
cashKnowledge: "estimated" | "exact" | "unknown";
|
|
1159
|
+
valuationKnowledge: "estimated" | "exact" | "unknown";
|
|
1160
|
+
}, {
|
|
1161
|
+
cashUsd: number;
|
|
1162
|
+
valuationUsd: number;
|
|
1163
|
+
unknownUsd: number;
|
|
1164
|
+
cashKnowledge: "estimated" | "exact" | "unknown";
|
|
1165
|
+
valuationKnowledge: "estimated" | "exact" | "unknown";
|
|
1166
|
+
}>>;
|
|
1167
|
+
}, "strict", z.ZodTypeAny, {
|
|
1168
|
+
attemptId: string;
|
|
1169
|
+
harnessId: string;
|
|
1170
|
+
processing?: {
|
|
1171
|
+
requested: "economy" | "fast" | "standard" | null;
|
|
1172
|
+
submitted: "economy" | "fast" | "standard" | null;
|
|
1173
|
+
submittedNative: string | null;
|
|
1174
|
+
observed: "economy" | "fast" | "mixed" | "standard" | "unknown";
|
|
1175
|
+
observedNative: string[];
|
|
1176
|
+
reason: string | null;
|
|
1177
|
+
source: string;
|
|
1178
|
+
} | undefined;
|
|
1179
|
+
processingCostBasis?: {
|
|
1180
|
+
nativeMode: string | null;
|
|
1181
|
+
kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
|
|
1182
|
+
source: string;
|
|
1183
|
+
} | undefined;
|
|
1184
|
+
usageCost?: {
|
|
1185
|
+
cashUsd: number;
|
|
1186
|
+
valuationUsd: number;
|
|
1187
|
+
unknownUsd: number;
|
|
1188
|
+
cashKnowledge: "estimated" | "exact" | "unknown";
|
|
1189
|
+
valuationKnowledge: "estimated" | "exact" | "unknown";
|
|
1190
|
+
} | undefined;
|
|
1191
|
+
}, {
|
|
1192
|
+
attemptId: string;
|
|
1193
|
+
harnessId: string;
|
|
1194
|
+
processing?: {
|
|
1195
|
+
requested: "economy" | "fast" | "standard" | null;
|
|
1196
|
+
submitted: "economy" | "fast" | "standard" | null;
|
|
1197
|
+
submittedNative: string | null;
|
|
1198
|
+
observed: "economy" | "fast" | "mixed" | "standard" | "unknown";
|
|
1199
|
+
observedNative: string[];
|
|
1200
|
+
reason: string | null;
|
|
1201
|
+
source: string;
|
|
1202
|
+
} | undefined;
|
|
1203
|
+
processingCostBasis?: {
|
|
1204
|
+
nativeMode: string | null;
|
|
1205
|
+
kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
|
|
1206
|
+
source: string;
|
|
1207
|
+
} | undefined;
|
|
1208
|
+
usageCost?: {
|
|
1209
|
+
cashUsd: number;
|
|
1210
|
+
valuationUsd: number;
|
|
1211
|
+
unknownUsd: number;
|
|
1212
|
+
cashKnowledge: "estimated" | "exact" | "unknown";
|
|
1213
|
+
valuationKnowledge: "estimated" | "exact" | "unknown";
|
|
1214
|
+
} | undefined;
|
|
1215
|
+
}>, "many">>;
|
|
948
1216
|
summary: z.ZodString;
|
|
949
1217
|
runId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
950
1218
|
runDir: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -956,7 +1224,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
956
1224
|
mode: z.ZodEnum<["ask", "plan", "agent"]>;
|
|
957
1225
|
outcome: z.ZodObject<{
|
|
958
1226
|
lifecycle: z.ZodEnum<["succeeded", "failed", "cancelled", "interrupted"]>;
|
|
959
|
-
noChanges: z.ZodDefault<z.ZodBoolean
|
|
1227
|
+
noChanges: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
|
960
1228
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
961
1229
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
962
1230
|
review_requested: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -996,7 +1264,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
996
1264
|
}>>;
|
|
997
1265
|
}, "strict", z.ZodTypeAny, {
|
|
998
1266
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
999
|
-
noChanges: boolean;
|
|
1267
|
+
noChanges: boolean | null;
|
|
1000
1268
|
checks: "failed" | "not_configured" | "passed";
|
|
1001
1269
|
review: "approved" | "blocked" | "not_run";
|
|
1002
1270
|
review_requested?: boolean | undefined;
|
|
@@ -1012,7 +1280,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1012
1280
|
} | undefined;
|
|
1013
1281
|
}, {
|
|
1014
1282
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
1015
|
-
noChanges?: boolean | undefined;
|
|
1283
|
+
noChanges?: boolean | null | undefined;
|
|
1016
1284
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
1017
1285
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
1018
1286
|
review_requested?: boolean | undefined;
|
|
@@ -1029,42 +1297,42 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1029
1297
|
}>;
|
|
1030
1298
|
deliverable: z.ZodObject<{
|
|
1031
1299
|
present: z.ZodBoolean;
|
|
1032
|
-
kind: z.ZodNullable<z.ZodEnum<["answer", "report", "plan", "patch", "structured_output"]>>;
|
|
1300
|
+
kind: z.ZodNullable<z.ZodEnum<["answer", "report", "plan", "patch", "files", "structured_output"]>>;
|
|
1033
1301
|
path: z.ZodNullable<z.ZodString>;
|
|
1034
1302
|
producer_attempt_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1035
1303
|
}, "strict", z.ZodTypeAny, {
|
|
1036
1304
|
present: boolean;
|
|
1037
|
-
kind: "answer" | "patch" | "plan" | "report" | "structured_output" | null;
|
|
1305
|
+
kind: "answer" | "files" | "patch" | "plan" | "report" | "structured_output" | null;
|
|
1038
1306
|
path: string | null;
|
|
1039
1307
|
producer_attempt_id: string | null;
|
|
1040
1308
|
}, {
|
|
1041
1309
|
present: boolean;
|
|
1042
|
-
kind: "answer" | "patch" | "plan" | "report" | "structured_output" | null;
|
|
1310
|
+
kind: "answer" | "files" | "patch" | "plan" | "report" | "structured_output" | null;
|
|
1043
1311
|
path: string | null;
|
|
1044
1312
|
producer_attempt_id?: string | null | undefined;
|
|
1045
1313
|
}>;
|
|
1046
1314
|
presentation: z.ZodOptional<z.ZodObject<{
|
|
1047
1315
|
state: z.ZodEnum<["ready", "diagnostic"]>;
|
|
1048
1316
|
primary: z.ZodNullable<z.ZodObject<{
|
|
1049
|
-
kind: z.ZodEnum<["answer", "report", "plan", "patch", "structured_output", "diagnostic"]>;
|
|
1317
|
+
kind: z.ZodEnum<["answer", "report", "plan", "patch", "files", "structured_output", "diagnostic"]>;
|
|
1050
1318
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
1051
1319
|
}, "strict", z.ZodTypeAny, {
|
|
1052
|
-
kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
|
|
1320
|
+
kind: "answer" | "diagnostic" | "files" | "patch" | "plan" | "report" | "structured_output";
|
|
1053
1321
|
path: string;
|
|
1054
1322
|
}, {
|
|
1055
|
-
kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
|
|
1323
|
+
kind: "answer" | "diagnostic" | "files" | "patch" | "plan" | "report" | "structured_output";
|
|
1056
1324
|
path: string;
|
|
1057
1325
|
}>>;
|
|
1058
1326
|
}, "strict", z.ZodTypeAny, {
|
|
1059
1327
|
state: "diagnostic" | "ready";
|
|
1060
1328
|
primary: {
|
|
1061
|
-
kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
|
|
1329
|
+
kind: "answer" | "diagnostic" | "files" | "patch" | "plan" | "report" | "structured_output";
|
|
1062
1330
|
path: string;
|
|
1063
1331
|
} | null;
|
|
1064
1332
|
}, {
|
|
1065
1333
|
state: "diagnostic" | "ready";
|
|
1066
1334
|
primary: {
|
|
1067
|
-
kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
|
|
1335
|
+
kind: "answer" | "diagnostic" | "files" | "patch" | "plan" | "report" | "structured_output";
|
|
1068
1336
|
path: string;
|
|
1069
1337
|
} | null;
|
|
1070
1338
|
}>>;
|
|
@@ -1196,7 +1464,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1196
1464
|
mode: "agent" | "ask" | "plan";
|
|
1197
1465
|
outcome: {
|
|
1198
1466
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
1199
|
-
noChanges: boolean;
|
|
1467
|
+
noChanges: boolean | null;
|
|
1200
1468
|
checks: "failed" | "not_configured" | "passed";
|
|
1201
1469
|
review: "approved" | "blocked" | "not_run";
|
|
1202
1470
|
review_requested?: boolean | undefined;
|
|
@@ -1213,14 +1481,14 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1213
1481
|
};
|
|
1214
1482
|
deliverable: {
|
|
1215
1483
|
present: boolean;
|
|
1216
|
-
kind: "answer" | "patch" | "plan" | "report" | "structured_output" | null;
|
|
1484
|
+
kind: "answer" | "files" | "patch" | "plan" | "report" | "structured_output" | null;
|
|
1217
1485
|
path: string | null;
|
|
1218
1486
|
producer_attempt_id: string | null;
|
|
1219
1487
|
};
|
|
1220
1488
|
presentation?: {
|
|
1221
1489
|
state: "diagnostic" | "ready";
|
|
1222
1490
|
primary: {
|
|
1223
|
-
kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
|
|
1491
|
+
kind: "answer" | "diagnostic" | "files" | "patch" | "plan" | "report" | "structured_output";
|
|
1224
1492
|
path: string;
|
|
1225
1493
|
} | null;
|
|
1226
1494
|
} | undefined;
|
|
@@ -1268,7 +1536,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1268
1536
|
mode: "agent" | "ask" | "plan";
|
|
1269
1537
|
outcome: {
|
|
1270
1538
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
1271
|
-
noChanges?: boolean | undefined;
|
|
1539
|
+
noChanges?: boolean | null | undefined;
|
|
1272
1540
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
1273
1541
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
1274
1542
|
review_requested?: boolean | undefined;
|
|
@@ -1285,14 +1553,14 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1285
1553
|
};
|
|
1286
1554
|
deliverable: {
|
|
1287
1555
|
present: boolean;
|
|
1288
|
-
kind: "answer" | "patch" | "plan" | "report" | "structured_output" | null;
|
|
1556
|
+
kind: "answer" | "files" | "patch" | "plan" | "report" | "structured_output" | null;
|
|
1289
1557
|
path: string | null;
|
|
1290
1558
|
producer_attempt_id?: string | null | undefined;
|
|
1291
1559
|
};
|
|
1292
1560
|
presentation?: {
|
|
1293
1561
|
state: "diagnostic" | "ready";
|
|
1294
1562
|
primary: {
|
|
1295
|
-
kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
|
|
1563
|
+
kind: "answer" | "diagnostic" | "files" | "patch" | "plan" | "report" | "structured_output";
|
|
1296
1564
|
path: string;
|
|
1297
1565
|
} | null;
|
|
1298
1566
|
} | undefined;
|
|
@@ -1338,7 +1606,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1338
1606
|
pendingInteractions: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1339
1607
|
outcomeFacts: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1340
1608
|
lifecycle: z.ZodEnum<["succeeded", "failed", "cancelled", "interrupted"]>;
|
|
1341
|
-
noChanges: z.ZodDefault<z.ZodBoolean
|
|
1609
|
+
noChanges: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
|
1342
1610
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
1343
1611
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
1344
1612
|
review_requested: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1378,7 +1646,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1378
1646
|
}>>;
|
|
1379
1647
|
}, "strict", z.ZodTypeAny, {
|
|
1380
1648
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
1381
|
-
noChanges: boolean;
|
|
1649
|
+
noChanges: boolean | null;
|
|
1382
1650
|
checks: "failed" | "not_configured" | "passed";
|
|
1383
1651
|
review: "approved" | "blocked" | "not_run";
|
|
1384
1652
|
review_requested?: boolean | undefined;
|
|
@@ -1394,7 +1662,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1394
1662
|
} | undefined;
|
|
1395
1663
|
}, {
|
|
1396
1664
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
1397
|
-
noChanges?: boolean | undefined;
|
|
1665
|
+
noChanges?: boolean | null | undefined;
|
|
1398
1666
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
1399
1667
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
1400
1668
|
review_requested?: boolean | undefined;
|
|
@@ -1527,6 +1795,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1527
1795
|
* run's real resource cost (cash $0 + non-null valuation) without reading
|
|
1528
1796
|
* local artifacts; null when no budget snapshot is available. */
|
|
1529
1797
|
budget: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1798
|
+
cashKnowledge: z.ZodOptional<z.ZodEnum<["exact", "estimated", "unknown"]>>;
|
|
1530
1799
|
paidBudget: z.ZodDefault<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
1531
1800
|
kind: z.ZodLiteral<"unlimited">;
|
|
1532
1801
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1551,6 +1820,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1551
1820
|
source: z.ZodDefault<z.ZodEnum<["decision", "events", "settings", "unknown"]>>;
|
|
1552
1821
|
evidence: z.ZodDefault<z.ZodEnum<["complete", "incomplete", "unavailable"]>>;
|
|
1553
1822
|
}, "strip", z.ZodTypeAny, {
|
|
1823
|
+
cashKnowledge?: "estimated" | "exact" | "unknown" | undefined;
|
|
1554
1824
|
paidBudget: {
|
|
1555
1825
|
kind: "unlimited";
|
|
1556
1826
|
} | {
|
|
@@ -1565,6 +1835,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1565
1835
|
source: "decision" | "events" | "settings" | "unknown";
|
|
1566
1836
|
evidence: "complete" | "incomplete" | "unavailable";
|
|
1567
1837
|
}, {
|
|
1838
|
+
cashKnowledge?: "estimated" | "exact" | "unknown" | undefined;
|
|
1568
1839
|
paidBudget?: {
|
|
1569
1840
|
kind: "unlimited";
|
|
1570
1841
|
} | {
|
|
@@ -1626,6 +1897,31 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1626
1897
|
retryable: boolean | null;
|
|
1627
1898
|
}>>>;
|
|
1628
1899
|
}, "strict", z.ZodTypeAny, {
|
|
1900
|
+
attemptExecution?: {
|
|
1901
|
+
attemptId: string;
|
|
1902
|
+
harnessId: string;
|
|
1903
|
+
processing?: {
|
|
1904
|
+
requested: "economy" | "fast" | "standard" | null;
|
|
1905
|
+
submitted: "economy" | "fast" | "standard" | null;
|
|
1906
|
+
submittedNative: string | null;
|
|
1907
|
+
observed: "economy" | "fast" | "mixed" | "standard" | "unknown";
|
|
1908
|
+
observedNative: string[];
|
|
1909
|
+
reason: string | null;
|
|
1910
|
+
source: string;
|
|
1911
|
+
} | undefined;
|
|
1912
|
+
processingCostBasis?: {
|
|
1913
|
+
nativeMode: string | null;
|
|
1914
|
+
kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
|
|
1915
|
+
source: string;
|
|
1916
|
+
} | undefined;
|
|
1917
|
+
usageCost?: {
|
|
1918
|
+
cashUsd: number;
|
|
1919
|
+
valuationUsd: number;
|
|
1920
|
+
unknownUsd: number;
|
|
1921
|
+
cashKnowledge: "estimated" | "exact" | "unknown";
|
|
1922
|
+
valuationKnowledge: "estimated" | "exact" | "unknown";
|
|
1923
|
+
} | undefined;
|
|
1924
|
+
}[] | undefined;
|
|
1629
1925
|
summary: string;
|
|
1630
1926
|
runId: string | null;
|
|
1631
1927
|
runDir: string | null;
|
|
@@ -1637,7 +1933,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1637
1933
|
mode: "agent" | "ask" | "plan";
|
|
1638
1934
|
outcome: {
|
|
1639
1935
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
1640
|
-
noChanges: boolean;
|
|
1936
|
+
noChanges: boolean | null;
|
|
1641
1937
|
checks: "failed" | "not_configured" | "passed";
|
|
1642
1938
|
review: "approved" | "blocked" | "not_run";
|
|
1643
1939
|
review_requested?: boolean | undefined;
|
|
@@ -1654,14 +1950,14 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1654
1950
|
};
|
|
1655
1951
|
deliverable: {
|
|
1656
1952
|
present: boolean;
|
|
1657
|
-
kind: "answer" | "patch" | "plan" | "report" | "structured_output" | null;
|
|
1953
|
+
kind: "answer" | "files" | "patch" | "plan" | "report" | "structured_output" | null;
|
|
1658
1954
|
path: string | null;
|
|
1659
1955
|
producer_attempt_id: string | null;
|
|
1660
1956
|
};
|
|
1661
1957
|
presentation?: {
|
|
1662
1958
|
state: "diagnostic" | "ready";
|
|
1663
1959
|
primary: {
|
|
1664
|
-
kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
|
|
1960
|
+
kind: "answer" | "diagnostic" | "files" | "patch" | "plan" | "report" | "structured_output";
|
|
1665
1961
|
path: string;
|
|
1666
1962
|
} | null;
|
|
1667
1963
|
} | undefined;
|
|
@@ -1707,7 +2003,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1707
2003
|
pendingInteractions: number | null;
|
|
1708
2004
|
outcomeFacts: {
|
|
1709
2005
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
1710
|
-
noChanges: boolean;
|
|
2006
|
+
noChanges: boolean | null;
|
|
1711
2007
|
checks: "failed" | "not_configured" | "passed";
|
|
1712
2008
|
review: "approved" | "blocked" | "not_run";
|
|
1713
2009
|
review_requested?: boolean | undefined;
|
|
@@ -1760,6 +2056,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1760
2056
|
}[];
|
|
1761
2057
|
} | null;
|
|
1762
2058
|
budget: {
|
|
2059
|
+
cashKnowledge?: "estimated" | "exact" | "unknown" | undefined;
|
|
1763
2060
|
paidBudget: {
|
|
1764
2061
|
kind: "unlimited";
|
|
1765
2062
|
} | {
|
|
@@ -1789,6 +2086,31 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1789
2086
|
retryable: boolean | null;
|
|
1790
2087
|
} | null;
|
|
1791
2088
|
}, {
|
|
2089
|
+
attemptExecution?: {
|
|
2090
|
+
attemptId: string;
|
|
2091
|
+
harnessId: string;
|
|
2092
|
+
processing?: {
|
|
2093
|
+
requested: "economy" | "fast" | "standard" | null;
|
|
2094
|
+
submitted: "economy" | "fast" | "standard" | null;
|
|
2095
|
+
submittedNative: string | null;
|
|
2096
|
+
observed: "economy" | "fast" | "mixed" | "standard" | "unknown";
|
|
2097
|
+
observedNative: string[];
|
|
2098
|
+
reason: string | null;
|
|
2099
|
+
source: string;
|
|
2100
|
+
} | undefined;
|
|
2101
|
+
processingCostBasis?: {
|
|
2102
|
+
nativeMode: string | null;
|
|
2103
|
+
kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
|
|
2104
|
+
source: string;
|
|
2105
|
+
} | undefined;
|
|
2106
|
+
usageCost?: {
|
|
2107
|
+
cashUsd: number;
|
|
2108
|
+
valuationUsd: number;
|
|
2109
|
+
unknownUsd: number;
|
|
2110
|
+
cashKnowledge: "estimated" | "exact" | "unknown";
|
|
2111
|
+
valuationKnowledge: "estimated" | "exact" | "unknown";
|
|
2112
|
+
} | undefined;
|
|
2113
|
+
}[] | undefined;
|
|
1792
2114
|
summary: string;
|
|
1793
2115
|
runId?: string | null | undefined;
|
|
1794
2116
|
runDir?: string | null | undefined;
|
|
@@ -1800,7 +2122,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1800
2122
|
mode: "agent" | "ask" | "plan";
|
|
1801
2123
|
outcome: {
|
|
1802
2124
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
1803
|
-
noChanges?: boolean | undefined;
|
|
2125
|
+
noChanges?: boolean | null | undefined;
|
|
1804
2126
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
1805
2127
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
1806
2128
|
review_requested?: boolean | undefined;
|
|
@@ -1817,14 +2139,14 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1817
2139
|
};
|
|
1818
2140
|
deliverable: {
|
|
1819
2141
|
present: boolean;
|
|
1820
|
-
kind: "answer" | "patch" | "plan" | "report" | "structured_output" | null;
|
|
2142
|
+
kind: "answer" | "files" | "patch" | "plan" | "report" | "structured_output" | null;
|
|
1821
2143
|
path: string | null;
|
|
1822
2144
|
producer_attempt_id?: string | null | undefined;
|
|
1823
2145
|
};
|
|
1824
2146
|
presentation?: {
|
|
1825
2147
|
state: "diagnostic" | "ready";
|
|
1826
2148
|
primary: {
|
|
1827
|
-
kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
|
|
2149
|
+
kind: "answer" | "diagnostic" | "files" | "patch" | "plan" | "report" | "structured_output";
|
|
1828
2150
|
path: string;
|
|
1829
2151
|
} | null;
|
|
1830
2152
|
} | undefined;
|
|
@@ -1870,7 +2192,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1870
2192
|
pendingInteractions?: number | null | undefined;
|
|
1871
2193
|
outcomeFacts?: {
|
|
1872
2194
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
1873
|
-
noChanges?: boolean | undefined;
|
|
2195
|
+
noChanges?: boolean | null | undefined;
|
|
1874
2196
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
1875
2197
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
1876
2198
|
review_requested?: boolean | undefined;
|
|
@@ -1923,6 +2245,7 @@ export declare const McpRunHandleResult: z.ZodObject<{
|
|
|
1923
2245
|
}[] | undefined;
|
|
1924
2246
|
} | null | undefined;
|
|
1925
2247
|
budget?: {
|
|
2248
|
+
cashKnowledge?: "estimated" | "exact" | "unknown" | undefined;
|
|
1926
2249
|
paidBudget?: {
|
|
1927
2250
|
kind: "unlimited";
|
|
1928
2251
|
} | {
|