@kmmao/happy-wire 0.9.1 → 0.10.0

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.d.cts CHANGED
@@ -1501,6 +1501,7 @@ declare const AutomationJobKindSchema: z.ZodEnum<{
1501
1501
  supervisor: "supervisor";
1502
1502
  webhook: "webhook";
1503
1503
  agent_loop: "agent_loop";
1504
+ task: "task";
1504
1505
  }>;
1505
1506
  type AutomationJobKind = z.infer<typeof AutomationJobKindSchema>;
1506
1507
  declare const AutomationJobStatusSchema: z.ZodEnum<{
@@ -1518,6 +1519,7 @@ declare const AutomationJobSummarySchema: z.ZodObject<{
1518
1519
  supervisor: "supervisor";
1519
1520
  webhook: "webhook";
1520
1521
  agent_loop: "agent_loop";
1522
+ task: "task";
1521
1523
  }>;
1522
1524
  status: z.ZodEnum<{
1523
1525
  completed: "completed";
@@ -1618,6 +1620,52 @@ declare const AutomationCountsSchema: z.ZodObject<{
1618
1620
  cancelled: z.ZodNumber;
1619
1621
  }, z.core.$strip>;
1620
1622
  type AutomationCounts = z.infer<typeof AutomationCountsSchema>;
1623
+ declare const AgentLoopSummarySchema: z.ZodObject<{
1624
+ id: z.ZodString;
1625
+ name: z.ZodOptional<z.ZodString>;
1626
+ directory: z.ZodString;
1627
+ enabled: z.ZodBoolean;
1628
+ intervalMs: z.ZodNumber;
1629
+ cronExpression: z.ZodOptional<z.ZodString>;
1630
+ iteration: z.ZodNumber;
1631
+ nextRunAt: z.ZodNumber;
1632
+ runtimeState: z.ZodString;
1633
+ phase: z.ZodString;
1634
+ lastTriggerSource: z.ZodOptional<z.ZodString>;
1635
+ lastBriefSummary: z.ZodOptional<z.ZodString>;
1636
+ lastError: z.ZodOptional<z.ZodString>;
1637
+ agent: z.ZodString;
1638
+ }, z.core.$strip>;
1639
+ type AgentLoopSummary = z.infer<typeof AgentLoopSummarySchema>;
1640
+ declare const BootstrapProfileSummarySchema: z.ZodObject<{
1641
+ id: z.ZodString;
1642
+ name: z.ZodOptional<z.ZodString>;
1643
+ rootDirectory: z.ZodString;
1644
+ intervalMs: z.ZodNumber;
1645
+ enabled: z.ZodBoolean;
1646
+ status: z.ZodString;
1647
+ statusUpdatedAt: z.ZodNumber;
1648
+ lastRunAt: z.ZodOptional<z.ZodNumber>;
1649
+ lastRepoCount: z.ZodOptional<z.ZodNumber>;
1650
+ lastSuggestionCount: z.ZodOptional<z.ZodNumber>;
1651
+ lastError: z.ZodOptional<z.ZodString>;
1652
+ }, z.core.$strip>;
1653
+ type BootstrapProfileSummary = z.infer<typeof BootstrapProfileSummarySchema>;
1654
+ declare const AutoDreamProfileSummarySchema: z.ZodObject<{
1655
+ id: z.ZodString;
1656
+ name: z.ZodOptional<z.ZodString>;
1657
+ rootDirectory: z.ZodString;
1658
+ intervalMs: z.ZodNumber;
1659
+ enabled: z.ZodBoolean;
1660
+ nextRunAt: z.ZodNumber;
1661
+ status: z.ZodString;
1662
+ stage: z.ZodString;
1663
+ statusUpdatedAt: z.ZodNumber;
1664
+ lastRunAt: z.ZodOptional<z.ZodNumber>;
1665
+ lastMemoryFiles: z.ZodOptional<z.ZodNumber>;
1666
+ lastError: z.ZodOptional<z.ZodString>;
1667
+ }, z.core.$strip>;
1668
+ type AutoDreamProfileSummary = z.infer<typeof AutoDreamProfileSummarySchema>;
1621
1669
  declare const AutomationStateSchema: z.ZodObject<{
1622
1670
  updatedAt: z.ZodNumber;
1623
1671
  counts: z.ZodObject<{
@@ -1634,6 +1682,7 @@ declare const AutomationStateSchema: z.ZodObject<{
1634
1682
  supervisor: "supervisor";
1635
1683
  webhook: "webhook";
1636
1684
  agent_loop: "agent_loop";
1685
+ task: "task";
1637
1686
  }>;
1638
1687
  status: z.ZodEnum<{
1639
1688
  completed: "completed";
@@ -1720,6 +1769,49 @@ declare const AutomationStateSchema: z.ZodObject<{
1720
1769
  guardianSessionId: z.ZodOptional<z.ZodString>;
1721
1770
  message: z.ZodOptional<z.ZodString>;
1722
1771
  }, z.core.$strip>>>;
1772
+ loops: z.ZodOptional<z.ZodArray<z.ZodObject<{
1773
+ id: z.ZodString;
1774
+ name: z.ZodOptional<z.ZodString>;
1775
+ directory: z.ZodString;
1776
+ enabled: z.ZodBoolean;
1777
+ intervalMs: z.ZodNumber;
1778
+ cronExpression: z.ZodOptional<z.ZodString>;
1779
+ iteration: z.ZodNumber;
1780
+ nextRunAt: z.ZodNumber;
1781
+ runtimeState: z.ZodString;
1782
+ phase: z.ZodString;
1783
+ lastTriggerSource: z.ZodOptional<z.ZodString>;
1784
+ lastBriefSummary: z.ZodOptional<z.ZodString>;
1785
+ lastError: z.ZodOptional<z.ZodString>;
1786
+ agent: z.ZodString;
1787
+ }, z.core.$strip>>>;
1788
+ bootstrapProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
1789
+ id: z.ZodString;
1790
+ name: z.ZodOptional<z.ZodString>;
1791
+ rootDirectory: z.ZodString;
1792
+ intervalMs: z.ZodNumber;
1793
+ enabled: z.ZodBoolean;
1794
+ status: z.ZodString;
1795
+ statusUpdatedAt: z.ZodNumber;
1796
+ lastRunAt: z.ZodOptional<z.ZodNumber>;
1797
+ lastRepoCount: z.ZodOptional<z.ZodNumber>;
1798
+ lastSuggestionCount: z.ZodOptional<z.ZodNumber>;
1799
+ lastError: z.ZodOptional<z.ZodString>;
1800
+ }, z.core.$strip>>>;
1801
+ autoDreamProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
1802
+ id: z.ZodString;
1803
+ name: z.ZodOptional<z.ZodString>;
1804
+ rootDirectory: z.ZodString;
1805
+ intervalMs: z.ZodNumber;
1806
+ enabled: z.ZodBoolean;
1807
+ nextRunAt: z.ZodNumber;
1808
+ status: z.ZodString;
1809
+ stage: z.ZodString;
1810
+ statusUpdatedAt: z.ZodNumber;
1811
+ lastRunAt: z.ZodOptional<z.ZodNumber>;
1812
+ lastMemoryFiles: z.ZodOptional<z.ZodNumber>;
1813
+ lastError: z.ZodOptional<z.ZodString>;
1814
+ }, z.core.$strip>>>;
1723
1815
  }, z.core.$strip>;
1724
1816
  type AutomationState = z.infer<typeof AutomationStateSchema>;
1725
1817
  declare const BriefMessageSchema: z.ZodObject<{
@@ -1817,6 +1909,7 @@ declare const DaemonStateSchema: z.ZodObject<{
1817
1909
  supervisor: "supervisor";
1818
1910
  webhook: "webhook";
1819
1911
  agent_loop: "agent_loop";
1912
+ task: "task";
1820
1913
  }>;
1821
1914
  status: z.ZodEnum<{
1822
1915
  completed: "completed";
@@ -1903,6 +1996,49 @@ declare const DaemonStateSchema: z.ZodObject<{
1903
1996
  guardianSessionId: z.ZodOptional<z.ZodString>;
1904
1997
  message: z.ZodOptional<z.ZodString>;
1905
1998
  }, z.core.$strip>>>;
1999
+ loops: z.ZodOptional<z.ZodArray<z.ZodObject<{
2000
+ id: z.ZodString;
2001
+ name: z.ZodOptional<z.ZodString>;
2002
+ directory: z.ZodString;
2003
+ enabled: z.ZodBoolean;
2004
+ intervalMs: z.ZodNumber;
2005
+ cronExpression: z.ZodOptional<z.ZodString>;
2006
+ iteration: z.ZodNumber;
2007
+ nextRunAt: z.ZodNumber;
2008
+ runtimeState: z.ZodString;
2009
+ phase: z.ZodString;
2010
+ lastTriggerSource: z.ZodOptional<z.ZodString>;
2011
+ lastBriefSummary: z.ZodOptional<z.ZodString>;
2012
+ lastError: z.ZodOptional<z.ZodString>;
2013
+ agent: z.ZodString;
2014
+ }, z.core.$strip>>>;
2015
+ bootstrapProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
2016
+ id: z.ZodString;
2017
+ name: z.ZodOptional<z.ZodString>;
2018
+ rootDirectory: z.ZodString;
2019
+ intervalMs: z.ZodNumber;
2020
+ enabled: z.ZodBoolean;
2021
+ status: z.ZodString;
2022
+ statusUpdatedAt: z.ZodNumber;
2023
+ lastRunAt: z.ZodOptional<z.ZodNumber>;
2024
+ lastRepoCount: z.ZodOptional<z.ZodNumber>;
2025
+ lastSuggestionCount: z.ZodOptional<z.ZodNumber>;
2026
+ lastError: z.ZodOptional<z.ZodString>;
2027
+ }, z.core.$strip>>>;
2028
+ autoDreamProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
2029
+ id: z.ZodString;
2030
+ name: z.ZodOptional<z.ZodString>;
2031
+ rootDirectory: z.ZodString;
2032
+ intervalMs: z.ZodNumber;
2033
+ enabled: z.ZodBoolean;
2034
+ nextRunAt: z.ZodNumber;
2035
+ status: z.ZodString;
2036
+ stage: z.ZodString;
2037
+ statusUpdatedAt: z.ZodNumber;
2038
+ lastRunAt: z.ZodOptional<z.ZodNumber>;
2039
+ lastMemoryFiles: z.ZodOptional<z.ZodNumber>;
2040
+ lastError: z.ZodOptional<z.ZodString>;
2041
+ }, z.core.$strip>>>;
1906
2042
  }, z.core.$strip>>;
1907
2043
  recentBriefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1908
2044
  loopId: z.ZodString;
@@ -1930,8 +2066,8 @@ declare const KnowledgeEntryTypeSchema: z.ZodEnum<{
1930
2066
  }>;
1931
2067
  type KnowledgeEntryType = z.infer<typeof KnowledgeEntryTypeSchema>;
1932
2068
  declare const KnowledgeContributorTypeSchema: z.ZodEnum<{
1933
- user: "user";
1934
2069
  session: "session";
2070
+ user: "user";
1935
2071
  supervisor: "supervisor";
1936
2072
  }>;
1937
2073
  type KnowledgeContributorType = z.infer<typeof KnowledgeContributorTypeSchema>;
@@ -1963,8 +2099,8 @@ declare const CreateKnowledgeEntryBodySchema: z.ZodObject<{
1963
2099
  warning: "warning";
1964
2100
  }>;
1965
2101
  contributorType: z.ZodEnum<{
1966
- user: "user";
1967
2102
  session: "session";
2103
+ user: "user";
1968
2104
  supervisor: "supervisor";
1969
2105
  }>;
1970
2106
  action: z.ZodEnum<{
@@ -2273,5 +2409,297 @@ declare const VoiceTokenResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2273
2409
  }, z.core.$strip>], "allowed">;
