happy-imou-cloud 2.1.48 → 2.1.49

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 (25) hide show
  1. package/dist/{BaseReasoningProcessor-CM3JbXUC.mjs → BaseReasoningProcessor-CAVeOdyo.mjs} +2 -2
  2. package/dist/{BaseReasoningProcessor-CKtDfihV.cjs → BaseReasoningProcessor-Dn9NcoHz.cjs} +2 -2
  3. package/dist/{ProviderSelectionHandler-BHKIBw4t.cjs → ProviderSelectionHandler-BJJc7qOR.cjs} +2 -2
  4. package/dist/{ProviderSelectionHandler-vgZ2egD_.mjs → ProviderSelectionHandler-DIYidT13.mjs} +2 -2
  5. package/dist/{api-eaGKJjMt.cjs → api-D7nAeZi7.cjs} +1 -1
  6. package/dist/{api-CSjP-Z3Y.mjs → api-DnqaNvyV.mjs} +1 -1
  7. package/dist/{command-BzPI4N1n.mjs → command-CzfRRhVe.mjs} +2 -2
  8. package/dist/{command-DDoz1Eky.cjs → command-VcH4hbhi.cjs} +2 -2
  9. package/dist/{index-BzsBo3_Z.mjs → index-7Z93BoVn.mjs} +95 -20
  10. package/dist/{index-C8X1VlHZ.cjs → index-xa1kwZoj.cjs} +98 -23
  11. package/dist/index.cjs +2 -2
  12. package/dist/index.mjs +2 -2
  13. package/dist/lib.cjs +1 -1
  14. package/dist/lib.d.cts +86 -86
  15. package/dist/lib.d.mts +86 -86
  16. package/dist/lib.mjs +1 -1
  17. package/dist/{registerKillSessionHandler-CLCYBgZX.cjs → registerKillSessionHandler-CfCya6si.cjs} +2 -2
  18. package/dist/{registerKillSessionHandler-BHu-3hZQ.mjs → registerKillSessionHandler-DLDg2EES.mjs} +2 -2
  19. package/dist/{runClaude-BkUbXE2F.cjs → runClaude-BBGNmGj6.cjs} +4 -4
  20. package/dist/{runClaude-D3CBLW5o.mjs → runClaude-zCwRhpOw.mjs} +4 -4
  21. package/dist/{runCodex-DqzdgDwZ.mjs → runCodex-BbgLVjb9.mjs} +56 -8
  22. package/dist/{runCodex-CdgrZK7P.cjs → runCodex-jUU6U2tZ.cjs} +56 -8
  23. package/dist/{runGemini-BE05R24D.cjs → runGemini-C0NT8MHK.cjs} +4 -4
  24. package/dist/{runGemini-UZuiKe59.mjs → runGemini-DcwNsudA.mjs} +4 -4
  25. package/package.json +1 -1
package/dist/lib.d.cts CHANGED
@@ -363,17 +363,17 @@ declare const HappyOrgTurnReportSchema: z.ZodObject<{
363
363
  flavor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
364
364
  }, "strip", z.ZodTypeAny, {
365
365
  homeSlug: string;
366
- startedBy?: "daemon" | "terminal" | null | undefined;
367
366
  path?: string | null | undefined;
368
367
  machineId?: string | null | undefined;
369
368
  happySessionId?: string | null | undefined;
369
+ startedBy?: "daemon" | "terminal" | null | undefined;
370
370
  flavor?: string | null | undefined;
371
371
  }, {
372
372
  homeSlug: string;
373
- startedBy?: "daemon" | "terminal" | null | undefined;
374
373
  path?: string | null | undefined;
375
374
  machineId?: string | null | undefined;
376
375
  happySessionId?: string | null | undefined;
376
+ startedBy?: "daemon" | "terminal" | null | undefined;
377
377
  flavor?: string | null | undefined;
378
378
  }>>>;
379
379
  acceptanceHandoff: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -445,10 +445,10 @@ declare const HappyOrgTurnReportSchema: z.ZodObject<{
445
445
  } | null | undefined;
