@opencow-ai/opencow-agent-sdk 0.4.21 → 0.4.23
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/capabilities/lsp/LSPServerManager.d.ts +2 -1
- package/dist/capabilities/mcp/types.d.ts +3 -3
- package/dist/capabilities/plugins/loadPluginAgents.d.ts +6 -0
- package/dist/capabilities/plugins/loadPluginCommands.d.ts +10 -0
- package/dist/capabilities/plugins/loadPluginHooks.d.ts +5 -0
- package/dist/capabilities/plugins/loadPluginOutputStyles.d.ts +6 -0
- package/dist/capabilities/plugins/lspPluginIntegration.d.ts +1 -0
- package/dist/capabilities/plugins/mcpPluginIntegration.d.ts +1 -0
- package/dist/capabilities/plugins/pluginOptionsStorage.d.ts +1 -0
- package/dist/capabilities/plugins/schemas.d.ts +4 -4
- package/dist/capabilities/plugins/sdkPluginRuntime.d.ts +35 -0
- package/dist/capabilities/todo/types.d.ts +2 -2
- package/dist/capabilities/tools/AgentTool/AgentTool.d.ts +8 -8
- package/dist/capabilities/tools/AgentTool/inputSchema.d.ts +3 -3
- package/dist/capabilities/tools/AgentTool/loadAgentsDir.d.ts +4 -0
- package/dist/capabilities/tools/TodoWriteTool/TodoWriteTool.d.ts +10 -10
- package/dist/cli.mjs +11952 -11679
- package/dist/client.d.ts +2 -0
- package/dist/client.js +8778 -3479
- package/dist/entrypoints/sdk/controlSchemas.d.ts +139 -139
- package/dist/entrypoints/sdk/coreSchemas.d.ts +57 -57
- package/dist/entrypoints/sdk/runtimeTypes.d.ts +82 -1
- package/dist/permissions/PermissionMode.d.ts +2 -2
- package/dist/permissions/PermissionPromptToolResultSchema.d.ts +1 -1
- package/dist/permissions/PermissionUpdateSchema.d.ts +1 -1
- package/dist/providers/anthropic/teleport/api.d.ts +3 -3
- package/dist/providers/shared/requestSideChannels.d.ts +6 -0
- package/dist/sdk.js +8778 -3479
- package/dist/session/layout/schemas.d.ts +12 -12
- package/dist/session/settings/types.d.ts +3 -3
- package/dist/session/state/als.d.ts +16 -0
- package/dist/session/state/index.d.ts +1 -1
- package/dist/session/state/registries.d.ts +4 -0
- package/dist/session/state/types.d.ts +4 -0
- package/dist/session/tasks.d.ts +2 -2
- package/dist/session/teammateMailbox.d.ts +2 -2
- package/dist/types/command.d.ts +2 -0
- package/dist/types/plugin.d.ts +2 -0
- package/package.json +1 -1
|
@@ -81,9 +81,9 @@ export declare const SDKControlInitializeRequestSchema: () => z.ZodObject<{
|
|
|
81
81
|
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
82
82
|
background: z.ZodOptional<z.ZodBoolean>;
|
|
83
83
|
memory: z.ZodOptional<z.ZodEnum<{
|
|
84
|
+
local: "local";
|
|
84
85
|
user: "user";
|
|
85
86
|
project: "project";
|
|
86
|
-
local: "local";
|
|
87
87
|
}>>;
|
|
88
88
|
effort: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
89
89
|
low: "low";
|
|
@@ -95,8 +95,8 @@ export declare const SDKControlInitializeRequestSchema: () => z.ZodObject<{
|
|
|
95
95
|
default: "default";
|
|
96
96
|
acceptEdits: "acceptEdits";
|
|
97
97
|
bypassPermissions: "bypassPermissions";
|
|
98
|
-
plan: "plan";
|
|
99
98
|
dontAsk: "dontAsk";
|
|
99
|
+
plan: "plan";
|
|
100
100
|
}>>;
|
|
101
101
|
}, z.core.$strip>>>;
|
|
102
102
|
promptSuggestions: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -217,8 +217,8 @@ export declare const SDKControlPermissionRequestSchema: () => z.ZodObject<{
|
|
|
217
217
|
default: "default";
|
|
218
218
|
acceptEdits: "acceptEdits";
|
|
219
219
|
bypassPermissions: "bypassPermissions";
|
|
220
|
-
plan: "plan";
|
|
221
220
|
dontAsk: "dontAsk";
|
|
221
|
+
plan: "plan";
|
|
222
222
|
}>>;
|
|
223
223
|
destination: z.ZodEnum<{
|
|
224
224
|
userSettings: "userSettings";
|
|
@@ -262,8 +262,8 @@ export declare const SDKControlSetPermissionModeRequestSchema: () => z.ZodObject
|
|
|
262
262
|
default: "default";
|
|
263
263
|
acceptEdits: "acceptEdits";
|
|
264
264
|
bypassPermissions: "bypassPermissions";
|
|
265
|
-
plan: "plan";
|
|
266
265
|
dontAsk: "dontAsk";
|
|
266
|
+
plan: "plan";
|
|
267
267
|
}>;
|
|
268
268
|
ultraplan: z.ZodOptional<z.ZodBoolean>;
|
|
269
269
|
}, z.core.$strip>;
|
|
@@ -282,11 +282,11 @@ export declare const SDKControlMcpStatusResponseSchema: () => z.ZodObject<{
|
|
|
282
282
|
mcpServers: z.ZodArray<z.ZodObject<{
|
|
283
283
|
name: z.ZodString;
|
|
284
284
|
status: z.ZodEnum<{
|
|
285
|
+
pending: "pending";
|
|
285
286
|
disabled: "disabled";
|
|
286
287
|
connected: "connected";
|
|
287
288
|
failed: "failed";
|
|
288
289
|
"needs-auth": "needs-auth";
|
|
289
|
-
pending: "pending";
|
|
290
290
|
}>;
|
|
291
291
|
serverInfo: z.ZodOptional<z.ZodObject<{
|
|
292
292
|
name: z.ZodString;
|
|
@@ -532,9 +532,9 @@ export declare const SDKHookCallbackRequestSchema: () => z.ZodObject<{
|
|
|
532
532
|
}, z.core.$strip>, z.ZodObject<{
|
|
533
533
|
hook_event_name: z.ZodLiteral<"SessionStart">;
|
|
534
534
|
source: z.ZodEnum<{
|
|
535
|
-
startup: "startup";
|
|
536
|
-
resume: "resume";
|
|
537
535
|
clear: "clear";
|
|
536
|
+
resume: "resume";
|
|
537
|
+
startup: "startup";
|
|
538
538
|
compact: "compact";
|
|
539
539
|
}>;
|
|
540
540
|
agent_type: z.ZodOptional<z.ZodString>;
|
|
@@ -549,14 +549,14 @@ export declare const SDKHookCallbackRequestSchema: () => z.ZodObject<{
|
|
|
549
549
|
}, z.core.$strip>, z.ZodObject<{
|
|
550
550
|
hook_event_name: z.ZodLiteral<"SessionEnd">;
|
|
551
551
|
reason: z.ZodEnum<{
|
|
552
|
-
error: "error";
|
|
553
|
-
resume: "resume";
|
|
554
552
|
clear: "clear";
|
|
553
|
+
resume: "resume";
|
|
555
554
|
logout: "logout";
|
|
556
555
|
prompt_input_exit: "prompt_input_exit";
|
|
557
556
|
bypass_permissions_disabled: "bypass_permissions_disabled";
|
|
558
557
|
normal: "normal";
|
|
559
558
|
aborted: "aborted";
|
|
559
|
+
error: "error";
|
|
560
560
|
other: "other";
|
|
561
561
|
}>;
|
|
562
562
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -581,9 +581,9 @@ export declare const SDKHookCallbackRequestSchema: () => z.ZodObject<{
|
|
|
581
581
|
hook_event_name: z.ZodLiteral<"StopFailure">;
|
|
582
582
|
error: z.ZodEnum<{
|
|
583
583
|
unknown: "unknown";
|
|
584
|
+
rate_limit: "rate_limit";
|
|
584
585
|
authentication_failed: "authentication_failed";
|
|
585
586
|
billing_error: "billing_error";
|
|
586
|
-
rate_limit: "rate_limit";
|
|
587
587
|
invalid_request: "invalid_request";
|
|
588
588
|
server_error: "server_error";
|
|
589
589
|
max_output_tokens: "max_output_tokens";
|
|
@@ -618,8 +618,8 @@ export declare const SDKHookCallbackRequestSchema: () => z.ZodObject<{
|
|
|
618
618
|
agent_type: z.ZodString;
|
|
619
619
|
last_assistant_message: z.ZodOptional<z.ZodString>;
|
|
620
620
|
status: z.ZodOptional<z.ZodEnum<{
|
|
621
|
-
failed: "failed";
|
|
622
621
|
completed: "completed";
|
|
622
|
+
failed: "failed";
|
|
623
623
|
stopped: "stopped";
|
|
624
624
|
}>>;
|
|
625
625
|
error_message: z.ZodOptional<z.ZodString>;
|
|
@@ -633,8 +633,8 @@ export declare const SDKHookCallbackRequestSchema: () => z.ZodObject<{
|
|
|
633
633
|
}, z.core.$strip>, z.ZodObject<{
|
|
634
634
|
hook_event_name: z.ZodLiteral<"PreCompact">;
|
|
635
635
|
trigger: z.ZodEnum<{
|
|
636
|
-
manual: "manual";
|
|
637
636
|
auto: "auto";
|
|
637
|
+
manual: "manual";
|
|
638
638
|
}>;
|
|
639
639
|
custom_instructions: z.ZodNullable<z.ZodString>;
|
|
640
640
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -647,8 +647,8 @@ export declare const SDKHookCallbackRequestSchema: () => z.ZodObject<{
|
|
|
647
647
|
}, z.core.$strip>, z.ZodObject<{
|
|
648
648
|
hook_event_name: z.ZodLiteral<"PostCompact">;
|
|
649
649
|
trigger: z.ZodEnum<{
|
|
650
|
-
manual: "manual";
|
|
651
650
|
auto: "auto";
|
|
651
|
+
manual: "manual";
|
|
652
652
|
}>;
|
|
653
653
|
compact_summary: z.ZodString;
|
|
654
654
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -722,8 +722,8 @@ export declare const SDKHookCallbackRequestSchema: () => z.ZodObject<{
|
|
|
722
722
|
default: "default";
|
|
723
723
|
acceptEdits: "acceptEdits";
|
|
724
724
|
bypassPermissions: "bypassPermissions";
|
|
725
|
-
plan: "plan";
|
|
726
725
|
dontAsk: "dontAsk";
|
|
726
|
+
plan: "plan";
|
|
727
727
|
}>>;
|
|
728
728
|
destination: z.ZodEnum<{
|
|
729
729
|
userSettings: "userSettings";
|
|
@@ -854,11 +854,11 @@ export declare const SDKHookCallbackRequestSchema: () => z.ZodObject<{
|
|
|
854
854
|
}, z.core.$strip>, z.ZodObject<{
|
|
855
855
|
hook_event_name: z.ZodLiteral<"ConfigChange">;
|
|
856
856
|
source: z.ZodEnum<{
|
|
857
|
+
skills: "skills";
|
|
857
858
|
user_settings: "user_settings";
|
|
858
859
|
project_settings: "project_settings";
|
|
859
860
|
local_settings: "local_settings";
|
|
860
861
|
policy_settings: "policy_settings";
|
|
861
|
-
skills: "skills";
|
|
862
862
|
}>;
|
|
863
863
|
file_path: z.ZodOptional<z.ZodString>;
|
|
864
864
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -988,11 +988,11 @@ export declare const SDKControlReloadPluginsResponseSchema: () => z.ZodObject<{
|
|
|
988
988
|
mcpServers: z.ZodArray<z.ZodObject<{
|
|
989
989
|
name: z.ZodString;
|
|
990
990
|
status: z.ZodEnum<{
|
|
991
|
+
pending: "pending";
|
|
991
992
|
disabled: "disabled";
|
|
992
993
|
connected: "connected";
|
|
993
994
|
failed: "failed";
|
|
994
995
|
"needs-auth": "needs-auth";
|
|
995
|
-
pending: "pending";
|
|
996
996
|
}>;
|
|
997
997
|
serverInfo: z.ZodOptional<z.ZodObject<{
|
|
998
998
|
name: z.ZodString;
|
|
@@ -1164,8 +1164,8 @@ export declare const SDKControlRequestInnerSchema: () => z.ZodUnion<readonly [z.
|
|
|
1164
1164
|
default: "default";
|
|
1165
1165
|
acceptEdits: "acceptEdits";
|
|
1166
1166
|
bypassPermissions: "bypassPermissions";
|
|
1167
|
-
plan: "plan";
|
|
1168
1167
|
dontAsk: "dontAsk";
|
|
1168
|
+
plan: "plan";
|
|
1169
1169
|
}>>;
|
|
1170
1170
|
destination: z.ZodEnum<{
|
|
1171
1171
|
userSettings: "userSettings";
|
|
@@ -1270,9 +1270,9 @@ export declare const SDKControlRequestInnerSchema: () => z.ZodUnion<readonly [z.
|
|
|
1270
1270
|
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
1271
1271
|
background: z.ZodOptional<z.ZodBoolean>;
|
|
1272
1272
|
memory: z.ZodOptional<z.ZodEnum<{
|
|
1273
|
+
local: "local";
|
|
1273
1274
|
user: "user";
|
|
1274
1275
|
project: "project";
|
|
1275
|
-
local: "local";
|
|
1276
1276
|
}>>;
|
|
1277
1277
|
effort: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1278
1278
|
low: "low";
|
|
@@ -1284,8 +1284,8 @@ export declare const SDKControlRequestInnerSchema: () => z.ZodUnion<readonly [z.
|
|
|
1284
1284
|
default: "default";
|
|
1285
1285
|
acceptEdits: "acceptEdits";
|
|
1286
1286
|
bypassPermissions: "bypassPermissions";
|
|
1287
|
-
plan: "plan";
|
|
1288
1287
|
dontAsk: "dontAsk";
|
|
1288
|
+
plan: "plan";
|
|
1289
1289
|
}>>;
|
|
1290
1290
|
}, z.core.$strip>>>;
|
|
1291
1291
|
promptSuggestions: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1296,8 +1296,8 @@ export declare const SDKControlRequestInnerSchema: () => z.ZodUnion<readonly [z.
|
|
|
1296
1296
|
default: "default";
|
|
1297
1297
|
acceptEdits: "acceptEdits";
|
|
1298
1298
|
bypassPermissions: "bypassPermissions";
|
|
1299
|
-
plan: "plan";
|
|
1300
1299
|
dontAsk: "dontAsk";
|
|
1300
|
+
plan: "plan";
|
|
1301
1301
|
}>;
|
|
1302
1302
|
ultraplan: z.ZodOptional<z.ZodBoolean>;
|
|
1303
1303
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1397,9 +1397,9 @@ export declare const SDKControlRequestInnerSchema: () => z.ZodUnion<readonly [z.
|
|
|
1397
1397
|
}, z.core.$strip>, z.ZodObject<{
|
|
1398
1398
|
hook_event_name: z.ZodLiteral<"SessionStart">;
|
|
1399
1399
|
source: z.ZodEnum<{
|
|
1400
|
-
startup: "startup";
|
|
1401
|
-
resume: "resume";
|
|
1402
1400
|
clear: "clear";
|
|
1401
|
+
resume: "resume";
|
|
1402
|
+
startup: "startup";
|
|
1403
1403
|
compact: "compact";
|
|
1404
1404
|
}>;
|
|
1405
1405
|
agent_type: z.ZodOptional<z.ZodString>;
|
|
@@ -1414,14 +1414,14 @@ export declare const SDKControlRequestInnerSchema: () => z.ZodUnion<readonly [z.
|
|
|
1414
1414
|
}, z.core.$strip>, z.ZodObject<{
|
|
1415
1415
|
hook_event_name: z.ZodLiteral<"SessionEnd">;
|
|
1416
1416
|
reason: z.ZodEnum<{
|
|
1417
|
-
error: "error";
|
|
1418
|
-
resume: "resume";
|
|
1419
1417
|
clear: "clear";
|
|
1418
|
+
resume: "resume";
|
|
1420
1419
|
logout: "logout";
|
|
1421
1420
|
prompt_input_exit: "prompt_input_exit";
|
|
1422
1421
|
bypass_permissions_disabled: "bypass_permissions_disabled";
|
|
1423
1422
|
normal: "normal";
|
|
1424
1423
|
aborted: "aborted";
|
|
1424
|
+
error: "error";
|
|
1425
1425
|
other: "other";
|
|
1426
1426
|
}>;
|
|
1427
1427
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -1446,9 +1446,9 @@ export declare const SDKControlRequestInnerSchema: () => z.ZodUnion<readonly [z.
|
|
|
1446
1446
|
hook_event_name: z.ZodLiteral<"StopFailure">;
|
|
1447
1447
|
error: z.ZodEnum<{
|
|
1448
1448
|
unknown: "unknown";
|
|
1449
|
+
rate_limit: "rate_limit";
|
|
1449
1450
|
authentication_failed: "authentication_failed";
|
|
1450
1451
|
billing_error: "billing_error";
|
|
1451
|
-
rate_limit: "rate_limit";
|
|
1452
1452
|
invalid_request: "invalid_request";
|
|
1453
1453
|
server_error: "server_error";
|
|
1454
1454
|
max_output_tokens: "max_output_tokens";
|
|
@@ -1483,8 +1483,8 @@ export declare const SDKControlRequestInnerSchema: () => z.ZodUnion<readonly [z.
|
|
|
1483
1483
|
agent_type: z.ZodString;
|
|
1484
1484
|
last_assistant_message: z.ZodOptional<z.ZodString>;
|
|
1485
1485
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1486
|
-
failed: "failed";
|
|
1487
1486
|
completed: "completed";
|
|
1487
|
+
failed: "failed";
|
|
1488
1488
|
stopped: "stopped";
|
|
1489
1489
|
}>>;
|
|
1490
1490
|
error_message: z.ZodOptional<z.ZodString>;
|
|
@@ -1498,8 +1498,8 @@ export declare const SDKControlRequestInnerSchema: () => z.ZodUnion<readonly [z.
|
|
|
1498
1498
|
}, z.core.$strip>, z.ZodObject<{
|
|
1499
1499
|
hook_event_name: z.ZodLiteral<"PreCompact">;
|
|
1500
1500
|
trigger: z.ZodEnum<{
|
|
1501
|
-
manual: "manual";
|
|
1502
1501
|
auto: "auto";
|
|
1502
|
+
manual: "manual";
|
|
1503
1503
|
}>;
|
|
1504
1504
|
custom_instructions: z.ZodNullable<z.ZodString>;
|
|
1505
1505
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -1512,8 +1512,8 @@ export declare const SDKControlRequestInnerSchema: () => z.ZodUnion<readonly [z.
|
|
|
1512
1512
|
}, z.core.$strip>, z.ZodObject<{
|
|
1513
1513
|
hook_event_name: z.ZodLiteral<"PostCompact">;
|
|
1514
1514
|
trigger: z.ZodEnum<{
|
|
1515
|
-
manual: "manual";
|
|
1516
1515
|
auto: "auto";
|
|
1516
|
+
manual: "manual";
|
|
1517
1517
|
}>;
|
|
1518
1518
|
compact_summary: z.ZodString;
|
|
1519
1519
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -1587,8 +1587,8 @@ export declare const SDKControlRequestInnerSchema: () => z.ZodUnion<readonly [z.
|
|
|
1587
1587
|
default: "default";
|
|
1588
1588
|
acceptEdits: "acceptEdits";
|
|
1589
1589
|
bypassPermissions: "bypassPermissions";
|
|
1590
|
-
plan: "plan";
|
|
1591
1590
|
dontAsk: "dontAsk";
|
|
1591
|
+
plan: "plan";
|
|
1592
1592
|
}>>;
|
|
1593
1593
|
destination: z.ZodEnum<{
|
|
1594
1594
|
userSettings: "userSettings";
|
|
@@ -1719,11 +1719,11 @@ export declare const SDKControlRequestInnerSchema: () => z.ZodUnion<readonly [z.
|
|
|
1719
1719
|
}, z.core.$strip>, z.ZodObject<{
|
|
1720
1720
|
hook_event_name: z.ZodLiteral<"ConfigChange">;
|
|
1721
1721
|
source: z.ZodEnum<{
|
|
1722
|
+
skills: "skills";
|
|
1722
1723
|
user_settings: "user_settings";
|
|
1723
1724
|
project_settings: "project_settings";
|
|
1724
1725
|
local_settings: "local_settings";
|
|
1725
1726
|
policy_settings: "policy_settings";
|
|
1726
|
-
skills: "skills";
|
|
1727
1727
|
}>;
|
|
1728
1728
|
file_path: z.ZodOptional<z.ZodString>;
|
|
1729
1729
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -1932,8 +1932,8 @@ export declare const SDKControlRequestSchema: () => z.ZodObject<{
|
|
|
1932
1932
|
default: "default";
|
|
1933
1933
|
acceptEdits: "acceptEdits";
|
|
1934
1934
|
bypassPermissions: "bypassPermissions";
|
|
1935
|
-
plan: "plan";
|
|
1936
1935
|
dontAsk: "dontAsk";
|
|
1936
|
+
plan: "plan";
|
|
1937
1937
|
}>>;
|
|
1938
1938
|
destination: z.ZodEnum<{
|
|
1939
1939
|
userSettings: "userSettings";
|
|
@@ -2038,9 +2038,9 @@ export declare const SDKControlRequestSchema: () => z.ZodObject<{
|
|
|
2038
2038
|
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
2039
2039
|
background: z.ZodOptional<z.ZodBoolean>;
|
|
2040
2040
|
memory: z.ZodOptional<z.ZodEnum<{
|
|
2041
|
+
local: "local";
|
|
2041
2042
|
user: "user";
|
|
2042
2043
|
project: "project";
|
|
2043
|
-
local: "local";
|
|
2044
2044
|
}>>;
|
|
2045
2045
|
effort: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2046
2046
|
low: "low";
|
|
@@ -2052,8 +2052,8 @@ export declare const SDKControlRequestSchema: () => z.ZodObject<{
|
|
|
2052
2052
|
default: "default";
|
|
2053
2053
|
acceptEdits: "acceptEdits";
|
|
2054
2054
|
bypassPermissions: "bypassPermissions";
|
|
2055
|
-
plan: "plan";
|
|
2056
2055
|
dontAsk: "dontAsk";
|
|
2056
|
+
plan: "plan";
|
|
2057
2057
|
}>>;
|
|
2058
2058
|
}, z.core.$strip>>>;
|
|
2059
2059
|
promptSuggestions: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2064,8 +2064,8 @@ export declare const SDKControlRequestSchema: () => z.ZodObject<{
|
|
|
2064
2064
|
default: "default";
|
|
2065
2065
|
acceptEdits: "acceptEdits";
|
|
2066
2066
|
bypassPermissions: "bypassPermissions";
|
|
2067
|
-
plan: "plan";
|
|
2068
2067
|
dontAsk: "dontAsk";
|
|
2068
|
+
plan: "plan";
|
|
2069
2069
|
}>;
|
|
2070
2070
|
ultraplan: z.ZodOptional<z.ZodBoolean>;
|
|
2071
2071
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2165,9 +2165,9 @@ export declare const SDKControlRequestSchema: () => z.ZodObject<{
|
|
|
2165
2165
|
}, z.core.$strip>, z.ZodObject<{
|
|
2166
2166
|
hook_event_name: z.ZodLiteral<"SessionStart">;
|
|
2167
2167
|
source: z.ZodEnum<{
|
|
2168
|
-
startup: "startup";
|
|
2169
|
-
resume: "resume";
|
|
2170
2168
|
clear: "clear";
|
|
2169
|
+
resume: "resume";
|
|
2170
|
+
startup: "startup";
|
|
2171
2171
|
compact: "compact";
|
|
2172
2172
|
}>;
|
|
2173
2173
|
agent_type: z.ZodOptional<z.ZodString>;
|
|
@@ -2182,14 +2182,14 @@ export declare const SDKControlRequestSchema: () => z.ZodObject<{
|
|
|
2182
2182
|
}, z.core.$strip>, z.ZodObject<{
|
|
2183
2183
|
hook_event_name: z.ZodLiteral<"SessionEnd">;
|
|
2184
2184
|
reason: z.ZodEnum<{
|
|
2185
|
-
error: "error";
|
|
2186
|
-
resume: "resume";
|
|
2187
2185
|
clear: "clear";
|
|
2186
|
+
resume: "resume";
|
|
2188
2187
|
logout: "logout";
|
|
2189
2188
|
prompt_input_exit: "prompt_input_exit";
|
|
2190
2189
|
bypass_permissions_disabled: "bypass_permissions_disabled";
|
|
2191
2190
|
normal: "normal";
|
|
2192
2191
|
aborted: "aborted";
|
|
2192
|
+
error: "error";
|
|
2193
2193
|
other: "other";
|
|
2194
2194
|
}>;
|
|
2195
2195
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -2214,9 +2214,9 @@ export declare const SDKControlRequestSchema: () => z.ZodObject<{
|
|
|
2214
2214
|
hook_event_name: z.ZodLiteral<"StopFailure">;
|
|
2215
2215
|
error: z.ZodEnum<{
|
|
2216
2216
|
unknown: "unknown";
|
|
2217
|
+
rate_limit: "rate_limit";
|
|
2217
2218
|
authentication_failed: "authentication_failed";
|
|
2218
2219
|
billing_error: "billing_error";
|
|
2219
|
-
rate_limit: "rate_limit";
|
|
2220
2220
|
invalid_request: "invalid_request";
|
|
2221
2221
|
server_error: "server_error";
|
|
2222
2222
|
max_output_tokens: "max_output_tokens";
|
|
@@ -2251,8 +2251,8 @@ export declare const SDKControlRequestSchema: () => z.ZodObject<{
|
|
|
2251
2251
|
agent_type: z.ZodString;
|
|
2252
2252
|
last_assistant_message: z.ZodOptional<z.ZodString>;
|
|
2253
2253
|
status: z.ZodOptional<z.ZodEnum<{
|
|
2254
|
-
failed: "failed";
|
|
2255
2254
|
completed: "completed";
|
|
2255
|
+
failed: "failed";
|
|
2256
2256
|
stopped: "stopped";
|
|
2257
2257
|
}>>;
|
|
2258
2258
|
error_message: z.ZodOptional<z.ZodString>;
|
|
@@ -2266,8 +2266,8 @@ export declare const SDKControlRequestSchema: () => z.ZodObject<{
|
|
|
2266
2266
|
}, z.core.$strip>, z.ZodObject<{
|
|
2267
2267
|
hook_event_name: z.ZodLiteral<"PreCompact">;
|
|
2268
2268
|
trigger: z.ZodEnum<{
|
|
2269
|
-
manual: "manual";
|
|
2270
2269
|
auto: "auto";
|
|
2270
|
+
manual: "manual";
|
|
2271
2271
|
}>;
|
|
2272
2272
|
custom_instructions: z.ZodNullable<z.ZodString>;
|
|
2273
2273
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -2280,8 +2280,8 @@ export declare const SDKControlRequestSchema: () => z.ZodObject<{
|
|
|
2280
2280
|
}, z.core.$strip>, z.ZodObject<{
|
|
2281
2281
|
hook_event_name: z.ZodLiteral<"PostCompact">;
|
|
2282
2282
|
trigger: z.ZodEnum<{
|
|
2283
|
-
manual: "manual";
|
|
2284
2283
|
auto: "auto";
|
|
2284
|
+
manual: "manual";
|
|
2285
2285
|
}>;
|
|
2286
2286
|
compact_summary: z.ZodString;
|
|
2287
2287
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -2355,8 +2355,8 @@ export declare const SDKControlRequestSchema: () => z.ZodObject<{
|
|
|
2355
2355
|
default: "default";
|
|
2356
2356
|
acceptEdits: "acceptEdits";
|
|
2357
2357
|
bypassPermissions: "bypassPermissions";
|
|
2358
|
-
plan: "plan";
|
|
2359
2358
|
dontAsk: "dontAsk";
|
|
2359
|
+
plan: "plan";
|
|
2360
2360
|
}>>;
|
|
2361
2361
|
destination: z.ZodEnum<{
|
|
2362
2362
|
userSettings: "userSettings";
|
|
@@ -2487,11 +2487,11 @@ export declare const SDKControlRequestSchema: () => z.ZodObject<{
|
|
|
2487
2487
|
}, z.core.$strip>, z.ZodObject<{
|
|
2488
2488
|
hook_event_name: z.ZodLiteral<"ConfigChange">;
|
|
2489
2489
|
source: z.ZodEnum<{
|
|
2490
|
+
skills: "skills";
|
|
2490
2491
|
user_settings: "user_settings";
|
|
2491
2492
|
project_settings: "project_settings";
|
|
2492
2493
|
local_settings: "local_settings";
|
|
2493
2494
|
policy_settings: "policy_settings";
|
|
2494
|
-
skills: "skills";
|
|
2495
2495
|
}>;
|
|
2496
2496
|
file_path: z.ZodOptional<z.ZodString>;
|
|
2497
2497
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -2710,8 +2710,8 @@ export declare const ControlErrorResponseSchema: () => z.ZodObject<{
|
|
|
2710
2710
|
default: "default";
|
|
2711
2711
|
acceptEdits: "acceptEdits";
|
|
2712
2712
|
bypassPermissions: "bypassPermissions";
|
|
2713
|
-
plan: "plan";
|
|
2714
2713
|
dontAsk: "dontAsk";
|
|
2714
|
+
plan: "plan";
|
|
2715
2715
|
}>>;
|
|
2716
2716
|
destination: z.ZodEnum<{
|
|
2717
2717
|
userSettings: "userSettings";
|
|
@@ -2816,9 +2816,9 @@ export declare const ControlErrorResponseSchema: () => z.ZodObject<{
|
|
|
2816
2816
|
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
2817
2817
|
background: z.ZodOptional<z.ZodBoolean>;
|
|
2818
2818
|
memory: z.ZodOptional<z.ZodEnum<{
|
|
2819
|
+
local: "local";
|
|
2819
2820
|
user: "user";
|
|
2820
2821
|
project: "project";
|
|
2821
|
-
local: "local";
|
|
2822
2822
|
}>>;
|
|
2823
2823
|
effort: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2824
2824
|
low: "low";
|
|
@@ -2830,8 +2830,8 @@ export declare const ControlErrorResponseSchema: () => z.ZodObject<{
|
|
|
2830
2830
|
default: "default";
|
|
2831
2831
|
acceptEdits: "acceptEdits";
|
|
2832
2832
|
bypassPermissions: "bypassPermissions";
|
|
2833
|
-
plan: "plan";
|
|
2834
2833
|
dontAsk: "dontAsk";
|
|
2834
|
+
plan: "plan";
|
|
2835
2835
|
}>>;
|
|
2836
2836
|
}, z.core.$strip>>>;
|
|
2837
2837
|
promptSuggestions: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2842,8 +2842,8 @@ export declare const ControlErrorResponseSchema: () => z.ZodObject<{
|
|
|
2842
2842
|
default: "default";
|
|
2843
2843
|
acceptEdits: "acceptEdits";
|
|
2844
2844
|
bypassPermissions: "bypassPermissions";
|
|
2845
|
-
plan: "plan";
|
|
2846
2845
|
dontAsk: "dontAsk";
|
|
2846
|
+
plan: "plan";
|
|
2847
2847
|
}>;
|
|
2848
2848
|
ultraplan: z.ZodOptional<z.ZodBoolean>;
|
|
2849
2849
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2943,9 +2943,9 @@ export declare const ControlErrorResponseSchema: () => z.ZodObject<{
|
|
|
2943
2943
|
}, z.core.$strip>, z.ZodObject<{
|
|
2944
2944
|
hook_event_name: z.ZodLiteral<"SessionStart">;
|
|
2945
2945
|
source: z.ZodEnum<{
|
|
2946
|
-
startup: "startup";
|
|
2947
|
-
resume: "resume";
|
|
2948
2946
|
clear: "clear";
|
|
2947
|
+
resume: "resume";
|
|
2948
|
+
startup: "startup";
|
|
2949
2949
|
compact: "compact";
|
|
2950
2950
|
}>;
|
|
2951
2951
|
agent_type: z.ZodOptional<z.ZodString>;
|
|
@@ -2960,14 +2960,14 @@ export declare const ControlErrorResponseSchema: () => z.ZodObject<{
|
|
|
2960
2960
|
}, z.core.$strip>, z.ZodObject<{
|
|
2961
2961
|
hook_event_name: z.ZodLiteral<"SessionEnd">;
|
|
2962
2962
|
reason: z.ZodEnum<{
|
|
2963
|
-
error: "error";
|
|
2964
|
-
resume: "resume";
|
|
2965
2963
|
clear: "clear";
|
|
2964
|
+
resume: "resume";
|
|
2966
2965
|
logout: "logout";
|
|
2967
2966
|
prompt_input_exit: "prompt_input_exit";
|
|
2968
2967
|
bypass_permissions_disabled: "bypass_permissions_disabled";
|
|
2969
2968
|
normal: "normal";
|
|
2970
2969
|
aborted: "aborted";
|
|
2970
|
+
error: "error";
|
|
2971
2971
|
other: "other";
|
|
2972
2972
|
}>;
|
|
2973
2973
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -2992,9 +2992,9 @@ export declare const ControlErrorResponseSchema: () => z.ZodObject<{
|
|
|
2992
2992
|
hook_event_name: z.ZodLiteral<"StopFailure">;
|
|
2993
2993
|
error: z.ZodEnum<{
|
|
2994
2994
|
unknown: "unknown";
|
|
2995
|
+
rate_limit: "rate_limit";
|
|
2995
2996
|
authentication_failed: "authentication_failed";
|
|
2996
2997
|
billing_error: "billing_error";
|
|
2997
|
-
rate_limit: "rate_limit";
|
|
2998
2998
|
invalid_request: "invalid_request";
|
|
2999
2999
|
server_error: "server_error";
|
|
3000
3000
|
max_output_tokens: "max_output_tokens";
|
|
@@ -3029,8 +3029,8 @@ export declare const ControlErrorResponseSchema: () => z.ZodObject<{
|
|
|
3029
3029
|
agent_type: z.ZodString;
|
|
3030
3030
|
last_assistant_message: z.ZodOptional<z.ZodString>;
|
|
3031
3031
|
status: z.ZodOptional<z.ZodEnum<{
|
|
3032
|
-
failed: "failed";
|
|
3033
3032
|
completed: "completed";
|
|
3033
|
+
failed: "failed";
|
|
3034
3034
|
stopped: "stopped";
|
|
3035
3035
|
}>>;
|
|
3036
3036
|
error_message: z.ZodOptional<z.ZodString>;
|
|
@@ -3044,8 +3044,8 @@ export declare const ControlErrorResponseSchema: () => z.ZodObject<{
|
|
|
3044
3044
|
}, z.core.$strip>, z.ZodObject<{
|
|
3045
3045
|
hook_event_name: z.ZodLiteral<"PreCompact">;
|
|
3046
3046
|
trigger: z.ZodEnum<{
|
|
3047
|
-
manual: "manual";
|
|
3048
3047
|
auto: "auto";
|
|
3048
|
+
manual: "manual";
|
|
3049
3049
|
}>;
|
|
3050
3050
|
custom_instructions: z.ZodNullable<z.ZodString>;
|
|
3051
3051
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -3058,8 +3058,8 @@ export declare const ControlErrorResponseSchema: () => z.ZodObject<{
|
|
|
3058
3058
|
}, z.core.$strip>, z.ZodObject<{
|
|
3059
3059
|
hook_event_name: z.ZodLiteral<"PostCompact">;
|
|
3060
3060
|
trigger: z.ZodEnum<{
|
|
3061
|
-
manual: "manual";
|
|
3062
3061
|
auto: "auto";
|
|
3062
|
+
manual: "manual";
|
|
3063
3063
|
}>;
|
|
3064
3064
|
compact_summary: z.ZodString;
|
|
3065
3065
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -3133,8 +3133,8 @@ export declare const ControlErrorResponseSchema: () => z.ZodObject<{
|
|
|
3133
3133
|
default: "default";
|
|
3134
3134
|
acceptEdits: "acceptEdits";
|
|
3135
3135
|
bypassPermissions: "bypassPermissions";
|
|
3136
|
-
plan: "plan";
|
|
3137
3136
|
dontAsk: "dontAsk";
|
|
3137
|
+
plan: "plan";
|
|
3138
3138
|
}>>;
|
|
3139
3139
|
destination: z.ZodEnum<{
|
|
3140
3140
|
userSettings: "userSettings";
|
|
@@ -3265,11 +3265,11 @@ export declare const ControlErrorResponseSchema: () => z.ZodObject<{
|
|
|
3265
3265
|
}, z.core.$strip>, z.ZodObject<{
|
|
3266
3266
|
hook_event_name: z.ZodLiteral<"ConfigChange">;
|
|
3267
3267
|
source: z.ZodEnum<{
|
|
3268
|
+
skills: "skills";
|
|
3268
3269
|
user_settings: "user_settings";
|
|
3269
3270
|
project_settings: "project_settings";
|
|
3270
3271
|
local_settings: "local_settings";
|
|
3271
3272
|
policy_settings: "policy_settings";
|
|
3272
|
-
skills: "skills";
|
|
3273
3273
|
}>;
|
|
3274
3274
|
file_path: z.ZodOptional<z.ZodString>;
|
|
3275
3275
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -3490,8 +3490,8 @@ export declare const SDKControlResponseSchema: () => z.ZodObject<{
|
|
|
3490
3490
|
default: "default";
|
|
3491
3491
|
acceptEdits: "acceptEdits";
|
|
3492
3492
|
bypassPermissions: "bypassPermissions";
|
|
3493
|
-
plan: "plan";
|
|
3494
3493
|
dontAsk: "dontAsk";
|
|
3494
|
+
plan: "plan";
|
|
3495
3495
|
}>>;
|
|
3496
3496
|
destination: z.ZodEnum<{
|
|
3497
3497
|
userSettings: "userSettings";
|
|
@@ -3596,9 +3596,9 @@ export declare const SDKControlResponseSchema: () => z.ZodObject<{
|
|
|
3596
3596
|
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
3597
3597
|
background: z.ZodOptional<z.ZodBoolean>;
|
|
3598
3598
|
memory: z.ZodOptional<z.ZodEnum<{
|
|
3599
|
+
local: "local";
|
|
3599
3600
|
user: "user";
|
|
3600
3601
|
project: "project";
|
|
3601
|
-
local: "local";
|
|
3602
3602
|
}>>;
|
|
3603
3603
|
effort: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3604
3604
|
low: "low";
|
|
@@ -3610,8 +3610,8 @@ export declare const SDKControlResponseSchema: () => z.ZodObject<{
|
|
|
3610
3610
|
default: "default";
|
|
3611
3611
|
acceptEdits: "acceptEdits";
|
|
3612
3612
|
bypassPermissions: "bypassPermissions";
|
|
3613
|
-
plan: "plan";
|
|
3614
3613
|
dontAsk: "dontAsk";
|
|
3614
|
+
plan: "plan";
|
|
3615
3615
|
}>>;
|
|
3616
3616
|
}, z.core.$strip>>>;
|
|
3617
3617
|
promptSuggestions: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3622,8 +3622,8 @@ export declare const SDKControlResponseSchema: () => z.ZodObject<{
|
|
|
3622
3622
|
default: "default";
|
|
3623
3623
|
acceptEdits: "acceptEdits";
|
|
3624
3624
|
bypassPermissions: "bypassPermissions";
|
|
3625
|
-
plan: "plan";
|
|
3626
3625
|
dontAsk: "dontAsk";
|
|
3626
|
+
plan: "plan";
|
|
3627
3627
|
}>;
|
|
3628
3628
|
ultraplan: z.ZodOptional<z.ZodBoolean>;
|
|
3629
3629
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3723,9 +3723,9 @@ export declare const SDKControlResponseSchema: () => z.ZodObject<{
|
|
|
3723
3723
|
}, z.core.$strip>, z.ZodObject<{
|
|
3724
3724
|
hook_event_name: z.ZodLiteral<"SessionStart">;
|
|
3725
3725
|
source: z.ZodEnum<{
|
|
3726
|
-
startup: "startup";
|
|
3727
|
-
resume: "resume";
|
|
3728
3726
|
clear: "clear";
|
|
3727
|
+
resume: "resume";
|
|
3728
|
+
startup: "startup";
|
|
3729
3729
|
compact: "compact";
|
|
3730
3730
|
}>;
|
|
3731
3731
|
agent_type: z.ZodOptional<z.ZodString>;
|
|
@@ -3740,14 +3740,14 @@ export declare const SDKControlResponseSchema: () => z.ZodObject<{
|
|
|
3740
3740
|
}, z.core.$strip>, z.ZodObject<{
|
|
3741
3741
|
hook_event_name: z.ZodLiteral<"SessionEnd">;
|
|
3742
3742
|
reason: z.ZodEnum<{
|
|
3743
|
-
error: "error";
|
|
3744
|
-
resume: "resume";
|
|
3745
3743
|
clear: "clear";
|
|
3744
|
+
resume: "resume";
|
|
3746
3745
|
logout: "logout";
|
|
3747
3746
|
prompt_input_exit: "prompt_input_exit";
|
|
3748
3747
|
bypass_permissions_disabled: "bypass_permissions_disabled";
|
|
3749
3748
|
normal: "normal";
|
|
3750
3749
|
aborted: "aborted";
|
|
3750
|
+
error: "error";
|
|
3751
3751
|
other: "other";
|
|
3752
3752
|
}>;
|
|
3753
3753
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -3772,9 +3772,9 @@ export declare const SDKControlResponseSchema: () => z.ZodObject<{
|
|
|
3772
3772
|
hook_event_name: z.ZodLiteral<"StopFailure">;
|
|
3773
3773
|
error: z.ZodEnum<{
|
|
3774
3774
|
unknown: "unknown";
|
|
3775
|
+
rate_limit: "rate_limit";
|
|
3775
3776
|
authentication_failed: "authentication_failed";
|
|
3776
3777
|
billing_error: "billing_error";
|
|
3777
|
-
rate_limit: "rate_limit";
|
|
3778
3778
|
invalid_request: "invalid_request";
|
|
3779
3779
|
server_error: "server_error";
|
|
3780
3780
|
max_output_tokens: "max_output_tokens";
|
|
@@ -3809,8 +3809,8 @@ export declare const SDKControlResponseSchema: () => z.ZodObject<{
|
|
|
3809
3809
|
agent_type: z.ZodString;
|
|
3810
3810
|
last_assistant_message: z.ZodOptional<z.ZodString>;
|
|
3811
3811
|
status: z.ZodOptional<z.ZodEnum<{
|
|
3812
|
-
failed: "failed";
|
|
3813
3812
|
completed: "completed";
|
|
3813
|
+
failed: "failed";
|
|
3814
3814
|
stopped: "stopped";
|
|
3815
3815
|
}>>;
|
|
3816
3816
|
error_message: z.ZodOptional<z.ZodString>;
|
|
@@ -3824,8 +3824,8 @@ export declare const SDKControlResponseSchema: () => z.ZodObject<{
|
|
|
3824
3824
|
}, z.core.$strip>, z.ZodObject<{
|
|
3825
3825
|
hook_event_name: z.ZodLiteral<"PreCompact">;
|
|
3826
3826
|
trigger: z.ZodEnum<{
|
|
3827
|
-
manual: "manual";
|
|
3828
3827
|
auto: "auto";
|
|
3828
|
+
manual: "manual";
|
|
3829
3829
|
}>;
|
|
3830
3830
|
custom_instructions: z.ZodNullable<z.ZodString>;
|
|
3831
3831
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -3838,8 +3838,8 @@ export declare const SDKControlResponseSchema: () => z.ZodObject<{
|
|
|
3838
3838
|
}, z.core.$strip>, z.ZodObject<{
|
|
3839
3839
|
hook_event_name: z.ZodLiteral<"PostCompact">;
|
|
3840
3840
|
trigger: z.ZodEnum<{
|
|
3841
|
-
manual: "manual";
|
|
3842
3841
|
auto: "auto";
|
|
3842
|
+
manual: "manual";
|
|
3843
3843
|
}>;
|
|
3844
3844
|
compact_summary: z.ZodString;
|
|
3845
3845
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -3913,8 +3913,8 @@ export declare const SDKControlResponseSchema: () => z.ZodObject<{
|
|
|
3913
3913
|
default: "default";
|
|
3914
3914
|
acceptEdits: "acceptEdits";
|
|
3915
3915
|
bypassPermissions: "bypassPermissions";
|
|
3916
|
-
plan: "plan";
|
|
3917
3916
|
dontAsk: "dontAsk";
|
|
3917
|
+
plan: "plan";
|
|
3918
3918
|
}>>;
|
|
3919
3919
|
destination: z.ZodEnum<{
|
|
3920
3920
|
userSettings: "userSettings";
|
|
@@ -4045,11 +4045,11 @@ export declare const SDKControlResponseSchema: () => z.ZodObject<{
|
|
|
4045
4045
|
}, z.core.$strip>, z.ZodObject<{
|
|
4046
4046
|
hook_event_name: z.ZodLiteral<"ConfigChange">;
|
|
4047
4047
|
source: z.ZodEnum<{
|
|
4048
|
+
skills: "skills";
|
|
4048
4049
|
user_settings: "user_settings";
|
|
4049
4050
|
project_settings: "project_settings";
|
|
4050
4051
|
local_settings: "local_settings";
|
|
4051
4052
|
policy_settings: "policy_settings";
|
|
4052
|
-
skills: "skills";
|
|
4053
4053
|
}>;
|
|
4054
4054
|
file_path: z.ZodOptional<z.ZodString>;
|
|
4055
4055
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -4209,9 +4209,9 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
4209
4209
|
parent_tool_use_id: z.ZodNullable<z.ZodString>;
|
|
4210
4210
|
error: z.ZodOptional<z.ZodEnum<{
|
|
4211
4211
|
unknown: "unknown";
|
|
4212
|
+
rate_limit: "rate_limit";
|
|
4212
4213
|
authentication_failed: "authentication_failed";
|
|
4213
4214
|
billing_error: "billing_error";
|
|
4214
|
-
rate_limit: "rate_limit";
|
|
4215
4215
|
invalid_request: "invalid_request";
|
|
4216
4216
|
server_error: "server_error";
|
|
4217
4217
|
max_output_tokens: "max_output_tokens";
|
|
@@ -4326,9 +4326,9 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
4326
4326
|
apiKeySource: z.ZodEnum<{
|
|
4327
4327
|
user: "user";
|
|
4328
4328
|
project: "project";
|
|
4329
|
+
oauth: "oauth";
|
|
4329
4330
|
org: "org";
|
|
4330
4331
|
temporary: "temporary";
|
|
4331
|
-
oauth: "oauth";
|
|
4332
4332
|
}>;
|
|
4333
4333
|
betas: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4334
4334
|
claude_code_version: z.ZodString;
|
|
@@ -4343,8 +4343,8 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
4343
4343
|
default: "default";
|
|
4344
4344
|
acceptEdits: "acceptEdits";
|
|
4345
4345
|
bypassPermissions: "bypassPermissions";
|
|
4346
|
-
plan: "plan";
|
|
4347
4346
|
dontAsk: "dontAsk";
|
|
4347
|
+
plan: "plan";
|
|
4348
4348
|
}>;
|
|
4349
4349
|
slash_commands: z.ZodArray<z.ZodString>;
|
|
4350
4350
|
output_style: z.ZodString;
|
|
@@ -4372,8 +4372,8 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
4372
4372
|
subtype: z.ZodLiteral<"compact_boundary">;
|
|
4373
4373
|
compact_metadata: z.ZodObject<{
|
|
4374
4374
|
trigger: z.ZodEnum<{
|
|
4375
|
-
manual: "manual";
|
|
4376
4375
|
auto: "auto";
|
|
4376
|
+
manual: "manual";
|
|
4377
4377
|
}>;
|
|
4378
4378
|
pre_tokens: z.ZodNumber;
|
|
4379
4379
|
post_tokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4393,8 +4393,8 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
4393
4393
|
default: "default";
|
|
4394
4394
|
acceptEdits: "acceptEdits";
|
|
4395
4395
|
bypassPermissions: "bypassPermissions";
|
|
4396
|
-
plan: "plan";
|
|
4397
4396
|
dontAsk: "dontAsk";
|
|
4397
|
+
plan: "plan";
|
|
4398
4398
|
}>>;
|
|
4399
4399
|
uuid: z.ZodString;
|
|
4400
4400
|
session_id: z.ZodString;
|
|
@@ -4407,9 +4407,9 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
4407
4407
|
error_status: z.ZodNullable<z.ZodNumber>;
|
|
4408
4408
|
error: z.ZodEnum<{
|
|
4409
4409
|
unknown: "unknown";
|
|
4410
|
+
rate_limit: "rate_limit";
|
|
4410
4411
|
authentication_failed: "authentication_failed";
|
|
4411
4412
|
billing_error: "billing_error";
|
|
4412
|
-
rate_limit: "rate_limit";
|
|
4413
4413
|
invalid_request: "invalid_request";
|
|
4414
4414
|
server_error: "server_error";
|
|
4415
4415
|
max_output_tokens: "max_output_tokens";
|
|
@@ -4480,8 +4480,8 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
4480
4480
|
task_id: z.ZodString;
|
|
4481
4481
|
tool_use_id: z.ZodOptional<z.ZodString>;
|
|
4482
4482
|
status: z.ZodEnum<{
|
|
4483
|
-
failed: "failed";
|
|
4484
4483
|
completed: "completed";
|
|
4484
|
+
failed: "failed";
|
|
4485
4485
|
stopped: "stopped";
|
|
4486
4486
|
}>;
|
|
4487
4487
|
output_file: z.ZodString;
|
|
@@ -4554,8 +4554,8 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
4554
4554
|
rate_limit_info: z.ZodObject<{
|
|
4555
4555
|
status: z.ZodEnum<{
|
|
4556
4556
|
allowed: "allowed";
|
|
4557
|
-
allowed_warning: "allowed_warning";
|
|
4558
4557
|
rejected: "rejected";
|
|
4558
|
+
allowed_warning: "allowed_warning";
|
|
4559
4559
|
}>;
|
|
4560
4560
|
resetsAt: z.ZodOptional<z.ZodNumber>;
|
|
4561
4561
|
rateLimitType: z.ZodOptional<z.ZodEnum<{
|
|
@@ -4568,8 +4568,8 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
4568
4568
|
utilization: z.ZodOptional<z.ZodNumber>;
|
|
4569
4569
|
overageStatus: z.ZodOptional<z.ZodEnum<{
|
|
4570
4570
|
allowed: "allowed";
|
|
4571
|
-
allowed_warning: "allowed_warning";
|
|
4572
4571
|
rejected: "rejected";
|
|
4572
|
+
allowed_warning: "allowed_warning";
|
|
4573
4573
|
}>>;
|
|
4574
4574
|
overageResetsAt: z.ZodOptional<z.ZodNumber>;
|
|
4575
4575
|
overageDisabledReason: z.ZodOptional<z.ZodEnum<{
|
|
@@ -4619,10 +4619,10 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
4619
4619
|
subtype: z.ZodLiteral<"post_turn_summary">;
|
|
4620
4620
|
summarizes_uuid: z.ZodString;
|
|
4621
4621
|
status_category: z.ZodEnum<{
|
|
4622
|
-
failed: "failed";
|
|
4623
4622
|
completed: "completed";
|
|
4624
|
-
blocked: "blocked";
|
|
4625
4623
|
waiting: "waiting";
|
|
4624
|
+
failed: "failed";
|
|
4625
|
+
blocked: "blocked";
|
|
4626
4626
|
review_ready: "review_ready";
|
|
4627
4627
|
}>;
|
|
4628
4628
|
status_detail: z.ZodString;
|
|
@@ -4713,8 +4713,8 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
4713
4713
|
default: "default";
|
|
4714
4714
|
acceptEdits: "acceptEdits";
|
|
4715
4715
|
bypassPermissions: "bypassPermissions";
|
|
4716
|
-
plan: "plan";
|
|
4717
4716
|
dontAsk: "dontAsk";
|
|
4717
|
+
plan: "plan";
|
|
4718
4718
|
}>>;
|
|
4719
4719
|
destination: z.ZodEnum<{
|
|
4720
4720
|
userSettings: "userSettings";
|
|
@@ -4819,9 +4819,9 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
4819
4819
|
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
4820
4820
|
background: z.ZodOptional<z.ZodBoolean>;
|
|
4821
4821
|
memory: z.ZodOptional<z.ZodEnum<{
|
|
4822
|
+
local: "local";
|
|
4822
4823
|
user: "user";
|
|
4823
4824
|
project: "project";
|
|
4824
|
-
local: "local";
|
|
4825
4825
|
}>>;
|
|
4826
4826
|
effort: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4827
4827
|
low: "low";
|
|
@@ -4833,8 +4833,8 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
4833
4833
|
default: "default";
|
|
4834
4834
|
acceptEdits: "acceptEdits";
|
|
4835
4835
|
bypassPermissions: "bypassPermissions";
|
|
4836
|
-
plan: "plan";
|
|
4837
4836
|
dontAsk: "dontAsk";
|
|
4837
|
+
plan: "plan";
|
|
4838
4838
|
}>>;
|
|
4839
4839
|
}, z.core.$strip>>>;
|
|
4840
4840
|
promptSuggestions: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4845,8 +4845,8 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
4845
4845
|
default: "default";
|
|
4846
4846
|
acceptEdits: "acceptEdits";
|
|
4847
4847
|
bypassPermissions: "bypassPermissions";
|
|
4848
|
-
plan: "plan";
|
|
4849
4848
|
dontAsk: "dontAsk";
|
|
4849
|
+
plan: "plan";
|
|
4850
4850
|
}>;
|
|
4851
4851
|
ultraplan: z.ZodOptional<z.ZodBoolean>;
|
|
4852
4852
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -4946,9 +4946,9 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
4946
4946
|
}, z.core.$strip>, z.ZodObject<{
|
|
4947
4947
|
hook_event_name: z.ZodLiteral<"SessionStart">;
|
|
4948
4948
|
source: z.ZodEnum<{
|
|
4949
|
-
startup: "startup";
|
|
4950
|
-
resume: "resume";
|
|
4951
4949
|
clear: "clear";
|
|
4950
|
+
resume: "resume";
|
|
4951
|
+
startup: "startup";
|
|
4952
4952
|
compact: "compact";
|
|
4953
4953
|
}>;
|
|
4954
4954
|
agent_type: z.ZodOptional<z.ZodString>;
|
|
@@ -4963,14 +4963,14 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
4963
4963
|
}, z.core.$strip>, z.ZodObject<{
|
|
4964
4964
|
hook_event_name: z.ZodLiteral<"SessionEnd">;
|
|
4965
4965
|
reason: z.ZodEnum<{
|
|
4966
|
-
error: "error";
|
|
4967
|
-
resume: "resume";
|
|
4968
4966
|
clear: "clear";
|
|
4967
|
+
resume: "resume";
|
|
4969
4968
|
logout: "logout";
|
|
4970
4969
|
prompt_input_exit: "prompt_input_exit";
|
|
4971
4970
|
bypass_permissions_disabled: "bypass_permissions_disabled";
|
|
4972
4971
|
normal: "normal";
|
|
4973
4972
|
aborted: "aborted";
|
|
4973
|
+
error: "error";
|
|
4974
4974
|
other: "other";
|
|
4975
4975
|
}>;
|
|
4976
4976
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -4995,9 +4995,9 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
4995
4995
|
hook_event_name: z.ZodLiteral<"StopFailure">;
|
|
4996
4996
|
error: z.ZodEnum<{
|
|
4997
4997
|
unknown: "unknown";
|
|
4998
|
+
rate_limit: "rate_limit";
|
|
4998
4999
|
authentication_failed: "authentication_failed";
|
|
4999
5000
|
billing_error: "billing_error";
|
|
5000
|
-
rate_limit: "rate_limit";
|
|
5001
5001
|
invalid_request: "invalid_request";
|
|
5002
5002
|
server_error: "server_error";
|
|
5003
5003
|
max_output_tokens: "max_output_tokens";
|
|
@@ -5032,8 +5032,8 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
5032
5032
|
agent_type: z.ZodString;
|
|
5033
5033
|
last_assistant_message: z.ZodOptional<z.ZodString>;
|
|
5034
5034
|
status: z.ZodOptional<z.ZodEnum<{
|
|
5035
|
-
failed: "failed";
|
|
5036
5035
|
completed: "completed";
|
|
5036
|
+
failed: "failed";
|
|
5037
5037
|
stopped: "stopped";
|
|
5038
5038
|
}>>;
|
|
5039
5039
|
error_message: z.ZodOptional<z.ZodString>;
|
|
@@ -5047,8 +5047,8 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
5047
5047
|
}, z.core.$strip>, z.ZodObject<{
|
|
5048
5048
|
hook_event_name: z.ZodLiteral<"PreCompact">;
|
|
5049
5049
|
trigger: z.ZodEnum<{
|
|
5050
|
-
manual: "manual";
|
|
5051
5050
|
auto: "auto";
|
|
5051
|
+
manual: "manual";
|
|
5052
5052
|
}>;
|
|
5053
5053
|
custom_instructions: z.ZodNullable<z.ZodString>;
|
|
5054
5054
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -5061,8 +5061,8 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
5061
5061
|
}, z.core.$strip>, z.ZodObject<{
|
|
5062
5062
|
hook_event_name: z.ZodLiteral<"PostCompact">;
|
|
5063
5063
|
trigger: z.ZodEnum<{
|
|
5064
|
-
manual: "manual";
|
|
5065
5064
|
auto: "auto";
|
|
5065
|
+
manual: "manual";
|
|
5066
5066
|
}>;
|
|
5067
5067
|
compact_summary: z.ZodString;
|
|
5068
5068
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -5136,8 +5136,8 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
5136
5136
|
default: "default";
|
|
5137
5137
|
acceptEdits: "acceptEdits";
|
|
5138
5138
|
bypassPermissions: "bypassPermissions";
|
|
5139
|
-
plan: "plan";
|
|
5140
5139
|
dontAsk: "dontAsk";
|
|
5140
|
+
plan: "plan";
|
|
5141
5141
|
}>>;
|
|
5142
5142
|
destination: z.ZodEnum<{
|
|
5143
5143
|
userSettings: "userSettings";
|
|
@@ -5268,11 +5268,11 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
5268
5268
|
}, z.core.$strip>, z.ZodObject<{
|
|
5269
5269
|
hook_event_name: z.ZodLiteral<"ConfigChange">;
|
|
5270
5270
|
source: z.ZodEnum<{
|
|
5271
|
+
skills: "skills";
|
|
5271
5272
|
user_settings: "user_settings";
|
|
5272
5273
|
project_settings: "project_settings";
|
|
5273
5274
|
local_settings: "local_settings";
|
|
5274
5275
|
policy_settings: "policy_settings";
|
|
5275
|
-
skills: "skills";
|
|
5276
5276
|
}>;
|
|
5277
5277
|
file_path: z.ZodOptional<z.ZodString>;
|
|
5278
5278
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -5483,8 +5483,8 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
5483
5483
|
default: "default";
|
|
5484
5484
|
acceptEdits: "acceptEdits";
|
|
5485
5485
|
bypassPermissions: "bypassPermissions";
|
|
5486
|
-
plan: "plan";
|
|
5487
5486
|
dontAsk: "dontAsk";
|
|
5487
|
+
plan: "plan";
|
|
5488
5488
|
}>>;
|
|
5489
5489
|
destination: z.ZodEnum<{
|
|
5490
5490
|
userSettings: "userSettings";
|
|
@@ -5589,9 +5589,9 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
5589
5589
|
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
5590
5590
|
background: z.ZodOptional<z.ZodBoolean>;
|
|
5591
5591
|
memory: z.ZodOptional<z.ZodEnum<{
|
|
5592
|
+
local: "local";
|
|
5592
5593
|
user: "user";
|
|
5593
5594
|
project: "project";
|
|
5594
|
-
local: "local";
|
|
5595
5595
|
}>>;
|
|
5596
5596
|
effort: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5597
5597
|
low: "low";
|
|
@@ -5603,8 +5603,8 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
5603
5603
|
default: "default";
|
|
5604
5604
|
acceptEdits: "acceptEdits";
|
|
5605
5605
|
bypassPermissions: "bypassPermissions";
|
|
5606
|
-
plan: "plan";
|
|
5607
5606
|
dontAsk: "dontAsk";
|
|
5607
|
+
plan: "plan";
|
|
5608
5608
|
}>>;
|
|
5609
5609
|
}, z.core.$strip>>>;
|
|
5610
5610
|
promptSuggestions: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5615,8 +5615,8 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
5615
5615
|
default: "default";
|
|
5616
5616
|
acceptEdits: "acceptEdits";
|
|
5617
5617
|
bypassPermissions: "bypassPermissions";
|
|
5618
|
-
plan: "plan";
|
|
5619
5618
|
dontAsk: "dontAsk";
|
|
5619
|
+
plan: "plan";
|
|
5620
5620
|
}>;
|
|
5621
5621
|
ultraplan: z.ZodOptional<z.ZodBoolean>;
|
|
5622
5622
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -5716,9 +5716,9 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
5716
5716
|
}, z.core.$strip>, z.ZodObject<{
|
|
5717
5717
|
hook_event_name: z.ZodLiteral<"SessionStart">;
|
|
5718
5718
|
source: z.ZodEnum<{
|
|
5719
|
-
startup: "startup";
|
|
5720
|
-
resume: "resume";
|
|
5721
5719
|
clear: "clear";
|
|
5720
|
+
resume: "resume";
|
|
5721
|
+
startup: "startup";
|
|
5722
5722
|
compact: "compact";
|
|
5723
5723
|
}>;
|
|
5724
5724
|
agent_type: z.ZodOptional<z.ZodString>;
|
|
@@ -5733,14 +5733,14 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
5733
5733
|
}, z.core.$strip>, z.ZodObject<{
|
|
5734
5734
|
hook_event_name: z.ZodLiteral<"SessionEnd">;
|
|
5735
5735
|
reason: z.ZodEnum<{
|
|
5736
|
-
error: "error";
|
|
5737
|
-
resume: "resume";
|
|
5738
5736
|
clear: "clear";
|
|
5737
|
+
resume: "resume";
|
|
5739
5738
|
logout: "logout";
|
|
5740
5739
|
prompt_input_exit: "prompt_input_exit";
|
|
5741
5740
|
bypass_permissions_disabled: "bypass_permissions_disabled";
|
|
5742
5741
|
normal: "normal";
|
|
5743
5742
|
aborted: "aborted";
|
|
5743
|
+
error: "error";
|
|
5744
5744
|
other: "other";
|
|
5745
5745
|
}>;
|
|
5746
5746
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -5765,9 +5765,9 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
5765
5765
|
hook_event_name: z.ZodLiteral<"StopFailure">;
|
|
5766
5766
|
error: z.ZodEnum<{
|
|
5767
5767
|
unknown: "unknown";
|
|
5768
|
+
rate_limit: "rate_limit";
|
|
5768
5769
|
authentication_failed: "authentication_failed";
|
|
5769
5770
|
billing_error: "billing_error";
|
|
5770
|
-
rate_limit: "rate_limit";
|
|
5771
5771
|
invalid_request: "invalid_request";
|
|
5772
5772
|
server_error: "server_error";
|
|
5773
5773
|
max_output_tokens: "max_output_tokens";
|
|
@@ -5802,8 +5802,8 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
5802
5802
|
agent_type: z.ZodString;
|
|
5803
5803
|
last_assistant_message: z.ZodOptional<z.ZodString>;
|
|
5804
5804
|
status: z.ZodOptional<z.ZodEnum<{
|
|
5805
|
-
failed: "failed";
|
|
5806
5805
|
completed: "completed";
|
|
5806
|
+
failed: "failed";
|
|
5807
5807
|
stopped: "stopped";
|
|
5808
5808
|
}>>;
|
|
5809
5809
|
error_message: z.ZodOptional<z.ZodString>;
|
|
@@ -5817,8 +5817,8 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
5817
5817
|
}, z.core.$strip>, z.ZodObject<{
|
|
5818
5818
|
hook_event_name: z.ZodLiteral<"PreCompact">;
|
|
5819
5819
|
trigger: z.ZodEnum<{
|
|
5820
|
-
manual: "manual";
|
|
5821
5820
|
auto: "auto";
|
|
5821
|
+
manual: "manual";
|
|
5822
5822
|
}>;
|
|
5823
5823
|
custom_instructions: z.ZodNullable<z.ZodString>;
|
|
5824
5824
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -5831,8 +5831,8 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
5831
5831
|
}, z.core.$strip>, z.ZodObject<{
|
|
5832
5832
|
hook_event_name: z.ZodLiteral<"PostCompact">;
|
|
5833
5833
|
trigger: z.ZodEnum<{
|
|
5834
|
-
manual: "manual";
|
|
5835
5834
|
auto: "auto";
|
|
5835
|
+
manual: "manual";
|
|
5836
5836
|
}>;
|
|
5837
5837
|
compact_summary: z.ZodString;
|
|
5838
5838
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -5906,8 +5906,8 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
5906
5906
|
default: "default";
|
|
5907
5907
|
acceptEdits: "acceptEdits";
|
|
5908
5908
|
bypassPermissions: "bypassPermissions";
|
|
5909
|
-
plan: "plan";
|
|
5910
5909
|
dontAsk: "dontAsk";
|
|
5910
|
+
plan: "plan";
|
|
5911
5911
|
}>>;
|
|
5912
5912
|
destination: z.ZodEnum<{
|
|
5913
5913
|
userSettings: "userSettings";
|
|
@@ -6038,11 +6038,11 @@ export declare const StdoutMessageSchema: () => z.ZodUnion<readonly [z.ZodUnion<
|
|
|
6038
6038
|
}, z.core.$strip>, z.ZodObject<{
|
|
6039
6039
|
hook_event_name: z.ZodLiteral<"ConfigChange">;
|
|
6040
6040
|
source: z.ZodEnum<{
|
|
6041
|
+
skills: "skills";
|
|
6041
6042
|
user_settings: "user_settings";
|
|
6042
6043
|
project_settings: "project_settings";
|
|
6043
6044
|
local_settings: "local_settings";
|
|
6044
6045
|
policy_settings: "policy_settings";
|
|
6045
|
-
skills: "skills";
|
|
6046
6046
|
}>;
|
|
6047
6047
|
file_path: z.ZodOptional<z.ZodString>;
|
|
6048
6048
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -6271,8 +6271,8 @@ export declare const StdinMessageSchema: () => z.ZodUnion<readonly [z.ZodObject<
|
|
|
6271
6271
|
default: "default";
|
|
6272
6272
|
acceptEdits: "acceptEdits";
|
|
6273
6273
|
bypassPermissions: "bypassPermissions";
|
|
6274
|
-
plan: "plan";
|
|
6275
6274
|
dontAsk: "dontAsk";
|
|
6275
|
+
plan: "plan";
|
|
6276
6276
|
}>>;
|
|
6277
6277
|
destination: z.ZodEnum<{
|
|
6278
6278
|
userSettings: "userSettings";
|
|
@@ -6377,9 +6377,9 @@ export declare const StdinMessageSchema: () => z.ZodUnion<readonly [z.ZodObject<
|
|
|
6377
6377
|
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
6378
6378
|
background: z.ZodOptional<z.ZodBoolean>;
|
|
6379
6379
|
memory: z.ZodOptional<z.ZodEnum<{
|
|
6380
|
+
local: "local";
|
|
6380
6381
|
user: "user";
|
|
6381
6382
|
project: "project";
|
|
6382
|
-
local: "local";
|
|
6383
6383
|
}>>;
|
|
6384
6384
|
effort: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
6385
6385
|
low: "low";
|
|
@@ -6391,8 +6391,8 @@ export declare const StdinMessageSchema: () => z.ZodUnion<readonly [z.ZodObject<
|
|
|
6391
6391
|
default: "default";
|
|
6392
6392
|
acceptEdits: "acceptEdits";
|
|
6393
6393
|
bypassPermissions: "bypassPermissions";
|
|
6394
|
-
plan: "plan";
|
|
6395
6394
|
dontAsk: "dontAsk";
|
|
6395
|
+
plan: "plan";
|
|
6396
6396
|
}>>;
|
|
6397
6397
|
}, z.core.$strip>>>;
|
|
6398
6398
|
promptSuggestions: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6403,8 +6403,8 @@ export declare const StdinMessageSchema: () => z.ZodUnion<readonly [z.ZodObject<
|
|
|
6403
6403
|
default: "default";
|
|
6404
6404
|
acceptEdits: "acceptEdits";
|
|
6405
6405
|
bypassPermissions: "bypassPermissions";
|
|
6406
|
-
plan: "plan";
|
|
6407
6406
|
dontAsk: "dontAsk";
|
|
6407
|
+
plan: "plan";
|
|
6408
6408
|
}>;
|
|
6409
6409
|
ultraplan: z.ZodOptional<z.ZodBoolean>;
|
|
6410
6410
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -6504,9 +6504,9 @@ export declare const StdinMessageSchema: () => z.ZodUnion<readonly [z.ZodObject<
|
|
|
6504
6504
|
}, z.core.$strip>, z.ZodObject<{
|
|
6505
6505
|
hook_event_name: z.ZodLiteral<"SessionStart">;
|
|
6506
6506
|
source: z.ZodEnum<{
|
|
6507
|
-
startup: "startup";
|
|
6508
|
-
resume: "resume";
|
|
6509
6507
|
clear: "clear";
|
|
6508
|
+
resume: "resume";
|
|
6509
|
+
startup: "startup";
|
|
6510
6510
|
compact: "compact";
|
|
6511
6511
|
}>;
|
|
6512
6512
|
agent_type: z.ZodOptional<z.ZodString>;
|
|
@@ -6521,14 +6521,14 @@ export declare const StdinMessageSchema: () => z.ZodUnion<readonly [z.ZodObject<
|
|
|
6521
6521
|
}, z.core.$strip>, z.ZodObject<{
|
|
6522
6522
|
hook_event_name: z.ZodLiteral<"SessionEnd">;
|
|
6523
6523
|
reason: z.ZodEnum<{
|
|
6524
|
-
error: "error";
|
|
6525
|
-
resume: "resume";
|
|
6526
6524
|
clear: "clear";
|
|
6525
|
+
resume: "resume";
|
|
6527
6526
|
logout: "logout";
|
|
6528
6527
|
prompt_input_exit: "prompt_input_exit";
|
|
6529
6528
|
bypass_permissions_disabled: "bypass_permissions_disabled";
|
|
6530
6529
|
normal: "normal";
|
|
6531
6530
|
aborted: "aborted";
|
|
6531
|
+
error: "error";
|
|
6532
6532
|
other: "other";
|
|
6533
6533
|
}>;
|
|
6534
6534
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -6553,9 +6553,9 @@ export declare const StdinMessageSchema: () => z.ZodUnion<readonly [z.ZodObject<
|
|
|
6553
6553
|
hook_event_name: z.ZodLiteral<"StopFailure">;
|
|
6554
6554
|
error: z.ZodEnum<{
|
|
6555
6555
|
unknown: "unknown";
|
|
6556
|
+
rate_limit: "rate_limit";
|
|
6556
6557
|
authentication_failed: "authentication_failed";
|
|
6557
6558
|
billing_error: "billing_error";
|
|
6558
|
-
rate_limit: "rate_limit";
|
|
6559
6559
|
invalid_request: "invalid_request";
|
|
6560
6560
|
server_error: "server_error";
|
|
6561
6561
|
max_output_tokens: "max_output_tokens";
|
|
@@ -6590,8 +6590,8 @@ export declare const StdinMessageSchema: () => z.ZodUnion<readonly [z.ZodObject<
|
|
|
6590
6590
|
agent_type: z.ZodString;
|
|
6591
6591
|
last_assistant_message: z.ZodOptional<z.ZodString>;
|
|
6592
6592
|
status: z.ZodOptional<z.ZodEnum<{
|
|
6593
|
-
failed: "failed";
|
|
6594
6593
|
completed: "completed";
|
|
6594
|
+
failed: "failed";
|
|
6595
6595
|
stopped: "stopped";
|
|
6596
6596
|
}>>;
|
|
6597
6597
|
error_message: z.ZodOptional<z.ZodString>;
|
|
@@ -6605,8 +6605,8 @@ export declare const StdinMessageSchema: () => z.ZodUnion<readonly [z.ZodObject<
|
|
|
6605
6605
|
}, z.core.$strip>, z.ZodObject<{
|
|
6606
6606
|
hook_event_name: z.ZodLiteral<"PreCompact">;
|
|
6607
6607
|
trigger: z.ZodEnum<{
|
|
6608
|
-
manual: "manual";
|
|
6609
6608
|
auto: "auto";
|
|
6609
|
+
manual: "manual";
|
|
6610
6610
|
}>;
|
|
6611
6611
|
custom_instructions: z.ZodNullable<z.ZodString>;
|
|
6612
6612
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -6619,8 +6619,8 @@ export declare const StdinMessageSchema: () => z.ZodUnion<readonly [z.ZodObject<
|
|
|
6619
6619
|
}, z.core.$strip>, z.ZodObject<{
|
|
6620
6620
|
hook_event_name: z.ZodLiteral<"PostCompact">;
|
|
6621
6621
|
trigger: z.ZodEnum<{
|
|
6622
|
-
manual: "manual";
|
|
6623
6622
|
auto: "auto";
|
|
6623
|
+
manual: "manual";
|
|
6624
6624
|
}>;
|
|
6625
6625
|
compact_summary: z.ZodString;
|
|
6626
6626
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -6694,8 +6694,8 @@ export declare const StdinMessageSchema: () => z.ZodUnion<readonly [z.ZodObject<
|
|
|
6694
6694
|
default: "default";
|
|
6695
6695
|
acceptEdits: "acceptEdits";
|
|
6696
6696
|
bypassPermissions: "bypassPermissions";
|
|
6697
|
-
plan: "plan";
|
|
6698
6697
|
dontAsk: "dontAsk";
|
|
6698
|
+
plan: "plan";
|
|
6699
6699
|
}>>;
|
|
6700
6700
|
destination: z.ZodEnum<{
|
|
6701
6701
|
userSettings: "userSettings";
|
|
@@ -6826,11 +6826,11 @@ export declare const StdinMessageSchema: () => z.ZodUnion<readonly [z.ZodObject<
|
|
|
6826
6826
|
}, z.core.$strip>, z.ZodObject<{
|
|
6827
6827
|
hook_event_name: z.ZodLiteral<"ConfigChange">;
|
|
6828
6828
|
source: z.ZodEnum<{
|
|
6829
|
+
skills: "skills";
|
|
6829
6830
|
user_settings: "user_settings";
|
|
6830
6831
|
project_settings: "project_settings";
|
|
6831
6832
|
local_settings: "local_settings";
|
|
6832
6833
|
policy_settings: "policy_settings";
|
|
6833
|
-
skills: "skills";
|
|
6834
6834
|
}>;
|
|
6835
6835
|
file_path: z.ZodOptional<z.ZodString>;
|
|
6836
6836
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -7049,8 +7049,8 @@ export declare const StdinMessageSchema: () => z.ZodUnion<readonly [z.ZodObject<
|
|
|
7049
7049
|
default: "default";
|
|
7050
7050
|
acceptEdits: "acceptEdits";
|
|
7051
7051
|
bypassPermissions: "bypassPermissions";
|
|
7052
|
-
plan: "plan";
|
|
7053
7052
|
dontAsk: "dontAsk";
|
|
7053
|
+
plan: "plan";
|
|
7054
7054
|
}>>;
|
|
7055
7055
|
destination: z.ZodEnum<{
|
|
7056
7056
|
userSettings: "userSettings";
|
|
@@ -7155,9 +7155,9 @@ export declare const StdinMessageSchema: () => z.ZodUnion<readonly [z.ZodObject<
|
|
|
7155
7155
|
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
7156
7156
|
background: z.ZodOptional<z.ZodBoolean>;
|
|
7157
7157
|
memory: z.ZodOptional<z.ZodEnum<{
|
|
7158
|
+
local: "local";
|
|
7158
7159
|
user: "user";
|
|
7159
7160
|
project: "project";
|
|
7160
|
-
local: "local";
|
|
7161
7161
|
}>>;
|
|
7162
7162
|
effort: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
7163
7163
|
low: "low";
|
|
@@ -7169,8 +7169,8 @@ export declare const StdinMessageSchema: () => z.ZodUnion<readonly [z.ZodObject<
|
|
|
7169
7169
|
default: "default";
|
|
7170
7170
|
acceptEdits: "acceptEdits";
|
|
7171
7171
|
bypassPermissions: "bypassPermissions";
|
|
7172
|
-
plan: "plan";
|
|
7173
7172
|
dontAsk: "dontAsk";
|
|
7173
|
+
plan: "plan";
|
|
7174
7174
|
}>>;
|
|
7175
7175
|
}, z.core.$strip>>>;
|
|
7176
7176
|
promptSuggestions: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -7181,8 +7181,8 @@ export declare const StdinMessageSchema: () => z.ZodUnion<readonly [z.ZodObject<
|
|
|
7181
7181
|
default: "default";
|
|
7182
7182
|
acceptEdits: "acceptEdits";
|
|
7183
7183
|
bypassPermissions: "bypassPermissions";
|
|
7184
|
-
plan: "plan";
|
|
7185
7184
|
dontAsk: "dontAsk";
|
|
7185
|
+
plan: "plan";
|
|
7186
7186
|
}>;
|
|
7187
7187
|
ultraplan: z.ZodOptional<z.ZodBoolean>;
|
|
7188
7188
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -7282,9 +7282,9 @@ export declare const StdinMessageSchema: () => z.ZodUnion<readonly [z.ZodObject<
|
|
|
7282
7282
|
}, z.core.$strip>, z.ZodObject<{
|
|
7283
7283
|
hook_event_name: z.ZodLiteral<"SessionStart">;
|
|
7284
7284
|
source: z.ZodEnum<{
|
|
7285
|
-
startup: "startup";
|
|
7286
|
-
resume: "resume";
|
|
7287
7285
|
clear: "clear";
|
|
7286
|
+
resume: "resume";
|
|
7287
|
+
startup: "startup";
|
|
7288
7288
|
compact: "compact";
|
|
7289
7289
|
}>;
|
|
7290
7290
|
agent_type: z.ZodOptional<z.ZodString>;
|
|
@@ -7299,14 +7299,14 @@ export declare const StdinMessageSchema: () => z.ZodUnion<readonly [z.ZodObject<
|
|
|
7299
7299
|
}, z.core.$strip>, z.ZodObject<{
|
|
7300
7300
|
hook_event_name: z.ZodLiteral<"SessionEnd">;
|
|
7301
7301
|
reason: z.ZodEnum<{
|
|
7302
|
-
error: "error";
|
|
7303
|
-
resume: "resume";
|
|
7304
7302
|
clear: "clear";
|
|
7303
|
+
resume: "resume";
|
|
7305
7304
|
logout: "logout";
|
|
7306
7305
|
prompt_input_exit: "prompt_input_exit";
|
|
7307
7306
|
bypass_permissions_disabled: "bypass_permissions_disabled";
|
|
7308
7307
|
normal: "normal";
|
|
7309
7308
|
aborted: "aborted";
|
|
7309
|
+
error: "error";
|
|
7310
7310
|
other: "other";
|
|
7311
7311
|
}>;
|
|
7312
7312
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -7331,9 +7331,9 @@ export declare const StdinMessageSchema: () => z.ZodUnion<readonly [z.ZodObject<
|
|
|
7331
7331
|
hook_event_name: z.ZodLiteral<"StopFailure">;
|
|
7332
7332
|
error: z.ZodEnum<{
|
|
7333
7333
|
unknown: "unknown";
|
|
7334
|
+
rate_limit: "rate_limit";
|
|
7334
7335
|
authentication_failed: "authentication_failed";
|
|
7335
7336
|
billing_error: "billing_error";
|
|
7336
|
-
rate_limit: "rate_limit";
|
|
7337
7337
|
invalid_request: "invalid_request";
|
|
7338
7338
|
server_error: "server_error";
|
|
7339
7339
|
max_output_tokens: "max_output_tokens";
|
|
@@ -7368,8 +7368,8 @@ export declare const StdinMessageSchema: () => z.ZodUnion<readonly [z.ZodObject<
|
|
|
7368
7368
|
agent_type: z.ZodString;
|
|
7369
7369
|
last_assistant_message: z.ZodOptional<z.ZodString>;
|
|
7370
7370
|
status: z.ZodOptional<z.ZodEnum<{
|
|
7371
|
-
failed: "failed";
|
|
7372
7371
|
completed: "completed";
|
|
7372
|
+
failed: "failed";
|
|
7373
7373
|
stopped: "stopped";
|
|
7374
7374
|
}>>;
|
|
7375
7375
|
error_message: z.ZodOptional<z.ZodString>;
|
|
@@ -7383,8 +7383,8 @@ export declare const StdinMessageSchema: () => z.ZodUnion<readonly [z.ZodObject<
|
|
|
7383
7383
|
}, z.core.$strip>, z.ZodObject<{
|
|
7384
7384
|
hook_event_name: z.ZodLiteral<"PreCompact">;
|
|
7385
7385
|
trigger: z.ZodEnum<{
|
|
7386
|
-
manual: "manual";
|
|
7387
7386
|
auto: "auto";
|
|
7387
|
+
manual: "manual";
|
|
7388
7388
|
}>;
|
|
7389
7389
|
custom_instructions: z.ZodNullable<z.ZodString>;
|
|
7390
7390
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -7397,8 +7397,8 @@ export declare const StdinMessageSchema: () => z.ZodUnion<readonly [z.ZodObject<
|
|
|
7397
7397
|
}, z.core.$strip>, z.ZodObject<{
|
|
7398
7398
|
hook_event_name: z.ZodLiteral<"PostCompact">;
|
|
7399
7399
|
trigger: z.ZodEnum<{
|
|
7400
|
-
manual: "manual";
|
|
7401
7400
|
auto: "auto";
|
|
7401
|
+
manual: "manual";
|
|
7402
7402
|
}>;
|
|
7403
7403
|
compact_summary: z.ZodString;
|
|
7404
7404
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -7472,8 +7472,8 @@ export declare const StdinMessageSchema: () => z.ZodUnion<readonly [z.ZodObject<
|
|
|
7472
7472
|
default: "default";
|
|
7473
7473
|
acceptEdits: "acceptEdits";
|
|
7474
7474
|
bypassPermissions: "bypassPermissions";
|
|
7475
|
-
plan: "plan";
|
|
7476
7475
|
dontAsk: "dontAsk";
|
|
7476
|
+
plan: "plan";
|
|
7477
7477
|
}>>;
|
|
7478
7478
|
destination: z.ZodEnum<{
|
|
7479
7479
|
userSettings: "userSettings";
|
|
@@ -7604,11 +7604,11 @@ export declare const StdinMessageSchema: () => z.ZodUnion<readonly [z.ZodObject<
|
|
|
7604
7604
|
}, z.core.$strip>, z.ZodObject<{
|
|
7605
7605
|
hook_event_name: z.ZodLiteral<"ConfigChange">;
|
|
7606
7606
|
source: z.ZodEnum<{
|
|
7607
|
+
skills: "skills";
|
|
7607
7608
|
user_settings: "user_settings";
|
|
7608
7609
|
project_settings: "project_settings";
|
|
7609
7610
|
local_settings: "local_settings";
|
|
7610
7611
|
policy_settings: "policy_settings";
|
|
7611
|
-
skills: "skills";
|
|
7612
7612
|
}>;
|
|
7613
7613
|
file_path: z.ZodOptional<z.ZodString>;
|
|
7614
7614
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|