happy-imou-cloud 2.1.4 → 2.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/bin/happy-cloud.mjs +38 -38
  2. package/dist/{BaseReasoningProcessor-DgdsExMH.cjs → BaseReasoningProcessor-C3oDrA4i.cjs} +17 -4
  3. package/dist/{BaseReasoningProcessor-lTsZVuAU.mjs → BaseReasoningProcessor-CRXr7Axk.mjs} +16 -3
  4. package/dist/{ProviderSelectionHandler-CGTnB7ba.mjs → ProviderSelectionHandler-C3kHFqeq.mjs} +2 -2
  5. package/dist/{ProviderSelectionHandler-Bavm9TDG.cjs → ProviderSelectionHandler-Drg2Pp1-.cjs} +2 -2
  6. package/dist/{api-B6ESNpGB.cjs → api-CvtU4DI-.cjs} +2 -2
  7. package/dist/{api-l8X03rs-.mjs → api-DF9A136-.mjs} +3 -3
  8. package/dist/{command-DPLKOzMr.cjs → command-UZr1nodh.cjs} +3 -3
  9. package/dist/{command-BVCkEMtp.mjs → command-hO52qTzQ.mjs} +3 -3
  10. package/dist/{index-D72RMo5Z.mjs → index-B5e-MA1d.mjs} +268 -32
  11. package/dist/{index-D1BP-fEm.cjs → index-DA-K28E3.cjs} +264 -24
  12. package/dist/index.cjs +3 -3
  13. package/dist/index.mjs +3 -3
  14. package/dist/lib.cjs +1 -1
  15. package/dist/lib.d.cts +36 -36
  16. package/dist/lib.d.mts +36 -36
  17. package/dist/lib.mjs +1 -1
  18. package/dist/{persistence-CyFjFOlN.mjs → persistence-BsWBBi7E.mjs} +1 -1
  19. package/dist/{persistence-EDmI-c8T.cjs → persistence-CKgPuZRR.cjs} +1 -1
  20. package/dist/{registerKillSessionHandler-71xCO8e_.cjs → registerKillSessionHandler-3ytO-yBI.cjs} +72 -79
  21. package/dist/{registerKillSessionHandler-DAVhkb-l.mjs → registerKillSessionHandler-DmG1p8l7.mjs} +73 -78
  22. package/dist/{runClaude-BRhQLKjh.mjs → runClaude-MF34EsCp.mjs} +103 -40
  23. package/dist/{runClaude-DjnTGJGC.cjs → runClaude-bAlUdUGw.cjs} +106 -43
  24. package/dist/{runCodex-DUs_jBE-.mjs → runCodex-B31D_imZ.mjs} +10 -8
  25. package/dist/{runCodex-BHq7Rnq7.cjs → runCodex-CiIbJ1wa.cjs} +12 -10
  26. package/dist/{runGemini-pmvBZ6qU.mjs → runGemini-BJ7PxLyl.mjs} +5 -5
  27. package/dist/{runGemini-hkZeOnA_.cjs → runGemini-BZJR84o-.cjs} +7 -7
  28. package/package.json +2 -2
package/dist/lib.d.cts CHANGED
@@ -437,6 +437,12 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
437
437
  repeatFingerprint: string | null;
438
438
  }>>;