446
446
  specialistHome?: {
447
447
  homeSlug: string;
448
- startedBy?: "daemon" | "terminal" | null | undefined;
449
448
  path?: string | null | undefined;
450
449
  machineId?: string | null | undefined;
451
450
  happySessionId?: string | null | undefined;
451
+ startedBy?: "daemon" | "terminal" | null | undefined;
452
452
  flavor?: string | null | undefined;
453
453
  } | null | undefined;
454
454
  acceptanceHandoff?: {
@@ -498,10 +498,10 @@ declare const HappyOrgTurnReportSchema: z.ZodObject<{
498
498
  } | null | undefined;
499
499
  specialistHome?: {
500
500
  homeSlug: string;
501
- startedBy?: "daemon" | "terminal" | null | undefined;
502
501
  path?: string | null | undefined;
503
502
  machineId?: string | null | undefined;
504
503
  happySessionId?: string | null | undefined;
504
+ startedBy?: "daemon" | "terminal" | null | undefined;
505
505
  flavor?: string | null | undefined;
506
506
  } | null | undefined;
507
507
  acceptanceHandoff?: {
@@ -695,17 +695,17 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
695
695
  flavor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
696
696
  }, "strip", z.ZodTypeAny, {
697
697
  homeSlug: string;
698
- startedBy?: "daemon" | "terminal" | null | undefined;
699
698
  path?: string | null | undefined;
700
699
  machineId?: string | null | undefined;
701
700
  happySessionId?: string | null | undefined;
701
+ startedBy?: "daemon" | "terminal" | null | undefined;
702
702
  flavor?: string | null | undefined;
703
703
  }, {
704
704
  homeSlug: string;
705
- startedBy?: "daemon" | "terminal" | null | undefined;
706
705
  path?: string | null | undefined;
707
706
  machineId?: string | null | undefined;
708
707
  happySessionId?: string | null | undefined;
708
+ startedBy?: "daemon" | "terminal" | null | undefined;
709
709
  flavor?: string | null | undefined;
710
710
  }>>>;
711
711
  startupBinding: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -722,8 +722,8 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
722
722
  }, "strip", z.ZodTypeAny, {
723
723
  expectedHomePath: string;
724
724
  startupBindingStatus: "valid" | "invalid";
725
- source?: "position-home" | "legacy-agent-home" | null | undefined;
726
725
  organizationRootPath?: string | null | undefined;
726
+ source?: "position-home" | "legacy-agent-home" | null | undefined;
727
727
  resolvedHomePath?: string | null | undefined;
728
728
  expectedHomeAgentId?: string | null | undefined;
729
729
  resolvedHomeAgentId?: string | null | undefined;
@@ -733,8 +733,8 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
733
733
  }, {
734
734
  expectedHomePath: string;
735
735
  startupBindingStatus: "valid" | "invalid";
736
- source?: "position-home" | "legacy-agent-home" | null | undefined;
737
736
  organizationRootPath?: string | null | undefined;
737
+ source?: "position-home" | "legacy-agent-home" | null | undefined;
738
738
  resolvedHomePath?: string | null | undefined;
739
739
  expectedHomeAgentId?: string | null | undefined;
740
740
  resolvedHomeAgentId?: string | null | undefined;
@@ -842,17 +842,17 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
842
842
  flavor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
843
843
  }, "strip", z.ZodTypeAny, {
844
844
  homeSlug: string;
845
- startedBy?: "daemon" | "terminal" | null | undefined;
846
845
  path?: string | null | undefined;
847
846
  machineId?: string | null | undefined;
848
847
  happySessionId?: string | null | undefined;
848
+ startedBy?: "daemon" | "terminal" | null | undefined;
849
849
  flavor?: string | null | undefined;
850
850
  }, {
851
851
  homeSlug: string;
852
- startedBy?: "daemon" | "terminal" | null | undefined;
853
852
  path?: string | null | undefined;
854
853
  machineId?: string | null | undefined;
855
854
  happySessionId?: string | null | undefined;
855
+ startedBy?: "daemon" | "terminal" | null | undefined;
856
856
  flavor?: string | null | undefined;
857
857
  }>>>;
