@kmmao/happy-wire 0.11.5 → 0.11.6

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 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({
@@ -1662,7 +1643,6 @@ exports.sessionTextEventSchema = sessionTextEventSchema;
1662
1643
  exports.sessionToolCallEndEventSchema = sessionToolCallEndEventSchema;
1663
1644
  exports.sessionToolCallStartEventSchema = sessionToolCallStartEventSchema;
1664
1645
  exports.sessionToolProgressEventSchema = sessionToolProgressEventSchema;
1665
- exports.sessionTurnDiagnosticsSchema = sessionTurnDiagnosticsSchema;
1666
1646
  exports.sessionTurnEndEventSchema = sessionTurnEndEventSchema;
1667
1647
  exports.sessionTurnEndStatusSchema = sessionTurnEndStatusSchema;
1668
1648
  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>;
@@ -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<{
@@ -2308,11 +2184,11 @@ 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";
@@ -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";
@@ -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";
@@ -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,5 @@ declare function normalizeResolvedRuntimeProfile(input: unknown, options?: {
3553
3429
  }): ResolvedRuntimeProfile | undefined;
3554
3430
  declare function isTrustedRuntimeProfile(runtimeProfile: ResolvedRuntimeProfile | null | undefined): boolean;
3555
3431
 
3556
- 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, sessionPromptSuggestionEventSchema, sessionRoleSchema, sessionServiceMessageEventSchema, sessionStartEventSchema, sessionStateChangedEventSchema, sessionStopEventSchema, sessionTaskEndEventSchema, sessionTaskLogEventSchema, sessionTaskProgressEventSchema, sessionTaskStartEventSchema, sessionTextDeltaEventSchema, sessionTextEventSchema, sessionToolCallEndEventSchema, sessionToolCallStartEventSchema, sessionToolProgressEventSchema, sessionTurnDiagnosticsSchema, sessionTurnEndEventSchema, sessionTurnEndStatusSchema, sessionTurnStartEventSchema, sessionUsageUpdateEventSchema, terminalCloseRequestSchema, terminalExitPayloadSchema, terminalInputPayloadSchema, terminalOutputPayloadSchema, terminalResizeRequestSchema, terminalSpawnRequestSchema, terminalSpawnResponseSchema, validateProfileForAgent };
3557
- 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, SessionProtocolMessage, SessionRole, SessionTurnDiagnostics, 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 };
3432
+ 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, sessionPromptSuggestionEventSchema, sessionRoleSchema, sessionServiceMessageEventSchema, sessionStartEventSchema, sessionStateChangedEventSchema, sessionStopEventSchema, sessionTaskEndEventSchema, sessionTaskLogEventSchema, sessionTaskProgressEventSchema, sessionTaskStartEventSchema, sessionTextDeltaEventSchema, sessionTextEventSchema, sessionToolCallEndEventSchema, sessionToolCallStartEventSchema, sessionToolProgressEventSchema, sessionTurnEndEventSchema, sessionTurnEndStatusSchema, sessionTurnStartEventSchema, sessionUsageUpdateEventSchema, terminalCloseRequestSchema, terminalExitPayloadSchema, terminalInputPayloadSchema, terminalOutputPayloadSchema, terminalResizeRequestSchema, terminalSpawnRequestSchema, terminalSpawnResponseSchema, validateProfileForAgent };
3433
+ 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, SessionProtocolMessage, SessionRole, 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 };
package/dist/index.d.mts 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>;
@@ -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<{
@@ -2308,11 +2184,11 @@ 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";
@@ -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";
@@ -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";
@@ -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,5 @@ declare function normalizeResolvedRuntimeProfile(input: unknown, options?: {
3553
3429
  }): ResolvedRuntimeProfile | undefined;
3554
3430
  declare function isTrustedRuntimeProfile(runtimeProfile: ResolvedRuntimeProfile | null | undefined): boolean;
3555
3431
 
3556
- 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, sessionPromptSuggestionEventSchema, sessionRoleSchema, sessionServiceMessageEventSchema, sessionStartEventSchema, sessionStateChangedEventSchema, sessionStopEventSchema, sessionTaskEndEventSchema, sessionTaskLogEventSchema, sessionTaskProgressEventSchema, sessionTaskStartEventSchema, sessionTextDeltaEventSchema, sessionTextEventSchema, sessionToolCallEndEventSchema, sessionToolCallStartEventSchema, sessionToolProgressEventSchema, sessionTurnDiagnosticsSchema, sessionTurnEndEventSchema, sessionTurnEndStatusSchema, sessionTurnStartEventSchema, sessionUsageUpdateEventSchema, terminalCloseRequestSchema, terminalExitPayloadSchema, terminalInputPayloadSchema, terminalOutputPayloadSchema, terminalResizeRequestSchema, terminalSpawnRequestSchema, terminalSpawnResponseSchema, validateProfileForAgent };
3557
- 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, SessionProtocolMessage, SessionRole, SessionTurnDiagnostics, 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 };
3432
+ 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, sessionPromptSuggestionEventSchema, sessionRoleSchema, sessionServiceMessageEventSchema, sessionStartEventSchema, sessionStateChangedEventSchema, sessionStopEventSchema, sessionTaskEndEventSchema, sessionTaskLogEventSchema, sessionTaskProgressEventSchema, sessionTaskStartEventSchema, sessionTextDeltaEventSchema, sessionTextEventSchema, sessionToolCallEndEventSchema, sessionToolCallStartEventSchema, sessionToolProgressEventSchema, sessionTurnEndEventSchema, sessionTurnEndStatusSchema, sessionTurnStartEventSchema, sessionUsageUpdateEventSchema, terminalCloseRequestSchema, terminalExitPayloadSchema, terminalInputPayloadSchema, terminalOutputPayloadSchema, terminalResizeRequestSchema, terminalSpawnRequestSchema, terminalSpawnResponseSchema, validateProfileForAgent };
3433
+ 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, SessionProtocolMessage, SessionRole, 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 };
package/dist/index.mjs CHANGED
@@ -48,19 +48,6 @@ const sessionFileEventSchema = z.object({
48
48
  const sessionTurnStartEventSchema = z.object({
49
49
  t: z.literal("turn-start")
50
50
  });
51
- const sessionTurnDiagnosticsSchema = z.object({
52
- version: z.literal(1),
53
- requestIds: z.array(z.string()).optional(),
54
- provider: z.string().optional(),
55
- queueWaitMs: z.number().optional(),
56
- socketToQueueMs: z.number().optional(),
57
- queueToTurnStartMs: z.number().optional(),
58
- firstOutputMs: z.number().optional(),
59
- firstTextMs: z.number().optional(),
60
- turnDurationMs: z.number().optional(),
61
- postFirstOutputMs: z.number().optional(),
62
- postFirstTextMs: z.number().optional()
63
- });
64
51
  const sessionStartEventSchema = z.object({
65
52
  t: z.literal("start"),
66
53
  title: z.string().optional()
@@ -92,8 +79,7 @@ const sessionTurnEndEventSchema = z.object({
92
79
  durationMs: z.number().optional(),
93
80
  totalCostUsd: z.number().optional(),
94
81
  numTurns: z.number().optional(),
95
- modelUsage: z.record(z.string(), sessionModelUsageSchema).optional(),
96
- diagnostics: sessionTurnDiagnosticsSchema.optional()
82
+ modelUsage: z.record(z.string(), sessionModelUsageSchema).optional()
97
83
  });
98
84
  const sessionStopEventSchema = z.object({
99
85
  t: z.literal("stop")
@@ -267,12 +253,7 @@ const MessageMetaSchema = z.object({
267
253
  * an assistant turn. Requires @anthropic-ai/claude-agent-sdk 0.2.110+ on CLI.
268
254
  * Defaults to true when unset (normal turn-triggering message).
269
255
  */
270
- shouldQuery: z.boolean().optional(),
271
- requestDiagnostics: z.object({
272
- version: z.literal(1),
273
- requestId: z.string(),
274
- clientCreatedAtMs: z.number()
275
- }).optional()
256
+ shouldQuery: z.boolean().optional()
276
257
  });
277
258
 
278
259
  const UserMessageSchema = z.object({
@@ -1484,4 +1465,4 @@ function isTrustedRuntimeProfile(runtimeProfile) {
1484
1465
  return runtimeProfile?.trust === "trusted";
1485
1466
  }
1486
1467
 
1487
- 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, sessionPromptSuggestionEventSchema, sessionRoleSchema, sessionServiceMessageEventSchema, sessionStartEventSchema, sessionStateChangedEventSchema, sessionStopEventSchema, sessionTaskEndEventSchema, sessionTaskLogEventSchema, sessionTaskProgressEventSchema, sessionTaskStartEventSchema, sessionTextDeltaEventSchema, sessionTextEventSchema, sessionToolCallEndEventSchema, sessionToolCallStartEventSchema, sessionToolProgressEventSchema, sessionTurnDiagnosticsSchema, sessionTurnEndEventSchema, sessionTurnEndStatusSchema, sessionTurnStartEventSchema, sessionUsageUpdateEventSchema, terminalCloseRequestSchema, terminalExitPayloadSchema, terminalInputPayloadSchema, terminalOutputPayloadSchema, terminalResizeRequestSchema, terminalSpawnRequestSchema, terminalSpawnResponseSchema, validateProfileForAgent };
1468
+ 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, sessionPromptSuggestionEventSchema, sessionRoleSchema, sessionServiceMessageEventSchema, sessionStartEventSchema, sessionStateChangedEventSchema, sessionStopEventSchema, sessionTaskEndEventSchema, sessionTaskLogEventSchema, sessionTaskProgressEventSchema, sessionTaskStartEventSchema, sessionTextDeltaEventSchema, sessionTextEventSchema, sessionToolCallEndEventSchema, sessionToolCallStartEventSchema, sessionToolProgressEventSchema, sessionTurnEndEventSchema, sessionTurnEndStatusSchema, sessionTurnStartEventSchema, sessionUsageUpdateEventSchema, terminalCloseRequestSchema, terminalExitPayloadSchema, terminalInputPayloadSchema, terminalOutputPayloadSchema, terminalResizeRequestSchema, terminalSpawnRequestSchema, terminalSpawnResponseSchema, validateProfileForAgent };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmmao/happy-wire",
3
- "version": "0.11.5",
3
+ "version": "0.11.6",
4
4
  "description": "Shared message wire types and Zod schemas for Happy clients and services",
5
5
  "author": "kmmao",
6
6
  "license": "MIT",