439
439
  }, "strip", z.ZodTypeAny, {
440
+ runtime?: {
441
+ status: "active" | "waiting_review" | "waiting_decision" | "waiting_close" | "terminated";
442
+ reason?: string | null | undefined;
443
+ terminatedAt?: number | undefined;
444
+ reopenedAt?: number | undefined;
445
+ } | undefined;
440
446
  repeat?: {
441
447
  threshold: number;
442
448
  fingerprints: Record<string, {
@@ -450,12 +456,6 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
450
456
  memberAgentId: string;
451
457
  supervisorAgentId: string;
452
458
  } | undefined;
453
- runtime?: {
454
- status: "active" | "waiting_review" | "waiting_decision" | "waiting_close" | "terminated";
455
- reason?: string | null | undefined;
456
- terminatedAt?: number | undefined;
457
- reopenedAt?: number | undefined;
458
- } | undefined;
459
459
  activeOwner?: {
460
460
  ownerAgentId: string;
461
461
  ownerRunId: string;
@@ -475,6 +475,12 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
475
475
  repeatFingerprint: string | null;
476
476
  } | undefined;
477
477
  }, {
478
+ runtime?: {
479
+ status: "active" | "waiting_review" | "waiting_decision" | "waiting_close" | "terminated";
480
+ reason?: string | null | undefined;
481
+ terminatedAt?: number | undefined;
482
+ reopenedAt?: number | undefined;
483
+ } | undefined;
478
484
  repeat?: {
479
485
  threshold: number;
480
486
  fingerprints: Record<string, {
@@ -488,12 +494,6 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
488
494
  memberAgentId: string;
489
495
  supervisorAgentId: string;
490
496
  } | undefined;
491
- runtime?: {
492
- status: "active" | "waiting_review" | "waiting_decision" | "waiting_close" | "terminated";
493
- reason?: string | null | undefined;
494
- terminatedAt?: number | undefined;
495
- reopenedAt?: number | undefined;
496
- } | undefined;
497
497
  activeOwner?: {
498
498
  ownerAgentId: string;
499
499
  ownerRunId: string;
@@ -543,15 +543,15 @@ declare const SessionRuntimeIndexSchema: z.ZodObject<{
543
543
  lifecycleState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
544
544
  flavor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
545
545
  }, "strip", z.ZodTypeAny, {
546
+ startedBy?: string | null | undefined;
546
547
  machineId?: string | null | undefined;
547
548
  hostPid?: number | null | undefined;
548
- startedBy?: string | null | undefined;
549
549
  lifecycleState?: string | null | undefined;
550
550
  flavor?: string | null | undefined;
551
551
  }, {
552
+ startedBy?: string | null | undefined;
552
553
  machineId?: string | null | undefined;
553
554
  hostPid?: number | null | undefined;
554
- startedBy?: string | null | undefined;
555
555
  lifecycleState?: string | null | undefined;
556
556
  flavor?: string | null | undefined;
557
557
  }>;
@@ -613,15 +613,15 @@ declare const UpdateSchema: z.ZodObject<{
613
613
  lifecycleState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
614
614
  flavor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
615
615
  }, "strip", z.ZodTypeAny, {
616
+ startedBy?: string | null | undefined;
616
617
  machineId?: string | null | undefined;
617
618
  hostPid?: number | null | undefined;
618
- startedBy?: string | null | undefined;
619
619
  lifecycleState?: string | null | undefined;
620
620
  flavor?: string | null | undefined;
621
621
  }, {
622
+ startedBy?: string | null | undefined;
622
623
  machineId?: string | null | undefined;
623
624
  hostPid?: number | null | undefined;
624
- startedBy?: string | null | undefined;
625
625
  lifecycleState?: string | null | undefined;
626
626
  flavor?: string | null | undefined;
627
627
  }>>>;
@@ -640,9 +640,9 @@ declare const UpdateSchema: z.ZodObject<{
640
640
  dataEncryptionKey?: string | null | undefined;
641
641
  activeAt?: number | undefined;
642
642
  sessionIndex?: {
643
+ startedBy?: string | null | undefined;
643
644
  machineId?: string | null | undefined;
644
645
  hostPid?: number | null | undefined;
645
- startedBy?: string | null | undefined;
646
646
  lifecycleState?: string | null | undefined;
647
647
  flavor?: string | null | undefined;
648
648
  } | null | undefined;
@@ -661,9 +661,9 @@ declare const UpdateSchema: z.ZodObject<{
661
661
  dataEncryptionKey?: string | null | undefined;
662
662
  activeAt?: number | undefined;
663
663
  sessionIndex?: {
664
+ startedBy?: string | null | undefined;
664
665
  machineId?: string | null | undefined;
665
666
  hostPid?: number | null | undefined;
666
- startedBy?: string | null | undefined;
667
667
  lifecycleState?: string | null | undefined;
668
668
  flavor?: string | null | undefined;
669
669
  } | null | undefined;
@@ -758,15 +758,15 @@ declare const UpdateSchema: z.ZodObject<{
758
758
  lifecycleState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
759
759
  flavor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
760
760
  }, "strip", z.ZodTypeAny, {
761
+ startedBy?: string | null | undefined;
761
762
  machineId?: string | null | undefined;
762
763
  hostPid?: number | null | undefined;
763
- startedBy?: string | null | undefined;
764
764
  lifecycleState?: string | null | undefined;
765
765
  flavor?: string | null | undefined;
766
766
  }, {
767
+ startedBy?: string | null | undefined;
767
768
  machineId?: string | null | undefined;
768
769
  hostPid?: number | null | undefined;
769
- startedBy?: string | null | undefined;
770
770
  lifecycleState?: string | null | undefined;
771
771
  flavor?: string | null | undefined;
772
772
  }>>>;
@@ -793,9 +793,9 @@ declare const UpdateSchema: z.ZodObject<{
793
793
  version: number;
794
794
  } | null | undefined;
795
795
  sessionIndex?: {
796
+ startedBy?: string | null | undefined;
796
797
  machineId?: string | null | undefined;
797
798
  hostPid?: number | null | undefined;
798
- startedBy?: string | null | undefined;
799
799
  lifecycleState?: string | null | undefined;
800
800
  flavor?: string | null | undefined;
801
801
  } | null | undefined;
@@ -814,9 +814,9 @@ declare const UpdateSchema: z.ZodObject<{
814
814
  version: number;
815
815
  } | null | undefined;
816
816
  sessionIndex?: {
817
+ startedBy?: string | null | undefined;
817
818
  machineId?: string | null | undefined;
818
819
  hostPid?: number | null | undefined;
819
- startedBy?: string | null | undefined;
820
820
  lifecycleState?: string | null | undefined;
821
821
  flavor?: string | null | undefined;
822
822
  } | null | undefined;
@@ -900,9 +900,9 @@ declare const UpdateSchema: z.ZodObject<{
900
900
  dataEncryptionKey?: string | null | undefined;
901
901
  activeAt?: number | undefined;
902
902
  sessionIndex?: {
903
+ startedBy?: string | null | undefined;
903
904
  machineId?: string | null | undefined;
904
905
  hostPid?: number | null | undefined;
905
- startedBy?: string | null | undefined;
906
906
  lifecycleState?: string | null | undefined;
907
907
  flavor?: string | null | undefined;
908
908
  } | null | undefined;
@@ -933,9 +933,9 @@ declare const UpdateSchema: z.ZodObject<{
933
933
  version: number;
934
934
  } | null | undefined;
935
935
  sessionIndex?: {
936
+ startedBy?: string | null | undefined;
936
937
  machineId?: string | null | undefined;
937
938
  hostPid?: number | null | undefined;
938
- startedBy?: string | null | undefined;
939
939
  lifecycleState?: string | null | undefined;
940
940
  flavor?: string | null | undefined;
941
941
  } | null | undefined;
@@ -976,9 +976,9 @@ declare const UpdateSchema: z.ZodObject<{
976
976
  dataEncryptionKey?: string | null | undefined;
977
977
  activeAt?: number | undefined;
978
978
  sessionIndex?: {
979
+ startedBy?: string | null | undefined;
979
980
  machineId?: string | null | undefined;
980
981
  hostPid?: number | null | undefined;
981
- startedBy?: string | null | undefined;
982
982
  lifecycleState?: string | null | undefined;
983
983
  flavor?: string | null | undefined;
984
984
  } | null | undefined;
@@ -1009,9 +1009,9 @@ declare const UpdateSchema: z.ZodObject<{
1009
1009
  version: number;
1010
1010
  } | null | undefined;
1011
1011
  sessionIndex?: {
1012
+ startedBy?: string | null | undefined;
1012
1013
  machineId?: string | null | undefined;
1013
1014
  hostPid?: number | null | undefined;
1014
- startedBy?: string | null | undefined;
1015
1015
  lifecycleState?: string | null | undefined;
1016
1016
  flavor?: string | null | undefined;
1017
1017
  } | null | undefined;
@@ -1513,6 +1513,11 @@ declare const ProtocolV3SessionChangesResponseSchema: z.ZodObject<{
1513
1513
  payload: Record<string, unknown>;
1514
1514
  }>, "many">;
1515
1515
  }, "strip", z.ZodTypeAny, {
1516
+ cursor: {
1517
+ lastChangeSeq: number;
1518
+ afterSeq: number;
1519
+ hasMore: boolean;
1520
+ };
1516
1521
  protocol: {
1517
1522
  protocolVersion: string;
1518
1523
  capabilities: string[];
@@ -1539,11 +1544,6 @@ declare const ProtocolV3SessionChangesResponseSchema: z.ZodObject<{
1539
1544
  pendingVersion?: number | undefined;
1540
1545
  deleted?: boolean | undefined;
1541
1546
  };
1542
- cursor: {
1543
- lastChangeSeq: number;
1544
- afterSeq: number;
1545
- hasMore: boolean;
1546
- };
1547
1547
  changes: {
1548
1548
  createdAt: number;
1549
1549
  changeSeq: number;
@@ -1551,6 +1551,11 @@ declare const ProtocolV3SessionChangesResponseSchema: z.ZodObject<{
1551
1551
  payload: Record<string, unknown>;
1552
1552
  }[];
1553
1553
  }, {
1554
+ cursor: {
1555
+ lastChangeSeq: number;
1556
+ afterSeq: number;
1557
+ hasMore: boolean;
1558
+ };
1554
1559
  protocol: {
1555
1560
  protocolVersion: string;
1556
1561
  capabilities: string[];
@@ -1577,11 +1582,6 @@ declare const ProtocolV3SessionChangesResponseSchema: z.ZodObject<{
1577
1582
  pendingVersion?: number | undefined;
1578
1583
  deleted?: boolean | undefined;
1579
1584
  };
1580
- cursor: {
1581
- lastChangeSeq: number;
1582
- afterSeq: number;
1583
- hasMore: boolean;
1584
- };
1585
1585
  changes: {
1586
1586
  createdAt: number;
1587
1587
  changeSeq: number;
package/dist/lib.d.mts CHANGED
@@ -437,6 +437,12 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
437
437
  repeatFingerprint: string | null;
438
438
  }>>;
439
439
  }, "strip", z.ZodTypeAny, {
440
+ runtime?: {
441
+ status: "active" | "waiting_review" | "waiting_decision" | "waiting_close" | "terminated";
442
+ reason?: string | null | undefined;
443
+ terminatedAt?: number | undefined;
444
+ reopenedAt?: number | undefined;
445
+ } | undefined;
440
446
  repeat?: {
441
447
  threshold: number;
442
448
  fingerprints: Record<string, {
@@ -450,12 +456,6 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
450
456
  memberAgentId: string;
451
457
  supervisorAgentId: string;
452
458
  } | undefined;
453
- runtime?: {
454
- status: "active" | "waiting_review" | "waiting_decision" | "waiting_close" | "terminated";
455
- reason?: string | null | undefined;
456
- terminatedAt?: number | undefined;
457
- reopenedAt?: number | undefined;
458
- } | undefined;
459
459
  activeOwner?: {
460
460
  ownerAgentId: string;
461
461
  ownerRunId: string;
@@ -475,6 +475,12 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
475
475
  repeatFingerprint: string | null;
476
476
  } | undefined;
477
477
  }, {
478
+ runtime?: {
479
+ status: "active" | "waiting_review" | "waiting_decision" | "waiting_close" | "terminated";
480
+ reason?: string | null | undefined;
481
+ terminatedAt?: number | undefined;
482
+ reopenedAt?: number | undefined;
483
+ } | undefined;
478
484
  repeat?: {
479
485
  threshold: number;
480
486
  fingerprints: Record<string, {
@@ -488,12 +494,6 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
488
494
  memberAgentId: string;
489
495
  supervisorAgentId: string;
490
496
  } | undefined;
491
- runtime?: {
492
- status: "active" | "waiting_review" | "waiting_decision" | "waiting_close" | "terminated";
493
- reason?: string | null | undefined;
494
- terminatedAt?: number | undefined;
495
- reopenedAt?: number | undefined;
496
- } | undefined;
497
497
  activeOwner?: {
498
498
  ownerAgentId: string;
499
499
  ownerRunId: string;
@@ -543,15 +543,15 @@ declare const SessionRuntimeIndexSchema: z.ZodObject<{
543
543
  lifecycleState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
544
544
  flavor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
545
545
  }, "strip", z.ZodTypeAny, {
546
+ startedBy?: string | null | undefined;
546
547
  machineId?: string | null | undefined;
547
548
  hostPid?: number | null | undefined;
548
- startedBy?: string | null | undefined;
549
549
  lifecycleState?: string | null | undefined;
550
550
  flavor?: string | null | undefined;
551
551
  }, {
552
+ startedBy?: string | null | undefined;
552
553
  machineId?: string | null | undefined;
553
554
  hostPid?: number | null | undefined;
554
- startedBy?: string | null | undefined;
555
555
  lifecycleState?: string | null | undefined;
556
556
  flavor?: string | null | undefined;
557
557
  }>;
@@ -613,15 +613,15 @@ declare const UpdateSchema: z.ZodObject<{
613
613
  lifecycleState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
614
614
  flavor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
615
615
  }, "strip", z.ZodTypeAny, {
616
+ startedBy?: string | null | undefined;
616
617
  machineId?: string | null | undefined;
617
618
  hostPid?: number | null | undefined;
618
- startedBy?: string | null | undefined;
619
619
  lifecycleState?: string | null | undefined;
620
620
  flavor?: string | null | undefined;
621
621
  }, {
622
+ startedBy?: string | null | undefined;
622
623
  machineId?: string | null | undefined;
623
624
  hostPid?: number | null | undefined;
624
- startedBy?: string | null | undefined;
625
625
  lifecycleState?: string | null | undefined;
626
626
  flavor?: string | null | undefined;
627
627
  }>>>;
@@ -640,9 +640,9 @@ declare const UpdateSchema: z.ZodObject<{
640
640
  dataEncryptionKey?: string | null | undefined;
641
641
  activeAt?: number | undefined;
642
642
  sessionIndex?: {
643
+ startedBy?: string | null | undefined;
643
644
  machineId?: string | null | undefined;
644
645
  hostPid?: number | null | undefined;
645
- startedBy?: string | null | undefined;
646
646
  lifecycleState?: string | null | undefined;
647
647
  flavor?: string | null | undefined;
648
648
  } | null | undefined;
@@ -661,9 +661,9 @@ declare const UpdateSchema: z.ZodObject<{
661
661
  dataEncryptionKey?: string | null | undefined;
662
662
  activeAt?: number | undefined;
663
663
  sessionIndex?: {
664
+ startedBy?: string | null | undefined;
664
665
  machineId?: string | null | undefined;
665
666
  hostPid?: number | null | undefined;
666
- startedBy?: string | null | undefined;
667
667
  lifecycleState?: string | null | undefined;
668
668
  flavor?: string | null | undefined;
669
669
  } | null | undefined;
@@ -758,15 +758,15 @@ declare const UpdateSchema: z.ZodObject<{
758
758
  lifecycleState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
759
759
  flavor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
760
760
  }, "strip", z.ZodTypeAny, {
761
+ startedBy?: string | null | undefined;
761
762
  machineId?: string | null | undefined;
762
763
  hostPid?: number | null | undefined;
763
- startedBy?: string | null | undefined;
764
764
  lifecycleState?: string | null | undefined;
765
765
  flavor?: string | null | undefined;
766
766
  }, {
767
+ startedBy?: string | null | undefined;
767
768
  machineId?: string | null | undefined;
768
769
  hostPid?: number | null | undefined;
769
- startedBy?: string | null | undefined;
770
770
  lifecycleState?: string | null | undefined;
771
771
  flavor?: string | null | undefined;
772
772
  }>>>;
@@ -793,9 +793,9 @@ declare const UpdateSchema: z.ZodObject<{
793
793
  version: number;
794
794
  } | null | undefined;
795
795
  sessionIndex?: {
796
+ startedBy?: string | null | undefined;
796
797
  machineId?: string | null | undefined;
797
798
  hostPid?: number | null | undefined;
798
- startedBy?: string | null | undefined;
799
799
  lifecycleState?: string | null | undefined;
800
800
  flavor?: string | null | undefined;
801
801
  } | null | undefined;
@@ -814,9 +814,9 @@ declare const UpdateSchema: z.ZodObject<{
814
814
  version: number;
815
815
  } | null | undefined;
816
816
  sessionIndex?: {
817
+ startedBy?: string | null | undefined;
817
818
  machineId?: string | null | undefined;
818
819
  hostPid?: number | null | undefined;
819
- startedBy?: string | null | undefined;
820
820
  lifecycleState?: string | null | undefined;
821
821
  flavor?: string | null | undefined;
822
822
  } | null | undefined;
@@ -900,9 +900,9 @@ declare const UpdateSchema: z.ZodObject<{
900
900
  dataEncryptionKey?: string | null | undefined;
901
901
  activeAt?: number | undefined;
902
902
  sessionIndex?: {
903
+ startedBy?: string | null | undefined;
903
904
  machineId?: string | null | undefined;
904
905
  hostPid?: number | null | undefined;
905
- startedBy?: string | null | undefined;
906
906
  lifecycleState?: string | null | undefined;
907
907
  flavor?: string | null | undefined;
908
908
  } | null | undefined;
@@ -933,9 +933,9 @@ declare const UpdateSchema: z.ZodObject<{
933
933
  version: number;
934
934
  } | null | undefined;
935
935
  sessionIndex?: {
936
+ startedBy?: string | null | undefined;
936
937
  machineId?: string | null | undefined;
937
938
  hostPid?: number | null | undefined;
938
- startedBy?: string | null | undefined;
939
939
  lifecycleState?: string | null | undefined;
940
940
  flavor?: string | null | undefined;
941
941
  } | null | undefined;
@@ -976,9 +976,9 @@ declare const UpdateSchema: z.ZodObject<{
976
976
  dataEncryptionKey?: string | null | undefined;
977
977
  activeAt?: number | undefined;
978
978
  sessionIndex?: {
979
+ startedBy?: string | null | undefined;
979
980
  machineId?: string | null | undefined;
980
981
  hostPid?: number | null | undefined;
981
- startedBy?: string | null | undefined;
982
982
  lifecycleState?: string | null | undefined;
983
983
  flavor?: string | null | undefined;
984
984
  } | null | undefined;
@@ -1009,9 +1009,9 @@ declare const UpdateSchema: z.ZodObject<{
1009
1009
  version: number;
1010
1010
  } | null | undefined;
1011
1011
  sessionIndex?: {
1012
+ startedBy?: string | null | undefined;
1012
1013
  machineId?: string | null | undefined;
1013
1014
  hostPid?: number | null | undefined;
1014
- startedBy?: string | null | undefined;
1015
1015
  lifecycleState?: string | null | undefined;
1016
1016
  flavor?: string | null | undefined;
1017
1017
  } | null | undefined;
@@ -1513,6 +1513,11 @@ declare const ProtocolV3SessionChangesResponseSchema: z.ZodObject<{
1513
1513
  payload: Record<string, unknown>;
1514
1514
  }>, "many">;
1515
1515
  }, "strip", z.ZodTypeAny, {
1516
+ cursor: {
1517
+ lastChangeSeq: number;
1518
+ afterSeq: number;
1519
+ hasMore: boolean;
1520
+ };
1516
1521
  protocol: {
1517
1522
  protocolVersion: string;
1518
1523
  capabilities: string[];
@@ -1539,11 +1544,6 @@ declare const ProtocolV3SessionChangesResponseSchema: z.ZodObject<{
1539
1544
  pendingVersion?: number | undefined;
1540
1545
  deleted?: boolean | undefined;
1541
1546
  };
1542
- cursor: {
1543
- lastChangeSeq: number;
1544
- afterSeq: number;
1545
- hasMore: boolean;
1546
- };
1547
1547
  changes: {
1548
1548
  createdAt: number;
1549
1549
  changeSeq: number;
@@ -1551,6 +1551,11 @@ declare const ProtocolV3SessionChangesResponseSchema: z.ZodObject<{
1551
1551
  payload: Record<string, unknown>;
1552
1552
  }[];
1553
1553
  }, {
1554
+ cursor: {
1555
+ lastChangeSeq: number;
1556
+ afterSeq: number;
1557
+ hasMore: boolean;
1558
+ };
1554
1559
  protocol: {
1555
1560
  protocolVersion: string;
1556
1561
  capabilities: string[];
@@ -1577,11 +1582,6 @@ declare const ProtocolV3SessionChangesResponseSchema: z.ZodObject<{
1577
1582
  pendingVersion?: number | undefined;
1578
1583
  deleted?: boolean | undefined;
1579
1584
  };
1580
- cursor: {
1581
- lastChangeSeq: number;
1582
- afterSeq: number;
1583
- hasMore: boolean;
1584
- };
1585
1585
  changes: {
1586
1586
  createdAt: number;
1587
1587
  changeSeq: number;
package/dist/lib.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { A as ApiClient, a as ApiSessionClient, c as configuration, l as logger } from './api-l8X03rs-.mjs';
1
+ export { A as ApiClient, a as ApiSessionClient, c as configuration, l as logger } from './api-DF9A136-.mjs';
2
2
  export { R as RawJSONLinesSchema } from './types-CiliQpqS.mjs';
3
3
  import 'axios';
4
4
  import 'chalk';
@@ -1,7 +1,7 @@
1
1
  import { unlink, readFile, mkdir, open, stat, writeFile, rename } from 'node:fs/promises';
2
2
  import { existsSync, unlinkSync, readdirSync, constants, writeFileSync, readFileSync } from 'node:fs';
3
3
  import { join, dirname } from 'node:path';
4
- import { c as configuration, l as logger, e as encodeBase64 } from './api-l8X03rs-.mjs';
4
+ import { c as configuration, l as logger, e as encodeBase64 } from './api-DF9A136-.mjs';
5
5
  import * as z from 'zod';
6
6
  import 'axios';
7
7
  import 'chalk';
@@ -3,7 +3,7 @@
3
3
  var promises = require('node:fs/promises');
4
4
  var fs = require('node:fs');
5
5
  var path = require('node:path');
6
- var api = require('./api-B6ESNpGB.cjs');
6
+ var api = require('./api-CvtU4DI-.cjs');
7
7
  var z = require('zod');
8
8
  require('axios');
9
9
  require('chalk');