@getpaseo/server 0.1.2 → 0.1.3
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/server/client/daemon-client.d.ts +11 -5
- package/dist/server/client/daemon-client.d.ts.map +1 -1
- package/dist/server/client/daemon-client.js +54 -46
- package/dist/server/client/daemon-client.js.map +1 -1
- package/dist/server/server/agent/agent-manager.d.ts +7 -0
- package/dist/server/server/agent/agent-manager.d.ts.map +1 -1
- package/dist/server/server/agent/agent-manager.js +41 -1
- package/dist/server/server/agent/agent-manager.js.map +1 -1
- package/dist/server/server/agent/providers/claude/tool-call-detail-parser.d.ts.map +1 -1
- package/dist/server/server/agent/providers/claude/tool-call-detail-parser.js +62 -12
- package/dist/server/server/agent/providers/claude/tool-call-detail-parser.js.map +1 -1
- package/dist/server/server/agent/providers/claude/tool-call-mapper.d.ts +4 -4
- package/dist/server/server/agent/providers/claude/tool-call-mapper.d.ts.map +1 -1
- package/dist/server/server/agent/providers/claude/tool-call-mapper.js +99 -50
- package/dist/server/server/agent/providers/claude/tool-call-mapper.js.map +1 -1
- package/dist/server/server/agent/providers/claude-agent.d.ts.map +1 -1
- package/dist/server/server/agent/providers/claude-agent.js +17 -10
- package/dist/server/server/agent/providers/claude-agent.js.map +1 -1
- package/dist/server/server/agent/providers/codex/tool-call-detail-parser.d.ts +0 -1
- package/dist/server/server/agent/providers/codex/tool-call-detail-parser.d.ts.map +1 -1
- package/dist/server/server/agent/providers/codex/tool-call-detail-parser.js +67 -30
- package/dist/server/server/agent/providers/codex/tool-call-detail-parser.js.map +1 -1
- package/dist/server/server/agent/providers/codex/tool-call-mapper.d.ts +1 -1
- package/dist/server/server/agent/providers/codex/tool-call-mapper.d.ts.map +1 -1
- package/dist/server/server/agent/providers/codex/tool-call-mapper.js +293 -266
- package/dist/server/server/agent/providers/codex/tool-call-mapper.js.map +1 -1
- package/dist/server/server/agent/providers/codex-app-server-agent.d.ts +1 -1
- package/dist/server/server/agent/providers/codex-app-server-agent.d.ts.map +1 -1
- package/dist/server/server/agent/providers/codex-app-server-agent.js +24 -14
- package/dist/server/server/agent/providers/codex-app-server-agent.js.map +1 -1
- package/dist/server/server/agent/providers/codex-rollout-timeline.d.ts.map +1 -1
- package/dist/server/server/agent/providers/codex-rollout-timeline.js +5 -4
- package/dist/server/server/agent/providers/codex-rollout-timeline.js.map +1 -1
- package/dist/server/server/agent/providers/opencode/tool-call-detail-parser.d.ts.map +1 -1
- package/dist/server/server/agent/providers/opencode/tool-call-detail-parser.js +8 -2
- package/dist/server/server/agent/providers/opencode/tool-call-detail-parser.js.map +1 -1
- package/dist/server/server/agent/providers/opencode/tool-call-mapper.d.ts +1 -1
- package/dist/server/server/agent/providers/opencode/tool-call-mapper.d.ts.map +1 -1
- package/dist/server/server/agent/providers/opencode/tool-call-mapper.js +121 -45
- package/dist/server/server/agent/providers/opencode/tool-call-mapper.js.map +1 -1
- package/dist/server/server/agent/providers/opencode-agent.d.ts.map +1 -1
- package/dist/server/server/agent/providers/opencode-agent.js +87 -35
- package/dist/server/server/agent/providers/opencode-agent.js.map +1 -1
- package/dist/server/server/agent/providers/tool-call-detail-primitives.d.ts +2 -2
- package/dist/server/server/agent/providers/tool-call-detail-primitives.d.ts.map +1 -1
- package/dist/server/server/agent/providers/tool-call-detail-primitives.js +23 -6
- package/dist/server/server/agent/providers/tool-call-detail-primitives.js.map +1 -1
- package/dist/server/server/agent/providers/tool-call-mapper-utils.d.ts +0 -1
- package/dist/server/server/agent/providers/tool-call-mapper-utils.d.ts.map +1 -1
- package/dist/server/server/agent/providers/tool-call-mapper-utils.js +0 -10
- package/dist/server/server/agent/providers/tool-call-mapper-utils.js.map +1 -1
- package/dist/server/server/agent/tts-manager.d.ts.map +1 -1
- package/dist/server/server/agent/tts-manager.js +0 -14
- package/dist/server/server/agent/tts-manager.js.map +1 -1
- package/dist/server/server/bootstrap.d.ts.map +1 -1
- package/dist/server/server/bootstrap.js +0 -2
- package/dist/server/server/bootstrap.js.map +1 -1
- package/dist/server/server/dictation/dictation-stream-manager.d.ts.map +1 -1
- package/dist/server/server/dictation/dictation-stream-manager.js +2 -13
- package/dist/server/server/dictation/dictation-stream-manager.js.map +1 -1
- package/dist/server/server/exports.d.ts +1 -0
- package/dist/server/server/exports.d.ts.map +1 -1
- package/dist/server/server/exports.js +1 -0
- package/dist/server/server/exports.js.map +1 -1
- package/dist/server/server/persisted-config.d.ts +32 -18
- package/dist/server/server/persisted-config.d.ts.map +1 -1
- package/dist/server/server/persisted-config.js +2 -0
- package/dist/server/server/persisted-config.js.map +1 -1
- package/dist/server/server/relay-transport.d.ts.map +1 -1
- package/dist/server/server/relay-transport.js +78 -11
- package/dist/server/server/relay-transport.js.map +1 -1
- package/dist/server/server/session.d.ts +2 -8
- package/dist/server/server/session.d.ts.map +1 -1
- package/dist/server/server/session.js +120 -249
- package/dist/server/server/session.js.map +1 -1
- package/dist/server/server/speech/providers/local/config.d.ts.map +1 -1
- package/dist/server/server/speech/providers/local/config.js +11 -8
- package/dist/server/server/speech/providers/local/config.js.map +1 -1
- package/dist/server/server/speech/providers/local/runtime.d.ts.map +1 -1
- package/dist/server/server/speech/providers/local/runtime.js +9 -6
- package/dist/server/server/speech/providers/local/runtime.js.map +1 -1
- package/dist/server/server/speech/providers/local/sherpa/model-downloader.d.ts.map +1 -1
- package/dist/server/server/speech/providers/local/sherpa/model-downloader.js +134 -52
- package/dist/server/server/speech/providers/local/sherpa/model-downloader.js.map +1 -1
- package/dist/server/server/speech/providers/openai/config.d.ts.map +1 -1
- package/dist/server/server/speech/providers/openai/config.js +10 -5
- package/dist/server/server/speech/providers/openai/config.js.map +1 -1
- package/dist/server/server/speech/providers/openai/runtime.d.ts.map +1 -1
- package/dist/server/server/speech/providers/openai/runtime.js +17 -6
- package/dist/server/server/speech/providers/openai/runtime.js.map +1 -1
- package/dist/server/server/speech/speech-config-resolver.d.ts.map +1 -1
- package/dist/server/server/speech/speech-config-resolver.js +25 -4
- package/dist/server/server/speech/speech-config-resolver.js.map +1 -1
- package/dist/server/server/speech/speech-runtime.d.ts.map +1 -1
- package/dist/server/server/speech/speech-runtime.js +44 -15
- package/dist/server/server/speech/speech-runtime.js.map +1 -1
- package/dist/server/server/speech/speech-types.d.ts +3 -0
- package/dist/server/server/speech/speech-types.d.ts.map +1 -1
- package/dist/server/server/speech/speech-types.js +1 -0
- package/dist/server/server/speech/speech-types.js.map +1 -1
- package/dist/server/server/websocket-server.d.ts.map +1 -1
- package/dist/server/server/websocket-server.js +2 -40
- package/dist/server/server/websocket-server.js.map +1 -1
- package/dist/server/shared/messages.d.ts +680 -1328
- package/dist/server/shared/messages.d.ts.map +1 -1
- package/dist/server/shared/messages.js +41 -32
- package/dist/server/shared/messages.js.map +1 -1
- package/dist/server/utils/checkout-git.d.ts +5 -1
- package/dist/server/utils/checkout-git.d.ts.map +1 -1
- package/dist/server/utils/checkout-git.js +222 -75
- package/dist/server/utils/checkout-git.js.map +1 -1
- package/package.json +2 -2
|
@@ -314,6 +314,25 @@ export declare const ArchiveAgentRequestMessageSchema: z.ZodObject<{
|
|
|
314
314
|
requestId: string;
|
|
315
315
|
agentId: string;
|
|
316
316
|
}>;
|
|
317
|
+
export declare const UpdateAgentRequestMessageSchema: z.ZodObject<{
|
|
318
|
+
type: z.ZodLiteral<"update_agent_request">;
|
|
319
|
+
agentId: z.ZodString;
|
|
320
|
+
name: z.ZodOptional<z.ZodString>;
|
|
321
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
322
|
+
requestId: z.ZodString;
|
|
323
|
+
}, "strip", z.ZodTypeAny, {
|
|
324
|
+
type: "update_agent_request";
|
|
325
|
+
requestId: string;
|
|
326
|
+
agentId: string;
|
|
327
|
+
labels?: Record<string, string> | undefined;
|
|
328
|
+
name?: string | undefined;
|
|
329
|
+
}, {
|
|
330
|
+
type: "update_agent_request";
|
|
331
|
+
requestId: string;
|
|
332
|
+
agentId: string;
|
|
333
|
+
labels?: Record<string, string> | undefined;
|
|
334
|
+
name?: string | undefined;
|
|
335
|
+
}>;
|
|
317
336
|
export declare const SetVoiceModeMessageSchema: z.ZodObject<{
|
|
318
337
|
type: z.ZodLiteral<"set_voice_mode">;
|
|
319
338
|
enabled: z.ZodBoolean;
|
|
@@ -681,6 +700,7 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
|
|
|
681
700
|
}>;
|
|
682
701
|
worktreeName: z.ZodOptional<z.ZodString>;
|
|
683
702
|
initialPrompt: z.ZodOptional<z.ZodString>;
|
|
703
|
+
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
684
704
|
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
685
705
|
data: z.ZodString;
|
|
686
706
|
mimeType: z.ZodString;
|
|
@@ -753,6 +773,7 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
|
|
|
753
773
|
}[] | undefined;
|
|
754
774
|
worktreeName?: string | undefined;
|
|
755
775
|
initialPrompt?: string | undefined;
|
|
776
|
+
outputSchema?: Record<string, unknown> | undefined;
|
|
756
777
|
git?: {
|
|
757
778
|
baseBranch?: string | undefined;
|
|
758
779
|
createNewBranch?: boolean | undefined;
|
|
@@ -801,6 +822,7 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
|
|
|
801
822
|
}[] | undefined;
|
|
802
823
|
worktreeName?: string | undefined;
|
|
803
824
|
initialPrompt?: string | undefined;
|
|
825
|
+
outputSchema?: Record<string, unknown> | undefined;
|
|
804
826
|
git?: {
|
|
805
827
|
baseBranch?: string | undefined;
|
|
806
828
|
createNewBranch?: boolean | undefined;
|
|
@@ -825,6 +847,16 @@ export declare const ListProviderModelsRequestMessageSchema: z.ZodObject<{
|
|
|
825
847
|
requestId: string;
|
|
826
848
|
cwd?: string | undefined;
|
|
827
849
|
}>;
|
|
850
|
+
export declare const ListAvailableProvidersRequestMessageSchema: z.ZodObject<{
|
|
851
|
+
type: z.ZodLiteral<"list_available_providers_request">;
|
|
852
|
+
requestId: z.ZodString;
|
|
853
|
+
}, "strip", z.ZodTypeAny, {
|
|
854
|
+
type: "list_available_providers_request";
|
|
855
|
+
requestId: string;
|
|
856
|
+
}, {
|
|
857
|
+
type: "list_available_providers_request";
|
|
858
|
+
requestId: string;
|
|
859
|
+
}>;
|
|
828
860
|
export declare const SpeechModelsListRequestSchema: z.ZodObject<{
|
|
829
861
|
type: z.ZodLiteral<"speech_models_list_request">;
|
|
830
862
|
requestId: z.ZodString;
|
|
@@ -1288,6 +1320,41 @@ export declare const SetAgentThinkingResponseMessageSchema: z.ZodObject<{
|
|
|
1288
1320
|
accepted: boolean;
|
|
1289
1321
|
};
|
|
1290
1322
|
}>;
|
|
1323
|
+
export declare const UpdateAgentResponseMessageSchema: z.ZodObject<{
|
|
1324
|
+
type: z.ZodLiteral<"update_agent_response">;
|
|
1325
|
+
payload: z.ZodObject<{
|
|
1326
|
+
requestId: z.ZodString;
|
|
1327
|
+
agentId: z.ZodString;
|
|
1328
|
+
accepted: z.ZodBoolean;
|
|
1329
|
+
error: z.ZodNullable<z.ZodString>;
|
|
1330
|
+
}, "strip", z.ZodTypeAny, {
|
|
1331
|
+
error: string | null;
|
|
1332
|
+
requestId: string;
|
|
1333
|
+
agentId: string;
|
|
1334
|
+
accepted: boolean;
|
|
1335
|
+
}, {
|
|
1336
|
+
error: string | null;
|
|
1337
|
+
requestId: string;
|
|
1338
|
+
agentId: string;
|
|
1339
|
+
accepted: boolean;
|
|
1340
|
+
}>;
|
|
1341
|
+
}, "strip", z.ZodTypeAny, {
|
|
1342
|
+
type: "update_agent_response";
|
|
1343
|
+
payload: {
|
|
1344
|
+
error: string | null;
|
|
1345
|
+
requestId: string;
|
|
1346
|
+
agentId: string;
|
|
1347
|
+
accepted: boolean;
|
|
1348
|
+
};
|
|
1349
|
+
}, {
|
|
1350
|
+
type: "update_agent_response";
|
|
1351
|
+
payload: {
|
|
1352
|
+
error: string | null;
|
|
1353
|
+
requestId: string;
|
|
1354
|
+
agentId: string;
|
|
1355
|
+
accepted: boolean;
|
|
1356
|
+
};
|
|
1357
|
+
}>;
|
|
1291
1358
|
export declare const SetVoiceModeResponseMessageSchema: z.ZodObject<{
|
|
1292
1359
|
type: z.ZodLiteral<"set_voice_mode_response">;
|
|
1293
1360
|
payload: z.ZodObject<{
|
|
@@ -1344,19 +1411,6 @@ export declare const AgentPermissionResponseMessageSchema: z.ZodObject<{
|
|
|
1344
1411
|
agentId: string;
|
|
1345
1412
|
response: AgentPermissionResponse;
|
|
1346
1413
|
}>;
|
|
1347
|
-
export declare const GitDiffRequestSchema: z.ZodObject<{
|
|
1348
|
-
type: z.ZodLiteral<"git_diff_request">;
|
|
1349
|
-
agentId: z.ZodString;
|
|
1350
|
-
requestId: z.ZodString;
|
|
1351
|
-
}, "strip", z.ZodTypeAny, {
|
|
1352
|
-
type: "git_diff_request";
|
|
1353
|
-
requestId: string;
|
|
1354
|
-
agentId: string;
|
|
1355
|
-
}, {
|
|
1356
|
-
type: "git_diff_request";
|
|
1357
|
-
requestId: string;
|
|
1358
|
-
agentId: string;
|
|
1359
|
-
}>;
|
|
1360
1414
|
export declare const CheckoutStatusRequestSchema: z.ZodObject<{
|
|
1361
1415
|
type: z.ZodLiteral<"checkout_status_request">;
|
|
1362
1416
|
cwd: z.ZodString;
|
|
@@ -1573,19 +1627,6 @@ export declare const PaseoWorktreeArchiveRequestSchema: z.ZodObject<{
|
|
|
1573
1627
|
repoRoot?: string | undefined;
|
|
1574
1628
|
worktreePath?: string | undefined;
|
|
1575
1629
|
}>;
|
|
1576
|
-
export declare const HighlightedDiffRequestSchema: z.ZodObject<{
|
|
1577
|
-
type: z.ZodLiteral<"highlighted_diff_request">;
|
|
1578
|
-
agentId: z.ZodString;
|
|
1579
|
-
requestId: z.ZodString;
|
|
1580
|
-
}, "strip", z.ZodTypeAny, {
|
|
1581
|
-
type: "highlighted_diff_request";
|
|
1582
|
-
requestId: string;
|
|
1583
|
-
agentId: string;
|
|
1584
|
-
}, {
|
|
1585
|
-
type: "highlighted_diff_request";
|
|
1586
|
-
requestId: string;
|
|
1587
|
-
agentId: string;
|
|
1588
|
-
}>;
|
|
1589
1630
|
export declare const FileExplorerRequestSchema: z.ZodObject<{
|
|
1590
1631
|
type: z.ZodLiteral<"file_explorer_request">;
|
|
1591
1632
|
agentId: z.ZodString;
|
|
@@ -2011,6 +2052,24 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
2011
2052
|
type: "archive_agent_request";
|
|
2012
2053
|
requestId: string;
|
|
2013
2054
|
agentId: string;
|
|
2055
|
+
}>, z.ZodObject<{
|
|
2056
|
+
type: z.ZodLiteral<"update_agent_request">;
|
|
2057
|
+
agentId: z.ZodString;
|
|
2058
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2059
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2060
|
+
requestId: z.ZodString;
|
|
2061
|
+
}, "strip", z.ZodTypeAny, {
|
|
2062
|
+
type: "update_agent_request";
|
|
2063
|
+
requestId: string;
|
|
2064
|
+
agentId: string;
|
|
2065
|
+
labels?: Record<string, string> | undefined;
|
|
2066
|
+
name?: string | undefined;
|
|
2067
|
+
}, {
|
|
2068
|
+
type: "update_agent_request";
|
|
2069
|
+
requestId: string;
|
|
2070
|
+
agentId: string;
|
|
2071
|
+
labels?: Record<string, string> | undefined;
|
|
2072
|
+
name?: string | undefined;
|
|
2014
2073
|
}>, z.ZodObject<{
|
|
2015
2074
|
type: z.ZodLiteral<"set_voice_mode">;
|
|
2016
2075
|
enabled: z.ZodBoolean;
|
|
@@ -2257,6 +2316,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
2257
2316
|
}>;
|
|
2258
2317
|
worktreeName: z.ZodOptional<z.ZodString>;
|
|
2259
2318
|
initialPrompt: z.ZodOptional<z.ZodString>;
|
|
2319
|
+
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2260
2320
|
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2261
2321
|
data: z.ZodString;
|
|
2262
2322
|
mimeType: z.ZodString;
|
|
@@ -2329,6 +2389,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
2329
2389
|
}[] | undefined;
|
|
2330
2390
|
worktreeName?: string | undefined;
|
|
2331
2391
|
initialPrompt?: string | undefined;
|
|
2392
|
+
outputSchema?: Record<string, unknown> | undefined;
|
|
2332
2393
|
git?: {
|
|
2333
2394
|
baseBranch?: string | undefined;
|
|
2334
2395
|
createNewBranch?: boolean | undefined;
|
|
@@ -2377,6 +2438,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
2377
2438
|
}[] | undefined;
|
|
2378
2439
|
worktreeName?: string | undefined;
|
|
2379
2440
|
initialPrompt?: string | undefined;
|
|
2441
|
+
outputSchema?: Record<string, unknown> | undefined;
|
|
2380
2442
|
git?: {
|
|
2381
2443
|
baseBranch?: string | undefined;
|
|
2382
2444
|
createNewBranch?: boolean | undefined;
|
|
@@ -2399,6 +2461,15 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
2399
2461
|
type: "list_provider_models_request";
|
|
2400
2462
|
requestId: string;
|
|
2401
2463
|
cwd?: string | undefined;
|
|
2464
|
+
}>, z.ZodObject<{
|
|
2465
|
+
type: z.ZodLiteral<"list_available_providers_request">;
|
|
2466
|
+
requestId: z.ZodString;
|
|
2467
|
+
}, "strip", z.ZodTypeAny, {
|
|
2468
|
+
type: "list_available_providers_request";
|
|
2469
|
+
requestId: string;
|
|
2470
|
+
}, {
|
|
2471
|
+
type: "list_available_providers_request";
|
|
2472
|
+
requestId: string;
|
|
2402
2473
|
}>, z.ZodObject<{
|
|
2403
2474
|
type: z.ZodLiteral<"speech_models_list_request">;
|
|
2404
2475
|
requestId: z.ZodString;
|
|
@@ -2722,18 +2793,6 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
2722
2793
|
requestId: string;
|
|
2723
2794
|
agentId: string;
|
|
2724
2795
|
response: AgentPermissionResponse;
|
|
2725
|
-
}>, z.ZodObject<{
|
|
2726
|
-
type: z.ZodLiteral<"git_diff_request">;
|
|
2727
|
-
agentId: z.ZodString;
|
|
2728
|
-
requestId: z.ZodString;
|
|
2729
|
-
}, "strip", z.ZodTypeAny, {
|
|
2730
|
-
type: "git_diff_request";
|
|
2731
|
-
requestId: string;
|
|
2732
|
-
agentId: string;
|
|
2733
|
-
}, {
|
|
2734
|
-
type: "git_diff_request";
|
|
2735
|
-
requestId: string;
|
|
2736
|
-
agentId: string;
|
|
2737
2796
|
}>, z.ZodObject<{
|
|
2738
2797
|
type: z.ZodLiteral<"checkout_status_request">;
|
|
2739
2798
|
cwd: z.ZodString;
|
|
@@ -2938,18 +2997,6 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
2938
2997
|
branchName?: string | undefined;
|
|
2939
2998
|
repoRoot?: string | undefined;
|
|
2940
2999
|
worktreePath?: string | undefined;
|
|
2941
|
-
}>, z.ZodObject<{
|
|
2942
|
-
type: z.ZodLiteral<"highlighted_diff_request">;
|
|
2943
|
-
agentId: z.ZodString;
|
|
2944
|
-
requestId: z.ZodString;
|
|
2945
|
-
}, "strip", z.ZodTypeAny, {
|
|
2946
|
-
type: "highlighted_diff_request";
|
|
2947
|
-
requestId: string;
|
|
2948
|
-
agentId: string;
|
|
2949
|
-
}, {
|
|
2950
|
-
type: "highlighted_diff_request";
|
|
2951
|
-
requestId: string;
|
|
2952
|
-
agentId: string;
|
|
2953
3000
|
}>, z.ZodObject<{
|
|
2954
3001
|
type: z.ZodLiteral<"file_explorer_request">;
|
|
2955
3002
|
agentId: z.ZodString;
|
|
@@ -7128,6 +7175,7 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
|
|
|
7128
7175
|
lastError?: string | undefined;
|
|
7129
7176
|
}>>;
|
|
7130
7177
|
error: z.ZodNullable<z.ZodString>;
|
|
7178
|
+
lastMessage: z.ZodNullable<z.ZodString>;
|
|
7131
7179
|
}, "strip", z.ZodTypeAny, {
|
|
7132
7180
|
error: string | null;
|
|
7133
7181
|
status: "idle" | "error" | "permission" | "timeout";
|
|
@@ -7157,6 +7205,7 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
|
|
|
7157
7205
|
lastUsage?: AgentUsage | undefined;
|
|
7158
7206
|
lastError?: string | undefined;
|
|
7159
7207
|
} | null;
|
|
7208
|
+
lastMessage: string | null;
|
|
7160
7209
|
}, {
|
|
7161
7210
|
error: string | null;
|
|
7162
7211
|
status: "idle" | "error" | "permission" | "timeout";
|
|
@@ -7186,6 +7235,7 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
|
|
|
7186
7235
|
lastUsage?: AgentUsage | undefined;
|
|
7187
7236
|
lastError?: string | undefined;
|
|
7188
7237
|
} | null;
|
|
7238
|
+
lastMessage: string | null;
|
|
7189
7239
|
}>;
|
|
7190
7240
|
}, "strip", z.ZodTypeAny, {
|
|
7191
7241
|
type: "wait_for_finish_response";
|
|
@@ -7218,6 +7268,7 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
|
|
|
7218
7268
|
lastUsage?: AgentUsage | undefined;
|
|
7219
7269
|
lastError?: string | undefined;
|
|
7220
7270
|
} | null;
|
|
7271
|
+
lastMessage: string | null;
|
|
7221
7272
|
};
|
|
7222
7273
|
}, {
|
|
7223
7274
|
type: "wait_for_finish_response";
|
|
@@ -7250,6 +7301,7 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
|
|
|
7250
7301
|
lastUsage?: AgentUsage | undefined;
|
|
7251
7302
|
lastError?: string | undefined;
|
|
7252
7303
|
} | null;
|
|
7304
|
+
lastMessage: string | null;
|
|
7253
7305
|
};
|
|
7254
7306
|
}>;
|
|
7255
7307
|
export declare const AgentPermissionRequestMessageSchema: z.ZodObject<{
|
|
@@ -7362,41 +7414,6 @@ export declare const AgentArchivedMessageSchema: z.ZodObject<{
|
|
|
7362
7414
|
agentId: string;
|
|
7363
7415
|
};
|
|
7364
7416
|
}>;
|
|
7365
|
-
export declare const GitDiffResponseSchema: z.ZodObject<{
|
|
7366
|
-
type: z.ZodLiteral<"git_diff_response">;
|
|
7367
|
-
payload: z.ZodObject<{
|
|
7368
|
-
agentId: z.ZodString;
|
|
7369
|
-
diff: z.ZodString;
|
|
7370
|
-
error: z.ZodNullable<z.ZodString>;
|
|
7371
|
-
requestId: z.ZodString;
|
|
7372
|
-
}, "strip", z.ZodTypeAny, {
|
|
7373
|
-
error: string | null;
|
|
7374
|
-
requestId: string;
|
|
7375
|
-
agentId: string;
|
|
7376
|
-
diff: string;
|
|
7377
|
-
}, {
|
|
7378
|
-
error: string | null;
|
|
7379
|
-
requestId: string;
|
|
7380
|
-
agentId: string;
|
|
7381
|
-
diff: string;
|
|
7382
|
-
}>;
|
|
7383
|
-
}, "strip", z.ZodTypeAny, {
|
|
7384
|
-
type: "git_diff_response";
|
|
7385
|
-
payload: {
|
|
7386
|
-
error: string | null;
|
|
7387
|
-
requestId: string;
|
|
7388
|
-
agentId: string;
|
|
7389
|
-
diff: string;
|
|
7390
|
-
};
|
|
7391
|
-
}, {
|
|
7392
|
-
type: "git_diff_response";
|
|
7393
|
-
payload: {
|
|
7394
|
-
error: string | null;
|
|
7395
|
-
requestId: string;
|
|
7396
|
-
agentId: string;
|
|
7397
|
-
diff: string;
|
|
7398
|
-
};
|
|
7399
|
-
}>;
|
|
7400
7417
|
export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
7401
7418
|
type: z.ZodLiteral<"checkout_status_response">;
|
|
7402
7419
|
payload: z.ZodUnion<[z.ZodObject<{
|
|
@@ -8542,6 +8559,7 @@ export declare const CheckoutPrStatusResponseSchema: z.ZodObject<{
|
|
|
8542
8559
|
baseRefName: string;
|
|
8543
8560
|
headRefName: string;
|
|
8544
8561
|
}>>;
|
|
8562
|
+
githubFeaturesEnabled: z.ZodBoolean;
|
|
8545
8563
|
error: z.ZodNullable<z.ZodObject<{
|
|
8546
8564
|
code: z.ZodEnum<["NOT_GIT_REPO", "NOT_ALLOWED", "MERGE_CONFLICT", "UNKNOWN"]>;
|
|
8547
8565
|
message: z.ZodString;
|
|
@@ -8567,6 +8585,7 @@ export declare const CheckoutPrStatusResponseSchema: z.ZodObject<{
|
|
|
8567
8585
|
headRefName: string;
|
|
8568
8586
|
} | null;
|
|
8569
8587
|
requestId: string;
|
|
8588
|
+
githubFeaturesEnabled: boolean;
|
|
8570
8589
|
}, {
|
|
8571
8590
|
error: {
|
|
8572
8591
|
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
@@ -8581,6 +8600,7 @@ export declare const CheckoutPrStatusResponseSchema: z.ZodObject<{
|
|
|
8581
8600
|
headRefName: string;
|
|
8582
8601
|
} | null;
|
|
8583
8602
|
requestId: string;
|
|
8603
|
+
githubFeaturesEnabled: boolean;
|
|
8584
8604
|
}>;
|
|
8585
8605
|
}, "strip", z.ZodTypeAny, {
|
|
8586
8606
|
type: "checkout_pr_status_response";
|
|
@@ -8598,6 +8618,7 @@ export declare const CheckoutPrStatusResponseSchema: z.ZodObject<{
|
|
|
8598
8618
|
headRefName: string;
|
|
8599
8619
|
} | null;
|
|
8600
8620
|
requestId: string;
|
|
8621
|
+
githubFeaturesEnabled: boolean;
|
|
8601
8622
|
};
|
|
8602
8623
|
}, {
|
|
8603
8624
|
type: "checkout_pr_status_response";
|
|
@@ -8615,6 +8636,7 @@ export declare const CheckoutPrStatusResponseSchema: z.ZodObject<{
|
|
|
8615
8636
|
headRefName: string;
|
|
8616
8637
|
} | null;
|
|
8617
8638
|
requestId: string;
|
|
8639
|
+
githubFeaturesEnabled: boolean;
|
|
8618
8640
|
};
|
|
8619
8641
|
}>;
|
|
8620
8642
|
export declare const ValidateBranchResponseSchema: z.ZodObject<{
|
|
@@ -8792,234 +8814,6 @@ export declare const PaseoWorktreeArchiveResponseSchema: z.ZodObject<{
|
|
|
8792
8814
|
removedAgents?: string[] | undefined;
|
|
8793
8815
|
};
|
|
8794
8816
|
}>;
|
|
8795
|
-
export declare const HighlightedDiffResponseSchema: z.ZodObject<{
|
|
8796
|
-
type: z.ZodLiteral<"highlighted_diff_response">;
|
|
8797
|
-
payload: z.ZodObject<{
|
|
8798
|
-
agentId: z.ZodString;
|
|
8799
|
-
files: z.ZodArray<z.ZodObject<{
|
|
8800
|
-
path: z.ZodString;
|
|
8801
|
-
isNew: z.ZodBoolean;
|
|
8802
|
-
isDeleted: z.ZodBoolean;
|
|
8803
|
-
additions: z.ZodNumber;
|
|
8804
|
-
deletions: z.ZodNumber;
|
|
8805
|
-
hunks: z.ZodArray<z.ZodObject<{
|
|
8806
|
-
oldStart: z.ZodNumber;
|
|
8807
|
-
oldCount: z.ZodNumber;
|
|
8808
|
-
newStart: z.ZodNumber;
|
|
8809
|
-
newCount: z.ZodNumber;
|
|
8810
|
-
lines: z.ZodArray<z.ZodObject<{
|
|
8811
|
-
type: z.ZodEnum<["add", "remove", "context", "header"]>;
|
|
8812
|
-
content: z.ZodString;
|
|
8813
|
-
tokens: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8814
|
-
text: z.ZodString;
|
|
8815
|
-
style: z.ZodNullable<z.ZodString>;
|
|
8816
|
-
}, "strip", z.ZodTypeAny, {
|
|
8817
|
-
text: string;
|
|
8818
|
-
style: string | null;
|
|
8819
|
-
}, {
|
|
8820
|
-
text: string;
|
|
8821
|
-
style: string | null;
|
|
8822
|
-
}>, "many">>;
|
|
8823
|
-
}, "strip", z.ZodTypeAny, {
|
|
8824
|
-
type: "add" | "remove" | "context" | "header";
|
|
8825
|
-
content: string;
|
|
8826
|
-
tokens?: {
|
|
8827
|
-
text: string;
|
|
8828
|
-
style: string | null;
|
|
8829
|
-
}[] | undefined;
|
|
8830
|
-
}, {
|
|
8831
|
-
type: "add" | "remove" | "context" | "header";
|
|
8832
|
-
content: string;
|
|
8833
|
-
tokens?: {
|
|
8834
|
-
text: string;
|
|
8835
|
-
style: string | null;
|
|
8836
|
-
}[] | undefined;
|
|
8837
|
-
}>, "many">;
|
|
8838
|
-
}, "strip", z.ZodTypeAny, {
|
|
8839
|
-
oldStart: number;
|
|
8840
|
-
oldCount: number;
|
|
8841
|
-
newStart: number;
|
|
8842
|
-
newCount: number;
|
|
8843
|
-
lines: {
|
|
8844
|
-
type: "add" | "remove" | "context" | "header";
|
|
8845
|
-
content: string;
|
|
8846
|
-
tokens?: {
|
|
8847
|
-
text: string;
|
|
8848
|
-
style: string | null;
|
|
8849
|
-
}[] | undefined;
|
|
8850
|
-
}[];
|
|
8851
|
-
}, {
|
|
8852
|
-
oldStart: number;
|
|
8853
|
-
oldCount: number;
|
|
8854
|
-
newStart: number;
|
|
8855
|
-
newCount: number;
|
|
8856
|
-
lines: {
|
|
8857
|
-
type: "add" | "remove" | "context" | "header";
|
|
8858
|
-
content: string;
|
|
8859
|
-
tokens?: {
|
|
8860
|
-
text: string;
|
|
8861
|
-
style: string | null;
|
|
8862
|
-
}[] | undefined;
|
|
8863
|
-
}[];
|
|
8864
|
-
}>, "many">;
|
|
8865
|
-
status: z.ZodOptional<z.ZodEnum<["ok", "too_large", "binary"]>>;
|
|
8866
|
-
}, "strip", z.ZodTypeAny, {
|
|
8867
|
-
path: string;
|
|
8868
|
-
isNew: boolean;
|
|
8869
|
-
isDeleted: boolean;
|
|
8870
|
-
additions: number;
|
|
8871
|
-
deletions: number;
|
|
8872
|
-
hunks: {
|
|
8873
|
-
oldStart: number;
|
|
8874
|
-
oldCount: number;
|
|
8875
|
-
newStart: number;
|
|
8876
|
-
newCount: number;
|
|
8877
|
-
lines: {
|
|
8878
|
-
type: "add" | "remove" | "context" | "header";
|
|
8879
|
-
content: string;
|
|
8880
|
-
tokens?: {
|
|
8881
|
-
text: string;
|
|
8882
|
-
style: string | null;
|
|
8883
|
-
}[] | undefined;
|
|
8884
|
-
}[];
|
|
8885
|
-
}[];
|
|
8886
|
-
status?: "ok" | "too_large" | "binary" | undefined;
|
|
8887
|
-
}, {
|
|
8888
|
-
path: string;
|
|
8889
|
-
isNew: boolean;
|
|
8890
|
-
isDeleted: boolean;
|
|
8891
|
-
additions: number;
|
|
8892
|
-
deletions: number;
|
|
8893
|
-
hunks: {
|
|
8894
|
-
oldStart: number;
|
|
8895
|
-
oldCount: number;
|
|
8896
|
-
newStart: number;
|
|
8897
|
-
newCount: number;
|
|
8898
|
-
lines: {
|
|
8899
|
-
type: "add" | "remove" | "context" | "header";
|
|
8900
|
-
content: string;
|
|
8901
|
-
tokens?: {
|
|
8902
|
-
text: string;
|
|
8903
|
-
style: string | null;
|
|
8904
|
-
}[] | undefined;
|
|
8905
|
-
}[];
|
|
8906
|
-
}[];
|
|
8907
|
-
status?: "ok" | "too_large" | "binary" | undefined;
|
|
8908
|
-
}>, "many">;
|
|
8909
|
-
error: z.ZodNullable<z.ZodString>;
|
|
8910
|
-
requestId: z.ZodString;
|
|
8911
|
-
}, "strip", z.ZodTypeAny, {
|
|
8912
|
-
error: string | null;
|
|
8913
|
-
requestId: string;
|
|
8914
|
-
agentId: string;
|
|
8915
|
-
files: {
|
|
8916
|
-
path: string;
|
|
8917
|
-
isNew: boolean;
|
|
8918
|
-
isDeleted: boolean;
|
|
8919
|
-
additions: number;
|
|
8920
|
-
deletions: number;
|
|
8921
|
-
hunks: {
|
|
8922
|
-
oldStart: number;
|
|
8923
|
-
oldCount: number;
|
|
8924
|
-
newStart: number;
|
|
8925
|
-
newCount: number;
|
|
8926
|
-
lines: {
|
|
8927
|
-
type: "add" | "remove" | "context" | "header";
|
|
8928
|
-
content: string;
|
|
8929
|
-
tokens?: {
|
|
8930
|
-
text: string;
|
|
8931
|
-
style: string | null;
|
|
8932
|
-
}[] | undefined;
|
|
8933
|
-
}[];
|
|
8934
|
-
}[];
|
|
8935
|
-
status?: "ok" | "too_large" | "binary" | undefined;
|
|
8936
|
-
}[];
|
|
8937
|
-
}, {
|
|
8938
|
-
error: string | null;
|
|
8939
|
-
requestId: string;
|
|
8940
|
-
agentId: string;
|
|
8941
|
-
files: {
|
|
8942
|
-
path: string;
|
|
8943
|
-
isNew: boolean;
|
|
8944
|
-
isDeleted: boolean;
|
|
8945
|
-
additions: number;
|
|
8946
|
-
deletions: number;
|
|
8947
|
-
hunks: {
|
|
8948
|
-
oldStart: number;
|
|
8949
|
-
oldCount: number;
|
|
8950
|
-
newStart: number;
|
|
8951
|
-
newCount: number;
|
|
8952
|
-
lines: {
|
|
8953
|
-
type: "add" | "remove" | "context" | "header";
|
|
8954
|
-
content: string;
|
|
8955
|
-
tokens?: {
|
|
8956
|
-
text: string;
|
|
8957
|
-
style: string | null;
|
|
8958
|
-
}[] | undefined;
|
|
8959
|
-
}[];
|
|
8960
|
-
}[];
|
|
8961
|
-
status?: "ok" | "too_large" | "binary" | undefined;
|
|
8962
|
-
}[];
|
|
8963
|
-
}>;
|
|
8964
|
-
}, "strip", z.ZodTypeAny, {
|
|
8965
|
-
type: "highlighted_diff_response";
|
|
8966
|
-
payload: {
|
|
8967
|
-
error: string | null;
|
|
8968
|
-
requestId: string;
|
|
8969
|
-
agentId: string;
|
|
8970
|
-
files: {
|
|
8971
|
-
path: string;
|
|
8972
|
-
isNew: boolean;
|
|
8973
|
-
isDeleted: boolean;
|
|
8974
|
-
additions: number;
|
|
8975
|
-
deletions: number;
|
|
8976
|
-
hunks: {
|
|
8977
|
-
oldStart: number;
|
|
8978
|
-
oldCount: number;
|
|
8979
|
-
newStart: number;
|
|
8980
|
-
newCount: number;
|
|
8981
|
-
lines: {
|
|
8982
|
-
type: "add" | "remove" | "context" | "header";
|
|
8983
|
-
content: string;
|
|
8984
|
-
tokens?: {
|
|
8985
|
-
text: string;
|
|
8986
|
-
style: string | null;
|
|
8987
|
-
}[] | undefined;
|
|
8988
|
-
}[];
|
|
8989
|
-
}[];
|
|
8990
|
-
status?: "ok" | "too_large" | "binary" | undefined;
|
|
8991
|
-
}[];
|
|
8992
|
-
};
|
|
8993
|
-
}, {
|
|
8994
|
-
type: "highlighted_diff_response";
|
|
8995
|
-
payload: {
|
|
8996
|
-
error: string | null;
|
|
8997
|
-
requestId: string;
|
|
8998
|
-
agentId: string;
|
|
8999
|
-
files: {
|
|
9000
|
-
path: string;
|
|
9001
|
-
isNew: boolean;
|
|
9002
|
-
isDeleted: boolean;
|
|
9003
|
-
additions: number;
|
|
9004
|
-
deletions: number;
|
|
9005
|
-
hunks: {
|
|
9006
|
-
oldStart: number;
|
|
9007
|
-
oldCount: number;
|
|
9008
|
-
newStart: number;
|
|
9009
|
-
newCount: number;
|
|
9010
|
-
lines: {
|
|
9011
|
-
type: "add" | "remove" | "context" | "header";
|
|
9012
|
-
content: string;
|
|
9013
|
-
tokens?: {
|
|
9014
|
-
text: string;
|
|
9015
|
-
style: string | null;
|
|
9016
|
-
}[] | undefined;
|
|
9017
|
-
}[];
|
|
9018
|
-
}[];
|
|
9019
|
-
status?: "ok" | "too_large" | "binary" | undefined;
|
|
9020
|
-
}[];
|
|
9021
|
-
};
|
|
9022
|
-
}>;
|
|
9023
8817
|
export declare const FileExplorerResponseSchema: z.ZodObject<{
|
|
9024
8818
|
type: z.ZodLiteral<"file_explorer_response">;
|
|
9025
8819
|
payload: z.ZodObject<{
|
|
@@ -9362,6 +9156,69 @@ export declare const ListProviderModelsResponseMessageSchema: z.ZodObject<{
|
|
|
9362
9156
|
models?: AgentModelDefinition[] | undefined;
|
|
9363
9157
|
};
|
|
9364
9158
|
}>;
|
|
9159
|
+
export declare const ListAvailableProvidersResponseSchema: z.ZodObject<{
|
|
9160
|
+
type: z.ZodLiteral<"list_available_providers_response">;
|
|
9161
|
+
payload: z.ZodObject<{
|
|
9162
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
9163
|
+
provider: z.ZodEnum<[string, ...string[]]>;
|
|
9164
|
+
available: z.ZodBoolean;
|
|
9165
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9166
|
+
}, "strip", z.ZodTypeAny, {
|
|
9167
|
+
provider: string;
|
|
9168
|
+
available: boolean;
|
|
9169
|
+
error?: string | null | undefined;
|
|
9170
|
+
}, {
|
|
9171
|
+
provider: string;
|
|
9172
|
+
available: boolean;
|
|
9173
|
+
error?: string | null | undefined;
|
|
9174
|
+
}>, "many">;
|
|
9175
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9176
|
+
fetchedAt: z.ZodString;
|
|
9177
|
+
requestId: z.ZodString;
|
|
9178
|
+
}, "strip", z.ZodTypeAny, {
|
|
9179
|
+
requestId: string;
|
|
9180
|
+
fetchedAt: string;
|
|
9181
|
+
providers: {
|
|
9182
|
+
provider: string;
|
|
9183
|
+
available: boolean;
|
|
9184
|
+
error?: string | null | undefined;
|
|
9185
|
+
}[];
|
|
9186
|
+
error?: string | null | undefined;
|
|
9187
|
+
}, {
|
|
9188
|
+
requestId: string;
|
|
9189
|
+
fetchedAt: string;
|
|
9190
|
+
providers: {
|
|
9191
|
+
provider: string;
|
|
9192
|
+
available: boolean;
|
|
9193
|
+
error?: string | null | undefined;
|
|
9194
|
+
}[];
|
|
9195
|
+
error?: string | null | undefined;
|
|
9196
|
+
}>;
|
|
9197
|
+
}, "strip", z.ZodTypeAny, {
|
|
9198
|
+
type: "list_available_providers_response";
|
|
9199
|
+
payload: {
|
|
9200
|
+
requestId: string;
|
|
9201
|
+
fetchedAt: string;
|
|
9202
|
+
providers: {
|
|
9203
|
+
provider: string;
|
|
9204
|
+
available: boolean;
|
|
9205
|
+
error?: string | null | undefined;
|
|
9206
|
+
}[];
|
|
9207
|
+
error?: string | null | undefined;
|
|
9208
|
+
};
|
|
9209
|
+
}, {
|
|
9210
|
+
type: "list_available_providers_response";
|
|
9211
|
+
payload: {
|
|
9212
|
+
requestId: string;
|
|
9213
|
+
fetchedAt: string;
|
|
9214
|
+
providers: {
|
|
9215
|
+
provider: string;
|
|
9216
|
+
available: boolean;
|
|
9217
|
+
error?: string | null | undefined;
|
|
9218
|
+
}[];
|
|
9219
|
+
error?: string | null | undefined;
|
|
9220
|
+
};
|
|
9221
|
+
}>;
|
|
9365
9222
|
export declare const SpeechModelsListResponseSchema: z.ZodObject<{
|
|
9366
9223
|
type: z.ZodLiteral<"speech_models_list_response">;
|
|
9367
9224
|
payload: z.ZodObject<{
|
|
@@ -13156,6 +13013,40 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13156
13013
|
agentId: string;
|
|
13157
13014
|
accepted: boolean;
|
|
13158
13015
|
};
|
|
13016
|
+
}>, z.ZodObject<{
|
|
13017
|
+
type: z.ZodLiteral<"update_agent_response">;
|
|
13018
|
+
payload: z.ZodObject<{
|
|
13019
|
+
requestId: z.ZodString;
|
|
13020
|
+
agentId: z.ZodString;
|
|
13021
|
+
accepted: z.ZodBoolean;
|
|
13022
|
+
error: z.ZodNullable<z.ZodString>;
|
|
13023
|
+
}, "strip", z.ZodTypeAny, {
|
|
13024
|
+
error: string | null;
|
|
13025
|
+
requestId: string;
|
|
13026
|
+
agentId: string;
|
|
13027
|
+
accepted: boolean;
|
|
13028
|
+
}, {
|
|
13029
|
+
error: string | null;
|
|
13030
|
+
requestId: string;
|
|
13031
|
+
agentId: string;
|
|
13032
|
+
accepted: boolean;
|
|
13033
|
+
}>;
|
|
13034
|
+
}, "strip", z.ZodTypeAny, {
|
|
13035
|
+
type: "update_agent_response";
|
|
13036
|
+
payload: {
|
|
13037
|
+
error: string | null;
|
|
13038
|
+
requestId: string;
|
|
13039
|
+
agentId: string;
|
|
13040
|
+
accepted: boolean;
|
|
13041
|
+
};
|
|
13042
|
+
}, {
|
|
13043
|
+
type: "update_agent_response";
|
|
13044
|
+
payload: {
|
|
13045
|
+
error: string | null;
|
|
13046
|
+
requestId: string;
|
|
13047
|
+
agentId: string;
|
|
13048
|
+
accepted: boolean;
|
|
13049
|
+
};
|
|
13159
13050
|
}>, z.ZodObject<{
|
|
13160
13051
|
type: z.ZodLiteral<"wait_for_finish_response">;
|
|
13161
13052
|
payload: z.ZodObject<{
|
|
@@ -13235,6 +13126,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13235
13126
|
lastError?: string | undefined;
|
|
13236
13127
|
}>>;
|
|
13237
13128
|
error: z.ZodNullable<z.ZodString>;
|
|
13129
|
+
lastMessage: z.ZodNullable<z.ZodString>;
|
|
13238
13130
|
}, "strip", z.ZodTypeAny, {
|
|
13239
13131
|
error: string | null;
|
|
13240
13132
|
status: "idle" | "error" | "permission" | "timeout";
|
|
@@ -13264,6 +13156,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13264
13156
|
lastUsage?: AgentUsage | undefined;
|
|
13265
13157
|
lastError?: string | undefined;
|
|
13266
13158
|
} | null;
|
|
13159
|
+
lastMessage: string | null;
|
|
13267
13160
|
}, {
|
|
13268
13161
|
error: string | null;
|
|
13269
13162
|
status: "idle" | "error" | "permission" | "timeout";
|
|
@@ -13293,6 +13186,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13293
13186
|
lastUsage?: AgentUsage | undefined;
|
|
13294
13187
|
lastError?: string | undefined;
|
|
13295
13188
|
} | null;
|
|
13189
|
+
lastMessage: string | null;
|
|
13296
13190
|
}>;
|
|
13297
13191
|
}, "strip", z.ZodTypeAny, {
|
|
13298
13192
|
type: "wait_for_finish_response";
|
|
@@ -13325,6 +13219,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13325
13219
|
lastUsage?: AgentUsage | undefined;
|
|
13326
13220
|
lastError?: string | undefined;
|
|
13327
13221
|
} | null;
|
|
13222
|
+
lastMessage: string | null;
|
|
13328
13223
|
};
|
|
13329
13224
|
}, {
|
|
13330
13225
|
type: "wait_for_finish_response";
|
|
@@ -13357,6 +13252,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13357
13252
|
lastUsage?: AgentUsage | undefined;
|
|
13358
13253
|
lastError?: string | undefined;
|
|
13359
13254
|
} | null;
|
|
13255
|
+
lastMessage: string | null;
|
|
13360
13256
|
};
|
|
13361
13257
|
}>, z.ZodObject<{
|
|
13362
13258
|
type: z.ZodLiteral<"agent_permission_request">;
|
|
@@ -13464,40 +13360,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13464
13360
|
requestId: string;
|
|
13465
13361
|
agentId: string;
|
|
13466
13362
|
};
|
|
13467
|
-
}>, z.ZodObject<{
|
|
13468
|
-
type: z.ZodLiteral<"git_diff_response">;
|
|
13469
|
-
payload: z.ZodObject<{
|
|
13470
|
-
agentId: z.ZodString;
|
|
13471
|
-
diff: z.ZodString;
|
|
13472
|
-
error: z.ZodNullable<z.ZodString>;
|
|
13473
|
-
requestId: z.ZodString;
|
|
13474
|
-
}, "strip", z.ZodTypeAny, {
|
|
13475
|
-
error: string | null;
|
|
13476
|
-
requestId: string;
|
|
13477
|
-
agentId: string;
|
|
13478
|
-
diff: string;
|
|
13479
|
-
}, {
|
|
13480
|
-
error: string | null;
|
|
13481
|
-
requestId: string;
|
|
13482
|
-
agentId: string;
|
|
13483
|
-
diff: string;
|
|
13484
|
-
}>;
|
|
13485
|
-
}, "strip", z.ZodTypeAny, {
|
|
13486
|
-
type: "git_diff_response";
|
|
13487
|
-
payload: {
|
|
13488
|
-
error: string | null;
|
|
13489
|
-
requestId: string;
|
|
13490
|
-
agentId: string;
|
|
13491
|
-
diff: string;
|
|
13492
|
-
};
|
|
13493
|
-
}, {
|
|
13494
|
-
type: "git_diff_response";
|
|
13495
|
-
payload: {
|
|
13496
|
-
error: string | null;
|
|
13497
|
-
requestId: string;
|
|
13498
|
-
agentId: string;
|
|
13499
|
-
diff: string;
|
|
13500
|
-
};
|
|
13501
13363
|
}>, z.ZodObject<{
|
|
13502
13364
|
type: z.ZodLiteral<"checkout_status_response">;
|
|
13503
13365
|
payload: z.ZodUnion<[z.ZodObject<{
|
|
@@ -14635,6 +14497,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
14635
14497
|
baseRefName: string;
|
|
14636
14498
|
headRefName: string;
|
|
14637
14499
|
}>>;
|
|
14500
|
+
githubFeaturesEnabled: z.ZodBoolean;
|
|
14638
14501
|
error: z.ZodNullable<z.ZodObject<{
|
|
14639
14502
|
code: z.ZodEnum<["NOT_GIT_REPO", "NOT_ALLOWED", "MERGE_CONFLICT", "UNKNOWN"]>;
|
|
14640
14503
|
message: z.ZodString;
|
|
@@ -14660,6 +14523,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
14660
14523
|
headRefName: string;
|
|
14661
14524
|
} | null;
|
|
14662
14525
|
requestId: string;
|
|
14526
|
+
githubFeaturesEnabled: boolean;
|
|
14663
14527
|
}, {
|
|
14664
14528
|
error: {
|
|
14665
14529
|
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
@@ -14674,6 +14538,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
14674
14538
|
headRefName: string;
|
|
14675
14539
|
} | null;
|
|
14676
14540
|
requestId: string;
|
|
14541
|
+
githubFeaturesEnabled: boolean;
|
|
14677
14542
|
}>;
|
|
14678
14543
|
}, "strip", z.ZodTypeAny, {
|
|
14679
14544
|
type: "checkout_pr_status_response";
|
|
@@ -14691,6 +14556,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
14691
14556
|
headRefName: string;
|
|
14692
14557
|
} | null;
|
|
14693
14558
|
requestId: string;
|
|
14559
|
+
githubFeaturesEnabled: boolean;
|
|
14694
14560
|
};
|
|
14695
14561
|
}, {
|
|
14696
14562
|
type: "checkout_pr_status_response";
|
|
@@ -14708,6 +14574,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
14708
14574
|
headRefName: string;
|
|
14709
14575
|
} | null;
|
|
14710
14576
|
requestId: string;
|
|
14577
|
+
githubFeaturesEnabled: boolean;
|
|
14711
14578
|
};
|
|
14712
14579
|
}>, z.ZodObject<{
|
|
14713
14580
|
type: z.ZodLiteral<"validate_branch_response">;
|
|
@@ -14881,233 +14748,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
14881
14748
|
success: boolean;
|
|
14882
14749
|
removedAgents?: string[] | undefined;
|
|
14883
14750
|
};
|
|
14884
|
-
}>, z.ZodObject<{
|
|
14885
|
-
type: z.ZodLiteral<"highlighted_diff_response">;
|
|
14886
|
-
payload: z.ZodObject<{
|
|
14887
|
-
agentId: z.ZodString;
|
|
14888
|
-
files: z.ZodArray<z.ZodObject<{
|
|
14889
|
-
path: z.ZodString;
|
|
14890
|
-
isNew: z.ZodBoolean;
|
|
14891
|
-
isDeleted: z.ZodBoolean;
|
|
14892
|
-
additions: z.ZodNumber;
|
|
14893
|
-
deletions: z.ZodNumber;
|
|
14894
|
-
hunks: z.ZodArray<z.ZodObject<{
|
|
14895
|
-
oldStart: z.ZodNumber;
|
|
14896
|
-
oldCount: z.ZodNumber;
|
|
14897
|
-
newStart: z.ZodNumber;
|
|
14898
|
-
newCount: z.ZodNumber;
|
|
14899
|
-
lines: z.ZodArray<z.ZodObject<{
|
|
14900
|
-
type: z.ZodEnum<["add", "remove", "context", "header"]>;
|
|
14901
|
-
content: z.ZodString;
|
|
14902
|
-
tokens: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14903
|
-
text: z.ZodString;
|
|
14904
|
-
style: z.ZodNullable<z.ZodString>;
|
|
14905
|
-
}, "strip", z.ZodTypeAny, {
|
|
14906
|
-
text: string;
|
|
14907
|
-
style: string | null;
|
|
14908
|
-
}, {
|
|
14909
|
-
text: string;
|
|
14910
|
-
style: string | null;
|
|
14911
|
-
}>, "many">>;
|
|
14912
|
-
}, "strip", z.ZodTypeAny, {
|
|
14913
|
-
type: "add" | "remove" | "context" | "header";
|
|
14914
|
-
content: string;
|
|
14915
|
-
tokens?: {
|
|
14916
|
-
text: string;
|
|
14917
|
-
style: string | null;
|
|
14918
|
-
}[] | undefined;
|
|
14919
|
-
}, {
|
|
14920
|
-
type: "add" | "remove" | "context" | "header";
|
|
14921
|
-
content: string;
|
|
14922
|
-
tokens?: {
|
|
14923
|
-
text: string;
|
|
14924
|
-
style: string | null;
|
|
14925
|
-
}[] | undefined;
|
|
14926
|
-
}>, "many">;
|
|
14927
|
-
}, "strip", z.ZodTypeAny, {
|
|
14928
|
-
oldStart: number;
|
|
14929
|
-
oldCount: number;
|
|
14930
|
-
newStart: number;
|
|
14931
|
-
newCount: number;
|
|
14932
|
-
lines: {
|
|
14933
|
-
type: "add" | "remove" | "context" | "header";
|
|
14934
|
-
content: string;
|
|
14935
|
-
tokens?: {
|
|
14936
|
-
text: string;
|
|
14937
|
-
style: string | null;
|
|
14938
|
-
}[] | undefined;
|
|
14939
|
-
}[];
|
|
14940
|
-
}, {
|
|
14941
|
-
oldStart: number;
|
|
14942
|
-
oldCount: number;
|
|
14943
|
-
newStart: number;
|
|
14944
|
-
newCount: number;
|
|
14945
|
-
lines: {
|
|
14946
|
-
type: "add" | "remove" | "context" | "header";
|
|
14947
|
-
content: string;
|
|
14948
|
-
tokens?: {
|
|
14949
|
-
text: string;
|
|
14950
|
-
style: string | null;
|
|
14951
|
-
}[] | undefined;
|
|
14952
|
-
}[];
|
|
14953
|
-
}>, "many">;
|
|
14954
|
-
status: z.ZodOptional<z.ZodEnum<["ok", "too_large", "binary"]>>;
|
|
14955
|
-
}, "strip", z.ZodTypeAny, {
|
|
14956
|
-
path: string;
|
|
14957
|
-
isNew: boolean;
|
|
14958
|
-
isDeleted: boolean;
|
|
14959
|
-
additions: number;
|
|
14960
|
-
deletions: number;
|
|
14961
|
-
hunks: {
|
|
14962
|
-
oldStart: number;
|
|
14963
|
-
oldCount: number;
|
|
14964
|
-
newStart: number;
|
|
14965
|
-
newCount: number;
|
|
14966
|
-
lines: {
|
|
14967
|
-
type: "add" | "remove" | "context" | "header";
|
|
14968
|
-
content: string;
|
|
14969
|
-
tokens?: {
|
|
14970
|
-
text: string;
|
|
14971
|
-
style: string | null;
|
|
14972
|
-
}[] | undefined;
|
|
14973
|
-
}[];
|
|
14974
|
-
}[];
|
|
14975
|
-
status?: "ok" | "too_large" | "binary" | undefined;
|
|
14976
|
-
}, {
|
|
14977
|
-
path: string;
|
|
14978
|
-
isNew: boolean;
|
|
14979
|
-
isDeleted: boolean;
|
|
14980
|
-
additions: number;
|
|
14981
|
-
deletions: number;
|
|
14982
|
-
hunks: {
|
|
14983
|
-
oldStart: number;
|
|
14984
|
-
oldCount: number;
|
|
14985
|
-
newStart: number;
|
|
14986
|
-
newCount: number;
|
|
14987
|
-
lines: {
|
|
14988
|
-
type: "add" | "remove" | "context" | "header";
|
|
14989
|
-
content: string;
|
|
14990
|
-
tokens?: {
|
|
14991
|
-
text: string;
|
|
14992
|
-
style: string | null;
|
|
14993
|
-
}[] | undefined;
|
|
14994
|
-
}[];
|
|
14995
|
-
}[];
|
|
14996
|
-
status?: "ok" | "too_large" | "binary" | undefined;
|
|
14997
|
-
}>, "many">;
|
|
14998
|
-
error: z.ZodNullable<z.ZodString>;
|
|
14999
|
-
requestId: z.ZodString;
|
|
15000
|
-
}, "strip", z.ZodTypeAny, {
|
|
15001
|
-
error: string | null;
|
|
15002
|
-
requestId: string;
|
|
15003
|
-
agentId: string;
|
|
15004
|
-
files: {
|
|
15005
|
-
path: string;
|
|
15006
|
-
isNew: boolean;
|
|
15007
|
-
isDeleted: boolean;
|
|
15008
|
-
additions: number;
|
|
15009
|
-
deletions: number;
|
|
15010
|
-
hunks: {
|
|
15011
|
-
oldStart: number;
|
|
15012
|
-
oldCount: number;
|
|
15013
|
-
newStart: number;
|
|
15014
|
-
newCount: number;
|
|
15015
|
-
lines: {
|
|
15016
|
-
type: "add" | "remove" | "context" | "header";
|
|
15017
|
-
content: string;
|
|
15018
|
-
tokens?: {
|
|
15019
|
-
text: string;
|
|
15020
|
-
style: string | null;
|
|
15021
|
-
}[] | undefined;
|
|
15022
|
-
}[];
|
|
15023
|
-
}[];
|
|
15024
|
-
status?: "ok" | "too_large" | "binary" | undefined;
|
|
15025
|
-
}[];
|
|
15026
|
-
}, {
|
|
15027
|
-
error: string | null;
|
|
15028
|
-
requestId: string;
|
|
15029
|
-
agentId: string;
|
|
15030
|
-
files: {
|
|
15031
|
-
path: string;
|
|
15032
|
-
isNew: boolean;
|
|
15033
|
-
isDeleted: boolean;
|
|
15034
|
-
additions: number;
|
|
15035
|
-
deletions: number;
|
|
15036
|
-
hunks: {
|
|
15037
|
-
oldStart: number;
|
|
15038
|
-
oldCount: number;
|
|
15039
|
-
newStart: number;
|
|
15040
|
-
newCount: number;
|
|
15041
|
-
lines: {
|
|
15042
|
-
type: "add" | "remove" | "context" | "header";
|
|
15043
|
-
content: string;
|
|
15044
|
-
tokens?: {
|
|
15045
|
-
text: string;
|
|
15046
|
-
style: string | null;
|
|
15047
|
-
}[] | undefined;
|
|
15048
|
-
}[];
|
|
15049
|
-
}[];
|
|
15050
|
-
status?: "ok" | "too_large" | "binary" | undefined;
|
|
15051
|
-
}[];
|
|
15052
|
-
}>;
|
|
15053
|
-
}, "strip", z.ZodTypeAny, {
|
|
15054
|
-
type: "highlighted_diff_response";
|
|
15055
|
-
payload: {
|
|
15056
|
-
error: string | null;
|
|
15057
|
-
requestId: string;
|
|
15058
|
-
agentId: string;
|
|
15059
|
-
files: {
|
|
15060
|
-
path: string;
|
|
15061
|
-
isNew: boolean;
|
|
15062
|
-
isDeleted: boolean;
|
|
15063
|
-
additions: number;
|
|
15064
|
-
deletions: number;
|
|
15065
|
-
hunks: {
|
|
15066
|
-
oldStart: number;
|
|
15067
|
-
oldCount: number;
|
|
15068
|
-
newStart: number;
|
|
15069
|
-
newCount: number;
|
|
15070
|
-
lines: {
|
|
15071
|
-
type: "add" | "remove" | "context" | "header";
|
|
15072
|
-
content: string;
|
|
15073
|
-
tokens?: {
|
|
15074
|
-
text: string;
|
|
15075
|
-
style: string | null;
|
|
15076
|
-
}[] | undefined;
|
|
15077
|
-
}[];
|
|
15078
|
-
}[];
|
|
15079
|
-
status?: "ok" | "too_large" | "binary" | undefined;
|
|
15080
|
-
}[];
|
|
15081
|
-
};
|
|
15082
|
-
}, {
|
|
15083
|
-
type: "highlighted_diff_response";
|
|
15084
|
-
payload: {
|
|
15085
|
-
error: string | null;
|
|
15086
|
-
requestId: string;
|
|
15087
|
-
agentId: string;
|
|
15088
|
-
files: {
|
|
15089
|
-
path: string;
|
|
15090
|
-
isNew: boolean;
|
|
15091
|
-
isDeleted: boolean;
|
|
15092
|
-
additions: number;
|
|
15093
|
-
deletions: number;
|
|
15094
|
-
hunks: {
|
|
15095
|
-
oldStart: number;
|
|
15096
|
-
oldCount: number;
|
|
15097
|
-
newStart: number;
|
|
15098
|
-
newCount: number;
|
|
15099
|
-
lines: {
|
|
15100
|
-
type: "add" | "remove" | "context" | "header";
|
|
15101
|
-
content: string;
|
|
15102
|
-
tokens?: {
|
|
15103
|
-
text: string;
|
|
15104
|
-
style: string | null;
|
|
15105
|
-
}[] | undefined;
|
|
15106
|
-
}[];
|
|
15107
|
-
}[];
|
|
15108
|
-
status?: "ok" | "too_large" | "binary" | undefined;
|
|
15109
|
-
}[];
|
|
15110
|
-
};
|
|
15111
14751
|
}>, z.ZodObject<{
|
|
15112
14752
|
type: z.ZodLiteral<"file_explorer_response">;
|
|
15113
14753
|
payload: z.ZodObject<{
|
|
@@ -15436,6 +15076,68 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
15436
15076
|
error?: string | null | undefined;
|
|
15437
15077
|
models?: AgentModelDefinition[] | undefined;
|
|
15438
15078
|
};
|
|
15079
|
+
}>, z.ZodObject<{
|
|
15080
|
+
type: z.ZodLiteral<"list_available_providers_response">;
|
|
15081
|
+
payload: z.ZodObject<{
|
|
15082
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
15083
|
+
provider: z.ZodEnum<[string, ...string[]]>;
|
|
15084
|
+
available: z.ZodBoolean;
|
|
15085
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15086
|
+
}, "strip", z.ZodTypeAny, {
|
|
15087
|
+
provider: string;
|
|
15088
|
+
available: boolean;
|
|
15089
|
+
error?: string | null | undefined;
|
|
15090
|
+
}, {
|
|
15091
|
+
provider: string;
|
|
15092
|
+
available: boolean;
|
|
15093
|
+
error?: string | null | undefined;
|
|
15094
|
+
}>, "many">;
|
|
15095
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15096
|
+
fetchedAt: z.ZodString;
|
|
15097
|
+
requestId: z.ZodString;
|
|
15098
|
+
}, "strip", z.ZodTypeAny, {
|
|
15099
|
+
requestId: string;
|
|
15100
|
+
fetchedAt: string;
|
|
15101
|
+
providers: {
|
|
15102
|
+
provider: string;
|
|
15103
|
+
available: boolean;
|
|
15104
|
+
error?: string | null | undefined;
|
|
15105
|
+
}[];
|
|
15106
|
+
error?: string | null | undefined;
|
|
15107
|
+
}, {
|
|
15108
|
+
requestId: string;
|
|
15109
|
+
fetchedAt: string;
|
|
15110
|
+
providers: {
|
|
15111
|
+
provider: string;
|
|
15112
|
+
available: boolean;
|
|
15113
|
+
error?: string | null | undefined;
|
|
15114
|
+
}[];
|
|
15115
|
+
error?: string | null | undefined;
|
|
15116
|
+
}>;
|
|
15117
|
+
}, "strip", z.ZodTypeAny, {
|
|
15118
|
+
type: "list_available_providers_response";
|
|
15119
|
+
payload: {
|
|
15120
|
+
requestId: string;
|
|
15121
|
+
fetchedAt: string;
|
|
15122
|
+
providers: {
|
|
15123
|
+
provider: string;
|
|
15124
|
+
available: boolean;
|
|
15125
|
+
error?: string | null | undefined;
|
|
15126
|
+
}[];
|
|
15127
|
+
error?: string | null | undefined;
|
|
15128
|
+
};
|
|
15129
|
+
}, {
|
|
15130
|
+
type: "list_available_providers_response";
|
|
15131
|
+
payload: {
|
|
15132
|
+
requestId: string;
|
|
15133
|
+
fetchedAt: string;
|
|
15134
|
+
providers: {
|
|
15135
|
+
provider: string;
|
|
15136
|
+
available: boolean;
|
|
15137
|
+
error?: string | null | undefined;
|
|
15138
|
+
}[];
|
|
15139
|
+
error?: string | null | undefined;
|
|
15140
|
+
};
|
|
15439
15141
|
}>, z.ZodObject<{
|
|
15440
15142
|
type: z.ZodLiteral<"speech_models_list_response">;
|
|
15441
15143
|
payload: z.ZodObject<{
|
|
@@ -16349,11 +16051,13 @@ export type FetchAgentsGroupedByProjectResponseMessage = z.infer<typeof FetchAge
|
|
|
16349
16051
|
export type FetchAgentResponseMessage = z.infer<typeof FetchAgentResponseMessageSchema>;
|
|
16350
16052
|
export type SendAgentMessageResponseMessage = z.infer<typeof SendAgentMessageResponseMessageSchema>;
|
|
16351
16053
|
export type SetVoiceModeResponseMessage = z.infer<typeof SetVoiceModeResponseMessageSchema>;
|
|
16054
|
+
export type UpdateAgentResponseMessage = z.infer<typeof UpdateAgentResponseMessageSchema>;
|
|
16352
16055
|
export type WaitForFinishResponseMessage = z.infer<typeof WaitForFinishResponseMessageSchema>;
|
|
16353
16056
|
export type AgentPermissionRequestMessage = z.infer<typeof AgentPermissionRequestMessageSchema>;
|
|
16354
16057
|
export type AgentPermissionResolvedMessage = z.infer<typeof AgentPermissionResolvedMessageSchema>;
|
|
16355
16058
|
export type AgentDeletedMessage = z.infer<typeof AgentDeletedMessageSchema>;
|
|
16356
16059
|
export type ListProviderModelsResponseMessage = z.infer<typeof ListProviderModelsResponseMessageSchema>;
|
|
16060
|
+
export type ListAvailableProvidersResponse = z.infer<typeof ListAvailableProvidersResponseSchema>;
|
|
16357
16061
|
export type SpeechModelsListResponse = z.infer<typeof SpeechModelsListResponseSchema>;
|
|
16358
16062
|
export type SpeechModelsDownloadResponse = z.infer<typeof SpeechModelsDownloadResponseSchema>;
|
|
16359
16063
|
export type InitializeAgentResponseMessage = z.infer<typeof InitializeAgentResponseMessageSchema>;
|
|
@@ -16370,17 +16074,17 @@ export type DictationStreamFinishMessage = z.infer<typeof DictationStreamFinishM
|
|
|
16370
16074
|
export type DictationStreamCancelMessage = z.infer<typeof DictationStreamCancelMessageSchema>;
|
|
16371
16075
|
export type CreateAgentRequestMessage = z.infer<typeof CreateAgentRequestMessageSchema>;
|
|
16372
16076
|
export type ListProviderModelsRequestMessage = z.infer<typeof ListProviderModelsRequestMessageSchema>;
|
|
16077
|
+
export type ListAvailableProvidersRequestMessage = z.infer<typeof ListAvailableProvidersRequestMessageSchema>;
|
|
16373
16078
|
export type SpeechModelsListRequestMessage = z.infer<typeof SpeechModelsListRequestSchema>;
|
|
16374
16079
|
export type SpeechModelsDownloadRequestMessage = z.infer<typeof SpeechModelsDownloadRequestSchema>;
|
|
16375
16080
|
export type ResumeAgentRequestMessage = z.infer<typeof ResumeAgentRequestMessageSchema>;
|
|
16376
16081
|
export type DeleteAgentRequestMessage = z.infer<typeof DeleteAgentRequestMessageSchema>;
|
|
16082
|
+
export type UpdateAgentRequestMessage = z.infer<typeof UpdateAgentRequestMessageSchema>;
|
|
16377
16083
|
export type InitializeAgentRequestMessage = z.infer<typeof InitializeAgentRequestMessageSchema>;
|
|
16378
16084
|
export type SetAgentModeRequestMessage = z.infer<typeof SetAgentModeRequestMessageSchema>;
|
|
16379
16085
|
export type SetAgentModelRequestMessage = z.infer<typeof SetAgentModelRequestMessageSchema>;
|
|
16380
16086
|
export type SetAgentThinkingRequestMessage = z.infer<typeof SetAgentThinkingRequestMessageSchema>;
|
|
16381
16087
|
export type AgentPermissionResponseMessage = z.infer<typeof AgentPermissionResponseMessageSchema>;
|
|
16382
|
-
export type GitDiffRequest = z.infer<typeof GitDiffRequestSchema>;
|
|
16383
|
-
export type GitDiffResponse = z.infer<typeof GitDiffResponseSchema>;
|
|
16384
16088
|
export type CheckoutStatusRequest = z.infer<typeof CheckoutStatusRequestSchema>;
|
|
16385
16089
|
export type CheckoutStatusResponse = z.infer<typeof CheckoutStatusResponseSchema>;
|
|
16386
16090
|
export type SubscribeCheckoutDiffRequest = z.infer<typeof SubscribeCheckoutDiffRequestSchema>;
|
|
@@ -16405,8 +16109,6 @@ export type PaseoWorktreeListRequest = z.infer<typeof PaseoWorktreeListRequestSc
|
|
|
16405
16109
|
export type PaseoWorktreeListResponse = z.infer<typeof PaseoWorktreeListResponseSchema>;
|
|
16406
16110
|
export type PaseoWorktreeArchiveRequest = z.infer<typeof PaseoWorktreeArchiveRequestSchema>;
|
|
16407
16111
|
export type PaseoWorktreeArchiveResponse = z.infer<typeof PaseoWorktreeArchiveResponseSchema>;
|
|
16408
|
-
export type HighlightedDiffRequest = z.infer<typeof HighlightedDiffRequestSchema>;
|
|
16409
|
-
export type HighlightedDiffResponse = z.infer<typeof HighlightedDiffResponseSchema>;
|
|
16410
16112
|
export type FileExplorerRequest = z.infer<typeof FileExplorerRequestSchema>;
|
|
16411
16113
|
export type FileExplorerResponse = z.infer<typeof FileExplorerResponseSchema>;
|
|
16412
16114
|
export type ProjectIconRequest = z.infer<typeof ProjectIconRequestSchema>;
|
|
@@ -16606,6 +16308,24 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
16606
16308
|
type: "archive_agent_request";
|
|
16607
16309
|
requestId: string;
|
|
16608
16310
|
agentId: string;
|
|
16311
|
+
}>, z.ZodObject<{
|
|
16312
|
+
type: z.ZodLiteral<"update_agent_request">;
|
|
16313
|
+
agentId: z.ZodString;
|
|
16314
|
+
name: z.ZodOptional<z.ZodString>;
|
|
16315
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
16316
|
+
requestId: z.ZodString;
|
|
16317
|
+
}, "strip", z.ZodTypeAny, {
|
|
16318
|
+
type: "update_agent_request";
|
|
16319
|
+
requestId: string;
|
|
16320
|
+
agentId: string;
|
|
16321
|
+
labels?: Record<string, string> | undefined;
|
|
16322
|
+
name?: string | undefined;
|
|
16323
|
+
}, {
|
|
16324
|
+
type: "update_agent_request";
|
|
16325
|
+
requestId: string;
|
|
16326
|
+
agentId: string;
|
|
16327
|
+
labels?: Record<string, string> | undefined;
|
|
16328
|
+
name?: string | undefined;
|
|
16609
16329
|
}>, z.ZodObject<{
|
|
16610
16330
|
type: z.ZodLiteral<"set_voice_mode">;
|
|
16611
16331
|
enabled: z.ZodBoolean;
|
|
@@ -16852,6 +16572,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
16852
16572
|
}>;
|
|
16853
16573
|
worktreeName: z.ZodOptional<z.ZodString>;
|
|
16854
16574
|
initialPrompt: z.ZodOptional<z.ZodString>;
|
|
16575
|
+
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
16855
16576
|
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16856
16577
|
data: z.ZodString;
|
|
16857
16578
|
mimeType: z.ZodString;
|
|
@@ -16924,6 +16645,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
16924
16645
|
}[] | undefined;
|
|
16925
16646
|
worktreeName?: string | undefined;
|
|
16926
16647
|
initialPrompt?: string | undefined;
|
|
16648
|
+
outputSchema?: Record<string, unknown> | undefined;
|
|
16927
16649
|
git?: {
|
|
16928
16650
|
baseBranch?: string | undefined;
|
|
16929
16651
|
createNewBranch?: boolean | undefined;
|
|
@@ -16972,6 +16694,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
16972
16694
|
}[] | undefined;
|
|
16973
16695
|
worktreeName?: string | undefined;
|
|
16974
16696
|
initialPrompt?: string | undefined;
|
|
16697
|
+
outputSchema?: Record<string, unknown> | undefined;
|
|
16975
16698
|
git?: {
|
|
16976
16699
|
baseBranch?: string | undefined;
|
|
16977
16700
|
createNewBranch?: boolean | undefined;
|
|
@@ -16994,6 +16717,15 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
16994
16717
|
type: "list_provider_models_request";
|
|
16995
16718
|
requestId: string;
|
|
16996
16719
|
cwd?: string | undefined;
|
|
16720
|
+
}>, z.ZodObject<{
|
|
16721
|
+
type: z.ZodLiteral<"list_available_providers_request">;
|
|
16722
|
+
requestId: z.ZodString;
|
|
16723
|
+
}, "strip", z.ZodTypeAny, {
|
|
16724
|
+
type: "list_available_providers_request";
|
|
16725
|
+
requestId: string;
|
|
16726
|
+
}, {
|
|
16727
|
+
type: "list_available_providers_request";
|
|
16728
|
+
requestId: string;
|
|
16997
16729
|
}>, z.ZodObject<{
|
|
16998
16730
|
type: z.ZodLiteral<"speech_models_list_request">;
|
|
16999
16731
|
requestId: z.ZodString;
|
|
@@ -17317,18 +17049,6 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
17317
17049
|
requestId: string;
|
|
17318
17050
|
agentId: string;
|
|
17319
17051
|
response: AgentPermissionResponse;
|
|
17320
|
-
}>, z.ZodObject<{
|
|
17321
|
-
type: z.ZodLiteral<"git_diff_request">;
|
|
17322
|
-
agentId: z.ZodString;
|
|
17323
|
-
requestId: z.ZodString;
|
|
17324
|
-
}, "strip", z.ZodTypeAny, {
|
|
17325
|
-
type: "git_diff_request";
|
|
17326
|
-
requestId: string;
|
|
17327
|
-
agentId: string;
|
|
17328
|
-
}, {
|
|
17329
|
-
type: "git_diff_request";
|
|
17330
|
-
requestId: string;
|
|
17331
|
-
agentId: string;
|
|
17332
17052
|
}>, z.ZodObject<{
|
|
17333
17053
|
type: z.ZodLiteral<"checkout_status_request">;
|
|
17334
17054
|
cwd: z.ZodString;
|
|
@@ -17533,18 +17253,6 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
17533
17253
|
branchName?: string | undefined;
|
|
17534
17254
|
repoRoot?: string | undefined;
|
|
17535
17255
|
worktreePath?: string | undefined;
|
|
17536
|
-
}>, z.ZodObject<{
|
|
17537
|
-
type: z.ZodLiteral<"highlighted_diff_request">;
|
|
17538
|
-
agentId: z.ZodString;
|
|
17539
|
-
requestId: z.ZodString;
|
|
17540
|
-
}, "strip", z.ZodTypeAny, {
|
|
17541
|
-
type: "highlighted_diff_request";
|
|
17542
|
-
requestId: string;
|
|
17543
|
-
agentId: string;
|
|
17544
|
-
}, {
|
|
17545
|
-
type: "highlighted_diff_request";
|
|
17546
|
-
requestId: string;
|
|
17547
|
-
agentId: string;
|
|
17548
17256
|
}>, z.ZodObject<{
|
|
17549
17257
|
type: z.ZodLiteral<"file_explorer_request">;
|
|
17550
17258
|
agentId: z.ZodString;
|
|
@@ -17838,6 +17546,12 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
17838
17546
|
type: "archive_agent_request";
|
|
17839
17547
|
requestId: string;
|
|
17840
17548
|
agentId: string;
|
|
17549
|
+
} | {
|
|
17550
|
+
type: "update_agent_request";
|
|
17551
|
+
requestId: string;
|
|
17552
|
+
agentId: string;
|
|
17553
|
+
labels?: Record<string, string> | undefined;
|
|
17554
|
+
name?: string | undefined;
|
|
17841
17555
|
} | {
|
|
17842
17556
|
type: "set_voice_mode";
|
|
17843
17557
|
enabled: boolean;
|
|
@@ -17932,6 +17646,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
17932
17646
|
}[] | undefined;
|
|
17933
17647
|
worktreeName?: string | undefined;
|
|
17934
17648
|
initialPrompt?: string | undefined;
|
|
17649
|
+
outputSchema?: Record<string, unknown> | undefined;
|
|
17935
17650
|
git?: {
|
|
17936
17651
|
baseBranch?: string | undefined;
|
|
17937
17652
|
createNewBranch?: boolean | undefined;
|
|
@@ -17944,6 +17659,9 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
17944
17659
|
type: "list_provider_models_request";
|
|
17945
17660
|
requestId: string;
|
|
17946
17661
|
cwd?: string | undefined;
|
|
17662
|
+
} | {
|
|
17663
|
+
type: "list_available_providers_request";
|
|
17664
|
+
requestId: string;
|
|
17947
17665
|
} | {
|
|
17948
17666
|
type: "speech_models_list_request";
|
|
17949
17667
|
requestId: string;
|
|
@@ -18021,10 +17739,6 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18021
17739
|
requestId: string;
|
|
18022
17740
|
agentId: string;
|
|
18023
17741
|
response: AgentPermissionResponse;
|
|
18024
|
-
} | {
|
|
18025
|
-
type: "git_diff_request";
|
|
18026
|
-
requestId: string;
|
|
18027
|
-
agentId: string;
|
|
18028
17742
|
} | {
|
|
18029
17743
|
cwd: string;
|
|
18030
17744
|
type: "checkout_status_request";
|
|
@@ -18091,10 +17805,6 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18091
17805
|
branchName?: string | undefined;
|
|
18092
17806
|
repoRoot?: string | undefined;
|
|
18093
17807
|
worktreePath?: string | undefined;
|
|
18094
|
-
} | {
|
|
18095
|
-
type: "highlighted_diff_request";
|
|
18096
|
-
requestId: string;
|
|
18097
|
-
agentId: string;
|
|
18098
17808
|
} | {
|
|
18099
17809
|
mode: "file" | "list";
|
|
18100
17810
|
type: "file_explorer_request";
|
|
@@ -18205,6 +17915,12 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18205
17915
|
type: "archive_agent_request";
|
|
18206
17916
|
requestId: string;
|
|
18207
17917
|
agentId: string;
|
|
17918
|
+
} | {
|
|
17919
|
+
type: "update_agent_request";
|
|
17920
|
+
requestId: string;
|
|
17921
|
+
agentId: string;
|
|
17922
|
+
labels?: Record<string, string> | undefined;
|
|
17923
|
+
name?: string | undefined;
|
|
18208
17924
|
} | {
|
|
18209
17925
|
type: "set_voice_mode";
|
|
18210
17926
|
enabled: boolean;
|
|
@@ -18299,6 +18015,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18299
18015
|
}[] | undefined;
|
|
18300
18016
|
worktreeName?: string | undefined;
|
|
18301
18017
|
initialPrompt?: string | undefined;
|
|
18018
|
+
outputSchema?: Record<string, unknown> | undefined;
|
|
18302
18019
|
git?: {
|
|
18303
18020
|
baseBranch?: string | undefined;
|
|
18304
18021
|
createNewBranch?: boolean | undefined;
|
|
@@ -18311,6 +18028,9 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18311
18028
|
type: "list_provider_models_request";
|
|
18312
18029
|
requestId: string;
|
|
18313
18030
|
cwd?: string | undefined;
|
|
18031
|
+
} | {
|
|
18032
|
+
type: "list_available_providers_request";
|
|
18033
|
+
requestId: string;
|
|
18314
18034
|
} | {
|
|
18315
18035
|
type: "speech_models_list_request";
|
|
18316
18036
|
requestId: string;
|
|
@@ -18388,10 +18108,6 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18388
18108
|
requestId: string;
|
|
18389
18109
|
agentId: string;
|
|
18390
18110
|
response: AgentPermissionResponse;
|
|
18391
|
-
} | {
|
|
18392
|
-
type: "git_diff_request";
|
|
18393
|
-
requestId: string;
|
|
18394
|
-
agentId: string;
|
|
18395
18111
|
} | {
|
|
18396
18112
|
cwd: string;
|
|
18397
18113
|
type: "checkout_status_request";
|
|
@@ -18458,10 +18174,6 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18458
18174
|
branchName?: string | undefined;
|
|
18459
18175
|
repoRoot?: string | undefined;
|
|
18460
18176
|
worktreePath?: string | undefined;
|
|
18461
|
-
} | {
|
|
18462
|
-
type: "highlighted_diff_request";
|
|
18463
|
-
requestId: string;
|
|
18464
|
-
agentId: string;
|
|
18465
18177
|
} | {
|
|
18466
18178
|
mode: "file" | "list";
|
|
18467
18179
|
type: "file_explorer_request";
|
|
@@ -21438,6 +21150,40 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
21438
21150
|
agentId: string;
|
|
21439
21151
|
accepted: boolean;
|
|
21440
21152
|
};
|
|
21153
|
+
}>, z.ZodObject<{
|
|
21154
|
+
type: z.ZodLiteral<"update_agent_response">;
|
|
21155
|
+
payload: z.ZodObject<{
|
|
21156
|
+
requestId: z.ZodString;
|
|
21157
|
+
agentId: z.ZodString;
|
|
21158
|
+
accepted: z.ZodBoolean;
|
|
21159
|
+
error: z.ZodNullable<z.ZodString>;
|
|
21160
|
+
}, "strip", z.ZodTypeAny, {
|
|
21161
|
+
error: string | null;
|
|
21162
|
+
requestId: string;
|
|
21163
|
+
agentId: string;
|
|
21164
|
+
accepted: boolean;
|
|
21165
|
+
}, {
|
|
21166
|
+
error: string | null;
|
|
21167
|
+
requestId: string;
|
|
21168
|
+
agentId: string;
|
|
21169
|
+
accepted: boolean;
|
|
21170
|
+
}>;
|
|
21171
|
+
}, "strip", z.ZodTypeAny, {
|
|
21172
|
+
type: "update_agent_response";
|
|
21173
|
+
payload: {
|
|
21174
|
+
error: string | null;
|
|
21175
|
+
requestId: string;
|
|
21176
|
+
agentId: string;
|
|
21177
|
+
accepted: boolean;
|
|
21178
|
+
};
|
|
21179
|
+
}, {
|
|
21180
|
+
type: "update_agent_response";
|
|
21181
|
+
payload: {
|
|
21182
|
+
error: string | null;
|
|
21183
|
+
requestId: string;
|
|
21184
|
+
agentId: string;
|
|
21185
|
+
accepted: boolean;
|
|
21186
|
+
};
|
|
21441
21187
|
}>, z.ZodObject<{
|
|
21442
21188
|
type: z.ZodLiteral<"wait_for_finish_response">;
|
|
21443
21189
|
payload: z.ZodObject<{
|
|
@@ -21517,6 +21263,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
21517
21263
|
lastError?: string | undefined;
|
|
21518
21264
|
}>>;
|
|
21519
21265
|
error: z.ZodNullable<z.ZodString>;
|
|
21266
|
+
lastMessage: z.ZodNullable<z.ZodString>;
|
|
21520
21267
|
}, "strip", z.ZodTypeAny, {
|
|
21521
21268
|
error: string | null;
|
|
21522
21269
|
status: "idle" | "error" | "permission" | "timeout";
|
|
@@ -21546,6 +21293,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
21546
21293
|
lastUsage?: AgentUsage | undefined;
|
|
21547
21294
|
lastError?: string | undefined;
|
|
21548
21295
|
} | null;
|
|
21296
|
+
lastMessage: string | null;
|
|
21549
21297
|
}, {
|
|
21550
21298
|
error: string | null;
|
|
21551
21299
|
status: "idle" | "error" | "permission" | "timeout";
|
|
@@ -21575,6 +21323,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
21575
21323
|
lastUsage?: AgentUsage | undefined;
|
|
21576
21324
|
lastError?: string | undefined;
|
|
21577
21325
|
} | null;
|
|
21326
|
+
lastMessage: string | null;
|
|
21578
21327
|
}>;
|
|
21579
21328
|
}, "strip", z.ZodTypeAny, {
|
|
21580
21329
|
type: "wait_for_finish_response";
|
|
@@ -21607,6 +21356,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
21607
21356
|
lastUsage?: AgentUsage | undefined;
|
|
21608
21357
|
lastError?: string | undefined;
|
|
21609
21358
|
} | null;
|
|
21359
|
+
lastMessage: string | null;
|
|
21610
21360
|
};
|
|
21611
21361
|
}, {
|
|
21612
21362
|
type: "wait_for_finish_response";
|
|
@@ -21639,6 +21389,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
21639
21389
|
lastUsage?: AgentUsage | undefined;
|
|
21640
21390
|
lastError?: string | undefined;
|
|
21641
21391
|
} | null;
|
|
21392
|
+
lastMessage: string | null;
|
|
21642
21393
|
};
|
|
21643
21394
|
}>, z.ZodObject<{
|
|
21644
21395
|
type: z.ZodLiteral<"agent_permission_request">;
|
|
@@ -21746,40 +21497,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
21746
21497
|
requestId: string;
|
|
21747
21498
|
agentId: string;
|
|
21748
21499
|
};
|
|
21749
|
-
}>, z.ZodObject<{
|
|
21750
|
-
type: z.ZodLiteral<"git_diff_response">;
|
|
21751
|
-
payload: z.ZodObject<{
|
|
21752
|
-
agentId: z.ZodString;
|
|
21753
|
-
diff: z.ZodString;
|
|
21754
|
-
error: z.ZodNullable<z.ZodString>;
|
|
21755
|
-
requestId: z.ZodString;
|
|
21756
|
-
}, "strip", z.ZodTypeAny, {
|
|
21757
|
-
error: string | null;
|
|
21758
|
-
requestId: string;
|
|
21759
|
-
agentId: string;
|
|
21760
|
-
diff: string;
|
|
21761
|
-
}, {
|
|
21762
|
-
error: string | null;
|
|
21763
|
-
requestId: string;
|
|
21764
|
-
agentId: string;
|
|
21765
|
-
diff: string;
|
|
21766
|
-
}>;
|
|
21767
|
-
}, "strip", z.ZodTypeAny, {
|
|
21768
|
-
type: "git_diff_response";
|
|
21769
|
-
payload: {
|
|
21770
|
-
error: string | null;
|
|
21771
|
-
requestId: string;
|
|
21772
|
-
agentId: string;
|
|
21773
|
-
diff: string;
|
|
21774
|
-
};
|
|
21775
|
-
}, {
|
|
21776
|
-
type: "git_diff_response";
|
|
21777
|
-
payload: {
|
|
21778
|
-
error: string | null;
|
|
21779
|
-
requestId: string;
|
|
21780
|
-
agentId: string;
|
|
21781
|
-
diff: string;
|
|
21782
|
-
};
|
|
21783
21500
|
}>, z.ZodObject<{
|
|
21784
21501
|
type: z.ZodLiteral<"checkout_status_response">;
|
|
21785
21502
|
payload: z.ZodUnion<[z.ZodObject<{
|
|
@@ -22917,6 +22634,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22917
22634
|
baseRefName: string;
|
|
22918
22635
|
headRefName: string;
|
|
22919
22636
|
}>>;
|
|
22637
|
+
githubFeaturesEnabled: z.ZodBoolean;
|
|
22920
22638
|
error: z.ZodNullable<z.ZodObject<{
|
|
22921
22639
|
code: z.ZodEnum<["NOT_GIT_REPO", "NOT_ALLOWED", "MERGE_CONFLICT", "UNKNOWN"]>;
|
|
22922
22640
|
message: z.ZodString;
|
|
@@ -22942,6 +22660,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22942
22660
|
headRefName: string;
|
|
22943
22661
|
} | null;
|
|
22944
22662
|
requestId: string;
|
|
22663
|
+
githubFeaturesEnabled: boolean;
|
|
22945
22664
|
}, {
|
|
22946
22665
|
error: {
|
|
22947
22666
|
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
@@ -22956,6 +22675,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22956
22675
|
headRefName: string;
|
|
22957
22676
|
} | null;
|
|
22958
22677
|
requestId: string;
|
|
22678
|
+
githubFeaturesEnabled: boolean;
|
|
22959
22679
|
}>;
|
|
22960
22680
|
}, "strip", z.ZodTypeAny, {
|
|
22961
22681
|
type: "checkout_pr_status_response";
|
|
@@ -22973,6 +22693,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22973
22693
|
headRefName: string;
|
|
22974
22694
|
} | null;
|
|
22975
22695
|
requestId: string;
|
|
22696
|
+
githubFeaturesEnabled: boolean;
|
|
22976
22697
|
};
|
|
22977
22698
|
}, {
|
|
22978
22699
|
type: "checkout_pr_status_response";
|
|
@@ -22990,6 +22711,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22990
22711
|
headRefName: string;
|
|
22991
22712
|
} | null;
|
|
22992
22713
|
requestId: string;
|
|
22714
|
+
githubFeaturesEnabled: boolean;
|
|
22993
22715
|
};
|
|
22994
22716
|
}>, z.ZodObject<{
|
|
22995
22717
|
type: z.ZodLiteral<"validate_branch_response">;
|
|
@@ -23163,233 +22885,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
23163
22885
|
success: boolean;
|
|
23164
22886
|
removedAgents?: string[] | undefined;
|
|
23165
22887
|
};
|
|
23166
|
-
}>, z.ZodObject<{
|
|
23167
|
-
type: z.ZodLiteral<"highlighted_diff_response">;
|
|
23168
|
-
payload: z.ZodObject<{
|
|
23169
|
-
agentId: z.ZodString;
|
|
23170
|
-
files: z.ZodArray<z.ZodObject<{
|
|
23171
|
-
path: z.ZodString;
|
|
23172
|
-
isNew: z.ZodBoolean;
|
|
23173
|
-
isDeleted: z.ZodBoolean;
|
|
23174
|
-
additions: z.ZodNumber;
|
|
23175
|
-
deletions: z.ZodNumber;
|
|
23176
|
-
hunks: z.ZodArray<z.ZodObject<{
|
|
23177
|
-
oldStart: z.ZodNumber;
|
|
23178
|
-
oldCount: z.ZodNumber;
|
|
23179
|
-
newStart: z.ZodNumber;
|
|
23180
|
-
newCount: z.ZodNumber;
|
|
23181
|
-
lines: z.ZodArray<z.ZodObject<{
|
|
23182
|
-
type: z.ZodEnum<["add", "remove", "context", "header"]>;
|
|
23183
|
-
content: z.ZodString;
|
|
23184
|
-
tokens: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
23185
|
-
text: z.ZodString;
|
|
23186
|
-
style: z.ZodNullable<z.ZodString>;
|
|
23187
|
-
}, "strip", z.ZodTypeAny, {
|
|
23188
|
-
text: string;
|
|
23189
|
-
style: string | null;
|
|
23190
|
-
}, {
|
|
23191
|
-
text: string;
|
|
23192
|
-
style: string | null;
|
|
23193
|
-
}>, "many">>;
|
|
23194
|
-
}, "strip", z.ZodTypeAny, {
|
|
23195
|
-
type: "add" | "remove" | "context" | "header";
|
|
23196
|
-
content: string;
|
|
23197
|
-
tokens?: {
|
|
23198
|
-
text: string;
|
|
23199
|
-
style: string | null;
|
|
23200
|
-
}[] | undefined;
|
|
23201
|
-
}, {
|
|
23202
|
-
type: "add" | "remove" | "context" | "header";
|
|
23203
|
-
content: string;
|
|
23204
|
-
tokens?: {
|
|
23205
|
-
text: string;
|
|
23206
|
-
style: string | null;
|
|
23207
|
-
}[] | undefined;
|
|
23208
|
-
}>, "many">;
|
|
23209
|
-
}, "strip", z.ZodTypeAny, {
|
|
23210
|
-
oldStart: number;
|
|
23211
|
-
oldCount: number;
|
|
23212
|
-
newStart: number;
|
|
23213
|
-
newCount: number;
|
|
23214
|
-
lines: {
|
|
23215
|
-
type: "add" | "remove" | "context" | "header";
|
|
23216
|
-
content: string;
|
|
23217
|
-
tokens?: {
|
|
23218
|
-
text: string;
|
|
23219
|
-
style: string | null;
|
|
23220
|
-
}[] | undefined;
|
|
23221
|
-
}[];
|
|
23222
|
-
}, {
|
|
23223
|
-
oldStart: number;
|
|
23224
|
-
oldCount: number;
|
|
23225
|
-
newStart: number;
|
|
23226
|
-
newCount: number;
|
|
23227
|
-
lines: {
|
|
23228
|
-
type: "add" | "remove" | "context" | "header";
|
|
23229
|
-
content: string;
|
|
23230
|
-
tokens?: {
|
|
23231
|
-
text: string;
|
|
23232
|
-
style: string | null;
|
|
23233
|
-
}[] | undefined;
|
|
23234
|
-
}[];
|
|
23235
|
-
}>, "many">;
|
|
23236
|
-
status: z.ZodOptional<z.ZodEnum<["ok", "too_large", "binary"]>>;
|
|
23237
|
-
}, "strip", z.ZodTypeAny, {
|
|
23238
|
-
path: string;
|
|
23239
|
-
isNew: boolean;
|
|
23240
|
-
isDeleted: boolean;
|
|
23241
|
-
additions: number;
|
|
23242
|
-
deletions: number;
|
|
23243
|
-
hunks: {
|
|
23244
|
-
oldStart: number;
|
|
23245
|
-
oldCount: number;
|
|
23246
|
-
newStart: number;
|
|
23247
|
-
newCount: number;
|
|
23248
|
-
lines: {
|
|
23249
|
-
type: "add" | "remove" | "context" | "header";
|
|
23250
|
-
content: string;
|
|
23251
|
-
tokens?: {
|
|
23252
|
-
text: string;
|
|
23253
|
-
style: string | null;
|
|
23254
|
-
}[] | undefined;
|
|
23255
|
-
}[];
|
|
23256
|
-
}[];
|
|
23257
|
-
status?: "ok" | "too_large" | "binary" | undefined;
|
|
23258
|
-
}, {
|
|
23259
|
-
path: string;
|
|
23260
|
-
isNew: boolean;
|
|
23261
|
-
isDeleted: boolean;
|
|
23262
|
-
additions: number;
|
|
23263
|
-
deletions: number;
|
|
23264
|
-
hunks: {
|
|
23265
|
-
oldStart: number;
|
|
23266
|
-
oldCount: number;
|
|
23267
|
-
newStart: number;
|
|
23268
|
-
newCount: number;
|
|
23269
|
-
lines: {
|
|
23270
|
-
type: "add" | "remove" | "context" | "header";
|
|
23271
|
-
content: string;
|
|
23272
|
-
tokens?: {
|
|
23273
|
-
text: string;
|
|
23274
|
-
style: string | null;
|
|
23275
|
-
}[] | undefined;
|
|
23276
|
-
}[];
|
|
23277
|
-
}[];
|
|
23278
|
-
status?: "ok" | "too_large" | "binary" | undefined;
|
|
23279
|
-
}>, "many">;
|
|
23280
|
-
error: z.ZodNullable<z.ZodString>;
|
|
23281
|
-
requestId: z.ZodString;
|
|
23282
|
-
}, "strip", z.ZodTypeAny, {
|
|
23283
|
-
error: string | null;
|
|
23284
|
-
requestId: string;
|
|
23285
|
-
agentId: string;
|
|
23286
|
-
files: {
|
|
23287
|
-
path: string;
|
|
23288
|
-
isNew: boolean;
|
|
23289
|
-
isDeleted: boolean;
|
|
23290
|
-
additions: number;
|
|
23291
|
-
deletions: number;
|
|
23292
|
-
hunks: {
|
|
23293
|
-
oldStart: number;
|
|
23294
|
-
oldCount: number;
|
|
23295
|
-
newStart: number;
|
|
23296
|
-
newCount: number;
|
|
23297
|
-
lines: {
|
|
23298
|
-
type: "add" | "remove" | "context" | "header";
|
|
23299
|
-
content: string;
|
|
23300
|
-
tokens?: {
|
|
23301
|
-
text: string;
|
|
23302
|
-
style: string | null;
|
|
23303
|
-
}[] | undefined;
|
|
23304
|
-
}[];
|
|
23305
|
-
}[];
|
|
23306
|
-
status?: "ok" | "too_large" | "binary" | undefined;
|
|
23307
|
-
}[];
|
|
23308
|
-
}, {
|
|
23309
|
-
error: string | null;
|
|
23310
|
-
requestId: string;
|
|
23311
|
-
agentId: string;
|
|
23312
|
-
files: {
|
|
23313
|
-
path: string;
|
|
23314
|
-
isNew: boolean;
|
|
23315
|
-
isDeleted: boolean;
|
|
23316
|
-
additions: number;
|
|
23317
|
-
deletions: number;
|
|
23318
|
-
hunks: {
|
|
23319
|
-
oldStart: number;
|
|
23320
|
-
oldCount: number;
|
|
23321
|
-
newStart: number;
|
|
23322
|
-
newCount: number;
|
|
23323
|
-
lines: {
|
|
23324
|
-
type: "add" | "remove" | "context" | "header";
|
|
23325
|
-
content: string;
|
|
23326
|
-
tokens?: {
|
|
23327
|
-
text: string;
|
|
23328
|
-
style: string | null;
|
|
23329
|
-
}[] | undefined;
|
|
23330
|
-
}[];
|
|
23331
|
-
}[];
|
|
23332
|
-
status?: "ok" | "too_large" | "binary" | undefined;
|
|
23333
|
-
}[];
|
|
23334
|
-
}>;
|
|
23335
|
-
}, "strip", z.ZodTypeAny, {
|
|
23336
|
-
type: "highlighted_diff_response";
|
|
23337
|
-
payload: {
|
|
23338
|
-
error: string | null;
|
|
23339
|
-
requestId: string;
|
|
23340
|
-
agentId: string;
|
|
23341
|
-
files: {
|
|
23342
|
-
path: string;
|
|
23343
|
-
isNew: boolean;
|
|
23344
|
-
isDeleted: boolean;
|
|
23345
|
-
additions: number;
|
|
23346
|
-
deletions: number;
|
|
23347
|
-
hunks: {
|
|
23348
|
-
oldStart: number;
|
|
23349
|
-
oldCount: number;
|
|
23350
|
-
newStart: number;
|
|
23351
|
-
newCount: number;
|
|
23352
|
-
lines: {
|
|
23353
|
-
type: "add" | "remove" | "context" | "header";
|
|
23354
|
-
content: string;
|
|
23355
|
-
tokens?: {
|
|
23356
|
-
text: string;
|
|
23357
|
-
style: string | null;
|
|
23358
|
-
}[] | undefined;
|
|
23359
|
-
}[];
|
|
23360
|
-
}[];
|
|
23361
|
-
status?: "ok" | "too_large" | "binary" | undefined;
|
|
23362
|
-
}[];
|
|
23363
|
-
};
|
|
23364
|
-
}, {
|
|
23365
|
-
type: "highlighted_diff_response";
|
|
23366
|
-
payload: {
|
|
23367
|
-
error: string | null;
|
|
23368
|
-
requestId: string;
|
|
23369
|
-
agentId: string;
|
|
23370
|
-
files: {
|
|
23371
|
-
path: string;
|
|
23372
|
-
isNew: boolean;
|
|
23373
|
-
isDeleted: boolean;
|
|
23374
|
-
additions: number;
|
|
23375
|
-
deletions: number;
|
|
23376
|
-
hunks: {
|
|
23377
|
-
oldStart: number;
|
|
23378
|
-
oldCount: number;
|
|
23379
|
-
newStart: number;
|
|
23380
|
-
newCount: number;
|
|
23381
|
-
lines: {
|
|
23382
|
-
type: "add" | "remove" | "context" | "header";
|
|
23383
|
-
content: string;
|
|
23384
|
-
tokens?: {
|
|
23385
|
-
text: string;
|
|
23386
|
-
style: string | null;
|
|
23387
|
-
}[] | undefined;
|
|
23388
|
-
}[];
|
|
23389
|
-
}[];
|
|
23390
|
-
status?: "ok" | "too_large" | "binary" | undefined;
|
|
23391
|
-
}[];
|
|
23392
|
-
};
|
|
23393
22888
|
}>, z.ZodObject<{
|
|
23394
22889
|
type: z.ZodLiteral<"file_explorer_response">;
|
|
23395
22890
|
payload: z.ZodObject<{
|
|
@@ -23718,6 +23213,68 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
23718
23213
|
error?: string | null | undefined;
|
|
23719
23214
|
models?: AgentModelDefinition[] | undefined;
|
|
23720
23215
|
};
|
|
23216
|
+
}>, z.ZodObject<{
|
|
23217
|
+
type: z.ZodLiteral<"list_available_providers_response">;
|
|
23218
|
+
payload: z.ZodObject<{
|
|
23219
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
23220
|
+
provider: z.ZodEnum<[string, ...string[]]>;
|
|
23221
|
+
available: z.ZodBoolean;
|
|
23222
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23223
|
+
}, "strip", z.ZodTypeAny, {
|
|
23224
|
+
provider: string;
|
|
23225
|
+
available: boolean;
|
|
23226
|
+
error?: string | null | undefined;
|
|
23227
|
+
}, {
|
|
23228
|
+
provider: string;
|
|
23229
|
+
available: boolean;
|
|
23230
|
+
error?: string | null | undefined;
|
|
23231
|
+
}>, "many">;
|
|
23232
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23233
|
+
fetchedAt: z.ZodString;
|
|
23234
|
+
requestId: z.ZodString;
|
|
23235
|
+
}, "strip", z.ZodTypeAny, {
|
|
23236
|
+
requestId: string;
|
|
23237
|
+
fetchedAt: string;
|
|
23238
|
+
providers: {
|
|
23239
|
+
provider: string;
|
|
23240
|
+
available: boolean;
|
|
23241
|
+
error?: string | null | undefined;
|
|
23242
|
+
}[];
|
|
23243
|
+
error?: string | null | undefined;
|
|
23244
|
+
}, {
|
|
23245
|
+
requestId: string;
|
|
23246
|
+
fetchedAt: string;
|
|
23247
|
+
providers: {
|
|
23248
|
+
provider: string;
|
|
23249
|
+
available: boolean;
|
|
23250
|
+
error?: string | null | undefined;
|
|
23251
|
+
}[];
|
|
23252
|
+
error?: string | null | undefined;
|
|
23253
|
+
}>;
|
|
23254
|
+
}, "strip", z.ZodTypeAny, {
|
|
23255
|
+
type: "list_available_providers_response";
|
|
23256
|
+
payload: {
|
|
23257
|
+
requestId: string;
|
|
23258
|
+
fetchedAt: string;
|
|
23259
|
+
providers: {
|
|
23260
|
+
provider: string;
|
|
23261
|
+
available: boolean;
|
|
23262
|
+
error?: string | null | undefined;
|
|
23263
|
+
}[];
|
|
23264
|
+
error?: string | null | undefined;
|
|
23265
|
+
};
|
|
23266
|
+
}, {
|
|
23267
|
+
type: "list_available_providers_response";
|
|
23268
|
+
payload: {
|
|
23269
|
+
requestId: string;
|
|
23270
|
+
fetchedAt: string;
|
|
23271
|
+
providers: {
|
|
23272
|
+
provider: string;
|
|
23273
|
+
available: boolean;
|
|
23274
|
+
error?: string | null | undefined;
|
|
23275
|
+
}[];
|
|
23276
|
+
error?: string | null | undefined;
|
|
23277
|
+
};
|
|
23721
23278
|
}>, z.ZodObject<{
|
|
23722
23279
|
type: z.ZodLiteral<"speech_models_list_response">;
|
|
23723
23280
|
payload: z.ZodObject<{
|
|
@@ -24646,6 +24203,14 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
24646
24203
|
agentId: string;
|
|
24647
24204
|
accepted: boolean;
|
|
24648
24205
|
};
|
|
24206
|
+
} | {
|
|
24207
|
+
type: "update_agent_response";
|
|
24208
|
+
payload: {
|
|
24209
|
+
error: string | null;
|
|
24210
|
+
requestId: string;
|
|
24211
|
+
agentId: string;
|
|
24212
|
+
accepted: boolean;
|
|
24213
|
+
};
|
|
24649
24214
|
} | {
|
|
24650
24215
|
type: "set_voice_mode_response";
|
|
24651
24216
|
payload: {
|
|
@@ -25092,6 +24657,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25092
24657
|
lastUsage?: AgentUsage | undefined;
|
|
25093
24658
|
lastError?: string | undefined;
|
|
25094
24659
|
} | null;
|
|
24660
|
+
lastMessage: string | null;
|
|
25095
24661
|
};
|
|
25096
24662
|
} | {
|
|
25097
24663
|
type: "agent_permission_request";
|
|
@@ -25119,14 +24685,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25119
24685
|
requestId: string;
|
|
25120
24686
|
agentId: string;
|
|
25121
24687
|
};
|
|
25122
|
-
} | {
|
|
25123
|
-
type: "git_diff_response";
|
|
25124
|
-
payload: {
|
|
25125
|
-
error: string | null;
|
|
25126
|
-
requestId: string;
|
|
25127
|
-
agentId: string;
|
|
25128
|
-
diff: string;
|
|
25129
|
-
};
|
|
25130
24688
|
} | {
|
|
25131
24689
|
type: "checkout_status_response";
|
|
25132
24690
|
payload: {
|
|
@@ -25325,6 +24883,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25325
24883
|
headRefName: string;
|
|
25326
24884
|
} | null;
|
|
25327
24885
|
requestId: string;
|
|
24886
|
+
githubFeaturesEnabled: boolean;
|
|
25328
24887
|
};
|
|
25329
24888
|
} | {
|
|
25330
24889
|
type: "validate_branch_response";
|
|
@@ -25360,35 +24919,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25360
24919
|
success: boolean;
|
|
25361
24920
|
removedAgents?: string[] | undefined;
|
|
25362
24921
|
};
|
|
25363
|
-
} | {
|
|
25364
|
-
type: "highlighted_diff_response";
|
|
25365
|
-
payload: {
|
|
25366
|
-
error: string | null;
|
|
25367
|
-
requestId: string;
|
|
25368
|
-
agentId: string;
|
|
25369
|
-
files: {
|
|
25370
|
-
path: string;
|
|
25371
|
-
isNew: boolean;
|
|
25372
|
-
isDeleted: boolean;
|
|
25373
|
-
additions: number;
|
|
25374
|
-
deletions: number;
|
|
25375
|
-
hunks: {
|
|
25376
|
-
oldStart: number;
|
|
25377
|
-
oldCount: number;
|
|
25378
|
-
newStart: number;
|
|
25379
|
-
newCount: number;
|
|
25380
|
-
lines: {
|
|
25381
|
-
type: "add" | "remove" | "context" | "header";
|
|
25382
|
-
content: string;
|
|
25383
|
-
tokens?: {
|
|
25384
|
-
text: string;
|
|
25385
|
-
style: string | null;
|
|
25386
|
-
}[] | undefined;
|
|
25387
|
-
}[];
|
|
25388
|
-
}[];
|
|
25389
|
-
status?: "ok" | "too_large" | "binary" | undefined;
|
|
25390
|
-
}[];
|
|
25391
|
-
};
|
|
25392
24922
|
} | {
|
|
25393
24923
|
type: "file_explorer_response";
|
|
25394
24924
|
payload: {
|
|
@@ -25449,6 +24979,18 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25449
24979
|
error?: string | null | undefined;
|
|
25450
24980
|
models?: AgentModelDefinition[] | undefined;
|
|
25451
24981
|
};
|
|
24982
|
+
} | {
|
|
24983
|
+
type: "list_available_providers_response";
|
|
24984
|
+
payload: {
|
|
24985
|
+
requestId: string;
|
|
24986
|
+
fetchedAt: string;
|
|
24987
|
+
providers: {
|
|
24988
|
+
provider: string;
|
|
24989
|
+
available: boolean;
|
|
24990
|
+
error?: string | null | undefined;
|
|
24991
|
+
}[];
|
|
24992
|
+
error?: string | null | undefined;
|
|
24993
|
+
};
|
|
25452
24994
|
} | {
|
|
25453
24995
|
type: "speech_models_list_response";
|
|
25454
24996
|
payload: {
|
|
@@ -25627,6 +25169,14 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25627
25169
|
agentId: string;
|
|
25628
25170
|
accepted: boolean;
|
|
25629
25171
|
};
|
|
25172
|
+
} | {
|
|
25173
|
+
type: "update_agent_response";
|
|
25174
|
+
payload: {
|
|
25175
|
+
error: string | null;
|
|
25176
|
+
requestId: string;
|
|
25177
|
+
agentId: string;
|
|
25178
|
+
accepted: boolean;
|
|
25179
|
+
};
|
|
25630
25180
|
} | {
|
|
25631
25181
|
type: "set_voice_mode_response";
|
|
25632
25182
|
payload: {
|
|
@@ -26073,6 +25623,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
26073
25623
|
lastUsage?: AgentUsage | undefined;
|
|
26074
25624
|
lastError?: string | undefined;
|
|
26075
25625
|
} | null;
|
|
25626
|
+
lastMessage: string | null;
|
|
26076
25627
|
};
|
|
26077
25628
|
} | {
|
|
26078
25629
|
type: "agent_permission_request";
|
|
@@ -26100,14 +25651,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
26100
25651
|
requestId: string;
|
|
26101
25652
|
agentId: string;
|
|
26102
25653
|
};
|
|
26103
|
-
} | {
|
|
26104
|
-
type: "git_diff_response";
|
|
26105
|
-
payload: {
|
|
26106
|
-
error: string | null;
|
|
26107
|
-
requestId: string;
|
|
26108
|
-
agentId: string;
|
|
26109
|
-
diff: string;
|
|
26110
|
-
};
|
|
26111
25654
|
} | {
|
|
26112
25655
|
type: "checkout_status_response";
|
|
26113
25656
|
payload: {
|
|
@@ -26306,6 +25849,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
26306
25849
|
headRefName: string;
|
|
26307
25850
|
} | null;
|
|
26308
25851
|
requestId: string;
|
|
25852
|
+
githubFeaturesEnabled: boolean;
|
|
26309
25853
|
};
|
|
26310
25854
|
} | {
|
|
26311
25855
|
type: "validate_branch_response";
|
|
@@ -26341,35 +25885,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
26341
25885
|
success: boolean;
|
|
26342
25886
|
removedAgents?: string[] | undefined;
|
|
26343
25887
|
};
|
|
26344
|
-
} | {
|
|
26345
|
-
type: "highlighted_diff_response";
|
|
26346
|
-
payload: {
|
|
26347
|
-
error: string | null;
|
|
26348
|
-
requestId: string;
|
|
26349
|
-
agentId: string;
|
|
26350
|
-
files: {
|
|
26351
|
-
path: string;
|
|
26352
|
-
isNew: boolean;
|
|
26353
|
-
isDeleted: boolean;
|
|
26354
|
-
additions: number;
|
|
26355
|
-
deletions: number;
|
|
26356
|
-
hunks: {
|
|
26357
|
-
oldStart: number;
|
|
26358
|
-
oldCount: number;
|
|
26359
|
-
newStart: number;
|
|
26360
|
-
newCount: number;
|
|
26361
|
-
lines: {
|
|
26362
|
-
type: "add" | "remove" | "context" | "header";
|
|
26363
|
-
content: string;
|
|
26364
|
-
tokens?: {
|
|
26365
|
-
text: string;
|
|
26366
|
-
style: string | null;
|
|
26367
|
-
}[] | undefined;
|
|
26368
|
-
}[];
|
|
26369
|
-
}[];
|
|
26370
|
-
status?: "ok" | "too_large" | "binary" | undefined;
|
|
26371
|
-
}[];
|
|
26372
|
-
};
|
|
26373
25888
|
} | {
|
|
26374
25889
|
type: "file_explorer_response";
|
|
26375
25890
|
payload: {
|
|
@@ -26430,6 +25945,18 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
26430
25945
|
error?: string | null | undefined;
|
|
26431
25946
|
models?: AgentModelDefinition[] | undefined;
|
|
26432
25947
|
};
|
|
25948
|
+
} | {
|
|
25949
|
+
type: "list_available_providers_response";
|
|
25950
|
+
payload: {
|
|
25951
|
+
requestId: string;
|
|
25952
|
+
fetchedAt: string;
|
|
25953
|
+
providers: {
|
|
25954
|
+
provider: string;
|
|
25955
|
+
available: boolean;
|
|
25956
|
+
error?: string | null | undefined;
|
|
25957
|
+
}[];
|
|
25958
|
+
error?: string | null | undefined;
|
|
25959
|
+
};
|
|
26433
25960
|
} | {
|
|
26434
25961
|
type: "speech_models_list_response";
|
|
26435
25962
|
payload: {
|
|
@@ -26739,6 +26266,24 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
26739
26266
|
type: "archive_agent_request";
|
|
26740
26267
|
requestId: string;
|
|
26741
26268
|
agentId: string;
|
|
26269
|
+
}>, z.ZodObject<{
|
|
26270
|
+
type: z.ZodLiteral<"update_agent_request">;
|
|
26271
|
+
agentId: z.ZodString;
|
|
26272
|
+
name: z.ZodOptional<z.ZodString>;
|
|
26273
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
26274
|
+
requestId: z.ZodString;
|
|
26275
|
+
}, "strip", z.ZodTypeAny, {
|
|
26276
|
+
type: "update_agent_request";
|
|
26277
|
+
requestId: string;
|
|
26278
|
+
agentId: string;
|
|
26279
|
+
labels?: Record<string, string> | undefined;
|
|
26280
|
+
name?: string | undefined;
|
|
26281
|
+
}, {
|
|
26282
|
+
type: "update_agent_request";
|
|
26283
|
+
requestId: string;
|
|
26284
|
+
agentId: string;
|
|
26285
|
+
labels?: Record<string, string> | undefined;
|
|
26286
|
+
name?: string | undefined;
|
|
26742
26287
|
}>, z.ZodObject<{
|
|
26743
26288
|
type: z.ZodLiteral<"set_voice_mode">;
|
|
26744
26289
|
enabled: z.ZodBoolean;
|
|
@@ -26985,6 +26530,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
26985
26530
|
}>;
|
|
26986
26531
|
worktreeName: z.ZodOptional<z.ZodString>;
|
|
26987
26532
|
initialPrompt: z.ZodOptional<z.ZodString>;
|
|
26533
|
+
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
26988
26534
|
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
26989
26535
|
data: z.ZodString;
|
|
26990
26536
|
mimeType: z.ZodString;
|
|
@@ -27057,6 +26603,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
27057
26603
|
}[] | undefined;
|
|
27058
26604
|
worktreeName?: string | undefined;
|
|
27059
26605
|
initialPrompt?: string | undefined;
|
|
26606
|
+
outputSchema?: Record<string, unknown> | undefined;
|
|
27060
26607
|
git?: {
|
|
27061
26608
|
baseBranch?: string | undefined;
|
|
27062
26609
|
createNewBranch?: boolean | undefined;
|
|
@@ -27105,6 +26652,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
27105
26652
|
}[] | undefined;
|
|
27106
26653
|
worktreeName?: string | undefined;
|
|
27107
26654
|
initialPrompt?: string | undefined;
|
|
26655
|
+
outputSchema?: Record<string, unknown> | undefined;
|
|
27108
26656
|
git?: {
|
|
27109
26657
|
baseBranch?: string | undefined;
|
|
27110
26658
|
createNewBranch?: boolean | undefined;
|
|
@@ -27127,6 +26675,15 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
27127
26675
|
type: "list_provider_models_request";
|
|
27128
26676
|
requestId: string;
|
|
27129
26677
|
cwd?: string | undefined;
|
|
26678
|
+
}>, z.ZodObject<{
|
|
26679
|
+
type: z.ZodLiteral<"list_available_providers_request">;
|
|
26680
|
+
requestId: z.ZodString;
|
|
26681
|
+
}, "strip", z.ZodTypeAny, {
|
|
26682
|
+
type: "list_available_providers_request";
|
|
26683
|
+
requestId: string;
|
|
26684
|
+
}, {
|
|
26685
|
+
type: "list_available_providers_request";
|
|
26686
|
+
requestId: string;
|
|
27130
26687
|
}>, z.ZodObject<{
|
|
27131
26688
|
type: z.ZodLiteral<"speech_models_list_request">;
|
|
27132
26689
|
requestId: z.ZodString;
|
|
@@ -27450,18 +27007,6 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
27450
27007
|
requestId: string;
|
|
27451
27008
|
agentId: string;
|
|
27452
27009
|
response: AgentPermissionResponse;
|
|
27453
|
-
}>, z.ZodObject<{
|
|
27454
|
-
type: z.ZodLiteral<"git_diff_request">;
|
|
27455
|
-
agentId: z.ZodString;
|
|
27456
|
-
requestId: z.ZodString;
|
|
27457
|
-
}, "strip", z.ZodTypeAny, {
|
|
27458
|
-
type: "git_diff_request";
|
|
27459
|
-
requestId: string;
|
|
27460
|
-
agentId: string;
|
|
27461
|
-
}, {
|
|
27462
|
-
type: "git_diff_request";
|
|
27463
|
-
requestId: string;
|
|
27464
|
-
agentId: string;
|
|
27465
27010
|
}>, z.ZodObject<{
|
|
27466
27011
|
type: z.ZodLiteral<"checkout_status_request">;
|
|
27467
27012
|
cwd: z.ZodString;
|
|
@@ -27666,18 +27211,6 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
27666
27211
|
branchName?: string | undefined;
|
|
27667
27212
|
repoRoot?: string | undefined;
|
|
27668
27213
|
worktreePath?: string | undefined;
|
|
27669
|
-
}>, z.ZodObject<{
|
|
27670
|
-
type: z.ZodLiteral<"highlighted_diff_request">;
|
|
27671
|
-
agentId: z.ZodString;
|
|
27672
|
-
requestId: z.ZodString;
|
|
27673
|
-
}, "strip", z.ZodTypeAny, {
|
|
27674
|
-
type: "highlighted_diff_request";
|
|
27675
|
-
requestId: string;
|
|
27676
|
-
agentId: string;
|
|
27677
|
-
}, {
|
|
27678
|
-
type: "highlighted_diff_request";
|
|
27679
|
-
requestId: string;
|
|
27680
|
-
agentId: string;
|
|
27681
27214
|
}>, z.ZodObject<{
|
|
27682
27215
|
type: z.ZodLiteral<"file_explorer_request">;
|
|
27683
27216
|
agentId: z.ZodString;
|
|
@@ -27971,6 +27504,12 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
27971
27504
|
type: "archive_agent_request";
|
|
27972
27505
|
requestId: string;
|
|
27973
27506
|
agentId: string;
|
|
27507
|
+
} | {
|
|
27508
|
+
type: "update_agent_request";
|
|
27509
|
+
requestId: string;
|
|
27510
|
+
agentId: string;
|
|
27511
|
+
labels?: Record<string, string> | undefined;
|
|
27512
|
+
name?: string | undefined;
|
|
27974
27513
|
} | {
|
|
27975
27514
|
type: "set_voice_mode";
|
|
27976
27515
|
enabled: boolean;
|
|
@@ -28065,6 +27604,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28065
27604
|
}[] | undefined;
|
|
28066
27605
|
worktreeName?: string | undefined;
|
|
28067
27606
|
initialPrompt?: string | undefined;
|
|
27607
|
+
outputSchema?: Record<string, unknown> | undefined;
|
|
28068
27608
|
git?: {
|
|
28069
27609
|
baseBranch?: string | undefined;
|
|
28070
27610
|
createNewBranch?: boolean | undefined;
|
|
@@ -28077,6 +27617,9 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28077
27617
|
type: "list_provider_models_request";
|
|
28078
27618
|
requestId: string;
|
|
28079
27619
|
cwd?: string | undefined;
|
|
27620
|
+
} | {
|
|
27621
|
+
type: "list_available_providers_request";
|
|
27622
|
+
requestId: string;
|
|
28080
27623
|
} | {
|
|
28081
27624
|
type: "speech_models_list_request";
|
|
28082
27625
|
requestId: string;
|
|
@@ -28154,10 +27697,6 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28154
27697
|
requestId: string;
|
|
28155
27698
|
agentId: string;
|
|
28156
27699
|
response: AgentPermissionResponse;
|
|
28157
|
-
} | {
|
|
28158
|
-
type: "git_diff_request";
|
|
28159
|
-
requestId: string;
|
|
28160
|
-
agentId: string;
|
|
28161
27700
|
} | {
|
|
28162
27701
|
cwd: string;
|
|
28163
27702
|
type: "checkout_status_request";
|
|
@@ -28224,10 +27763,6 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28224
27763
|
branchName?: string | undefined;
|
|
28225
27764
|
repoRoot?: string | undefined;
|
|
28226
27765
|
worktreePath?: string | undefined;
|
|
28227
|
-
} | {
|
|
28228
|
-
type: "highlighted_diff_request";
|
|
28229
|
-
requestId: string;
|
|
28230
|
-
agentId: string;
|
|
28231
27766
|
} | {
|
|
28232
27767
|
mode: "file" | "list";
|
|
28233
27768
|
type: "file_explorer_request";
|
|
@@ -28338,6 +27873,12 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28338
27873
|
type: "archive_agent_request";
|
|
28339
27874
|
requestId: string;
|
|
28340
27875
|
agentId: string;
|
|
27876
|
+
} | {
|
|
27877
|
+
type: "update_agent_request";
|
|
27878
|
+
requestId: string;
|
|
27879
|
+
agentId: string;
|
|
27880
|
+
labels?: Record<string, string> | undefined;
|
|
27881
|
+
name?: string | undefined;
|
|
28341
27882
|
} | {
|
|
28342
27883
|
type: "set_voice_mode";
|
|
28343
27884
|
enabled: boolean;
|
|
@@ -28432,6 +27973,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28432
27973
|
}[] | undefined;
|
|
28433
27974
|
worktreeName?: string | undefined;
|
|
28434
27975
|
initialPrompt?: string | undefined;
|
|
27976
|
+
outputSchema?: Record<string, unknown> | undefined;
|
|
28435
27977
|
git?: {
|
|
28436
27978
|
baseBranch?: string | undefined;
|
|
28437
27979
|
createNewBranch?: boolean | undefined;
|
|
@@ -28444,6 +27986,9 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28444
27986
|
type: "list_provider_models_request";
|
|
28445
27987
|
requestId: string;
|
|
28446
27988
|
cwd?: string | undefined;
|
|
27989
|
+
} | {
|
|
27990
|
+
type: "list_available_providers_request";
|
|
27991
|
+
requestId: string;
|
|
28447
27992
|
} | {
|
|
28448
27993
|
type: "speech_models_list_request";
|
|
28449
27994
|
requestId: string;
|
|
@@ -28521,10 +28066,6 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28521
28066
|
requestId: string;
|
|
28522
28067
|
agentId: string;
|
|
28523
28068
|
response: AgentPermissionResponse;
|
|
28524
|
-
} | {
|
|
28525
|
-
type: "git_diff_request";
|
|
28526
|
-
requestId: string;
|
|
28527
|
-
agentId: string;
|
|
28528
28069
|
} | {
|
|
28529
28070
|
cwd: string;
|
|
28530
28071
|
type: "checkout_status_request";
|
|
@@ -28591,10 +28132,6 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28591
28132
|
branchName?: string | undefined;
|
|
28592
28133
|
repoRoot?: string | undefined;
|
|
28593
28134
|
worktreePath?: string | undefined;
|
|
28594
|
-
} | {
|
|
28595
|
-
type: "highlighted_diff_request";
|
|
28596
|
-
requestId: string;
|
|
28597
|
-
agentId: string;
|
|
28598
28135
|
} | {
|
|
28599
28136
|
mode: "file" | "list";
|
|
28600
28137
|
type: "file_explorer_request";
|
|
@@ -31577,6 +31114,40 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
31577
31114
|
agentId: string;
|
|
31578
31115
|
accepted: boolean;
|
|
31579
31116
|
};
|
|
31117
|
+
}>, z.ZodObject<{
|
|
31118
|
+
type: z.ZodLiteral<"update_agent_response">;
|
|
31119
|
+
payload: z.ZodObject<{
|
|
31120
|
+
requestId: z.ZodString;
|
|
31121
|
+
agentId: z.ZodString;
|
|
31122
|
+
accepted: z.ZodBoolean;
|
|
31123
|
+
error: z.ZodNullable<z.ZodString>;
|
|
31124
|
+
}, "strip", z.ZodTypeAny, {
|
|
31125
|
+
error: string | null;
|
|
31126
|
+
requestId: string;
|
|
31127
|
+
agentId: string;
|
|
31128
|
+
accepted: boolean;
|
|
31129
|
+
}, {
|
|
31130
|
+
error: string | null;
|
|
31131
|
+
requestId: string;
|
|
31132
|
+
agentId: string;
|
|
31133
|
+
accepted: boolean;
|
|
31134
|
+
}>;
|
|
31135
|
+
}, "strip", z.ZodTypeAny, {
|
|
31136
|
+
type: "update_agent_response";
|
|
31137
|
+
payload: {
|
|
31138
|
+
error: string | null;
|
|
31139
|
+
requestId: string;
|
|
31140
|
+
agentId: string;
|
|
31141
|
+
accepted: boolean;
|
|
31142
|
+
};
|
|
31143
|
+
}, {
|
|
31144
|
+
type: "update_agent_response";
|
|
31145
|
+
payload: {
|
|
31146
|
+
error: string | null;
|
|
31147
|
+
requestId: string;
|
|
31148
|
+
agentId: string;
|
|
31149
|
+
accepted: boolean;
|
|
31150
|
+
};
|
|
31580
31151
|
}>, z.ZodObject<{
|
|
31581
31152
|
type: z.ZodLiteral<"wait_for_finish_response">;
|
|
31582
31153
|
payload: z.ZodObject<{
|
|
@@ -31656,6 +31227,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
31656
31227
|
lastError?: string | undefined;
|
|
31657
31228
|
}>>;
|
|
31658
31229
|
error: z.ZodNullable<z.ZodString>;
|
|
31230
|
+
lastMessage: z.ZodNullable<z.ZodString>;
|
|
31659
31231
|
}, "strip", z.ZodTypeAny, {
|
|
31660
31232
|
error: string | null;
|
|
31661
31233
|
status: "idle" | "error" | "permission" | "timeout";
|
|
@@ -31685,6 +31257,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
31685
31257
|
lastUsage?: AgentUsage | undefined;
|
|
31686
31258
|
lastError?: string | undefined;
|
|
31687
31259
|
} | null;
|
|
31260
|
+
lastMessage: string | null;
|
|
31688
31261
|
}, {
|
|
31689
31262
|
error: string | null;
|
|
31690
31263
|
status: "idle" | "error" | "permission" | "timeout";
|
|
@@ -31714,6 +31287,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
31714
31287
|
lastUsage?: AgentUsage | undefined;
|
|
31715
31288
|
lastError?: string | undefined;
|
|
31716
31289
|
} | null;
|
|
31290
|
+
lastMessage: string | null;
|
|
31717
31291
|
}>;
|
|
31718
31292
|
}, "strip", z.ZodTypeAny, {
|
|
31719
31293
|
type: "wait_for_finish_response";
|
|
@@ -31746,6 +31320,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
31746
31320
|
lastUsage?: AgentUsage | undefined;
|
|
31747
31321
|
lastError?: string | undefined;
|
|
31748
31322
|
} | null;
|
|
31323
|
+
lastMessage: string | null;
|
|
31749
31324
|
};
|
|
31750
31325
|
}, {
|
|
31751
31326
|
type: "wait_for_finish_response";
|
|
@@ -31778,6 +31353,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
31778
31353
|
lastUsage?: AgentUsage | undefined;
|
|
31779
31354
|
lastError?: string | undefined;
|
|
31780
31355
|
} | null;
|
|
31356
|
+
lastMessage: string | null;
|
|
31781
31357
|
};
|
|
31782
31358
|
}>, z.ZodObject<{
|
|
31783
31359
|
type: z.ZodLiteral<"agent_permission_request">;
|
|
@@ -31885,40 +31461,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
31885
31461
|
requestId: string;
|
|
31886
31462
|
agentId: string;
|
|
31887
31463
|
};
|
|
31888
|
-
}>, z.ZodObject<{
|
|
31889
|
-
type: z.ZodLiteral<"git_diff_response">;
|
|
31890
|
-
payload: z.ZodObject<{
|
|
31891
|
-
agentId: z.ZodString;
|
|
31892
|
-
diff: z.ZodString;
|
|
31893
|
-
error: z.ZodNullable<z.ZodString>;
|
|
31894
|
-
requestId: z.ZodString;
|
|
31895
|
-
}, "strip", z.ZodTypeAny, {
|
|
31896
|
-
error: string | null;
|
|
31897
|
-
requestId: string;
|
|
31898
|
-
agentId: string;
|
|
31899
|
-
diff: string;
|
|
31900
|
-
}, {
|
|
31901
|
-
error: string | null;
|
|
31902
|
-
requestId: string;
|
|
31903
|
-
agentId: string;
|
|
31904
|
-
diff: string;
|
|
31905
|
-
}>;
|
|
31906
|
-
}, "strip", z.ZodTypeAny, {
|
|
31907
|
-
type: "git_diff_response";
|
|
31908
|
-
payload: {
|
|
31909
|
-
error: string | null;
|
|
31910
|
-
requestId: string;
|
|
31911
|
-
agentId: string;
|
|
31912
|
-
diff: string;
|
|
31913
|
-
};
|
|
31914
|
-
}, {
|
|
31915
|
-
type: "git_diff_response";
|
|
31916
|
-
payload: {
|
|
31917
|
-
error: string | null;
|
|
31918
|
-
requestId: string;
|
|
31919
|
-
agentId: string;
|
|
31920
|
-
diff: string;
|
|
31921
|
-
};
|
|
31922
31464
|
}>, z.ZodObject<{
|
|
31923
31465
|
type: z.ZodLiteral<"checkout_status_response">;
|
|
31924
31466
|
payload: z.ZodUnion<[z.ZodObject<{
|
|
@@ -33056,6 +32598,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
33056
32598
|
baseRefName: string;
|
|
33057
32599
|
headRefName: string;
|
|
33058
32600
|
}>>;
|
|
32601
|
+
githubFeaturesEnabled: z.ZodBoolean;
|
|
33059
32602
|
error: z.ZodNullable<z.ZodObject<{
|
|
33060
32603
|
code: z.ZodEnum<["NOT_GIT_REPO", "NOT_ALLOWED", "MERGE_CONFLICT", "UNKNOWN"]>;
|
|
33061
32604
|
message: z.ZodString;
|
|
@@ -33081,6 +32624,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
33081
32624
|
headRefName: string;
|
|
33082
32625
|
} | null;
|
|
33083
32626
|
requestId: string;
|
|
32627
|
+
githubFeaturesEnabled: boolean;
|
|
33084
32628
|
}, {
|
|
33085
32629
|
error: {
|
|
33086
32630
|
code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
|
|
@@ -33095,6 +32639,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
33095
32639
|
headRefName: string;
|
|
33096
32640
|
} | null;
|
|
33097
32641
|
requestId: string;
|
|
32642
|
+
githubFeaturesEnabled: boolean;
|
|
33098
32643
|
}>;
|
|
33099
32644
|
}, "strip", z.ZodTypeAny, {
|
|
33100
32645
|
type: "checkout_pr_status_response";
|
|
@@ -33112,6 +32657,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
33112
32657
|
headRefName: string;
|
|
33113
32658
|
} | null;
|
|
33114
32659
|
requestId: string;
|
|
32660
|
+
githubFeaturesEnabled: boolean;
|
|
33115
32661
|
};
|
|
33116
32662
|
}, {
|
|
33117
32663
|
type: "checkout_pr_status_response";
|
|
@@ -33129,6 +32675,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
33129
32675
|
headRefName: string;
|
|
33130
32676
|
} | null;
|
|
33131
32677
|
requestId: string;
|
|
32678
|
+
githubFeaturesEnabled: boolean;
|
|
33132
32679
|
};
|
|
33133
32680
|
}>, z.ZodObject<{
|
|
33134
32681
|
type: z.ZodLiteral<"validate_branch_response">;
|
|
@@ -33302,233 +32849,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
33302
32849
|
success: boolean;
|
|
33303
32850
|
removedAgents?: string[] | undefined;
|
|
33304
32851
|
};
|
|
33305
|
-
}>, z.ZodObject<{
|
|
33306
|
-
type: z.ZodLiteral<"highlighted_diff_response">;
|
|
33307
|
-
payload: z.ZodObject<{
|
|
33308
|
-
agentId: z.ZodString;
|
|
33309
|
-
files: z.ZodArray<z.ZodObject<{
|
|
33310
|
-
path: z.ZodString;
|
|
33311
|
-
isNew: z.ZodBoolean;
|
|
33312
|
-
isDeleted: z.ZodBoolean;
|
|
33313
|
-
additions: z.ZodNumber;
|
|
33314
|
-
deletions: z.ZodNumber;
|
|
33315
|
-
hunks: z.ZodArray<z.ZodObject<{
|
|
33316
|
-
oldStart: z.ZodNumber;
|
|
33317
|
-
oldCount: z.ZodNumber;
|
|
33318
|
-
newStart: z.ZodNumber;
|
|
33319
|
-
newCount: z.ZodNumber;
|
|
33320
|
-
lines: z.ZodArray<z.ZodObject<{
|
|
33321
|
-
type: z.ZodEnum<["add", "remove", "context", "header"]>;
|
|
33322
|
-
content: z.ZodString;
|
|
33323
|
-
tokens: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
33324
|
-
text: z.ZodString;
|
|
33325
|
-
style: z.ZodNullable<z.ZodString>;
|
|
33326
|
-
}, "strip", z.ZodTypeAny, {
|
|
33327
|
-
text: string;
|
|
33328
|
-
style: string | null;
|
|
33329
|
-
}, {
|
|
33330
|
-
text: string;
|
|
33331
|
-
style: string | null;
|
|
33332
|
-
}>, "many">>;
|
|
33333
|
-
}, "strip", z.ZodTypeAny, {
|
|
33334
|
-
type: "add" | "remove" | "context" | "header";
|
|
33335
|
-
content: string;
|
|
33336
|
-
tokens?: {
|
|
33337
|
-
text: string;
|
|
33338
|
-
style: string | null;
|
|
33339
|
-
}[] | undefined;
|
|
33340
|
-
}, {
|
|
33341
|
-
type: "add" | "remove" | "context" | "header";
|
|
33342
|
-
content: string;
|
|
33343
|
-
tokens?: {
|
|
33344
|
-
text: string;
|
|
33345
|
-
style: string | null;
|
|
33346
|
-
}[] | undefined;
|
|
33347
|
-
}>, "many">;
|
|
33348
|
-
}, "strip", z.ZodTypeAny, {
|
|
33349
|
-
oldStart: number;
|
|
33350
|
-
oldCount: number;
|
|
33351
|
-
newStart: number;
|
|
33352
|
-
newCount: number;
|
|
33353
|
-
lines: {
|
|
33354
|
-
type: "add" | "remove" | "context" | "header";
|
|
33355
|
-
content: string;
|
|
33356
|
-
tokens?: {
|
|
33357
|
-
text: string;
|
|
33358
|
-
style: string | null;
|
|
33359
|
-
}[] | undefined;
|
|
33360
|
-
}[];
|
|
33361
|
-
}, {
|
|
33362
|
-
oldStart: number;
|
|
33363
|
-
oldCount: number;
|
|
33364
|
-
newStart: number;
|
|
33365
|
-
newCount: number;
|
|
33366
|
-
lines: {
|
|
33367
|
-
type: "add" | "remove" | "context" | "header";
|
|
33368
|
-
content: string;
|
|
33369
|
-
tokens?: {
|
|
33370
|
-
text: string;
|
|
33371
|
-
style: string | null;
|
|
33372
|
-
}[] | undefined;
|
|
33373
|
-
}[];
|
|
33374
|
-
}>, "many">;
|
|
33375
|
-
status: z.ZodOptional<z.ZodEnum<["ok", "too_large", "binary"]>>;
|
|
33376
|
-
}, "strip", z.ZodTypeAny, {
|
|
33377
|
-
path: string;
|
|
33378
|
-
isNew: boolean;
|
|
33379
|
-
isDeleted: boolean;
|
|
33380
|
-
additions: number;
|
|
33381
|
-
deletions: number;
|
|
33382
|
-
hunks: {
|
|
33383
|
-
oldStart: number;
|
|
33384
|
-
oldCount: number;
|
|
33385
|
-
newStart: number;
|
|
33386
|
-
newCount: number;
|
|
33387
|
-
lines: {
|
|
33388
|
-
type: "add" | "remove" | "context" | "header";
|
|
33389
|
-
content: string;
|
|
33390
|
-
tokens?: {
|
|
33391
|
-
text: string;
|
|
33392
|
-
style: string | null;
|
|
33393
|
-
}[] | undefined;
|
|
33394
|
-
}[];
|
|
33395
|
-
}[];
|
|
33396
|
-
status?: "ok" | "too_large" | "binary" | undefined;
|
|
33397
|
-
}, {
|
|
33398
|
-
path: string;
|
|
33399
|
-
isNew: boolean;
|
|
33400
|
-
isDeleted: boolean;
|
|
33401
|
-
additions: number;
|
|
33402
|
-
deletions: number;
|
|
33403
|
-
hunks: {
|
|
33404
|
-
oldStart: number;
|
|
33405
|
-
oldCount: number;
|
|
33406
|
-
newStart: number;
|
|
33407
|
-
newCount: number;
|
|
33408
|
-
lines: {
|
|
33409
|
-
type: "add" | "remove" | "context" | "header";
|
|
33410
|
-
content: string;
|
|
33411
|
-
tokens?: {
|
|
33412
|
-
text: string;
|
|
33413
|
-
style: string | null;
|
|
33414
|
-
}[] | undefined;
|
|
33415
|
-
}[];
|
|
33416
|
-
}[];
|
|
33417
|
-
status?: "ok" | "too_large" | "binary" | undefined;
|
|
33418
|
-
}>, "many">;
|
|
33419
|
-
error: z.ZodNullable<z.ZodString>;
|
|
33420
|
-
requestId: z.ZodString;
|
|
33421
|
-
}, "strip", z.ZodTypeAny, {
|
|
33422
|
-
error: string | null;
|
|
33423
|
-
requestId: string;
|
|
33424
|
-
agentId: string;
|
|
33425
|
-
files: {
|
|
33426
|
-
path: string;
|
|
33427
|
-
isNew: boolean;
|
|
33428
|
-
isDeleted: boolean;
|
|
33429
|
-
additions: number;
|
|
33430
|
-
deletions: number;
|
|
33431
|
-
hunks: {
|
|
33432
|
-
oldStart: number;
|
|
33433
|
-
oldCount: number;
|
|
33434
|
-
newStart: number;
|
|
33435
|
-
newCount: number;
|
|
33436
|
-
lines: {
|
|
33437
|
-
type: "add" | "remove" | "context" | "header";
|
|
33438
|
-
content: string;
|
|
33439
|
-
tokens?: {
|
|
33440
|
-
text: string;
|
|
33441
|
-
style: string | null;
|
|
33442
|
-
}[] | undefined;
|
|
33443
|
-
}[];
|
|
33444
|
-
}[];
|
|
33445
|
-
status?: "ok" | "too_large" | "binary" | undefined;
|
|
33446
|
-
}[];
|
|
33447
|
-
}, {
|
|
33448
|
-
error: string | null;
|
|
33449
|
-
requestId: string;
|
|
33450
|
-
agentId: string;
|
|
33451
|
-
files: {
|
|
33452
|
-
path: string;
|
|
33453
|
-
isNew: boolean;
|
|
33454
|
-
isDeleted: boolean;
|
|
33455
|
-
additions: number;
|
|
33456
|
-
deletions: number;
|
|
33457
|
-
hunks: {
|
|
33458
|
-
oldStart: number;
|
|
33459
|
-
oldCount: number;
|
|
33460
|
-
newStart: number;
|
|
33461
|
-
newCount: number;
|
|
33462
|
-
lines: {
|
|
33463
|
-
type: "add" | "remove" | "context" | "header";
|
|
33464
|
-
content: string;
|
|
33465
|
-
tokens?: {
|
|
33466
|
-
text: string;
|
|
33467
|
-
style: string | null;
|
|
33468
|
-
}[] | undefined;
|
|
33469
|
-
}[];
|
|
33470
|
-
}[];
|
|
33471
|
-
status?: "ok" | "too_large" | "binary" | undefined;
|
|
33472
|
-
}[];
|
|
33473
|
-
}>;
|
|
33474
|
-
}, "strip", z.ZodTypeAny, {
|
|
33475
|
-
type: "highlighted_diff_response";
|
|
33476
|
-
payload: {
|
|
33477
|
-
error: string | null;
|
|
33478
|
-
requestId: string;
|
|
33479
|
-
agentId: string;
|
|
33480
|
-
files: {
|
|
33481
|
-
path: string;
|
|
33482
|
-
isNew: boolean;
|
|
33483
|
-
isDeleted: boolean;
|
|
33484
|
-
additions: number;
|
|
33485
|
-
deletions: number;
|
|
33486
|
-
hunks: {
|
|
33487
|
-
oldStart: number;
|
|
33488
|
-
oldCount: number;
|
|
33489
|
-
newStart: number;
|
|
33490
|
-
newCount: number;
|
|
33491
|
-
lines: {
|
|
33492
|
-
type: "add" | "remove" | "context" | "header";
|
|
33493
|
-
content: string;
|
|
33494
|
-
tokens?: {
|
|
33495
|
-
text: string;
|
|
33496
|
-
style: string | null;
|
|
33497
|
-
}[] | undefined;
|
|
33498
|
-
}[];
|
|
33499
|
-
}[];
|
|
33500
|
-
status?: "ok" | "too_large" | "binary" | undefined;
|
|
33501
|
-
}[];
|
|
33502
|
-
};
|
|
33503
|
-
}, {
|
|
33504
|
-
type: "highlighted_diff_response";
|
|
33505
|
-
payload: {
|
|
33506
|
-
error: string | null;
|
|
33507
|
-
requestId: string;
|
|
33508
|
-
agentId: string;
|
|
33509
|
-
files: {
|
|
33510
|
-
path: string;
|
|
33511
|
-
isNew: boolean;
|
|
33512
|
-
isDeleted: boolean;
|
|
33513
|
-
additions: number;
|
|
33514
|
-
deletions: number;
|
|
33515
|
-
hunks: {
|
|
33516
|
-
oldStart: number;
|
|
33517
|
-
oldCount: number;
|
|
33518
|
-
newStart: number;
|
|
33519
|
-
newCount: number;
|
|
33520
|
-
lines: {
|
|
33521
|
-
type: "add" | "remove" | "context" | "header";
|
|
33522
|
-
content: string;
|
|
33523
|
-
tokens?: {
|
|
33524
|
-
text: string;
|
|
33525
|
-
style: string | null;
|
|
33526
|
-
}[] | undefined;
|
|
33527
|
-
}[];
|
|
33528
|
-
}[];
|
|
33529
|
-
status?: "ok" | "too_large" | "binary" | undefined;
|
|
33530
|
-
}[];
|
|
33531
|
-
};
|
|
33532
32852
|
}>, z.ZodObject<{
|
|
33533
32853
|
type: z.ZodLiteral<"file_explorer_response">;
|
|
33534
32854
|
payload: z.ZodObject<{
|
|
@@ -33857,6 +33177,68 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
33857
33177
|
error?: string | null | undefined;
|
|
33858
33178
|
models?: AgentModelDefinition[] | undefined;
|
|
33859
33179
|
};
|
|
33180
|
+
}>, z.ZodObject<{
|
|
33181
|
+
type: z.ZodLiteral<"list_available_providers_response">;
|
|
33182
|
+
payload: z.ZodObject<{
|
|
33183
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
33184
|
+
provider: z.ZodEnum<[string, ...string[]]>;
|
|
33185
|
+
available: z.ZodBoolean;
|
|
33186
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33187
|
+
}, "strip", z.ZodTypeAny, {
|
|
33188
|
+
provider: string;
|
|
33189
|
+
available: boolean;
|
|
33190
|
+
error?: string | null | undefined;
|
|
33191
|
+
}, {
|
|
33192
|
+
provider: string;
|
|
33193
|
+
available: boolean;
|
|
33194
|
+
error?: string | null | undefined;
|
|
33195
|
+
}>, "many">;
|
|
33196
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33197
|
+
fetchedAt: z.ZodString;
|
|
33198
|
+
requestId: z.ZodString;
|
|
33199
|
+
}, "strip", z.ZodTypeAny, {
|
|
33200
|
+
requestId: string;
|
|
33201
|
+
fetchedAt: string;
|
|
33202
|
+
providers: {
|
|
33203
|
+
provider: string;
|
|
33204
|
+
available: boolean;
|
|
33205
|
+
error?: string | null | undefined;
|
|
33206
|
+
}[];
|
|
33207
|
+
error?: string | null | undefined;
|
|
33208
|
+
}, {
|
|
33209
|
+
requestId: string;
|
|
33210
|
+
fetchedAt: string;
|
|
33211
|
+
providers: {
|
|
33212
|
+
provider: string;
|
|
33213
|
+
available: boolean;
|
|
33214
|
+
error?: string | null | undefined;
|
|
33215
|
+
}[];
|
|
33216
|
+
error?: string | null | undefined;
|
|
33217
|
+
}>;
|
|
33218
|
+
}, "strip", z.ZodTypeAny, {
|
|
33219
|
+
type: "list_available_providers_response";
|
|
33220
|
+
payload: {
|
|
33221
|
+
requestId: string;
|
|
33222
|
+
fetchedAt: string;
|
|
33223
|
+
providers: {
|
|
33224
|
+
provider: string;
|
|
33225
|
+
available: boolean;
|
|
33226
|
+
error?: string | null | undefined;
|
|
33227
|
+
}[];
|
|
33228
|
+
error?: string | null | undefined;
|
|
33229
|
+
};
|
|
33230
|
+
}, {
|
|
33231
|
+
type: "list_available_providers_response";
|
|
33232
|
+
payload: {
|
|
33233
|
+
requestId: string;
|
|
33234
|
+
fetchedAt: string;
|
|
33235
|
+
providers: {
|
|
33236
|
+
provider: string;
|
|
33237
|
+
available: boolean;
|
|
33238
|
+
error?: string | null | undefined;
|
|
33239
|
+
}[];
|
|
33240
|
+
error?: string | null | undefined;
|
|
33241
|
+
};
|
|
33860
33242
|
}>, z.ZodObject<{
|
|
33861
33243
|
type: z.ZodLiteral<"speech_models_list_response">;
|
|
33862
33244
|
payload: z.ZodObject<{
|
|
@@ -34785,6 +34167,14 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
34785
34167
|
agentId: string;
|
|
34786
34168
|
accepted: boolean;
|
|
34787
34169
|
};
|
|
34170
|
+
} | {
|
|
34171
|
+
type: "update_agent_response";
|
|
34172
|
+
payload: {
|
|
34173
|
+
error: string | null;
|
|
34174
|
+
requestId: string;
|
|
34175
|
+
agentId: string;
|
|
34176
|
+
accepted: boolean;
|
|
34177
|
+
};
|
|
34788
34178
|
} | {
|
|
34789
34179
|
type: "set_voice_mode_response";
|
|
34790
34180
|
payload: {
|
|
@@ -35231,6 +34621,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35231
34621
|
lastUsage?: AgentUsage | undefined;
|
|
35232
34622
|
lastError?: string | undefined;
|
|
35233
34623
|
} | null;
|
|
34624
|
+
lastMessage: string | null;
|
|
35234
34625
|
};
|
|
35235
34626
|
} | {
|
|
35236
34627
|
type: "agent_permission_request";
|
|
@@ -35258,14 +34649,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35258
34649
|
requestId: string;
|
|
35259
34650
|
agentId: string;
|
|
35260
34651
|
};
|
|
35261
|
-
} | {
|
|
35262
|
-
type: "git_diff_response";
|
|
35263
|
-
payload: {
|
|
35264
|
-
error: string | null;
|
|
35265
|
-
requestId: string;
|
|
35266
|
-
agentId: string;
|
|
35267
|
-
diff: string;
|
|
35268
|
-
};
|
|
35269
34652
|
} | {
|
|
35270
34653
|
type: "checkout_status_response";
|
|
35271
34654
|
payload: {
|
|
@@ -35464,6 +34847,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35464
34847
|
headRefName: string;
|
|
35465
34848
|
} | null;
|
|
35466
34849
|
requestId: string;
|
|
34850
|
+
githubFeaturesEnabled: boolean;
|
|
35467
34851
|
};
|
|
35468
34852
|
} | {
|
|
35469
34853
|
type: "validate_branch_response";
|
|
@@ -35499,35 +34883,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35499
34883
|
success: boolean;
|
|
35500
34884
|
removedAgents?: string[] | undefined;
|
|
35501
34885
|
};
|
|
35502
|
-
} | {
|
|
35503
|
-
type: "highlighted_diff_response";
|
|
35504
|
-
payload: {
|
|
35505
|
-
error: string | null;
|
|
35506
|
-
requestId: string;
|
|
35507
|
-
agentId: string;
|
|
35508
|
-
files: {
|
|
35509
|
-
path: string;
|
|
35510
|
-
isNew: boolean;
|
|
35511
|
-
isDeleted: boolean;
|
|
35512
|
-
additions: number;
|
|
35513
|
-
deletions: number;
|
|
35514
|
-
hunks: {
|
|
35515
|
-
oldStart: number;
|
|
35516
|
-
oldCount: number;
|
|
35517
|
-
newStart: number;
|
|
35518
|
-
newCount: number;
|
|
35519
|
-
lines: {
|
|
35520
|
-
type: "add" | "remove" | "context" | "header";
|
|
35521
|
-
content: string;
|
|
35522
|
-
tokens?: {
|
|
35523
|
-
text: string;
|
|
35524
|
-
style: string | null;
|
|
35525
|
-
}[] | undefined;
|
|
35526
|
-
}[];
|
|
35527
|
-
}[];
|
|
35528
|
-
status?: "ok" | "too_large" | "binary" | undefined;
|
|
35529
|
-
}[];
|
|
35530
|
-
};
|
|
35531
34886
|
} | {
|
|
35532
34887
|
type: "file_explorer_response";
|
|
35533
34888
|
payload: {
|
|
@@ -35588,6 +34943,18 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35588
34943
|
error?: string | null | undefined;
|
|
35589
34944
|
models?: AgentModelDefinition[] | undefined;
|
|
35590
34945
|
};
|
|
34946
|
+
} | {
|
|
34947
|
+
type: "list_available_providers_response";
|
|
34948
|
+
payload: {
|
|
34949
|
+
requestId: string;
|
|
34950
|
+
fetchedAt: string;
|
|
34951
|
+
providers: {
|
|
34952
|
+
provider: string;
|
|
34953
|
+
available: boolean;
|
|
34954
|
+
error?: string | null | undefined;
|
|
34955
|
+
}[];
|
|
34956
|
+
error?: string | null | undefined;
|
|
34957
|
+
};
|
|
35591
34958
|
} | {
|
|
35592
34959
|
type: "speech_models_list_response";
|
|
35593
34960
|
payload: {
|
|
@@ -35766,6 +35133,14 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35766
35133
|
agentId: string;
|
|
35767
35134
|
accepted: boolean;
|
|
35768
35135
|
};
|
|
35136
|
+
} | {
|
|
35137
|
+
type: "update_agent_response";
|
|
35138
|
+
payload: {
|
|
35139
|
+
error: string | null;
|
|
35140
|
+
requestId: string;
|
|
35141
|
+
agentId: string;
|
|
35142
|
+
accepted: boolean;
|
|
35143
|
+
};
|
|
35769
35144
|
} | {
|
|
35770
35145
|
type: "set_voice_mode_response";
|
|
35771
35146
|
payload: {
|
|
@@ -36212,6 +35587,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
36212
35587
|
lastUsage?: AgentUsage | undefined;
|
|
36213
35588
|
lastError?: string | undefined;
|
|
36214
35589
|
} | null;
|
|
35590
|
+
lastMessage: string | null;
|
|
36215
35591
|
};
|
|
36216
35592
|
} | {
|
|
36217
35593
|
type: "agent_permission_request";
|
|
@@ -36239,14 +35615,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
36239
35615
|
requestId: string;
|
|
36240
35616
|
agentId: string;
|
|
36241
35617
|
};
|
|
36242
|
-
} | {
|
|
36243
|
-
type: "git_diff_response";
|
|
36244
|
-
payload: {
|
|
36245
|
-
error: string | null;
|
|
36246
|
-
requestId: string;
|
|
36247
|
-
agentId: string;
|
|
36248
|
-
diff: string;
|
|
36249
|
-
};
|
|
36250
35618
|
} | {
|
|
36251
35619
|
type: "checkout_status_response";
|
|
36252
35620
|
payload: {
|
|
@@ -36445,6 +35813,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
36445
35813
|
headRefName: string;
|
|
36446
35814
|
} | null;
|
|
36447
35815
|
requestId: string;
|
|
35816
|
+
githubFeaturesEnabled: boolean;
|
|
36448
35817
|
};
|
|
36449
35818
|
} | {
|
|
36450
35819
|
type: "validate_branch_response";
|
|
@@ -36480,35 +35849,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
36480
35849
|
success: boolean;
|
|
36481
35850
|
removedAgents?: string[] | undefined;
|
|
36482
35851
|
};
|
|
36483
|
-
} | {
|
|
36484
|
-
type: "highlighted_diff_response";
|
|
36485
|
-
payload: {
|
|
36486
|
-
error: string | null;
|
|
36487
|
-
requestId: string;
|
|
36488
|
-
agentId: string;
|
|
36489
|
-
files: {
|
|
36490
|
-
path: string;
|
|
36491
|
-
isNew: boolean;
|
|
36492
|
-
isDeleted: boolean;
|
|
36493
|
-
additions: number;
|
|
36494
|
-
deletions: number;
|
|
36495
|
-
hunks: {
|
|
36496
|
-
oldStart: number;
|
|
36497
|
-
oldCount: number;
|
|
36498
|
-
newStart: number;
|
|
36499
|
-
newCount: number;
|
|
36500
|
-
lines: {
|
|
36501
|
-
type: "add" | "remove" | "context" | "header";
|
|
36502
|
-
content: string;
|
|
36503
|
-
tokens?: {
|
|
36504
|
-
text: string;
|
|
36505
|
-
style: string | null;
|
|
36506
|
-
}[] | undefined;
|
|
36507
|
-
}[];
|
|
36508
|
-
}[];
|
|
36509
|
-
status?: "ok" | "too_large" | "binary" | undefined;
|
|
36510
|
-
}[];
|
|
36511
|
-
};
|
|
36512
35852
|
} | {
|
|
36513
35853
|
type: "file_explorer_response";
|
|
36514
35854
|
payload: {
|
|
@@ -36569,6 +35909,18 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
36569
35909
|
error?: string | null | undefined;
|
|
36570
35910
|
models?: AgentModelDefinition[] | undefined;
|
|
36571
35911
|
};
|
|
35912
|
+
} | {
|
|
35913
|
+
type: "list_available_providers_response";
|
|
35914
|
+
payload: {
|
|
35915
|
+
requestId: string;
|
|
35916
|
+
fetchedAt: string;
|
|
35917
|
+
providers: {
|
|
35918
|
+
provider: string;
|
|
35919
|
+
available: boolean;
|
|
35920
|
+
error?: string | null | undefined;
|
|
35921
|
+
}[];
|
|
35922
|
+
error?: string | null | undefined;
|
|
35923
|
+
};
|
|
36572
35924
|
} | {
|
|
36573
35925
|
type: "speech_models_list_response";
|
|
36574
35926
|
payload: {
|