@hyperdrive.bot/paseo-protocol 0.3.34 → 0.3.36
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-labels.d.ts +17 -0
- package/dist/agent-labels.js +42 -0
- package/dist/fleet/decisions.d.ts +178 -0
- package/dist/fleet/decisions.js +149 -0
- package/dist/fleet/params.d.ts +84 -0
- package/dist/fleet/params.js +142 -0
- package/dist/fleet/rpc-schemas.d.ts +792 -0
- package/dist/fleet/rpc-schemas.js +187 -0
- package/dist/fleet/types.d.ts +170 -0
- package/dist/fleet/types.js +80 -0
- package/dist/generated/validation/ws-outbound.aot.js +10628 -6724
- package/dist/messages.d.ts +2626 -6
- package/dist/messages.js +126 -0
- package/dist/validation/ws-outbound-schema-metadata.d.ts +716 -1
- package/package.json +1 -1
package/dist/messages.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import type { LiteralUnion } from "./literal-union.js";
|
|
|
3
3
|
import { ChatCreateRequestSchema, ChatListRequestSchema, ChatInspectRequestSchema, ChatDeleteRequestSchema, ChatPostRequestSchema, ChatReadRequestSchema, ChatWaitRequestSchema, ChatCreateResponseSchema, ChatListResponseSchema, ChatInspectResponseSchema, ChatDeleteResponseSchema, ChatPostResponseSchema, ChatReadResponseSchema, ChatWaitResponseSchema } from "./chat/rpc-schemas.js";
|
|
4
4
|
import { ScheduleCreateRequestSchema, ScheduleListRequestSchema, ScheduleInspectRequestSchema, ScheduleLogsRequestSchema, SchedulePauseRequestSchema, ScheduleResumeRequestSchema, ScheduleDeleteRequestSchema, ScheduleRunOnceRequestSchema, ScheduleUpdateRequestSchema, ScheduleCreateResponseSchema, ScheduleListResponseSchema, ScheduleInspectResponseSchema, ScheduleLogsResponseSchema, SchedulePauseResponseSchema, ScheduleResumeResponseSchema, ScheduleDeleteResponseSchema, ScheduleRunOnceResponseSchema, ScheduleUpdateResponseSchema } from "./schedule/rpc-schemas.js";
|
|
5
5
|
import { LoopRunRequestSchema, LoopListRequestSchema, LoopInspectRequestSchema, LoopLogsRequestSchema, LoopStopRequestSchema, LoopRunResponseSchema, LoopListResponseSchema, LoopInspectResponseSchema, LoopLogsResponseSchema, LoopStopResponseSchema } from "./loop/rpc-schemas.js";
|
|
6
|
+
import { FleetListRequestSchema, FleetInspectRequestSchema, FleetRunNowRequestSchema, FleetPauseRequestSchema, FleetResumeRequestSchema, FleetSetModeRequestSchema, FleetAskRequestSchema, FleetDecisionsRequestSchema, FleetResolveDecisionRequestSchema, FleetSetParamsRequestSchema, FleetCreateRequestSchema, FleetExecutionsRequestSchema, FleetListResponseSchema, FleetInspectResponseSchema, FleetRunNowResponseSchema, FleetPauseResponseSchema, FleetResumeResponseSchema, FleetSetModeResponseSchema, FleetAskResponseSchema, FleetDecisionsResponseSchema, FleetResolveDecisionResponseSchema, FleetSetParamsResponseSchema, FleetCreateResponseSchema, FleetExecutionsResponseSchema } from "./fleet/rpc-schemas.js";
|
|
6
7
|
import { PaseoConfigRawSchema, PaseoLifecycleCommandRawSchema, PaseoMetadataGenerationEntrySchema, PaseoMetadataGenerationSchema, PaseoScriptEntryRawSchema, PaseoWorktreeConfigRawSchema, type PaseoConfigRaw, type PaseoConfigRevision, type PaseoMetadataGeneration, type PaseoMetadataGenerationEntry, type PaseoScriptEntryRaw, type ProjectConfigRpcError } from "./paseo-config-schema.js";
|
|
7
8
|
export { PaseoConfigRawSchema, PaseoLifecycleCommandRawSchema, PaseoMetadataGenerationEntrySchema, PaseoMetadataGenerationSchema, PaseoScriptEntryRawSchema, PaseoWorktreeConfigRawSchema, type PaseoConfigRaw, type PaseoConfigRevision, type PaseoMetadataGeneration, type PaseoMetadataGenerationEntry, type PaseoScriptEntryRaw, type ProjectConfigRpcError, };
|
|
8
9
|
export declare const TerminalProfileSchema: z.ZodObject<{
|
|
@@ -240,9 +241,9 @@ export declare const WORKFLOW_EVENT_TYPES: readonly ["created", "started", "comp
|
|
|
240
241
|
export declare const WorkflowEventTypeSchema: z.ZodEnum<{
|
|
241
242
|
completed: "completed";
|
|
242
243
|
failed: "failed";
|
|
244
|
+
started: "started";
|
|
243
245
|
cancelled: "cancelled";
|
|
244
246
|
created: "created";
|
|
245
|
-
started: "started";
|
|
246
247
|
archived: "archived";
|
|
247
248
|
}>;
|
|
248
249
|
export declare const WorkflowLifecycleEventSchema: z.ZodObject<{
|
|
@@ -250,9 +251,9 @@ export declare const WorkflowLifecycleEventSchema: z.ZodObject<{
|
|
|
250
251
|
type: z.ZodEnum<{
|
|
251
252
|
completed: "completed";
|
|
252
253
|
failed: "failed";
|
|
254
|
+
started: "started";
|
|
253
255
|
cancelled: "cancelled";
|
|
254
256
|
created: "created";
|
|
255
|
-
started: "started";
|
|
256
257
|
archived: "archived";
|
|
257
258
|
}>;
|
|
258
259
|
status: z.ZodEnum<{
|
|
@@ -414,9 +415,9 @@ export declare const WorkflowEventsResponseSchema: z.ZodObject<{
|
|
|
414
415
|
type: z.ZodEnum<{
|
|
415
416
|
completed: "completed";
|
|
416
417
|
failed: "failed";
|
|
418
|
+
started: "started";
|
|
417
419
|
cancelled: "cancelled";
|
|
418
420
|
created: "created";
|
|
419
|
-
started: "started";
|
|
420
421
|
archived: "archived";
|
|
421
422
|
}>;
|
|
422
423
|
status: z.ZodEnum<{
|
|
@@ -924,6 +925,88 @@ export declare const ArchiveAgentRequestMessageSchema: z.ZodObject<{
|
|
|
924
925
|
* inside Claude Code. `taskId` names the shell the user dismissed (for
|
|
925
926
|
* symmetry/logging); the kill is the CLI's global stop-background-work action.
|
|
926
927
|
*/
|
|
928
|
+
export declare const BackgroundTaskStatusSchema: z.ZodEnum<{
|
|
929
|
+
running: "running";
|
|
930
|
+
completed: "completed";
|
|
931
|
+
failed: "failed";
|
|
932
|
+
canceled: "canceled";
|
|
933
|
+
}>;
|
|
934
|
+
/**
|
|
935
|
+
* One background shell an agent owns: a command the provider launched with
|
|
936
|
+
* `run_in_background` so it outlives the turn. Mirrors what the Claude Code CLI
|
|
937
|
+
* shows for its own background tasks -- the command, how long it has run, and
|
|
938
|
+
* where its output is being captured -- so paseo can surface the same view.
|
|
939
|
+
*/
|
|
940
|
+
export declare const BackgroundTaskPayloadSchema: z.ZodObject<{
|
|
941
|
+
agentId: z.ZodString;
|
|
942
|
+
agentTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
943
|
+
taskId: z.ZodString;
|
|
944
|
+
command: z.ZodNullable<z.ZodString>;
|
|
945
|
+
description: z.ZodNullable<z.ZodString>;
|
|
946
|
+
status: z.ZodEnum<{
|
|
947
|
+
running: "running";
|
|
948
|
+
completed: "completed";
|
|
949
|
+
failed: "failed";
|
|
950
|
+
canceled: "canceled";
|
|
951
|
+
}>;
|
|
952
|
+
startedAt: z.ZodString;
|
|
953
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
954
|
+
summary: z.ZodNullable<z.ZodString>;
|
|
955
|
+
hasOutput: z.ZodBoolean;
|
|
956
|
+
}, z.core.$strip>;
|
|
957
|
+
export type BackgroundTaskPayload = z.infer<typeof BackgroundTaskPayloadSchema>;
|
|
958
|
+
/**
|
|
959
|
+
* List an agent's background shells, or every agent's when `agentId` is omitted.
|
|
960
|
+
* Fetched on demand (like `list_terminals_request`) rather than pushed on every
|
|
961
|
+
* snapshot, so the per-agent count stays the only thing on the hot path.
|
|
962
|
+
*/
|
|
963
|
+
export declare const ListBackgroundTasksRequestMessageSchema: z.ZodObject<{
|
|
964
|
+
type: z.ZodLiteral<"list_background_tasks_request">;
|
|
965
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
966
|
+
requestId: z.ZodString;
|
|
967
|
+
}, z.core.$strip>;
|
|
968
|
+
export declare const ListBackgroundTasksResponseSchema: z.ZodObject<{
|
|
969
|
+
type: z.ZodLiteral<"list_background_tasks_response">;
|
|
970
|
+
payload: z.ZodObject<{
|
|
971
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
972
|
+
agentId: z.ZodString;
|
|
973
|
+
agentTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
974
|
+
taskId: z.ZodString;
|
|
975
|
+
command: z.ZodNullable<z.ZodString>;
|
|
976
|
+
description: z.ZodNullable<z.ZodString>;
|
|
977
|
+
status: z.ZodEnum<{
|
|
978
|
+
running: "running";
|
|
979
|
+
completed: "completed";
|
|
980
|
+
failed: "failed";
|
|
981
|
+
canceled: "canceled";
|
|
982
|
+
}>;
|
|
983
|
+
startedAt: z.ZodString;
|
|
984
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
985
|
+
summary: z.ZodNullable<z.ZodString>;
|
|
986
|
+
hasOutput: z.ZodBoolean;
|
|
987
|
+
}, z.core.$strip>>;
|
|
988
|
+
requestId: z.ZodString;
|
|
989
|
+
}, z.core.$strip>;
|
|
990
|
+
}, z.core.$strip>;
|
|
991
|
+
/** Read back a background shell's captured output (tailed and redacted). */
|
|
992
|
+
export declare const BackgroundTaskOutputRequestMessageSchema: z.ZodObject<{
|
|
993
|
+
type: z.ZodLiteral<"background_task_output_request">;
|
|
994
|
+
agentId: z.ZodString;
|
|
995
|
+
taskId: z.ZodString;
|
|
996
|
+
maxBytes: z.ZodOptional<z.ZodNumber>;
|
|
997
|
+
requestId: z.ZodString;
|
|
998
|
+
}, z.core.$strip>;
|
|
999
|
+
export declare const BackgroundTaskOutputResponseSchema: z.ZodObject<{
|
|
1000
|
+
type: z.ZodLiteral<"background_task_output_response">;
|
|
1001
|
+
payload: z.ZodObject<{
|
|
1002
|
+
agentId: z.ZodString;
|
|
1003
|
+
taskId: z.ZodString;
|
|
1004
|
+
text: z.ZodNullable<z.ZodString>;
|
|
1005
|
+
truncated: z.ZodBoolean;
|
|
1006
|
+
byteSize: z.ZodNumber;
|
|
1007
|
+
requestId: z.ZodString;
|
|
1008
|
+
}, z.core.$strip>;
|
|
1009
|
+
}, z.core.$strip>;
|
|
927
1010
|
export declare const DismissBackgroundTaskRequestMessageSchema: z.ZodObject<{
|
|
928
1011
|
type: z.ZodLiteral<"dismiss_background_task_request">;
|
|
929
1012
|
agentId: z.ZodString;
|
|
@@ -1789,6 +1872,17 @@ export declare const GetProvidersSnapshotRequestMessageSchema: z.ZodObject<{
|
|
|
1789
1872
|
cwd: z.ZodOptional<z.ZodString>;
|
|
1790
1873
|
requestId: z.ZodString;
|
|
1791
1874
|
}, z.core.$strip>;
|
|
1875
|
+
/**
|
|
1876
|
+
* Re-read `agents.providers` from `$PASEO_HOME/config.json` into the live
|
|
1877
|
+
* provider registry without restarting the daemon. Unlike
|
|
1878
|
+
* `set_daemon_config_request` (which deep-merges a patch and can therefore only
|
|
1879
|
+
* add or update), this replaces the base override map, so providers deleted
|
|
1880
|
+
* from the file are actually removed.
|
|
1881
|
+
*/
|
|
1882
|
+
export declare const ProvidersReloadConfigRequestMessageSchema: z.ZodObject<{
|
|
1883
|
+
type: z.ZodLiteral<"providers.reload_config.request">;
|
|
1884
|
+
requestId: z.ZodString;
|
|
1885
|
+
}, z.core.$strip>;
|
|
1792
1886
|
export declare const RefreshProvidersSnapshotRequestMessageSchema: z.ZodObject<{
|
|
1793
1887
|
type: z.ZodLiteral<"refresh_providers_snapshot_request">;
|
|
1794
1888
|
cwd: z.ZodOptional<z.ZodString>;
|
|
@@ -3537,6 +3631,16 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
3537
3631
|
agentId: z.ZodString;
|
|
3538
3632
|
taskId: z.ZodString;
|
|
3539
3633
|
requestId: z.ZodString;
|
|
3634
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3635
|
+
type: z.ZodLiteral<"list_background_tasks_request">;
|
|
3636
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
3637
|
+
requestId: z.ZodString;
|
|
3638
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3639
|
+
type: z.ZodLiteral<"background_task_output_request">;
|
|
3640
|
+
agentId: z.ZodString;
|
|
3641
|
+
taskId: z.ZodString;
|
|
3642
|
+
maxBytes: z.ZodOptional<z.ZodNumber>;
|
|
3643
|
+
requestId: z.ZodString;
|
|
3540
3644
|
}, z.core.$strip>, z.ZodObject<{
|
|
3541
3645
|
type: z.ZodLiteral<"close_items_request">;
|
|
3542
3646
|
agentIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -3978,6 +4082,9 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
3978
4082
|
type: z.ZodLiteral<"get_providers_snapshot_request">;
|
|
3979
4083
|
cwd: z.ZodOptional<z.ZodString>;
|
|
3980
4084
|
requestId: z.ZodString;
|
|
4085
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4086
|
+
type: z.ZodLiteral<"providers.reload_config.request">;
|
|
4087
|
+
requestId: z.ZodString;
|
|
3981
4088
|
}, z.core.$strip>, z.ZodObject<{
|
|
3982
4089
|
type: z.ZodLiteral<"refresh_providers_snapshot_request">;
|
|
3983
4090
|
cwd: z.ZodOptional<z.ZodString>;
|
|
@@ -4969,6 +5076,103 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
4969
5076
|
type: z.ZodLiteral<"loop/stop">;
|
|
4970
5077
|
requestId: z.ZodString;
|
|
4971
5078
|
id: z.ZodString;
|
|
5079
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5080
|
+
type: z.ZodLiteral<"fleet/list">;
|
|
5081
|
+
requestId: z.ZodString;
|
|
5082
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5083
|
+
type: z.ZodLiteral<"fleet/inspect">;
|
|
5084
|
+
requestId: z.ZodString;
|
|
5085
|
+
name: z.ZodString;
|
|
5086
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5087
|
+
type: z.ZodLiteral<"fleet/run-now">;
|
|
5088
|
+
requestId: z.ZodString;
|
|
5089
|
+
name: z.ZodString;
|
|
5090
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5091
|
+
type: z.ZodLiteral<"fleet/pause">;
|
|
5092
|
+
requestId: z.ZodString;
|
|
5093
|
+
name: z.ZodString;
|
|
5094
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5095
|
+
type: z.ZodLiteral<"fleet/resume">;
|
|
5096
|
+
requestId: z.ZodString;
|
|
5097
|
+
name: z.ZodString;
|
|
5098
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5099
|
+
type: z.ZodLiteral<"fleet/set-mode">;
|
|
5100
|
+
requestId: z.ZodString;
|
|
5101
|
+
name: z.ZodString;
|
|
5102
|
+
mode: z.ZodEnum<{
|
|
5103
|
+
live: "live";
|
|
5104
|
+
"dry-run": "dry-run";
|
|
5105
|
+
}>;
|
|
5106
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5107
|
+
type: z.ZodLiteral<"fleet/ask">;
|
|
5108
|
+
requestId: z.ZodString;
|
|
5109
|
+
name: z.ZodString;
|
|
5110
|
+
kind: z.ZodEnum<{
|
|
5111
|
+
"gate-approval": "gate-approval";
|
|
5112
|
+
"action-approval": "action-approval";
|
|
5113
|
+
"outcome-review": "outcome-review";
|
|
5114
|
+
}>;
|
|
5115
|
+
question: z.ZodString;
|
|
5116
|
+
posture: z.ZodEnum<{
|
|
5117
|
+
blocking: "blocking";
|
|
5118
|
+
deferring: "deferring";
|
|
5119
|
+
advisory: "advisory";
|
|
5120
|
+
}>;
|
|
5121
|
+
options: z.ZodArray<z.ZodObject<{
|
|
5122
|
+
id: z.ZodString;
|
|
5123
|
+
label: z.ZodString;
|
|
5124
|
+
effect: z.ZodObject<{
|
|
5125
|
+
kind: z.ZodEnum<{
|
|
5126
|
+
act: "act";
|
|
5127
|
+
rehearse: "rehearse";
|
|
5128
|
+
defer: "defer";
|
|
5129
|
+
suppress: "suppress";
|
|
5130
|
+
}>;
|
|
5131
|
+
reversibility: z.ZodEnum<{
|
|
5132
|
+
reversible: "reversible";
|
|
5133
|
+
compensable: "compensable";
|
|
5134
|
+
irreversible: "irreversible";
|
|
5135
|
+
}>;
|
|
5136
|
+
compensatingAction: z.ZodOptional<z.ZodString>;
|
|
5137
|
+
}, z.core.$strip>;
|
|
5138
|
+
}, z.core.$strip>>;
|
|
5139
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
5140
|
+
itemKey: z.ZodOptional<z.ZodString>;
|
|
5141
|
+
evidence: z.ZodOptional<z.ZodString>;
|
|
5142
|
+
onExpiry: z.ZodOptional<z.ZodString>;
|
|
5143
|
+
expiresInMs: z.ZodOptional<z.ZodNumber>;
|
|
5144
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5145
|
+
type: z.ZodLiteral<"fleet/decisions">;
|
|
5146
|
+
requestId: z.ZodString;
|
|
5147
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5148
|
+
includeResolved: z.ZodOptional<z.ZodBoolean>;
|
|
5149
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5150
|
+
type: z.ZodLiteral<"fleet/resolve-decision">;
|
|
5151
|
+
requestId: z.ZodString;
|
|
5152
|
+
decisionId: z.ZodString;
|
|
5153
|
+
optionId: z.ZodString;
|
|
5154
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5155
|
+
type: z.ZodLiteral<"fleet/set-params">;
|
|
5156
|
+
requestId: z.ZodString;
|
|
5157
|
+
name: z.ZodString;
|
|
5158
|
+
values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
|
|
5159
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5160
|
+
type: z.ZodLiteral<"fleet/create">;
|
|
5161
|
+
requestId: z.ZodString;
|
|
5162
|
+
name: z.ZodString;
|
|
5163
|
+
description: z.ZodString;
|
|
5164
|
+
cron: z.ZodString;
|
|
5165
|
+
action: z.ZodString;
|
|
5166
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
5167
|
+
live: "live";
|
|
5168
|
+
"dry-run": "dry-run";
|
|
5169
|
+
}>>;
|
|
5170
|
+
rails: z.ZodOptional<z.ZodString>;
|
|
5171
|
+
allowed: z.ZodOptional<z.ZodString>;
|
|
5172
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5173
|
+
type: z.ZodLiteral<"fleet/executions">;
|
|
5174
|
+
requestId: z.ZodString;
|
|
5175
|
+
name: z.ZodString;
|
|
4972
5176
|
}, z.core.$strip>, z.ZodObject<{
|
|
4973
5177
|
type: z.ZodLiteral<"watch.notificationAction">;
|
|
4974
5178
|
notificationId: z.ZodString;
|
|
@@ -5152,6 +5356,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5152
5356
|
recallSearch: z.ZodOptional<z.ZodBoolean>;
|
|
5153
5357
|
fileUploads: z.ZodOptional<z.ZodBoolean>;
|
|
5154
5358
|
sessionsListRpc: z.ZodOptional<z.ZodBoolean>;
|
|
5359
|
+
loopDecisions: z.ZodOptional<z.ZodBoolean>;
|
|
5155
5360
|
workflows: z.ZodOptional<z.ZodBoolean>;
|
|
5156
5361
|
extensions: z.ZodOptional<z.ZodBoolean>;
|
|
5157
5362
|
sessionDigest: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5196,6 +5401,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5196
5401
|
recallSearch?: boolean | undefined;
|
|
5197
5402
|
fileUploads?: boolean | undefined;
|
|
5198
5403
|
sessionsListRpc?: boolean | undefined;
|
|
5404
|
+
loopDecisions?: boolean | undefined;
|
|
5199
5405
|
workflows?: boolean | undefined;
|
|
5200
5406
|
extensions?: boolean | undefined;
|
|
5201
5407
|
sessionDigest?: boolean | undefined;
|
|
@@ -5241,6 +5447,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5241
5447
|
recallSearch?: boolean | undefined;
|
|
5242
5448
|
fileUploads?: boolean | undefined;
|
|
5243
5449
|
sessionsListRpc?: boolean | undefined;
|
|
5450
|
+
loopDecisions?: boolean | undefined;
|
|
5244
5451
|
workflows?: boolean | undefined;
|
|
5245
5452
|
extensions?: boolean | undefined;
|
|
5246
5453
|
sessionDigest?: boolean | undefined;
|
|
@@ -11862,6 +12069,25 @@ export declare const GetProvidersSnapshotResponseMessageSchema: z.ZodObject<{
|
|
|
11862
12069
|
requestId: z.ZodString;
|
|
11863
12070
|
}, z.core.$strip>;
|
|
11864
12071
|
}, z.core.$strip>;
|
|
12072
|
+
/**
|
|
12073
|
+
* Result of a provider config reload. Reports provider *ids* only — never the
|
|
12074
|
+
* resolved `env`, which routinely holds API keys (see docs/custom-providers.md).
|
|
12075
|
+
*/
|
|
12076
|
+
export declare const ProvidersReloadConfigResponseMessageSchema: z.ZodObject<{
|
|
12077
|
+
type: z.ZodLiteral<"providers.reload_config.response">;
|
|
12078
|
+
payload: z.ZodObject<{
|
|
12079
|
+
added: z.ZodArray<z.ZodString>;
|
|
12080
|
+
updated: z.ZodArray<z.ZodString>;
|
|
12081
|
+
removed: z.ZodArray<z.ZodString>;
|
|
12082
|
+
unchanged: z.ZodArray<z.ZodString>;
|
|
12083
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
12084
|
+
provider: z.ZodString;
|
|
12085
|
+
label: z.ZodString;
|
|
12086
|
+
enabled: z.ZodBoolean;
|
|
12087
|
+
}, z.core.$strip>>;
|
|
12088
|
+
requestId: z.ZodString;
|
|
12089
|
+
}, z.core.$strip>;
|
|
12090
|
+
}, z.core.$strip>;
|
|
11865
12091
|
export declare const ProvidersSnapshotUpdateMessageSchema: z.ZodObject<{
|
|
11866
12092
|
type: z.ZodLiteral<"providers_snapshot_update">;
|
|
11867
12093
|
payload: z.ZodObject<{
|
|
@@ -15918,9 +16144,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
15918
16144
|
type: z.ZodEnum<{
|
|
15919
16145
|
completed: "completed";
|
|
15920
16146
|
failed: "failed";
|
|
16147
|
+
started: "started";
|
|
15921
16148
|
cancelled: "cancelled";
|
|
15922
16149
|
created: "created";
|
|
15923
|
-
started: "started";
|
|
15924
16150
|
archived: "archived";
|
|
15925
16151
|
}>;
|
|
15926
16152
|
status: z.ZodEnum<{
|
|
@@ -16404,6 +16630,38 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
16404
16630
|
dismissed: z.ZodBoolean;
|
|
16405
16631
|
requestId: z.ZodString;
|
|
16406
16632
|
}, z.core.$strip>;
|
|
16633
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
16634
|
+
type: z.ZodLiteral<"list_background_tasks_response">;
|
|
16635
|
+
payload: z.ZodObject<{
|
|
16636
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
16637
|
+
agentId: z.ZodString;
|
|
16638
|
+
agentTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16639
|
+
taskId: z.ZodString;
|
|
16640
|
+
command: z.ZodNullable<z.ZodString>;
|
|
16641
|
+
description: z.ZodNullable<z.ZodString>;
|
|
16642
|
+
status: z.ZodEnum<{
|
|
16643
|
+
running: "running";
|
|
16644
|
+
completed: "completed";
|
|
16645
|
+
failed: "failed";
|
|
16646
|
+
canceled: "canceled";
|
|
16647
|
+
}>;
|
|
16648
|
+
startedAt: z.ZodString;
|
|
16649
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
16650
|
+
summary: z.ZodNullable<z.ZodString>;
|
|
16651
|
+
hasOutput: z.ZodBoolean;
|
|
16652
|
+
}, z.core.$strip>>;
|
|
16653
|
+
requestId: z.ZodString;
|
|
16654
|
+
}, z.core.$strip>;
|
|
16655
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
16656
|
+
type: z.ZodLiteral<"background_task_output_response">;
|
|
16657
|
+
payload: z.ZodObject<{
|
|
16658
|
+
agentId: z.ZodString;
|
|
16659
|
+
taskId: z.ZodString;
|
|
16660
|
+
text: z.ZodNullable<z.ZodString>;
|
|
16661
|
+
truncated: z.ZodBoolean;
|
|
16662
|
+
byteSize: z.ZodNumber;
|
|
16663
|
+
requestId: z.ZodString;
|
|
16664
|
+
}, z.core.$strip>;
|
|
16407
16665
|
}, z.core.$strip>, z.ZodObject<{
|
|
16408
16666
|
type: z.ZodLiteral<"close_items_response">;
|
|
16409
16667
|
payload: z.ZodObject<{
|
|
@@ -17862,6 +18120,20 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
17862
18120
|
generatedAt: z.ZodString;
|
|
17863
18121
|
requestId: z.ZodString;
|
|
17864
18122
|
}, z.core.$strip>;
|
|
18123
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
18124
|
+
type: z.ZodLiteral<"providers.reload_config.response">;
|
|
18125
|
+
payload: z.ZodObject<{
|
|
18126
|
+
added: z.ZodArray<z.ZodString>;
|
|
18127
|
+
updated: z.ZodArray<z.ZodString>;
|
|
18128
|
+
removed: z.ZodArray<z.ZodString>;
|
|
18129
|
+
unchanged: z.ZodArray<z.ZodString>;
|
|
18130
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
18131
|
+
provider: z.ZodString;
|
|
18132
|
+
label: z.ZodString;
|
|
18133
|
+
enabled: z.ZodBoolean;
|
|
18134
|
+
}, z.core.$strip>>;
|
|
18135
|
+
requestId: z.ZodString;
|
|
18136
|
+
}, z.core.$strip>;
|
|
17865
18137
|
}, z.core.$strip>, z.ZodObject<{
|
|
17866
18138
|
type: z.ZodLiteral<"providers_snapshot_update">;
|
|
17867
18139
|
payload: z.ZodObject<{
|
|
@@ -19079,6 +19351,675 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
19079
19351
|
}, z.core.$strip>>;
|
|
19080
19352
|
error: z.ZodNullable<z.ZodString>;
|
|
19081
19353
|
}, z.core.$strip>;
|
|
19354
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19355
|
+
type: z.ZodLiteral<"fleet/list/response">;
|
|
19356
|
+
payload: z.ZodObject<{
|
|
19357
|
+
requestId: z.ZodString;
|
|
19358
|
+
loops: z.ZodArray<z.ZodObject<{
|
|
19359
|
+
mode: z.ZodEnum<{
|
|
19360
|
+
unknown: "unknown";
|
|
19361
|
+
live: "live";
|
|
19362
|
+
"dry-run": "dry-run";
|
|
19363
|
+
}>;
|
|
19364
|
+
description: z.ZodOptional<z.ZodString>;
|
|
19365
|
+
name: z.ZodString;
|
|
19366
|
+
status: z.ZodEnum<{
|
|
19367
|
+
error: "error";
|
|
19368
|
+
idle: "idle";
|
|
19369
|
+
unknown: "unknown";
|
|
19370
|
+
paused: "paused";
|
|
19371
|
+
healthy: "healthy";
|
|
19372
|
+
blocked: "blocked";
|
|
19373
|
+
unscheduled: "unscheduled";
|
|
19374
|
+
}>;
|
|
19375
|
+
paused: z.ZodBoolean;
|
|
19376
|
+
cadence: z.ZodOptional<z.ZodString>;
|
|
19377
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
19378
|
+
displayName: z.ZodString;
|
|
19379
|
+
dir: z.ZodString;
|
|
19380
|
+
statePrefix: z.ZodString;
|
|
19381
|
+
scheduled: z.ZodBoolean;
|
|
19382
|
+
findingCount: z.ZodNumber;
|
|
19383
|
+
paramsSchema: z.ZodOptional<z.ZodObject<{
|
|
19384
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
19385
|
+
key: z.ZodString;
|
|
19386
|
+
label: z.ZodString;
|
|
19387
|
+
type: z.ZodEnum<{
|
|
19388
|
+
string: "string";
|
|
19389
|
+
number: "number";
|
|
19390
|
+
boolean: "boolean";
|
|
19391
|
+
enum: "enum";
|
|
19392
|
+
"string-list": "string-list";
|
|
19393
|
+
}>;
|
|
19394
|
+
description: z.ZodOptional<z.ZodString>;
|
|
19395
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
19396
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19397
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
19398
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
19399
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
19400
|
+
}, z.core.$strip>>;
|
|
19401
|
+
}, z.core.$strip>>;
|
|
19402
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
19403
|
+
}, z.core.$strip>>;
|
|
19404
|
+
error: z.ZodNullable<z.ZodString>;
|
|
19405
|
+
}, z.core.$strip>;
|
|
19406
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19407
|
+
type: z.ZodLiteral<"fleet/inspect/response">;
|
|
19408
|
+
payload: z.ZodObject<{
|
|
19409
|
+
requestId: z.ZodString;
|
|
19410
|
+
loop: z.ZodNullable<z.ZodObject<{
|
|
19411
|
+
name: z.ZodString;
|
|
19412
|
+
displayName: z.ZodString;
|
|
19413
|
+
description: z.ZodOptional<z.ZodString>;
|
|
19414
|
+
dir: z.ZodString;
|
|
19415
|
+
statePrefix: z.ZodString;
|
|
19416
|
+
scheduled: z.ZodBoolean;
|
|
19417
|
+
paused: z.ZodBoolean;
|
|
19418
|
+
cadence: z.ZodOptional<z.ZodString>;
|
|
19419
|
+
mode: z.ZodEnum<{
|
|
19420
|
+
unknown: "unknown";
|
|
19421
|
+
live: "live";
|
|
19422
|
+
"dry-run": "dry-run";
|
|
19423
|
+
}>;
|
|
19424
|
+
status: z.ZodEnum<{
|
|
19425
|
+
error: "error";
|
|
19426
|
+
idle: "idle";
|
|
19427
|
+
unknown: "unknown";
|
|
19428
|
+
paused: "paused";
|
|
19429
|
+
healthy: "healthy";
|
|
19430
|
+
blocked: "blocked";
|
|
19431
|
+
unscheduled: "unscheduled";
|
|
19432
|
+
}>;
|
|
19433
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
19434
|
+
findingCount: z.ZodNumber;
|
|
19435
|
+
openFindings: z.ZodArray<z.ZodObject<{
|
|
19436
|
+
key: z.ZodString;
|
|
19437
|
+
title: z.ZodOptional<z.ZodString>;
|
|
19438
|
+
evidence: z.ZodOptional<z.ZodString>;
|
|
19439
|
+
actionable: z.ZodBoolean;
|
|
19440
|
+
outcome: z.ZodOptional<z.ZodString>;
|
|
19441
|
+
handledAt: z.ZodOptional<z.ZodString>;
|
|
19442
|
+
}, z.core.$strip>>;
|
|
19443
|
+
errorTail: z.ZodOptional<z.ZodString>;
|
|
19444
|
+
recentRuns: z.ZodArray<z.ZodObject<{
|
|
19445
|
+
date: z.ZodString;
|
|
19446
|
+
gateCount: z.ZodNumber;
|
|
19447
|
+
freshCount: z.ZodNumber;
|
|
19448
|
+
doneCount: z.ZodNumber;
|
|
19449
|
+
}, z.core.$strip>>;
|
|
19450
|
+
paramsSchema: z.ZodOptional<z.ZodObject<{
|
|
19451
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
19452
|
+
key: z.ZodString;
|
|
19453
|
+
label: z.ZodString;
|
|
19454
|
+
type: z.ZodEnum<{
|
|
19455
|
+
string: "string";
|
|
19456
|
+
number: "number";
|
|
19457
|
+
boolean: "boolean";
|
|
19458
|
+
enum: "enum";
|
|
19459
|
+
"string-list": "string-list";
|
|
19460
|
+
}>;
|
|
19461
|
+
description: z.ZodOptional<z.ZodString>;
|
|
19462
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
19463
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19464
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
19465
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
19466
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
19467
|
+
}, z.core.$strip>>;
|
|
19468
|
+
}, z.core.$strip>>;
|
|
19469
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
19470
|
+
}, z.core.$strip>>;
|
|
19471
|
+
error: z.ZodNullable<z.ZodString>;
|
|
19472
|
+
}, z.core.$strip>;
|
|
19473
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19474
|
+
type: z.ZodLiteral<"fleet/run-now/response">;
|
|
19475
|
+
payload: z.ZodObject<{
|
|
19476
|
+
requestId: z.ZodString;
|
|
19477
|
+
loop: z.ZodNullable<z.ZodObject<{
|
|
19478
|
+
name: z.ZodString;
|
|
19479
|
+
displayName: z.ZodString;
|
|
19480
|
+
description: z.ZodOptional<z.ZodString>;
|
|
19481
|
+
dir: z.ZodString;
|
|
19482
|
+
statePrefix: z.ZodString;
|
|
19483
|
+
scheduled: z.ZodBoolean;
|
|
19484
|
+
paused: z.ZodBoolean;
|
|
19485
|
+
cadence: z.ZodOptional<z.ZodString>;
|
|
19486
|
+
mode: z.ZodEnum<{
|
|
19487
|
+
unknown: "unknown";
|
|
19488
|
+
live: "live";
|
|
19489
|
+
"dry-run": "dry-run";
|
|
19490
|
+
}>;
|
|
19491
|
+
status: z.ZodEnum<{
|
|
19492
|
+
error: "error";
|
|
19493
|
+
idle: "idle";
|
|
19494
|
+
unknown: "unknown";
|
|
19495
|
+
paused: "paused";
|
|
19496
|
+
healthy: "healthy";
|
|
19497
|
+
blocked: "blocked";
|
|
19498
|
+
unscheduled: "unscheduled";
|
|
19499
|
+
}>;
|
|
19500
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
19501
|
+
findingCount: z.ZodNumber;
|
|
19502
|
+
openFindings: z.ZodArray<z.ZodObject<{
|
|
19503
|
+
key: z.ZodString;
|
|
19504
|
+
title: z.ZodOptional<z.ZodString>;
|
|
19505
|
+
evidence: z.ZodOptional<z.ZodString>;
|
|
19506
|
+
actionable: z.ZodBoolean;
|
|
19507
|
+
outcome: z.ZodOptional<z.ZodString>;
|
|
19508
|
+
handledAt: z.ZodOptional<z.ZodString>;
|
|
19509
|
+
}, z.core.$strip>>;
|
|
19510
|
+
errorTail: z.ZodOptional<z.ZodString>;
|
|
19511
|
+
recentRuns: z.ZodArray<z.ZodObject<{
|
|
19512
|
+
date: z.ZodString;
|
|
19513
|
+
gateCount: z.ZodNumber;
|
|
19514
|
+
freshCount: z.ZodNumber;
|
|
19515
|
+
doneCount: z.ZodNumber;
|
|
19516
|
+
}, z.core.$strip>>;
|
|
19517
|
+
paramsSchema: z.ZodOptional<z.ZodObject<{
|
|
19518
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
19519
|
+
key: z.ZodString;
|
|
19520
|
+
label: z.ZodString;
|
|
19521
|
+
type: z.ZodEnum<{
|
|
19522
|
+
string: "string";
|
|
19523
|
+
number: "number";
|
|
19524
|
+
boolean: "boolean";
|
|
19525
|
+
enum: "enum";
|
|
19526
|
+
"string-list": "string-list";
|
|
19527
|
+
}>;
|
|
19528
|
+
description: z.ZodOptional<z.ZodString>;
|
|
19529
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
19530
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19531
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
19532
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
19533
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
19534
|
+
}, z.core.$strip>>;
|
|
19535
|
+
}, z.core.$strip>>;
|
|
19536
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
19537
|
+
}, z.core.$strip>>;
|
|
19538
|
+
started: z.ZodBoolean;
|
|
19539
|
+
error: z.ZodNullable<z.ZodString>;
|
|
19540
|
+
}, z.core.$strip>;
|
|
19541
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19542
|
+
type: z.ZodLiteral<"fleet/pause/response">;
|
|
19543
|
+
payload: z.ZodObject<{
|
|
19544
|
+
requestId: z.ZodString;
|
|
19545
|
+
loop: z.ZodNullable<z.ZodObject<{
|
|
19546
|
+
mode: z.ZodEnum<{
|
|
19547
|
+
unknown: "unknown";
|
|
19548
|
+
live: "live";
|
|
19549
|
+
"dry-run": "dry-run";
|
|
19550
|
+
}>;
|
|
19551
|
+
description: z.ZodOptional<z.ZodString>;
|
|
19552
|
+
name: z.ZodString;
|
|
19553
|
+
status: z.ZodEnum<{
|
|
19554
|
+
error: "error";
|
|
19555
|
+
idle: "idle";
|
|
19556
|
+
unknown: "unknown";
|
|
19557
|
+
paused: "paused";
|
|
19558
|
+
healthy: "healthy";
|
|
19559
|
+
blocked: "blocked";
|
|
19560
|
+
unscheduled: "unscheduled";
|
|
19561
|
+
}>;
|
|
19562
|
+
paused: z.ZodBoolean;
|
|
19563
|
+
cadence: z.ZodOptional<z.ZodString>;
|
|
19564
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
19565
|
+
displayName: z.ZodString;
|
|
19566
|
+
dir: z.ZodString;
|
|
19567
|
+
statePrefix: z.ZodString;
|
|
19568
|
+
scheduled: z.ZodBoolean;
|
|
19569
|
+
findingCount: z.ZodNumber;
|
|
19570
|
+
paramsSchema: z.ZodOptional<z.ZodObject<{
|
|
19571
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
19572
|
+
key: z.ZodString;
|
|
19573
|
+
label: z.ZodString;
|
|
19574
|
+
type: z.ZodEnum<{
|
|
19575
|
+
string: "string";
|
|
19576
|
+
number: "number";
|
|
19577
|
+
boolean: "boolean";
|
|
19578
|
+
enum: "enum";
|
|
19579
|
+
"string-list": "string-list";
|
|
19580
|
+
}>;
|
|
19581
|
+
description: z.ZodOptional<z.ZodString>;
|
|
19582
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
19583
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19584
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
19585
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
19586
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
19587
|
+
}, z.core.$strip>>;
|
|
19588
|
+
}, z.core.$strip>>;
|
|
19589
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
19590
|
+
}, z.core.$strip>>;
|
|
19591
|
+
error: z.ZodNullable<z.ZodString>;
|
|
19592
|
+
}, z.core.$strip>;
|
|
19593
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19594
|
+
type: z.ZodLiteral<"fleet/resume/response">;
|
|
19595
|
+
payload: z.ZodObject<{
|
|
19596
|
+
requestId: z.ZodString;
|
|
19597
|
+
loop: z.ZodNullable<z.ZodObject<{
|
|
19598
|
+
mode: z.ZodEnum<{
|
|
19599
|
+
unknown: "unknown";
|
|
19600
|
+
live: "live";
|
|
19601
|
+
"dry-run": "dry-run";
|
|
19602
|
+
}>;
|
|
19603
|
+
description: z.ZodOptional<z.ZodString>;
|
|
19604
|
+
name: z.ZodString;
|
|
19605
|
+
status: z.ZodEnum<{
|
|
19606
|
+
error: "error";
|
|
19607
|
+
idle: "idle";
|
|
19608
|
+
unknown: "unknown";
|
|
19609
|
+
paused: "paused";
|
|
19610
|
+
healthy: "healthy";
|
|
19611
|
+
blocked: "blocked";
|
|
19612
|
+
unscheduled: "unscheduled";
|
|
19613
|
+
}>;
|
|
19614
|
+
paused: z.ZodBoolean;
|
|
19615
|
+
cadence: z.ZodOptional<z.ZodString>;
|
|
19616
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
19617
|
+
displayName: z.ZodString;
|
|
19618
|
+
dir: z.ZodString;
|
|
19619
|
+
statePrefix: z.ZodString;
|
|
19620
|
+
scheduled: z.ZodBoolean;
|
|
19621
|
+
findingCount: z.ZodNumber;
|
|
19622
|
+
paramsSchema: z.ZodOptional<z.ZodObject<{
|
|
19623
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
19624
|
+
key: z.ZodString;
|
|
19625
|
+
label: z.ZodString;
|
|
19626
|
+
type: z.ZodEnum<{
|
|
19627
|
+
string: "string";
|
|
19628
|
+
number: "number";
|
|
19629
|
+
boolean: "boolean";
|
|
19630
|
+
enum: "enum";
|
|
19631
|
+
"string-list": "string-list";
|
|
19632
|
+
}>;
|
|
19633
|
+
description: z.ZodOptional<z.ZodString>;
|
|
19634
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
19635
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19636
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
19637
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
19638
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
19639
|
+
}, z.core.$strip>>;
|
|
19640
|
+
}, z.core.$strip>>;
|
|
19641
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
19642
|
+
}, z.core.$strip>>;
|
|
19643
|
+
error: z.ZodNullable<z.ZodString>;
|
|
19644
|
+
}, z.core.$strip>;
|
|
19645
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19646
|
+
type: z.ZodLiteral<"fleet/set-mode/response">;
|
|
19647
|
+
payload: z.ZodObject<{
|
|
19648
|
+
requestId: z.ZodString;
|
|
19649
|
+
loop: z.ZodNullable<z.ZodObject<{
|
|
19650
|
+
mode: z.ZodEnum<{
|
|
19651
|
+
unknown: "unknown";
|
|
19652
|
+
live: "live";
|
|
19653
|
+
"dry-run": "dry-run";
|
|
19654
|
+
}>;
|
|
19655
|
+
description: z.ZodOptional<z.ZodString>;
|
|
19656
|
+
name: z.ZodString;
|
|
19657
|
+
status: z.ZodEnum<{
|
|
19658
|
+
error: "error";
|
|
19659
|
+
idle: "idle";
|
|
19660
|
+
unknown: "unknown";
|
|
19661
|
+
paused: "paused";
|
|
19662
|
+
healthy: "healthy";
|
|
19663
|
+
blocked: "blocked";
|
|
19664
|
+
unscheduled: "unscheduled";
|
|
19665
|
+
}>;
|
|
19666
|
+
paused: z.ZodBoolean;
|
|
19667
|
+
cadence: z.ZodOptional<z.ZodString>;
|
|
19668
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
19669
|
+
displayName: z.ZodString;
|
|
19670
|
+
dir: z.ZodString;
|
|
19671
|
+
statePrefix: z.ZodString;
|
|
19672
|
+
scheduled: z.ZodBoolean;
|
|
19673
|
+
findingCount: z.ZodNumber;
|
|
19674
|
+
paramsSchema: z.ZodOptional<z.ZodObject<{
|
|
19675
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
19676
|
+
key: z.ZodString;
|
|
19677
|
+
label: z.ZodString;
|
|
19678
|
+
type: z.ZodEnum<{
|
|
19679
|
+
string: "string";
|
|
19680
|
+
number: "number";
|
|
19681
|
+
boolean: "boolean";
|
|
19682
|
+
enum: "enum";
|
|
19683
|
+
"string-list": "string-list";
|
|
19684
|
+
}>;
|
|
19685
|
+
description: z.ZodOptional<z.ZodString>;
|
|
19686
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
19687
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19688
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
19689
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
19690
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
19691
|
+
}, z.core.$strip>>;
|
|
19692
|
+
}, z.core.$strip>>;
|
|
19693
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
19694
|
+
}, z.core.$strip>>;
|
|
19695
|
+
previousMode: z.ZodNullable<z.ZodEnum<{
|
|
19696
|
+
unknown: "unknown";
|
|
19697
|
+
live: "live";
|
|
19698
|
+
"dry-run": "dry-run";
|
|
19699
|
+
}>>;
|
|
19700
|
+
changed: z.ZodBoolean;
|
|
19701
|
+
error: z.ZodNullable<z.ZodString>;
|
|
19702
|
+
}, z.core.$strip>;
|
|
19703
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19704
|
+
type: z.ZodLiteral<"fleet/ask/response">;
|
|
19705
|
+
payload: z.ZodObject<{
|
|
19706
|
+
requestId: z.ZodString;
|
|
19707
|
+
decision: z.ZodNullable<z.ZodObject<{
|
|
19708
|
+
id: z.ZodString;
|
|
19709
|
+
loopName: z.ZodString;
|
|
19710
|
+
runId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
19711
|
+
itemKey: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
19712
|
+
kind: z.ZodEnum<{
|
|
19713
|
+
"gate-approval": "gate-approval";
|
|
19714
|
+
"action-approval": "action-approval";
|
|
19715
|
+
"outcome-review": "outcome-review";
|
|
19716
|
+
}>;
|
|
19717
|
+
question: z.ZodString;
|
|
19718
|
+
evidence: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
19719
|
+
posture: z.ZodEnum<{
|
|
19720
|
+
blocking: "blocking";
|
|
19721
|
+
deferring: "deferring";
|
|
19722
|
+
advisory: "advisory";
|
|
19723
|
+
}>;
|
|
19724
|
+
options: z.ZodArray<z.ZodObject<{
|
|
19725
|
+
id: z.ZodString;
|
|
19726
|
+
label: z.ZodString;
|
|
19727
|
+
effect: z.ZodObject<{
|
|
19728
|
+
kind: z.ZodEnum<{
|
|
19729
|
+
act: "act";
|
|
19730
|
+
rehearse: "rehearse";
|
|
19731
|
+
defer: "defer";
|
|
19732
|
+
suppress: "suppress";
|
|
19733
|
+
}>;
|
|
19734
|
+
reversibility: z.ZodEnum<{
|
|
19735
|
+
reversible: "reversible";
|
|
19736
|
+
compensable: "compensable";
|
|
19737
|
+
irreversible: "irreversible";
|
|
19738
|
+
}>;
|
|
19739
|
+
compensatingAction: z.ZodOptional<z.ZodString>;
|
|
19740
|
+
}, z.core.$strip>;
|
|
19741
|
+
}, z.core.$strip>>;
|
|
19742
|
+
onExpiry: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
19743
|
+
expiresAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
19744
|
+
createdAt: z.ZodString;
|
|
19745
|
+
resolvedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
19746
|
+
resolvedOptionId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
19747
|
+
resolvedBy: z.ZodDefault<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19748
|
+
kind: z.ZodLiteral<"human">;
|
|
19749
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
19750
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19751
|
+
kind: z.ZodLiteral<"expiry">;
|
|
19752
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19753
|
+
kind: z.ZodLiteral<"policy">;
|
|
19754
|
+
rule: z.ZodString;
|
|
19755
|
+
}, z.core.$strip>], "kind">>>;
|
|
19756
|
+
}, z.core.$strip>>;
|
|
19757
|
+
error: z.ZodNullable<z.ZodString>;
|
|
19758
|
+
}, z.core.$strip>;
|
|
19759
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19760
|
+
type: z.ZodLiteral<"fleet/decisions/response">;
|
|
19761
|
+
payload: z.ZodObject<{
|
|
19762
|
+
requestId: z.ZodString;
|
|
19763
|
+
decisions: z.ZodArray<z.ZodObject<{
|
|
19764
|
+
id: z.ZodString;
|
|
19765
|
+
loopName: z.ZodString;
|
|
19766
|
+
runId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
19767
|
+
itemKey: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
19768
|
+
kind: z.ZodEnum<{
|
|
19769
|
+
"gate-approval": "gate-approval";
|
|
19770
|
+
"action-approval": "action-approval";
|
|
19771
|
+
"outcome-review": "outcome-review";
|
|
19772
|
+
}>;
|
|
19773
|
+
question: z.ZodString;
|
|
19774
|
+
evidence: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
19775
|
+
posture: z.ZodEnum<{
|
|
19776
|
+
blocking: "blocking";
|
|
19777
|
+
deferring: "deferring";
|
|
19778
|
+
advisory: "advisory";
|
|
19779
|
+
}>;
|
|
19780
|
+
options: z.ZodArray<z.ZodObject<{
|
|
19781
|
+
id: z.ZodString;
|
|
19782
|
+
label: z.ZodString;
|
|
19783
|
+
effect: z.ZodObject<{
|
|
19784
|
+
kind: z.ZodEnum<{
|
|
19785
|
+
act: "act";
|
|
19786
|
+
rehearse: "rehearse";
|
|
19787
|
+
defer: "defer";
|
|
19788
|
+
suppress: "suppress";
|
|
19789
|
+
}>;
|
|
19790
|
+
reversibility: z.ZodEnum<{
|
|
19791
|
+
reversible: "reversible";
|
|
19792
|
+
compensable: "compensable";
|
|
19793
|
+
irreversible: "irreversible";
|
|
19794
|
+
}>;
|
|
19795
|
+
compensatingAction: z.ZodOptional<z.ZodString>;
|
|
19796
|
+
}, z.core.$strip>;
|
|
19797
|
+
}, z.core.$strip>>;
|
|
19798
|
+
onExpiry: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
19799
|
+
expiresAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
19800
|
+
createdAt: z.ZodString;
|
|
19801
|
+
resolvedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
19802
|
+
resolvedOptionId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
19803
|
+
resolvedBy: z.ZodDefault<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19804
|
+
kind: z.ZodLiteral<"human">;
|
|
19805
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
19806
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19807
|
+
kind: z.ZodLiteral<"expiry">;
|
|
19808
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19809
|
+
kind: z.ZodLiteral<"policy">;
|
|
19810
|
+
rule: z.ZodString;
|
|
19811
|
+
}, z.core.$strip>], "kind">>>;
|
|
19812
|
+
}, z.core.$strip>>;
|
|
19813
|
+
error: z.ZodNullable<z.ZodString>;
|
|
19814
|
+
}, z.core.$strip>;
|
|
19815
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19816
|
+
type: z.ZodLiteral<"fleet/resolve-decision/response">;
|
|
19817
|
+
payload: z.ZodObject<{
|
|
19818
|
+
requestId: z.ZodString;
|
|
19819
|
+
decision: z.ZodNullable<z.ZodObject<{
|
|
19820
|
+
id: z.ZodString;
|
|
19821
|
+
loopName: z.ZodString;
|
|
19822
|
+
runId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
19823
|
+
itemKey: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
19824
|
+
kind: z.ZodEnum<{
|
|
19825
|
+
"gate-approval": "gate-approval";
|
|
19826
|
+
"action-approval": "action-approval";
|
|
19827
|
+
"outcome-review": "outcome-review";
|
|
19828
|
+
}>;
|
|
19829
|
+
question: z.ZodString;
|
|
19830
|
+
evidence: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
19831
|
+
posture: z.ZodEnum<{
|
|
19832
|
+
blocking: "blocking";
|
|
19833
|
+
deferring: "deferring";
|
|
19834
|
+
advisory: "advisory";
|
|
19835
|
+
}>;
|
|
19836
|
+
options: z.ZodArray<z.ZodObject<{
|
|
19837
|
+
id: z.ZodString;
|
|
19838
|
+
label: z.ZodString;
|
|
19839
|
+
effect: z.ZodObject<{
|
|
19840
|
+
kind: z.ZodEnum<{
|
|
19841
|
+
act: "act";
|
|
19842
|
+
rehearse: "rehearse";
|
|
19843
|
+
defer: "defer";
|
|
19844
|
+
suppress: "suppress";
|
|
19845
|
+
}>;
|
|
19846
|
+
reversibility: z.ZodEnum<{
|
|
19847
|
+
reversible: "reversible";
|
|
19848
|
+
compensable: "compensable";
|
|
19849
|
+
irreversible: "irreversible";
|
|
19850
|
+
}>;
|
|
19851
|
+
compensatingAction: z.ZodOptional<z.ZodString>;
|
|
19852
|
+
}, z.core.$strip>;
|
|
19853
|
+
}, z.core.$strip>>;
|
|
19854
|
+
onExpiry: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
19855
|
+
expiresAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
19856
|
+
createdAt: z.ZodString;
|
|
19857
|
+
resolvedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
19858
|
+
resolvedOptionId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
19859
|
+
resolvedBy: z.ZodDefault<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19860
|
+
kind: z.ZodLiteral<"human">;
|
|
19861
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
19862
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19863
|
+
kind: z.ZodLiteral<"expiry">;
|
|
19864
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19865
|
+
kind: z.ZodLiteral<"policy">;
|
|
19866
|
+
rule: z.ZodString;
|
|
19867
|
+
}, z.core.$strip>], "kind">>>;
|
|
19868
|
+
}, z.core.$strip>>;
|
|
19869
|
+
error: z.ZodNullable<z.ZodString>;
|
|
19870
|
+
}, z.core.$strip>;
|
|
19871
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19872
|
+
type: z.ZodLiteral<"fleet/set-params/response">;
|
|
19873
|
+
payload: z.ZodObject<{
|
|
19874
|
+
requestId: z.ZodString;
|
|
19875
|
+
loop: z.ZodNullable<z.ZodObject<{
|
|
19876
|
+
name: z.ZodString;
|
|
19877
|
+
displayName: z.ZodString;
|
|
19878
|
+
description: z.ZodOptional<z.ZodString>;
|
|
19879
|
+
dir: z.ZodString;
|
|
19880
|
+
statePrefix: z.ZodString;
|
|
19881
|
+
scheduled: z.ZodBoolean;
|
|
19882
|
+
paused: z.ZodBoolean;
|
|
19883
|
+
cadence: z.ZodOptional<z.ZodString>;
|
|
19884
|
+
mode: z.ZodEnum<{
|
|
19885
|
+
unknown: "unknown";
|
|
19886
|
+
live: "live";
|
|
19887
|
+
"dry-run": "dry-run";
|
|
19888
|
+
}>;
|
|
19889
|
+
status: z.ZodEnum<{
|
|
19890
|
+
error: "error";
|
|
19891
|
+
idle: "idle";
|
|
19892
|
+
unknown: "unknown";
|
|
19893
|
+
paused: "paused";
|
|
19894
|
+
healthy: "healthy";
|
|
19895
|
+
blocked: "blocked";
|
|
19896
|
+
unscheduled: "unscheduled";
|
|
19897
|
+
}>;
|
|
19898
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
19899
|
+
findingCount: z.ZodNumber;
|
|
19900
|
+
openFindings: z.ZodArray<z.ZodObject<{
|
|
19901
|
+
key: z.ZodString;
|
|
19902
|
+
title: z.ZodOptional<z.ZodString>;
|
|
19903
|
+
evidence: z.ZodOptional<z.ZodString>;
|
|
19904
|
+
actionable: z.ZodBoolean;
|
|
19905
|
+
outcome: z.ZodOptional<z.ZodString>;
|
|
19906
|
+
handledAt: z.ZodOptional<z.ZodString>;
|
|
19907
|
+
}, z.core.$strip>>;
|
|
19908
|
+
errorTail: z.ZodOptional<z.ZodString>;
|
|
19909
|
+
recentRuns: z.ZodArray<z.ZodObject<{
|
|
19910
|
+
date: z.ZodString;
|
|
19911
|
+
gateCount: z.ZodNumber;
|
|
19912
|
+
freshCount: z.ZodNumber;
|
|
19913
|
+
doneCount: z.ZodNumber;
|
|
19914
|
+
}, z.core.$strip>>;
|
|
19915
|
+
paramsSchema: z.ZodOptional<z.ZodObject<{
|
|
19916
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
19917
|
+
key: z.ZodString;
|
|
19918
|
+
label: z.ZodString;
|
|
19919
|
+
type: z.ZodEnum<{
|
|
19920
|
+
string: "string";
|
|
19921
|
+
number: "number";
|
|
19922
|
+
boolean: "boolean";
|
|
19923
|
+
enum: "enum";
|
|
19924
|
+
"string-list": "string-list";
|
|
19925
|
+
}>;
|
|
19926
|
+
description: z.ZodOptional<z.ZodString>;
|
|
19927
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
19928
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19929
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
19930
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
19931
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
19932
|
+
}, z.core.$strip>>;
|
|
19933
|
+
}, z.core.$strip>>;
|
|
19934
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
19935
|
+
}, z.core.$strip>>;
|
|
19936
|
+
error: z.ZodNullable<z.ZodString>;
|
|
19937
|
+
}, z.core.$strip>;
|
|
19938
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19939
|
+
type: z.ZodLiteral<"fleet/create/response">;
|
|
19940
|
+
payload: z.ZodObject<{
|
|
19941
|
+
requestId: z.ZodString;
|
|
19942
|
+
loop: z.ZodNullable<z.ZodObject<{
|
|
19943
|
+
name: z.ZodString;
|
|
19944
|
+
displayName: z.ZodString;
|
|
19945
|
+
description: z.ZodOptional<z.ZodString>;
|
|
19946
|
+
dir: z.ZodString;
|
|
19947
|
+
statePrefix: z.ZodString;
|
|
19948
|
+
scheduled: z.ZodBoolean;
|
|
19949
|
+
paused: z.ZodBoolean;
|
|
19950
|
+
cadence: z.ZodOptional<z.ZodString>;
|
|
19951
|
+
mode: z.ZodEnum<{
|
|
19952
|
+
unknown: "unknown";
|
|
19953
|
+
live: "live";
|
|
19954
|
+
"dry-run": "dry-run";
|
|
19955
|
+
}>;
|
|
19956
|
+
status: z.ZodEnum<{
|
|
19957
|
+
error: "error";
|
|
19958
|
+
idle: "idle";
|
|
19959
|
+
unknown: "unknown";
|
|
19960
|
+
paused: "paused";
|
|
19961
|
+
healthy: "healthy";
|
|
19962
|
+
blocked: "blocked";
|
|
19963
|
+
unscheduled: "unscheduled";
|
|
19964
|
+
}>;
|
|
19965
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
19966
|
+
findingCount: z.ZodNumber;
|
|
19967
|
+
openFindings: z.ZodArray<z.ZodObject<{
|
|
19968
|
+
key: z.ZodString;
|
|
19969
|
+
title: z.ZodOptional<z.ZodString>;
|
|
19970
|
+
evidence: z.ZodOptional<z.ZodString>;
|
|
19971
|
+
actionable: z.ZodBoolean;
|
|
19972
|
+
outcome: z.ZodOptional<z.ZodString>;
|
|
19973
|
+
handledAt: z.ZodOptional<z.ZodString>;
|
|
19974
|
+
}, z.core.$strip>>;
|
|
19975
|
+
errorTail: z.ZodOptional<z.ZodString>;
|
|
19976
|
+
recentRuns: z.ZodArray<z.ZodObject<{
|
|
19977
|
+
date: z.ZodString;
|
|
19978
|
+
gateCount: z.ZodNumber;
|
|
19979
|
+
freshCount: z.ZodNumber;
|
|
19980
|
+
doneCount: z.ZodNumber;
|
|
19981
|
+
}, z.core.$strip>>;
|
|
19982
|
+
paramsSchema: z.ZodOptional<z.ZodObject<{
|
|
19983
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
19984
|
+
key: z.ZodString;
|
|
19985
|
+
label: z.ZodString;
|
|
19986
|
+
type: z.ZodEnum<{
|
|
19987
|
+
string: "string";
|
|
19988
|
+
number: "number";
|
|
19989
|
+
boolean: "boolean";
|
|
19990
|
+
enum: "enum";
|
|
19991
|
+
"string-list": "string-list";
|
|
19992
|
+
}>;
|
|
19993
|
+
description: z.ZodOptional<z.ZodString>;
|
|
19994
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
19995
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19996
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
19997
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
19998
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
19999
|
+
}, z.core.$strip>>;
|
|
20000
|
+
}, z.core.$strip>>;
|
|
20001
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
20002
|
+
}, z.core.$strip>>;
|
|
20003
|
+
cronLine: z.ZodNullable<z.ZodString>;
|
|
20004
|
+
error: z.ZodNullable<z.ZodString>;
|
|
20005
|
+
}, z.core.$strip>;
|
|
20006
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20007
|
+
type: z.ZodLiteral<"fleet/executions/response">;
|
|
20008
|
+
payload: z.ZodObject<{
|
|
20009
|
+
requestId: z.ZodString;
|
|
20010
|
+
executions: z.ZodArray<z.ZodObject<{
|
|
20011
|
+
agentId: z.ZodString;
|
|
20012
|
+
title: z.ZodNullable<z.ZodString>;
|
|
20013
|
+
status: z.ZodString;
|
|
20014
|
+
createdAt: z.ZodString;
|
|
20015
|
+
updatedAt: z.ZodString;
|
|
20016
|
+
requiresAttention: z.ZodOptional<z.ZodBoolean>;
|
|
20017
|
+
attentionReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20018
|
+
costUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20019
|
+
run: z.ZodOptional<z.ZodString>;
|
|
20020
|
+
}, z.core.$strip>>;
|
|
20021
|
+
error: z.ZodNullable<z.ZodString>;
|
|
20022
|
+
}, z.core.$strip>;
|
|
19082
20023
|
}, z.core.$strip>, z.ZodObject<{
|
|
19083
20024
|
type: z.ZodLiteral<"rewind_session_response">;
|
|
19084
20025
|
payload: z.ZodObject<{
|
|
@@ -19344,6 +20285,9 @@ export type DaemonGetStatusResponse = z.infer<typeof DaemonGetStatusResponseSche
|
|
|
19344
20285
|
export type DaemonGetPairingOfferResponse = z.infer<typeof DaemonGetPairingOfferResponseSchema>;
|
|
19345
20286
|
export type DiagnosticsResponse = z.infer<typeof DiagnosticsResponseSchema>;
|
|
19346
20287
|
export type GetProvidersSnapshotResponseMessage = z.infer<typeof GetProvidersSnapshotResponseMessageSchema>;
|
|
20288
|
+
export type ProvidersReloadConfigRequestMessage = z.infer<typeof ProvidersReloadConfigRequestMessageSchema>;
|
|
20289
|
+
export type ProvidersReloadConfigResponseMessage = z.infer<typeof ProvidersReloadConfigResponseMessageSchema>;
|
|
20290
|
+
export type ProvidersReloadConfigPayload = ProvidersReloadConfigResponseMessage["payload"];
|
|
19347
20291
|
export type ProvidersSnapshotUpdateMessage = z.infer<typeof ProvidersSnapshotUpdateMessageSchema>;
|
|
19348
20292
|
export type RefreshProvidersSnapshotResponseMessage = z.infer<typeof RefreshProvidersSnapshotResponseMessageSchema>;
|
|
19349
20293
|
export type ProviderDiagnosticResponseMessage = z.infer<typeof ProviderDiagnosticResponseMessageSchema>;
|
|
@@ -19375,6 +20319,18 @@ export type LoopListResponse = z.infer<typeof LoopListResponseSchema>;
|
|
|
19375
20319
|
export type LoopInspectResponse = z.infer<typeof LoopInspectResponseSchema>;
|
|
19376
20320
|
export type LoopLogsResponse = z.infer<typeof LoopLogsResponseSchema>;
|
|
19377
20321
|
export type LoopStopResponse = z.infer<typeof LoopStopResponseSchema>;
|
|
20322
|
+
export type FleetListResponse = z.infer<typeof FleetListResponseSchema>;
|
|
20323
|
+
export type FleetInspectResponse = z.infer<typeof FleetInspectResponseSchema>;
|
|
20324
|
+
export type FleetRunNowResponse = z.infer<typeof FleetRunNowResponseSchema>;
|
|
20325
|
+
export type FleetPauseResponse = z.infer<typeof FleetPauseResponseSchema>;
|
|
20326
|
+
export type FleetSetModeResponse = z.infer<typeof FleetSetModeResponseSchema>;
|
|
20327
|
+
export type FleetAskResponse = z.infer<typeof FleetAskResponseSchema>;
|
|
20328
|
+
export type FleetDecisionsResponse = z.infer<typeof FleetDecisionsResponseSchema>;
|
|
20329
|
+
export type FleetResolveDecisionResponse = z.infer<typeof FleetResolveDecisionResponseSchema>;
|
|
20330
|
+
export type FleetSetParamsResponse = z.infer<typeof FleetSetParamsResponseSchema>;
|
|
20331
|
+
export type FleetResumeResponse = z.infer<typeof FleetResumeResponseSchema>;
|
|
20332
|
+
export type FleetCreateResponse = z.infer<typeof FleetCreateResponseSchema>;
|
|
20333
|
+
export type FleetExecutionsResponse = z.infer<typeof FleetExecutionsResponseSchema>;
|
|
19378
20334
|
export type ActivityLogPayload = z.infer<typeof ActivityLogPayloadSchema>;
|
|
19379
20335
|
export type VoiceAudioChunkMessage = z.infer<typeof VoiceAudioChunkMessageSchema>;
|
|
19380
20336
|
export type FetchAgentsRequestMessage = z.infer<typeof FetchAgentsRequestMessageSchema>;
|
|
@@ -19422,6 +20378,18 @@ export type LoopListRequest = z.infer<typeof LoopListRequestSchema>;
|
|
|
19422
20378
|
export type LoopInspectRequest = z.infer<typeof LoopInspectRequestSchema>;
|
|
19423
20379
|
export type LoopLogsRequest = z.infer<typeof LoopLogsRequestSchema>;
|
|
19424
20380
|
export type LoopStopRequest = z.infer<typeof LoopStopRequestSchema>;
|
|
20381
|
+
export type FleetListRequest = z.infer<typeof FleetListRequestSchema>;
|
|
20382
|
+
export type FleetInspectRequest = z.infer<typeof FleetInspectRequestSchema>;
|
|
20383
|
+
export type FleetRunNowRequest = z.infer<typeof FleetRunNowRequestSchema>;
|
|
20384
|
+
export type FleetPauseRequest = z.infer<typeof FleetPauseRequestSchema>;
|
|
20385
|
+
export type FleetSetModeRequest = z.infer<typeof FleetSetModeRequestSchema>;
|
|
20386
|
+
export type FleetAskRequest = z.infer<typeof FleetAskRequestSchema>;
|
|
20387
|
+
export type FleetDecisionsRequest = z.infer<typeof FleetDecisionsRequestSchema>;
|
|
20388
|
+
export type FleetResolveDecisionRequest = z.infer<typeof FleetResolveDecisionRequestSchema>;
|
|
20389
|
+
export type FleetSetParamsRequest = z.infer<typeof FleetSetParamsRequestSchema>;
|
|
20390
|
+
export type FleetResumeRequest = z.infer<typeof FleetResumeRequestSchema>;
|
|
20391
|
+
export type FleetCreateRequest = z.infer<typeof FleetCreateRequestSchema>;
|
|
20392
|
+
export type FleetExecutionsRequest = z.infer<typeof FleetExecutionsRequestSchema>;
|
|
19425
20393
|
export type ResumeAgentRequestMessage = z.infer<typeof ResumeAgentRequestMessageSchema>;
|
|
19426
20394
|
export type DeleteAgentRequestMessage = z.infer<typeof DeleteAgentRequestMessageSchema>;
|
|
19427
20395
|
export type UpdateAgentRequestMessage = z.infer<typeof UpdateAgentRequestMessageSchema>;
|
|
@@ -19531,6 +20499,8 @@ export type ListCommandsResponse = z.infer<typeof ListCommandsResponseSchema>;
|
|
|
19531
20499
|
export type RegisterPushTokenMessage = z.infer<typeof RegisterPushTokenMessageSchema>;
|
|
19532
20500
|
export type ListTerminalsRequest = z.infer<typeof ListTerminalsRequestSchema>;
|
|
19533
20501
|
export type ListTerminalsResponse = z.infer<typeof ListTerminalsResponseSchema>;
|
|
20502
|
+
export type ListBackgroundTasksResponse = z.infer<typeof ListBackgroundTasksResponseSchema>;
|
|
20503
|
+
export type BackgroundTaskOutputResponse = z.infer<typeof BackgroundTaskOutputResponseSchema>;
|
|
19534
20504
|
export type SubscribeTerminalsRequest = z.infer<typeof SubscribeTerminalsRequestSchema>;
|
|
19535
20505
|
export type UnsubscribeTerminalsRequest = z.infer<typeof UnsubscribeTerminalsRequestSchema>;
|
|
19536
20506
|
export type TerminalsChanged = z.infer<typeof TerminalsChangedSchema>;
|
|
@@ -19929,6 +20899,16 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
19929
20899
|
agentId: z.ZodString;
|
|
19930
20900
|
taskId: z.ZodString;
|
|
19931
20901
|
requestId: z.ZodString;
|
|
20902
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20903
|
+
type: z.ZodLiteral<"list_background_tasks_request">;
|
|
20904
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
20905
|
+
requestId: z.ZodString;
|
|
20906
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20907
|
+
type: z.ZodLiteral<"background_task_output_request">;
|
|
20908
|
+
agentId: z.ZodString;
|
|
20909
|
+
taskId: z.ZodString;
|
|
20910
|
+
maxBytes: z.ZodOptional<z.ZodNumber>;
|
|
20911
|
+
requestId: z.ZodString;
|
|
19932
20912
|
}, z.core.$strip>, z.ZodObject<{
|
|
19933
20913
|
type: z.ZodLiteral<"close_items_request">;
|
|
19934
20914
|
agentIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -20370,6 +21350,9 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
20370
21350
|
type: z.ZodLiteral<"get_providers_snapshot_request">;
|
|
20371
21351
|
cwd: z.ZodOptional<z.ZodString>;
|
|
20372
21352
|
requestId: z.ZodString;
|
|
21353
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21354
|
+
type: z.ZodLiteral<"providers.reload_config.request">;
|
|
21355
|
+
requestId: z.ZodString;
|
|
20373
21356
|
}, z.core.$strip>, z.ZodObject<{
|
|
20374
21357
|
type: z.ZodLiteral<"refresh_providers_snapshot_request">;
|
|
20375
21358
|
cwd: z.ZodOptional<z.ZodString>;
|
|
@@ -21361,6 +22344,103 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
21361
22344
|
type: z.ZodLiteral<"loop/stop">;
|
|
21362
22345
|
requestId: z.ZodString;
|
|
21363
22346
|
id: z.ZodString;
|
|
22347
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22348
|
+
type: z.ZodLiteral<"fleet/list">;
|
|
22349
|
+
requestId: z.ZodString;
|
|
22350
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22351
|
+
type: z.ZodLiteral<"fleet/inspect">;
|
|
22352
|
+
requestId: z.ZodString;
|
|
22353
|
+
name: z.ZodString;
|
|
22354
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22355
|
+
type: z.ZodLiteral<"fleet/run-now">;
|
|
22356
|
+
requestId: z.ZodString;
|
|
22357
|
+
name: z.ZodString;
|
|
22358
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22359
|
+
type: z.ZodLiteral<"fleet/pause">;
|
|
22360
|
+
requestId: z.ZodString;
|
|
22361
|
+
name: z.ZodString;
|
|
22362
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22363
|
+
type: z.ZodLiteral<"fleet/resume">;
|
|
22364
|
+
requestId: z.ZodString;
|
|
22365
|
+
name: z.ZodString;
|
|
22366
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22367
|
+
type: z.ZodLiteral<"fleet/set-mode">;
|
|
22368
|
+
requestId: z.ZodString;
|
|
22369
|
+
name: z.ZodString;
|
|
22370
|
+
mode: z.ZodEnum<{
|
|
22371
|
+
live: "live";
|
|
22372
|
+
"dry-run": "dry-run";
|
|
22373
|
+
}>;
|
|
22374
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22375
|
+
type: z.ZodLiteral<"fleet/ask">;
|
|
22376
|
+
requestId: z.ZodString;
|
|
22377
|
+
name: z.ZodString;
|
|
22378
|
+
kind: z.ZodEnum<{
|
|
22379
|
+
"gate-approval": "gate-approval";
|
|
22380
|
+
"action-approval": "action-approval";
|
|
22381
|
+
"outcome-review": "outcome-review";
|
|
22382
|
+
}>;
|
|
22383
|
+
question: z.ZodString;
|
|
22384
|
+
posture: z.ZodEnum<{
|
|
22385
|
+
blocking: "blocking";
|
|
22386
|
+
deferring: "deferring";
|
|
22387
|
+
advisory: "advisory";
|
|
22388
|
+
}>;
|
|
22389
|
+
options: z.ZodArray<z.ZodObject<{
|
|
22390
|
+
id: z.ZodString;
|
|
22391
|
+
label: z.ZodString;
|
|
22392
|
+
effect: z.ZodObject<{
|
|
22393
|
+
kind: z.ZodEnum<{
|
|
22394
|
+
act: "act";
|
|
22395
|
+
rehearse: "rehearse";
|
|
22396
|
+
defer: "defer";
|
|
22397
|
+
suppress: "suppress";
|
|
22398
|
+
}>;
|
|
22399
|
+
reversibility: z.ZodEnum<{
|
|
22400
|
+
reversible: "reversible";
|
|
22401
|
+
compensable: "compensable";
|
|
22402
|
+
irreversible: "irreversible";
|
|
22403
|
+
}>;
|
|
22404
|
+
compensatingAction: z.ZodOptional<z.ZodString>;
|
|
22405
|
+
}, z.core.$strip>;
|
|
22406
|
+
}, z.core.$strip>>;
|
|
22407
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
22408
|
+
itemKey: z.ZodOptional<z.ZodString>;
|
|
22409
|
+
evidence: z.ZodOptional<z.ZodString>;
|
|
22410
|
+
onExpiry: z.ZodOptional<z.ZodString>;
|
|
22411
|
+
expiresInMs: z.ZodOptional<z.ZodNumber>;
|
|
22412
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22413
|
+
type: z.ZodLiteral<"fleet/decisions">;
|
|
22414
|
+
requestId: z.ZodString;
|
|
22415
|
+
name: z.ZodOptional<z.ZodString>;
|
|
22416
|
+
includeResolved: z.ZodOptional<z.ZodBoolean>;
|
|
22417
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22418
|
+
type: z.ZodLiteral<"fleet/resolve-decision">;
|
|
22419
|
+
requestId: z.ZodString;
|
|
22420
|
+
decisionId: z.ZodString;
|
|
22421
|
+
optionId: z.ZodString;
|
|
22422
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22423
|
+
type: z.ZodLiteral<"fleet/set-params">;
|
|
22424
|
+
requestId: z.ZodString;
|
|
22425
|
+
name: z.ZodString;
|
|
22426
|
+
values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
|
|
22427
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22428
|
+
type: z.ZodLiteral<"fleet/create">;
|
|
22429
|
+
requestId: z.ZodString;
|
|
22430
|
+
name: z.ZodString;
|
|
22431
|
+
description: z.ZodString;
|
|
22432
|
+
cron: z.ZodString;
|
|
22433
|
+
action: z.ZodString;
|
|
22434
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
22435
|
+
live: "live";
|
|
22436
|
+
"dry-run": "dry-run";
|
|
22437
|
+
}>>;
|
|
22438
|
+
rails: z.ZodOptional<z.ZodString>;
|
|
22439
|
+
allowed: z.ZodOptional<z.ZodString>;
|
|
22440
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22441
|
+
type: z.ZodLiteral<"fleet/executions">;
|
|
22442
|
+
requestId: z.ZodString;
|
|
22443
|
+
name: z.ZodString;
|
|
21364
22444
|
}, z.core.$strip>, z.ZodObject<{
|
|
21365
22445
|
type: z.ZodLiteral<"watch.notificationAction">;
|
|
21366
22446
|
notificationId: z.ZodString;
|
|
@@ -24965,9 +26045,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
24965
26045
|
type: z.ZodEnum<{
|
|
24966
26046
|
completed: "completed";
|
|
24967
26047
|
failed: "failed";
|
|
26048
|
+
started: "started";
|
|
24968
26049
|
cancelled: "cancelled";
|
|
24969
26050
|
created: "created";
|
|
24970
|
-
started: "started";
|
|
24971
26051
|
archived: "archived";
|
|
24972
26052
|
}>;
|
|
24973
26053
|
status: z.ZodEnum<{
|
|
@@ -25451,6 +26531,38 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25451
26531
|
dismissed: z.ZodBoolean;
|
|
25452
26532
|
requestId: z.ZodString;
|
|
25453
26533
|
}, z.core.$strip>;
|
|
26534
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
26535
|
+
type: z.ZodLiteral<"list_background_tasks_response">;
|
|
26536
|
+
payload: z.ZodObject<{
|
|
26537
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
26538
|
+
agentId: z.ZodString;
|
|
26539
|
+
agentTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26540
|
+
taskId: z.ZodString;
|
|
26541
|
+
command: z.ZodNullable<z.ZodString>;
|
|
26542
|
+
description: z.ZodNullable<z.ZodString>;
|
|
26543
|
+
status: z.ZodEnum<{
|
|
26544
|
+
running: "running";
|
|
26545
|
+
completed: "completed";
|
|
26546
|
+
failed: "failed";
|
|
26547
|
+
canceled: "canceled";
|
|
26548
|
+
}>;
|
|
26549
|
+
startedAt: z.ZodString;
|
|
26550
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
26551
|
+
summary: z.ZodNullable<z.ZodString>;
|
|
26552
|
+
hasOutput: z.ZodBoolean;
|
|
26553
|
+
}, z.core.$strip>>;
|
|
26554
|
+
requestId: z.ZodString;
|
|
26555
|
+
}, z.core.$strip>;
|
|
26556
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
26557
|
+
type: z.ZodLiteral<"background_task_output_response">;
|
|
26558
|
+
payload: z.ZodObject<{
|
|
26559
|
+
agentId: z.ZodString;
|
|
26560
|
+
taskId: z.ZodString;
|
|
26561
|
+
text: z.ZodNullable<z.ZodString>;
|
|
26562
|
+
truncated: z.ZodBoolean;
|
|
26563
|
+
byteSize: z.ZodNumber;
|
|
26564
|
+
requestId: z.ZodString;
|
|
26565
|
+
}, z.core.$strip>;
|
|
25454
26566
|
}, z.core.$strip>, z.ZodObject<{
|
|
25455
26567
|
type: z.ZodLiteral<"close_items_response">;
|
|
25456
26568
|
payload: z.ZodObject<{
|
|
@@ -26909,6 +28021,20 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
26909
28021
|
generatedAt: z.ZodString;
|
|
26910
28022
|
requestId: z.ZodString;
|
|
26911
28023
|
}, z.core.$strip>;
|
|
28024
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
28025
|
+
type: z.ZodLiteral<"providers.reload_config.response">;
|
|
28026
|
+
payload: z.ZodObject<{
|
|
28027
|
+
added: z.ZodArray<z.ZodString>;
|
|
28028
|
+
updated: z.ZodArray<z.ZodString>;
|
|
28029
|
+
removed: z.ZodArray<z.ZodString>;
|
|
28030
|
+
unchanged: z.ZodArray<z.ZodString>;
|
|
28031
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
28032
|
+
provider: z.ZodString;
|
|
28033
|
+
label: z.ZodString;
|
|
28034
|
+
enabled: z.ZodBoolean;
|
|
28035
|
+
}, z.core.$strip>>;
|
|
28036
|
+
requestId: z.ZodString;
|
|
28037
|
+
}, z.core.$strip>;
|
|
26912
28038
|
}, z.core.$strip>, z.ZodObject<{
|
|
26913
28039
|
type: z.ZodLiteral<"providers_snapshot_update">;
|
|
26914
28040
|
payload: z.ZodObject<{
|
|
@@ -28126,6 +29252,675 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
28126
29252
|
}, z.core.$strip>>;
|
|
28127
29253
|
error: z.ZodNullable<z.ZodString>;
|
|
28128
29254
|
}, z.core.$strip>;
|
|
29255
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29256
|
+
type: z.ZodLiteral<"fleet/list/response">;
|
|
29257
|
+
payload: z.ZodObject<{
|
|
29258
|
+
requestId: z.ZodString;
|
|
29259
|
+
loops: z.ZodArray<z.ZodObject<{
|
|
29260
|
+
mode: z.ZodEnum<{
|
|
29261
|
+
unknown: "unknown";
|
|
29262
|
+
live: "live";
|
|
29263
|
+
"dry-run": "dry-run";
|
|
29264
|
+
}>;
|
|
29265
|
+
description: z.ZodOptional<z.ZodString>;
|
|
29266
|
+
name: z.ZodString;
|
|
29267
|
+
status: z.ZodEnum<{
|
|
29268
|
+
error: "error";
|
|
29269
|
+
idle: "idle";
|
|
29270
|
+
unknown: "unknown";
|
|
29271
|
+
paused: "paused";
|
|
29272
|
+
healthy: "healthy";
|
|
29273
|
+
blocked: "blocked";
|
|
29274
|
+
unscheduled: "unscheduled";
|
|
29275
|
+
}>;
|
|
29276
|
+
paused: z.ZodBoolean;
|
|
29277
|
+
cadence: z.ZodOptional<z.ZodString>;
|
|
29278
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
29279
|
+
displayName: z.ZodString;
|
|
29280
|
+
dir: z.ZodString;
|
|
29281
|
+
statePrefix: z.ZodString;
|
|
29282
|
+
scheduled: z.ZodBoolean;
|
|
29283
|
+
findingCount: z.ZodNumber;
|
|
29284
|
+
paramsSchema: z.ZodOptional<z.ZodObject<{
|
|
29285
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
29286
|
+
key: z.ZodString;
|
|
29287
|
+
label: z.ZodString;
|
|
29288
|
+
type: z.ZodEnum<{
|
|
29289
|
+
string: "string";
|
|
29290
|
+
number: "number";
|
|
29291
|
+
boolean: "boolean";
|
|
29292
|
+
enum: "enum";
|
|
29293
|
+
"string-list": "string-list";
|
|
29294
|
+
}>;
|
|
29295
|
+
description: z.ZodOptional<z.ZodString>;
|
|
29296
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
29297
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29298
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
29299
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
29300
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
29301
|
+
}, z.core.$strip>>;
|
|
29302
|
+
}, z.core.$strip>>;
|
|
29303
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
29304
|
+
}, z.core.$strip>>;
|
|
29305
|
+
error: z.ZodNullable<z.ZodString>;
|
|
29306
|
+
}, z.core.$strip>;
|
|
29307
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29308
|
+
type: z.ZodLiteral<"fleet/inspect/response">;
|
|
29309
|
+
payload: z.ZodObject<{
|
|
29310
|
+
requestId: z.ZodString;
|
|
29311
|
+
loop: z.ZodNullable<z.ZodObject<{
|
|
29312
|
+
name: z.ZodString;
|
|
29313
|
+
displayName: z.ZodString;
|
|
29314
|
+
description: z.ZodOptional<z.ZodString>;
|
|
29315
|
+
dir: z.ZodString;
|
|
29316
|
+
statePrefix: z.ZodString;
|
|
29317
|
+
scheduled: z.ZodBoolean;
|
|
29318
|
+
paused: z.ZodBoolean;
|
|
29319
|
+
cadence: z.ZodOptional<z.ZodString>;
|
|
29320
|
+
mode: z.ZodEnum<{
|
|
29321
|
+
unknown: "unknown";
|
|
29322
|
+
live: "live";
|
|
29323
|
+
"dry-run": "dry-run";
|
|
29324
|
+
}>;
|
|
29325
|
+
status: z.ZodEnum<{
|
|
29326
|
+
error: "error";
|
|
29327
|
+
idle: "idle";
|
|
29328
|
+
unknown: "unknown";
|
|
29329
|
+
paused: "paused";
|
|
29330
|
+
healthy: "healthy";
|
|
29331
|
+
blocked: "blocked";
|
|
29332
|
+
unscheduled: "unscheduled";
|
|
29333
|
+
}>;
|
|
29334
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
29335
|
+
findingCount: z.ZodNumber;
|
|
29336
|
+
openFindings: z.ZodArray<z.ZodObject<{
|
|
29337
|
+
key: z.ZodString;
|
|
29338
|
+
title: z.ZodOptional<z.ZodString>;
|
|
29339
|
+
evidence: z.ZodOptional<z.ZodString>;
|
|
29340
|
+
actionable: z.ZodBoolean;
|
|
29341
|
+
outcome: z.ZodOptional<z.ZodString>;
|
|
29342
|
+
handledAt: z.ZodOptional<z.ZodString>;
|
|
29343
|
+
}, z.core.$strip>>;
|
|
29344
|
+
errorTail: z.ZodOptional<z.ZodString>;
|
|
29345
|
+
recentRuns: z.ZodArray<z.ZodObject<{
|
|
29346
|
+
date: z.ZodString;
|
|
29347
|
+
gateCount: z.ZodNumber;
|
|
29348
|
+
freshCount: z.ZodNumber;
|
|
29349
|
+
doneCount: z.ZodNumber;
|
|
29350
|
+
}, z.core.$strip>>;
|
|
29351
|
+
paramsSchema: z.ZodOptional<z.ZodObject<{
|
|
29352
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
29353
|
+
key: z.ZodString;
|
|
29354
|
+
label: z.ZodString;
|
|
29355
|
+
type: z.ZodEnum<{
|
|
29356
|
+
string: "string";
|
|
29357
|
+
number: "number";
|
|
29358
|
+
boolean: "boolean";
|
|
29359
|
+
enum: "enum";
|
|
29360
|
+
"string-list": "string-list";
|
|
29361
|
+
}>;
|
|
29362
|
+
description: z.ZodOptional<z.ZodString>;
|
|
29363
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
29364
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29365
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
29366
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
29367
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
29368
|
+
}, z.core.$strip>>;
|
|
29369
|
+
}, z.core.$strip>>;
|
|
29370
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
29371
|
+
}, z.core.$strip>>;
|
|
29372
|
+
error: z.ZodNullable<z.ZodString>;
|
|
29373
|
+
}, z.core.$strip>;
|
|
29374
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29375
|
+
type: z.ZodLiteral<"fleet/run-now/response">;
|
|
29376
|
+
payload: z.ZodObject<{
|
|
29377
|
+
requestId: z.ZodString;
|
|
29378
|
+
loop: z.ZodNullable<z.ZodObject<{
|
|
29379
|
+
name: z.ZodString;
|
|
29380
|
+
displayName: z.ZodString;
|
|
29381
|
+
description: z.ZodOptional<z.ZodString>;
|
|
29382
|
+
dir: z.ZodString;
|
|
29383
|
+
statePrefix: z.ZodString;
|
|
29384
|
+
scheduled: z.ZodBoolean;
|
|
29385
|
+
paused: z.ZodBoolean;
|
|
29386
|
+
cadence: z.ZodOptional<z.ZodString>;
|
|
29387
|
+
mode: z.ZodEnum<{
|
|
29388
|
+
unknown: "unknown";
|
|
29389
|
+
live: "live";
|
|
29390
|
+
"dry-run": "dry-run";
|
|
29391
|
+
}>;
|
|
29392
|
+
status: z.ZodEnum<{
|
|
29393
|
+
error: "error";
|
|
29394
|
+
idle: "idle";
|
|
29395
|
+
unknown: "unknown";
|
|
29396
|
+
paused: "paused";
|
|
29397
|
+
healthy: "healthy";
|
|
29398
|
+
blocked: "blocked";
|
|
29399
|
+
unscheduled: "unscheduled";
|
|
29400
|
+
}>;
|
|
29401
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
29402
|
+
findingCount: z.ZodNumber;
|
|
29403
|
+
openFindings: z.ZodArray<z.ZodObject<{
|
|
29404
|
+
key: z.ZodString;
|
|
29405
|
+
title: z.ZodOptional<z.ZodString>;
|
|
29406
|
+
evidence: z.ZodOptional<z.ZodString>;
|
|
29407
|
+
actionable: z.ZodBoolean;
|
|
29408
|
+
outcome: z.ZodOptional<z.ZodString>;
|
|
29409
|
+
handledAt: z.ZodOptional<z.ZodString>;
|
|
29410
|
+
}, z.core.$strip>>;
|
|
29411
|
+
errorTail: z.ZodOptional<z.ZodString>;
|
|
29412
|
+
recentRuns: z.ZodArray<z.ZodObject<{
|
|
29413
|
+
date: z.ZodString;
|
|
29414
|
+
gateCount: z.ZodNumber;
|
|
29415
|
+
freshCount: z.ZodNumber;
|
|
29416
|
+
doneCount: z.ZodNumber;
|
|
29417
|
+
}, z.core.$strip>>;
|
|
29418
|
+
paramsSchema: z.ZodOptional<z.ZodObject<{
|
|
29419
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
29420
|
+
key: z.ZodString;
|
|
29421
|
+
label: z.ZodString;
|
|
29422
|
+
type: z.ZodEnum<{
|
|
29423
|
+
string: "string";
|
|
29424
|
+
number: "number";
|
|
29425
|
+
boolean: "boolean";
|
|
29426
|
+
enum: "enum";
|
|
29427
|
+
"string-list": "string-list";
|
|
29428
|
+
}>;
|
|
29429
|
+
description: z.ZodOptional<z.ZodString>;
|
|
29430
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
29431
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29432
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
29433
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
29434
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
29435
|
+
}, z.core.$strip>>;
|
|
29436
|
+
}, z.core.$strip>>;
|
|
29437
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
29438
|
+
}, z.core.$strip>>;
|
|
29439
|
+
started: z.ZodBoolean;
|
|
29440
|
+
error: z.ZodNullable<z.ZodString>;
|
|
29441
|
+
}, z.core.$strip>;
|
|
29442
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29443
|
+
type: z.ZodLiteral<"fleet/pause/response">;
|
|
29444
|
+
payload: z.ZodObject<{
|
|
29445
|
+
requestId: z.ZodString;
|
|
29446
|
+
loop: z.ZodNullable<z.ZodObject<{
|
|
29447
|
+
mode: z.ZodEnum<{
|
|
29448
|
+
unknown: "unknown";
|
|
29449
|
+
live: "live";
|
|
29450
|
+
"dry-run": "dry-run";
|
|
29451
|
+
}>;
|
|
29452
|
+
description: z.ZodOptional<z.ZodString>;
|
|
29453
|
+
name: z.ZodString;
|
|
29454
|
+
status: z.ZodEnum<{
|
|
29455
|
+
error: "error";
|
|
29456
|
+
idle: "idle";
|
|
29457
|
+
unknown: "unknown";
|
|
29458
|
+
paused: "paused";
|
|
29459
|
+
healthy: "healthy";
|
|
29460
|
+
blocked: "blocked";
|
|
29461
|
+
unscheduled: "unscheduled";
|
|
29462
|
+
}>;
|
|
29463
|
+
paused: z.ZodBoolean;
|
|
29464
|
+
cadence: z.ZodOptional<z.ZodString>;
|
|
29465
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
29466
|
+
displayName: z.ZodString;
|
|
29467
|
+
dir: z.ZodString;
|
|
29468
|
+
statePrefix: z.ZodString;
|
|
29469
|
+
scheduled: z.ZodBoolean;
|
|
29470
|
+
findingCount: z.ZodNumber;
|
|
29471
|
+
paramsSchema: z.ZodOptional<z.ZodObject<{
|
|
29472
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
29473
|
+
key: z.ZodString;
|
|
29474
|
+
label: z.ZodString;
|
|
29475
|
+
type: z.ZodEnum<{
|
|
29476
|
+
string: "string";
|
|
29477
|
+
number: "number";
|
|
29478
|
+
boolean: "boolean";
|
|
29479
|
+
enum: "enum";
|
|
29480
|
+
"string-list": "string-list";
|
|
29481
|
+
}>;
|
|
29482
|
+
description: z.ZodOptional<z.ZodString>;
|
|
29483
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
29484
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29485
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
29486
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
29487
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
29488
|
+
}, z.core.$strip>>;
|
|
29489
|
+
}, z.core.$strip>>;
|
|
29490
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
29491
|
+
}, z.core.$strip>>;
|
|
29492
|
+
error: z.ZodNullable<z.ZodString>;
|
|
29493
|
+
}, z.core.$strip>;
|
|
29494
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29495
|
+
type: z.ZodLiteral<"fleet/resume/response">;
|
|
29496
|
+
payload: z.ZodObject<{
|
|
29497
|
+
requestId: z.ZodString;
|
|
29498
|
+
loop: z.ZodNullable<z.ZodObject<{
|
|
29499
|
+
mode: z.ZodEnum<{
|
|
29500
|
+
unknown: "unknown";
|
|
29501
|
+
live: "live";
|
|
29502
|
+
"dry-run": "dry-run";
|
|
29503
|
+
}>;
|
|
29504
|
+
description: z.ZodOptional<z.ZodString>;
|
|
29505
|
+
name: z.ZodString;
|
|
29506
|
+
status: z.ZodEnum<{
|
|
29507
|
+
error: "error";
|
|
29508
|
+
idle: "idle";
|
|
29509
|
+
unknown: "unknown";
|
|
29510
|
+
paused: "paused";
|
|
29511
|
+
healthy: "healthy";
|
|
29512
|
+
blocked: "blocked";
|
|
29513
|
+
unscheduled: "unscheduled";
|
|
29514
|
+
}>;
|
|
29515
|
+
paused: z.ZodBoolean;
|
|
29516
|
+
cadence: z.ZodOptional<z.ZodString>;
|
|
29517
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
29518
|
+
displayName: z.ZodString;
|
|
29519
|
+
dir: z.ZodString;
|
|
29520
|
+
statePrefix: z.ZodString;
|
|
29521
|
+
scheduled: z.ZodBoolean;
|
|
29522
|
+
findingCount: z.ZodNumber;
|
|
29523
|
+
paramsSchema: z.ZodOptional<z.ZodObject<{
|
|
29524
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
29525
|
+
key: z.ZodString;
|
|
29526
|
+
label: z.ZodString;
|
|
29527
|
+
type: z.ZodEnum<{
|
|
29528
|
+
string: "string";
|
|
29529
|
+
number: "number";
|
|
29530
|
+
boolean: "boolean";
|
|
29531
|
+
enum: "enum";
|
|
29532
|
+
"string-list": "string-list";
|
|
29533
|
+
}>;
|
|
29534
|
+
description: z.ZodOptional<z.ZodString>;
|
|
29535
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
29536
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29537
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
29538
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
29539
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
29540
|
+
}, z.core.$strip>>;
|
|
29541
|
+
}, z.core.$strip>>;
|
|
29542
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
29543
|
+
}, z.core.$strip>>;
|
|
29544
|
+
error: z.ZodNullable<z.ZodString>;
|
|
29545
|
+
}, z.core.$strip>;
|
|
29546
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29547
|
+
type: z.ZodLiteral<"fleet/set-mode/response">;
|
|
29548
|
+
payload: z.ZodObject<{
|
|
29549
|
+
requestId: z.ZodString;
|
|
29550
|
+
loop: z.ZodNullable<z.ZodObject<{
|
|
29551
|
+
mode: z.ZodEnum<{
|
|
29552
|
+
unknown: "unknown";
|
|
29553
|
+
live: "live";
|
|
29554
|
+
"dry-run": "dry-run";
|
|
29555
|
+
}>;
|
|
29556
|
+
description: z.ZodOptional<z.ZodString>;
|
|
29557
|
+
name: z.ZodString;
|
|
29558
|
+
status: z.ZodEnum<{
|
|
29559
|
+
error: "error";
|
|
29560
|
+
idle: "idle";
|
|
29561
|
+
unknown: "unknown";
|
|
29562
|
+
paused: "paused";
|
|
29563
|
+
healthy: "healthy";
|
|
29564
|
+
blocked: "blocked";
|
|
29565
|
+
unscheduled: "unscheduled";
|
|
29566
|
+
}>;
|
|
29567
|
+
paused: z.ZodBoolean;
|
|
29568
|
+
cadence: z.ZodOptional<z.ZodString>;
|
|
29569
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
29570
|
+
displayName: z.ZodString;
|
|
29571
|
+
dir: z.ZodString;
|
|
29572
|
+
statePrefix: z.ZodString;
|
|
29573
|
+
scheduled: z.ZodBoolean;
|
|
29574
|
+
findingCount: z.ZodNumber;
|
|
29575
|
+
paramsSchema: z.ZodOptional<z.ZodObject<{
|
|
29576
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
29577
|
+
key: z.ZodString;
|
|
29578
|
+
label: z.ZodString;
|
|
29579
|
+
type: z.ZodEnum<{
|
|
29580
|
+
string: "string";
|
|
29581
|
+
number: "number";
|
|
29582
|
+
boolean: "boolean";
|
|
29583
|
+
enum: "enum";
|
|
29584
|
+
"string-list": "string-list";
|
|
29585
|
+
}>;
|
|
29586
|
+
description: z.ZodOptional<z.ZodString>;
|
|
29587
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
29588
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29589
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
29590
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
29591
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
29592
|
+
}, z.core.$strip>>;
|
|
29593
|
+
}, z.core.$strip>>;
|
|
29594
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
29595
|
+
}, z.core.$strip>>;
|
|
29596
|
+
previousMode: z.ZodNullable<z.ZodEnum<{
|
|
29597
|
+
unknown: "unknown";
|
|
29598
|
+
live: "live";
|
|
29599
|
+
"dry-run": "dry-run";
|
|
29600
|
+
}>>;
|
|
29601
|
+
changed: z.ZodBoolean;
|
|
29602
|
+
error: z.ZodNullable<z.ZodString>;
|
|
29603
|
+
}, z.core.$strip>;
|
|
29604
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29605
|
+
type: z.ZodLiteral<"fleet/ask/response">;
|
|
29606
|
+
payload: z.ZodObject<{
|
|
29607
|
+
requestId: z.ZodString;
|
|
29608
|
+
decision: z.ZodNullable<z.ZodObject<{
|
|
29609
|
+
id: z.ZodString;
|
|
29610
|
+
loopName: z.ZodString;
|
|
29611
|
+
runId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
29612
|
+
itemKey: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
29613
|
+
kind: z.ZodEnum<{
|
|
29614
|
+
"gate-approval": "gate-approval";
|
|
29615
|
+
"action-approval": "action-approval";
|
|
29616
|
+
"outcome-review": "outcome-review";
|
|
29617
|
+
}>;
|
|
29618
|
+
question: z.ZodString;
|
|
29619
|
+
evidence: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
29620
|
+
posture: z.ZodEnum<{
|
|
29621
|
+
blocking: "blocking";
|
|
29622
|
+
deferring: "deferring";
|
|
29623
|
+
advisory: "advisory";
|
|
29624
|
+
}>;
|
|
29625
|
+
options: z.ZodArray<z.ZodObject<{
|
|
29626
|
+
id: z.ZodString;
|
|
29627
|
+
label: z.ZodString;
|
|
29628
|
+
effect: z.ZodObject<{
|
|
29629
|
+
kind: z.ZodEnum<{
|
|
29630
|
+
act: "act";
|
|
29631
|
+
rehearse: "rehearse";
|
|
29632
|
+
defer: "defer";
|
|
29633
|
+
suppress: "suppress";
|
|
29634
|
+
}>;
|
|
29635
|
+
reversibility: z.ZodEnum<{
|
|
29636
|
+
reversible: "reversible";
|
|
29637
|
+
compensable: "compensable";
|
|
29638
|
+
irreversible: "irreversible";
|
|
29639
|
+
}>;
|
|
29640
|
+
compensatingAction: z.ZodOptional<z.ZodString>;
|
|
29641
|
+
}, z.core.$strip>;
|
|
29642
|
+
}, z.core.$strip>>;
|
|
29643
|
+
onExpiry: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
29644
|
+
expiresAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
29645
|
+
createdAt: z.ZodString;
|
|
29646
|
+
resolvedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
29647
|
+
resolvedOptionId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
29648
|
+
resolvedBy: z.ZodDefault<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
29649
|
+
kind: z.ZodLiteral<"human">;
|
|
29650
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
29651
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29652
|
+
kind: z.ZodLiteral<"expiry">;
|
|
29653
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29654
|
+
kind: z.ZodLiteral<"policy">;
|
|
29655
|
+
rule: z.ZodString;
|
|
29656
|
+
}, z.core.$strip>], "kind">>>;
|
|
29657
|
+
}, z.core.$strip>>;
|
|
29658
|
+
error: z.ZodNullable<z.ZodString>;
|
|
29659
|
+
}, z.core.$strip>;
|
|
29660
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29661
|
+
type: z.ZodLiteral<"fleet/decisions/response">;
|
|
29662
|
+
payload: z.ZodObject<{
|
|
29663
|
+
requestId: z.ZodString;
|
|
29664
|
+
decisions: z.ZodArray<z.ZodObject<{
|
|
29665
|
+
id: z.ZodString;
|
|
29666
|
+
loopName: z.ZodString;
|
|
29667
|
+
runId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
29668
|
+
itemKey: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
29669
|
+
kind: z.ZodEnum<{
|
|
29670
|
+
"gate-approval": "gate-approval";
|
|
29671
|
+
"action-approval": "action-approval";
|
|
29672
|
+
"outcome-review": "outcome-review";
|
|
29673
|
+
}>;
|
|
29674
|
+
question: z.ZodString;
|
|
29675
|
+
evidence: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
29676
|
+
posture: z.ZodEnum<{
|
|
29677
|
+
blocking: "blocking";
|
|
29678
|
+
deferring: "deferring";
|
|
29679
|
+
advisory: "advisory";
|
|
29680
|
+
}>;
|
|
29681
|
+
options: z.ZodArray<z.ZodObject<{
|
|
29682
|
+
id: z.ZodString;
|
|
29683
|
+
label: z.ZodString;
|
|
29684
|
+
effect: z.ZodObject<{
|
|
29685
|
+
kind: z.ZodEnum<{
|
|
29686
|
+
act: "act";
|
|
29687
|
+
rehearse: "rehearse";
|
|
29688
|
+
defer: "defer";
|
|
29689
|
+
suppress: "suppress";
|
|
29690
|
+
}>;
|
|
29691
|
+
reversibility: z.ZodEnum<{
|
|
29692
|
+
reversible: "reversible";
|
|
29693
|
+
compensable: "compensable";
|
|
29694
|
+
irreversible: "irreversible";
|
|
29695
|
+
}>;
|
|
29696
|
+
compensatingAction: z.ZodOptional<z.ZodString>;
|
|
29697
|
+
}, z.core.$strip>;
|
|
29698
|
+
}, z.core.$strip>>;
|
|
29699
|
+
onExpiry: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
29700
|
+
expiresAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
29701
|
+
createdAt: z.ZodString;
|
|
29702
|
+
resolvedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
29703
|
+
resolvedOptionId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
29704
|
+
resolvedBy: z.ZodDefault<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
29705
|
+
kind: z.ZodLiteral<"human">;
|
|
29706
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
29707
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29708
|
+
kind: z.ZodLiteral<"expiry">;
|
|
29709
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29710
|
+
kind: z.ZodLiteral<"policy">;
|
|
29711
|
+
rule: z.ZodString;
|
|
29712
|
+
}, z.core.$strip>], "kind">>>;
|
|
29713
|
+
}, z.core.$strip>>;
|
|
29714
|
+
error: z.ZodNullable<z.ZodString>;
|
|
29715
|
+
}, z.core.$strip>;
|
|
29716
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29717
|
+
type: z.ZodLiteral<"fleet/resolve-decision/response">;
|
|
29718
|
+
payload: z.ZodObject<{
|
|
29719
|
+
requestId: z.ZodString;
|
|
29720
|
+
decision: z.ZodNullable<z.ZodObject<{
|
|
29721
|
+
id: z.ZodString;
|
|
29722
|
+
loopName: z.ZodString;
|
|
29723
|
+
runId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
29724
|
+
itemKey: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
29725
|
+
kind: z.ZodEnum<{
|
|
29726
|
+
"gate-approval": "gate-approval";
|
|
29727
|
+
"action-approval": "action-approval";
|
|
29728
|
+
"outcome-review": "outcome-review";
|
|
29729
|
+
}>;
|
|
29730
|
+
question: z.ZodString;
|
|
29731
|
+
evidence: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
29732
|
+
posture: z.ZodEnum<{
|
|
29733
|
+
blocking: "blocking";
|
|
29734
|
+
deferring: "deferring";
|
|
29735
|
+
advisory: "advisory";
|
|
29736
|
+
}>;
|
|
29737
|
+
options: z.ZodArray<z.ZodObject<{
|
|
29738
|
+
id: z.ZodString;
|
|
29739
|
+
label: z.ZodString;
|
|
29740
|
+
effect: z.ZodObject<{
|
|
29741
|
+
kind: z.ZodEnum<{
|
|
29742
|
+
act: "act";
|
|
29743
|
+
rehearse: "rehearse";
|
|
29744
|
+
defer: "defer";
|
|
29745
|
+
suppress: "suppress";
|
|
29746
|
+
}>;
|
|
29747
|
+
reversibility: z.ZodEnum<{
|
|
29748
|
+
reversible: "reversible";
|
|
29749
|
+
compensable: "compensable";
|
|
29750
|
+
irreversible: "irreversible";
|
|
29751
|
+
}>;
|
|
29752
|
+
compensatingAction: z.ZodOptional<z.ZodString>;
|
|
29753
|
+
}, z.core.$strip>;
|
|
29754
|
+
}, z.core.$strip>>;
|
|
29755
|
+
onExpiry: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
29756
|
+
expiresAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
29757
|
+
createdAt: z.ZodString;
|
|
29758
|
+
resolvedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
29759
|
+
resolvedOptionId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
29760
|
+
resolvedBy: z.ZodDefault<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
29761
|
+
kind: z.ZodLiteral<"human">;
|
|
29762
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
29763
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29764
|
+
kind: z.ZodLiteral<"expiry">;
|
|
29765
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29766
|
+
kind: z.ZodLiteral<"policy">;
|
|
29767
|
+
rule: z.ZodString;
|
|
29768
|
+
}, z.core.$strip>], "kind">>>;
|
|
29769
|
+
}, z.core.$strip>>;
|
|
29770
|
+
error: z.ZodNullable<z.ZodString>;
|
|
29771
|
+
}, z.core.$strip>;
|
|
29772
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29773
|
+
type: z.ZodLiteral<"fleet/set-params/response">;
|
|
29774
|
+
payload: z.ZodObject<{
|
|
29775
|
+
requestId: z.ZodString;
|
|
29776
|
+
loop: z.ZodNullable<z.ZodObject<{
|
|
29777
|
+
name: z.ZodString;
|
|
29778
|
+
displayName: z.ZodString;
|
|
29779
|
+
description: z.ZodOptional<z.ZodString>;
|
|
29780
|
+
dir: z.ZodString;
|
|
29781
|
+
statePrefix: z.ZodString;
|
|
29782
|
+
scheduled: z.ZodBoolean;
|
|
29783
|
+
paused: z.ZodBoolean;
|
|
29784
|
+
cadence: z.ZodOptional<z.ZodString>;
|
|
29785
|
+
mode: z.ZodEnum<{
|
|
29786
|
+
unknown: "unknown";
|
|
29787
|
+
live: "live";
|
|
29788
|
+
"dry-run": "dry-run";
|
|
29789
|
+
}>;
|
|
29790
|
+
status: z.ZodEnum<{
|
|
29791
|
+
error: "error";
|
|
29792
|
+
idle: "idle";
|
|
29793
|
+
unknown: "unknown";
|
|
29794
|
+
paused: "paused";
|
|
29795
|
+
healthy: "healthy";
|
|
29796
|
+
blocked: "blocked";
|
|
29797
|
+
unscheduled: "unscheduled";
|
|
29798
|
+
}>;
|
|
29799
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
29800
|
+
findingCount: z.ZodNumber;
|
|
29801
|
+
openFindings: z.ZodArray<z.ZodObject<{
|
|
29802
|
+
key: z.ZodString;
|
|
29803
|
+
title: z.ZodOptional<z.ZodString>;
|
|
29804
|
+
evidence: z.ZodOptional<z.ZodString>;
|
|
29805
|
+
actionable: z.ZodBoolean;
|
|
29806
|
+
outcome: z.ZodOptional<z.ZodString>;
|
|
29807
|
+
handledAt: z.ZodOptional<z.ZodString>;
|
|
29808
|
+
}, z.core.$strip>>;
|
|
29809
|
+
errorTail: z.ZodOptional<z.ZodString>;
|
|
29810
|
+
recentRuns: z.ZodArray<z.ZodObject<{
|
|
29811
|
+
date: z.ZodString;
|
|
29812
|
+
gateCount: z.ZodNumber;
|
|
29813
|
+
freshCount: z.ZodNumber;
|
|
29814
|
+
doneCount: z.ZodNumber;
|
|
29815
|
+
}, z.core.$strip>>;
|
|
29816
|
+
paramsSchema: z.ZodOptional<z.ZodObject<{
|
|
29817
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
29818
|
+
key: z.ZodString;
|
|
29819
|
+
label: z.ZodString;
|
|
29820
|
+
type: z.ZodEnum<{
|
|
29821
|
+
string: "string";
|
|
29822
|
+
number: "number";
|
|
29823
|
+
boolean: "boolean";
|
|
29824
|
+
enum: "enum";
|
|
29825
|
+
"string-list": "string-list";
|
|
29826
|
+
}>;
|
|
29827
|
+
description: z.ZodOptional<z.ZodString>;
|
|
29828
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
29829
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29830
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
29831
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
29832
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
29833
|
+
}, z.core.$strip>>;
|
|
29834
|
+
}, z.core.$strip>>;
|
|
29835
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
29836
|
+
}, z.core.$strip>>;
|
|
29837
|
+
error: z.ZodNullable<z.ZodString>;
|
|
29838
|
+
}, z.core.$strip>;
|
|
29839
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29840
|
+
type: z.ZodLiteral<"fleet/create/response">;
|
|
29841
|
+
payload: z.ZodObject<{
|
|
29842
|
+
requestId: z.ZodString;
|
|
29843
|
+
loop: z.ZodNullable<z.ZodObject<{
|
|
29844
|
+
name: z.ZodString;
|
|
29845
|
+
displayName: z.ZodString;
|
|
29846
|
+
description: z.ZodOptional<z.ZodString>;
|
|
29847
|
+
dir: z.ZodString;
|
|
29848
|
+
statePrefix: z.ZodString;
|
|
29849
|
+
scheduled: z.ZodBoolean;
|
|
29850
|
+
paused: z.ZodBoolean;
|
|
29851
|
+
cadence: z.ZodOptional<z.ZodString>;
|
|
29852
|
+
mode: z.ZodEnum<{
|
|
29853
|
+
unknown: "unknown";
|
|
29854
|
+
live: "live";
|
|
29855
|
+
"dry-run": "dry-run";
|
|
29856
|
+
}>;
|
|
29857
|
+
status: z.ZodEnum<{
|
|
29858
|
+
error: "error";
|
|
29859
|
+
idle: "idle";
|
|
29860
|
+
unknown: "unknown";
|
|
29861
|
+
paused: "paused";
|
|
29862
|
+
healthy: "healthy";
|
|
29863
|
+
blocked: "blocked";
|
|
29864
|
+
unscheduled: "unscheduled";
|
|
29865
|
+
}>;
|
|
29866
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
29867
|
+
findingCount: z.ZodNumber;
|
|
29868
|
+
openFindings: z.ZodArray<z.ZodObject<{
|
|
29869
|
+
key: z.ZodString;
|
|
29870
|
+
title: z.ZodOptional<z.ZodString>;
|
|
29871
|
+
evidence: z.ZodOptional<z.ZodString>;
|
|
29872
|
+
actionable: z.ZodBoolean;
|
|
29873
|
+
outcome: z.ZodOptional<z.ZodString>;
|
|
29874
|
+
handledAt: z.ZodOptional<z.ZodString>;
|
|
29875
|
+
}, z.core.$strip>>;
|
|
29876
|
+
errorTail: z.ZodOptional<z.ZodString>;
|
|
29877
|
+
recentRuns: z.ZodArray<z.ZodObject<{
|
|
29878
|
+
date: z.ZodString;
|
|
29879
|
+
gateCount: z.ZodNumber;
|
|
29880
|
+
freshCount: z.ZodNumber;
|
|
29881
|
+
doneCount: z.ZodNumber;
|
|
29882
|
+
}, z.core.$strip>>;
|
|
29883
|
+
paramsSchema: z.ZodOptional<z.ZodObject<{
|
|
29884
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
29885
|
+
key: z.ZodString;
|
|
29886
|
+
label: z.ZodString;
|
|
29887
|
+
type: z.ZodEnum<{
|
|
29888
|
+
string: "string";
|
|
29889
|
+
number: "number";
|
|
29890
|
+
boolean: "boolean";
|
|
29891
|
+
enum: "enum";
|
|
29892
|
+
"string-list": "string-list";
|
|
29893
|
+
}>;
|
|
29894
|
+
description: z.ZodOptional<z.ZodString>;
|
|
29895
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
29896
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29897
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
29898
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
29899
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
29900
|
+
}, z.core.$strip>>;
|
|
29901
|
+
}, z.core.$strip>>;
|
|
29902
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
29903
|
+
}, z.core.$strip>>;
|
|
29904
|
+
cronLine: z.ZodNullable<z.ZodString>;
|
|
29905
|
+
error: z.ZodNullable<z.ZodString>;
|
|
29906
|
+
}, z.core.$strip>;
|
|
29907
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29908
|
+
type: z.ZodLiteral<"fleet/executions/response">;
|
|
29909
|
+
payload: z.ZodObject<{
|
|
29910
|
+
requestId: z.ZodString;
|
|
29911
|
+
executions: z.ZodArray<z.ZodObject<{
|
|
29912
|
+
agentId: z.ZodString;
|
|
29913
|
+
title: z.ZodNullable<z.ZodString>;
|
|
29914
|
+
status: z.ZodString;
|
|
29915
|
+
createdAt: z.ZodString;
|
|
29916
|
+
updatedAt: z.ZodString;
|
|
29917
|
+
requiresAttention: z.ZodOptional<z.ZodBoolean>;
|
|
29918
|
+
attentionReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29919
|
+
costUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29920
|
+
run: z.ZodOptional<z.ZodString>;
|
|
29921
|
+
}, z.core.$strip>>;
|
|
29922
|
+
error: z.ZodNullable<z.ZodString>;
|
|
29923
|
+
}, z.core.$strip>;
|
|
28129
29924
|
}, z.core.$strip>, z.ZodObject<{
|
|
28130
29925
|
type: z.ZodLiteral<"rewind_session_response">;
|
|
28131
29926
|
payload: z.ZodObject<{
|
|
@@ -28668,6 +30463,16 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
28668
30463
|
agentId: z.ZodString;
|
|
28669
30464
|
taskId: z.ZodString;
|
|
28670
30465
|
requestId: z.ZodString;
|
|
30466
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30467
|
+
type: z.ZodLiteral<"list_background_tasks_request">;
|
|
30468
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
30469
|
+
requestId: z.ZodString;
|
|
30470
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30471
|
+
type: z.ZodLiteral<"background_task_output_request">;
|
|
30472
|
+
agentId: z.ZodString;
|
|
30473
|
+
taskId: z.ZodString;
|
|
30474
|
+
maxBytes: z.ZodOptional<z.ZodNumber>;
|
|
30475
|
+
requestId: z.ZodString;
|
|
28671
30476
|
}, z.core.$strip>, z.ZodObject<{
|
|
28672
30477
|
type: z.ZodLiteral<"close_items_request">;
|
|
28673
30478
|
agentIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -29109,6 +30914,9 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
29109
30914
|
type: z.ZodLiteral<"get_providers_snapshot_request">;
|
|
29110
30915
|
cwd: z.ZodOptional<z.ZodString>;
|
|
29111
30916
|
requestId: z.ZodString;
|
|
30917
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30918
|
+
type: z.ZodLiteral<"providers.reload_config.request">;
|
|
30919
|
+
requestId: z.ZodString;
|
|
29112
30920
|
}, z.core.$strip>, z.ZodObject<{
|
|
29113
30921
|
type: z.ZodLiteral<"refresh_providers_snapshot_request">;
|
|
29114
30922
|
cwd: z.ZodOptional<z.ZodString>;
|
|
@@ -30100,6 +31908,103 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
30100
31908
|
type: z.ZodLiteral<"loop/stop">;
|
|
30101
31909
|
requestId: z.ZodString;
|
|
30102
31910
|
id: z.ZodString;
|
|
31911
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31912
|
+
type: z.ZodLiteral<"fleet/list">;
|
|
31913
|
+
requestId: z.ZodString;
|
|
31914
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31915
|
+
type: z.ZodLiteral<"fleet/inspect">;
|
|
31916
|
+
requestId: z.ZodString;
|
|
31917
|
+
name: z.ZodString;
|
|
31918
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31919
|
+
type: z.ZodLiteral<"fleet/run-now">;
|
|
31920
|
+
requestId: z.ZodString;
|
|
31921
|
+
name: z.ZodString;
|
|
31922
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31923
|
+
type: z.ZodLiteral<"fleet/pause">;
|
|
31924
|
+
requestId: z.ZodString;
|
|
31925
|
+
name: z.ZodString;
|
|
31926
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31927
|
+
type: z.ZodLiteral<"fleet/resume">;
|
|
31928
|
+
requestId: z.ZodString;
|
|
31929
|
+
name: z.ZodString;
|
|
31930
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31931
|
+
type: z.ZodLiteral<"fleet/set-mode">;
|
|
31932
|
+
requestId: z.ZodString;
|
|
31933
|
+
name: z.ZodString;
|
|
31934
|
+
mode: z.ZodEnum<{
|
|
31935
|
+
live: "live";
|
|
31936
|
+
"dry-run": "dry-run";
|
|
31937
|
+
}>;
|
|
31938
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31939
|
+
type: z.ZodLiteral<"fleet/ask">;
|
|
31940
|
+
requestId: z.ZodString;
|
|
31941
|
+
name: z.ZodString;
|
|
31942
|
+
kind: z.ZodEnum<{
|
|
31943
|
+
"gate-approval": "gate-approval";
|
|
31944
|
+
"action-approval": "action-approval";
|
|
31945
|
+
"outcome-review": "outcome-review";
|
|
31946
|
+
}>;
|
|
31947
|
+
question: z.ZodString;
|
|
31948
|
+
posture: z.ZodEnum<{
|
|
31949
|
+
blocking: "blocking";
|
|
31950
|
+
deferring: "deferring";
|
|
31951
|
+
advisory: "advisory";
|
|
31952
|
+
}>;
|
|
31953
|
+
options: z.ZodArray<z.ZodObject<{
|
|
31954
|
+
id: z.ZodString;
|
|
31955
|
+
label: z.ZodString;
|
|
31956
|
+
effect: z.ZodObject<{
|
|
31957
|
+
kind: z.ZodEnum<{
|
|
31958
|
+
act: "act";
|
|
31959
|
+
rehearse: "rehearse";
|
|
31960
|
+
defer: "defer";
|
|
31961
|
+
suppress: "suppress";
|
|
31962
|
+
}>;
|
|
31963
|
+
reversibility: z.ZodEnum<{
|
|
31964
|
+
reversible: "reversible";
|
|
31965
|
+
compensable: "compensable";
|
|
31966
|
+
irreversible: "irreversible";
|
|
31967
|
+
}>;
|
|
31968
|
+
compensatingAction: z.ZodOptional<z.ZodString>;
|
|
31969
|
+
}, z.core.$strip>;
|
|
31970
|
+
}, z.core.$strip>>;
|
|
31971
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
31972
|
+
itemKey: z.ZodOptional<z.ZodString>;
|
|
31973
|
+
evidence: z.ZodOptional<z.ZodString>;
|
|
31974
|
+
onExpiry: z.ZodOptional<z.ZodString>;
|
|
31975
|
+
expiresInMs: z.ZodOptional<z.ZodNumber>;
|
|
31976
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31977
|
+
type: z.ZodLiteral<"fleet/decisions">;
|
|
31978
|
+
requestId: z.ZodString;
|
|
31979
|
+
name: z.ZodOptional<z.ZodString>;
|
|
31980
|
+
includeResolved: z.ZodOptional<z.ZodBoolean>;
|
|
31981
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31982
|
+
type: z.ZodLiteral<"fleet/resolve-decision">;
|
|
31983
|
+
requestId: z.ZodString;
|
|
31984
|
+
decisionId: z.ZodString;
|
|
31985
|
+
optionId: z.ZodString;
|
|
31986
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31987
|
+
type: z.ZodLiteral<"fleet/set-params">;
|
|
31988
|
+
requestId: z.ZodString;
|
|
31989
|
+
name: z.ZodString;
|
|
31990
|
+
values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
|
|
31991
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31992
|
+
type: z.ZodLiteral<"fleet/create">;
|
|
31993
|
+
requestId: z.ZodString;
|
|
31994
|
+
name: z.ZodString;
|
|
31995
|
+
description: z.ZodString;
|
|
31996
|
+
cron: z.ZodString;
|
|
31997
|
+
action: z.ZodString;
|
|
31998
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
31999
|
+
live: "live";
|
|
32000
|
+
"dry-run": "dry-run";
|
|
32001
|
+
}>>;
|
|
32002
|
+
rails: z.ZodOptional<z.ZodString>;
|
|
32003
|
+
allowed: z.ZodOptional<z.ZodString>;
|
|
32004
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
32005
|
+
type: z.ZodLiteral<"fleet/executions">;
|
|
32006
|
+
requestId: z.ZodString;
|
|
32007
|
+
name: z.ZodString;
|
|
30103
32008
|
}, z.core.$strip>, z.ZodObject<{
|
|
30104
32009
|
type: z.ZodLiteral<"watch.notificationAction">;
|
|
30105
32010
|
notificationId: z.ZodString;
|
|
@@ -33706,9 +35611,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
33706
35611
|
type: z.ZodEnum<{
|
|
33707
35612
|
completed: "completed";
|
|
33708
35613
|
failed: "failed";
|
|
35614
|
+
started: "started";
|
|
33709
35615
|
cancelled: "cancelled";
|
|
33710
35616
|
created: "created";
|
|
33711
|
-
started: "started";
|
|
33712
35617
|
archived: "archived";
|
|
33713
35618
|
}>;
|
|
33714
35619
|
status: z.ZodEnum<{
|
|
@@ -34192,6 +36097,38 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
34192
36097
|
dismissed: z.ZodBoolean;
|
|
34193
36098
|
requestId: z.ZodString;
|
|
34194
36099
|
}, z.core.$strip>;
|
|
36100
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
36101
|
+
type: z.ZodLiteral<"list_background_tasks_response">;
|
|
36102
|
+
payload: z.ZodObject<{
|
|
36103
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
36104
|
+
agentId: z.ZodString;
|
|
36105
|
+
agentTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36106
|
+
taskId: z.ZodString;
|
|
36107
|
+
command: z.ZodNullable<z.ZodString>;
|
|
36108
|
+
description: z.ZodNullable<z.ZodString>;
|
|
36109
|
+
status: z.ZodEnum<{
|
|
36110
|
+
running: "running";
|
|
36111
|
+
completed: "completed";
|
|
36112
|
+
failed: "failed";
|
|
36113
|
+
canceled: "canceled";
|
|
36114
|
+
}>;
|
|
36115
|
+
startedAt: z.ZodString;
|
|
36116
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
36117
|
+
summary: z.ZodNullable<z.ZodString>;
|
|
36118
|
+
hasOutput: z.ZodBoolean;
|
|
36119
|
+
}, z.core.$strip>>;
|
|
36120
|
+
requestId: z.ZodString;
|
|
36121
|
+
}, z.core.$strip>;
|
|
36122
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
36123
|
+
type: z.ZodLiteral<"background_task_output_response">;
|
|
36124
|
+
payload: z.ZodObject<{
|
|
36125
|
+
agentId: z.ZodString;
|
|
36126
|
+
taskId: z.ZodString;
|
|
36127
|
+
text: z.ZodNullable<z.ZodString>;
|
|
36128
|
+
truncated: z.ZodBoolean;
|
|
36129
|
+
byteSize: z.ZodNumber;
|
|
36130
|
+
requestId: z.ZodString;
|
|
36131
|
+
}, z.core.$strip>;
|
|
34195
36132
|
}, z.core.$strip>, z.ZodObject<{
|
|
34196
36133
|
type: z.ZodLiteral<"close_items_response">;
|
|
34197
36134
|
payload: z.ZodObject<{
|
|
@@ -35650,6 +37587,20 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
35650
37587
|
generatedAt: z.ZodString;
|
|
35651
37588
|
requestId: z.ZodString;
|
|
35652
37589
|
}, z.core.$strip>;
|
|
37590
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
37591
|
+
type: z.ZodLiteral<"providers.reload_config.response">;
|
|
37592
|
+
payload: z.ZodObject<{
|
|
37593
|
+
added: z.ZodArray<z.ZodString>;
|
|
37594
|
+
updated: z.ZodArray<z.ZodString>;
|
|
37595
|
+
removed: z.ZodArray<z.ZodString>;
|
|
37596
|
+
unchanged: z.ZodArray<z.ZodString>;
|
|
37597
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
37598
|
+
provider: z.ZodString;
|
|
37599
|
+
label: z.ZodString;
|
|
37600
|
+
enabled: z.ZodBoolean;
|
|
37601
|
+
}, z.core.$strip>>;
|
|
37602
|
+
requestId: z.ZodString;
|
|
37603
|
+
}, z.core.$strip>;
|
|
35653
37604
|
}, z.core.$strip>, z.ZodObject<{
|
|
35654
37605
|
type: z.ZodLiteral<"providers_snapshot_update">;
|
|
35655
37606
|
payload: z.ZodObject<{
|
|
@@ -36867,6 +38818,675 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
36867
38818
|
}, z.core.$strip>>;
|
|
36868
38819
|
error: z.ZodNullable<z.ZodString>;
|
|
36869
38820
|
}, z.core.$strip>;
|
|
38821
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
38822
|
+
type: z.ZodLiteral<"fleet/list/response">;
|
|
38823
|
+
payload: z.ZodObject<{
|
|
38824
|
+
requestId: z.ZodString;
|
|
38825
|
+
loops: z.ZodArray<z.ZodObject<{
|
|
38826
|
+
mode: z.ZodEnum<{
|
|
38827
|
+
unknown: "unknown";
|
|
38828
|
+
live: "live";
|
|
38829
|
+
"dry-run": "dry-run";
|
|
38830
|
+
}>;
|
|
38831
|
+
description: z.ZodOptional<z.ZodString>;
|
|
38832
|
+
name: z.ZodString;
|
|
38833
|
+
status: z.ZodEnum<{
|
|
38834
|
+
error: "error";
|
|
38835
|
+
idle: "idle";
|
|
38836
|
+
unknown: "unknown";
|
|
38837
|
+
paused: "paused";
|
|
38838
|
+
healthy: "healthy";
|
|
38839
|
+
blocked: "blocked";
|
|
38840
|
+
unscheduled: "unscheduled";
|
|
38841
|
+
}>;
|
|
38842
|
+
paused: z.ZodBoolean;
|
|
38843
|
+
cadence: z.ZodOptional<z.ZodString>;
|
|
38844
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
38845
|
+
displayName: z.ZodString;
|
|
38846
|
+
dir: z.ZodString;
|
|
38847
|
+
statePrefix: z.ZodString;
|
|
38848
|
+
scheduled: z.ZodBoolean;
|
|
38849
|
+
findingCount: z.ZodNumber;
|
|
38850
|
+
paramsSchema: z.ZodOptional<z.ZodObject<{
|
|
38851
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
38852
|
+
key: z.ZodString;
|
|
38853
|
+
label: z.ZodString;
|
|
38854
|
+
type: z.ZodEnum<{
|
|
38855
|
+
string: "string";
|
|
38856
|
+
number: "number";
|
|
38857
|
+
boolean: "boolean";
|
|
38858
|
+
enum: "enum";
|
|
38859
|
+
"string-list": "string-list";
|
|
38860
|
+
}>;
|
|
38861
|
+
description: z.ZodOptional<z.ZodString>;
|
|
38862
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
38863
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
38864
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
38865
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
38866
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
38867
|
+
}, z.core.$strip>>;
|
|
38868
|
+
}, z.core.$strip>>;
|
|
38869
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
38870
|
+
}, z.core.$strip>>;
|
|
38871
|
+
error: z.ZodNullable<z.ZodString>;
|
|
38872
|
+
}, z.core.$strip>;
|
|
38873
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
38874
|
+
type: z.ZodLiteral<"fleet/inspect/response">;
|
|
38875
|
+
payload: z.ZodObject<{
|
|
38876
|
+
requestId: z.ZodString;
|
|
38877
|
+
loop: z.ZodNullable<z.ZodObject<{
|
|
38878
|
+
name: z.ZodString;
|
|
38879
|
+
displayName: z.ZodString;
|
|
38880
|
+
description: z.ZodOptional<z.ZodString>;
|
|
38881
|
+
dir: z.ZodString;
|
|
38882
|
+
statePrefix: z.ZodString;
|
|
38883
|
+
scheduled: z.ZodBoolean;
|
|
38884
|
+
paused: z.ZodBoolean;
|
|
38885
|
+
cadence: z.ZodOptional<z.ZodString>;
|
|
38886
|
+
mode: z.ZodEnum<{
|
|
38887
|
+
unknown: "unknown";
|
|
38888
|
+
live: "live";
|
|
38889
|
+
"dry-run": "dry-run";
|
|
38890
|
+
}>;
|
|
38891
|
+
status: z.ZodEnum<{
|
|
38892
|
+
error: "error";
|
|
38893
|
+
idle: "idle";
|
|
38894
|
+
unknown: "unknown";
|
|
38895
|
+
paused: "paused";
|
|
38896
|
+
healthy: "healthy";
|
|
38897
|
+
blocked: "blocked";
|
|
38898
|
+
unscheduled: "unscheduled";
|
|
38899
|
+
}>;
|
|
38900
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
38901
|
+
findingCount: z.ZodNumber;
|
|
38902
|
+
openFindings: z.ZodArray<z.ZodObject<{
|
|
38903
|
+
key: z.ZodString;
|
|
38904
|
+
title: z.ZodOptional<z.ZodString>;
|
|
38905
|
+
evidence: z.ZodOptional<z.ZodString>;
|
|
38906
|
+
actionable: z.ZodBoolean;
|
|
38907
|
+
outcome: z.ZodOptional<z.ZodString>;
|
|
38908
|
+
handledAt: z.ZodOptional<z.ZodString>;
|
|
38909
|
+
}, z.core.$strip>>;
|
|
38910
|
+
errorTail: z.ZodOptional<z.ZodString>;
|
|
38911
|
+
recentRuns: z.ZodArray<z.ZodObject<{
|
|
38912
|
+
date: z.ZodString;
|
|
38913
|
+
gateCount: z.ZodNumber;
|
|
38914
|
+
freshCount: z.ZodNumber;
|
|
38915
|
+
doneCount: z.ZodNumber;
|
|
38916
|
+
}, z.core.$strip>>;
|
|
38917
|
+
paramsSchema: z.ZodOptional<z.ZodObject<{
|
|
38918
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
38919
|
+
key: z.ZodString;
|
|
38920
|
+
label: z.ZodString;
|
|
38921
|
+
type: z.ZodEnum<{
|
|
38922
|
+
string: "string";
|
|
38923
|
+
number: "number";
|
|
38924
|
+
boolean: "boolean";
|
|
38925
|
+
enum: "enum";
|
|
38926
|
+
"string-list": "string-list";
|
|
38927
|
+
}>;
|
|
38928
|
+
description: z.ZodOptional<z.ZodString>;
|
|
38929
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
38930
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
38931
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
38932
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
38933
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
38934
|
+
}, z.core.$strip>>;
|
|
38935
|
+
}, z.core.$strip>>;
|
|
38936
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
38937
|
+
}, z.core.$strip>>;
|
|
38938
|
+
error: z.ZodNullable<z.ZodString>;
|
|
38939
|
+
}, z.core.$strip>;
|
|
38940
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
38941
|
+
type: z.ZodLiteral<"fleet/run-now/response">;
|
|
38942
|
+
payload: z.ZodObject<{
|
|
38943
|
+
requestId: z.ZodString;
|
|
38944
|
+
loop: z.ZodNullable<z.ZodObject<{
|
|
38945
|
+
name: z.ZodString;
|
|
38946
|
+
displayName: z.ZodString;
|
|
38947
|
+
description: z.ZodOptional<z.ZodString>;
|
|
38948
|
+
dir: z.ZodString;
|
|
38949
|
+
statePrefix: z.ZodString;
|
|
38950
|
+
scheduled: z.ZodBoolean;
|
|
38951
|
+
paused: z.ZodBoolean;
|
|
38952
|
+
cadence: z.ZodOptional<z.ZodString>;
|
|
38953
|
+
mode: z.ZodEnum<{
|
|
38954
|
+
unknown: "unknown";
|
|
38955
|
+
live: "live";
|
|
38956
|
+
"dry-run": "dry-run";
|
|
38957
|
+
}>;
|
|
38958
|
+
status: z.ZodEnum<{
|
|
38959
|
+
error: "error";
|
|
38960
|
+
idle: "idle";
|
|
38961
|
+
unknown: "unknown";
|
|
38962
|
+
paused: "paused";
|
|
38963
|
+
healthy: "healthy";
|
|
38964
|
+
blocked: "blocked";
|
|
38965
|
+
unscheduled: "unscheduled";
|
|
38966
|
+
}>;
|
|
38967
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
38968
|
+
findingCount: z.ZodNumber;
|
|
38969
|
+
openFindings: z.ZodArray<z.ZodObject<{
|
|
38970
|
+
key: z.ZodString;
|
|
38971
|
+
title: z.ZodOptional<z.ZodString>;
|
|
38972
|
+
evidence: z.ZodOptional<z.ZodString>;
|
|
38973
|
+
actionable: z.ZodBoolean;
|
|
38974
|
+
outcome: z.ZodOptional<z.ZodString>;
|
|
38975
|
+
handledAt: z.ZodOptional<z.ZodString>;
|
|
38976
|
+
}, z.core.$strip>>;
|
|
38977
|
+
errorTail: z.ZodOptional<z.ZodString>;
|
|
38978
|
+
recentRuns: z.ZodArray<z.ZodObject<{
|
|
38979
|
+
date: z.ZodString;
|
|
38980
|
+
gateCount: z.ZodNumber;
|
|
38981
|
+
freshCount: z.ZodNumber;
|
|
38982
|
+
doneCount: z.ZodNumber;
|
|
38983
|
+
}, z.core.$strip>>;
|
|
38984
|
+
paramsSchema: z.ZodOptional<z.ZodObject<{
|
|
38985
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
38986
|
+
key: z.ZodString;
|
|
38987
|
+
label: z.ZodString;
|
|
38988
|
+
type: z.ZodEnum<{
|
|
38989
|
+
string: "string";
|
|
38990
|
+
number: "number";
|
|
38991
|
+
boolean: "boolean";
|
|
38992
|
+
enum: "enum";
|
|
38993
|
+
"string-list": "string-list";
|
|
38994
|
+
}>;
|
|
38995
|
+
description: z.ZodOptional<z.ZodString>;
|
|
38996
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
38997
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
38998
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
38999
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
39000
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
39001
|
+
}, z.core.$strip>>;
|
|
39002
|
+
}, z.core.$strip>>;
|
|
39003
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
39004
|
+
}, z.core.$strip>>;
|
|
39005
|
+
started: z.ZodBoolean;
|
|
39006
|
+
error: z.ZodNullable<z.ZodString>;
|
|
39007
|
+
}, z.core.$strip>;
|
|
39008
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39009
|
+
type: z.ZodLiteral<"fleet/pause/response">;
|
|
39010
|
+
payload: z.ZodObject<{
|
|
39011
|
+
requestId: z.ZodString;
|
|
39012
|
+
loop: z.ZodNullable<z.ZodObject<{
|
|
39013
|
+
mode: z.ZodEnum<{
|
|
39014
|
+
unknown: "unknown";
|
|
39015
|
+
live: "live";
|
|
39016
|
+
"dry-run": "dry-run";
|
|
39017
|
+
}>;
|
|
39018
|
+
description: z.ZodOptional<z.ZodString>;
|
|
39019
|
+
name: z.ZodString;
|
|
39020
|
+
status: z.ZodEnum<{
|
|
39021
|
+
error: "error";
|
|
39022
|
+
idle: "idle";
|
|
39023
|
+
unknown: "unknown";
|
|
39024
|
+
paused: "paused";
|
|
39025
|
+
healthy: "healthy";
|
|
39026
|
+
blocked: "blocked";
|
|
39027
|
+
unscheduled: "unscheduled";
|
|
39028
|
+
}>;
|
|
39029
|
+
paused: z.ZodBoolean;
|
|
39030
|
+
cadence: z.ZodOptional<z.ZodString>;
|
|
39031
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
39032
|
+
displayName: z.ZodString;
|
|
39033
|
+
dir: z.ZodString;
|
|
39034
|
+
statePrefix: z.ZodString;
|
|
39035
|
+
scheduled: z.ZodBoolean;
|
|
39036
|
+
findingCount: z.ZodNumber;
|
|
39037
|
+
paramsSchema: z.ZodOptional<z.ZodObject<{
|
|
39038
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
39039
|
+
key: z.ZodString;
|
|
39040
|
+
label: z.ZodString;
|
|
39041
|
+
type: z.ZodEnum<{
|
|
39042
|
+
string: "string";
|
|
39043
|
+
number: "number";
|
|
39044
|
+
boolean: "boolean";
|
|
39045
|
+
enum: "enum";
|
|
39046
|
+
"string-list": "string-list";
|
|
39047
|
+
}>;
|
|
39048
|
+
description: z.ZodOptional<z.ZodString>;
|
|
39049
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
39050
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39051
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
39052
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
39053
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
39054
|
+
}, z.core.$strip>>;
|
|
39055
|
+
}, z.core.$strip>>;
|
|
39056
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
39057
|
+
}, z.core.$strip>>;
|
|
39058
|
+
error: z.ZodNullable<z.ZodString>;
|
|
39059
|
+
}, z.core.$strip>;
|
|
39060
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39061
|
+
type: z.ZodLiteral<"fleet/resume/response">;
|
|
39062
|
+
payload: z.ZodObject<{
|
|
39063
|
+
requestId: z.ZodString;
|
|
39064
|
+
loop: z.ZodNullable<z.ZodObject<{
|
|
39065
|
+
mode: z.ZodEnum<{
|
|
39066
|
+
unknown: "unknown";
|
|
39067
|
+
live: "live";
|
|
39068
|
+
"dry-run": "dry-run";
|
|
39069
|
+
}>;
|
|
39070
|
+
description: z.ZodOptional<z.ZodString>;
|
|
39071
|
+
name: z.ZodString;
|
|
39072
|
+
status: z.ZodEnum<{
|
|
39073
|
+
error: "error";
|
|
39074
|
+
idle: "idle";
|
|
39075
|
+
unknown: "unknown";
|
|
39076
|
+
paused: "paused";
|
|
39077
|
+
healthy: "healthy";
|
|
39078
|
+
blocked: "blocked";
|
|
39079
|
+
unscheduled: "unscheduled";
|
|
39080
|
+
}>;
|
|
39081
|
+
paused: z.ZodBoolean;
|
|
39082
|
+
cadence: z.ZodOptional<z.ZodString>;
|
|
39083
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
39084
|
+
displayName: z.ZodString;
|
|
39085
|
+
dir: z.ZodString;
|
|
39086
|
+
statePrefix: z.ZodString;
|
|
39087
|
+
scheduled: z.ZodBoolean;
|
|
39088
|
+
findingCount: z.ZodNumber;
|
|
39089
|
+
paramsSchema: z.ZodOptional<z.ZodObject<{
|
|
39090
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
39091
|
+
key: z.ZodString;
|
|
39092
|
+
label: z.ZodString;
|
|
39093
|
+
type: z.ZodEnum<{
|
|
39094
|
+
string: "string";
|
|
39095
|
+
number: "number";
|
|
39096
|
+
boolean: "boolean";
|
|
39097
|
+
enum: "enum";
|
|
39098
|
+
"string-list": "string-list";
|
|
39099
|
+
}>;
|
|
39100
|
+
description: z.ZodOptional<z.ZodString>;
|
|
39101
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
39102
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39103
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
39104
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
39105
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
39106
|
+
}, z.core.$strip>>;
|
|
39107
|
+
}, z.core.$strip>>;
|
|
39108
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
39109
|
+
}, z.core.$strip>>;
|
|
39110
|
+
error: z.ZodNullable<z.ZodString>;
|
|
39111
|
+
}, z.core.$strip>;
|
|
39112
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39113
|
+
type: z.ZodLiteral<"fleet/set-mode/response">;
|
|
39114
|
+
payload: z.ZodObject<{
|
|
39115
|
+
requestId: z.ZodString;
|
|
39116
|
+
loop: z.ZodNullable<z.ZodObject<{
|
|
39117
|
+
mode: z.ZodEnum<{
|
|
39118
|
+
unknown: "unknown";
|
|
39119
|
+
live: "live";
|
|
39120
|
+
"dry-run": "dry-run";
|
|
39121
|
+
}>;
|
|
39122
|
+
description: z.ZodOptional<z.ZodString>;
|
|
39123
|
+
name: z.ZodString;
|
|
39124
|
+
status: z.ZodEnum<{
|
|
39125
|
+
error: "error";
|
|
39126
|
+
idle: "idle";
|
|
39127
|
+
unknown: "unknown";
|
|
39128
|
+
paused: "paused";
|
|
39129
|
+
healthy: "healthy";
|
|
39130
|
+
blocked: "blocked";
|
|
39131
|
+
unscheduled: "unscheduled";
|
|
39132
|
+
}>;
|
|
39133
|
+
paused: z.ZodBoolean;
|
|
39134
|
+
cadence: z.ZodOptional<z.ZodString>;
|
|
39135
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
39136
|
+
displayName: z.ZodString;
|
|
39137
|
+
dir: z.ZodString;
|
|
39138
|
+
statePrefix: z.ZodString;
|
|
39139
|
+
scheduled: z.ZodBoolean;
|
|
39140
|
+
findingCount: z.ZodNumber;
|
|
39141
|
+
paramsSchema: z.ZodOptional<z.ZodObject<{
|
|
39142
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
39143
|
+
key: z.ZodString;
|
|
39144
|
+
label: z.ZodString;
|
|
39145
|
+
type: z.ZodEnum<{
|
|
39146
|
+
string: "string";
|
|
39147
|
+
number: "number";
|
|
39148
|
+
boolean: "boolean";
|
|
39149
|
+
enum: "enum";
|
|
39150
|
+
"string-list": "string-list";
|
|
39151
|
+
}>;
|
|
39152
|
+
description: z.ZodOptional<z.ZodString>;
|
|
39153
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
39154
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39155
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
39156
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
39157
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
39158
|
+
}, z.core.$strip>>;
|
|
39159
|
+
}, z.core.$strip>>;
|
|
39160
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
39161
|
+
}, z.core.$strip>>;
|
|
39162
|
+
previousMode: z.ZodNullable<z.ZodEnum<{
|
|
39163
|
+
unknown: "unknown";
|
|
39164
|
+
live: "live";
|
|
39165
|
+
"dry-run": "dry-run";
|
|
39166
|
+
}>>;
|
|
39167
|
+
changed: z.ZodBoolean;
|
|
39168
|
+
error: z.ZodNullable<z.ZodString>;
|
|
39169
|
+
}, z.core.$strip>;
|
|
39170
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39171
|
+
type: z.ZodLiteral<"fleet/ask/response">;
|
|
39172
|
+
payload: z.ZodObject<{
|
|
39173
|
+
requestId: z.ZodString;
|
|
39174
|
+
decision: z.ZodNullable<z.ZodObject<{
|
|
39175
|
+
id: z.ZodString;
|
|
39176
|
+
loopName: z.ZodString;
|
|
39177
|
+
runId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
39178
|
+
itemKey: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
39179
|
+
kind: z.ZodEnum<{
|
|
39180
|
+
"gate-approval": "gate-approval";
|
|
39181
|
+
"action-approval": "action-approval";
|
|
39182
|
+
"outcome-review": "outcome-review";
|
|
39183
|
+
}>;
|
|
39184
|
+
question: z.ZodString;
|
|
39185
|
+
evidence: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
39186
|
+
posture: z.ZodEnum<{
|
|
39187
|
+
blocking: "blocking";
|
|
39188
|
+
deferring: "deferring";
|
|
39189
|
+
advisory: "advisory";
|
|
39190
|
+
}>;
|
|
39191
|
+
options: z.ZodArray<z.ZodObject<{
|
|
39192
|
+
id: z.ZodString;
|
|
39193
|
+
label: z.ZodString;
|
|
39194
|
+
effect: z.ZodObject<{
|
|
39195
|
+
kind: z.ZodEnum<{
|
|
39196
|
+
act: "act";
|
|
39197
|
+
rehearse: "rehearse";
|
|
39198
|
+
defer: "defer";
|
|
39199
|
+
suppress: "suppress";
|
|
39200
|
+
}>;
|
|
39201
|
+
reversibility: z.ZodEnum<{
|
|
39202
|
+
reversible: "reversible";
|
|
39203
|
+
compensable: "compensable";
|
|
39204
|
+
irreversible: "irreversible";
|
|
39205
|
+
}>;
|
|
39206
|
+
compensatingAction: z.ZodOptional<z.ZodString>;
|
|
39207
|
+
}, z.core.$strip>;
|
|
39208
|
+
}, z.core.$strip>>;
|
|
39209
|
+
onExpiry: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
39210
|
+
expiresAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
39211
|
+
createdAt: z.ZodString;
|
|
39212
|
+
resolvedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
39213
|
+
resolvedOptionId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
39214
|
+
resolvedBy: z.ZodDefault<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
39215
|
+
kind: z.ZodLiteral<"human">;
|
|
39216
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
39217
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39218
|
+
kind: z.ZodLiteral<"expiry">;
|
|
39219
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39220
|
+
kind: z.ZodLiteral<"policy">;
|
|
39221
|
+
rule: z.ZodString;
|
|
39222
|
+
}, z.core.$strip>], "kind">>>;
|
|
39223
|
+
}, z.core.$strip>>;
|
|
39224
|
+
error: z.ZodNullable<z.ZodString>;
|
|
39225
|
+
}, z.core.$strip>;
|
|
39226
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39227
|
+
type: z.ZodLiteral<"fleet/decisions/response">;
|
|
39228
|
+
payload: z.ZodObject<{
|
|
39229
|
+
requestId: z.ZodString;
|
|
39230
|
+
decisions: z.ZodArray<z.ZodObject<{
|
|
39231
|
+
id: z.ZodString;
|
|
39232
|
+
loopName: z.ZodString;
|
|
39233
|
+
runId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
39234
|
+
itemKey: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
39235
|
+
kind: z.ZodEnum<{
|
|
39236
|
+
"gate-approval": "gate-approval";
|
|
39237
|
+
"action-approval": "action-approval";
|
|
39238
|
+
"outcome-review": "outcome-review";
|
|
39239
|
+
}>;
|
|
39240
|
+
question: z.ZodString;
|
|
39241
|
+
evidence: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
39242
|
+
posture: z.ZodEnum<{
|
|
39243
|
+
blocking: "blocking";
|
|
39244
|
+
deferring: "deferring";
|
|
39245
|
+
advisory: "advisory";
|
|
39246
|
+
}>;
|
|
39247
|
+
options: z.ZodArray<z.ZodObject<{
|
|
39248
|
+
id: z.ZodString;
|
|
39249
|
+
label: z.ZodString;
|
|
39250
|
+
effect: z.ZodObject<{
|
|
39251
|
+
kind: z.ZodEnum<{
|
|
39252
|
+
act: "act";
|
|
39253
|
+
rehearse: "rehearse";
|
|
39254
|
+
defer: "defer";
|
|
39255
|
+
suppress: "suppress";
|
|
39256
|
+
}>;
|
|
39257
|
+
reversibility: z.ZodEnum<{
|
|
39258
|
+
reversible: "reversible";
|
|
39259
|
+
compensable: "compensable";
|
|
39260
|
+
irreversible: "irreversible";
|
|
39261
|
+
}>;
|
|
39262
|
+
compensatingAction: z.ZodOptional<z.ZodString>;
|
|
39263
|
+
}, z.core.$strip>;
|
|
39264
|
+
}, z.core.$strip>>;
|
|
39265
|
+
onExpiry: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
39266
|
+
expiresAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
39267
|
+
createdAt: z.ZodString;
|
|
39268
|
+
resolvedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
39269
|
+
resolvedOptionId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
39270
|
+
resolvedBy: z.ZodDefault<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
39271
|
+
kind: z.ZodLiteral<"human">;
|
|
39272
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
39273
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39274
|
+
kind: z.ZodLiteral<"expiry">;
|
|
39275
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39276
|
+
kind: z.ZodLiteral<"policy">;
|
|
39277
|
+
rule: z.ZodString;
|
|
39278
|
+
}, z.core.$strip>], "kind">>>;
|
|
39279
|
+
}, z.core.$strip>>;
|
|
39280
|
+
error: z.ZodNullable<z.ZodString>;
|
|
39281
|
+
}, z.core.$strip>;
|
|
39282
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39283
|
+
type: z.ZodLiteral<"fleet/resolve-decision/response">;
|
|
39284
|
+
payload: z.ZodObject<{
|
|
39285
|
+
requestId: z.ZodString;
|
|
39286
|
+
decision: z.ZodNullable<z.ZodObject<{
|
|
39287
|
+
id: z.ZodString;
|
|
39288
|
+
loopName: z.ZodString;
|
|
39289
|
+
runId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
39290
|
+
itemKey: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
39291
|
+
kind: z.ZodEnum<{
|
|
39292
|
+
"gate-approval": "gate-approval";
|
|
39293
|
+
"action-approval": "action-approval";
|
|
39294
|
+
"outcome-review": "outcome-review";
|
|
39295
|
+
}>;
|
|
39296
|
+
question: z.ZodString;
|
|
39297
|
+
evidence: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
39298
|
+
posture: z.ZodEnum<{
|
|
39299
|
+
blocking: "blocking";
|
|
39300
|
+
deferring: "deferring";
|
|
39301
|
+
advisory: "advisory";
|
|
39302
|
+
}>;
|
|
39303
|
+
options: z.ZodArray<z.ZodObject<{
|
|
39304
|
+
id: z.ZodString;
|
|
39305
|
+
label: z.ZodString;
|
|
39306
|
+
effect: z.ZodObject<{
|
|
39307
|
+
kind: z.ZodEnum<{
|
|
39308
|
+
act: "act";
|
|
39309
|
+
rehearse: "rehearse";
|
|
39310
|
+
defer: "defer";
|
|
39311
|
+
suppress: "suppress";
|
|
39312
|
+
}>;
|
|
39313
|
+
reversibility: z.ZodEnum<{
|
|
39314
|
+
reversible: "reversible";
|
|
39315
|
+
compensable: "compensable";
|
|
39316
|
+
irreversible: "irreversible";
|
|
39317
|
+
}>;
|
|
39318
|
+
compensatingAction: z.ZodOptional<z.ZodString>;
|
|
39319
|
+
}, z.core.$strip>;
|
|
39320
|
+
}, z.core.$strip>>;
|
|
39321
|
+
onExpiry: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
39322
|
+
expiresAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
39323
|
+
createdAt: z.ZodString;
|
|
39324
|
+
resolvedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
39325
|
+
resolvedOptionId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
39326
|
+
resolvedBy: z.ZodDefault<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
39327
|
+
kind: z.ZodLiteral<"human">;
|
|
39328
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
39329
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39330
|
+
kind: z.ZodLiteral<"expiry">;
|
|
39331
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39332
|
+
kind: z.ZodLiteral<"policy">;
|
|
39333
|
+
rule: z.ZodString;
|
|
39334
|
+
}, z.core.$strip>], "kind">>>;
|
|
39335
|
+
}, z.core.$strip>>;
|
|
39336
|
+
error: z.ZodNullable<z.ZodString>;
|
|
39337
|
+
}, z.core.$strip>;
|
|
39338
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39339
|
+
type: z.ZodLiteral<"fleet/set-params/response">;
|
|
39340
|
+
payload: z.ZodObject<{
|
|
39341
|
+
requestId: z.ZodString;
|
|
39342
|
+
loop: z.ZodNullable<z.ZodObject<{
|
|
39343
|
+
name: z.ZodString;
|
|
39344
|
+
displayName: z.ZodString;
|
|
39345
|
+
description: z.ZodOptional<z.ZodString>;
|
|
39346
|
+
dir: z.ZodString;
|
|
39347
|
+
statePrefix: z.ZodString;
|
|
39348
|
+
scheduled: z.ZodBoolean;
|
|
39349
|
+
paused: z.ZodBoolean;
|
|
39350
|
+
cadence: z.ZodOptional<z.ZodString>;
|
|
39351
|
+
mode: z.ZodEnum<{
|
|
39352
|
+
unknown: "unknown";
|
|
39353
|
+
live: "live";
|
|
39354
|
+
"dry-run": "dry-run";
|
|
39355
|
+
}>;
|
|
39356
|
+
status: z.ZodEnum<{
|
|
39357
|
+
error: "error";
|
|
39358
|
+
idle: "idle";
|
|
39359
|
+
unknown: "unknown";
|
|
39360
|
+
paused: "paused";
|
|
39361
|
+
healthy: "healthy";
|
|
39362
|
+
blocked: "blocked";
|
|
39363
|
+
unscheduled: "unscheduled";
|
|
39364
|
+
}>;
|
|
39365
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
39366
|
+
findingCount: z.ZodNumber;
|
|
39367
|
+
openFindings: z.ZodArray<z.ZodObject<{
|
|
39368
|
+
key: z.ZodString;
|
|
39369
|
+
title: z.ZodOptional<z.ZodString>;
|
|
39370
|
+
evidence: z.ZodOptional<z.ZodString>;
|
|
39371
|
+
actionable: z.ZodBoolean;
|
|
39372
|
+
outcome: z.ZodOptional<z.ZodString>;
|
|
39373
|
+
handledAt: z.ZodOptional<z.ZodString>;
|
|
39374
|
+
}, z.core.$strip>>;
|
|
39375
|
+
errorTail: z.ZodOptional<z.ZodString>;
|
|
39376
|
+
recentRuns: z.ZodArray<z.ZodObject<{
|
|
39377
|
+
date: z.ZodString;
|
|
39378
|
+
gateCount: z.ZodNumber;
|
|
39379
|
+
freshCount: z.ZodNumber;
|
|
39380
|
+
doneCount: z.ZodNumber;
|
|
39381
|
+
}, z.core.$strip>>;
|
|
39382
|
+
paramsSchema: z.ZodOptional<z.ZodObject<{
|
|
39383
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
39384
|
+
key: z.ZodString;
|
|
39385
|
+
label: z.ZodString;
|
|
39386
|
+
type: z.ZodEnum<{
|
|
39387
|
+
string: "string";
|
|
39388
|
+
number: "number";
|
|
39389
|
+
boolean: "boolean";
|
|
39390
|
+
enum: "enum";
|
|
39391
|
+
"string-list": "string-list";
|
|
39392
|
+
}>;
|
|
39393
|
+
description: z.ZodOptional<z.ZodString>;
|
|
39394
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
39395
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39396
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
39397
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
39398
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
39399
|
+
}, z.core.$strip>>;
|
|
39400
|
+
}, z.core.$strip>>;
|
|
39401
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
39402
|
+
}, z.core.$strip>>;
|
|
39403
|
+
error: z.ZodNullable<z.ZodString>;
|
|
39404
|
+
}, z.core.$strip>;
|
|
39405
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39406
|
+
type: z.ZodLiteral<"fleet/create/response">;
|
|
39407
|
+
payload: z.ZodObject<{
|
|
39408
|
+
requestId: z.ZodString;
|
|
39409
|
+
loop: z.ZodNullable<z.ZodObject<{
|
|
39410
|
+
name: z.ZodString;
|
|
39411
|
+
displayName: z.ZodString;
|
|
39412
|
+
description: z.ZodOptional<z.ZodString>;
|
|
39413
|
+
dir: z.ZodString;
|
|
39414
|
+
statePrefix: z.ZodString;
|
|
39415
|
+
scheduled: z.ZodBoolean;
|
|
39416
|
+
paused: z.ZodBoolean;
|
|
39417
|
+
cadence: z.ZodOptional<z.ZodString>;
|
|
39418
|
+
mode: z.ZodEnum<{
|
|
39419
|
+
unknown: "unknown";
|
|
39420
|
+
live: "live";
|
|
39421
|
+
"dry-run": "dry-run";
|
|
39422
|
+
}>;
|
|
39423
|
+
status: z.ZodEnum<{
|
|
39424
|
+
error: "error";
|
|
39425
|
+
idle: "idle";
|
|
39426
|
+
unknown: "unknown";
|
|
39427
|
+
paused: "paused";
|
|
39428
|
+
healthy: "healthy";
|
|
39429
|
+
blocked: "blocked";
|
|
39430
|
+
unscheduled: "unscheduled";
|
|
39431
|
+
}>;
|
|
39432
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
39433
|
+
findingCount: z.ZodNumber;
|
|
39434
|
+
openFindings: z.ZodArray<z.ZodObject<{
|
|
39435
|
+
key: z.ZodString;
|
|
39436
|
+
title: z.ZodOptional<z.ZodString>;
|
|
39437
|
+
evidence: z.ZodOptional<z.ZodString>;
|
|
39438
|
+
actionable: z.ZodBoolean;
|
|
39439
|
+
outcome: z.ZodOptional<z.ZodString>;
|
|
39440
|
+
handledAt: z.ZodOptional<z.ZodString>;
|
|
39441
|
+
}, z.core.$strip>>;
|
|
39442
|
+
errorTail: z.ZodOptional<z.ZodString>;
|
|
39443
|
+
recentRuns: z.ZodArray<z.ZodObject<{
|
|
39444
|
+
date: z.ZodString;
|
|
39445
|
+
gateCount: z.ZodNumber;
|
|
39446
|
+
freshCount: z.ZodNumber;
|
|
39447
|
+
doneCount: z.ZodNumber;
|
|
39448
|
+
}, z.core.$strip>>;
|
|
39449
|
+
paramsSchema: z.ZodOptional<z.ZodObject<{
|
|
39450
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
39451
|
+
key: z.ZodString;
|
|
39452
|
+
label: z.ZodString;
|
|
39453
|
+
type: z.ZodEnum<{
|
|
39454
|
+
string: "string";
|
|
39455
|
+
number: "number";
|
|
39456
|
+
boolean: "boolean";
|
|
39457
|
+
enum: "enum";
|
|
39458
|
+
"string-list": "string-list";
|
|
39459
|
+
}>;
|
|
39460
|
+
description: z.ZodOptional<z.ZodString>;
|
|
39461
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
39462
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39463
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
39464
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
39465
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
39466
|
+
}, z.core.$strip>>;
|
|
39467
|
+
}, z.core.$strip>>;
|
|
39468
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
39469
|
+
}, z.core.$strip>>;
|
|
39470
|
+
cronLine: z.ZodNullable<z.ZodString>;
|
|
39471
|
+
error: z.ZodNullable<z.ZodString>;
|
|
39472
|
+
}, z.core.$strip>;
|
|
39473
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39474
|
+
type: z.ZodLiteral<"fleet/executions/response">;
|
|
39475
|
+
payload: z.ZodObject<{
|
|
39476
|
+
requestId: z.ZodString;
|
|
39477
|
+
executions: z.ZodArray<z.ZodObject<{
|
|
39478
|
+
agentId: z.ZodString;
|
|
39479
|
+
title: z.ZodNullable<z.ZodString>;
|
|
39480
|
+
status: z.ZodString;
|
|
39481
|
+
createdAt: z.ZodString;
|
|
39482
|
+
updatedAt: z.ZodString;
|
|
39483
|
+
requiresAttention: z.ZodOptional<z.ZodBoolean>;
|
|
39484
|
+
attentionReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39485
|
+
costUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39486
|
+
run: z.ZodOptional<z.ZodString>;
|
|
39487
|
+
}, z.core.$strip>>;
|
|
39488
|
+
error: z.ZodNullable<z.ZodString>;
|
|
39489
|
+
}, z.core.$strip>;
|
|
36870
39490
|
}, z.core.$strip>, z.ZodObject<{
|
|
36871
39491
|
type: z.ZodLiteral<"rewind_session_response">;
|
|
36872
39492
|
payload: z.ZodObject<{
|