@kmmao/happy-wire 0.9.2 → 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.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
@@ -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
- 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, KnowledgeActionSchema, KnowledgeChainEntrySchema, KnowledgeChainRelationSchema, KnowledgeChainResponseSchema, KnowledgeConfidenceSchema, KnowledgeContributorTypeSchema, KnowledgeEntryTypeSchema, KnowledgeInjectionModeSchema, KnowledgeInjectionRequestSchema, KnowledgeInjectionResponseSchema, KnowledgeStatusSchema, LegacyMessageContentSchema, MachineMetadataSchema, MessageContentSchema, MessageMetaSchema, ProjectProfileSchema, QueryKnowledgeParamsSchema, 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 };
2566
- 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, 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, 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 };
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 };
package/dist/index.d.mts CHANGED
@@ -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
- 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, KnowledgeActionSchema, KnowledgeChainEntrySchema, KnowledgeChainRelationSchema, KnowledgeChainResponseSchema, KnowledgeConfidenceSchema, KnowledgeContributorTypeSchema, KnowledgeEntryTypeSchema, KnowledgeInjectionModeSchema, KnowledgeInjectionRequestSchema, KnowledgeInjectionResponseSchema, KnowledgeStatusSchema, LegacyMessageContentSchema, MachineMetadataSchema, MessageContentSchema, MessageMetaSchema, ProjectProfileSchema, QueryKnowledgeParamsSchema, 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 };
2566
- 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, 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, 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 };
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 };
package/dist/index.mjs CHANGED
@@ -862,4 +862,88 @@ const SkillContentSchema = z.object({
862
862
  content: z.string()
863
863
  });
864
864
 
865
- 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, KnowledgeActionSchema, KnowledgeChainEntrySchema, KnowledgeChainRelationSchema, KnowledgeChainResponseSchema, KnowledgeConfidenceSchema, KnowledgeContributorTypeSchema, KnowledgeEntryTypeSchema, KnowledgeInjectionModeSchema, KnowledgeInjectionRequestSchema, KnowledgeInjectionResponseSchema, KnowledgeStatusSchema, LegacyMessageContentSchema, MachineMetadataSchema, MessageContentSchema, MessageMetaSchema, ProjectProfileSchema, QueryKnowledgeParamsSchema, 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 };
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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmmao/happy-wire",
3
- "version": "0.9.2",
3
+ "version": "0.10.0",
4
4
  "description": "Shared message wire types and Zod schemas for Happy clients and services",
5
5
  "author": "kmmao",
6
6
  "license": "MIT",