2274
2410
  type VoiceTokenResponse = z.infer<typeof VoiceTokenResponseSchema>;
2275
2411
 
2276
- export { AgentMessageSchema, ApiMessageSchema, ApiUpdateMachineStateSchema, ApiUpdateNewMessageSchema, ApiUpdateSessionStateSchema, AutomationAuditEventSummarySchema, AutomationAuditStatsSchema, AutomationCountsSchema, AutomationGuardianSummarySchema, AutomationGuardianUsageSummarySchema, AutomationJobKindSchema, AutomationJobStatusSchema, AutomationJobSummarySchema, AutomationPrioritySchema, AutomationStateSchema, BriefMessageSchema, CoreUpdateBodySchema, CoreUpdateContainerSchema, CreateKnowledgeEntryBodySchema, CrossProjectSearchResponseSchema, CrossProjectSearchResultSchema, DaemonStateSchema, KnowledgeActionSchema, KnowledgeChainEntrySchema, KnowledgeChainRelationSchema, KnowledgeChainResponseSchema, KnowledgeConfidenceSchema, KnowledgeContributorTypeSchema, KnowledgeEntryTypeSchema, KnowledgeInjectionModeSchema, KnowledgeInjectionRequestSchema, KnowledgeInjectionResponseSchema, KnowledgeStatusSchema, LegacyMessageContentSchema, MachineMetadataSchema, MessageContentSchema, MessageMetaSchema, ProjectProfileSchema, QueryKnowledgeParamsSchema, SessionMessageContentSchema, SessionMessageSchema, SessionProtocolMessageSchema, TailscaleInfoSchema, TailscaleServeEntrySchema, TunnelEntrySchema, TunnelProviderInfoSchema, TunnelStateSchema, TurnKnowledgeExtractionSchema, UpdateBodySchema, UpdateKnowledgeEntryBodySchema, UpdateMachineBodySchema, UpdateNewMessageBodySchema, UpdateSchema, UpdateSessionBodySchema, 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 };
2277
- export type { AgentMessage, ApiMessage, ApiUpdateMachineState, ApiUpdateNewMessage, ApiUpdateSessionState, AutomationAuditEventSummary, AutomationAuditStats, AutomationCounts, AutomationGuardianSummary, AutomationGuardianUsageSummary, AutomationJobKind, AutomationJobStatus, AutomationJobSummary, AutomationPriority, AutomationState, BriefMessage, CoreUpdateBody, CoreUpdateContainer, CreateEnvelopeOptions, CreateKnowledgeEntryBody, CrossProjectSearchResponse, CrossProjectSearchResult, DaemonState, KnowledgeAction, KnowledgeChainEntry, KnowledgeChainRelation, KnowledgeChainResponse, KnowledgeConfidence, KnowledgeContributorType, KnowledgeEntryType, KnowledgeInjectionMode, KnowledgeInjectionRequest, KnowledgeInjectionResponse, KnowledgeStatus, LegacyMessageContent, MachineMetadata, MessageContent, MessageMeta, ProjectProfile, QueryKnowledgeParams, SessionContextUsageEvent, SessionEnvelope, SessionEvent, SessionMessage, SessionMessageContent, SessionModelUsage, SessionProtocolMessage, SessionRole, SessionTurnEndStatus, TailscaleInfo, TailscaleServeEntry, TunnelEntry, TunnelProviderInfo, TunnelState, TurnKnowledgeExtraction, Update, UpdateBody, UpdateKnowledgeEntryBody, UpdateMachineBody, UpdateNewMessageBody, UpdateSessionBody, UserMessage, VersionedEncryptedValue, VersionedMachineEncryptedValue, VersionedNullableEncryptedValue, VoiceTokenResponse };
2412
+ declare const TaskPrioritySchema: z.ZodEnum<{
2413
+ user: "user";
2414
+ urgent: "urgent";
2415
+ background: "background";
2416
+ }>;
2417
+ type TaskPriority = z.infer<typeof TaskPrioritySchema>;
2418
+ declare const TaskStatusSchema: z.ZodEnum<{
2419
+ completed: "completed";
2420
+ failed: "failed";
2421
+ cancelled: "cancelled";
2422
+ running: "running";
2423
+ queued: "queued";
2424
+ dispatching: "dispatching";
2425
+ }>;
2426
+ type TaskStatus = z.infer<typeof TaskStatusSchema>;
2427
+ declare const TaskTriggerTypeSchema: z.ZodEnum<{
2428
+ webhook: "webhook";
2429
+ manual: "manual";
2430
+ cron: "cron";
2431
+ }>;
2432
+ type TaskTriggerType = z.infer<typeof TaskTriggerTypeSchema>;
2433
+ declare const TaskSummarySchema: z.ZodObject<{
2434
+ id: z.ZodString;
2435
+ projectId: z.ZodNullable<z.ZodString>;
2436
+ machineId: z.ZodString;
2437
+ priority: z.ZodEnum<{
2438
+ user: "user";
2439
+ urgent: "urgent";
2440
+ background: "background";
2441
+ }>;
2442
+ status: z.ZodEnum<{
2443
+ completed: "completed";
2444
+ failed: "failed";
2445
+ cancelled: "cancelled";
2446
+ running: "running";
2447
+ queued: "queued";
2448
+ dispatching: "dispatching";
2449
+ }>;
2450
+ triggerType: z.ZodEnum<{
2451
+ webhook: "webhook";
2452
+ manual: "manual";
2453
+ cron: "cron";
2454
+ }>;
2455
+ triggerRef: z.ZodOptional<z.ZodString>;
2456
+ attempt: z.ZodNumber;
2457
+ maxAttempts: z.ZodNumber;
2458
+ sessionId: z.ZodOptional<z.ZodString>;
2459
+ errorMessage: z.ZodOptional<z.ZodString>;
2460
+ dispatchedAt: z.ZodOptional<z.ZodNumber>;
2461
+ completedAt: z.ZodOptional<z.ZodNumber>;
2462
+ createdAt: z.ZodNumber;
2463
+ updatedAt: z.ZodNumber;
2464
+ promptPreview: z.ZodOptional<z.ZodString>;
2465
+ skillNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
2466
+ }, z.core.$strip>;
2467
+ type TaskSummary = z.infer<typeof TaskSummarySchema>;
2468
+ declare const CreateTaskBodySchema: z.ZodObject<{
2469
+ projectId: z.ZodOptional<z.ZodString>;
2470
+ machineId: z.ZodString;
2471
+ prompt: z.ZodString;
2472
+ priority: z.ZodDefault<z.ZodEnum<{
2473
+ user: "user";
2474
+ urgent: "urgent";
2475
+ background: "background";
2476
+ }>>;
2477
+ maxAttempts: z.ZodDefault<z.ZodNumber>;
2478
+ skillIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
2479
+ }, z.core.$strip>;
2480
+ type CreateTaskBody = z.infer<typeof CreateTaskBodySchema>;
2481
+ declare const TaskTriggerDataSchema: z.ZodObject<{
2482
+ type: z.ZodLiteral<"task-trigger">;
2483
+ taskId: z.ZodString;
2484
+ prompt: z.ZodString;
2485
+ directory: z.ZodString;
2486
+ priority: z.ZodEnum<{
2487
+ user: "user";
2488
+ urgent: "urgent";
2489
+ background: "background";
2490
+ }>;
2491
+ projectId: z.ZodOptional<z.ZodString>;
2492
+ skillContents: z.ZodOptional<z.ZodArray<z.ZodObject<{
2493
+ name: z.ZodString;
2494
+ content: z.ZodString;
2495
+ }, z.core.$strip>>>;
2496
+ }, z.core.$strip>;
2497
+ type TaskTriggerData = z.infer<typeof TaskTriggerDataSchema>;
2498
+ declare const TaskStatusReportSchema: z.ZodObject<{
2499
+ taskId: z.ZodString;
2500
+ status: z.ZodEnum<{
2501
+ completed: "completed";
2502
+ failed: "failed";
2503
+ cancelled: "cancelled";
2504
+ running: "running";
2505
+ queued: "queued";
2506
+ dispatching: "dispatching";
2507
+ }>;
2508
+ sessionId: z.ZodOptional<z.ZodString>;
2509
+ errorMessage: z.ZodOptional<z.ZodString>;
2510
+ }, z.core.$strip>;
2511
+ type TaskStatusReport = z.infer<typeof TaskStatusReportSchema>;
2512
+ declare const TaskStatusChangedSchema: z.ZodObject<{
2513
+ type: z.ZodLiteral<"task-status-changed">;
2514
+ taskId: z.ZodString;
2515
+ status: z.ZodEnum<{
2516
+ completed: "completed";
2517
+ failed: "failed";
2518
+ cancelled: "cancelled";
2519
+ running: "running";
2520
+ queued: "queued";
2521
+ dispatching: "dispatching";
2522
+ }>;
2523
+ sessionId: z.ZodOptional<z.ZodString>;
2524
+ errorMessage: z.ZodOptional<z.ZodString>;
2525
+ completedAt: z.ZodOptional<z.ZodNumber>;
2526
+ }, z.core.$strip>;
2527
+ type TaskStatusChanged = z.infer<typeof TaskStatusChangedSchema>;
2528
+
2529
+ declare const SkillSummarySchema: z.ZodObject<{
2530
+ id: z.ZodString;
2531
+ projectId: z.ZodNullable<z.ZodString>;
2532
+ name: z.ZodString;
2533
+ description: z.ZodOptional<z.ZodString>;
2534
+ content: z.ZodString;
2535
+ attachments: z.ZodArray<z.ZodString>;
2536
+ sourceKnowledgeId: z.ZodOptional<z.ZodString>;
2537
+ archived: z.ZodBoolean;
2538
+ createdAt: z.ZodNumber;
2539
+ updatedAt: z.ZodNumber;
2540
+ }, z.core.$strip>;
2541
+ type SkillSummary = z.infer<typeof SkillSummarySchema>;
2542
+ declare const CreateSkillBodySchema: z.ZodObject<{
2543
+ projectId: z.ZodOptional<z.ZodString>;
2544
+ name: z.ZodString;
2545
+ description: z.ZodOptional<z.ZodString>;
2546
+ content: z.ZodString;
2547
+ attachments: z.ZodDefault<z.ZodArray<z.ZodString>>;
2548
+ sourceKnowledgeId: z.ZodOptional<z.ZodString>;
2549
+ }, z.core.$strip>;
2550
+ type CreateSkillBody = z.infer<typeof CreateSkillBodySchema>;
2551
+ declare const UpdateSkillBodySchema: z.ZodObject<{
2552
+ name: z.ZodOptional<z.ZodString>;
2553
+ description: z.ZodOptional<z.ZodString>;
2554
+ content: z.ZodOptional<z.ZodString>;
2555
+ attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
2556
+ archived: z.ZodOptional<z.ZodBoolean>;
2557
+ }, z.core.$strip>;
2558
+ type UpdateSkillBody = z.infer<typeof UpdateSkillBodySchema>;
2559
+ declare const SkillContentSchema: z.ZodObject<{
2560
+ name: z.ZodString;
2561
+ content: z.ZodString;
2562
+ }, z.core.$strip>;
2563
+ type SkillContent = z.infer<typeof SkillContentSchema>;
2564
+
2565
+ declare const InboxCategorySchema: z.ZodEnum<{
2566
+ session: "session";
2567
+ supervisor: "supervisor";
2568
+ task: "task";
2569
+ trigger: "trigger";
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
+ session: "session";
2584
+ supervisor: "supervisor";
2585
+ task: "task";
2586
+ trigger: "trigger";
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
+ session: "session";
2612
+ supervisor: "supervisor";
2613
+ task: "task";
2614
+ trigger: "trigger";
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 };