@claudexor/schema 3.10.5 → 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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"control-harness-models.d.ts","sourceRoot":"","sources":["../src/control-harness-models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAK3B;;;;;;GAMG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAYrC;2EACuE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASF,CAAC;AAC1E,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAExF,eAAO,MAAM,4BAA4B;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAmCzE,CAAC;AACH,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { z } from "zod/v3";
|
|
2
|
+
import { Id, IsoTimestamp, NonBlankString } from "./primitives.js";
|
|
3
|
+
import { HarnessModel } from "./harness.js";
|
|
4
|
+
import { AccountCatalogAvailability } from "./model-operation.js";
|
|
5
|
+
/**
|
|
6
|
+
* Models enumerable for one harness. `source` is honest about provenance:
|
|
7
|
+
* "api" when the adapter implemented a real enumeration (raw-api / OpenAI
|
|
8
|
+
* `GET /v1/models`), "manifest" when the list is the manifest's known-good
|
|
9
|
+
* hint set, "none" when the harness has no model truth source at all (the
|
|
10
|
+
* list is then empty and explicit models are refused under strict model-truth validation).
|
|
11
|
+
*/
|
|
12
|
+
export const ControlHarnessModelsResponse = z
|
|
13
|
+
.object({
|
|
14
|
+
harnessId: z.string().describe("Harness the models belong to."),
|
|
15
|
+
models: z
|
|
16
|
+
.array(HarnessModel)
|
|
17
|
+
.default([])
|
|
18
|
+
.describe("Enumerable models; empty when the harness has no model truth source."),
|
|
19
|
+
source: z
|
|
20
|
+
.enum(["api", "manifest", "none"])
|
|
21
|
+
.describe("Provenance of the list: api (a live vendor enumeration), manifest (the manifest's known-good hint set), or none (no model truth source; explicit models are refused)."),
|
|
22
|
+
/** Freshness note for manifest-sourced lists: the vendor CLI version the
|
|
23
|
+
* known-model hints were last verified against (null for api/none). */
|
|
24
|
+
verifiedAgainst: z
|
|
25
|
+
.string()
|
|
26
|
+
.nullable()
|
|
27
|
+
.default(null)
|
|
28
|
+
.describe("Vendor CLI version the manifest hints were last verified against; null for api/none sources."),
|
|
29
|
+
})
|
|
30
|
+
.describe("Models enumerable for one harness, with honest provenance.");
|
|
31
|
+
export const ControlHarnessAccountCatalog = ControlHarnessModelsResponse.extend({
|
|
32
|
+
credentialProfileId: Id,
|
|
33
|
+
observedAt: IsoTimestamp.nullable().describe("Original account catalog observation, or null for manifest hints whose observation time is unknown."),
|
|
34
|
+
provenance: NonBlankString,
|
|
35
|
+
}).strict();
|
|
36
|
+
export const ControlHarnessAccountModelsResponse = z
|
|
37
|
+
.object({
|
|
38
|
+
harnessId: Id,
|
|
39
|
+
accounts: z.array(AccountCatalogAvailability.extend({ catalog: ControlHarnessAccountCatalog.nullable() })),
|
|
40
|
+
partial: z.boolean(),
|
|
41
|
+
})
|
|
42
|
+
.strict();
|
|
43
|
+
export const ControlHarnessModelsQueryResponse = z.union([
|
|
44
|
+
ControlHarnessModelsResponse.strict(),
|
|
45
|
+
ControlHarnessAccountModelsResponse,
|
|
46
|
+
]);
|
|
47
|
+
//# sourceMappingURL=control-harness-models.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"control-harness-models.js","sourceRoot":"","sources":["../src/control-harness-models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,EAAE,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAElE;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC;KAC1C,MAAM,CAAC;IACN,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,+BAA+B,CAAC;IAC/D,MAAM,EAAE,CAAC;SACN,KAAK,CAAC,YAAY,CAAC;SACnB,OAAO,CAAC,EAAE,CAAC;SACX,QAAQ,CAAC,sEAAsE,CAAC;IACnF,MAAM,EAAE,CAAC;SACN,IAAI,CAAC,CAAC,KAAK,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;SACjC,QAAQ,CACP,uKAAuK,CACxK;IACH;2EACuE;IACvE,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CACP,8FAA8F,CAC/F;CACJ,CAAC;KACD,QAAQ,CAAC,4DAA4D,CAAC,CAAC;AAG1E,MAAM,CAAC,MAAM,4BAA4B,GAAG,4BAA4B,CAAC,MAAM,CAAC;IAC9E,mBAAmB,EAAE,EAAE;IACvB,UAAU,EAAE,YAAY,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC1C,qGAAqG,CACtG;IACD,UAAU,EAAE,cAAc;CAC3B,CAAC,CAAC,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,mCAAmC,GAAG,CAAC;KACjD,MAAM,CAAC;IACN,SAAS,EAAE,EAAE;IACb,QAAQ,EAAE,CAAC,CAAC,KAAK,CACf,0BAA0B,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,4BAA4B,CAAC,QAAQ,EAAE,EAAE,CAAC,CACxF;IACD,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;CACrB,CAAC;KACD,MAAM,EAAE,CAAC;AAIZ,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAAC;IACvD,4BAA4B,CAAC,MAAM,EAAE;IACrC,mCAAmC;CACpC,CAAC,CAAC"}
|
|
@@ -172,16 +172,19 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
172
172
|
model: z.ZodOptional<z.ZodString>;
|
|
173
173
|
effort: z.ZodOptional<z.ZodString>;
|
|
174
174
|
credentialProfileId: z.ZodOptional<z.ZodString>;
|
|
175
|
+
processingPreference: z.ZodOptional<z.ZodEnum<["standard", "fast", "economy"]>>;
|
|
175
176
|
}, "strict", z.ZodTypeAny, {
|
|
176
177
|
harness: string;
|
|
177
178
|
model?: string | undefined;
|
|
178
179
|
effort?: string | undefined;
|
|
179
180
|
credentialProfileId?: string | undefined;
|
|
181
|
+
processingPreference?: "economy" | "fast" | "standard" | undefined;
|
|
180
182
|
}, {
|
|
181
183
|
harness: string;
|
|
182
184
|
model?: string | undefined;
|
|
183
185
|
effort?: string | undefined;
|
|
184
186
|
credentialProfileId?: string | undefined;
|
|
187
|
+
processingPreference?: "economy" | "fast" | "standard" | undefined;
|
|
185
188
|
}>, "many">>;
|
|
186
189
|
protectedPathApprovals: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
187
190
|
path: z.ZodString;
|
|
@@ -344,7 +347,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
344
347
|
outputReadyState: z.ZodDefault<z.ZodEnum<["pending", "finalizing", "ready", "diagnostic"]>>;
|
|
345
348
|
toolWarningsTotal: z.ZodDefault<z.ZodNumber>;
|
|
346
349
|
result: z.ZodDefault<z.ZodObject<{
|
|
347
|
-
kind: z.ZodDefault<z.ZodEnum<["patch", "answer", "plan", "report", "none"]>>;
|
|
350
|
+
kind: z.ZodDefault<z.ZodEnum<["patch", "files", "answer", "plan", "report", "none"]>>;
|
|
348
351
|
diffStat: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
349
352
|
files: z.ZodNumber;
|
|
350
353
|
additions: z.ZodNumber;
|
|
@@ -360,13 +363,13 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
360
363
|
}>>>;
|
|
361
364
|
blockers: z.ZodDefault<z.ZodNumber>;
|
|
362
365
|
adopted: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
|
363
|
-
applyState: z.ZodDefault<z.ZodEnum<["not_applied", "applied", "applied_review_blocked", "reverted"]>>;
|
|
366
|
+
applyState: z.ZodDefault<z.ZodEnum<["not_applied", "applied", "applied_review_blocked", "reverted", "discarded"]>>;
|
|
364
367
|
preTurnSha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
365
368
|
postTurnSha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
366
369
|
revertAnchorId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
367
370
|
revertable: z.ZodDefault<z.ZodBoolean>;
|
|
368
371
|
}, "strip", z.ZodTypeAny, {
|
|
369
|
-
kind: "answer" | "none" | "patch" | "plan" | "report";
|
|
372
|
+
kind: "answer" | "files" | "none" | "patch" | "plan" | "report";
|
|
370
373
|
diffStat: {
|
|
371
374
|
files: number;
|
|
372
375
|
additions: number;
|
|
@@ -374,13 +377,13 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
374
377
|
} | null;
|
|
375
378
|
blockers: number;
|
|
376
379
|
adopted: boolean | null;
|
|
377
|
-
applyState: "applied" | "applied_review_blocked" | "not_applied" | "reverted";
|
|
380
|
+
applyState: "applied" | "applied_review_blocked" | "discarded" | "not_applied" | "reverted";
|
|
378
381
|
preTurnSha: string | null;
|
|
379
382
|
postTurnSha: string | null;
|
|
380
383
|
revertAnchorId: string | null;
|
|
381
384
|
revertable: boolean;
|
|
382
385
|
}, {
|
|
383
|
-
kind?: "answer" | "none" | "patch" | "plan" | "report" | undefined;
|
|
386
|
+
kind?: "answer" | "files" | "none" | "patch" | "plan" | "report" | undefined;
|
|
384
387
|
diffStat?: {
|
|
385
388
|
files: number;
|
|
386
389
|
additions: number;
|
|
@@ -388,7 +391,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
388
391
|
} | null | undefined;
|
|
389
392
|
blockers?: number | undefined;
|
|
390
393
|
adopted?: boolean | null | undefined;
|
|
391
|
-
applyState?: "applied" | "applied_review_blocked" | "not_applied" | "reverted" | undefined;
|
|
394
|
+
applyState?: "applied" | "applied_review_blocked" | "discarded" | "not_applied" | "reverted" | undefined;
|
|
392
395
|
preTurnSha?: string | null | undefined;
|
|
393
396
|
postTurnSha?: string | null | undefined;
|
|
394
397
|
revertAnchorId?: string | null | undefined;
|
|
@@ -396,7 +399,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
396
399
|
}>>;
|
|
397
400
|
outcomeFacts: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
398
401
|
lifecycle: z.ZodEnum<["succeeded", "failed", "cancelled", "interrupted"]>;
|
|
399
|
-
noChanges: z.ZodDefault<z.ZodBoolean
|
|
402
|
+
noChanges: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
|
400
403
|
checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
|
|
401
404
|
review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
|
|
402
405
|
review_requested: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -436,7 +439,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
436
439
|
}>>;
|
|
437
440
|
}, "strict", z.ZodTypeAny, {
|
|
438
441
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
439
|
-
noChanges: boolean;
|
|
442
|
+
noChanges: boolean | null;
|
|
440
443
|
checks: "failed" | "not_configured" | "passed";
|
|
441
444
|
review: "approved" | "blocked" | "not_run";
|
|
442
445
|
review_requested?: boolean | undefined;
|
|
@@ -452,7 +455,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
452
455
|
} | undefined;
|
|
453
456
|
}, {
|
|
454
457
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
455
|
-
noChanges?: boolean | undefined;
|
|
458
|
+
noChanges?: boolean | null | undefined;
|
|
456
459
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
457
460
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
458
461
|
review_requested?: boolean | undefined;
|
|
@@ -599,6 +602,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
599
602
|
model?: string | undefined;
|
|
600
603
|
effort?: string | undefined;
|
|
601
604
|
credentialProfileId?: string | undefined;
|
|
605
|
+
processingPreference?: "economy" | "fast" | "standard" | undefined;
|
|
602
606
|
}[] | undefined;
|
|
603
607
|
protectedPathApprovals?: {
|
|
604
608
|
path: string;
|
|
@@ -667,7 +671,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
667
671
|
outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
|
|
668
672
|
toolWarningsTotal: number;
|
|
669
673
|
result: {
|
|
670
|
-
kind: "answer" | "none" | "patch" | "plan" | "report";
|
|
674
|
+
kind: "answer" | "files" | "none" | "patch" | "plan" | "report";
|
|
671
675
|
diffStat: {
|
|
672
676
|
files: number;
|
|
673
677
|
additions: number;
|
|
@@ -675,7 +679,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
675
679
|
} | null;
|
|
676
680
|
blockers: number;
|
|
677
681
|
adopted: boolean | null;
|
|
678
|
-
applyState: "applied" | "applied_review_blocked" | "not_applied" | "reverted";
|
|
682
|
+
applyState: "applied" | "applied_review_blocked" | "discarded" | "not_applied" | "reverted";
|
|
679
683
|
preTurnSha: string | null;
|
|
680
684
|
postTurnSha: string | null;
|
|
681
685
|
revertAnchorId: string | null;
|
|
@@ -683,7 +687,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
683
687
|
};
|
|
684
688
|
outcomeFacts: {
|
|
685
689
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
686
|
-
noChanges: boolean;
|
|
690
|
+
noChanges: boolean | null;
|
|
687
691
|
checks: "failed" | "not_configured" | "passed";
|
|
688
692
|
review: "approved" | "blocked" | "not_run";
|
|
689
693
|
review_requested?: boolean | undefined;
|
|
@@ -776,6 +780,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
776
780
|
model?: string | undefined;
|
|
777
781
|
effort?: string | undefined;
|
|
778
782
|
credentialProfileId?: string | undefined;
|
|
783
|
+
processingPreference?: "economy" | "fast" | "standard" | undefined;
|
|
779
784
|
}[] | undefined;
|
|
780
785
|
protectedPathApprovals?: {
|
|
781
786
|
path: string;
|
|
@@ -844,7 +849,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
844
849
|
outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
|
|
845
850
|
toolWarningsTotal?: number | undefined;
|
|
846
851
|
result?: {
|
|
847
|
-
kind?: "answer" | "none" | "patch" | "plan" | "report" | undefined;
|
|
852
|
+
kind?: "answer" | "files" | "none" | "patch" | "plan" | "report" | undefined;
|
|
848
853
|
diffStat?: {
|
|
849
854
|
files: number;
|
|
850
855
|
additions: number;
|
|
@@ -852,7 +857,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
852
857
|
} | null | undefined;
|
|
853
858
|
blockers?: number | undefined;
|
|
854
859
|
adopted?: boolean | null | undefined;
|
|
855
|
-
applyState?: "applied" | "applied_review_blocked" | "not_applied" | "reverted" | undefined;
|
|
860
|
+
applyState?: "applied" | "applied_review_blocked" | "discarded" | "not_applied" | "reverted" | undefined;
|
|
856
861
|
preTurnSha?: string | null | undefined;
|
|
857
862
|
postTurnSha?: string | null | undefined;
|
|
858
863
|
revertAnchorId?: string | null | undefined;
|
|
@@ -860,7 +865,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
860
865
|
} | undefined;
|
|
861
866
|
outcomeFacts?: {
|
|
862
867
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
863
|
-
noChanges?: boolean | undefined;
|
|
868
|
+
noChanges?: boolean | null | undefined;
|
|
864
869
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
865
870
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
866
871
|
review_requested?: boolean | undefined;
|
|
@@ -963,6 +968,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
963
968
|
model?: string | undefined;
|
|
964
969
|
effort?: string | undefined;
|
|
965
970
|
credentialProfileId?: string | undefined;
|
|
971
|
+
processingPreference?: "economy" | "fast" | "standard" | undefined;
|
|
966
972
|
}[] | undefined;
|
|
967
973
|
protectedPathApprovals?: {
|
|
968
974
|
path: string;
|
|
@@ -1031,7 +1037,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1031
1037
|
outputReadyState: "diagnostic" | "finalizing" | "pending" | "ready";
|
|
1032
1038
|
toolWarningsTotal: number;
|
|
1033
1039
|
result: {
|
|
1034
|
-
kind: "answer" | "none" | "patch" | "plan" | "report";
|
|
1040
|
+
kind: "answer" | "files" | "none" | "patch" | "plan" | "report";
|
|
1035
1041
|
diffStat: {
|
|
1036
1042
|
files: number;
|
|
1037
1043
|
additions: number;
|
|
@@ -1039,7 +1045,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1039
1045
|
} | null;
|
|
1040
1046
|
blockers: number;
|
|
1041
1047
|
adopted: boolean | null;
|
|
1042
|
-
applyState: "applied" | "applied_review_blocked" | "not_applied" | "reverted";
|
|
1048
|
+
applyState: "applied" | "applied_review_blocked" | "discarded" | "not_applied" | "reverted";
|
|
1043
1049
|
preTurnSha: string | null;
|
|
1044
1050
|
postTurnSha: string | null;
|
|
1045
1051
|
revertAnchorId: string | null;
|
|
@@ -1047,7 +1053,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1047
1053
|
};
|
|
1048
1054
|
outcomeFacts: {
|
|
1049
1055
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
1050
|
-
noChanges: boolean;
|
|
1056
|
+
noChanges: boolean | null;
|
|
1051
1057
|
checks: "failed" | "not_configured" | "passed";
|
|
1052
1058
|
review: "approved" | "blocked" | "not_run";
|
|
1053
1059
|
review_requested?: boolean | undefined;
|
|
@@ -1144,6 +1150,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1144
1150
|
model?: string | undefined;
|
|
1145
1151
|
effort?: string | undefined;
|
|
1146
1152
|
credentialProfileId?: string | undefined;
|
|
1153
|
+
processingPreference?: "economy" | "fast" | "standard" | undefined;
|
|
1147
1154
|
}[] | undefined;
|
|
1148
1155
|
protectedPathApprovals?: {
|
|
1149
1156
|
path: string;
|
|
@@ -1212,7 +1219,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1212
1219
|
outputReadyState?: "diagnostic" | "finalizing" | "pending" | "ready" | undefined;
|
|
1213
1220
|
toolWarningsTotal?: number | undefined;
|
|
1214
1221
|
result?: {
|
|
1215
|
-
kind?: "answer" | "none" | "patch" | "plan" | "report" | undefined;
|
|
1222
|
+
kind?: "answer" | "files" | "none" | "patch" | "plan" | "report" | undefined;
|
|
1216
1223
|
diffStat?: {
|
|
1217
1224
|
files: number;
|
|
1218
1225
|
additions: number;
|
|
@@ -1220,7 +1227,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1220
1227
|
} | null | undefined;
|
|
1221
1228
|
blockers?: number | undefined;
|
|
1222
1229
|
adopted?: boolean | null | undefined;
|
|
1223
|
-
applyState?: "applied" | "applied_review_blocked" | "not_applied" | "reverted" | undefined;
|
|
1230
|
+
applyState?: "applied" | "applied_review_blocked" | "discarded" | "not_applied" | "reverted" | undefined;
|
|
1224
1231
|
preTurnSha?: string | null | undefined;
|
|
1225
1232
|
postTurnSha?: string | null | undefined;
|
|
1226
1233
|
revertAnchorId?: string | null | undefined;
|
|
@@ -1228,7 +1235,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1228
1235
|
} | undefined;
|
|
1229
1236
|
outcomeFacts?: {
|
|
1230
1237
|
lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
|
|
1231
|
-
noChanges?: boolean | undefined;
|
|
1238
|
+
noChanges?: boolean | null | undefined;
|
|
1232
1239
|
checks?: "failed" | "not_configured" | "passed" | undefined;
|
|
1233
1240
|
review?: "approved" | "blocked" | "not_run" | undefined;
|
|
1234
1241
|
review_requested?: boolean | undefined;
|
|
@@ -1374,6 +1381,7 @@ export type ControlApplyCheckResponse = z.infer<typeof ControlApplyCheckResponse
|
|
|
1374
1381
|
export declare const ControlDeliveryResponse: z.ZodObject<{
|
|
1375
1382
|
mode: z.ZodEnum<["apply", "branch", "commit", "pr"]>;
|
|
1376
1383
|
applied: z.ZodBoolean;
|
|
1384
|
+
appliedPaths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1377
1385
|
branch: z.ZodOptional<z.ZodString>;
|
|
1378
1386
|
commit: z.ZodOptional<z.ZodString>;
|
|
1379
1387
|
prUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -1383,6 +1391,7 @@ export declare const ControlDeliveryResponse: z.ZodObject<{
|
|
|
1383
1391
|
alreadyApplied: z.ZodDefault<z.ZodBoolean>;
|
|
1384
1392
|
deliveryStatus: z.ZodOptional<z.ZodEnum<["applied", "already_applied", "refused"]>>;
|
|
1385
1393
|
finalVerify: z.ZodObject<{
|
|
1394
|
+
base_manifest_sha256: z.ZodOptional<z.ZodString>;
|
|
1386
1395
|
attempted: z.ZodBoolean;
|
|
1387
1396
|
base_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1388
1397
|
applied_cleanly: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -1400,6 +1409,7 @@ export declare const ControlDeliveryResponse: z.ZodObject<{
|
|
|
1400
1409
|
duration_ms: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1401
1410
|
reason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1402
1411
|
}, "strip", z.ZodTypeAny, {
|
|
1412
|
+
base_manifest_sha256?: string | undefined;
|
|
1403
1413
|
attempted: boolean;
|
|
1404
1414
|
base_sha: string | null;
|
|
1405
1415
|
applied_cleanly: boolean | null;
|
|
@@ -1411,6 +1421,7 @@ export declare const ControlDeliveryResponse: z.ZodObject<{
|
|
|
1411
1421
|
duration_ms: number | null;
|
|
1412
1422
|
reason: string | null;
|
|
1413
1423
|
}, {
|
|
1424
|
+
base_manifest_sha256?: string | undefined;
|
|
1414
1425
|
attempted: boolean;
|
|
1415
1426
|
base_sha?: string | null | undefined;
|
|
1416
1427
|
applied_cleanly?: boolean | null | undefined;
|
|
@@ -1426,6 +1437,7 @@ export declare const ControlDeliveryResponse: z.ZodObject<{
|
|
|
1426
1437
|
}, "strict", z.ZodTypeAny, {
|
|
1427
1438
|
mode: "apply" | "branch" | "commit" | "pr";
|
|
1428
1439
|
applied: boolean;
|
|
1440
|
+
appliedPaths?: string[] | undefined;
|
|
1429
1441
|
branch?: string | undefined;
|
|
1430
1442
|
commit?: string | undefined;
|
|
1431
1443
|
prUrl?: string | undefined;
|
|
@@ -1435,6 +1447,7 @@ export declare const ControlDeliveryResponse: z.ZodObject<{
|
|
|
1435
1447
|
alreadyApplied: boolean;
|
|
1436
1448
|
deliveryStatus?: "already_applied" | "applied" | "refused" | undefined;
|
|
1437
1449
|
finalVerify: {
|
|
1450
|
+
base_manifest_sha256?: string | undefined;
|
|
1438
1451
|
attempted: boolean;
|
|
1439
1452
|
base_sha: string | null;
|
|
1440
1453
|
applied_cleanly: boolean | null;
|
|
@@ -1450,6 +1463,7 @@ export declare const ControlDeliveryResponse: z.ZodObject<{
|
|
|
1450
1463
|
}, {
|
|
1451
1464
|
mode: "apply" | "branch" | "commit" | "pr";
|
|
1452
1465
|
applied: boolean;
|
|
1466
|
+
appliedPaths?: string[] | undefined;
|
|
1453
1467
|
branch?: string | undefined;
|
|
1454
1468
|
commit?: string | undefined;
|
|
1455
1469
|
prUrl?: string | undefined;
|
|
@@ -1459,6 +1473,7 @@ export declare const ControlDeliveryResponse: z.ZodObject<{
|
|
|
1459
1473
|
alreadyApplied?: boolean | undefined;
|
|
1460
1474
|
deliveryStatus?: "already_applied" | "applied" | "refused" | undefined;
|
|
1461
1475
|
finalVerify: {
|
|
1476
|
+
base_manifest_sha256?: string | undefined;
|
|
1462
1477
|
attempted: boolean;
|
|
1463
1478
|
base_sha?: string | null | undefined;
|
|
1464
1479
|
applied_cleanly?: boolean | null | undefined;
|
|
@@ -1510,14 +1525,20 @@ export declare const ControlThreadTurnRequest: z.ZodObject<Omit<{
|
|
|
1510
1525
|
isolation: z.ZodDefault<z.ZodEnum<["envelope", "live"]>>;
|
|
1511
1526
|
delegated: z.ZodDefault<z.ZodBoolean>;
|
|
1512
1527
|
workspaceRoot: z.ZodOptional<z.ZodString>;
|
|
1528
|
+
workspaceKind: z.ZodOptional<z.ZodEnum<["git", "directory"]>>;
|
|
1529
|
+
scopePaths: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
1513
1530
|
}, "strict", z.ZodTypeAny, {
|
|
1514
1531
|
isolation: "envelope" | "live";
|
|
1515
1532
|
delegated: boolean;
|
|
1516
1533
|
workspaceRoot?: string | undefined;
|
|
1534
|
+
workspaceKind?: "directory" | "git" | undefined;
|
|
1535
|
+
scopePaths?: string[] | undefined;
|
|
1517
1536
|
}, {
|
|
1518
1537
|
isolation?: "envelope" | "live" | undefined;
|
|
1519
1538
|
delegated?: boolean | undefined;
|
|
1520
1539
|
workspaceRoot?: string | undefined;
|
|
1540
|
+
workspaceKind?: "directory" | "git" | undefined;
|
|
1541
|
+
scopePaths?: string[] | undefined;
|
|
1521
1542
|
}>>;
|
|
1522
1543
|
harnesses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1523
1544
|
primaryHarness: z.ZodOptional<z.ZodString>;
|
|
@@ -1525,6 +1546,7 @@ export declare const ControlThreadTurnRequest: z.ZodObject<Omit<{
|
|
|
1525
1546
|
model: z.ZodOptional<z.ZodString>;
|
|
1526
1547
|
models: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1527
1548
|
effort: z.ZodOptional<z.ZodString>;
|
|
1549
|
+
processingPreference: z.ZodOptional<z.ZodEnum<["standard", "fast", "economy"]>>;
|
|
1528
1550
|
efforts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1529
1551
|
review: z.ZodOptional<z.ZodBoolean>;
|
|
1530
1552
|
reviewerModels: z.ZodOptional<z.ZodRecord<z.ZodEnum<["openai", "anthropic", "google", "cursor", "opencode", "xai", "local", "unknown"]>, z.ZodString>>;
|
|
@@ -1606,16 +1628,19 @@ export declare const ControlThreadTurnRequest: z.ZodObject<Omit<{
|
|
|
1606
1628
|
model: z.ZodOptional<z.ZodString>;
|
|
1607
1629
|
effort: z.ZodOptional<z.ZodString>;
|
|
1608
1630
|
credentialProfileId: z.ZodOptional<z.ZodString>;
|
|
1631
|
+
processingPreference: z.ZodOptional<z.ZodEnum<["standard", "fast", "economy"]>>;
|
|
1609
1632
|
}, "strict", z.ZodTypeAny, {
|
|
1610
1633
|
harness: string;
|
|
1611
1634
|
model?: string | undefined;
|
|
1612
1635
|
effort?: string | undefined;
|
|
1613
1636
|
credentialProfileId?: string | undefined;
|
|
1637
|
+
processingPreference?: "economy" | "fast" | "standard" | undefined;
|
|
1614
1638
|
}, {
|
|
1615
1639
|
harness: string;
|
|
1616
1640
|
model?: string | undefined;
|
|
1617
1641
|
effort?: string | undefined;
|
|
1618
1642
|
credentialProfileId?: string | undefined;
|
|
1643
|
+
processingPreference?: "economy" | "fast" | "standard" | undefined;
|
|
1619
1644
|
}>, "many">>;
|
|
1620
1645
|
authPreference: z.ZodOptional<z.ZodEnum<["subscription", "api_key", "auto"]>>;
|
|
1621
1646
|
credentialProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1625,6 +1650,19 @@ export declare const ControlThreadTurnRequest: z.ZodObject<Omit<{
|
|
|
1625
1650
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1626
1651
|
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
1627
1652
|
}, "delegatedFromRunId" | "execution" | "parentRunId" | "planRef" | "retryOf" | "scope" | "threadId" | "turnId"> & {
|
|
1653
|
+
execution: z.ZodOptional<z.ZodObject<{
|
|
1654
|
+
isolation: z.ZodOptional<z.ZodDefault<z.ZodEnum<["envelope", "live"]>>>;
|
|
1655
|
+
workspaceKind: z.ZodOptional<z.ZodOptional<z.ZodEnum<["git", "directory"]>>>;
|
|
1656
|
+
scopePaths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>>;
|
|
1657
|
+
}, "strict", z.ZodTypeAny, {
|
|
1658
|
+
isolation?: "envelope" | "live" | undefined;
|
|
1659
|
+
workspaceKind?: "directory" | "git" | undefined;
|
|
1660
|
+
scopePaths?: string[] | undefined;
|
|
1661
|
+
}, {
|
|
1662
|
+
isolation?: "envelope" | "live" | undefined;
|
|
1663
|
+
workspaceKind?: "directory" | "git" | undefined;
|
|
1664
|
+
scopePaths?: string[] | undefined;
|
|
1665
|
+
}>>;
|
|
1628
1666
|
/** Source plan whose open questions this follow-up answers. The thread
|
|
1629
1667
|
* route validates ownership/current-head/duplicate submission. */
|
|
1630
1668
|
answersPlanRunId: z.ZodOptional<z.ZodString>;
|
|
@@ -1644,6 +1682,7 @@ export declare const ControlThreadTurnRequest: z.ZodObject<Omit<{
|
|
|
1644
1682
|
model?: string | undefined;
|
|
1645
1683
|
models?: Record<string, string> | undefined;
|
|
1646
1684
|
effort?: string | undefined;
|
|
1685
|
+
processingPreference?: "economy" | "fast" | "standard" | undefined;
|
|
1647
1686
|
efforts?: Record<string, string> | undefined;
|
|
1648
1687
|
review?: boolean | undefined;
|
|
1649
1688
|
reviewerModels?: Partial<Record<"anthropic" | "cursor" | "google" | "local" | "openai" | "opencode" | "unknown" | "xai", string>> | undefined;
|
|
@@ -1681,6 +1720,7 @@ export declare const ControlThreadTurnRequest: z.ZodObject<Omit<{
|
|
|
1681
1720
|
model?: string | undefined;
|
|
1682
1721
|
effort?: string | undefined;
|
|
1683
1722
|
credentialProfileId?: string | undefined;
|
|
1723
|
+
processingPreference?: "economy" | "fast" | "standard" | undefined;
|
|
1684
1724
|
}[] | undefined;
|
|
1685
1725
|
authPreference?: "api_key" | "auto" | "subscription" | undefined;
|
|
1686
1726
|
credentialProfileId?: string | null | undefined;
|
|
@@ -1689,6 +1729,11 @@ export declare const ControlThreadTurnRequest: z.ZodObject<Omit<{
|
|
|
1689
1729
|
denyPaths?: string[] | undefined;
|
|
1690
1730
|
outputSchema?: Record<string, unknown> | undefined;
|
|
1691
1731
|
maxTurns?: number | undefined;
|
|
1732
|
+
execution?: {
|
|
1733
|
+
isolation?: "envelope" | "live" | undefined;
|
|
1734
|
+
workspaceKind?: "directory" | "git" | undefined;
|
|
1735
|
+
scopePaths?: string[] | undefined;
|
|
1736
|
+
} | undefined;
|
|
1692
1737
|
answersPlanRunId?: string | undefined;
|
|
1693
1738
|
overridePlanReadiness?: boolean | undefined;
|
|
1694
1739
|
}, {
|
|
@@ -1704,6 +1749,7 @@ export declare const ControlThreadTurnRequest: z.ZodObject<Omit<{
|
|
|
1704
1749
|
model?: string | undefined;
|
|
1705
1750
|
models?: Record<string, string> | undefined;
|
|
1706
1751
|
effort?: string | undefined;
|
|
1752
|
+
processingPreference?: "economy" | "fast" | "standard" | undefined;
|
|
1707
1753
|
efforts?: Record<string, string> | undefined;
|
|
1708
1754
|
review?: boolean | undefined;
|
|
1709
1755
|
reviewerModels?: Partial<Record<"anthropic" | "cursor" | "google" | "local" | "openai" | "opencode" | "unknown" | "xai", string>> | undefined;
|
|
@@ -1741,6 +1787,7 @@ export declare const ControlThreadTurnRequest: z.ZodObject<Omit<{
|
|
|
1741
1787
|
model?: string | undefined;
|
|
1742
1788
|
effort?: string | undefined;
|
|
1743
1789
|
credentialProfileId?: string | undefined;
|
|
1790
|
+
processingPreference?: "economy" | "fast" | "standard" | undefined;
|
|
1744
1791
|
}[] | undefined;
|
|
1745
1792
|
authPreference?: "api_key" | "auto" | "subscription" | undefined;
|
|
1746
1793
|
credentialProfileId?: string | null | undefined;
|
|
@@ -1749,6 +1796,11 @@ export declare const ControlThreadTurnRequest: z.ZodObject<Omit<{
|
|
|
1749
1796
|
denyPaths?: string[] | undefined;
|
|
1750
1797
|
outputSchema?: Record<string, unknown> | undefined;
|
|
1751
1798
|
maxTurns?: number | undefined;
|
|
1799
|
+
execution?: {
|
|
1800
|
+
isolation?: "envelope" | "live" | undefined;
|
|
1801
|
+
workspaceKind?: "directory" | "git" | undefined;
|
|
1802
|
+
scopePaths?: string[] | undefined;
|
|
1803
|
+
} | undefined;
|
|
1752
1804
|
answersPlanRunId?: string | undefined;
|
|
1753
1805
|
overridePlanReadiness?: boolean | undefined;
|
|
1754
1806
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control-operation-responses.d.ts","sourceRoot":"","sources":["../src/control-operation-responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"control-operation-responses.d.ts","sourceRoot":"","sources":["../src/control-operation-responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAY3B,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEqC,CAAC;AAC1E,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE9E,eAAO,MAAM,gCAAgC;;;;;;;;;;;;EAUI,CAAC;AAClD,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAEhG,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;EAcW,CAAC;AAClD,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAElF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;EAM8B,CAAC;AACnG,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAEhF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKsC,CAAC;AAC7E,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
|
|
@@ -2,6 +2,7 @@ import { z } from "zod/v3";
|
|
|
2
2
|
import { ControlArtifactInfo, ControlQueuedRunInfo, ControlRunStartInfo, ControlRunStartRequest, ControlRunSummary, } from "./control.js";
|
|
3
3
|
import { Id } from "./primitives.js";
|
|
4
4
|
import { DeliveryReceipt } from "./delivery.js";
|
|
5
|
+
import { RunExecution } from "./control-run-execution.js";
|
|
5
6
|
export const ControlRunStartResponse = z
|
|
6
7
|
.union([ControlRunStartInfo, ControlQueuedRunInfo])
|
|
7
8
|
.describe("Immediate or queued durable handle returned by POST /runs.");
|
|
@@ -87,6 +88,11 @@ export const ControlThreadTurnRequest = ControlRunStartRequest.omit({
|
|
|
87
88
|
planRef: true,
|
|
88
89
|
})
|
|
89
90
|
.extend({
|
|
91
|
+
execution: RunExecution.pick({ workspaceKind: true, scopePaths: true, isolation: true })
|
|
92
|
+
.partial()
|
|
93
|
+
.strict()
|
|
94
|
+
.optional()
|
|
95
|
+
.describe("Directory geometry for this turn; project identity and execution root remain thread-owned."),
|
|
90
96
|
/** Source plan whose open questions this follow-up answers. The thread
|
|
91
97
|
* route validates ownership/current-head/duplicate submission. */
|
|
92
98
|
answersPlanRunId: Id.optional().describe("Plan run whose open questions this follow-up turn answers."),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control-operation-responses.js","sourceRoot":"","sources":["../src/control-operation-responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,EACnB,sBAAsB,EACtB,iBAAiB,GAClB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"control-operation-responses.js","sourceRoot":"","sources":["../src/control-operation-responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,EACnB,sBAAsB,EACtB,iBAAiB,GAClB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC;KACrC,KAAK,CAAC,CAAC,mBAAmB,EAAE,oBAAoB,CAAC,CAAC;KAClD,QAAQ,CAAC,4DAA4D,CAAC,CAAC;AAG1E,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC;KAC9C,MAAM,CAAC;IACN,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,kCAAkC,CAAC;IAClE,MAAM,EAAE,CAAC;SACN,IAAI,CAAC,CAAC,WAAW,EAAE,WAAW,EAAE,kBAAkB,EAAE,UAAU,CAAC,CAAC;SAChE,QAAQ,CACP,0GAA0G,CAC3G;IACH,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,wBAAwB,CAAC;CAClE,CAAC;KACD,QAAQ,CAAC,oCAAoC,CAAC,CAAC;AAGlD,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC;KACvC,MAAM,CAAC;IACN,QAAQ,EAAE,CA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