858
858
  acceptanceHandoff: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -924,10 +924,10 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
924
924
  } | null | undefined;
925
925
  specialistHome?: {
926
926
  homeSlug: string;
927
- startedBy?: "daemon" | "terminal" | null | undefined;
928
927
  path?: string | null | undefined;
929
928
  machineId?: string | null | undefined;
930
929
  happySessionId?: string | null | undefined;
930
+ startedBy?: "daemon" | "terminal" | null | undefined;
931
931
  flavor?: string | null | undefined;
932
932
  } | null | undefined;
933
933
  acceptanceHandoff?: {
@@ -977,10 +977,10 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
977
977
  } | null | undefined;
978
978
  specialistHome?: {
979
979
  homeSlug: string;
980
- startedBy?: "daemon" | "terminal" | null | undefined;
981
980
  path?: string | null | undefined;
982
981
  machineId?: string | null | undefined;
983
982
  happySessionId?: string | null | undefined;
983
+ startedBy?: "daemon" | "terminal" | null | undefined;
984
984
  flavor?: string | null | undefined;
985
985
  } | null | undefined;
986
986
  acceptanceHandoff?: {
@@ -997,12 +997,6 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
997
997
  } | null | undefined;
998
998
  }>>;
999
999
  }, "strip", z.ZodTypeAny, {
1000
- runtime?: {
1001
- status: "active" | "waiting_review" | "waiting_decision" | "waiting_close" | "terminated";
1002
- reason?: string | null | undefined;
1003
- terminatedAt?: number | undefined;
1004
- reopenedAt?: number | undefined;
1005
- } | undefined;
1006
1000
  repeat?: {
1007
1001
  threshold: number;
1008
1002
  fingerprints: Record<string, {
@@ -1038,12 +1032,18 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
1038
1032
  } | null | undefined;
1039
1033
  specialistHome?: {
1040
1034
  homeSlug: string;
1041
- startedBy?: "daemon" | "terminal" | null | undefined;
1042
1035
  path?: string | null | undefined;
1043
1036
  machineId?: string | null | undefined;
1044
1037
  happySessionId?: string | null | undefined;
1038
+ startedBy?: "daemon" | "terminal" | null | undefined;
1045
1039
  flavor?: string | null | undefined;
1046
1040
  } | null | undefined;
1041
+ runtime?: {
1042
+ status: "active" | "waiting_review" | "waiting_decision" | "waiting_close" | "terminated";
1043
+ reason?: string | null | undefined;
1044
+ terminatedAt?: number | undefined;
1045
+ reopenedAt?: number | undefined;
1046
+ } | undefined;
1047
1047
  activeOwner?: {
1048
1048
  ownerAgentId: string;
1049
1049
  ownerRunId: string;
@@ -1074,8 +1074,8 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
1074
1074
  startupBinding?: {
1075
1075
  expectedHomePath: string;
1076
1076
  startupBindingStatus: "valid" | "invalid";
1077
- source?: "position-home" | "legacy-agent-home" | null | undefined;
1078
1077
  organizationRootPath?: string | null | undefined;
1078
+ source?: "position-home" | "legacy-agent-home" | null | undefined;
1079
1079
  resolvedHomePath?: string | null | undefined;
1080
1080
  expectedHomeAgentId?: string | null | undefined;
1081
1081
  resolvedHomeAgentId?: string | null | undefined;
@@ -1118,10 +1118,10 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
1118
1118
  } | null | undefined;
1119
1119
  specialistHome?: {
1120
1120
  homeSlug: string;
1121
- startedBy?: "daemon" | "terminal" | null | undefined;
1122
1121
  path?: string | null | undefined;
1123
1122
  machineId?: string | null | undefined;
1124
1123
  happySessionId?: string | null | undefined;
1124
+ startedBy?: "daemon" | "terminal" | null | undefined;
1125
1125
  flavor?: string | null | undefined;
1126
1126
  } | null | undefined;
1127
1127
  acceptanceHandoff?: {
@@ -1138,12 +1138,6 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
1138
1138
  } | null | undefined;
1139
1139
  } | undefined;
1140
1140
  }, {
1141
- runtime?: {
1142
- status: "active" | "waiting_review" | "waiting_decision" | "waiting_close" | "terminated";
1143
- reason?: string | null | undefined;
1144
- terminatedAt?: number | undefined;
1145
- reopenedAt?: number | undefined;
1146
- } | undefined;
1147
1141
  repeat?: {
1148
1142
  threshold: number;
1149
1143
  fingerprints: Record<string, {
@@ -1179,12 +1173,18 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
1179
1173
  } | null | undefined;
1180
1174
  specialistHome?: {
1181
1175
  homeSlug: string;
1182
- startedBy?: "daemon" | "terminal" | null | undefined;
1183
1176
  path?: string | null | undefined;
1184
1177
  machineId?: string | null | undefined;
1185
1178
  happySessionId?: string | null | undefined;
1179
+ startedBy?: "daemon" | "terminal" | null | undefined;
1186
1180
  flavor?: string | null | undefined;
1187
1181
  } | null | undefined;
1182
+ runtime?: {
1183
+ status: "active" | "waiting_review" | "waiting_decision" | "waiting_close" | "terminated";
1184
+ reason?: string | null | undefined;
1185
+ terminatedAt?: number | undefined;
1186
+ reopenedAt?: number | undefined;
1187
+ } | undefined;
1188
1188
  activeOwner?: {
1189
1189
  ownerAgentId: string;
1190
1190
  ownerRunId: string;
@@ -1215,8 +1215,8 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
1215
1215
  startupBinding?: {
1216
1216
  expectedHomePath: string;
1217
1217
  startupBindingStatus: "valid" | "invalid";
1218
- source?: "position-home" | "legacy-agent-home" | null | undefined;
1219
1218
  organizationRootPath?: string | null | undefined;
1219
+ source?: "position-home" | "legacy-agent-home" | null | undefined;
1220
1220
  resolvedHomePath?: string | null | undefined;
1221
1221
  expectedHomeAgentId?: string | null | undefined;
1222
1222
  resolvedHomeAgentId?: string | null | undefined;
@@ -1259,10 +1259,10 @@ declare const HappyOrgMetadataSchema: z.ZodObject<{
1259
1259
  } | null | undefined;
1260
1260
  specialistHome?: {
1261
1261
  homeSlug: string;
1262
- startedBy?: "daemon" | "terminal" | null | undefined;
1263
1262
  path?: string | null | undefined;
1264
1263
  machineId?: string | null | undefined;
1265
1264
  happySessionId?: string | null | undefined;
1265
+ startedBy?: "daemon" | "terminal" | null | undefined;
1266
1266
  flavor?: string | null | undefined;
1267
1267
  } | null | undefined;
1268
1268
  acceptanceHandoff?: {
@@ -1309,14 +1309,14 @@ declare const SessionRuntimeIndexSchema: z.ZodObject<{
1309
1309
  lifecycleState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1310
1310
  flavor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1311
1311
  }, "strip", z.ZodTypeAny, {
1312
- startedBy?: string | null | undefined;
1313
1312
  machineId?: string | null | undefined;
1313
+ startedBy?: string | null | undefined;
1314
1314
  flavor?: string | null | undefined;
1315
1315
  hostPid?: number | null | undefined;
1316
1316
  lifecycleState?: string | null | undefined;
1317
1317
  }, {
1318
- startedBy?: string | null | undefined;
1319
1318
  machineId?: string | null | undefined;
1319
+ startedBy?: string | null | undefined;
1320
1320
  flavor?: string | null | undefined;
1321
1321
  hostPid?: number | null | undefined;
1322
1322
  lifecycleState?: string | null | undefined;
@@ -1379,14 +1379,14 @@ declare const UpdateSchema: z.ZodObject<{
1379
1379
  lifecycleState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1380
1380
  flavor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1381
1381
  }, "strip", z.ZodTypeAny, {
1382
- startedBy?: string | null | undefined;
1383
1382
  machineId?: string | null | undefined;
1383
+ startedBy?: string | null | undefined;
1384
1384
  flavor?: string | null | undefined;
1385
1385
  hostPid?: number | null | undefined;
1386
1386
  lifecycleState?: string | null | undefined;
1387
1387
  }, {
1388
- startedBy?: string | null | undefined;
1389
1388
  machineId?: string | null | undefined;
1389
+ startedBy?: string | null | undefined;
1390
1390
  flavor?: string | null | undefined;
1391
1391
  hostPid?: number | null | undefined;
1392
1392
  lifecycleState?: string | null | undefined;
@@ -1406,8 +1406,8 @@ declare const UpdateSchema: z.ZodObject<{
1406
1406
  dataEncryptionKey?: string | null | undefined;
1407
1407
  activeAt?: number | undefined;
1408
1408
  sessionIndex?: {
1409
- startedBy?: string | null | undefined;
1410
1409
  machineId?: string | null | undefined;
1410
+ startedBy?: string | null | undefined;
1411
1411
  flavor?: string | null | undefined;
1412
1412
  hostPid?: number | null | undefined;
1413
1413
  lifecycleState?: string | null | undefined;
@@ -1427,8 +1427,8 @@ declare const UpdateSchema: z.ZodObject<{
1427
1427
  dataEncryptionKey?: string | null | undefined;
1428
1428
  activeAt?: number | undefined;
1429
1429
  sessionIndex?: {
1430
- startedBy?: string | null | undefined;
1431
1430
  machineId?: string | null | undefined;
1431
+ startedBy?: string | null | undefined;
1432
1432
  flavor?: string | null | undefined;
1433
1433
  hostPid?: number | null | undefined;
1434
1434
  lifecycleState?: string | null | undefined;
@@ -1545,14 +1545,14 @@ declare const UpdateSchema: z.ZodObject<{
1545
1545
  lifecycleState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1546
1546
  flavor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1547
1547
  }, "strip", z.ZodTypeAny, {
1548
- startedBy?: string | null | undefined;
1549
1548
  machineId?: string | null | undefined;
1549
+ startedBy?: string | null | undefined;
1550
1550
  flavor?: string | null | undefined;
1551
1551
  hostPid?: number | null | undefined;
1552
1552
  lifecycleState?: string | null | undefined;
1553
1553
  }, {
1554
- startedBy?: string | null | undefined;
1555
1554
  machineId?: string | null | undefined;
1555
+ startedBy?: string | null | undefined;
1556
1556
  flavor?: string | null | undefined;
1557
1557
  hostPid?: number | null | undefined;
1558
1558
  lifecycleState?: string | null | undefined;
@@ -1580,8 +1580,8 @@ declare const UpdateSchema: z.ZodObject<{
1580
1580
  version: number;
1581
1581
  } | null | undefined;
1582
1582
  sessionIndex?: {
1583
- startedBy?: string | null | undefined;
1584
1583
  machineId?: string | null | undefined;
1584
+ startedBy?: string | null | undefined;
1585
1585
  flavor?: string | null | undefined;
1586
1586
  hostPid?: number | null | undefined;
1587
1587
  lifecycleState?: string | null | undefined;
@@ -1601,8 +1601,8 @@ declare const UpdateSchema: z.ZodObject<{
1601
1601
  version: number;
1602
1602
  } | null | undefined;
1603
1603
  sessionIndex?: {
1604
- startedBy?: string | null | undefined;
1605
1604
  machineId?: string | null | undefined;
1605
+ startedBy?: string | null | undefined;
1606
1606
  flavor?: string | null | undefined;
1607
1607
  hostPid?: number | null | undefined;
1608
1608
  lifecycleState?: string | null | undefined;
@@ -1687,8 +1687,8 @@ declare const UpdateSchema: z.ZodObject<{
1687
1687
  dataEncryptionKey?: string | null | undefined;
1688
1688
  activeAt?: number | undefined;
1689
1689
  sessionIndex?: {
1690
- startedBy?: string | null | undefined;
1691
1690
  machineId?: string | null | undefined;
1691
+ startedBy?: string | null | undefined;
1692
1692
  flavor?: string | null | undefined;
1693
1693
  hostPid?: number | null | undefined;
1694
1694
  lifecycleState?: string | null | undefined;
@@ -1723,8 +1723,8 @@ declare const UpdateSchema: z.ZodObject<{
1723
1723
  version: number;
1724
1724
  } | null | undefined;
1725
1725
  sessionIndex?: {
1726
- startedBy?: string | null | undefined;
1727
1726
  machineId?: string | null | undefined;
1727
+ startedBy?: string | null | undefined;
1728
1728
  flavor?: string | null | undefined;
1729
1729
  hostPid?: number | null | undefined;
1730
1730
  lifecycleState?: string | null | undefined;
@@ -1766,8 +1766,8 @@ declare const UpdateSchema: z.ZodObject<{
1766
1766
  dataEncryptionKey?: string | null | undefined;
1767
1767
  activeAt?: number | undefined;
1768
1768
  sessionIndex?: {
1769
- startedBy?: string | null | undefined;
1770
1769
  machineId?: string | null | undefined;
1770
+ startedBy?: string | null | undefined;
1771
1771
  flavor?: string | null | undefined;
1772
1772
  hostPid?: number | null | undefined;
1773
1773
  lifecycleState?: string | null | undefined;
@@ -1802,8 +1802,8 @@ declare const UpdateSchema: z.ZodObject<{
1802
1802
  version: number;
1803
1803
  } | null | undefined;
1804
1804
  sessionIndex?: {
1805
- startedBy?: string | null | undefined;
1806
1805
  machineId?: string | null | undefined;
1806
+ startedBy?: string | null | undefined;
1807
1807
  flavor?: string | null | undefined;
1808
1808
  hostPid?: number | null | undefined;
1809
1809
  lifecycleState?: string | null | undefined;
@@ -2074,6 +2074,15 @@ declare const ProtocolV3SessionSnapshotResponseSchema: z.ZodObject<{
2074
2074
  oldestRetainedSeq: number | null;
2075
2075
  }>;
2076
2076
  }, "strip", z.ZodTypeAny, {
2077
+ protocol: {
2078
+ protocolVersion: string;
2079
+ capabilities: string[];
2080
+ serverVersion?: string | undefined;
2081
+ legacyFallback?: {
2082
+ http: string[];
2083
+ websocketPath: string;
2084
+ } | undefined;
2085
+ };
2077
2086
  session: {
2078
2087
  id: string;
2079
2088
  lastChangeSeq: number;
@@ -2091,15 +2100,6 @@ declare const ProtocolV3SessionSnapshotResponseSchema: z.ZodObject<{
2091
2100
  pendingVersion?: number | undefined;
2092
2101
  deleted?: boolean | undefined;
2093
2102
  };
2094
- protocol: {
2095
- protocolVersion: string;
2096
- capabilities: string[];
2097
- serverVersion?: string | undefined;
2098
- legacyFallback?: {
2099
- http: string[];
2100
- websocketPath: string;
2101
- } | undefined;
2102
- };
2103
2103
  snapshot: {
2104
2104
  messages: {
2105
2105
  id: string;
@@ -2119,6 +2119,15 @@ declare const ProtocolV3SessionSnapshotResponseSchema: z.ZodObject<{
2119
2119
  oldestRetainedSeq: number | null;
2120
2120
  };
2121
2121
  }, {
2122
+ protocol: {
2123
+ protocolVersion: string;
2124
+ capabilities: string[];
2125
+ serverVersion?: string | undefined;
2126
+ legacyFallback?: {
2127
+ http: string[];
2128
+ websocketPath: string;
2129
+ } | undefined;
2130
+ };
2122
2131
  session: {
2123
2132
  id: string;
2124
2133
  lastChangeSeq: number;
@@ -2136,15 +2145,6 @@ declare const ProtocolV3SessionSnapshotResponseSchema: z.ZodObject<{
2136
2145
  pendingVersion?: number | undefined;
2137
2146
  deleted?: boolean | undefined;
2138
2147
  };
2139
- protocol: {
2140
- protocolVersion: string;
2141
- capabilities: string[];
2142
- serverVersion?: string | undefined;
2143
- legacyFallback?: {
2144
- http: string[];
2145
- websocketPath: string;
2146
- } | undefined;
2147
- };
2148
2148
  snapshot: {
2149
2149
  messages: {
2150
2150
  id: string;
@@ -2333,10 +2333,14 @@ declare const ProtocolV3SessionChangesResponseSchema: z.ZodObject<{
2333
2333
  payload: Record<string, unknown>;
2334
2334
  }>, "many">;
2335
2335
  }, "strip", z.ZodTypeAny, {
2336
- cursor: {
2337
- lastChangeSeq: number;
2338
- afterSeq: number;
2339
- hasMore: boolean;
2336
+ protocol: {
2337
+ protocolVersion: string;
2338
+ capabilities: string[];
2339
+ serverVersion?: string | undefined;
2340
+ legacyFallback?: {
2341
+ http: string[];
2342
+ websocketPath: string;
2343
+ } | undefined;
2340
2344
  };
2341
2345
  session: {
2342
2346
  id: string;
@@ -2355,14 +2359,10 @@ declare const ProtocolV3SessionChangesResponseSchema: z.ZodObject<{
2355
2359
  pendingVersion?: number | undefined;
2356
2360
  deleted?: boolean | undefined;
2357
2361
  };
2358
- protocol: {
2359
- protocolVersion: string;
2360
- capabilities: string[];
2361
- serverVersion?: string | undefined;
2362
- legacyFallback?: {
2363
- http: string[];
2364
- websocketPath: string;
2365
- } | undefined;
2362
+ cursor: {
2363
+ lastChangeSeq: number;
2364
+ afterSeq: number;
2365
+ hasMore: boolean;
2366
2366
  };
2367
2367
  changes: {
2368
2368
  createdAt: number;
@@ -2371,10 +2371,14 @@ declare const ProtocolV3SessionChangesResponseSchema: z.ZodObject<{
2371
2371
  payload: Record<string, unknown>;
2372
2372
  }[];
2373
2373
  }, {
2374
- cursor: {
2375
- lastChangeSeq: number;
2376
- afterSeq: number;
2377
- hasMore: boolean;
2374
+ protocol: {
2375
+ protocolVersion: string;
2376
+ capabilities: string[];
2377
+ serverVersion?: string | undefined;
2378
+ legacyFallback?: {
2379
+ http: string[];
2380
+ websocketPath: string;
2381
+ } | undefined;
2378
2382
  };
2379
2383
  session: {
2380
2384
  id: string;
@@ -2393,14 +2397,10 @@ declare const ProtocolV3SessionChangesResponseSchema: z.ZodObject<{
2393
2397
  pendingVersion?: number | undefined;
2394
2398
  deleted?: boolean | undefined;
2395
2399
  };
2396
- protocol: {
2397
- protocolVersion: string;
2398
- capabilities: string[];
2399
- serverVersion?: string | undefined;
2400
- legacyFallback?: {
2401
- http: string[];
2402
- websocketPath: string;
2403
- } | undefined;
2400
+ cursor: {
2401
+ lastChangeSeq: number;
2402
+ afterSeq: number;
2403
+ hasMore: boolean;
2404
2404
  };
2405
2405
  changes: {
2406
2406
  createdAt: number;