@kmmao/happy-wire 0.8.3 → 0.9.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 +14 -2
- package/dist/index.d.cts +50 -4
- package/dist/index.d.mts +50 -4
- package/dist/index.mjs +14 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -253,7 +253,7 @@ function createEnvelope(role, ev, opts = {}) {
|
|
|
253
253
|
|
|
254
254
|
const MessageMetaSchema = z__namespace.object({
|
|
255
255
|
sentFrom: z__namespace.string().optional(),
|
|
256
|
-
permissionMode: z__namespace.enum(["default", "acceptEdits", "bypassPermissions", "plan", "read-only", "safe-yolo", "yolo"]).optional(),
|
|
256
|
+
permissionMode: z__namespace.enum(["default", "acceptEdits", "bypassPermissions", "plan", "dontAsk", "auto", "read-only", "safe-yolo", "yolo"]).optional(),
|
|
257
257
|
model: z__namespace.string().nullable().optional(),
|
|
258
258
|
fallbackModel: z__namespace.string().nullable().optional(),
|
|
259
259
|
customSystemPrompt: z__namespace.string().nullable().optional(),
|
|
@@ -504,6 +504,15 @@ const AutomationStateSchema = z__namespace.object({
|
|
|
504
504
|
auditStats: AutomationAuditStatsSchema.optional(),
|
|
505
505
|
recentAuditEvents: z__namespace.array(AutomationAuditEventSummarySchema).optional()
|
|
506
506
|
});
|
|
507
|
+
const BriefMessageSchema = z__namespace.object({
|
|
508
|
+
loopId: z__namespace.string(),
|
|
509
|
+
loopName: z__namespace.string().optional(),
|
|
510
|
+
status: z__namespace.enum(["completed", "failed", "cancelled"]),
|
|
511
|
+
summary: z__namespace.string(),
|
|
512
|
+
detail: z__namespace.string(),
|
|
513
|
+
generatedAt: z__namespace.number(),
|
|
514
|
+
sessionId: z__namespace.string().optional()
|
|
515
|
+
});
|
|
507
516
|
const DaemonStateSchema = z__namespace.object({
|
|
508
517
|
status: z__namespace.union([
|
|
509
518
|
z__namespace.enum(["running", "shutting-down"]),
|
|
@@ -521,7 +530,9 @@ const DaemonStateSchema = z__namespace.object({
|
|
|
521
530
|
]).optional(),
|
|
522
531
|
tailscale: TailscaleInfoSchema.optional(),
|
|
523
532
|
tunnels: TunnelStateSchema.optional(),
|
|
524
|
-
automation: AutomationStateSchema.optional()
|
|
533
|
+
automation: AutomationStateSchema.optional(),
|
|
534
|
+
recentBriefs: z__namespace.array(BriefMessageSchema).optional(),
|
|
535
|
+
killed: z__namespace.boolean().optional()
|
|
525
536
|
});
|
|
526
537
|
|
|
527
538
|
const KnowledgeEntryTypeSchema = z__namespace.enum([
|
|
@@ -720,6 +731,7 @@ exports.AutomationJobStatusSchema = AutomationJobStatusSchema;
|
|
|
720
731
|
exports.AutomationJobSummarySchema = AutomationJobSummarySchema;
|
|
721
732
|
exports.AutomationPrioritySchema = AutomationPrioritySchema;
|
|
722
733
|
exports.AutomationStateSchema = AutomationStateSchema;
|
|
734
|
+
exports.BriefMessageSchema = BriefMessageSchema;
|
|
723
735
|
exports.CoreUpdateBodySchema = CoreUpdateBodySchema;
|
|
724
736
|
exports.CoreUpdateContainerSchema = CoreUpdateContainerSchema;
|
|
725
737
|
exports.CreateKnowledgeEntryBodySchema = CreateKnowledgeEntryBodySchema;
|
package/dist/index.d.cts
CHANGED
|
@@ -7,6 +7,8 @@ declare const MessageMetaSchema: z.ZodObject<{
|
|
|
7
7
|
acceptEdits: "acceptEdits";
|
|
8
8
|
bypassPermissions: "bypassPermissions";
|
|
9
9
|
plan: "plan";
|
|
10
|
+
dontAsk: "dontAsk";
|
|
11
|
+
auto: "auto";
|
|
10
12
|
"read-only": "read-only";
|
|
11
13
|
"safe-yolo": "safe-yolo";
|
|
12
14
|
yolo: "yolo";
|
|
@@ -207,6 +209,8 @@ declare const SessionProtocolMessageSchema: z.ZodObject<{
|
|
|
207
209
|
acceptEdits: "acceptEdits";
|
|
208
210
|
bypassPermissions: "bypassPermissions";
|
|
209
211
|
plan: "plan";
|
|
212
|
+
dontAsk: "dontAsk";
|
|
213
|
+
auto: "auto";
|
|
210
214
|
"read-only": "read-only";
|
|
211
215
|
"safe-yolo": "safe-yolo";
|
|
212
216
|
yolo: "yolo";
|
|
@@ -235,6 +239,8 @@ declare const MessageContentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
235
239
|
acceptEdits: "acceptEdits";
|
|
236
240
|
bypassPermissions: "bypassPermissions";
|
|
237
241
|
plan: "plan";
|
|
242
|
+
dontAsk: "dontAsk";
|
|
243
|
+
auto: "auto";
|
|
238
244
|
"read-only": "read-only";
|
|
239
245
|
"safe-yolo": "safe-yolo";
|
|
240
246
|
yolo: "yolo";
|
|
@@ -259,6 +265,8 @@ declare const MessageContentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
259
265
|
acceptEdits: "acceptEdits";
|
|
260
266
|
bypassPermissions: "bypassPermissions";
|
|
261
267
|
plan: "plan";
|
|
268
|
+
dontAsk: "dontAsk";
|
|
269
|
+
auto: "auto";
|
|
262
270
|
"read-only": "read-only";
|
|
263
271
|
"safe-yolo": "safe-yolo";
|
|
264
272
|
yolo: "yolo";
|
|
@@ -439,6 +447,8 @@ declare const MessageContentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
439
447
|
acceptEdits: "acceptEdits";
|
|
440
448
|
bypassPermissions: "bypassPermissions";
|
|
441
449
|
plan: "plan";
|
|
450
|
+
dontAsk: "dontAsk";
|
|
451
|
+
auto: "auto";
|
|
442
452
|
"read-only": "read-only";
|
|
443
453
|
"safe-yolo": "safe-yolo";
|
|
444
454
|
yolo: "yolo";
|
|
@@ -749,6 +759,8 @@ declare const UserMessageSchema: z.ZodObject<{
|
|
|
749
759
|
acceptEdits: "acceptEdits";
|
|
750
760
|
bypassPermissions: "bypassPermissions";
|
|
751
761
|
plan: "plan";
|
|
762
|
+
dontAsk: "dontAsk";
|
|
763
|
+
auto: "auto";
|
|
752
764
|
"read-only": "read-only";
|
|
753
765
|
"safe-yolo": "safe-yolo";
|
|
754
766
|
yolo: "yolo";
|
|
@@ -775,6 +787,8 @@ declare const AgentMessageSchema: z.ZodObject<{
|
|
|
775
787
|
acceptEdits: "acceptEdits";
|
|
776
788
|
bypassPermissions: "bypassPermissions";
|
|
777
789
|
plan: "plan";
|
|
790
|
+
dontAsk: "dontAsk";
|
|
791
|
+
auto: "auto";
|
|
778
792
|
"read-only": "read-only";
|
|
779
793
|
"safe-yolo": "safe-yolo";
|
|
780
794
|
yolo: "yolo";
|
|
@@ -803,6 +817,8 @@ declare const LegacyMessageContentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
803
817
|
acceptEdits: "acceptEdits";
|
|
804
818
|
bypassPermissions: "bypassPermissions";
|
|
805
819
|
plan: "plan";
|
|
820
|
+
dontAsk: "dontAsk";
|
|
821
|
+
auto: "auto";
|
|
806
822
|
"read-only": "read-only";
|
|
807
823
|
"safe-yolo": "safe-yolo";
|
|
808
824
|
yolo: "yolo";
|
|
@@ -827,6 +843,8 @@ declare const LegacyMessageContentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
827
843
|
acceptEdits: "acceptEdits";
|
|
828
844
|
bypassPermissions: "bypassPermissions";
|
|
829
845
|
plan: "plan";
|
|
846
|
+
dontAsk: "dontAsk";
|
|
847
|
+
auto: "auto";
|
|
830
848
|
"read-only": "read-only";
|
|
831
849
|
"safe-yolo": "safe-yolo";
|
|
832
850
|
yolo: "yolo";
|
|
@@ -1704,6 +1722,20 @@ declare const AutomationStateSchema: z.ZodObject<{
|
|
|
1704
1722
|
}, z.core.$strip>>>;
|
|
1705
1723
|
}, z.core.$strip>;
|
|
1706
1724
|
type AutomationState = z.infer<typeof AutomationStateSchema>;
|
|
1725
|
+
declare const BriefMessageSchema: z.ZodObject<{
|
|
1726
|
+
loopId: z.ZodString;
|
|
1727
|
+
loopName: z.ZodOptional<z.ZodString>;
|
|
1728
|
+
status: z.ZodEnum<{
|
|
1729
|
+
completed: "completed";
|
|
1730
|
+
failed: "failed";
|
|
1731
|
+
cancelled: "cancelled";
|
|
1732
|
+
}>;
|
|
1733
|
+
summary: z.ZodString;
|
|
1734
|
+
detail: z.ZodString;
|
|
1735
|
+
generatedAt: z.ZodNumber;
|
|
1736
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1737
|
+
}, z.core.$strip>;
|
|
1738
|
+
type BriefMessage = z.infer<typeof BriefMessageSchema>;
|
|
1707
1739
|
declare const DaemonStateSchema: z.ZodObject<{
|
|
1708
1740
|
status: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1709
1741
|
running: "running";
|
|
@@ -1872,6 +1904,20 @@ declare const DaemonStateSchema: z.ZodObject<{
|
|
|
1872
1904
|
message: z.ZodOptional<z.ZodString>;
|
|
1873
1905
|
}, z.core.$strip>>>;
|
|
1874
1906
|
}, z.core.$strip>>;
|
|
1907
|
+
recentBriefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1908
|
+
loopId: z.ZodString;
|
|
1909
|
+
loopName: z.ZodOptional<z.ZodString>;
|
|
1910
|
+
status: z.ZodEnum<{
|
|
1911
|
+
completed: "completed";
|
|
1912
|
+
failed: "failed";
|
|
1913
|
+
cancelled: "cancelled";
|
|
1914
|
+
}>;
|
|
1915
|
+
summary: z.ZodString;
|
|
1916
|
+
detail: z.ZodString;
|
|
1917
|
+
generatedAt: z.ZodNumber;
|
|
1918
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1919
|
+
}, z.core.$strip>>>;
|
|
1920
|
+
killed: z.ZodOptional<z.ZodBoolean>;
|
|
1875
1921
|
}, z.core.$strip>;
|
|
1876
1922
|
type DaemonState = z.infer<typeof DaemonStateSchema>;
|
|
1877
1923
|
|
|
@@ -1884,8 +1930,8 @@ declare const KnowledgeEntryTypeSchema: z.ZodEnum<{
|
|
|
1884
1930
|
}>;
|
|
1885
1931
|
type KnowledgeEntryType = z.infer<typeof KnowledgeEntryTypeSchema>;
|
|
1886
1932
|
declare const KnowledgeContributorTypeSchema: z.ZodEnum<{
|
|
1887
|
-
session: "session";
|
|
1888
1933
|
user: "user";
|
|
1934
|
+
session: "session";
|
|
1889
1935
|
supervisor: "supervisor";
|
|
1890
1936
|
}>;
|
|
1891
1937
|
type KnowledgeContributorType = z.infer<typeof KnowledgeContributorTypeSchema>;
|
|
@@ -1917,8 +1963,8 @@ declare const CreateKnowledgeEntryBodySchema: z.ZodObject<{
|
|
|
1917
1963
|
warning: "warning";
|
|
1918
1964
|
}>;
|
|
1919
1965
|
contributorType: z.ZodEnum<{
|
|
1920
|
-
session: "session";
|
|
1921
1966
|
user: "user";
|
|
1967
|
+
session: "session";
|
|
1922
1968
|
supervisor: "supervisor";
|
|
1923
1969
|
}>;
|
|
1924
1970
|
action: z.ZodEnum<{
|
|
@@ -2227,5 +2273,5 @@ declare const VoiceTokenResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2227
2273
|
}, z.core.$strip>], "allowed">;
|
|
2228
2274
|
type VoiceTokenResponse = z.infer<typeof VoiceTokenResponseSchema>;
|
|
2229
2275
|
|
|
2230
|
-
export { AgentMessageSchema, ApiMessageSchema, ApiUpdateMachineStateSchema, ApiUpdateNewMessageSchema, ApiUpdateSessionStateSchema, AutomationAuditEventSummarySchema, AutomationAuditStatsSchema, AutomationCountsSchema, AutomationGuardianSummarySchema, AutomationGuardianUsageSummarySchema, AutomationJobKindSchema, AutomationJobStatusSchema, AutomationJobSummarySchema, AutomationPrioritySchema, AutomationStateSchema, 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 };
|
|
2231
|
-
export type { AgentMessage, ApiMessage, ApiUpdateMachineState, ApiUpdateNewMessage, ApiUpdateSessionState, AutomationAuditEventSummary, AutomationAuditStats, AutomationCounts, AutomationGuardianSummary, AutomationGuardianUsageSummary, AutomationJobKind, AutomationJobStatus, AutomationJobSummary, AutomationPriority, AutomationState, 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 };
|
|
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 };
|
package/dist/index.d.mts
CHANGED
|
@@ -7,6 +7,8 @@ declare const MessageMetaSchema: z.ZodObject<{
|
|
|
7
7
|
acceptEdits: "acceptEdits";
|
|
8
8
|
bypassPermissions: "bypassPermissions";
|
|
9
9
|
plan: "plan";
|
|
10
|
+
dontAsk: "dontAsk";
|
|
11
|
+
auto: "auto";
|
|
10
12
|
"read-only": "read-only";
|
|
11
13
|
"safe-yolo": "safe-yolo";
|
|
12
14
|
yolo: "yolo";
|
|
@@ -207,6 +209,8 @@ declare const SessionProtocolMessageSchema: z.ZodObject<{
|
|
|
207
209
|
acceptEdits: "acceptEdits";
|
|
208
210
|
bypassPermissions: "bypassPermissions";
|
|
209
211
|
plan: "plan";
|
|
212
|
+
dontAsk: "dontAsk";
|
|
213
|
+
auto: "auto";
|
|
210
214
|
"read-only": "read-only";
|
|
211
215
|
"safe-yolo": "safe-yolo";
|
|
212
216
|
yolo: "yolo";
|
|
@@ -235,6 +239,8 @@ declare const MessageContentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
235
239
|
acceptEdits: "acceptEdits";
|
|
236
240
|
bypassPermissions: "bypassPermissions";
|
|
237
241
|
plan: "plan";
|
|
242
|
+
dontAsk: "dontAsk";
|
|
243
|
+
auto: "auto";
|
|
238
244
|
"read-only": "read-only";
|
|
239
245
|
"safe-yolo": "safe-yolo";
|
|
240
246
|
yolo: "yolo";
|
|
@@ -259,6 +265,8 @@ declare const MessageContentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
259
265
|
acceptEdits: "acceptEdits";
|
|
260
266
|
bypassPermissions: "bypassPermissions";
|
|
261
267
|
plan: "plan";
|
|
268
|
+
dontAsk: "dontAsk";
|
|
269
|
+
auto: "auto";
|
|
262
270
|
"read-only": "read-only";
|
|
263
271
|
"safe-yolo": "safe-yolo";
|
|
264
272
|
yolo: "yolo";
|
|
@@ -439,6 +447,8 @@ declare const MessageContentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
439
447
|
acceptEdits: "acceptEdits";
|
|
440
448
|
bypassPermissions: "bypassPermissions";
|
|
441
449
|
plan: "plan";
|
|
450
|
+
dontAsk: "dontAsk";
|
|
451
|
+
auto: "auto";
|
|
442
452
|
"read-only": "read-only";
|
|
443
453
|
"safe-yolo": "safe-yolo";
|
|
444
454
|
yolo: "yolo";
|
|
@@ -749,6 +759,8 @@ declare const UserMessageSchema: z.ZodObject<{
|
|
|
749
759
|
acceptEdits: "acceptEdits";
|
|
750
760
|
bypassPermissions: "bypassPermissions";
|
|
751
761
|
plan: "plan";
|
|
762
|
+
dontAsk: "dontAsk";
|
|
763
|
+
auto: "auto";
|
|
752
764
|
"read-only": "read-only";
|
|
753
765
|
"safe-yolo": "safe-yolo";
|
|
754
766
|
yolo: "yolo";
|
|
@@ -775,6 +787,8 @@ declare const AgentMessageSchema: z.ZodObject<{
|
|
|
775
787
|
acceptEdits: "acceptEdits";
|
|
776
788
|
bypassPermissions: "bypassPermissions";
|
|
777
789
|
plan: "plan";
|
|
790
|
+
dontAsk: "dontAsk";
|
|
791
|
+
auto: "auto";
|
|
778
792
|
"read-only": "read-only";
|
|
779
793
|
"safe-yolo": "safe-yolo";
|
|
780
794
|
yolo: "yolo";
|
|
@@ -803,6 +817,8 @@ declare const LegacyMessageContentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
803
817
|
acceptEdits: "acceptEdits";
|
|
804
818
|
bypassPermissions: "bypassPermissions";
|
|
805
819
|
plan: "plan";
|
|
820
|
+
dontAsk: "dontAsk";
|
|
821
|
+
auto: "auto";
|
|
806
822
|
"read-only": "read-only";
|
|
807
823
|
"safe-yolo": "safe-yolo";
|
|
808
824
|
yolo: "yolo";
|
|
@@ -827,6 +843,8 @@ declare const LegacyMessageContentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
827
843
|
acceptEdits: "acceptEdits";
|
|
828
844
|
bypassPermissions: "bypassPermissions";
|
|
829
845
|
plan: "plan";
|
|
846
|
+
dontAsk: "dontAsk";
|
|
847
|
+
auto: "auto";
|
|
830
848
|
"read-only": "read-only";
|
|
831
849
|
"safe-yolo": "safe-yolo";
|
|
832
850
|
yolo: "yolo";
|
|
@@ -1704,6 +1722,20 @@ declare const AutomationStateSchema: z.ZodObject<{
|
|
|
1704
1722
|
}, z.core.$strip>>>;
|
|
1705
1723
|
}, z.core.$strip>;
|
|
1706
1724
|
type AutomationState = z.infer<typeof AutomationStateSchema>;
|
|
1725
|
+
declare const BriefMessageSchema: z.ZodObject<{
|
|
1726
|
+
loopId: z.ZodString;
|
|
1727
|
+
loopName: z.ZodOptional<z.ZodString>;
|
|
1728
|
+
status: z.ZodEnum<{
|
|
1729
|
+
completed: "completed";
|
|
1730
|
+
failed: "failed";
|
|
1731
|
+
cancelled: "cancelled";
|
|
1732
|
+
}>;
|
|
1733
|
+
summary: z.ZodString;
|
|
1734
|
+
detail: z.ZodString;
|
|
1735
|
+
generatedAt: z.ZodNumber;
|
|
1736
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1737
|
+
}, z.core.$strip>;
|
|
1738
|
+
type BriefMessage = z.infer<typeof BriefMessageSchema>;
|
|
1707
1739
|
declare const DaemonStateSchema: z.ZodObject<{
|
|
1708
1740
|
status: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1709
1741
|
running: "running";
|
|
@@ -1872,6 +1904,20 @@ declare const DaemonStateSchema: z.ZodObject<{
|
|
|
1872
1904
|
message: z.ZodOptional<z.ZodString>;
|
|
1873
1905
|
}, z.core.$strip>>>;
|
|
1874
1906
|
}, z.core.$strip>>;
|
|
1907
|
+
recentBriefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1908
|
+
loopId: z.ZodString;
|
|
1909
|
+
loopName: z.ZodOptional<z.ZodString>;
|
|
1910
|
+
status: z.ZodEnum<{
|
|
1911
|
+
completed: "completed";
|
|
1912
|
+
failed: "failed";
|
|
1913
|
+
cancelled: "cancelled";
|
|
1914
|
+
}>;
|
|
1915
|
+
summary: z.ZodString;
|
|
1916
|
+
detail: z.ZodString;
|
|
1917
|
+
generatedAt: z.ZodNumber;
|
|
1918
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1919
|
+
}, z.core.$strip>>>;
|
|
1920
|
+
killed: z.ZodOptional<z.ZodBoolean>;
|
|
1875
1921
|
}, z.core.$strip>;
|
|
1876
1922
|
type DaemonState = z.infer<typeof DaemonStateSchema>;
|
|
1877
1923
|
|
|
@@ -1884,8 +1930,8 @@ declare const KnowledgeEntryTypeSchema: z.ZodEnum<{
|
|
|
1884
1930
|
}>;
|
|
1885
1931
|
type KnowledgeEntryType = z.infer<typeof KnowledgeEntryTypeSchema>;
|
|
1886
1932
|
declare const KnowledgeContributorTypeSchema: z.ZodEnum<{
|
|
1887
|
-
session: "session";
|
|
1888
1933
|
user: "user";
|
|
1934
|
+
session: "session";
|
|
1889
1935
|
supervisor: "supervisor";
|
|
1890
1936
|
}>;
|
|
1891
1937
|
type KnowledgeContributorType = z.infer<typeof KnowledgeContributorTypeSchema>;
|
|
@@ -1917,8 +1963,8 @@ declare const CreateKnowledgeEntryBodySchema: z.ZodObject<{
|
|
|
1917
1963
|
warning: "warning";
|
|
1918
1964
|
}>;
|
|
1919
1965
|
contributorType: z.ZodEnum<{
|
|
1920
|
-
session: "session";
|
|
1921
1966
|
user: "user";
|
|
1967
|
+
session: "session";
|
|
1922
1968
|
supervisor: "supervisor";
|
|
1923
1969
|
}>;
|
|
1924
1970
|
action: z.ZodEnum<{
|
|
@@ -2227,5 +2273,5 @@ declare const VoiceTokenResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2227
2273
|
}, z.core.$strip>], "allowed">;
|
|
2228
2274
|
type VoiceTokenResponse = z.infer<typeof VoiceTokenResponseSchema>;
|
|
2229
2275
|
|
|
2230
|
-
export { AgentMessageSchema, ApiMessageSchema, ApiUpdateMachineStateSchema, ApiUpdateNewMessageSchema, ApiUpdateSessionStateSchema, AutomationAuditEventSummarySchema, AutomationAuditStatsSchema, AutomationCountsSchema, AutomationGuardianSummarySchema, AutomationGuardianUsageSummarySchema, AutomationJobKindSchema, AutomationJobStatusSchema, AutomationJobSummarySchema, AutomationPrioritySchema, AutomationStateSchema, 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 };
|
|
2231
|
-
export type { AgentMessage, ApiMessage, ApiUpdateMachineState, ApiUpdateNewMessage, ApiUpdateSessionState, AutomationAuditEventSummary, AutomationAuditStats, AutomationCounts, AutomationGuardianSummary, AutomationGuardianUsageSummary, AutomationJobKind, AutomationJobStatus, AutomationJobSummary, AutomationPriority, AutomationState, 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 };
|
|
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 };
|
package/dist/index.mjs
CHANGED
|
@@ -232,7 +232,7 @@ function createEnvelope(role, ev, opts = {}) {
|
|
|
232
232
|
|
|
233
233
|
const MessageMetaSchema = z.object({
|
|
234
234
|
sentFrom: z.string().optional(),
|
|
235
|
-
permissionMode: z.enum(["default", "acceptEdits", "bypassPermissions", "plan", "read-only", "safe-yolo", "yolo"]).optional(),
|
|
235
|
+
permissionMode: z.enum(["default", "acceptEdits", "bypassPermissions", "plan", "dontAsk", "auto", "read-only", "safe-yolo", "yolo"]).optional(),
|
|
236
236
|
model: z.string().nullable().optional(),
|
|
237
237
|
fallbackModel: z.string().nullable().optional(),
|
|
238
238
|
customSystemPrompt: z.string().nullable().optional(),
|
|
@@ -483,6 +483,15 @@ const AutomationStateSchema = z.object({
|
|
|
483
483
|
auditStats: AutomationAuditStatsSchema.optional(),
|
|
484
484
|
recentAuditEvents: z.array(AutomationAuditEventSummarySchema).optional()
|
|
485
485
|
});
|
|
486
|
+
const BriefMessageSchema = z.object({
|
|
487
|
+
loopId: z.string(),
|
|
488
|
+
loopName: z.string().optional(),
|
|
489
|
+
status: z.enum(["completed", "failed", "cancelled"]),
|
|
490
|
+
summary: z.string(),
|
|
491
|
+
detail: z.string(),
|
|
492
|
+
generatedAt: z.number(),
|
|
493
|
+
sessionId: z.string().optional()
|
|
494
|
+
});
|
|
486
495
|
const DaemonStateSchema = z.object({
|
|
487
496
|
status: z.union([
|
|
488
497
|
z.enum(["running", "shutting-down"]),
|
|
@@ -500,7 +509,9 @@ const DaemonStateSchema = z.object({
|
|
|
500
509
|
]).optional(),
|
|
501
510
|
tailscale: TailscaleInfoSchema.optional(),
|
|
502
511
|
tunnels: TunnelStateSchema.optional(),
|
|
503
|
-
automation: AutomationStateSchema.optional()
|
|
512
|
+
automation: AutomationStateSchema.optional(),
|
|
513
|
+
recentBriefs: z.array(BriefMessageSchema).optional(),
|
|
514
|
+
killed: z.boolean().optional()
|
|
504
515
|
});
|
|
505
516
|
|
|
506
517
|
const KnowledgeEntryTypeSchema = z.enum([
|
|
@@ -684,4 +695,4 @@ const VoiceTokenResponseSchema = z.discriminatedUnion("allowed", [
|
|
|
684
695
|
VoiceTokenDeniedSchema
|
|
685
696
|
]);
|
|
686
697
|
|
|
687
|
-
export { AgentMessageSchema, ApiMessageSchema, ApiUpdateMachineStateSchema, ApiUpdateNewMessageSchema, ApiUpdateSessionStateSchema, AutomationAuditEventSummarySchema, AutomationAuditStatsSchema, AutomationCountsSchema, AutomationGuardianSummarySchema, AutomationGuardianUsageSummarySchema, AutomationJobKindSchema, AutomationJobStatusSchema, AutomationJobSummarySchema, AutomationPrioritySchema, AutomationStateSchema, 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 };
|
|
698
|
+
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 };
|