@claudexor/schema 3.17.1 → 3.19.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 +144 -0
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +2 -0
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/control-harness-list.d.ts +76 -0
- package/dist/control-harness-list.d.ts.map +1 -1
- package/dist/control-operation-responses.d.ts +92 -75
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +2 -1
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-run-detail.d.ts +241 -19
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-failure.d.ts +48 -4
- package/dist/control-run-failure.d.ts.map +1 -1
- package/dist/control-run-failure.js +3 -0
- package/dist/control-run-failure.js.map +1 -1
- package/dist/control.d.ts +67 -5
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +1 -1
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +173 -0
- package/dist/credential-profile-snapshot.d.ts.map +1 -1
- package/dist/credential-profile.d.ts +61 -0
- package/dist/credential-profile.d.ts.map +1 -1
- package/dist/credential-profile.js +29 -0
- package/dist/credential-profile.js.map +1 -1
- package/dist/harness-input.d.ts +90 -0
- package/dist/harness-input.d.ts.map +1 -0
- package/dist/harness-input.js +33 -0
- package/dist/harness-input.js.map +1 -0
- package/dist/harness.d.ts +128 -1
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +6 -2
- package/dist/harness.js.map +1 -1
- package/dist/mcp-run-result.d.ts +186 -10
- package/dist/mcp-run-result.d.ts.map +1 -1
- package/dist/mcp-run-result.js +17 -0
- package/dist/mcp-run-result.js.map +1 -1
- package/dist/model-operation.d.ts +31 -0
- package/dist/model-operation.d.ts.map +1 -1
- package/dist/model-operation.js +5 -1
- package/dist/model-operation.js.map +1 -1
- package/dist/readiness.d.ts +62 -0
- package/dist/readiness.d.ts.map +1 -1
- package/dist/setup.js +1 -1
- package/dist/setup.js.map +1 -1
- package/dist/surface-run-controls.d.ts.map +1 -1
- package/dist/surface-run-controls.js +3 -0
- package/dist/surface-run-controls.js.map +1 -1
- package/dist/telemetry.d.ts +106 -0
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +2 -1
- package/dist/telemetry.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +61 -0
- package/generated/ControlCredentialProfileCreateResponse.schema.json +7 -0
- package/generated/ControlCredentialProfileUpdateResponse.schema.json +7 -0
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +48 -0
- package/generated/ControlCredentialProfilesResponse.schema.json +7 -0
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +48 -0
- package/generated/ControlHarnessListResponse.schema.json +41 -0
- package/generated/ControlModelAccountCatalogResponse.schema.json +7 -0
- package/generated/ControlModelCatalogQueryResponse.schema.json +7 -0
- package/generated/ControlModelCatalogResponse.schema.json +7 -0
- package/generated/ControlModelOperationDetail.schema.json +1 -1
- package/generated/ControlRunAgainDraft.schema.json +1 -1
- package/generated/ControlRunDetail.schema.json +63 -0
- package/generated/ControlRunListResponse.schema.json +63 -0
- package/generated/ControlRunStartRequest.schema.json +1 -1
- package/generated/ControlRunSummary.schema.json +63 -0
- package/generated/ControlThreadTurnRequest.schema.json +2 -3
- package/generated/CredentialProfileStatus.schema.json +7 -0
- package/generated/HarnessEvent.schema.json +62 -0
- package/generated/HarnessManifest.schema.json +41 -0
- package/generated/HarnessStatusDto.schema.json +41 -0
- package/generated/McpRunHandleResult.schema.json +63 -0
- package/generated/McpRunToolResult.schema.json +63 -0
- package/generated/McpThreadTurnResult.schema.json +82 -0
- package/generated/RunFailure.schema.json +63 -0
- package/generated/RunTelemetry.schema.json +62 -0
- package/package.json +3 -3
|
@@ -104,9 +104,35 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
104
104
|
runDir: z.ZodOptional<z.ZodString>;
|
|
105
105
|
error: z.ZodOptional<z.ZodString>;
|
|
106
106
|
failure: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
107
|
+
requestRefusal: z.ZodOptional<z.ZodObject<{
|
|
108
|
+
scope: z.ZodLiteral<"turn_text">;
|
|
109
|
+
unit: z.ZodLiteral<"unicode_scalars">;
|
|
110
|
+
source: z.ZodString;
|
|
111
|
+
} & {
|
|
112
|
+
kind: z.ZodLiteral<"input_too_large">;
|
|
113
|
+
limit: z.ZodNullable<z.ZodNumber>;
|
|
114
|
+
actual: z.ZodNullable<z.ZodNumber>;
|
|
115
|
+
native_code: z.ZodString;
|
|
116
|
+
}, "strip", z.ZodTypeAny, {
|
|
117
|
+
scope: "turn_text";
|
|
118
|
+
unit: "unicode_scalars";
|
|
119
|
+
source: string;
|
|
120
|
+
kind: "input_too_large";
|
|
121
|
+
limit: number | null;
|
|
122
|
+
actual: number | null;
|
|
123
|
+
native_code: string;
|
|
124
|
+
}, {
|
|
125
|
+
scope: "turn_text";
|
|
126
|
+
unit: "unicode_scalars";
|
|
127
|
+
source: string;
|
|
128
|
+
kind: "input_too_large";
|
|
129
|
+
limit: number | null;
|
|
130
|
+
actual: number | null;
|
|
131
|
+
native_code: string;
|
|
132
|
+
}>>;
|
|
107
133
|
phase: z.ZodDefault<z.ZodString>;
|
|
108
134
|
category: z.ZodDefault<z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>>;
|
|
109
|
-
code: z.ZodDefault<z.ZodNullable<z.ZodEnum<["finite_zero", "hard_cap", "estimate_headroom", "unknown_paid_in_flight", "budget_overshoot", "cost_unverifiable", "delegation_child_drain_timeout", "subscription_window_exhausted", "credential_pool_exhausted", "delegated_home_unavailable", "delegated_confinement_unavailable", "delegated_evidence_incomplete", "access_profile_incompatible", "retired_access_profile"]>>>;
|
|
135
|
+
code: z.ZodDefault<z.ZodNullable<z.ZodEnum<["finite_zero", "hard_cap", "estimate_headroom", "unknown_paid_in_flight", "budget_overshoot", "cost_unverifiable", "delegation_child_drain_timeout", "subscription_window_exhausted", "credential_pool_exhausted", "input_too_large", "delegated_home_unavailable", "delegated_confinement_unavailable", "delegated_evidence_incomplete", "access_profile_incompatible", "retired_access_profile"]>>>;
|
|
110
136
|
harnessId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
111
137
|
attemptId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
112
138
|
safeMessage: z.ZodString;
|
|
@@ -130,9 +156,18 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
130
156
|
}>>>;
|
|
131
157
|
nextActions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
132
158
|
}, "strip", z.ZodTypeAny, {
|
|
159
|
+
requestRefusal?: {
|
|
160
|
+
scope: "turn_text";
|
|
161
|
+
unit: "unicode_scalars";
|
|
162
|
+
source: string;
|
|
163
|
+
kind: "input_too_large";
|
|
164
|
+
limit: number | null;
|
|
165
|
+
actual: number | null;
|
|
166
|
+
native_code: string;
|
|
167
|
+
} | undefined;
|
|
133
168
|
phase: string;
|
|
134
169
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
135
|
-
code: "access_profile_incompatible" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | null;
|
|
170
|
+
code: "access_profile_incompatible" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | null;
|
|
136
171
|
harnessId: string | null;
|
|
137
172
|
attemptId: string | null;
|
|
138
173
|
safeMessage: string;
|
|
@@ -148,9 +183,18 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
148
183
|
} | null;
|
|
149
184
|
nextActions: string[];
|
|
150
185
|
}, {
|
|
186
|
+
requestRefusal?: {
|
|
187
|
+
scope: "turn_text";
|
|
188
|
+
unit: "unicode_scalars";
|
|
189
|
+
source: string;
|
|
190
|
+
kind: "input_too_large";
|
|
191
|
+
limit: number | null;
|
|
192
|
+
actual: number | null;
|
|
193
|
+
native_code: string;
|
|
194
|
+
} | undefined;
|
|
151
195
|
phase?: string | undefined;
|
|
152
196
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
153
|
-
code?: "access_profile_incompatible" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | null | undefined;
|
|
197
|
+
code?: "access_profile_incompatible" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | null | undefined;
|
|
154
198
|
harnessId?: string | null | undefined;
|
|
155
199
|
attemptId?: string | null | undefined;
|
|
156
200
|
safeMessage: string;
|
|
@@ -593,9 +637,18 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
593
637
|
runDir?: string | undefined;
|
|
594
638
|
error?: string | undefined;
|
|
595
639
|
failure: {
|
|
640
|
+
requestRefusal?: {
|
|
641
|
+
scope: "turn_text";
|
|
642
|
+
unit: "unicode_scalars";
|
|
643
|
+
source: string;
|
|
644
|
+
kind: "input_too_large";
|
|
645
|
+
limit: number | null;
|
|
646
|
+
actual: number | null;
|
|
647
|
+
native_code: string;
|
|
648
|
+
} | undefined;
|
|
596
649
|
phase: string;
|
|
597
650
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
598
|
-
code: "access_profile_incompatible" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | null;
|
|
651
|
+
code: "access_profile_incompatible" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | null;
|
|
599
652
|
harnessId: string | null;
|
|
600
653
|
attemptId: string | null;
|
|
601
654
|
safeMessage: string;
|
|
@@ -776,9 +829,18 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
776
829
|
runDir?: string | undefined;
|
|
777
830
|
error?: string | undefined;
|
|
778
831
|
failure?: {
|
|
832
|
+
requestRefusal?: {
|
|
833
|
+
scope: "turn_text";
|
|
834
|
+
unit: "unicode_scalars";
|
|
835
|
+
source: string;
|
|
836
|
+
kind: "input_too_large";
|
|
837
|
+
limit: number | null;
|
|
838
|
+
actual: number | null;
|
|
839
|
+
native_code: string;
|
|
840
|
+
} | undefined;
|
|
779
841
|
phase?: string | undefined;
|
|
780
842
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
781
|
-
code?: "access_profile_incompatible" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | null | undefined;
|
|
843
|
+
code?: "access_profile_incompatible" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | null | undefined;
|
|
782
844
|
harnessId?: string | null | undefined;
|
|
783
845
|
attemptId?: string | null | undefined;
|
|
784
846
|
safeMessage: string;
|
|
@@ -969,9 +1031,18 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
969
1031
|
runDir?: string | undefined;
|
|
970
1032
|
error?: string | undefined;
|
|
971
1033
|
failure: {
|
|
1034
|
+
requestRefusal?: {
|
|
1035
|
+
scope: "turn_text";
|
|
1036
|
+
unit: "unicode_scalars";
|
|
1037
|
+
source: string;
|
|
1038
|
+
kind: "input_too_large";
|
|
1039
|
+
limit: number | null;
|
|
1040
|
+
actual: number | null;
|
|
1041
|
+
native_code: string;
|
|
1042
|
+
} | undefined;
|
|
972
1043
|
phase: string;
|
|
973
1044
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
974
|
-
code: "access_profile_incompatible" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | null;
|
|
1045
|
+
code: "access_profile_incompatible" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | null;
|
|
975
1046
|
harnessId: string | null;
|
|
976
1047
|
attemptId: string | null;
|
|
977
1048
|
safeMessage: string;
|
|
@@ -1156,9 +1227,18 @@ export declare const ControlRunListResponse: z.ZodObject<{
|
|
|
1156
1227
|
runDir?: string | undefined;
|
|
1157
1228
|
error?: string | undefined;
|
|
1158
1229
|
failure?: {
|
|
1230
|
+
requestRefusal?: {
|
|
1231
|
+
scope: "turn_text";
|
|
1232
|
+
unit: "unicode_scalars";
|
|
1233
|
+
source: string;
|
|
1234
|
+
kind: "input_too_large";
|
|
1235
|
+
limit: number | null;
|
|
1236
|
+
actual: number | null;
|
|
1237
|
+
native_code: string;
|
|
1238
|
+
} | undefined;
|
|
1159
1239
|
phase?: string | undefined;
|
|
1160
1240
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
1161
|
-
code?: "access_profile_incompatible" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | null | undefined;
|
|
1241
|
+
code?: "access_profile_incompatible" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | null | undefined;
|
|
1162
1242
|
harnessId?: string | null | undefined;
|
|
1163
1243
|
attemptId?: string | null | undefined;
|
|
1164
1244
|
safeMessage: string;
|
|
@@ -1531,7 +1611,7 @@ export declare const ControlDeliveryResponse: z.ZodObject<{
|
|
|
1531
1611
|
targetPreimageSha: string;
|
|
1532
1612
|
}>;
|
|
1533
1613
|
export type ControlDeliveryResponse = z.infer<typeof ControlDeliveryResponse>;
|
|
1534
|
-
export declare const ControlThreadTurnRequest: z.ZodObject<
|
|
1614
|
+
export declare const ControlThreadTurnRequest: z.ZodObject<{
|
|
1535
1615
|
prompt: z.ZodDefault<z.ZodString>;
|
|
1536
1616
|
instructions: z.ZodOptional<z.ZodString>;
|
|
1537
1617
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1541,48 +1621,6 @@ export declare const ControlThreadTurnRequest: z.ZodObject<Omit<{
|
|
|
1541
1621
|
}, {
|
|
1542
1622
|
resourceId: string;
|
|
1543
1623
|
}>, "many">>;
|
|
1544
|
-
mode: z.ZodDefault<z.ZodEnum<["ask", "plan", "agent"]>>;
|
|
1545
|
-
scope: z.ZodDefault<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
1546
|
-
kind: z.ZodLiteral<"project">;
|
|
1547
|
-
root: z.ZodString;
|
|
1548
|
-
context: z.ZodDefault<z.ZodEnum<["auto"]>>;
|
|
1549
|
-
ephemeral: z.ZodDefault<z.ZodBoolean>;
|
|
1550
|
-
}, "strict", z.ZodTypeAny, {
|
|
1551
|
-
kind: "project";
|
|
1552
|
-
root: string;
|
|
1553
|
-
context: "auto";
|
|
1554
|
-
ephemeral: boolean;
|
|
1555
|
-
}, {
|
|
1556
|
-
kind: "project";
|
|
1557
|
-
root: string;
|
|
1558
|
-
context?: "auto" | undefined;
|
|
1559
|
-
ephemeral?: boolean | undefined;
|
|
1560
|
-
}>, z.ZodObject<{
|
|
1561
|
-
kind: z.ZodLiteral<"none">;
|
|
1562
|
-
}, "strict", z.ZodTypeAny, {
|
|
1563
|
-
kind: "none";
|
|
1564
|
-
}, {
|
|
1565
|
-
kind: "none";
|
|
1566
|
-
}>]>>;
|
|
1567
|
-
execution: z.ZodDefault<z.ZodObject<{
|
|
1568
|
-
isolation: z.ZodDefault<z.ZodEnum<["envelope", "live"]>>;
|
|
1569
|
-
delegated: z.ZodDefault<z.ZodBoolean>;
|
|
1570
|
-
workspaceRoot: z.ZodOptional<z.ZodString>;
|
|
1571
|
-
workspaceKind: z.ZodOptional<z.ZodEnum<["git", "directory"]>>;
|
|
1572
|
-
scopePaths: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
1573
|
-
}, "strict", z.ZodTypeAny, {
|
|
1574
|
-
isolation: "envelope" | "live";
|
|
1575
|
-
delegated: boolean;
|
|
1576
|
-
workspaceRoot?: string | undefined;
|
|
1577
|
-
workspaceKind?: "directory" | "git" | undefined;
|
|
1578
|
-
scopePaths?: string[] | undefined;
|
|
1579
|
-
}, {
|
|
1580
|
-
isolation?: "envelope" | "live" | undefined;
|
|
1581
|
-
delegated?: boolean | undefined;
|
|
1582
|
-
workspaceRoot?: string | undefined;
|
|
1583
|
-
workspaceKind?: "directory" | "git" | undefined;
|
|
1584
|
-
scopePaths?: string[] | undefined;
|
|
1585
|
-
}>>;
|
|
1586
1624
|
harnesses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1587
1625
|
primaryHarness: z.ZodOptional<z.ZodString>;
|
|
1588
1626
|
routingGoal: z.ZodOptional<z.ZodEnum<["auto", "quality", "economy"]>>;
|
|
@@ -1647,25 +1685,7 @@ export declare const ControlThreadTurnRequest: z.ZodObject<Omit<{
|
|
|
1647
1685
|
path: string;
|
|
1648
1686
|
reason?: string | undefined;
|
|
1649
1687
|
}>, "many">>;
|
|
1650
|
-
threadId: z.ZodOptional<z.ZodString>;
|
|
1651
|
-
turnId: z.ZodOptional<z.ZodString>;
|
|
1652
|
-
parentRunId: z.ZodOptional<z.ZodString>;
|
|
1653
|
-
delegatedFromRunId: z.ZodOptional<z.ZodString>;
|
|
1654
|
-
retryOf: z.ZodOptional<z.ZodString>;
|
|
1655
1688
|
planRunId: z.ZodOptional<z.ZodString>;
|
|
1656
|
-
planRef: z.ZodOptional<z.ZodObject<{
|
|
1657
|
-
runId: z.ZodString;
|
|
1658
|
-
sha256: z.ZodString;
|
|
1659
|
-
path: z.ZodString;
|
|
1660
|
-
}, "strict", z.ZodTypeAny, {
|
|
1661
|
-
runId: string;
|
|
1662
|
-
sha256: string;
|
|
1663
|
-
path: string;
|
|
1664
|
-
}, {
|
|
1665
|
-
runId: string;
|
|
1666
|
-
sha256: string;
|
|
1667
|
-
path: string;
|
|
1668
|
-
}>>;
|
|
1669
1689
|
reviewerPanel: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1670
1690
|
harness: z.ZodString;
|
|
1671
1691
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -1692,7 +1712,8 @@ export declare const ControlThreadTurnRequest: z.ZodObject<Omit<{
|
|
|
1692
1712
|
denyPaths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1693
1713
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1694
1714
|
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
1695
|
-
}
|
|
1715
|
+
} & {
|
|
1716
|
+
mode: z.ZodOptional<z.ZodEnum<["ask", "plan", "agent"]>>;
|
|
1696
1717
|
execution: z.ZodOptional<z.ZodObject<{
|
|
1697
1718
|
isolation: z.ZodOptional<z.ZodDefault<z.ZodEnum<["envelope", "live"]>>>;
|
|
1698
1719
|
workspaceKind: z.ZodOptional<z.ZodOptional<z.ZodEnum<["git", "directory"]>>>;
|
|
@@ -1706,11 +1727,7 @@ export declare const ControlThreadTurnRequest: z.ZodObject<Omit<{
|
|
|
1706
1727
|
workspaceKind?: "directory" | "git" | undefined;
|
|
1707
1728
|
scopePaths?: string[] | undefined;
|
|
1708
1729
|
}>>;
|
|
1709
|
-
/** Source plan whose open questions this follow-up answers. The thread
|
|
1710
|
-
* route validates ownership/current-head/duplicate submission. */
|
|
1711
1730
|
answersPlanRunId: z.ZodOptional<z.ZodString>;
|
|
1712
|
-
/** Implement-plan only: explicitly proceed although the plan still has
|
|
1713
|
-
* open questions (D17). Recorded on the turn for provenance. */
|
|
1714
1731
|
overridePlanReadiness: z.ZodOptional<z.ZodBoolean>;
|
|
1715
1732
|
}, "strict", z.ZodTypeAny, {
|
|
1716
1733
|
prompt: string;
|
|
@@ -1718,7 +1735,6 @@ export declare const ControlThreadTurnRequest: z.ZodObject<Omit<{
|
|
|
1718
1735
|
attachments?: {
|
|
1719
1736
|
resourceId: string;
|
|
1720
1737
|
}[] | undefined;
|
|
1721
|
-
mode: "agent" | "ask" | "plan";
|
|
1722
1738
|
harnesses?: string[] | undefined;
|
|
1723
1739
|
primaryHarness?: string | undefined;
|
|
1724
1740
|
routingGoal?: "auto" | "economy" | "quality" | undefined;
|
|
@@ -1772,6 +1788,7 @@ export declare const ControlThreadTurnRequest: z.ZodObject<Omit<{
|
|
|
1772
1788
|
denyPaths?: string[] | undefined;
|
|
1773
1789
|
outputSchema?: Record<string, unknown> | undefined;
|
|
1774
1790
|
maxTurns?: number | undefined;
|
|
1791
|
+
mode?: "agent" | "ask" | "plan" | undefined;
|
|
1775
1792
|
execution?: {
|
|
1776
1793
|
isolation?: "envelope" | "live" | undefined;
|
|
1777
1794
|
workspaceKind?: "directory" | "git" | undefined;
|
|
@@ -1785,7 +1802,6 @@ export declare const ControlThreadTurnRequest: z.ZodObject<Omit<{
|
|
|
1785
1802
|
attachments?: {
|
|
1786
1803
|
resourceId: string;
|
|
1787
1804
|
}[] | undefined;
|
|
1788
|
-
mode?: "agent" | "ask" | "plan" | undefined;
|
|
1789
1805
|
harnesses?: string[] | undefined;
|
|
1790
1806
|
primaryHarness?: string | undefined;
|
|
1791
1807
|
routingGoal?: "auto" | "economy" | "quality" | undefined;
|
|
@@ -1839,6 +1855,7 @@ export declare const ControlThreadTurnRequest: z.ZodObject<Omit<{
|
|
|
1839
1855
|
denyPaths?: string[] | undefined;
|
|
1840
1856
|
outputSchema?: Record<string, unknown> | undefined;
|
|
1841
1857
|
maxTurns?: number | undefined;
|
|
1858
|
+
mode?: "agent" | "ask" | "plan" | undefined;
|
|
1842
1859
|
execution?: {
|
|
1843
1860
|
isolation?: "envelope" | "live" | undefined;
|
|
1844
1861
|
workspaceKind?: "directory" | "git" | undefined;
|
|
@@ -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;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
|
|
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,CA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AM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAElF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEnC,CAAC;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE9E,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiC6D,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"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod/v3";
|
|
2
2
|
import { ControlArtifactInfo, ControlQueuedRunInfo, ControlRunStartInfo, ControlRunStartRequest, ControlRunSummary, } from "./control.js";
|
|
3
|
-
import { Id } from "./primitives.js";
|
|
3
|
+
import { Id, ModeKind } from "./primitives.js";
|
|
4
4
|
import { DeliveryReceipt } from "./delivery.js";
|
|
5
5
|
import { RunExecution } from "./control-run-execution.js";
|
|
6
6
|
export const ControlRunStartResponse = z
|
|
@@ -88,6 +88,7 @@ export const ControlThreadTurnRequest = ControlRunStartRequest.omit({
|
|
|
88
88
|
planRef: true,
|
|
89
89
|
})
|
|
90
90
|
.extend({
|
|
91
|
+
mode: ModeKind.optional().describe("Turn mode override; omission inherits the thread's default mode."),
|
|
91
92
|
execution: RunExecution.pick({ workspaceKind: true, scopePaths: true, isolation: true })
|
|
92
93
|
.partial()
|
|
93
94
|
.strict()
|
|
@@ -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;
|
|
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,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC/C,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,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