@kmmao/happy-wire 0.11.5 → 0.11.7
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/index.cjs +31 -22
- package/dist/index.d.cts +86 -151
- package/dist/index.d.mts +86 -151
- package/dist/index.mjs +28 -22
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -68,19 +68,6 @@ const sessionFileEventSchema = z__namespace.object({
|
|
|
68
68
|
const sessionTurnStartEventSchema = z__namespace.object({
|
|
69
69
|
t: z__namespace.literal("turn-start")
|
|
70
70
|
});
|
|
71
|
-
const sessionTurnDiagnosticsSchema = z__namespace.object({
|
|
72
|
-
version: z__namespace.literal(1),
|
|
73
|
-
requestIds: z__namespace.array(z__namespace.string()).optional(),
|
|
74
|
-
provider: z__namespace.string().optional(),
|
|
75
|
-
queueWaitMs: z__namespace.number().optional(),
|
|
76
|
-
socketToQueueMs: z__namespace.number().optional(),
|
|
77
|
-
queueToTurnStartMs: z__namespace.number().optional(),
|
|
78
|
-
firstOutputMs: z__namespace.number().optional(),
|
|
79
|
-
firstTextMs: z__namespace.number().optional(),
|
|
80
|
-
turnDurationMs: z__namespace.number().optional(),
|
|
81
|
-
postFirstOutputMs: z__namespace.number().optional(),
|
|
82
|
-
postFirstTextMs: z__namespace.number().optional()
|
|
83
|
-
});
|
|
84
71
|
const sessionStartEventSchema = z__namespace.object({
|
|
85
72
|
t: z__namespace.literal("start"),
|
|
86
73
|
title: z__namespace.string().optional()
|
|
@@ -112,8 +99,7 @@ const sessionTurnEndEventSchema = z__namespace.object({
|
|
|
112
99
|
durationMs: z__namespace.number().optional(),
|
|
113
100
|
totalCostUsd: z__namespace.number().optional(),
|
|
114
101
|
numTurns: z__namespace.number().optional(),
|
|
115
|
-
modelUsage: z__namespace.record(z__namespace.string(), sessionModelUsageSchema).optional()
|
|
116
|
-
diagnostics: sessionTurnDiagnosticsSchema.optional()
|
|
102
|
+
modelUsage: z__namespace.record(z__namespace.string(), sessionModelUsageSchema).optional()
|
|
117
103
|
});
|
|
118
104
|
const sessionStopEventSchema = z__namespace.object({
|
|
119
105
|
t: z__namespace.literal("stop")
|
|
@@ -287,12 +273,7 @@ const MessageMetaSchema = z__namespace.object({
|
|
|
287
273
|
* an assistant turn. Requires @anthropic-ai/claude-agent-sdk 0.2.110+ on CLI.
|
|
288
274
|
* Defaults to true when unset (normal turn-triggering message).
|
|
289
275
|
*/
|
|
290
|
-
shouldQuery: z__namespace.boolean().optional()
|
|
291
|
-
requestDiagnostics: z__namespace.object({
|
|
292
|
-
version: z__namespace.literal(1),
|
|
293
|
-
requestId: z__namespace.string(),
|
|
294
|
-
clientCreatedAtMs: z__namespace.number()
|
|
295
|
-
}).optional()
|
|
276
|
+
shouldQuery: z__namespace.boolean().optional()
|
|
296
277
|
});
|
|
297
278
|
|
|
298
279
|
const UserMessageSchema = z__namespace.object({
|
|
@@ -1504,6 +1485,31 @@ function isTrustedRuntimeProfile(runtimeProfile) {
|
|
|
1504
1485
|
return runtimeProfile?.trust === "trusted";
|
|
1505
1486
|
}
|
|
1506
1487
|
|
|
1488
|
+
const sessionProgressTodoStatusSchema = z__namespace.enum([
|
|
1489
|
+
"pending",
|
|
1490
|
+
"in_progress",
|
|
1491
|
+
"completed"
|
|
1492
|
+
]);
|
|
1493
|
+
const sessionProgressTodoSchema = z__namespace.object({
|
|
1494
|
+
content: z__namespace.string(),
|
|
1495
|
+
status: sessionProgressTodoStatusSchema,
|
|
1496
|
+
stage: z__namespace.string().optional()
|
|
1497
|
+
});
|
|
1498
|
+
const sessionProgressStateSchema = z__namespace.object({
|
|
1499
|
+
todos: z__namespace.array(sessionProgressTodoSchema),
|
|
1500
|
+
currentStage: z__namespace.string().optional(),
|
|
1501
|
+
blockers: z__namespace.array(z__namespace.string()).optional(),
|
|
1502
|
+
updatedAt: z__namespace.number()
|
|
1503
|
+
});
|
|
1504
|
+
const sessionSummaryStateSchema = z__namespace.object({
|
|
1505
|
+
goal: z__namespace.string(),
|
|
1506
|
+
currentFocus: z__namespace.string().optional(),
|
|
1507
|
+
keyDecisions: z__namespace.array(z__namespace.string()).optional(),
|
|
1508
|
+
openQuestions: z__namespace.array(z__namespace.string()).optional(),
|
|
1509
|
+
impactScope: z__namespace.array(z__namespace.string()).optional(),
|
|
1510
|
+
updatedAt: z__namespace.number()
|
|
1511
|
+
});
|
|
1512
|
+
|
|
1507
1513
|
exports.AGENT_MSG_PRIORITIES = AGENT_MSG_PRIORITIES;
|
|
1508
1514
|
exports.AGENT_MSG_STATUSES = AGENT_MSG_STATUSES;
|
|
1509
1515
|
exports.AGENT_MSG_TYPES = AGENT_MSG_TYPES;
|
|
@@ -1647,12 +1653,16 @@ exports.sessionEventSchema = sessionEventSchema;
|
|
|
1647
1653
|
exports.sessionFileEventSchema = sessionFileEventSchema;
|
|
1648
1654
|
exports.sessionModelUsageSchema = sessionModelUsageSchema;
|
|
1649
1655
|
exports.sessionNeedsContinueEventSchema = sessionNeedsContinueEventSchema;
|
|
1656
|
+
exports.sessionProgressStateSchema = sessionProgressStateSchema;
|
|
1657
|
+
exports.sessionProgressTodoSchema = sessionProgressTodoSchema;
|
|
1658
|
+
exports.sessionProgressTodoStatusSchema = sessionProgressTodoStatusSchema;
|
|
1650
1659
|
exports.sessionPromptSuggestionEventSchema = sessionPromptSuggestionEventSchema;
|
|
1651
1660
|
exports.sessionRoleSchema = sessionRoleSchema;
|
|
1652
1661
|
exports.sessionServiceMessageEventSchema = sessionServiceMessageEventSchema;
|
|
1653
1662
|
exports.sessionStartEventSchema = sessionStartEventSchema;
|
|
1654
1663
|
exports.sessionStateChangedEventSchema = sessionStateChangedEventSchema;
|
|
1655
1664
|
exports.sessionStopEventSchema = sessionStopEventSchema;
|
|
1665
|
+
exports.sessionSummaryStateSchema = sessionSummaryStateSchema;
|
|
1656
1666
|
exports.sessionTaskEndEventSchema = sessionTaskEndEventSchema;
|
|
1657
1667
|
exports.sessionTaskLogEventSchema = sessionTaskLogEventSchema;
|
|
1658
1668
|
exports.sessionTaskProgressEventSchema = sessionTaskProgressEventSchema;
|
|
@@ -1662,7 +1672,6 @@ exports.sessionTextEventSchema = sessionTextEventSchema;
|
|
|
1662
1672
|
exports.sessionToolCallEndEventSchema = sessionToolCallEndEventSchema;
|
|
1663
1673
|
exports.sessionToolCallStartEventSchema = sessionToolCallStartEventSchema;
|
|
1664
1674
|
exports.sessionToolProgressEventSchema = sessionToolProgressEventSchema;
|
|
1665
|
-
exports.sessionTurnDiagnosticsSchema = sessionTurnDiagnosticsSchema;
|
|
1666
1675
|
exports.sessionTurnEndEventSchema = sessionTurnEndEventSchema;
|
|
1667
1676
|
exports.sessionTurnEndStatusSchema = sessionTurnEndStatusSchema;
|
|
1668
1677
|
exports.sessionTurnStartEventSchema = sessionTurnStartEventSchema;
|
package/dist/index.d.cts
CHANGED
|
@@ -22,11 +22,6 @@ declare const MessageMetaSchema: z.ZodObject<{
|
|
|
22
22
|
disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
23
23
|
displayText: z.ZodOptional<z.ZodString>;
|
|
24
24
|
shouldQuery: z.ZodOptional<z.ZodBoolean>;
|
|
25
|
-
requestDiagnostics: z.ZodOptional<z.ZodObject<{
|
|
26
|
-
version: z.ZodLiteral<1>;
|
|
27
|
-
requestId: z.ZodString;
|
|
28
|
-
clientCreatedAtMs: z.ZodNumber;
|
|
29
|
-
}, z.core.$strip>>;
|
|
30
25
|
}, z.core.$strip>;
|
|
31
26
|
type MessageMeta = z.infer<typeof MessageMetaSchema>;
|
|
32
27
|
|
|
@@ -124,19 +119,6 @@ declare const SessionProtocolMessageSchema: z.ZodObject<{
|
|
|
124
119
|
contextWindow: z.ZodNumber;
|
|
125
120
|
maxOutputTokens: z.ZodNumber;
|
|
126
121
|
}, z.core.$strip>>>;
|
|
127
|
-
diagnostics: z.ZodOptional<z.ZodObject<{
|
|
128
|
-
version: z.ZodLiteral<1>;
|
|
129
|
-
requestIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
130
|
-
provider: z.ZodOptional<z.ZodString>;
|
|
131
|
-
queueWaitMs: z.ZodOptional<z.ZodNumber>;
|
|
132
|
-
socketToQueueMs: z.ZodOptional<z.ZodNumber>;
|
|
133
|
-
queueToTurnStartMs: z.ZodOptional<z.ZodNumber>;
|
|
134
|
-
firstOutputMs: z.ZodOptional<z.ZodNumber>;
|
|
135
|
-
firstTextMs: z.ZodOptional<z.ZodNumber>;
|
|
136
|
-
turnDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
137
|
-
postFirstOutputMs: z.ZodOptional<z.ZodNumber>;
|
|
138
|
-
postFirstTextMs: z.ZodOptional<z.ZodNumber>;
|
|
139
|
-
}, z.core.$strip>>;
|
|
140
122
|
}, z.core.$strip>, z.ZodObject<{
|
|
141
123
|
t: z.ZodLiteral<"stop">;
|
|
142
124
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -248,11 +230,6 @@ declare const SessionProtocolMessageSchema: z.ZodObject<{
|
|
|
248
230
|
disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
249
231
|
displayText: z.ZodOptional<z.ZodString>;
|
|
250
232
|
shouldQuery: z.ZodOptional<z.ZodBoolean>;
|
|
251
|
-
requestDiagnostics: z.ZodOptional<z.ZodObject<{
|
|
252
|
-
version: z.ZodLiteral<1>;
|
|
253
|
-
requestId: z.ZodString;
|
|
254
|
-
clientCreatedAtMs: z.ZodNumber;
|
|
255
|
-
}, z.core.$strip>>;
|
|
256
233
|
}, z.core.$strip>>;
|
|
257
234
|
}, z.core.$strip>;
|
|
258
235
|
type SessionProtocolMessage = z.infer<typeof SessionProtocolMessageSchema>;
|
|
@@ -284,11 +261,6 @@ declare const MessageContentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
284
261
|
disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
285
262
|
displayText: z.ZodOptional<z.ZodString>;
|
|
286
263
|
shouldQuery: z.ZodOptional<z.ZodBoolean>;
|
|
287
|
-
requestDiagnostics: z.ZodOptional<z.ZodObject<{
|
|
288
|
-
version: z.ZodLiteral<1>;
|
|
289
|
-
requestId: z.ZodString;
|
|
290
|
-
clientCreatedAtMs: z.ZodNumber;
|
|
291
|
-
}, z.core.$strip>>;
|
|
292
264
|
}, z.core.$strip>>;
|
|
293
265
|
}, z.core.$strip>, z.ZodObject<{
|
|
294
266
|
role: z.ZodLiteral<"agent">;
|
|
@@ -316,11 +288,6 @@ declare const MessageContentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
316
288
|
disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
317
289
|
displayText: z.ZodOptional<z.ZodString>;
|
|
318
290
|
shouldQuery: z.ZodOptional<z.ZodBoolean>;
|
|
319
|
-
requestDiagnostics: z.ZodOptional<z.ZodObject<{
|
|
320
|
-
version: z.ZodLiteral<1>;
|
|
321
|
-
requestId: z.ZodString;
|
|
322
|
-
clientCreatedAtMs: z.ZodNumber;
|
|
323
|
-
}, z.core.$strip>>;
|
|
324
291
|
}, z.core.$strip>>;
|
|
325
292
|
}, z.core.$strip>, z.ZodObject<{
|
|
326
293
|
role: z.ZodLiteral<"session">;
|
|
@@ -398,19 +365,6 @@ declare const MessageContentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
398
365
|
contextWindow: z.ZodNumber;
|
|
399
366
|
maxOutputTokens: z.ZodNumber;
|
|
400
367
|
}, z.core.$strip>>>;
|
|
401
|
-
diagnostics: z.ZodOptional<z.ZodObject<{
|
|
402
|
-
version: z.ZodLiteral<1>;
|
|
403
|
-
requestIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
404
|
-
provider: z.ZodOptional<z.ZodString>;
|
|
405
|
-
queueWaitMs: z.ZodOptional<z.ZodNumber>;
|
|
406
|
-
socketToQueueMs: z.ZodOptional<z.ZodNumber>;
|
|
407
|
-
queueToTurnStartMs: z.ZodOptional<z.ZodNumber>;
|
|
408
|
-
firstOutputMs: z.ZodOptional<z.ZodNumber>;
|
|
409
|
-
firstTextMs: z.ZodOptional<z.ZodNumber>;
|
|
410
|
-
turnDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
411
|
-
postFirstOutputMs: z.ZodOptional<z.ZodNumber>;
|
|
412
|
-
postFirstTextMs: z.ZodOptional<z.ZodNumber>;
|
|
413
|
-
}, z.core.$strip>>;
|
|
414
368
|
}, z.core.$strip>, z.ZodObject<{
|
|
415
369
|
t: z.ZodLiteral<"stop">;
|
|
416
370
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -522,11 +476,6 @@ declare const MessageContentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
522
476
|
disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
523
477
|
displayText: z.ZodOptional<z.ZodString>;
|
|
524
478
|
shouldQuery: z.ZodOptional<z.ZodBoolean>;
|
|
525
|
-
requestDiagnostics: z.ZodOptional<z.ZodObject<{
|
|
526
|
-
version: z.ZodLiteral<1>;
|
|
527
|
-
requestId: z.ZodString;
|
|
528
|
-
clientCreatedAtMs: z.ZodNumber;
|
|
529
|
-
}, z.core.$strip>>;
|
|
530
479
|
}, z.core.$strip>>;
|
|
531
480
|
}, z.core.$strip>], "role">;
|
|
532
481
|
type MessageContent = z.infer<typeof MessageContentSchema>;
|
|
@@ -840,11 +789,6 @@ declare const UserMessageSchema: z.ZodObject<{
|
|
|
840
789
|
disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
841
790
|
displayText: z.ZodOptional<z.ZodString>;
|
|
842
791
|
shouldQuery: z.ZodOptional<z.ZodBoolean>;
|
|
843
|
-
requestDiagnostics: z.ZodOptional<z.ZodObject<{
|
|
844
|
-
version: z.ZodLiteral<1>;
|
|
845
|
-
requestId: z.ZodString;
|
|
846
|
-
clientCreatedAtMs: z.ZodNumber;
|
|
847
|
-
}, z.core.$strip>>;
|
|
848
792
|
}, z.core.$strip>>;
|
|
849
793
|
}, z.core.$strip>;
|
|
850
794
|
type UserMessage = z.infer<typeof UserMessageSchema>;
|
|
@@ -874,11 +818,6 @@ declare const AgentMessageSchema: z.ZodObject<{
|
|
|
874
818
|
disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
875
819
|
displayText: z.ZodOptional<z.ZodString>;
|
|
876
820
|
shouldQuery: z.ZodOptional<z.ZodBoolean>;
|
|
877
|
-
requestDiagnostics: z.ZodOptional<z.ZodObject<{
|
|
878
|
-
version: z.ZodLiteral<1>;
|
|
879
|
-
requestId: z.ZodString;
|
|
880
|
-
clientCreatedAtMs: z.ZodNumber;
|
|
881
|
-
}, z.core.$strip>>;
|
|
882
821
|
}, z.core.$strip>>;
|
|
883
822
|
}, z.core.$strip>;
|
|
884
823
|
type AgentMessage = z.infer<typeof AgentMessageSchema>;
|
|
@@ -910,11 +849,6 @@ declare const LegacyMessageContentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
910
849
|
disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
911
850
|
displayText: z.ZodOptional<z.ZodString>;
|
|
912
851
|
shouldQuery: z.ZodOptional<z.ZodBoolean>;
|
|
913
|
-
requestDiagnostics: z.ZodOptional<z.ZodObject<{
|
|
914
|
-
version: z.ZodLiteral<1>;
|
|
915
|
-
requestId: z.ZodString;
|
|
916
|
-
clientCreatedAtMs: z.ZodNumber;
|
|
917
|
-
}, z.core.$strip>>;
|
|
918
852
|
}, z.core.$strip>>;
|
|
919
853
|
}, z.core.$strip>, z.ZodObject<{
|
|
920
854
|
role: z.ZodLiteral<"agent">;
|
|
@@ -942,11 +876,6 @@ declare const LegacyMessageContentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
942
876
|
disallowedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
943
877
|
displayText: z.ZodOptional<z.ZodString>;
|
|
944
878
|
shouldQuery: z.ZodOptional<z.ZodBoolean>;
|
|
945
|
-
requestDiagnostics: z.ZodOptional<z.ZodObject<{
|
|
946
|
-
version: z.ZodLiteral<1>;
|
|
947
|
-
requestId: z.ZodString;
|
|
948
|
-
clientCreatedAtMs: z.ZodNumber;
|
|
949
|
-
}, z.core.$strip>>;
|
|
950
879
|
}, z.core.$strip>>;
|
|
951
880
|
}, z.core.$strip>], "role">;
|
|
952
881
|
type LegacyMessageContent = z.infer<typeof LegacyMessageContentSchema>;
|
|
@@ -999,20 +928,6 @@ declare const sessionFileEventSchema: z.ZodObject<{
|
|
|
999
928
|
declare const sessionTurnStartEventSchema: z.ZodObject<{
|
|
1000
929
|
t: z.ZodLiteral<"turn-start">;
|
|
1001
930
|
}, z.core.$strip>;
|
|
1002
|
-
declare const sessionTurnDiagnosticsSchema: z.ZodObject<{
|
|
1003
|
-
version: z.ZodLiteral<1>;
|
|
1004
|
-
requestIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1005
|
-
provider: z.ZodOptional<z.ZodString>;
|
|
1006
|
-
queueWaitMs: z.ZodOptional<z.ZodNumber>;
|
|
1007
|
-
socketToQueueMs: z.ZodOptional<z.ZodNumber>;
|
|
1008
|
-
queueToTurnStartMs: z.ZodOptional<z.ZodNumber>;
|
|
1009
|
-
firstOutputMs: z.ZodOptional<z.ZodNumber>;
|
|
1010
|
-
firstTextMs: z.ZodOptional<z.ZodNumber>;
|
|
1011
|
-
turnDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
1012
|
-
postFirstOutputMs: z.ZodOptional<z.ZodNumber>;
|
|
1013
|
-
postFirstTextMs: z.ZodOptional<z.ZodNumber>;
|
|
1014
|
-
}, z.core.$strip>;
|
|
1015
|
-
type SessionTurnDiagnostics = z.infer<typeof sessionTurnDiagnosticsSchema>;
|
|
1016
931
|
declare const sessionStartEventSchema: z.ZodObject<{
|
|
1017
932
|
t: z.ZodLiteral<"start">;
|
|
1018
933
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -1059,19 +974,6 @@ declare const sessionTurnEndEventSchema: z.ZodObject<{
|
|
|
1059
974
|
contextWindow: z.ZodNumber;
|
|
1060
975
|
maxOutputTokens: z.ZodNumber;
|
|
1061
976
|
}, z.core.$strip>>>;
|
|
1062
|
-
diagnostics: z.ZodOptional<z.ZodObject<{
|
|
1063
|
-
version: z.ZodLiteral<1>;
|
|
1064
|
-
requestIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1065
|
-
provider: z.ZodOptional<z.ZodString>;
|
|
1066
|
-
queueWaitMs: z.ZodOptional<z.ZodNumber>;
|
|
1067
|
-
socketToQueueMs: z.ZodOptional<z.ZodNumber>;
|
|
1068
|
-
queueToTurnStartMs: z.ZodOptional<z.ZodNumber>;
|
|
1069
|
-
firstOutputMs: z.ZodOptional<z.ZodNumber>;
|
|
1070
|
-
firstTextMs: z.ZodOptional<z.ZodNumber>;
|
|
1071
|
-
turnDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
1072
|
-
postFirstOutputMs: z.ZodOptional<z.ZodNumber>;
|
|
1073
|
-
postFirstTextMs: z.ZodOptional<z.ZodNumber>;
|
|
1074
|
-
}, z.core.$strip>>;
|
|
1075
977
|
}, z.core.$strip>;
|
|
1076
978
|
declare const sessionStopEventSchema: z.ZodObject<{
|
|
1077
979
|
t: z.ZodLiteral<"stop">;
|
|
@@ -1243,19 +1145,6 @@ declare const sessionEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1243
1145
|
contextWindow: z.ZodNumber;
|
|
1244
1146
|
maxOutputTokens: z.ZodNumber;
|
|
1245
1147
|
}, z.core.$strip>>>;
|
|
1246
|
-
diagnostics: z.ZodOptional<z.ZodObject<{
|
|
1247
|
-
version: z.ZodLiteral<1>;
|
|
1248
|
-
requestIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1249
|
-
provider: z.ZodOptional<z.ZodString>;
|
|
1250
|
-
queueWaitMs: z.ZodOptional<z.ZodNumber>;
|
|
1251
|
-
socketToQueueMs: z.ZodOptional<z.ZodNumber>;
|
|
1252
|
-
queueToTurnStartMs: z.ZodOptional<z.ZodNumber>;
|
|
1253
|
-
firstOutputMs: z.ZodOptional<z.ZodNumber>;
|
|
1254
|
-
firstTextMs: z.ZodOptional<z.ZodNumber>;
|
|
1255
|
-
turnDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
1256
|
-
postFirstOutputMs: z.ZodOptional<z.ZodNumber>;
|
|
1257
|
-
postFirstTextMs: z.ZodOptional<z.ZodNumber>;
|
|
1258
|
-
}, z.core.$strip>>;
|
|
1259
1148
|
}, z.core.$strip>, z.ZodObject<{
|
|
1260
1149
|
t: z.ZodLiteral<"stop">;
|
|
1261
1150
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1420,19 +1309,6 @@ declare const sessionEnvelopeSchema: z.ZodObject<{
|
|
|
1420
1309
|
contextWindow: z.ZodNumber;
|
|
1421
1310
|
maxOutputTokens: z.ZodNumber;
|
|
1422
1311
|
}, z.core.$strip>>>;
|
|
1423
|
-
diagnostics: z.ZodOptional<z.ZodObject<{
|
|
1424
|
-
version: z.ZodLiteral<1>;
|
|
1425
|
-
requestIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1426
|
-
provider: z.ZodOptional<z.ZodString>;
|
|
1427
|
-
queueWaitMs: z.ZodOptional<z.ZodNumber>;
|
|
1428
|
-
socketToQueueMs: z.ZodOptional<z.ZodNumber>;
|
|
1429
|
-
queueToTurnStartMs: z.ZodOptional<z.ZodNumber>;
|
|
1430
|
-
firstOutputMs: z.ZodOptional<z.ZodNumber>;
|
|
1431
|
-
firstTextMs: z.ZodOptional<z.ZodNumber>;
|
|
1432
|
-
turnDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
1433
|
-
postFirstOutputMs: z.ZodOptional<z.ZodNumber>;
|
|
1434
|
-
postFirstTextMs: z.ZodOptional<z.ZodNumber>;
|
|
1435
|
-
}, z.core.$strip>>;
|
|
1436
1312
|
}, z.core.$strip>, z.ZodObject<{
|
|
1437
1313
|
t: z.ZodLiteral<"stop">;
|
|
1438
1314
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1658,10 +1534,10 @@ declare const AutomationPrioritySchema: z.ZodEnum<{
|
|
|
1658
1534
|
}>;
|
|
1659
1535
|
type AutomationPriority = z.infer<typeof AutomationPrioritySchema>;
|
|
1660
1536
|
declare const AutomationJobKindSchema: z.ZodEnum<{
|
|
1661
|
-
task: "task";
|
|
1662
1537
|
supervisor: "supervisor";
|
|
1663
1538
|
webhook: "webhook";
|
|
1664
1539
|
agent_loop: "agent_loop";
|
|
1540
|
+
task: "task";
|
|
1665
1541
|
}>;
|
|
1666
1542
|
type AutomationJobKind = z.infer<typeof AutomationJobKindSchema>;
|
|
1667
1543
|
declare const AutomationJobStatusSchema: z.ZodEnum<{
|
|
@@ -1676,10 +1552,10 @@ type AutomationJobStatus = z.infer<typeof AutomationJobStatusSchema>;
|
|
|
1676
1552
|
declare const AutomationJobSummarySchema: z.ZodObject<{
|
|
1677
1553
|
id: z.ZodString;
|
|
1678
1554
|
kind: z.ZodEnum<{
|
|
1679
|
-
task: "task";
|
|
1680
1555
|
supervisor: "supervisor";
|
|
1681
1556
|
webhook: "webhook";
|
|
1682
1557
|
agent_loop: "agent_loop";
|
|
1558
|
+
task: "task";
|
|
1683
1559
|
}>;
|
|
1684
1560
|
status: z.ZodEnum<{
|
|
1685
1561
|
completed: "completed";
|
|
@@ -1839,10 +1715,10 @@ declare const AutomationStateSchema: z.ZodObject<{
|
|
|
1839
1715
|
recentJobs: z.ZodArray<z.ZodObject<{
|
|
1840
1716
|
id: z.ZodString;
|
|
1841
1717
|
kind: z.ZodEnum<{
|
|
1842
|
-
task: "task";
|
|
1843
1718
|
supervisor: "supervisor";
|
|
1844
1719
|
webhook: "webhook";
|
|
1845
1720
|
agent_loop: "agent_loop";
|
|
1721
|
+
task: "task";
|
|
1846
1722
|
}>;
|
|
1847
1723
|
status: z.ZodEnum<{
|
|
1848
1724
|
completed: "completed";
|
|
@@ -2066,10 +1942,10 @@ declare const DaemonStateSchema: z.ZodObject<{
|
|
|
2066
1942
|
recentJobs: z.ZodArray<z.ZodObject<{
|
|
2067
1943
|
id: z.ZodString;
|
|
2068
1944
|
kind: z.ZodEnum<{
|
|
2069
|
-
task: "task";
|
|
2070
1945
|
supervisor: "supervisor";
|
|
2071
1946
|
webhook: "webhook";
|
|
2072
1947
|
agent_loop: "agent_loop";
|
|
1948
|
+
task: "task";
|
|
2073
1949
|
}>;
|
|
2074
1950
|
status: z.ZodEnum<{
|
|
2075
1951
|
completed: "completed";
|
|
@@ -2218,16 +2094,16 @@ declare const DaemonStateSchema: z.ZodObject<{
|
|
|
2218
2094
|
type DaemonState = z.infer<typeof DaemonStateSchema>;
|
|
2219
2095
|
|
|
2220
2096
|
declare const KnowledgeEntryTypeSchema: z.ZodEnum<{
|
|
2221
|
-
warning: "warning";
|
|
2222
2097
|
discovery: "discovery";
|
|
2223
2098
|
decision: "decision";
|
|
2224
2099
|
fix: "fix";
|
|
2225
2100
|
convention: "convention";
|
|
2101
|
+
warning: "warning";
|
|
2226
2102
|
}>;
|
|
2227
2103
|
type KnowledgeEntryType = z.infer<typeof KnowledgeEntryTypeSchema>;
|
|
2228
2104
|
declare const KnowledgeContributorTypeSchema: z.ZodEnum<{
|
|
2229
|
-
user: "user";
|
|
2230
2105
|
session: "session";
|
|
2106
|
+
user: "user";
|
|
2231
2107
|
supervisor: "supervisor";
|
|
2232
2108
|
}>;
|
|
2233
2109
|
type KnowledgeContributorType = z.infer<typeof KnowledgeContributorTypeSchema>;
|
|
@@ -2240,8 +2116,8 @@ declare const KnowledgeActionSchema: z.ZodEnum<{
|
|
|
2240
2116
|
type KnowledgeAction = z.infer<typeof KnowledgeActionSchema>;
|
|
2241
2117
|
declare const KnowledgeStatusSchema: z.ZodEnum<{
|
|
2242
2118
|
active: "active";
|
|
2243
|
-
superseded: "superseded";
|
|
2244
2119
|
archived: "archived";
|
|
2120
|
+
superseded: "superseded";
|
|
2245
2121
|
}>;
|
|
2246
2122
|
type KnowledgeStatus = z.infer<typeof KnowledgeStatusSchema>;
|
|
2247
2123
|
declare const KnowledgeConfidenceSchema: z.ZodEnum<{
|
|
@@ -2252,15 +2128,15 @@ declare const KnowledgeConfidenceSchema: z.ZodEnum<{
|
|
|
2252
2128
|
type KnowledgeConfidence = z.infer<typeof KnowledgeConfidenceSchema>;
|
|
2253
2129
|
declare const CreateKnowledgeEntryBodySchema: z.ZodObject<{
|
|
2254
2130
|
entryType: z.ZodEnum<{
|
|
2255
|
-
warning: "warning";
|
|
2256
2131
|
discovery: "discovery";
|
|
2257
2132
|
decision: "decision";
|
|
2258
2133
|
fix: "fix";
|
|
2259
2134
|
convention: "convention";
|
|
2135
|
+
warning: "warning";
|
|
2260
2136
|
}>;
|
|
2261
2137
|
contributorType: z.ZodEnum<{
|
|
2262
|
-
user: "user";
|
|
2263
2138
|
session: "session";
|
|
2139
|
+
user: "user";
|
|
2264
2140
|
supervisor: "supervisor";
|
|
2265
2141
|
}>;
|
|
2266
2142
|
action: z.ZodEnum<{
|
|
@@ -2292,8 +2168,8 @@ type CreateKnowledgeEntryBody = z.infer<typeof CreateKnowledgeEntryBodySchema>;
|
|
|
2292
2168
|
declare const UpdateKnowledgeEntryBodySchema: z.ZodObject<{
|
|
2293
2169
|
status: z.ZodOptional<z.ZodEnum<{
|
|
2294
2170
|
active: "active";
|
|
2295
|
-
superseded: "superseded";
|
|
2296
2171
|
archived: "archived";
|
|
2172
|
+
superseded: "superseded";
|
|
2297
2173
|
}>>;
|
|
2298
2174
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
2299
2175
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -2308,16 +2184,16 @@ declare const UpdateKnowledgeEntryBodySchema: z.ZodObject<{
|
|
|
2308
2184
|
type UpdateKnowledgeEntryBody = z.infer<typeof UpdateKnowledgeEntryBodySchema>;
|
|
2309
2185
|
declare const QueryKnowledgeParamsSchema: z.ZodObject<{
|
|
2310
2186
|
entryType: z.ZodOptional<z.ZodEnum<{
|
|
2311
|
-
warning: "warning";
|
|
2312
2187
|
discovery: "discovery";
|
|
2313
2188
|
decision: "decision";
|
|
2314
2189
|
fix: "fix";
|
|
2315
2190
|
convention: "convention";
|
|
2191
|
+
warning: "warning";
|
|
2316
2192
|
}>>;
|
|
2317
2193
|
status: z.ZodOptional<z.ZodEnum<{
|
|
2318
2194
|
active: "active";
|
|
2319
|
-
superseded: "superseded";
|
|
2320
2195
|
archived: "archived";
|
|
2196
|
+
superseded: "superseded";
|
|
2321
2197
|
}>>;
|
|
2322
2198
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2323
2199
|
search: z.ZodOptional<z.ZodString>;
|
|
@@ -2361,11 +2237,11 @@ declare const KnowledgeInjectionResponseSchema: z.ZodObject<{
|
|
|
2361
2237
|
entries: z.ZodArray<z.ZodObject<{
|
|
2362
2238
|
id: z.ZodString;
|
|
2363
2239
|
entryType: z.ZodEnum<{
|
|
2364
|
-
warning: "warning";
|
|
2365
2240
|
discovery: "discovery";
|
|
2366
2241
|
decision: "decision";
|
|
2367
2242
|
fix: "fix";
|
|
2368
2243
|
convention: "convention";
|
|
2244
|
+
warning: "warning";
|
|
2369
2245
|
}>;
|
|
2370
2246
|
title: z.ZodString;
|
|
2371
2247
|
content: z.ZodString;
|
|
@@ -2391,11 +2267,11 @@ type KnowledgeChainRelation = z.infer<typeof KnowledgeChainRelationSchema>;
|
|
|
2391
2267
|
declare const KnowledgeChainEntrySchema: z.ZodObject<{
|
|
2392
2268
|
id: z.ZodString;
|
|
2393
2269
|
entryType: z.ZodEnum<{
|
|
2394
|
-
warning: "warning";
|
|
2395
2270
|
discovery: "discovery";
|
|
2396
2271
|
decision: "decision";
|
|
2397
2272
|
fix: "fix";
|
|
2398
2273
|
convention: "convention";
|
|
2274
|
+
warning: "warning";
|
|
2399
2275
|
}>;
|
|
2400
2276
|
action: z.ZodEnum<{
|
|
2401
2277
|
create: "create";
|
|
@@ -2405,8 +2281,8 @@ declare const KnowledgeChainEntrySchema: z.ZodObject<{
|
|
|
2405
2281
|
}>;
|
|
2406
2282
|
status: z.ZodEnum<{
|
|
2407
2283
|
active: "active";
|
|
2408
|
-
superseded: "superseded";
|
|
2409
2284
|
archived: "archived";
|
|
2285
|
+
superseded: "superseded";
|
|
2410
2286
|
}>;
|
|
2411
2287
|
title: z.ZodString;
|
|
2412
2288
|
content: z.ZodString;
|
|
@@ -2424,11 +2300,11 @@ declare const KnowledgeChainResponseSchema: z.ZodObject<{
|
|
|
2424
2300
|
chain: z.ZodArray<z.ZodObject<{
|
|
2425
2301
|
id: z.ZodString;
|
|
2426
2302
|
entryType: z.ZodEnum<{
|
|
2427
|
-
warning: "warning";
|
|
2428
2303
|
discovery: "discovery";
|
|
2429
2304
|
decision: "decision";
|
|
2430
2305
|
fix: "fix";
|
|
2431
2306
|
convention: "convention";
|
|
2307
|
+
warning: "warning";
|
|
2432
2308
|
}>;
|
|
2433
2309
|
action: z.ZodEnum<{
|
|
2434
2310
|
create: "create";
|
|
@@ -2438,8 +2314,8 @@ declare const KnowledgeChainResponseSchema: z.ZodObject<{
|
|
|
2438
2314
|
}>;
|
|
2439
2315
|
status: z.ZodEnum<{
|
|
2440
2316
|
active: "active";
|
|
2441
|
-
superseded: "superseded";
|
|
2442
2317
|
archived: "archived";
|
|
2318
|
+
superseded: "superseded";
|
|
2443
2319
|
}>;
|
|
2444
2320
|
title: z.ZodString;
|
|
2445
2321
|
content: z.ZodString;
|
|
@@ -2467,11 +2343,11 @@ declare const CrossProjectSearchResultSchema: z.ZodObject<{
|
|
|
2467
2343
|
projectId: z.ZodString;
|
|
2468
2344
|
projectPath: z.ZodString;
|
|
2469
2345
|
entryType: z.ZodEnum<{
|
|
2470
|
-
warning: "warning";
|
|
2471
2346
|
discovery: "discovery";
|
|
2472
2347
|
decision: "decision";
|
|
2473
2348
|
fix: "fix";
|
|
2474
2349
|
convention: "convention";
|
|
2350
|
+
warning: "warning";
|
|
2475
2351
|
}>;
|
|
2476
2352
|
title: z.ZodString;
|
|
2477
2353
|
content: z.ZodString;
|
|
@@ -2491,11 +2367,11 @@ declare const CrossProjectSearchResponseSchema: z.ZodObject<{
|
|
|
2491
2367
|
projectId: z.ZodString;
|
|
2492
2368
|
projectPath: z.ZodString;
|
|
2493
2369
|
entryType: z.ZodEnum<{
|
|
2494
|
-
warning: "warning";
|
|
2495
2370
|
discovery: "discovery";
|
|
2496
2371
|
decision: "decision";
|
|
2497
2372
|
fix: "fix";
|
|
2498
2373
|
convention: "convention";
|
|
2374
|
+
warning: "warning";
|
|
2499
2375
|
}>;
|
|
2500
2376
|
title: z.ZodString;
|
|
2501
2377
|
content: z.ZodString;
|
|
@@ -2739,34 +2615,34 @@ type SkillContent = z.infer<typeof SkillContentSchema>;
|
|
|
2739
2615
|
|
|
2740
2616
|
declare const InboxCategorySchema: z.ZodEnum<{
|
|
2741
2617
|
session: "session";
|
|
2618
|
+
supervisor: "supervisor";
|
|
2742
2619
|
task: "task";
|
|
2743
2620
|
trigger: "trigger";
|
|
2744
|
-
supervisor: "supervisor";
|
|
2745
2621
|
knowledge: "knowledge";
|
|
2746
2622
|
system: "system";
|
|
2747
2623
|
}>;
|
|
2748
2624
|
type InboxCategory = z.infer<typeof InboxCategorySchema>;
|
|
2749
2625
|
declare const InboxSeveritySchema: z.ZodEnum<{
|
|
2750
2626
|
error: "error";
|
|
2751
|
-
info: "info";
|
|
2752
2627
|
warning: "warning";
|
|
2628
|
+
info: "info";
|
|
2753
2629
|
}>;
|
|
2754
2630
|
type InboxSeverity = z.infer<typeof InboxSeveritySchema>;
|
|
2755
2631
|
declare const InboxItemSummarySchema: z.ZodObject<{
|
|
2756
2632
|
id: z.ZodString;
|
|
2757
2633
|
category: z.ZodEnum<{
|
|
2758
2634
|
session: "session";
|
|
2635
|
+
supervisor: "supervisor";
|
|
2759
2636
|
task: "task";
|
|
2760
2637
|
trigger: "trigger";
|
|
2761
|
-
supervisor: "supervisor";
|
|
2762
2638
|
knowledge: "knowledge";
|
|
2763
2639
|
system: "system";
|
|
2764
2640
|
}>;
|
|
2765
2641
|
eventType: z.ZodString;
|
|
2766
2642
|
severity: z.ZodEnum<{
|
|
2767
2643
|
error: "error";
|
|
2768
|
-
info: "info";
|
|
2769
2644
|
warning: "warning";
|
|
2645
|
+
info: "info";
|
|
2770
2646
|
}>;
|
|
2771
2647
|
title: z.ZodString;
|
|
2772
2648
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -2784,17 +2660,17 @@ declare const InboxNewItemSchema: z.ZodObject<{
|
|
|
2784
2660
|
id: z.ZodString;
|
|
2785
2661
|
category: z.ZodEnum<{
|
|
2786
2662
|
session: "session";
|
|
2663
|
+
supervisor: "supervisor";
|
|
2787
2664
|
task: "task";
|
|
2788
2665
|
trigger: "trigger";
|
|
2789
|
-
supervisor: "supervisor";
|
|
2790
2666
|
knowledge: "knowledge";
|
|
2791
2667
|
system: "system";
|
|
2792
2668
|
}>;
|
|
2793
2669
|
eventType: z.ZodString;
|
|
2794
2670
|
severity: z.ZodEnum<{
|
|
2795
2671
|
error: "error";
|
|
2796
|
-
info: "info";
|
|
2797
2672
|
warning: "warning";
|
|
2673
|
+
info: "info";
|
|
2798
2674
|
}>;
|
|
2799
2675
|
title: z.ZodString;
|
|
2800
2676
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -3553,5 +3429,64 @@ declare function normalizeResolvedRuntimeProfile(input: unknown, options?: {
|
|
|
3553
3429
|
}): ResolvedRuntimeProfile | undefined;
|
|
3554
3430
|
declare function isTrustedRuntimeProfile(runtimeProfile: ResolvedRuntimeProfile | null | undefined): boolean;
|
|
3555
3431
|
|
|
3556
|
-
|
|
3557
|
-
|
|
3432
|
+
/**
|
|
3433
|
+
* Shared schemas for live session state surfaced to the App's Progress tab.
|
|
3434
|
+
*
|
|
3435
|
+
* These are written by the Agent via MCP tools (update_progress /
|
|
3436
|
+
* update_session_summary) and read by the App through the encrypted
|
|
3437
|
+
* `Session.metadata` blob — no new server storage or migration needed.
|
|
3438
|
+
*
|
|
3439
|
+
* Keep these fields small: they ride inside the metadata envelope on every
|
|
3440
|
+
* socket update, so avoid attaching large structured content here.
|
|
3441
|
+
*/
|
|
3442
|
+
declare const sessionProgressTodoStatusSchema: z.ZodEnum<{
|
|
3443
|
+
completed: "completed";
|
|
3444
|
+
pending: "pending";
|
|
3445
|
+
in_progress: "in_progress";
|
|
3446
|
+
}>;
|
|
3447
|
+
type SessionProgressTodoStatus = z.infer<typeof sessionProgressTodoStatusSchema>;
|
|
3448
|
+
declare const sessionProgressTodoSchema: z.ZodObject<{
|
|
3449
|
+
content: z.ZodString;
|
|
3450
|
+
status: z.ZodEnum<{
|
|
3451
|
+
completed: "completed";
|
|
3452
|
+
pending: "pending";
|
|
3453
|
+
in_progress: "in_progress";
|
|
3454
|
+
}>;
|
|
3455
|
+
stage: z.ZodOptional<z.ZodString>;
|
|
3456
|
+
}, z.core.$strip>;
|
|
3457
|
+
type SessionProgressTodo = z.infer<typeof sessionProgressTodoSchema>;
|
|
3458
|
+
/**
|
|
3459
|
+
* Live progress state. Full rewrite each update — the Agent sends the
|
|
3460
|
+
* complete checklist, never a delta.
|
|
3461
|
+
*/
|
|
3462
|
+
declare const sessionProgressStateSchema: z.ZodObject<{
|
|
3463
|
+
todos: z.ZodArray<z.ZodObject<{
|
|
3464
|
+
content: z.ZodString;
|
|
3465
|
+
status: z.ZodEnum<{
|
|
3466
|
+
completed: "completed";
|
|
3467
|
+
pending: "pending";
|
|
3468
|
+
in_progress: "in_progress";
|
|
3469
|
+
}>;
|
|
3470
|
+
stage: z.ZodOptional<z.ZodString>;
|
|
3471
|
+
}, z.core.$strip>>;
|
|
3472
|
+
currentStage: z.ZodOptional<z.ZodString>;
|
|
3473
|
+
blockers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3474
|
+
updatedAt: z.ZodNumber;
|
|
3475
|
+
}, z.core.$strip>;
|
|
3476
|
+
type SessionProgressState = z.infer<typeof sessionProgressStateSchema>;
|
|
3477
|
+
/**
|
|
3478
|
+
* Live narrative summary updated at milestones, not per tool call. Arrays
|
|
3479
|
+
* are full-rewrite for simplicity (no append/remove deltas).
|
|
3480
|
+
*/
|
|
3481
|
+
declare const sessionSummaryStateSchema: z.ZodObject<{
|
|
3482
|
+
goal: z.ZodString;
|
|
3483
|
+
currentFocus: z.ZodOptional<z.ZodString>;
|
|
3484
|
+
keyDecisions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3485
|
+
openQuestions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3486
|
+
impactScope: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3487
|
+
updatedAt: z.ZodNumber;
|
|
3488
|
+
}, z.core.$strip>;
|
|
3489
|
+
type SessionSummaryState = z.infer<typeof sessionSummaryStateSchema>;
|
|
3490
|
+
|
|
3491
|
+
export { AGENT_MSG_PRIORITIES, AGENT_MSG_STATUSES, AGENT_MSG_TYPES, AIBackendProfileSchema, AcceptBodySchema, AgentLoopSummarySchema, AgentMessageSchema, AgentMessageSummarySchema, AgentMsgTypeSchema, AnthropicConfigSchema, ApiMessageSchema, ApiUpdateMachineStateSchema, ApiUpdateNewMessageSchema, ApiUpdateSessionStateSchema, AutoDreamProfileSummarySchema, AutomationAuditEventSummarySchema, AutomationAuditStatsSchema, AutomationCountsSchema, AutomationGuardianSummarySchema, AutomationGuardianUsageSummarySchema, AutomationJobKindSchema, AutomationJobStatusSchema, AutomationJobSummarySchema, AutomationPrioritySchema, AutomationStateSchema, AutonomyStatsRecentActionSchema, AutonomyStatsSchema, AzureOpenAIConfigSchema, BUILT_IN_AI_BACKEND_PROFILE_IDS, BootstrapProfileSummarySchema, BriefMessageSchema, BuiltInAIBackendProfileIdSchema, CodexConfigSchema, CoreUpdateBodySchema, CoreUpdateContainerSchema, CreateKnowledgeEntryBodySchema, CreateSkillBodySchema, CreateTaskBodySchema, CrossProjectSearchResponseSchema, CrossProjectSearchResultSchema, CustomModelSchema, DaemonStateSchema, DefaultPermissionModeSchema, EVIDENCE_KINDS, EnvironmentVariableSchema, InboxCategorySchema, InboxItemSummarySchema, InboxNewItemSchema, InboxSeveritySchema, InboxUnreadCountSchema, KnowledgeActionSchema, KnowledgeChainEntrySchema, KnowledgeChainRelationSchema, KnowledgeChainResponseSchema, KnowledgeConfidenceSchema, KnowledgeContributorTypeSchema, KnowledgeEntryTypeSchema, KnowledgeInjectionModeSchema, KnowledgeInjectionRequestSchema, KnowledgeInjectionResponseSchema, KnowledgeStatusSchema, LegacyMessageContentSchema, MachineMetadataSchema, MessageContentSchema, MessageMetaSchema, OpenAIConfigSchema, ProfileCompatibilitySchema, ProjectProfileSchema, QueryKnowledgeParamsSchema, RESOLVED_RUNTIME_PROFILE_SCHEMA_VERSION, ResolvedRuntimeProfileSchema, RuntimeProfileSourceSchema, RuntimeProfileTrustSchema, SUGGESTION_ACCEPT_AUDIT_RULES, SUGGESTION_ACCEPT_SOURCES, SUGGESTION_AUTO_ACCEPT_FAILURE_DETAILS, SUGGESTION_AUTO_ACCEPT_REASON_CODES, SUGGESTION_AUTO_ACCEPT_STATUSES, SUGGESTION_BUCKETS, SUGGESTION_STATUSES, SUGGESTION_TYPES, SUPERVISOR_MODES, SessionEventCreatedSchema, SessionEventReportSchema, SessionEventSummarySchema, SessionEventTypeSchema, SessionMessageContentSchema, SessionMessageSchema, SessionProtocolMessageSchema, SkillContentSchema, SkillSummarySchema, SuggestionAcceptAuditSchema, SuggestionDecisionPayloadSchema, SuggestionEvidenceSchema, SuggestionGoalPayloadSchema, SuggestionPayloadSchema, SuggestionSkillPayloadSchema, SuggestionTaskPayloadSchema, TailscaleInfoSchema, TailscaleServeEntrySchema, TaskOutcomeSchema, TaskPrioritySchema, TaskStatusChangedSchema, TaskStatusReportSchema, TaskStatusSchema, TaskSummarySchema, TaskTriggerDataSchema, TaskTriggerTypeSchema, TmuxConfigSchema, TogetherAIConfigSchema, TunnelEntrySchema, TunnelProviderInfoSchema, TunnelStateSchema, TurnKnowledgeExtractionSchema, UpdateBodySchema, UpdateKnowledgeEntryBodySchema, UpdateMachineBodySchema, UpdateNewMessageBodySchema, UpdateSchema, UpdateSessionBodySchema, UpdateSkillBodySchema, UserMessageSchema, VersionedEncryptedValueSchema, VersionedMachineEncryptedValueSchema, VersionedNullableEncryptedValueSchema, VoiceTokenAllowedSchema, VoiceTokenDeniedSchema, VoiceTokenResponseSchema, WorldAutonomyPolicySchema, WorldSuggestionUpdatedSchema, createEnvelope, createResolvedRuntimeProfile, getProfileEnvironmentVariables, getSuggestionPayloadSchema, isTrustedRuntimeProfile, normalizeResolvedRuntimeProfile, sessionContextUsageCategorySchema, sessionContextUsageEventSchema, sessionEnvelopeSchema, sessionEventSchema, sessionFileEventSchema, sessionModelUsageSchema, sessionNeedsContinueEventSchema, sessionProgressStateSchema, sessionProgressTodoSchema, sessionProgressTodoStatusSchema, sessionPromptSuggestionEventSchema, sessionRoleSchema, sessionServiceMessageEventSchema, sessionStartEventSchema, sessionStateChangedEventSchema, sessionStopEventSchema, sessionSummaryStateSchema, sessionTaskEndEventSchema, sessionTaskLogEventSchema, sessionTaskProgressEventSchema, sessionTaskStartEventSchema, sessionTextDeltaEventSchema, sessionTextEventSchema, sessionToolCallEndEventSchema, sessionToolCallStartEventSchema, sessionToolProgressEventSchema, sessionTurnEndEventSchema, sessionTurnEndStatusSchema, sessionTurnStartEventSchema, sessionUsageUpdateEventSchema, terminalCloseRequestSchema, terminalExitPayloadSchema, terminalInputPayloadSchema, terminalOutputPayloadSchema, terminalResizeRequestSchema, terminalSpawnRequestSchema, terminalSpawnResponseSchema, validateProfileForAgent };
|
|
3492
|
+
export type { AIBackendProfile, AcceptBody, AgentLoopSummary, AgentMessage, AgentMessageSummary, AgentMsgPriority, AgentMsgStatus, AgentMsgType, ApiMessage, ApiUpdateMachineState, ApiUpdateNewMessage, ApiUpdateSessionState, AutoDreamProfileSummary, AutomationAuditEventSummary, AutomationAuditStats, AutomationCounts, AutomationGuardianSummary, AutomationGuardianUsageSummary, AutomationJobKind, AutomationJobStatus, AutomationJobSummary, AutomationPriority, AutomationState, AutonomyStats, BootstrapProfileSummary, BriefMessage, BuiltInAIBackendProfileId, CoreUpdateBody, CoreUpdateContainer, CreateEnvelopeOptions, CreateKnowledgeEntryBody, CreateSkillBody, CreateTaskBody, CrossProjectSearchResponse, CrossProjectSearchResult, DaemonState, InboxCategory, InboxItemSummary, InboxNewItem, InboxSeverity, InboxUnreadCount, KnowledgeAction, KnowledgeChainEntry, KnowledgeChainRelation, KnowledgeChainResponse, KnowledgeConfidence, KnowledgeContributorType, KnowledgeEntryType, KnowledgeInjectionMode, KnowledgeInjectionRequest, KnowledgeInjectionResponse, KnowledgeStatus, LegacyMessageContent, MachineMetadata, MessageContent, MessageMeta, ProjectProfile, QueryKnowledgeParams, ResolvedRuntimeProfile, RuntimeProfileSource, RuntimeProfileTrust, SessionContextUsageEvent, SessionEnvelope, SessionEvent, SessionEventCreated, SessionEventReport, SessionEventSummary, SessionEventType, SessionMessage, SessionMessageContent, SessionModelUsage, SessionProgressState, SessionProgressTodo, SessionProgressTodoStatus, SessionProtocolMessage, SessionRole, SessionSummaryState, SessionTurnEndStatus, SkillContent, SkillSummary, SuggestionAcceptAudit, SuggestionAcceptAuditRule, SuggestionAcceptSource, SuggestionAutoAcceptFailureDetail, SuggestionAutoAcceptReasonCode, SuggestionAutoAcceptStatus, SuggestionBucket, SuggestionDecisionPayload, SuggestionEvidence, SuggestionGoalPayload, SuggestionPayload, SuggestionSerialized, SuggestionSkillPayload, SuggestionStatus, SuggestionSummary, SuggestionTaskPayload, SuggestionType, SupervisorMode, TailscaleInfo, TailscaleServeEntry, TaskOutcome, TaskPriority, TaskStatus, TaskStatusChanged, TaskStatusReport, TaskSummary, TaskTriggerData, TaskTriggerType, TerminalCloseRequest, TerminalExitPayload, TerminalInputPayload, TerminalOutputPayload, TerminalResizeRequest, TerminalSpawnRequest, TerminalSpawnResponse, TunnelEntry, TunnelProviderInfo, TunnelState, TurnKnowledgeExtraction, Update, UpdateBody, UpdateKnowledgeEntryBody, UpdateMachineBody, UpdateNewMessageBody, UpdateSessionBody, UpdateSkillBody, UserMessage, VersionedEncryptedValue, VersionedMachineEncryptedValue, VersionedNullableEncryptedValue, VoiceTokenResponse, WorldAutonomyPolicy, WorldSuggestionUpdated };
|