@kmmao/happy-wire 0.9.2 → 0.10.1
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 +93 -0
- package/dist/index.d.cts +180 -41
- package/dist/index.d.mts +180 -41
- package/dist/index.mjs +85 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -883,6 +883,90 @@ const SkillContentSchema = z__namespace.object({
|
|
|
883
883
|
content: z__namespace.string()
|
|
884
884
|
});
|
|
885
885
|
|
|
886
|
+
const InboxCategorySchema = z__namespace.enum([
|
|
887
|
+
"task",
|
|
888
|
+
// Task queue events (completed, failed, cancelled)
|
|
889
|
+
"trigger",
|
|
890
|
+
// Cron/webhook trigger fired
|
|
891
|
+
"supervisor",
|
|
892
|
+
// Supervisor run results
|
|
893
|
+
"session",
|
|
894
|
+
// Session lifecycle events
|
|
895
|
+
"knowledge",
|
|
896
|
+
// Knowledge base changes
|
|
897
|
+
"system"
|
|
898
|
+
// System notifications
|
|
899
|
+
]);
|
|
900
|
+
const InboxSeveritySchema = z__namespace.enum([
|
|
901
|
+
"info",
|
|
902
|
+
"warning",
|
|
903
|
+
"error"
|
|
904
|
+
]);
|
|
905
|
+
const InboxItemSummarySchema = z__namespace.object({
|
|
906
|
+
id: z__namespace.string(),
|
|
907
|
+
category: InboxCategorySchema,
|
|
908
|
+
eventType: z__namespace.string(),
|
|
909
|
+
// e.g. "task.completed", "trigger.cron.fired"
|
|
910
|
+
severity: InboxSeveritySchema,
|
|
911
|
+
title: z__namespace.string(),
|
|
912
|
+
body: z__namespace.string().optional(),
|
|
913
|
+
read: z__namespace.boolean(),
|
|
914
|
+
referenceUrl: z__namespace.string().optional(),
|
|
915
|
+
// Deep link, e.g. "/machine/xxx/tasks"
|
|
916
|
+
refType: z__namespace.string().optional(),
|
|
917
|
+
// Polymorphic ref: "task" | "trigger" | "session" | ...
|
|
918
|
+
refId: z__namespace.string().optional(),
|
|
919
|
+
// ID of referenced entity
|
|
920
|
+
groupKey: z__namespace.string().optional(),
|
|
921
|
+
// Dedup key (same source within 1h → skip)
|
|
922
|
+
createdAt: z__namespace.number()
|
|
923
|
+
});
|
|
924
|
+
const InboxNewItemSchema = z__namespace.object({
|
|
925
|
+
type: z__namespace.literal("inbox-new-item"),
|
|
926
|
+
item: InboxItemSummarySchema
|
|
927
|
+
});
|
|
928
|
+
const InboxUnreadCountSchema = z__namespace.object({
|
|
929
|
+
type: z__namespace.literal("inbox-unread-count"),
|
|
930
|
+
count: z__namespace.number()
|
|
931
|
+
});
|
|
932
|
+
|
|
933
|
+
const SessionEventTypeSchema = z__namespace.enum([
|
|
934
|
+
"file_edit",
|
|
935
|
+
// File created/modified/deleted
|
|
936
|
+
"bash_command",
|
|
937
|
+
// Shell command executed
|
|
938
|
+
"tool_call",
|
|
939
|
+
// Tool invocation (Read, Grep, etc.)
|
|
940
|
+
"git_operation",
|
|
941
|
+
// Git commit, push, branch, etc.
|
|
942
|
+
"error",
|
|
943
|
+
// Error occurred during session
|
|
944
|
+
"session_start",
|
|
945
|
+
// Session started
|
|
946
|
+
"session_end"
|
|
947
|
+
// Session ended
|
|
948
|
+
]);
|
|
949
|
+
const SessionEventSummarySchema = z__namespace.object({
|
|
950
|
+
id: z__namespace.string(),
|
|
951
|
+
sessionId: z__namespace.string(),
|
|
952
|
+
eventType: SessionEventTypeSchema,
|
|
953
|
+
summary: z__namespace.string(),
|
|
954
|
+
// Human-readable one-liner
|
|
955
|
+
detail: z__namespace.record(z__namespace.string(), z__namespace.unknown()).optional(),
|
|
956
|
+
// Structured metadata (JSON)
|
|
957
|
+
createdAt: z__namespace.number()
|
|
958
|
+
});
|
|
959
|
+
const SessionEventReportSchema = z__namespace.object({
|
|
960
|
+
sessionId: z__namespace.string(),
|
|
961
|
+
eventType: SessionEventTypeSchema,
|
|
962
|
+
summary: z__namespace.string().max(500),
|
|
963
|
+
detail: z__namespace.record(z__namespace.string(), z__namespace.unknown()).optional()
|
|
964
|
+
});
|
|
965
|
+
const SessionEventCreatedSchema = z__namespace.object({
|
|
966
|
+
type: z__namespace.literal("session-event-created"),
|
|
967
|
+
event: SessionEventSummarySchema
|
|
968
|
+
});
|
|
969
|
+
|
|
886
970
|
exports.AgentLoopSummarySchema = AgentLoopSummarySchema;
|
|
887
971
|
exports.AgentMessageSchema = AgentMessageSchema;
|
|
888
972
|
exports.ApiMessageSchema = ApiMessageSchema;
|
|
@@ -910,6 +994,11 @@ exports.CreateTaskBodySchema = CreateTaskBodySchema;
|
|
|
910
994
|
exports.CrossProjectSearchResponseSchema = CrossProjectSearchResponseSchema;
|
|
911
995
|
exports.CrossProjectSearchResultSchema = CrossProjectSearchResultSchema;
|
|
912
996
|
exports.DaemonStateSchema = DaemonStateSchema;
|
|
997
|
+
exports.InboxCategorySchema = InboxCategorySchema;
|
|
998
|
+
exports.InboxItemSummarySchema = InboxItemSummarySchema;
|
|
999
|
+
exports.InboxNewItemSchema = InboxNewItemSchema;
|
|
1000
|
+
exports.InboxSeveritySchema = InboxSeveritySchema;
|
|
1001
|
+
exports.InboxUnreadCountSchema = InboxUnreadCountSchema;
|
|
913
1002
|
exports.KnowledgeActionSchema = KnowledgeActionSchema;
|
|
914
1003
|
exports.KnowledgeChainEntrySchema = KnowledgeChainEntrySchema;
|
|
915
1004
|
exports.KnowledgeChainRelationSchema = KnowledgeChainRelationSchema;
|
|
@@ -927,6 +1016,10 @@ exports.MessageContentSchema = MessageContentSchema;
|
|
|
927
1016
|
exports.MessageMetaSchema = MessageMetaSchema;
|
|
928
1017
|
exports.ProjectProfileSchema = ProjectProfileSchema;
|
|
929
1018
|
exports.QueryKnowledgeParamsSchema = QueryKnowledgeParamsSchema;
|
|
1019
|
+
exports.SessionEventCreatedSchema = SessionEventCreatedSchema;
|
|
1020
|
+
exports.SessionEventReportSchema = SessionEventReportSchema;
|
|
1021
|
+
exports.SessionEventSummarySchema = SessionEventSummarySchema;
|
|
1022
|
+
exports.SessionEventTypeSchema = SessionEventTypeSchema;
|
|
930
1023
|
exports.SessionMessageContentSchema = SessionMessageContentSchema;
|
|
931
1024
|
exports.SessionMessageSchema = SessionMessageSchema;
|
|
932
1025
|
exports.SessionProtocolMessageSchema = SessionProtocolMessageSchema;
|
package/dist/index.d.cts
CHANGED
|
@@ -170,8 +170,8 @@ declare const SessionProtocolMessageSchema: z.ZodObject<{
|
|
|
170
170
|
}, z.core.$strip>, z.ZodObject<{
|
|
171
171
|
t: z.ZodLiteral<"session-state-changed">;
|
|
172
172
|
state: z.ZodEnum<{
|
|
173
|
-
idle: "idle";
|
|
174
173
|
running: "running";
|
|
174
|
+
idle: "idle";
|
|
175
175
|
requires_action: "requires_action";
|
|
176
176
|
}>;
|
|
177
177
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -408,8 +408,8 @@ declare const MessageContentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
408
408
|
}, z.core.$strip>, z.ZodObject<{
|
|
409
409
|
t: z.ZodLiteral<"session-state-changed">;
|
|
410
410
|
state: z.ZodEnum<{
|
|
411
|
-
idle: "idle";
|
|
412
411
|
running: "running";
|
|
412
|
+
idle: "idle";
|
|
413
413
|
requires_action: "requires_action";
|
|
414
414
|
}>;
|
|
415
415
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1015,8 +1015,8 @@ declare const sessionNeedsContinueEventSchema: z.ZodObject<{
|
|
|
1015
1015
|
declare const sessionStateChangedEventSchema: z.ZodObject<{
|
|
1016
1016
|
t: z.ZodLiteral<"session-state-changed">;
|
|
1017
1017
|
state: z.ZodEnum<{
|
|
1018
|
-
idle: "idle";
|
|
1019
1018
|
running: "running";
|
|
1019
|
+
idle: "idle";
|
|
1020
1020
|
requires_action: "requires_action";
|
|
1021
1021
|
}>;
|
|
1022
1022
|
}, z.core.$strip>;
|
|
@@ -1172,8 +1172,8 @@ declare const sessionEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1172
1172
|
}, z.core.$strip>, z.ZodObject<{
|
|
1173
1173
|
t: z.ZodLiteral<"session-state-changed">;
|
|
1174
1174
|
state: z.ZodEnum<{
|
|
1175
|
-
idle: "idle";
|
|
1176
1175
|
running: "running";
|
|
1176
|
+
idle: "idle";
|
|
1177
1177
|
requires_action: "requires_action";
|
|
1178
1178
|
}>;
|
|
1179
1179
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1331,8 +1331,8 @@ declare const sessionEnvelopeSchema: z.ZodObject<{
|
|
|
1331
1331
|
}, z.core.$strip>, z.ZodObject<{
|
|
1332
1332
|
t: z.ZodLiteral<"session-state-changed">;
|
|
1333
1333
|
state: z.ZodEnum<{
|
|
1334
|
-
idle: "idle";
|
|
1335
1334
|
running: "running";
|
|
1335
|
+
idle: "idle";
|
|
1336
1336
|
requires_action: "requires_action";
|
|
1337
1337
|
}>;
|
|
1338
1338
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1492,8 +1492,8 @@ declare const TunnelStateSchema: z.ZodObject<{
|
|
|
1492
1492
|
}, z.core.$strip>;
|
|
1493
1493
|
type TunnelState = z.infer<typeof TunnelStateSchema>;
|
|
1494
1494
|
declare const AutomationPrioritySchema: z.ZodEnum<{
|
|
1495
|
-
user: "user";
|
|
1496
1495
|
urgent: "urgent";
|
|
1496
|
+
user: "user";
|
|
1497
1497
|
background: "background";
|
|
1498
1498
|
}>;
|
|
1499
1499
|
type AutomationPriority = z.infer<typeof AutomationPrioritySchema>;
|
|
@@ -1505,12 +1505,12 @@ declare const AutomationJobKindSchema: z.ZodEnum<{
|
|
|
1505
1505
|
}>;
|
|
1506
1506
|
type AutomationJobKind = z.infer<typeof AutomationJobKindSchema>;
|
|
1507
1507
|
declare const AutomationJobStatusSchema: z.ZodEnum<{
|
|
1508
|
+
queued: "queued";
|
|
1509
|
+
dispatching: "dispatching";
|
|
1510
|
+
running: "running";
|
|
1508
1511
|
completed: "completed";
|
|
1509
1512
|
failed: "failed";
|
|
1510
1513
|
cancelled: "cancelled";
|
|
1511
|
-
running: "running";
|
|
1512
|
-
queued: "queued";
|
|
1513
|
-
dispatching: "dispatching";
|
|
1514
1514
|
}>;
|
|
1515
1515
|
type AutomationJobStatus = z.infer<typeof AutomationJobStatusSchema>;
|
|
1516
1516
|
declare const AutomationJobSummarySchema: z.ZodObject<{
|
|
@@ -1522,16 +1522,16 @@ declare const AutomationJobSummarySchema: z.ZodObject<{
|
|
|
1522
1522
|
task: "task";
|
|
1523
1523
|
}>;
|
|
1524
1524
|
status: z.ZodEnum<{
|
|
1525
|
+
queued: "queued";
|
|
1526
|
+
dispatching: "dispatching";
|
|
1527
|
+
running: "running";
|
|
1525
1528
|
completed: "completed";
|
|
1526
1529
|
failed: "failed";
|
|
1527
1530
|
cancelled: "cancelled";
|
|
1528
|
-
running: "running";
|
|
1529
|
-
queued: "queued";
|
|
1530
|
-
dispatching: "dispatching";
|
|
1531
1531
|
}>;
|
|
1532
1532
|
priority: z.ZodEnum<{
|
|
1533
|
-
user: "user";
|
|
1534
1533
|
urgent: "urgent";
|
|
1534
|
+
user: "user";
|
|
1535
1535
|
background: "background";
|
|
1536
1536
|
}>;
|
|
1537
1537
|
dedupeKey: z.ZodString;
|
|
@@ -1685,16 +1685,16 @@ declare const AutomationStateSchema: z.ZodObject<{
|
|
|
1685
1685
|
task: "task";
|
|
1686
1686
|
}>;
|
|
1687
1687
|
status: z.ZodEnum<{
|
|
1688
|
+
queued: "queued";
|
|
1689
|
+
dispatching: "dispatching";
|
|
1690
|
+
running: "running";
|
|
1688
1691
|
completed: "completed";
|
|
1689
1692
|
failed: "failed";
|
|
1690
1693
|
cancelled: "cancelled";
|
|
1691
|
-
running: "running";
|
|
1692
|
-
queued: "queued";
|
|
1693
|
-
dispatching: "dispatching";
|
|
1694
1694
|
}>;
|
|
1695
1695
|
priority: z.ZodEnum<{
|
|
1696
|
-
user: "user";
|
|
1697
1696
|
urgent: "urgent";
|
|
1697
|
+
user: "user";
|
|
1698
1698
|
background: "background";
|
|
1699
1699
|
}>;
|
|
1700
1700
|
dedupeKey: z.ZodString;
|
|
@@ -1912,16 +1912,16 @@ declare const DaemonStateSchema: z.ZodObject<{
|
|
|
1912
1912
|
task: "task";
|
|
1913
1913
|
}>;
|
|
1914
1914
|
status: z.ZodEnum<{
|
|
1915
|
+
queued: "queued";
|
|
1916
|
+
dispatching: "dispatching";
|
|
1917
|
+
running: "running";
|
|
1915
1918
|
completed: "completed";
|
|
1916
1919
|
failed: "failed";
|
|
1917
1920
|
cancelled: "cancelled";
|
|
1918
|
-
running: "running";
|
|
1919
|
-
queued: "queued";
|
|
1920
|
-
dispatching: "dispatching";
|
|
1921
1921
|
}>;
|
|
1922
1922
|
priority: z.ZodEnum<{
|
|
1923
|
-
user: "user";
|
|
1924
1923
|
urgent: "urgent";
|
|
1924
|
+
user: "user";
|
|
1925
1925
|
background: "background";
|
|
1926
1926
|
}>;
|
|
1927
1927
|
dedupeKey: z.ZodString;
|
|
@@ -2066,9 +2066,9 @@ declare const KnowledgeEntryTypeSchema: z.ZodEnum<{
|
|
|
2066
2066
|
}>;
|
|
2067
2067
|
type KnowledgeEntryType = z.infer<typeof KnowledgeEntryTypeSchema>;
|
|
2068
2068
|
declare const KnowledgeContributorTypeSchema: z.ZodEnum<{
|
|
2069
|
-
session: "session";
|
|
2070
2069
|
user: "user";
|
|
2071
2070
|
supervisor: "supervisor";
|
|
2071
|
+
session: "session";
|
|
2072
2072
|
}>;
|
|
2073
2073
|
type KnowledgeContributorType = z.infer<typeof KnowledgeContributorTypeSchema>;
|
|
2074
2074
|
declare const KnowledgeActionSchema: z.ZodEnum<{
|
|
@@ -2099,9 +2099,9 @@ declare const CreateKnowledgeEntryBodySchema: z.ZodObject<{
|
|
|
2099
2099
|
warning: "warning";
|
|
2100
2100
|
}>;
|
|
2101
2101
|
contributorType: z.ZodEnum<{
|
|
2102
|
-
session: "session";
|
|
2103
2102
|
user: "user";
|
|
2104
2103
|
supervisor: "supervisor";
|
|
2104
|
+
session: "session";
|
|
2105
2105
|
}>;
|
|
2106
2106
|
action: z.ZodEnum<{
|
|
2107
2107
|
create: "create";
|
|
@@ -2410,18 +2410,18 @@ declare const VoiceTokenResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2410
2410
|
type VoiceTokenResponse = z.infer<typeof VoiceTokenResponseSchema>;
|
|
2411
2411
|
|
|
2412
2412
|
declare const TaskPrioritySchema: z.ZodEnum<{
|
|
2413
|
-
user: "user";
|
|
2414
2413
|
urgent: "urgent";
|
|
2414
|
+
user: "user";
|
|
2415
2415
|
background: "background";
|
|
2416
2416
|
}>;
|
|
2417
2417
|
type TaskPriority = z.infer<typeof TaskPrioritySchema>;
|
|
2418
2418
|
declare const TaskStatusSchema: z.ZodEnum<{
|
|
2419
|
+
queued: "queued";
|
|
2420
|
+
dispatching: "dispatching";
|
|
2421
|
+
running: "running";
|
|
2419
2422
|
completed: "completed";
|
|
2420
2423
|
failed: "failed";
|
|
2421
2424
|
cancelled: "cancelled";
|
|
2422
|
-
running: "running";
|
|
2423
|
-
queued: "queued";
|
|
2424
|
-
dispatching: "dispatching";
|
|
2425
2425
|
}>;
|
|
2426
2426
|
type TaskStatus = z.infer<typeof TaskStatusSchema>;
|
|
2427
2427
|
declare const TaskTriggerTypeSchema: z.ZodEnum<{
|
|
@@ -2435,17 +2435,17 @@ declare const TaskSummarySchema: z.ZodObject<{
|
|
|
2435
2435
|
projectId: z.ZodNullable<z.ZodString>;
|
|
2436
2436
|
machineId: z.ZodString;
|
|
2437
2437
|
priority: z.ZodEnum<{
|
|
2438
|
-
user: "user";
|
|
2439
2438
|
urgent: "urgent";
|
|
2439
|
+
user: "user";
|
|
2440
2440
|
background: "background";
|
|
2441
2441
|
}>;
|
|
2442
2442
|
status: z.ZodEnum<{
|
|
2443
|
+
queued: "queued";
|
|
2444
|
+
dispatching: "dispatching";
|
|
2445
|
+
running: "running";
|
|
2443
2446
|
completed: "completed";
|
|
2444
2447
|
failed: "failed";
|
|
2445
2448
|
cancelled: "cancelled";
|
|
2446
|
-
running: "running";
|
|
2447
|
-
queued: "queued";
|
|
2448
|
-
dispatching: "dispatching";
|
|
2449
2449
|
}>;
|
|
2450
2450
|
triggerType: z.ZodEnum<{
|
|
2451
2451
|
webhook: "webhook";
|
|
@@ -2470,8 +2470,8 @@ declare const CreateTaskBodySchema: z.ZodObject<{
|
|
|
2470
2470
|
machineId: z.ZodString;
|
|
2471
2471
|
prompt: z.ZodString;
|
|
2472
2472
|
priority: z.ZodDefault<z.ZodEnum<{
|
|
2473
|
-
user: "user";
|
|
2474
2473
|
urgent: "urgent";
|
|
2474
|
+
user: "user";
|
|
2475
2475
|
background: "background";
|
|
2476
2476
|
}>>;
|
|
2477
2477
|
maxAttempts: z.ZodDefault<z.ZodNumber>;
|
|
@@ -2484,8 +2484,8 @@ declare const TaskTriggerDataSchema: z.ZodObject<{
|
|
|
2484
2484
|
prompt: z.ZodString;
|
|
2485
2485
|
directory: z.ZodString;
|
|
2486
2486
|
priority: z.ZodEnum<{
|
|
2487
|
-
user: "user";
|
|
2488
2487
|
urgent: "urgent";
|
|
2488
|
+
user: "user";
|
|
2489
2489
|
background: "background";
|
|
2490
2490
|
}>;
|
|
2491
2491
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -2498,12 +2498,12 @@ type TaskTriggerData = z.infer<typeof TaskTriggerDataSchema>;
|
|
|
2498
2498
|
declare const TaskStatusReportSchema: z.ZodObject<{
|
|
2499
2499
|
taskId: z.ZodString;
|
|
2500
2500
|
status: z.ZodEnum<{
|
|
2501
|
+
queued: "queued";
|
|
2502
|
+
dispatching: "dispatching";
|
|
2503
|
+
running: "running";
|
|
2501
2504
|
completed: "completed";
|
|
2502
2505
|
failed: "failed";
|
|
2503
2506
|
cancelled: "cancelled";
|
|
2504
|
-
running: "running";
|
|
2505
|
-
queued: "queued";
|
|
2506
|
-
dispatching: "dispatching";
|
|
2507
2507
|
}>;
|
|
2508
2508
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
2509
2509
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -2513,12 +2513,12 @@ declare const TaskStatusChangedSchema: z.ZodObject<{
|
|
|
2513
2513
|
type: z.ZodLiteral<"task-status-changed">;
|
|
2514
2514
|
taskId: z.ZodString;
|
|
2515
2515
|
status: z.ZodEnum<{
|
|
2516
|
+
queued: "queued";
|
|
2517
|
+
dispatching: "dispatching";
|
|
2518
|
+
running: "running";
|
|
2516
2519
|
completed: "completed";
|
|
2517
2520
|
failed: "failed";
|
|
2518
2521
|
cancelled: "cancelled";
|
|
2519
|
-
running: "running";
|
|
2520
|
-
queued: "queued";
|
|
2521
|
-
dispatching: "dispatching";
|
|
2522
2522
|
}>;
|
|
2523
2523
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
2524
2524
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -2562,5 +2562,144 @@ declare const SkillContentSchema: z.ZodObject<{
|
|
|
2562
2562
|
}, z.core.$strip>;
|
|
2563
2563
|
type SkillContent = z.infer<typeof SkillContentSchema>;
|
|
2564
2564
|
|
|
2565
|
-
|
|
2566
|
-
|
|
2565
|
+
declare const InboxCategorySchema: z.ZodEnum<{
|
|
2566
|
+
supervisor: "supervisor";
|
|
2567
|
+
task: "task";
|
|
2568
|
+
trigger: "trigger";
|
|
2569
|
+
session: "session";
|
|
2570
|
+
knowledge: "knowledge";
|
|
2571
|
+
system: "system";
|
|
2572
|
+
}>;
|
|
2573
|
+
type InboxCategory = z.infer<typeof InboxCategorySchema>;
|
|
2574
|
+
declare const InboxSeveritySchema: z.ZodEnum<{
|
|
2575
|
+
error: "error";
|
|
2576
|
+
warning: "warning";
|
|
2577
|
+
info: "info";
|
|
2578
|
+
}>;
|
|
2579
|
+
type InboxSeverity = z.infer<typeof InboxSeveritySchema>;
|
|
2580
|
+
declare const InboxItemSummarySchema: z.ZodObject<{
|
|
2581
|
+
id: z.ZodString;
|
|
2582
|
+
category: z.ZodEnum<{
|
|
2583
|
+
supervisor: "supervisor";
|
|
2584
|
+
task: "task";
|
|
2585
|
+
trigger: "trigger";
|
|
2586
|
+
session: "session";
|
|
2587
|
+
knowledge: "knowledge";
|
|
2588
|
+
system: "system";
|
|
2589
|
+
}>;
|
|
2590
|
+
eventType: z.ZodString;
|
|
2591
|
+
severity: z.ZodEnum<{
|
|
2592
|
+
error: "error";
|
|
2593
|
+
warning: "warning";
|
|
2594
|
+
info: "info";
|
|
2595
|
+
}>;
|
|
2596
|
+
title: z.ZodString;
|
|
2597
|
+
body: z.ZodOptional<z.ZodString>;
|
|
2598
|
+
read: z.ZodBoolean;
|
|
2599
|
+
referenceUrl: z.ZodOptional<z.ZodString>;
|
|
2600
|
+
refType: z.ZodOptional<z.ZodString>;
|
|
2601
|
+
refId: z.ZodOptional<z.ZodString>;
|
|
2602
|
+
groupKey: z.ZodOptional<z.ZodString>;
|
|
2603
|
+
createdAt: z.ZodNumber;
|
|
2604
|
+
}, z.core.$strip>;
|
|
2605
|
+
type InboxItemSummary = z.infer<typeof InboxItemSummarySchema>;
|
|
2606
|
+
declare const InboxNewItemSchema: z.ZodObject<{
|
|
2607
|
+
type: z.ZodLiteral<"inbox-new-item">;
|
|
2608
|
+
item: z.ZodObject<{
|
|
2609
|
+
id: z.ZodString;
|
|
2610
|
+
category: z.ZodEnum<{
|
|
2611
|
+
supervisor: "supervisor";
|
|
2612
|
+
task: "task";
|
|
2613
|
+
trigger: "trigger";
|
|
2614
|
+
session: "session";
|
|
2615
|
+
knowledge: "knowledge";
|
|
2616
|
+
system: "system";
|
|
2617
|
+
}>;
|
|
2618
|
+
eventType: z.ZodString;
|
|
2619
|
+
severity: z.ZodEnum<{
|
|
2620
|
+
error: "error";
|
|
2621
|
+
warning: "warning";
|
|
2622
|
+
info: "info";
|
|
2623
|
+
}>;
|
|
2624
|
+
title: z.ZodString;
|
|
2625
|
+
body: z.ZodOptional<z.ZodString>;
|
|
2626
|
+
read: z.ZodBoolean;
|
|
2627
|
+
referenceUrl: z.ZodOptional<z.ZodString>;
|
|
2628
|
+
refType: z.ZodOptional<z.ZodString>;
|
|
2629
|
+
refId: z.ZodOptional<z.ZodString>;
|
|
2630
|
+
groupKey: z.ZodOptional<z.ZodString>;
|
|
2631
|
+
createdAt: z.ZodNumber;
|
|
2632
|
+
}, z.core.$strip>;
|
|
2633
|
+
}, z.core.$strip>;
|
|
2634
|
+
type InboxNewItem = z.infer<typeof InboxNewItemSchema>;
|
|
2635
|
+
declare const InboxUnreadCountSchema: z.ZodObject<{
|
|
2636
|
+
type: z.ZodLiteral<"inbox-unread-count">;
|
|
2637
|
+
count: z.ZodNumber;
|
|
2638
|
+
}, z.core.$strip>;
|
|
2639
|
+
type InboxUnreadCount = z.infer<typeof InboxUnreadCountSchema>;
|
|
2640
|
+
|
|
2641
|
+
declare const SessionEventTypeSchema: z.ZodEnum<{
|
|
2642
|
+
error: "error";
|
|
2643
|
+
file_edit: "file_edit";
|
|
2644
|
+
bash_command: "bash_command";
|
|
2645
|
+
tool_call: "tool_call";
|
|
2646
|
+
git_operation: "git_operation";
|
|
2647
|
+
session_start: "session_start";
|
|
2648
|
+
session_end: "session_end";
|
|
2649
|
+
}>;
|
|
2650
|
+
type SessionEventType = z.infer<typeof SessionEventTypeSchema>;
|
|
2651
|
+
declare const SessionEventSummarySchema: z.ZodObject<{
|
|
2652
|
+
id: z.ZodString;
|
|
2653
|
+
sessionId: z.ZodString;
|
|
2654
|
+
eventType: z.ZodEnum<{
|
|
2655
|
+
error: "error";
|
|
2656
|
+
file_edit: "file_edit";
|
|
2657
|
+
bash_command: "bash_command";
|
|
2658
|
+
tool_call: "tool_call";
|
|
2659
|
+
git_operation: "git_operation";
|
|
2660
|
+
session_start: "session_start";
|
|
2661
|
+
session_end: "session_end";
|
|
2662
|
+
}>;
|
|
2663
|
+
summary: z.ZodString;
|
|
2664
|
+
detail: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2665
|
+
createdAt: z.ZodNumber;
|
|
2666
|
+
}, z.core.$strip>;
|
|
2667
|
+
type SessionEventSummary = z.infer<typeof SessionEventSummarySchema>;
|
|
2668
|
+
declare const SessionEventReportSchema: z.ZodObject<{
|
|
2669
|
+
sessionId: z.ZodString;
|
|
2670
|
+
eventType: z.ZodEnum<{
|
|
2671
|
+
error: "error";
|
|
2672
|
+
file_edit: "file_edit";
|
|
2673
|
+
bash_command: "bash_command";
|
|
2674
|
+
tool_call: "tool_call";
|
|
2675
|
+
git_operation: "git_operation";
|
|
2676
|
+
session_start: "session_start";
|
|
2677
|
+
session_end: "session_end";
|
|
2678
|
+
}>;
|
|
2679
|
+
summary: z.ZodString;
|
|
2680
|
+
detail: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2681
|
+
}, z.core.$strip>;
|
|
2682
|
+
type SessionEventReport = z.infer<typeof SessionEventReportSchema>;
|
|
2683
|
+
declare const SessionEventCreatedSchema: z.ZodObject<{
|
|
2684
|
+
type: z.ZodLiteral<"session-event-created">;
|
|
2685
|
+
event: z.ZodObject<{
|
|
2686
|
+
id: z.ZodString;
|
|
2687
|
+
sessionId: z.ZodString;
|
|
2688
|
+
eventType: z.ZodEnum<{
|
|
2689
|
+
error: "error";
|
|
2690
|
+
file_edit: "file_edit";
|
|
2691
|
+
bash_command: "bash_command";
|
|
2692
|
+
tool_call: "tool_call";
|
|
2693
|
+
git_operation: "git_operation";
|
|
2694
|
+
session_start: "session_start";
|
|
2695
|
+
session_end: "session_end";
|
|
2696
|
+
}>;
|
|
2697
|
+
summary: z.ZodString;
|
|
2698
|
+
detail: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2699
|
+
createdAt: z.ZodNumber;
|
|
2700
|
+
}, z.core.$strip>;
|
|
2701
|
+
}, z.core.$strip>;
|
|
2702
|
+
type SessionEventCreated = z.infer<typeof SessionEventCreatedSchema>;
|
|
2703
|
+
|
|
2704
|
+
export { AgentLoopSummarySchema, AgentMessageSchema, ApiMessageSchema, ApiUpdateMachineStateSchema, ApiUpdateNewMessageSchema, ApiUpdateSessionStateSchema, AutoDreamProfileSummarySchema, AutomationAuditEventSummarySchema, AutomationAuditStatsSchema, AutomationCountsSchema, AutomationGuardianSummarySchema, AutomationGuardianUsageSummarySchema, AutomationJobKindSchema, AutomationJobStatusSchema, AutomationJobSummarySchema, AutomationPrioritySchema, AutomationStateSchema, BootstrapProfileSummarySchema, BriefMessageSchema, CoreUpdateBodySchema, CoreUpdateContainerSchema, CreateKnowledgeEntryBodySchema, CreateSkillBodySchema, CreateTaskBodySchema, CrossProjectSearchResponseSchema, CrossProjectSearchResultSchema, DaemonStateSchema, InboxCategorySchema, InboxItemSummarySchema, InboxNewItemSchema, InboxSeveritySchema, InboxUnreadCountSchema, KnowledgeActionSchema, KnowledgeChainEntrySchema, KnowledgeChainRelationSchema, KnowledgeChainResponseSchema, KnowledgeConfidenceSchema, KnowledgeContributorTypeSchema, KnowledgeEntryTypeSchema, KnowledgeInjectionModeSchema, KnowledgeInjectionRequestSchema, KnowledgeInjectionResponseSchema, KnowledgeStatusSchema, LegacyMessageContentSchema, MachineMetadataSchema, MessageContentSchema, MessageMetaSchema, ProjectProfileSchema, QueryKnowledgeParamsSchema, SessionEventCreatedSchema, SessionEventReportSchema, SessionEventSummarySchema, SessionEventTypeSchema, SessionMessageContentSchema, SessionMessageSchema, SessionProtocolMessageSchema, SkillContentSchema, SkillSummarySchema, TailscaleInfoSchema, TailscaleServeEntrySchema, TaskPrioritySchema, TaskStatusChangedSchema, TaskStatusReportSchema, TaskStatusSchema, TaskSummarySchema, TaskTriggerDataSchema, TaskTriggerTypeSchema, TunnelEntrySchema, TunnelProviderInfoSchema, TunnelStateSchema, TurnKnowledgeExtractionSchema, UpdateBodySchema, UpdateKnowledgeEntryBodySchema, UpdateMachineBodySchema, UpdateNewMessageBodySchema, UpdateSchema, UpdateSessionBodySchema, UpdateSkillBodySchema, UserMessageSchema, VersionedEncryptedValueSchema, VersionedMachineEncryptedValueSchema, VersionedNullableEncryptedValueSchema, VoiceTokenAllowedSchema, VoiceTokenDeniedSchema, VoiceTokenResponseSchema, createEnvelope, sessionContextUsageCategorySchema, sessionContextUsageEventSchema, sessionEnvelopeSchema, sessionEventSchema, sessionFileEventSchema, sessionModelUsageSchema, sessionNeedsContinueEventSchema, sessionPromptSuggestionEventSchema, sessionRoleSchema, sessionServiceMessageEventSchema, sessionStartEventSchema, sessionStateChangedEventSchema, sessionStopEventSchema, sessionTaskEndEventSchema, sessionTaskLogEventSchema, sessionTaskProgressEventSchema, sessionTaskStartEventSchema, sessionTextEventSchema, sessionToolCallEndEventSchema, sessionToolCallStartEventSchema, sessionToolProgressEventSchema, sessionTurnEndEventSchema, sessionTurnEndStatusSchema, sessionTurnStartEventSchema, sessionUsageUpdateEventSchema };
|
|
2705
|
+
export type { AgentLoopSummary, AgentMessage, ApiMessage, ApiUpdateMachineState, ApiUpdateNewMessage, ApiUpdateSessionState, AutoDreamProfileSummary, AutomationAuditEventSummary, AutomationAuditStats, AutomationCounts, AutomationGuardianSummary, AutomationGuardianUsageSummary, AutomationJobKind, AutomationJobStatus, AutomationJobSummary, AutomationPriority, AutomationState, BootstrapProfileSummary, BriefMessage, 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, SessionContextUsageEvent, SessionEnvelope, SessionEvent, SessionEventCreated, SessionEventReport, SessionEventSummary, SessionEventType, SessionMessage, SessionMessageContent, SessionModelUsage, SessionProtocolMessage, SessionRole, SessionTurnEndStatus, SkillContent, SkillSummary, TailscaleInfo, TailscaleServeEntry, TaskPriority, TaskStatus, TaskStatusChanged, TaskStatusReport, TaskSummary, TaskTriggerData, TaskTriggerType, TunnelEntry, TunnelProviderInfo, TunnelState, TurnKnowledgeExtraction, Update, UpdateBody, UpdateKnowledgeEntryBody, UpdateMachineBody, UpdateNewMessageBody, UpdateSessionBody, UpdateSkillBody, UserMessage, VersionedEncryptedValue, VersionedMachineEncryptedValue, VersionedNullableEncryptedValue, VoiceTokenResponse };
|
package/dist/index.d.mts
CHANGED
|
@@ -170,8 +170,8 @@ declare const SessionProtocolMessageSchema: z.ZodObject<{
|
|
|
170
170
|
}, z.core.$strip>, z.ZodObject<{
|
|
171
171
|
t: z.ZodLiteral<"session-state-changed">;
|
|
172
172
|
state: z.ZodEnum<{
|
|
173
|
-
idle: "idle";
|
|
174
173
|
running: "running";
|
|
174
|
+
idle: "idle";
|
|
175
175
|
requires_action: "requires_action";
|
|
176
176
|
}>;
|
|
177
177
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -408,8 +408,8 @@ declare const MessageContentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
408
408
|
}, z.core.$strip>, z.ZodObject<{
|
|
409
409
|
t: z.ZodLiteral<"session-state-changed">;
|
|
410
410
|
state: z.ZodEnum<{
|
|
411
|
-
idle: "idle";
|
|
412
411
|
running: "running";
|
|
412
|
+
idle: "idle";
|
|
413
413
|
requires_action: "requires_action";
|
|
414
414
|
}>;
|
|
415
415
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1015,8 +1015,8 @@ declare const sessionNeedsContinueEventSchema: z.ZodObject<{
|
|
|
1015
1015
|
declare const sessionStateChangedEventSchema: z.ZodObject<{
|
|
1016
1016
|
t: z.ZodLiteral<"session-state-changed">;
|
|
1017
1017
|
state: z.ZodEnum<{
|
|
1018
|
-
idle: "idle";
|
|
1019
1018
|
running: "running";
|
|
1019
|
+
idle: "idle";
|
|
1020
1020
|
requires_action: "requires_action";
|
|
1021
1021
|
}>;
|
|
1022
1022
|
}, z.core.$strip>;
|
|
@@ -1172,8 +1172,8 @@ declare const sessionEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1172
1172
|
}, z.core.$strip>, z.ZodObject<{
|
|
1173
1173
|
t: z.ZodLiteral<"session-state-changed">;
|
|
1174
1174
|
state: z.ZodEnum<{
|
|
1175
|
-
idle: "idle";
|
|
1176
1175
|
running: "running";
|
|
1176
|
+
idle: "idle";
|
|
1177
1177
|
requires_action: "requires_action";
|
|
1178
1178
|
}>;
|
|
1179
1179
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1331,8 +1331,8 @@ declare const sessionEnvelopeSchema: z.ZodObject<{
|
|
|
1331
1331
|
}, z.core.$strip>, z.ZodObject<{
|
|
1332
1332
|
t: z.ZodLiteral<"session-state-changed">;
|
|
1333
1333
|
state: z.ZodEnum<{
|
|
1334
|
-
idle: "idle";
|
|
1335
1334
|
running: "running";
|
|
1335
|
+
idle: "idle";
|
|
1336
1336
|
requires_action: "requires_action";
|
|
1337
1337
|
}>;
|
|
1338
1338
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1492,8 +1492,8 @@ declare const TunnelStateSchema: z.ZodObject<{
|
|
|
1492
1492
|
}, z.core.$strip>;
|
|
1493
1493
|
type TunnelState = z.infer<typeof TunnelStateSchema>;
|
|
1494
1494
|
declare const AutomationPrioritySchema: z.ZodEnum<{
|
|
1495
|
-
user: "user";
|
|
1496
1495
|
urgent: "urgent";
|
|
1496
|
+
user: "user";
|
|
1497
1497
|
background: "background";
|
|
1498
1498
|
}>;
|
|
1499
1499
|
type AutomationPriority = z.infer<typeof AutomationPrioritySchema>;
|
|
@@ -1505,12 +1505,12 @@ declare const AutomationJobKindSchema: z.ZodEnum<{
|
|
|
1505
1505
|
}>;
|
|
1506
1506
|
type AutomationJobKind = z.infer<typeof AutomationJobKindSchema>;
|
|
1507
1507
|
declare const AutomationJobStatusSchema: z.ZodEnum<{
|
|
1508
|
+
queued: "queued";
|
|
1509
|
+
dispatching: "dispatching";
|
|
1510
|
+
running: "running";
|
|
1508
1511
|
completed: "completed";
|
|
1509
1512
|
failed: "failed";
|
|
1510
1513
|
cancelled: "cancelled";
|
|
1511
|
-
running: "running";
|
|
1512
|
-
queued: "queued";
|
|
1513
|
-
dispatching: "dispatching";
|
|
1514
1514
|
}>;
|
|
1515
1515
|
type AutomationJobStatus = z.infer<typeof AutomationJobStatusSchema>;
|
|
1516
1516
|
declare const AutomationJobSummarySchema: z.ZodObject<{
|
|
@@ -1522,16 +1522,16 @@ declare const AutomationJobSummarySchema: z.ZodObject<{
|
|
|
1522
1522
|
task: "task";
|
|
1523
1523
|
}>;
|
|
1524
1524
|
status: z.ZodEnum<{
|
|
1525
|
+
queued: "queued";
|
|
1526
|
+
dispatching: "dispatching";
|
|
1527
|
+
running: "running";
|
|
1525
1528
|
completed: "completed";
|
|
1526
1529
|
failed: "failed";
|
|
1527
1530
|
cancelled: "cancelled";
|
|
1528
|
-
running: "running";
|
|
1529
|
-
queued: "queued";
|
|
1530
|
-
dispatching: "dispatching";
|
|
1531
1531
|
}>;
|
|
1532
1532
|
priority: z.ZodEnum<{
|
|
1533
|
-
user: "user";
|
|
1534
1533
|
urgent: "urgent";
|
|
1534
|
+
user: "user";
|
|
1535
1535
|
background: "background";
|
|
1536
1536
|
}>;
|
|
1537
1537
|
dedupeKey: z.ZodString;
|
|
@@ -1685,16 +1685,16 @@ declare const AutomationStateSchema: z.ZodObject<{
|
|
|
1685
1685
|
task: "task";
|
|
1686
1686
|
}>;
|
|
1687
1687
|
status: z.ZodEnum<{
|
|
1688
|
+
queued: "queued";
|
|
1689
|
+
dispatching: "dispatching";
|
|
1690
|
+
running: "running";
|
|
1688
1691
|
completed: "completed";
|
|
1689
1692
|
failed: "failed";
|
|
1690
1693
|
cancelled: "cancelled";
|
|
1691
|
-
running: "running";
|
|
1692
|
-
queued: "queued";
|
|
1693
|
-
dispatching: "dispatching";
|
|
1694
1694
|
}>;
|
|
1695
1695
|
priority: z.ZodEnum<{
|
|
1696
|
-
user: "user";
|
|
1697
1696
|
urgent: "urgent";
|
|
1697
|
+
user: "user";
|
|
1698
1698
|
background: "background";
|
|
1699
1699
|
}>;
|
|
1700
1700
|
dedupeKey: z.ZodString;
|
|
@@ -1912,16 +1912,16 @@ declare const DaemonStateSchema: z.ZodObject<{
|
|
|
1912
1912
|
task: "task";
|
|
1913
1913
|
}>;
|
|
1914
1914
|
status: z.ZodEnum<{
|
|
1915
|
+
queued: "queued";
|
|
1916
|
+
dispatching: "dispatching";
|
|
1917
|
+
running: "running";
|
|
1915
1918
|
completed: "completed";
|
|
1916
1919
|
failed: "failed";
|
|
1917
1920
|
cancelled: "cancelled";
|
|
1918
|
-
running: "running";
|
|
1919
|
-
queued: "queued";
|
|
1920
|
-
dispatching: "dispatching";
|
|
1921
1921
|
}>;
|
|
1922
1922
|
priority: z.ZodEnum<{
|
|
1923
|
-
user: "user";
|
|
1924
1923
|
urgent: "urgent";
|
|
1924
|
+
user: "user";
|
|
1925
1925
|
background: "background";
|
|
1926
1926
|
}>;
|
|
1927
1927
|
dedupeKey: z.ZodString;
|
|
@@ -2066,9 +2066,9 @@ declare const KnowledgeEntryTypeSchema: z.ZodEnum<{
|
|
|
2066
2066
|
}>;
|
|
2067
2067
|
type KnowledgeEntryType = z.infer<typeof KnowledgeEntryTypeSchema>;
|
|
2068
2068
|
declare const KnowledgeContributorTypeSchema: z.ZodEnum<{
|
|
2069
|
-
session: "session";
|
|
2070
2069
|
user: "user";
|
|
2071
2070
|
supervisor: "supervisor";
|
|
2071
|
+
session: "session";
|
|
2072
2072
|
}>;
|
|
2073
2073
|
type KnowledgeContributorType = z.infer<typeof KnowledgeContributorTypeSchema>;
|
|
2074
2074
|
declare const KnowledgeActionSchema: z.ZodEnum<{
|
|
@@ -2099,9 +2099,9 @@ declare const CreateKnowledgeEntryBodySchema: z.ZodObject<{
|
|
|
2099
2099
|
warning: "warning";
|
|
2100
2100
|
}>;
|
|
2101
2101
|
contributorType: z.ZodEnum<{
|
|
2102
|
-
session: "session";
|
|
2103
2102
|
user: "user";
|
|
2104
2103
|
supervisor: "supervisor";
|
|
2104
|
+
session: "session";
|
|
2105
2105
|
}>;
|
|
2106
2106
|
action: z.ZodEnum<{
|
|
2107
2107
|
create: "create";
|
|
@@ -2410,18 +2410,18 @@ declare const VoiceTokenResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2410
2410
|
type VoiceTokenResponse = z.infer<typeof VoiceTokenResponseSchema>;
|
|
2411
2411
|
|
|
2412
2412
|
declare const TaskPrioritySchema: z.ZodEnum<{
|
|
2413
|
-
user: "user";
|
|
2414
2413
|
urgent: "urgent";
|
|
2414
|
+
user: "user";
|
|
2415
2415
|
background: "background";
|
|
2416
2416
|
}>;
|
|
2417
2417
|
type TaskPriority = z.infer<typeof TaskPrioritySchema>;
|
|
2418
2418
|
declare const TaskStatusSchema: z.ZodEnum<{
|
|
2419
|
+
queued: "queued";
|
|
2420
|
+
dispatching: "dispatching";
|
|
2421
|
+
running: "running";
|
|
2419
2422
|
completed: "completed";
|
|
2420
2423
|
failed: "failed";
|
|
2421
2424
|
cancelled: "cancelled";
|
|
2422
|
-
running: "running";
|
|
2423
|
-
queued: "queued";
|
|
2424
|
-
dispatching: "dispatching";
|
|
2425
2425
|
}>;
|
|
2426
2426
|
type TaskStatus = z.infer<typeof TaskStatusSchema>;
|
|
2427
2427
|
declare const TaskTriggerTypeSchema: z.ZodEnum<{
|
|
@@ -2435,17 +2435,17 @@ declare const TaskSummarySchema: z.ZodObject<{
|
|
|
2435
2435
|
projectId: z.ZodNullable<z.ZodString>;
|
|
2436
2436
|
machineId: z.ZodString;
|
|
2437
2437
|
priority: z.ZodEnum<{
|
|
2438
|
-
user: "user";
|
|
2439
2438
|
urgent: "urgent";
|
|
2439
|
+
user: "user";
|
|
2440
2440
|
background: "background";
|
|
2441
2441
|
}>;
|
|
2442
2442
|
status: z.ZodEnum<{
|
|
2443
|
+
queued: "queued";
|
|
2444
|
+
dispatching: "dispatching";
|
|
2445
|
+
running: "running";
|
|
2443
2446
|
completed: "completed";
|
|
2444
2447
|
failed: "failed";
|
|
2445
2448
|
cancelled: "cancelled";
|
|
2446
|
-
running: "running";
|
|
2447
|
-
queued: "queued";
|
|
2448
|
-
dispatching: "dispatching";
|
|
2449
2449
|
}>;
|
|
2450
2450
|
triggerType: z.ZodEnum<{
|
|
2451
2451
|
webhook: "webhook";
|
|
@@ -2470,8 +2470,8 @@ declare const CreateTaskBodySchema: z.ZodObject<{
|
|
|
2470
2470
|
machineId: z.ZodString;
|
|
2471
2471
|
prompt: z.ZodString;
|
|
2472
2472
|
priority: z.ZodDefault<z.ZodEnum<{
|
|
2473
|
-
user: "user";
|
|
2474
2473
|
urgent: "urgent";
|
|
2474
|
+
user: "user";
|
|
2475
2475
|
background: "background";
|
|
2476
2476
|
}>>;
|
|
2477
2477
|
maxAttempts: z.ZodDefault<z.ZodNumber>;
|
|
@@ -2484,8 +2484,8 @@ declare const TaskTriggerDataSchema: z.ZodObject<{
|
|
|
2484
2484
|
prompt: z.ZodString;
|
|
2485
2485
|
directory: z.ZodString;
|
|
2486
2486
|
priority: z.ZodEnum<{
|
|
2487
|
-
user: "user";
|
|
2488
2487
|
urgent: "urgent";
|
|
2488
|
+
user: "user";
|
|
2489
2489
|
background: "background";
|
|
2490
2490
|
}>;
|
|
2491
2491
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -2498,12 +2498,12 @@ type TaskTriggerData = z.infer<typeof TaskTriggerDataSchema>;
|
|
|
2498
2498
|
declare const TaskStatusReportSchema: z.ZodObject<{
|
|
2499
2499
|
taskId: z.ZodString;
|
|
2500
2500
|
status: z.ZodEnum<{
|
|
2501
|
+
queued: "queued";
|
|
2502
|
+
dispatching: "dispatching";
|
|
2503
|
+
running: "running";
|
|
2501
2504
|
completed: "completed";
|
|
2502
2505
|
failed: "failed";
|
|
2503
2506
|
cancelled: "cancelled";
|
|
2504
|
-
running: "running";
|
|
2505
|
-
queued: "queued";
|
|
2506
|
-
dispatching: "dispatching";
|
|
2507
2507
|
}>;
|
|
2508
2508
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
2509
2509
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -2513,12 +2513,12 @@ declare const TaskStatusChangedSchema: z.ZodObject<{
|
|
|
2513
2513
|
type: z.ZodLiteral<"task-status-changed">;
|
|
2514
2514
|
taskId: z.ZodString;
|
|
2515
2515
|
status: z.ZodEnum<{
|
|
2516
|
+
queued: "queued";
|
|
2517
|
+
dispatching: "dispatching";
|
|
2518
|
+
running: "running";
|
|
2516
2519
|
completed: "completed";
|
|
2517
2520
|
failed: "failed";
|
|
2518
2521
|
cancelled: "cancelled";
|
|
2519
|
-
running: "running";
|
|
2520
|
-
queued: "queued";
|
|
2521
|
-
dispatching: "dispatching";
|
|
2522
2522
|
}>;
|
|
2523
2523
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
2524
2524
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -2562,5 +2562,144 @@ declare const SkillContentSchema: z.ZodObject<{
|
|
|
2562
2562
|
}, z.core.$strip>;
|
|
2563
2563
|
type SkillContent = z.infer<typeof SkillContentSchema>;
|
|
2564
2564
|
|
|
2565
|
-
|
|
2566
|
-
|
|
2565
|
+
declare const InboxCategorySchema: z.ZodEnum<{
|
|
2566
|
+
supervisor: "supervisor";
|
|
2567
|
+
task: "task";
|
|
2568
|
+
trigger: "trigger";
|
|
2569
|
+
session: "session";
|
|
2570
|
+
knowledge: "knowledge";
|
|
2571
|
+
system: "system";
|
|
2572
|
+
}>;
|
|
2573
|
+
type InboxCategory = z.infer<typeof InboxCategorySchema>;
|
|
2574
|
+
declare const InboxSeveritySchema: z.ZodEnum<{
|
|
2575
|
+
error: "error";
|
|
2576
|
+
warning: "warning";
|
|
2577
|
+
info: "info";
|
|
2578
|
+
}>;
|
|
2579
|
+
type InboxSeverity = z.infer<typeof InboxSeveritySchema>;
|
|
2580
|
+
declare const InboxItemSummarySchema: z.ZodObject<{
|
|
2581
|
+
id: z.ZodString;
|
|
2582
|
+
category: z.ZodEnum<{
|
|
2583
|
+
supervisor: "supervisor";
|
|
2584
|
+
task: "task";
|
|
2585
|
+
trigger: "trigger";
|
|
2586
|
+
session: "session";
|
|
2587
|
+
knowledge: "knowledge";
|
|
2588
|
+
system: "system";
|
|
2589
|
+
}>;
|
|
2590
|
+
eventType: z.ZodString;
|
|
2591
|
+
severity: z.ZodEnum<{
|
|
2592
|
+
error: "error";
|
|
2593
|
+
warning: "warning";
|
|
2594
|
+
info: "info";
|
|
2595
|
+
}>;
|
|
2596
|
+
title: z.ZodString;
|
|
2597
|
+
body: z.ZodOptional<z.ZodString>;
|
|
2598
|
+
read: z.ZodBoolean;
|
|
2599
|
+
referenceUrl: z.ZodOptional<z.ZodString>;
|
|
2600
|
+
refType: z.ZodOptional<z.ZodString>;
|
|
2601
|
+
refId: z.ZodOptional<z.ZodString>;
|
|
2602
|
+
groupKey: z.ZodOptional<z.ZodString>;
|
|
2603
|
+
createdAt: z.ZodNumber;
|
|
2604
|
+
}, z.core.$strip>;
|
|
2605
|
+
type InboxItemSummary = z.infer<typeof InboxItemSummarySchema>;
|
|
2606
|
+
declare const InboxNewItemSchema: z.ZodObject<{
|
|
2607
|
+
type: z.ZodLiteral<"inbox-new-item">;
|
|
2608
|
+
item: z.ZodObject<{
|
|
2609
|
+
id: z.ZodString;
|
|
2610
|
+
category: z.ZodEnum<{
|
|
2611
|
+
supervisor: "supervisor";
|
|
2612
|
+
task: "task";
|
|
2613
|
+
trigger: "trigger";
|
|
2614
|
+
session: "session";
|
|
2615
|
+
knowledge: "knowledge";
|
|
2616
|
+
system: "system";
|
|
2617
|
+
}>;
|
|
2618
|
+
eventType: z.ZodString;
|
|
2619
|
+
severity: z.ZodEnum<{
|
|
2620
|
+
error: "error";
|
|
2621
|
+
warning: "warning";
|
|
2622
|
+
info: "info";
|
|
2623
|
+
}>;
|
|
2624
|
+
title: z.ZodString;
|
|
2625
|
+
body: z.ZodOptional<z.ZodString>;
|
|
2626
|
+
read: z.ZodBoolean;
|
|
2627
|
+
referenceUrl: z.ZodOptional<z.ZodString>;
|
|
2628
|
+
refType: z.ZodOptional<z.ZodString>;
|
|
2629
|
+
refId: z.ZodOptional<z.ZodString>;
|
|
2630
|
+
groupKey: z.ZodOptional<z.ZodString>;
|
|
2631
|
+
createdAt: z.ZodNumber;
|
|
2632
|
+
}, z.core.$strip>;
|
|
2633
|
+
}, z.core.$strip>;
|
|
2634
|
+
type InboxNewItem = z.infer<typeof InboxNewItemSchema>;
|
|
2635
|
+
declare const InboxUnreadCountSchema: z.ZodObject<{
|
|
2636
|
+
type: z.ZodLiteral<"inbox-unread-count">;
|
|
2637
|
+
count: z.ZodNumber;
|
|
2638
|
+
}, z.core.$strip>;
|
|
2639
|
+
type InboxUnreadCount = z.infer<typeof InboxUnreadCountSchema>;
|
|
2640
|
+
|
|
2641
|
+
declare const SessionEventTypeSchema: z.ZodEnum<{
|
|
2642
|
+
error: "error";
|
|
2643
|
+
file_edit: "file_edit";
|
|
2644
|
+
bash_command: "bash_command";
|
|
2645
|
+
tool_call: "tool_call";
|
|
2646
|
+
git_operation: "git_operation";
|
|
2647
|
+
session_start: "session_start";
|
|
2648
|
+
session_end: "session_end";
|
|
2649
|
+
}>;
|
|
2650
|
+
type SessionEventType = z.infer<typeof SessionEventTypeSchema>;
|
|
2651
|
+
declare const SessionEventSummarySchema: z.ZodObject<{
|
|
2652
|
+
id: z.ZodString;
|
|
2653
|
+
sessionId: z.ZodString;
|
|
2654
|
+
eventType: z.ZodEnum<{
|
|
2655
|
+
error: "error";
|
|
2656
|
+
file_edit: "file_edit";
|
|
2657
|
+
bash_command: "bash_command";
|
|
2658
|
+
tool_call: "tool_call";
|
|
2659
|
+
git_operation: "git_operation";
|
|
2660
|
+
session_start: "session_start";
|
|
2661
|
+
session_end: "session_end";
|
|
2662
|
+
}>;
|
|
2663
|
+
summary: z.ZodString;
|
|
2664
|
+
detail: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2665
|
+
createdAt: z.ZodNumber;
|
|
2666
|
+
}, z.core.$strip>;
|
|
2667
|
+
type SessionEventSummary = z.infer<typeof SessionEventSummarySchema>;
|
|
2668
|
+
declare const SessionEventReportSchema: z.ZodObject<{
|
|
2669
|
+
sessionId: z.ZodString;
|
|
2670
|
+
eventType: z.ZodEnum<{
|
|
2671
|
+
error: "error";
|
|
2672
|
+
file_edit: "file_edit";
|
|
2673
|
+
bash_command: "bash_command";
|
|
2674
|
+
tool_call: "tool_call";
|
|
2675
|
+
git_operation: "git_operation";
|
|
2676
|
+
session_start: "session_start";
|
|
2677
|
+
session_end: "session_end";
|
|
2678
|
+
}>;
|
|
2679
|
+
summary: z.ZodString;
|
|
2680
|
+
detail: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2681
|
+
}, z.core.$strip>;
|
|
2682
|
+
type SessionEventReport = z.infer<typeof SessionEventReportSchema>;
|
|
2683
|
+
declare const SessionEventCreatedSchema: z.ZodObject<{
|
|
2684
|
+
type: z.ZodLiteral<"session-event-created">;
|
|
2685
|
+
event: z.ZodObject<{
|
|
2686
|
+
id: z.ZodString;
|
|
2687
|
+
sessionId: z.ZodString;
|
|
2688
|
+
eventType: z.ZodEnum<{
|
|
2689
|
+
error: "error";
|
|
2690
|
+
file_edit: "file_edit";
|
|
2691
|
+
bash_command: "bash_command";
|
|
2692
|
+
tool_call: "tool_call";
|
|
2693
|
+
git_operation: "git_operation";
|
|
2694
|
+
session_start: "session_start";
|
|
2695
|
+
session_end: "session_end";
|
|
2696
|
+
}>;
|
|
2697
|
+
summary: z.ZodString;
|
|
2698
|
+
detail: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2699
|
+
createdAt: z.ZodNumber;
|
|
2700
|
+
}, z.core.$strip>;
|
|
2701
|
+
}, z.core.$strip>;
|
|
2702
|
+
type SessionEventCreated = z.infer<typeof SessionEventCreatedSchema>;
|
|
2703
|
+
|
|
2704
|
+
export { AgentLoopSummarySchema, AgentMessageSchema, ApiMessageSchema, ApiUpdateMachineStateSchema, ApiUpdateNewMessageSchema, ApiUpdateSessionStateSchema, AutoDreamProfileSummarySchema, AutomationAuditEventSummarySchema, AutomationAuditStatsSchema, AutomationCountsSchema, AutomationGuardianSummarySchema, AutomationGuardianUsageSummarySchema, AutomationJobKindSchema, AutomationJobStatusSchema, AutomationJobSummarySchema, AutomationPrioritySchema, AutomationStateSchema, BootstrapProfileSummarySchema, BriefMessageSchema, CoreUpdateBodySchema, CoreUpdateContainerSchema, CreateKnowledgeEntryBodySchema, CreateSkillBodySchema, CreateTaskBodySchema, CrossProjectSearchResponseSchema, CrossProjectSearchResultSchema, DaemonStateSchema, InboxCategorySchema, InboxItemSummarySchema, InboxNewItemSchema, InboxSeveritySchema, InboxUnreadCountSchema, KnowledgeActionSchema, KnowledgeChainEntrySchema, KnowledgeChainRelationSchema, KnowledgeChainResponseSchema, KnowledgeConfidenceSchema, KnowledgeContributorTypeSchema, KnowledgeEntryTypeSchema, KnowledgeInjectionModeSchema, KnowledgeInjectionRequestSchema, KnowledgeInjectionResponseSchema, KnowledgeStatusSchema, LegacyMessageContentSchema, MachineMetadataSchema, MessageContentSchema, MessageMetaSchema, ProjectProfileSchema, QueryKnowledgeParamsSchema, SessionEventCreatedSchema, SessionEventReportSchema, SessionEventSummarySchema, SessionEventTypeSchema, SessionMessageContentSchema, SessionMessageSchema, SessionProtocolMessageSchema, SkillContentSchema, SkillSummarySchema, TailscaleInfoSchema, TailscaleServeEntrySchema, TaskPrioritySchema, TaskStatusChangedSchema, TaskStatusReportSchema, TaskStatusSchema, TaskSummarySchema, TaskTriggerDataSchema, TaskTriggerTypeSchema, TunnelEntrySchema, TunnelProviderInfoSchema, TunnelStateSchema, TurnKnowledgeExtractionSchema, UpdateBodySchema, UpdateKnowledgeEntryBodySchema, UpdateMachineBodySchema, UpdateNewMessageBodySchema, UpdateSchema, UpdateSessionBodySchema, UpdateSkillBodySchema, UserMessageSchema, VersionedEncryptedValueSchema, VersionedMachineEncryptedValueSchema, VersionedNullableEncryptedValueSchema, VoiceTokenAllowedSchema, VoiceTokenDeniedSchema, VoiceTokenResponseSchema, createEnvelope, sessionContextUsageCategorySchema, sessionContextUsageEventSchema, sessionEnvelopeSchema, sessionEventSchema, sessionFileEventSchema, sessionModelUsageSchema, sessionNeedsContinueEventSchema, sessionPromptSuggestionEventSchema, sessionRoleSchema, sessionServiceMessageEventSchema, sessionStartEventSchema, sessionStateChangedEventSchema, sessionStopEventSchema, sessionTaskEndEventSchema, sessionTaskLogEventSchema, sessionTaskProgressEventSchema, sessionTaskStartEventSchema, sessionTextEventSchema, sessionToolCallEndEventSchema, sessionToolCallStartEventSchema, sessionToolProgressEventSchema, sessionTurnEndEventSchema, sessionTurnEndStatusSchema, sessionTurnStartEventSchema, sessionUsageUpdateEventSchema };
|
|
2705
|
+
export type { AgentLoopSummary, AgentMessage, ApiMessage, ApiUpdateMachineState, ApiUpdateNewMessage, ApiUpdateSessionState, AutoDreamProfileSummary, AutomationAuditEventSummary, AutomationAuditStats, AutomationCounts, AutomationGuardianSummary, AutomationGuardianUsageSummary, AutomationJobKind, AutomationJobStatus, AutomationJobSummary, AutomationPriority, AutomationState, BootstrapProfileSummary, BriefMessage, 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, SessionContextUsageEvent, SessionEnvelope, SessionEvent, SessionEventCreated, SessionEventReport, SessionEventSummary, SessionEventType, SessionMessage, SessionMessageContent, SessionModelUsage, SessionProtocolMessage, SessionRole, SessionTurnEndStatus, SkillContent, SkillSummary, TailscaleInfo, TailscaleServeEntry, TaskPriority, TaskStatus, TaskStatusChanged, TaskStatusReport, TaskSummary, TaskTriggerData, TaskTriggerType, TunnelEntry, TunnelProviderInfo, TunnelState, TurnKnowledgeExtraction, Update, UpdateBody, UpdateKnowledgeEntryBody, UpdateMachineBody, UpdateNewMessageBody, UpdateSessionBody, UpdateSkillBody, UserMessage, VersionedEncryptedValue, VersionedMachineEncryptedValue, VersionedNullableEncryptedValue, VoiceTokenResponse };
|
package/dist/index.mjs
CHANGED
|
@@ -862,4 +862,88 @@ const SkillContentSchema = z.object({
|
|
|
862
862
|
content: z.string()
|
|
863
863
|
});
|
|
864
864
|
|
|
865
|
-
|
|
865
|
+
const InboxCategorySchema = z.enum([
|
|
866
|
+
"task",
|
|
867
|
+
// Task queue events (completed, failed, cancelled)
|
|
868
|
+
"trigger",
|
|
869
|
+
// Cron/webhook trigger fired
|
|
870
|
+
"supervisor",
|
|
871
|
+
// Supervisor run results
|
|
872
|
+
"session",
|
|
873
|
+
// Session lifecycle events
|
|
874
|
+
"knowledge",
|
|
875
|
+
// Knowledge base changes
|
|
876
|
+
"system"
|
|
877
|
+
// System notifications
|
|
878
|
+
]);
|
|
879
|
+
const InboxSeveritySchema = z.enum([
|
|
880
|
+
"info",
|
|
881
|
+
"warning",
|
|
882
|
+
"error"
|
|
883
|
+
]);
|
|
884
|
+
const InboxItemSummarySchema = z.object({
|
|
885
|
+
id: z.string(),
|
|
886
|
+
category: InboxCategorySchema,
|
|
887
|
+
eventType: z.string(),
|
|
888
|
+
// e.g. "task.completed", "trigger.cron.fired"
|
|
889
|
+
severity: InboxSeveritySchema,
|
|
890
|
+
title: z.string(),
|
|
891
|
+
body: z.string().optional(),
|
|
892
|
+
read: z.boolean(),
|
|
893
|
+
referenceUrl: z.string().optional(),
|
|
894
|
+
// Deep link, e.g. "/machine/xxx/tasks"
|
|
895
|
+
refType: z.string().optional(),
|
|
896
|
+
// Polymorphic ref: "task" | "trigger" | "session" | ...
|
|
897
|
+
refId: z.string().optional(),
|
|
898
|
+
// ID of referenced entity
|
|
899
|
+
groupKey: z.string().optional(),
|
|
900
|
+
// Dedup key (same source within 1h → skip)
|
|
901
|
+
createdAt: z.number()
|
|
902
|
+
});
|
|
903
|
+
const InboxNewItemSchema = z.object({
|
|
904
|
+
type: z.literal("inbox-new-item"),
|
|
905
|
+
item: InboxItemSummarySchema
|
|
906
|
+
});
|
|
907
|
+
const InboxUnreadCountSchema = z.object({
|
|
908
|
+
type: z.literal("inbox-unread-count"),
|
|
909
|
+
count: z.number()
|
|
910
|
+
});
|
|
911
|
+
|
|
912
|
+
const SessionEventTypeSchema = z.enum([
|
|
913
|
+
"file_edit",
|
|
914
|
+
// File created/modified/deleted
|
|
915
|
+
"bash_command",
|
|
916
|
+
// Shell command executed
|
|
917
|
+
"tool_call",
|
|
918
|
+
// Tool invocation (Read, Grep, etc.)
|
|
919
|
+
"git_operation",
|
|
920
|
+
// Git commit, push, branch, etc.
|
|
921
|
+
"error",
|
|
922
|
+
// Error occurred during session
|
|
923
|
+
"session_start",
|
|
924
|
+
// Session started
|
|
925
|
+
"session_end"
|
|
926
|
+
// Session ended
|
|
927
|
+
]);
|
|
928
|
+
const SessionEventSummarySchema = z.object({
|
|
929
|
+
id: z.string(),
|
|
930
|
+
sessionId: z.string(),
|
|
931
|
+
eventType: SessionEventTypeSchema,
|
|
932
|
+
summary: z.string(),
|
|
933
|
+
// Human-readable one-liner
|
|
934
|
+
detail: z.record(z.string(), z.unknown()).optional(),
|
|
935
|
+
// Structured metadata (JSON)
|
|
936
|
+
createdAt: z.number()
|
|
937
|
+
});
|
|
938
|
+
const SessionEventReportSchema = z.object({
|
|
939
|
+
sessionId: z.string(),
|
|
940
|
+
eventType: SessionEventTypeSchema,
|
|
941
|
+
summary: z.string().max(500),
|
|
942
|
+
detail: z.record(z.string(), z.unknown()).optional()
|
|
943
|
+
});
|
|
944
|
+
const SessionEventCreatedSchema = z.object({
|
|
945
|
+
type: z.literal("session-event-created"),
|
|
946
|
+
event: SessionEventSummarySchema
|
|
947
|
+
});
|
|
948
|
+
|
|
949
|
+
export { AgentLoopSummarySchema, AgentMessageSchema, ApiMessageSchema, ApiUpdateMachineStateSchema, ApiUpdateNewMessageSchema, ApiUpdateSessionStateSchema, AutoDreamProfileSummarySchema, AutomationAuditEventSummarySchema, AutomationAuditStatsSchema, AutomationCountsSchema, AutomationGuardianSummarySchema, AutomationGuardianUsageSummarySchema, AutomationJobKindSchema, AutomationJobStatusSchema, AutomationJobSummarySchema, AutomationPrioritySchema, AutomationStateSchema, BootstrapProfileSummarySchema, BriefMessageSchema, CoreUpdateBodySchema, CoreUpdateContainerSchema, CreateKnowledgeEntryBodySchema, CreateSkillBodySchema, CreateTaskBodySchema, CrossProjectSearchResponseSchema, CrossProjectSearchResultSchema, DaemonStateSchema, InboxCategorySchema, InboxItemSummarySchema, InboxNewItemSchema, InboxSeveritySchema, InboxUnreadCountSchema, KnowledgeActionSchema, KnowledgeChainEntrySchema, KnowledgeChainRelationSchema, KnowledgeChainResponseSchema, KnowledgeConfidenceSchema, KnowledgeContributorTypeSchema, KnowledgeEntryTypeSchema, KnowledgeInjectionModeSchema, KnowledgeInjectionRequestSchema, KnowledgeInjectionResponseSchema, KnowledgeStatusSchema, LegacyMessageContentSchema, MachineMetadataSchema, MessageContentSchema, MessageMetaSchema, ProjectProfileSchema, QueryKnowledgeParamsSchema, SessionEventCreatedSchema, SessionEventReportSchema, SessionEventSummarySchema, SessionEventTypeSchema, SessionMessageContentSchema, SessionMessageSchema, SessionProtocolMessageSchema, SkillContentSchema, SkillSummarySchema, TailscaleInfoSchema, TailscaleServeEntrySchema, TaskPrioritySchema, TaskStatusChangedSchema, TaskStatusReportSchema, TaskStatusSchema, TaskSummarySchema, TaskTriggerDataSchema, TaskTriggerTypeSchema, TunnelEntrySchema, TunnelProviderInfoSchema, TunnelStateSchema, TurnKnowledgeExtractionSchema, UpdateBodySchema, UpdateKnowledgeEntryBodySchema, UpdateMachineBodySchema, UpdateNewMessageBodySchema, UpdateSchema, UpdateSessionBodySchema, UpdateSkillBodySchema, UserMessageSchema, VersionedEncryptedValueSchema, VersionedMachineEncryptedValueSchema, VersionedNullableEncryptedValueSchema, VoiceTokenAllowedSchema, VoiceTokenDeniedSchema, VoiceTokenResponseSchema, createEnvelope, sessionContextUsageCategorySchema, sessionContextUsageEventSchema, sessionEnvelopeSchema, sessionEventSchema, sessionFileEventSchema, sessionModelUsageSchema, sessionNeedsContinueEventSchema, sessionPromptSuggestionEventSchema, sessionRoleSchema, sessionServiceMessageEventSchema, sessionStartEventSchema, sessionStateChangedEventSchema, sessionStopEventSchema, sessionTaskEndEventSchema, sessionTaskLogEventSchema, sessionTaskProgressEventSchema, sessionTaskStartEventSchema, sessionTextEventSchema, sessionToolCallEndEventSchema, sessionToolCallStartEventSchema, sessionToolProgressEventSchema, sessionTurnEndEventSchema, sessionTurnEndStatusSchema, sessionTurnStartEventSchema, sessionUsageUpdateEventSchema };
|