@claudexor/schema 3.1.2 → 3.3.7-rc.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 +157 -129
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +3 -1
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/apply-eligibility.d.ts +472 -273
- package/dist/apply-eligibility.d.ts.map +1 -1
- package/dist/apply-eligibility.js +25 -1
- package/dist/apply-eligibility.js.map +1 -1
- package/dist/attachment.d.ts +17 -17
- package/dist/attachment.d.ts.map +1 -1
- package/dist/attachment.js +1 -1
- package/dist/attachment.js.map +1 -1
- package/dist/auth.d.ts +475 -475
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +1 -1
- package/dist/auth.js.map +1 -1
- package/dist/budget.d.ts +59 -59
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +1 -1
- package/dist/budget.js.map +1 -1
- package/dist/config.d.ts +320 -316
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +26 -19
- package/dist/config.js.map +1 -1
- package/dist/context.d.ts +38 -38
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +1 -1
- package/dist/context.js.map +1 -1
- package/dist/control-auth-route.d.ts +46 -0
- package/dist/control-auth-route.d.ts.map +1 -0
- package/dist/control-auth-route.js +24 -0
- package/dist/control-auth-route.js.map +1 -0
- package/dist/control-gc.d.ts +15 -15
- package/dist/control-gc.d.ts.map +1 -1
- package/dist/control-gc.js +1 -1
- package/dist/control-gc.js.map +1 -1
- package/dist/control-harness-list.d.ts +896 -0
- package/dist/control-harness-list.d.ts.map +1 -0
- package/dist/control-harness-list.js +13 -0
- package/dist/control-harness-list.js.map +1 -0
- package/dist/control-operation-responses.d.ts +644 -629
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +5 -1
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-run-detail.d.ts +2229 -1569
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-detail.js +46 -2
- package/dist/control-run-detail.js.map +1 -1
- package/dist/control-run-failure.d.ts +57 -0
- package/dist/control-run-failure.d.ts.map +1 -0
- package/dist/control-run-failure.js +89 -0
- package/dist/control-run-failure.js.map +1 -0
- package/dist/control-run-retry.d.ts +16 -16
- package/dist/control-run-retry.d.ts.map +1 -1
- package/dist/control-run-retry.js +1 -1
- package/dist/control-run-retry.js.map +1 -1
- package/dist/control-run-scope.d.ts +19 -2
- package/dist/control-run-scope.d.ts.map +1 -1
- package/dist/control-run-scope.js +22 -1
- package/dist/control-run-scope.js.map +1 -1
- package/dist/control-secret.d.ts +7 -7
- package/dist/control-secret.d.ts.map +1 -1
- package/dist/control-secret.js +1 -1
- package/dist/control-secret.js.map +1 -1
- package/dist/control-thread-apply.d.ts +65 -65
- package/dist/control-thread-apply.d.ts.map +1 -1
- package/dist/control-thread-apply.js +1 -1
- package/dist/control-thread-apply.js.map +1 -1
- package/dist/control-trust.d.ts +23 -23
- package/dist/control-trust.d.ts.map +1 -1
- package/dist/control-trust.js +1 -1
- package/dist/control-trust.js.map +1 -1
- package/dist/control.d.ts +1551 -2385
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +29 -107
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +3206 -0
- package/dist/credential-profile-snapshot.d.ts.map +1 -0
- package/dist/credential-profile-snapshot.js +28 -0
- package/dist/credential-profile-snapshot.js.map +1 -0
- package/dist/credential-profile.d.ts +170 -107
- package/dist/credential-profile.d.ts.map +1 -1
- package/dist/credential-profile.js +24 -7
- package/dist/credential-profile.js.map +1 -1
- package/dist/decision.d.ts +121 -121
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +2 -1
- package/dist/decision.js.map +1 -1
- package/dist/deep-scan.d.ts +5 -5
- package/dist/deep-scan.d.ts.map +1 -1
- package/dist/deep-scan.js +1 -1
- package/dist/deep-scan.js.map +1 -1
- package/dist/delegation.d.ts +13 -13
- package/dist/delegation.d.ts.map +1 -1
- package/dist/delegation.js +1 -1
- package/dist/delegation.js.map +1 -1
- package/dist/delivery.d.ts +32 -32
- package/dist/delivery.d.ts.map +1 -1
- package/dist/delivery.js +1 -1
- package/dist/delivery.js.map +1 -1
- package/dist/effort.d.ts +1 -1
- package/dist/effort.d.ts.map +1 -1
- package/dist/effort.js +1 -1
- package/dist/effort.js.map +1 -1
- package/dist/events.d.ts +55 -35
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +20 -1
- package/dist/events.js.map +1 -1
- package/dist/gate.d.ts +7 -7
- package/dist/gate.d.ts.map +1 -1
- package/dist/gate.js +1 -1
- package/dist/gate.js.map +1 -1
- package/dist/git-capability.d.ts +23 -0
- package/dist/git-capability.d.ts.map +1 -0
- package/dist/git-capability.js +15 -0
- package/dist/git-capability.js.map +1 -0
- package/dist/harness-confinement.d.ts +64 -0
- package/dist/harness-confinement.d.ts.map +1 -0
- package/dist/harness-confinement.js +64 -0
- package/dist/harness-confinement.js.map +1 -0
- package/dist/harness.d.ts +428 -408
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +15 -26
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/dist/interaction.d.ts +10 -0
- package/dist/interaction.d.ts.map +1 -0
- package/dist/interaction.js +2 -0
- package/dist/interaction.js.map +1 -0
- package/dist/operation.d.ts +113 -113
- package/dist/operation.d.ts.map +1 -1
- package/dist/operation.js +1 -1
- package/dist/operation.js.map +1 -1
- package/dist/output-schema-dialect.d.ts +1 -1
- package/dist/output-schema-dialect.d.ts.map +1 -1
- package/dist/output-schema-dialect.js +1 -1
- package/dist/output-schema-dialect.js.map +1 -1
- package/dist/output-schema.d.ts +2 -2
- package/dist/output-schema.js +2 -2
- package/dist/plan.d.ts +29 -29
- package/dist/plan.d.ts.map +1 -1
- package/dist/plan.js +2 -2
- package/dist/plan.js.map +1 -1
- package/dist/primitives.d.ts +1 -1
- package/dist/primitives.d.ts.map +1 -1
- package/dist/primitives.js +1 -1
- package/dist/primitives.js.map +1 -1
- package/dist/problem.d.ts +6 -6
- package/dist/problem.d.ts.map +1 -1
- package/dist/problem.js +1 -1
- package/dist/problem.js.map +1 -1
- package/dist/project.d.ts +87 -25
- package/dist/project.d.ts.map +1 -1
- package/dist/project.js +21 -1
- package/dist/project.js.map +1 -1
- package/dist/quota.d.ts +51 -51
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +6 -1
- package/dist/quota.js.map +1 -1
- package/dist/raw.d.ts +16 -16
- package/dist/raw.d.ts.map +1 -1
- package/dist/raw.js +1 -1
- package/dist/raw.js.map +1 -1
- package/dist/readiness.d.ts +242 -242
- package/dist/readiness.d.ts.map +1 -1
- package/dist/readiness.js +1 -1
- package/dist/readiness.js.map +1 -1
- package/dist/recovery.d.ts +106 -106
- package/dist/recovery.d.ts.map +1 -1
- package/dist/recovery.js +1 -1
- package/dist/recovery.js.map +1 -1
- package/dist/request-requirements.d.ts +9 -9
- package/dist/request-requirements.d.ts.map +1 -1
- package/dist/request-requirements.js +1 -1
- package/dist/request-requirements.js.map +1 -1
- package/dist/review.d.ts +29 -29
- package/dist/review.d.ts.map +1 -1
- package/dist/review.js +1 -1
- package/dist/review.js.map +1 -1
- package/dist/route.d.ts +11 -11
- package/dist/route.d.ts.map +1 -1
- package/dist/route.js +1 -1
- package/dist/route.js.map +1 -1
- package/dist/run-applicability.d.ts +764 -0
- package/dist/run-applicability.d.ts.map +1 -0
- package/dist/run-applicability.js +56 -0
- package/dist/run-applicability.js.map +1 -0
- package/dist/run-facts.d.ts +628 -0
- package/dist/run-facts.d.ts.map +1 -0
- package/dist/run-facts.js +429 -0
- package/dist/run-facts.js.map +1 -0
- package/dist/run-strategy.d.ts +40 -0
- package/dist/run-strategy.d.ts.map +1 -1
- package/dist/run-strategy.js +68 -1
- package/dist/run-strategy.js.map +1 -1
- package/dist/setup-device-code-envelope.d.ts +67 -0
- package/dist/setup-device-code-envelope.d.ts.map +1 -0
- package/dist/setup-device-code-envelope.js +25 -0
- package/dist/setup-device-code-envelope.js.map +1 -0
- package/dist/setup-login-protocol.d.ts +6 -0
- package/dist/setup-login-protocol.d.ts.map +1 -0
- package/dist/setup-login-protocol.js +12 -0
- package/dist/setup-login-protocol.js.map +1 -0
- package/dist/setup-transport.d.ts +12 -0
- package/dist/setup-transport.d.ts.map +1 -0
- package/dist/setup-transport.js +22 -0
- package/dist/setup-transport.js.map +1 -0
- package/dist/setup.d.ts +12572 -3749
- package/dist/setup.d.ts.map +1 -1
- package/dist/setup.js +34 -38
- package/dist/setup.js.map +1 -1
- package/dist/status-projection.d.ts +7 -5
- package/dist/status-projection.d.ts.map +1 -1
- package/dist/status-projection.js +11 -6
- package/dist/status-projection.js.map +1 -1
- package/dist/surface-run-controls.d.ts.map +1 -1
- package/dist/surface-run-controls.js +10 -1
- package/dist/surface-run-controls.js.map +1 -1
- package/dist/task.d.ts +303 -303
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +1 -1
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +1157 -633
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +7 -4
- package/dist/telemetry.js.map +1 -1
- package/dist/thread.d.ts +133 -84
- package/dist/thread.d.ts.map +1 -1
- package/dist/thread.js +21 -2
- package/dist/thread.js.map +1 -1
- package/dist/tool-ref.d.ts +7 -7
- package/dist/tool-ref.d.ts.map +1 -1
- package/dist/tool-ref.js +1 -1
- package/dist/tool-ref.js.map +1 -1
- package/dist/work-report.d.ts +28 -28
- package/dist/work-report.d.ts.map +1 -1
- package/dist/work-report.js +3 -3
- package/dist/work-report.js.map +1 -1
- package/dist/workproduct.d.ts +6 -9
- package/dist/workproduct.d.ts.map +1 -1
- package/dist/workproduct.js +1 -2
- package/dist/workproduct.js.map +1 -1
- package/dist/workspace.d.ts +13 -13
- package/dist/workspace.d.ts.map +1 -1
- package/dist/workspace.js +1 -1
- package/dist/workspace.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +41 -0
- package/generated/ControlCredentialProfileCreateResponse.schema.json +10 -1
- package/generated/ControlCredentialProfileUpdateResponse.schema.json +10 -1
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +1343 -0
- package/generated/ControlCredentialProfilesResponse.schema.json +20 -3
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +1322 -0
- package/generated/ControlDirectoryEntry.schema.json +36 -0
- package/generated/ControlDirectoryListing.schema.json +77 -0
- package/generated/ControlHarnessListResponse.schema.json +41 -1
- package/generated/ControlQuotaResponse.schema.json +2 -1
- package/generated/ControlRunAgainDraft.schema.json +12 -2
- package/generated/ControlRunApplicabilityResponse.schema.json +217 -0
- package/generated/ControlRunDetail.schema.json +494 -69
- package/generated/ControlRunListResponse.schema.json +30 -4
- package/generated/ControlRunStartRequest.schema.json +12 -2
- package/generated/ControlRunSummary.schema.json +30 -4
- package/generated/ControlSettingsSnapshot.schema.json +12 -3
- package/generated/ControlSettingsUpdateRequest.schema.json +12 -3
- package/generated/ControlSetupJob.schema.json +9 -0
- package/generated/ControlSetupJobCreateRequest.schema.json +9 -0
- package/generated/ControlSetupJobEvent.schema.json +858 -758
- package/generated/ControlSetupJobListResponse.schema.json +9 -0
- package/generated/ControlSetupJobSnapshot.schema.json +811 -736
- package/generated/ControlThreadCreateRequest.schema.json +5 -0
- package/generated/ControlThreadDetail.schema.json +31 -1
- package/generated/ControlThreadTurnRequest.schema.json +5 -24
- package/generated/CredentialProfileStatus.schema.json +10 -1
- package/generated/DecisionRecord.schema.json +2 -1
- package/generated/GitCapability.schema.json +46 -0
- package/generated/GlobalConfig.schema.json +13 -4
- package/generated/HarnessEvent.schema.json +2 -1
- package/generated/HarnessManifest.schema.json +1 -1
- package/generated/HarnessStatusDto.schema.json +1 -1
- package/generated/McpRunHandleResult.schema.json +182 -1
- package/generated/McpRunToolResult.schema.json +182 -1
- package/generated/OutputReadyPayload.schema.json +44 -0
- package/generated/RunFacts.schema.json +569 -0
- package/generated/RunFailure.schema.json +19 -2
- package/generated/RunTelemetry.schema.json +492 -2
- package/generated/ThreadTurn.schema.json +29 -0
- package/generated/WorkProduct.schema.json +0 -4
- package/package.json +3 -3
package/dist/operation.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
1
|
+
import { z } from "zod/v3";
|
|
2
2
|
export declare const CONTROL_PROTOCOL_MAJOR: 3;
|
|
3
3
|
export declare const ControlHandshakeRequest: z.ZodObject<{
|
|
4
4
|
protocolMajor: z.ZodNumber;
|
|
@@ -67,20 +67,20 @@ export declare const ControlOperationParameter: z.ZodObject<{
|
|
|
67
67
|
description: z.ZodString;
|
|
68
68
|
}, "strict", z.ZodTypeAny, {
|
|
69
69
|
name: string;
|
|
70
|
-
description: string;
|
|
71
|
-
required: boolean;
|
|
72
70
|
location: "header" | "query";
|
|
71
|
+
required: boolean;
|
|
73
72
|
repeatable: boolean;
|
|
74
73
|
enum: string[] | null;
|
|
75
74
|
schemaRef: string | null;
|
|
75
|
+
description: string;
|
|
76
76
|
}, {
|
|
77
77
|
name: string;
|
|
78
|
-
description: string;
|
|
79
|
-
required: boolean;
|
|
80
78
|
location: "header" | "query";
|
|
79
|
+
required: boolean;
|
|
81
80
|
repeatable?: boolean | undefined;
|
|
82
81
|
enum?: string[] | null | undefined;
|
|
83
82
|
schemaRef?: string | null | undefined;
|
|
83
|
+
description: string;
|
|
84
84
|
}>;
|
|
85
85
|
export type ControlOperationParameter = z.infer<typeof ControlOperationParameter>;
|
|
86
86
|
export declare const ControlOperationDescriptor: z.ZodEffects<z.ZodObject<{
|
|
@@ -110,20 +110,20 @@ export declare const ControlOperationDescriptor: z.ZodEffects<z.ZodObject<{
|
|
|
110
110
|
description: z.ZodString;
|
|
111
111
|
}, "strict", z.ZodTypeAny, {
|
|
112
112
|
name: string;
|
|
113
|
-
description: string;
|
|
114
|
-
required: boolean;
|
|
115
113
|
location: "header" | "query";
|
|
114
|
+
required: boolean;
|
|
116
115
|
repeatable: boolean;
|
|
117
116
|
enum: string[] | null;
|
|
118
117
|
schemaRef: string | null;
|
|
118
|
+
description: string;
|
|
119
119
|
}, {
|
|
120
120
|
name: string;
|
|
121
|
-
description: string;
|
|
122
|
-
required: boolean;
|
|
123
121
|
location: "header" | "query";
|
|
122
|
+
required: boolean;
|
|
124
123
|
repeatable?: boolean | undefined;
|
|
125
124
|
enum?: string[] | null | undefined;
|
|
126
125
|
schemaRef?: string | null | undefined;
|
|
126
|
+
description: string;
|
|
127
127
|
}>, "many">>;
|
|
128
128
|
responseSchema: z.ZodNullable<z.ZodString>;
|
|
129
129
|
errorSchema: z.ZodLiteral<"ControlProblem">;
|
|
@@ -133,97 +133,97 @@ export declare const ControlOperationDescriptor: z.ZodEffects<z.ZodObject<{
|
|
|
133
133
|
responseKind: z.ZodEnum<["json", "stream", "binary"]>;
|
|
134
134
|
completion: z.ZodEnum<["immediate", "durable_handle", "terminal_stream"]>;
|
|
135
135
|
}, "strict", z.ZodTypeAny, {
|
|
136
|
+
id: string;
|
|
137
|
+
method: "DELETE" | "GET" | "PATCH" | "POST" | "PUT";
|
|
136
138
|
path: string;
|
|
137
139
|
summary: string;
|
|
138
|
-
id: string;
|
|
139
140
|
auth: "loopback_bearer" | "loopback_only";
|
|
140
|
-
mutability: "read_only" | "mutating";
|
|
141
|
-
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
142
141
|
requestSchema: string | null;
|
|
143
142
|
parameters: {
|
|
144
143
|
name: string;
|
|
145
|
-
description: string;
|
|
146
|
-
required: boolean;
|
|
147
144
|
location: "header" | "query";
|
|
145
|
+
required: boolean;
|
|
148
146
|
repeatable: boolean;
|
|
149
147
|
enum: string[] | null;
|
|
150
148
|
schemaRef: string | null;
|
|
149
|
+
description: string;
|
|
151
150
|
}[];
|
|
152
151
|
responseSchema: string | null;
|
|
153
152
|
errorSchema: "ControlProblem";
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
153
|
+
mutability: "mutating" | "read_only";
|
|
154
|
+
idempotency: "key_required" | "natural" | "none";
|
|
155
|
+
applicability: "global" | "project" | "run" | "thread";
|
|
156
|
+
responseKind: "binary" | "json" | "stream";
|
|
157
|
+
completion: "durable_handle" | "immediate" | "terminal_stream";
|
|
158
158
|
}, {
|
|
159
|
+
id: string;
|
|
160
|
+
method: "DELETE" | "GET" | "PATCH" | "POST" | "PUT";
|
|
159
161
|
path: string;
|
|
160
162
|
summary: string;
|
|
161
|
-
id: string;
|
|
162
163
|
auth: "loopback_bearer" | "loopback_only";
|
|
163
|
-
mutability: "read_only" | "mutating";
|
|
164
|
-
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
165
164
|
requestSchema: string | null;
|
|
166
|
-
responseSchema: string | null;
|
|
167
|
-
errorSchema: "ControlProblem";
|
|
168
|
-
idempotency: "none" | "natural" | "key_required";
|
|
169
|
-
applicability: "project" | "run" | "thread" | "global";
|
|
170
|
-
responseKind: "stream" | "binary" | "json";
|
|
171
|
-
completion: "immediate" | "durable_handle" | "terminal_stream";
|
|
172
165
|
parameters?: {
|
|
173
166
|
name: string;
|
|
174
|
-
description: string;
|
|
175
|
-
required: boolean;
|
|
176
167
|
location: "header" | "query";
|
|
168
|
+
required: boolean;
|
|
177
169
|
repeatable?: boolean | undefined;
|
|
178
170
|
enum?: string[] | null | undefined;
|
|
179
171
|
schemaRef?: string | null | undefined;
|
|
172
|
+
description: string;
|
|
180
173
|
}[] | undefined;
|
|
174
|
+
responseSchema: string | null;
|
|
175
|
+
errorSchema: "ControlProblem";
|
|
176
|
+
mutability: "mutating" | "read_only";
|
|
177
|
+
idempotency: "key_required" | "natural" | "none";
|
|
178
|
+
applicability: "global" | "project" | "run" | "thread";
|
|
179
|
+
responseKind: "binary" | "json" | "stream";
|
|
180
|
+
completion: "durable_handle" | "immediate" | "terminal_stream";
|
|
181
181
|
}>, {
|
|
182
|
+
id: string;
|
|
183
|
+
method: "DELETE" | "GET" | "PATCH" | "POST" | "PUT";
|
|
182
184
|
path: string;
|
|
183
185
|
summary: string;
|
|
184
|
-
id: string;
|
|
185
186
|
auth: "loopback_bearer" | "loopback_only";
|
|
186
|
-
mutability: "read_only" | "mutating";
|
|
187
|
-
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
188
187
|
requestSchema: string | null;
|
|
189
188
|
parameters: {
|
|
190
189
|
name: string;
|
|
191
|
-
description: string;
|
|
192
|
-
required: boolean;
|
|
193
190
|
location: "header" | "query";
|
|
191
|
+
required: boolean;
|
|
194
192
|
repeatable: boolean;
|
|
195
193
|
enum: string[] | null;
|
|
196
194
|
schemaRef: string | null;
|
|
195
|
+
description: string;
|
|
197
196
|
}[];
|
|
198
197
|
responseSchema: string | null;
|
|
199
198
|
errorSchema: "ControlProblem";
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
199
|
+
mutability: "mutating" | "read_only";
|
|
200
|
+
idempotency: "key_required" | "natural" | "none";
|
|
201
|
+
applicability: "global" | "project" | "run" | "thread";
|
|
202
|
+
responseKind: "binary" | "json" | "stream";
|
|
203
|
+
completion: "durable_handle" | "immediate" | "terminal_stream";
|
|
204
204
|
}, {
|
|
205
|
+
id: string;
|
|
206
|
+
method: "DELETE" | "GET" | "PATCH" | "POST" | "PUT";
|
|
205
207
|
path: string;
|
|
206
208
|
summary: string;
|
|
207
|
-
id: string;
|
|
208
209
|
auth: "loopback_bearer" | "loopback_only";
|
|
209
|
-
mutability: "read_only" | "mutating";
|
|
210
|
-
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
211
210
|
requestSchema: string | null;
|
|
212
|
-
responseSchema: string | null;
|
|
213
|
-
errorSchema: "ControlProblem";
|
|
214
|
-
idempotency: "none" | "natural" | "key_required";
|
|
215
|
-
applicability: "project" | "run" | "thread" | "global";
|
|
216
|
-
responseKind: "stream" | "binary" | "json";
|
|
217
|
-
completion: "immediate" | "durable_handle" | "terminal_stream";
|
|
218
211
|
parameters?: {
|
|
219
212
|
name: string;
|
|
220
|
-
description: string;
|
|
221
|
-
required: boolean;
|
|
222
213
|
location: "header" | "query";
|
|
214
|
+
required: boolean;
|
|
223
215
|
repeatable?: boolean | undefined;
|
|
224
216
|
enum?: string[] | null | undefined;
|
|
225
217
|
schemaRef?: string | null | undefined;
|
|
218
|
+
description: string;
|
|
226
219
|
}[] | undefined;
|
|
220
|
+
responseSchema: string | null;
|
|
221
|
+
errorSchema: "ControlProblem";
|
|
222
|
+
mutability: "mutating" | "read_only";
|
|
223
|
+
idempotency: "key_required" | "natural" | "none";
|
|
224
|
+
applicability: "global" | "project" | "run" | "thread";
|
|
225
|
+
responseKind: "binary" | "json" | "stream";
|
|
226
|
+
completion: "durable_handle" | "immediate" | "terminal_stream";
|
|
227
227
|
}>;
|
|
228
228
|
export type ControlOperationDescriptor = z.infer<typeof ControlOperationDescriptor>;
|
|
229
229
|
export declare const ControlOperationCatalog: z.ZodObject<{
|
|
@@ -255,20 +255,20 @@ export declare const ControlOperationCatalog: z.ZodObject<{
|
|
|
255
255
|
description: z.ZodString;
|
|
256
256
|
}, "strict", z.ZodTypeAny, {
|
|
257
257
|
name: string;
|
|
258
|
-
description: string;
|
|
259
|
-
required: boolean;
|
|
260
258
|
location: "header" | "query";
|
|
259
|
+
required: boolean;
|
|
261
260
|
repeatable: boolean;
|
|
262
261
|
enum: string[] | null;
|
|
263
262
|
schemaRef: string | null;
|
|
263
|
+
description: string;
|
|
264
264
|
}, {
|
|
265
265
|
name: string;
|
|
266
|
-
description: string;
|
|
267
|
-
required: boolean;
|
|
268
266
|
location: "header" | "query";
|
|
267
|
+
required: boolean;
|
|
269
268
|
repeatable?: boolean | undefined;
|
|
270
269
|
enum?: string[] | null | undefined;
|
|
271
270
|
schemaRef?: string | null | undefined;
|
|
271
|
+
description: string;
|
|
272
272
|
}>, "many">>;
|
|
273
273
|
responseSchema: z.ZodNullable<z.ZodString>;
|
|
274
274
|
errorSchema: z.ZodLiteral<"ControlProblem">;
|
|
@@ -278,149 +278,149 @@ export declare const ControlOperationCatalog: z.ZodObject<{
|
|
|
278
278
|
responseKind: z.ZodEnum<["json", "stream", "binary"]>;
|
|
279
279
|
completion: z.ZodEnum<["immediate", "durable_handle", "terminal_stream"]>;
|
|
280
280
|
}, "strict", z.ZodTypeAny, {
|
|
281
|
+
id: string;
|
|
282
|
+
method: "DELETE" | "GET" | "PATCH" | "POST" | "PUT";
|
|
281
283
|
path: string;
|
|
282
284
|
summary: string;
|
|
283
|
-
id: string;
|
|
284
285
|
auth: "loopback_bearer" | "loopback_only";
|
|
285
|
-
mutability: "read_only" | "mutating";
|
|
286
|
-
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
287
286
|
requestSchema: string | null;
|
|
288
287
|
parameters: {
|
|
289
288
|
name: string;
|
|
290
|
-
description: string;
|
|
291
|
-
required: boolean;
|
|
292
289
|
location: "header" | "query";
|
|
290
|
+
required: boolean;
|
|
293
291
|
repeatable: boolean;
|
|
294
292
|
enum: string[] | null;
|
|
295
293
|
schemaRef: string | null;
|
|
294
|
+
description: string;
|
|
296
295
|
}[];
|
|
297
296
|
responseSchema: string | null;
|
|
298
297
|
errorSchema: "ControlProblem";
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
298
|
+
mutability: "mutating" | "read_only";
|
|
299
|
+
idempotency: "key_required" | "natural" | "none";
|
|
300
|
+
applicability: "global" | "project" | "run" | "thread";
|
|
301
|
+
responseKind: "binary" | "json" | "stream";
|
|
302
|
+
completion: "durable_handle" | "immediate" | "terminal_stream";
|
|
303
303
|
}, {
|
|
304
|
+
id: string;
|
|
305
|
+
method: "DELETE" | "GET" | "PATCH" | "POST" | "PUT";
|
|
304
306
|
path: string;
|
|
305
307
|
summary: string;
|
|
306
|
-
id: string;
|
|
307
308
|
auth: "loopback_bearer" | "loopback_only";
|
|
308
|
-
mutability: "read_only" | "mutating";
|
|
309
|
-
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
310
309
|
requestSchema: string | null;
|
|
311
|
-
responseSchema: string | null;
|
|
312
|
-
errorSchema: "ControlProblem";
|
|
313
|
-
idempotency: "none" | "natural" | "key_required";
|
|
314
|
-
applicability: "project" | "run" | "thread" | "global";
|
|
315
|
-
responseKind: "stream" | "binary" | "json";
|
|
316
|
-
completion: "immediate" | "durable_handle" | "terminal_stream";
|
|
317
310
|
parameters?: {
|
|
318
311
|
name: string;
|
|
319
|
-
description: string;
|
|
320
|
-
required: boolean;
|
|
321
312
|
location: "header" | "query";
|
|
313
|
+
required: boolean;
|
|
322
314
|
repeatable?: boolean | undefined;
|
|
323
315
|
enum?: string[] | null | undefined;
|
|
324
316
|
schemaRef?: string | null | undefined;
|
|
317
|
+
description: string;
|
|
325
318
|
}[] | undefined;
|
|
319
|
+
responseSchema: string | null;
|
|
320
|
+
errorSchema: "ControlProblem";
|
|
321
|
+
mutability: "mutating" | "read_only";
|
|
322
|
+
idempotency: "key_required" | "natural" | "none";
|
|
323
|
+
applicability: "global" | "project" | "run" | "thread";
|
|
324
|
+
responseKind: "binary" | "json" | "stream";
|
|
325
|
+
completion: "durable_handle" | "immediate" | "terminal_stream";
|
|
326
326
|
}>, {
|
|
327
|
+
id: string;
|
|
328
|
+
method: "DELETE" | "GET" | "PATCH" | "POST" | "PUT";
|
|
327
329
|
path: string;
|
|
328
330
|
summary: string;
|
|
329
|
-
id: string;
|
|
330
331
|
auth: "loopback_bearer" | "loopback_only";
|
|
331
|
-
mutability: "read_only" | "mutating";
|
|
332
|
-
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
333
332
|
requestSchema: string | null;
|
|
334
333
|
parameters: {
|
|
335
334
|
name: string;
|
|
336
|
-
description: string;
|
|
337
|
-
required: boolean;
|
|
338
335
|
location: "header" | "query";
|
|
336
|
+
required: boolean;
|
|
339
337
|
repeatable: boolean;
|
|
340
338
|
enum: string[] | null;
|
|
341
339
|
schemaRef: string | null;
|
|
340
|
+
description: string;
|
|
342
341
|
}[];
|
|
343
342
|
responseSchema: string | null;
|
|
344
343
|
errorSchema: "ControlProblem";
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
344
|
+
mutability: "mutating" | "read_only";
|
|
345
|
+
idempotency: "key_required" | "natural" | "none";
|
|
346
|
+
applicability: "global" | "project" | "run" | "thread";
|
|
347
|
+
responseKind: "binary" | "json" | "stream";
|
|
348
|
+
completion: "durable_handle" | "immediate" | "terminal_stream";
|
|
349
349
|
}, {
|
|
350
|
+
id: string;
|
|
351
|
+
method: "DELETE" | "GET" | "PATCH" | "POST" | "PUT";
|
|
350
352
|
path: string;
|
|
351
353
|
summary: string;
|
|
352
|
-
id: string;
|
|
353
354
|
auth: "loopback_bearer" | "loopback_only";
|
|
354
|
-
mutability: "read_only" | "mutating";
|
|
355
|
-
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
356
355
|
requestSchema: string | null;
|
|
357
|
-
responseSchema: string | null;
|
|
358
|
-
errorSchema: "ControlProblem";
|
|
359
|
-
idempotency: "none" | "natural" | "key_required";
|
|
360
|
-
applicability: "project" | "run" | "thread" | "global";
|
|
361
|
-
responseKind: "stream" | "binary" | "json";
|
|
362
|
-
completion: "immediate" | "durable_handle" | "terminal_stream";
|
|
363
356
|
parameters?: {
|
|
364
357
|
name: string;
|
|
365
|
-
description: string;
|
|
366
|
-
required: boolean;
|
|
367
358
|
location: "header" | "query";
|
|
359
|
+
required: boolean;
|
|
368
360
|
repeatable?: boolean | undefined;
|
|
369
361
|
enum?: string[] | null | undefined;
|
|
370
362
|
schemaRef?: string | null | undefined;
|
|
363
|
+
description: string;
|
|
371
364
|
}[] | undefined;
|
|
365
|
+
responseSchema: string | null;
|
|
366
|
+
errorSchema: "ControlProblem";
|
|
367
|
+
mutability: "mutating" | "read_only";
|
|
368
|
+
idempotency: "key_required" | "natural" | "none";
|
|
369
|
+
applicability: "global" | "project" | "run" | "thread";
|
|
370
|
+
responseKind: "binary" | "json" | "stream";
|
|
371
|
+
completion: "durable_handle" | "immediate" | "terminal_stream";
|
|
372
372
|
}>, "many">;
|
|
373
373
|
}, "strict", z.ZodTypeAny, {
|
|
374
374
|
protocolMajor: 3;
|
|
375
375
|
operations: {
|
|
376
|
+
id: string;
|
|
377
|
+
method: "DELETE" | "GET" | "PATCH" | "POST" | "PUT";
|
|
376
378
|
path: string;
|
|
377
379
|
summary: string;
|
|
378
|
-
id: string;
|
|
379
380
|
auth: "loopback_bearer" | "loopback_only";
|
|
380
|
-
mutability: "read_only" | "mutating";
|
|
381
|
-
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
382
381
|
requestSchema: string | null;
|
|
383
382
|
parameters: {
|
|
384
383
|
name: string;
|
|
385
|
-
description: string;
|
|
386
|
-
required: boolean;
|
|
387
384
|
location: "header" | "query";
|
|
385
|
+
required: boolean;
|
|
388
386
|
repeatable: boolean;
|
|
389
387
|
enum: string[] | null;
|
|
390
388
|
schemaRef: string | null;
|
|
389
|
+
description: string;
|
|
391
390
|
}[];
|
|
392
391
|
responseSchema: string | null;
|
|
393
392
|
errorSchema: "ControlProblem";
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
393
|
+
mutability: "mutating" | "read_only";
|
|
394
|
+
idempotency: "key_required" | "natural" | "none";
|
|
395
|
+
applicability: "global" | "project" | "run" | "thread";
|
|
396
|
+
responseKind: "binary" | "json" | "stream";
|
|
397
|
+
completion: "durable_handle" | "immediate" | "terminal_stream";
|
|
398
398
|
}[];
|
|
399
399
|
}, {
|
|
400
400
|
protocolMajor: 3;
|
|
401
401
|
operations: {
|
|
402
|
+
id: string;
|
|
403
|
+
method: "DELETE" | "GET" | "PATCH" | "POST" | "PUT";
|
|
402
404
|
path: string;
|
|
403
405
|
summary: string;
|
|
404
|
-
id: string;
|
|
405
406
|
auth: "loopback_bearer" | "loopback_only";
|
|
406
|
-
mutability: "read_only" | "mutating";
|
|
407
|
-
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
408
407
|
requestSchema: string | null;
|
|
409
|
-
responseSchema: string | null;
|
|
410
|
-
errorSchema: "ControlProblem";
|
|
411
|
-
idempotency: "none" | "natural" | "key_required";
|
|
412
|
-
applicability: "project" | "run" | "thread" | "global";
|
|
413
|
-
responseKind: "stream" | "binary" | "json";
|
|
414
|
-
completion: "immediate" | "durable_handle" | "terminal_stream";
|
|
415
408
|
parameters?: {
|
|
416
409
|
name: string;
|
|
417
|
-
description: string;
|
|
418
|
-
required: boolean;
|
|
419
410
|
location: "header" | "query";
|
|
411
|
+
required: boolean;
|
|
420
412
|
repeatable?: boolean | undefined;
|
|
421
413
|
enum?: string[] | null | undefined;
|
|
422
414
|
schemaRef?: string | null | undefined;
|
|
415
|
+
description: string;
|
|
423
416
|
}[] | undefined;
|
|
417
|
+
responseSchema: string | null;
|
|
418
|
+
errorSchema: "ControlProblem";
|
|
419
|
+
mutability: "mutating" | "read_only";
|
|
420
|
+
idempotency: "key_required" | "natural" | "none";
|
|
421
|
+
applicability: "global" | "project" | "run" | "thread";
|
|
422
|
+
responseKind: "binary" | "json" | "stream";
|
|
423
|
+
completion: "durable_handle" | "immediate" | "terminal_stream";
|
|
424
424
|
}[];
|
|
425
425
|
}>;
|
|
426
426
|
export type ControlOperationCatalog = z.infer<typeof ControlOperationCatalog>;
|
package/dist/operation.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operation.d.ts","sourceRoot":"","sources":["../src/operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"operation.d.ts","sourceRoot":"","sources":["../src/operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAO3B,eAAO,MAAM,sBAAsB,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|
package/dist/operation.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
1
|
+
import { z } from "zod/v3";
|
|
2
2
|
// v3.0.0 broke run/thread/status/mode contracts wholesale, so the negotiated
|
|
3
3
|
// major moved to 3. The URL prefix stays the frozen literal `/v2/` — a path
|
|
4
4
|
// spelling, not the compatibility contract; the negotiated protocolMajor is
|
package/dist/operation.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operation.js","sourceRoot":"","sources":["../src/operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"operation.js","sourceRoot":"","sources":["../src/operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B,6EAA6E;AAC7E,4EAA4E;AAC5E,4EAA4E;AAC5E,4EAA4E;AAC5E,0BAA0B;AAC1B,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAU,CAAC;AAEjD,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC;KACrC,MAAM,CAAC;IACN,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC1C,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC;CAClC,CAAC;KACD,MAAM,EAAE;KACR,QAAQ,CAAC,oEAAoE,CAAC,CAAC;AAGlF,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC;KACtC,MAAM,CAAC;IACN,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,sBAAsB,CAAC;IAChD,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IAC3B,cAAc,EAAE,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC;IAC3C;2EACuE;IACvE,MAAM,EAAE,CAAC;SAC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AC;IAC7C,WAAW,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,SAAS,EAAE,cAAc,CAAC,CAAC;IACxD,aAAa,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC;IAC7D,YAAY,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;IAClD,UAAU,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,gBAAgB,EAAE,iBAAiB,CAAC,CAAC;CACvE,CAAC;KACD,MAAM,EAAE;KACR,WAAW,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;IAC1B,IAAI,KAAK,CAAC,YAAY,KAAK,MAAM,IAAI,KAAK,CAAC,cAAc,KAAK,IAAI,EAAE,CAAC;QACnE,GAAG,CAAC,QAAQ,CAAC;YACX,IAAI,EAAE,CAAC,CAAC,YAAY,CAAC,MAAM;YAC3B,IAAI,EAAE,CAAC,gBAAgB,CAAC;YACxB,OAAO,EAAE,qDAAqD;SAC/D,CAAC,CAAC;IACL,CAAC;AACH,CAAC,CAAC;KACD,QAAQ,CAAC,0DAA0D,CAAC,CAAC;AAGxE,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC;KACrC,MAAM,CAAC;IACN,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,sBAAsB,CAAC;IAChD,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC;CAChD,CAAC;KACD,MAAM,EAAE;KACR,QAAQ,CAAC,uDAAuD,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
1
|
+
import { z } from "zod/v3";
|
|
2
2
|
/** JSON Schema dialects the structured-output validator can compile. */
|
|
3
3
|
export declare const OutputSchemaDialect: z.ZodEnum<["draft-07", "draft-2020-12"]>;
|
|
4
4
|
export type OutputSchemaDialect = z.infer<typeof OutputSchemaDialect>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"output-schema-dialect.d.ts","sourceRoot":"","sources":["../src/output-schema-dialect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"output-schema-dialect.d.ts","sourceRoot":"","sources":["../src/output-schema-dialect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B,wEAAwE;AACxE,eAAO,MAAM,mBAAmB,0CAE6C,CAAC;AAC9E,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEtE,eAAO,MAAM,6BAA6B,EAAE,mBAAgC,CAAC;AAE7E;;;;GAIG;AACH,eAAO,MAAM,sBAAsB;sBAEtB,UAAU;kBACd,yCAAyC;;;sBAIrC,eAAe;kBACnB,8CAA8C;;EAOpD,CAAC;AAEJ,8EAA8E;AAC9E,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,MAAM,GAAG,mBAAmB,GAAG,IAAI,CAelF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"output-schema-dialect.js","sourceRoot":"","sources":["../src/output-schema-dialect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"output-schema-dialect.js","sourceRoot":"","sources":["../src/output-schema-dialect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B,wEAAwE;AACxE,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC;KACjC,IAAI,CAAC,CAAC,UAAU,EAAE,eAAe,CAAC,CAAC;KACnC,QAAQ,CAAC,gEAAgE,CAAC,CAAC;AAG9E,MAAM,CAAC,MAAM,6BAA6B,GAAwB,UAAU,CAAC;AAE7E;;;;GAIG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC;QACE,OAAO,EAAE,UAAU;QACnB,GAAG,EAAE,yCAAyC;QAC9C,kBAAkB,EAAE,IAAI;KACzB;IACD;QACE,OAAO,EAAE,eAAe;QACxB,GAAG,EAAE,8CAA8C;QACnD,kBAAkB,EAAE,KAAK;KAC1B;CAKA,CAAC;AAEJ,8EAA8E;AAC9E,MAAM,UAAU,0BAA0B,CAAC,GAAW;IACpD,MAAM,UAAU,GAAG,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IACzC,IACE,UAAU,KAAK,wCAAwC;QACvD,UAAU,KAAK,yCAAyC,EACxD,CAAC;QACD,OAAO,UAAU,CAAC;IACpB,CAAC;IACD,IACE,UAAU,KAAK,8CAA8C;QAC7D,UAAU,KAAK,6CAA6C,EAC5D,CAAC;QACD,OAAO,eAAe,CAAC;IACzB,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
|
package/dist/output-schema.d.ts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* caller's copy). `output` controls the no-vs-with-caller shape:
|
|
15
15
|
* - a strictified caller schema → `{ work_report, output: <schema> }`
|
|
16
16
|
* - "string" → `{ work_report, output: {type:"string"} }`
|
|
17
|
-
* (codex
|
|
18
|
-
*
|
|
17
|
+
* (codex final_message routes with no caller schema: the markdown deliverable
|
|
18
|
+
* rides the string so the constrained final message can carry it)
|
|
19
19
|
* - null → `{ work_report }` only
|
|
20
20
|
* (claude side_tool route with no caller schema: the WorkReport rides its
|
|
21
21
|
* StructuredOutput tool while the final message stays markdown = deliverable)
|
package/dist/output-schema.js
CHANGED
|
@@ -15,8 +15,8 @@ import { WORK_REPORT_TRANSPORT_SCHEMA } from "./work-report.js";
|
|
|
15
15
|
* caller's copy). `output` controls the no-vs-with-caller shape:
|
|
16
16
|
* - a strictified caller schema → `{ work_report, output: <schema> }`
|
|
17
17
|
* - "string" → `{ work_report, output: {type:"string"} }`
|
|
18
|
-
* (codex
|
|
19
|
-
*
|
|
18
|
+
* (codex final_message routes with no caller schema: the markdown deliverable
|
|
19
|
+
* rides the string so the constrained final message can carry it)
|
|
20
20
|
* - null → `{ work_report }` only
|
|
21
21
|
* (claude side_tool route with no caller schema: the WorkReport rides its
|
|
22
22
|
* StructuredOutput tool while the final message stays markdown = deliverable)
|