@warmhub/sdk-ts 0.86.0 → 0.88.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -90,14 +90,14 @@ type AccessResolveResult$1 = {
90
90
  orgName: string;
91
91
  repoName: string;
92
92
  visible: boolean;
93
- scopes: Array<'repo:read' | 'repo:checkpoint-read' | 'repo:write' | 'repo:configure' | 'repo:admin' | 'repo:action-callback'>;
93
+ scopes: Array<string>;
94
94
  allowedMatches?: Array<string>;
95
95
  repoDurableId?: string;
96
96
  }>;
97
97
  orgs: Array<{
98
98
  orgName: string;
99
99
  visible: boolean;
100
- scopes: Array<'org:read' | 'org:configure' | 'org:admin' | 'org:action-callback'>;
100
+ scopes: Array<string>;
101
101
  }>;
102
102
  };
103
103
  type AuthSyncResult = {
@@ -119,10 +119,15 @@ type OperationEventReceiptV1$1 = {
119
119
  operations: Array<{
120
120
  opIndex?: number;
121
121
  name: string;
122
- operation: 'add' | 'revise' | 'retract' | 'rename' | 'noop';
122
+ operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
123
123
  version: number;
124
124
  dataHash: string;
125
125
  status?: 'applied' | 'noop';
126
+ affirmations?: {
127
+ added: Array<string>;
128
+ removed: Array<string>;
129
+ ignored: Array<string>;
130
+ };
126
131
  warnings?: {
127
132
  undeclaredFields?: Array<string>;
128
133
  undeclaredFieldsTruncated?: true;
@@ -143,7 +148,7 @@ type OperationEventReceiptV1$1 = {
143
148
  } | {
144
149
  opIndex?: number;
145
150
  name: string;
146
- operation?: 'add' | 'revise' | 'retract' | 'rename' | 'noop';
151
+ operation?: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
147
152
  version?: number;
148
153
  dataHash?: string;
149
154
  status?: 'success' | 'noop' | 'failed';
@@ -192,6 +197,11 @@ type OperationEventReceiptV1$1 = {
192
197
  removalMilestone: string;
193
198
  }>;
194
199
  };
200
+ affirmations?: {
201
+ added: Array<string>;
202
+ removed: Array<string>;
203
+ ignored: Array<string>;
204
+ };
195
205
  }>;
196
206
  outcome: 'event' | 'no_event';
197
207
  requestDigest: string;
@@ -290,7 +300,7 @@ type ComponentDetail = {
290
300
  active: boolean;
291
301
  version: {
292
302
  version: number;
293
- operation: 'add' | 'revise' | 'retract';
303
+ operation: 'add' | 'revise' | 'retract' | 'reaffirm';
294
304
  data: unknown;
295
305
  dataHash: string;
296
306
  } | null;
@@ -307,6 +317,7 @@ type ComponentDetail = {
307
317
  data?: unknown;
308
318
  active: boolean;
309
319
  aboutWref?: string;
320
+ affirmedWrefs?: Array<string>;
310
321
  roles?: Array<'from' | 'to' | 'ends' | 'first' | 'second'>;
311
322
  metadata?: {
312
323
  durableId: string;
@@ -347,10 +358,15 @@ type ComponentInstallResult$1 = {
347
358
  operations: Array<{
348
359
  opIndex?: number;
349
360
  name: string;
350
- operation: 'add' | 'revise' | 'retract' | 'rename' | 'noop';
361
+ operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
351
362
  version: number;
352
363
  dataHash: string;
353
364
  status?: 'applied' | 'noop';
365
+ affirmations?: {
366
+ added: Array<string>;
367
+ removed: Array<string>;
368
+ ignored: Array<string>;
369
+ };
354
370
  warnings?: {
355
371
  undeclaredFields?: Array<string>;
356
372
  undeclaredFieldsTruncated?: true;
@@ -371,7 +387,7 @@ type ComponentInstallResult$1 = {
371
387
  } | {
372
388
  opIndex?: number;
373
389
  name: string;
374
- operation?: 'add' | 'revise' | 'retract' | 'rename' | 'noop';
390
+ operation?: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
375
391
  version?: number;
376
392
  dataHash?: string;
377
393
  status?: 'success' | 'noop' | 'failed';
@@ -420,6 +436,11 @@ type ComponentInstallResult$1 = {
420
436
  removalMilestone: string;
421
437
  }>;
422
438
  };
439
+ affirmations?: {
440
+ added: Array<string>;
441
+ removed: Array<string>;
442
+ ignored: Array<string>;
443
+ };
423
444
  }>;
424
445
  outcome: 'event' | 'no_event';
425
446
  requestDigest: string;
@@ -485,10 +506,15 @@ type ComponentUninstallResult$1 = {
485
506
  operations: Array<{
486
507
  opIndex?: number;
487
508
  name: string;
488
- operation: 'add' | 'revise' | 'retract' | 'rename' | 'noop';
509
+ operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
489
510
  version: number;
490
511
  dataHash: string;
491
512
  status?: 'applied' | 'noop';
513
+ affirmations?: {
514
+ added: Array<string>;
515
+ removed: Array<string>;
516
+ ignored: Array<string>;
517
+ };
492
518
  warnings?: {
493
519
  undeclaredFields?: Array<string>;
494
520
  undeclaredFieldsTruncated?: true;
@@ -509,7 +535,7 @@ type ComponentUninstallResult$1 = {
509
535
  } | {
510
536
  opIndex?: number;
511
537
  name: string;
512
- operation?: 'add' | 'revise' | 'retract' | 'rename' | 'noop';
538
+ operation?: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
513
539
  version?: number;
514
540
  dataHash?: string;
515
541
  status?: 'success' | 'noop' | 'failed';
@@ -558,6 +584,11 @@ type ComponentUninstallResult$1 = {
558
584
  removalMilestone: string;
559
585
  }>;
560
586
  };
587
+ affirmations?: {
588
+ added: Array<string>;
589
+ removed: Array<string>;
590
+ ignored: Array<string>;
591
+ };
561
592
  }>;
562
593
  outcome: 'event' | 'no_event';
563
594
  requestDigest: string;
@@ -583,6 +614,90 @@ type Capabilities = {
583
614
  minSupportedClients: Record<string, string>;
584
615
  writeContractVersion: number;
585
616
  features: Record<string, boolean>;
617
+ honoredClientFlags: Array<string>;
618
+ };
619
+ type GrantCreateInput = {
620
+ orgName: string;
621
+ repoName: string;
622
+ idempotencyKey: string;
623
+ recipient: {
624
+ kind: 'member';
625
+ email: string;
626
+ } | {
627
+ kind: 'pat';
628
+ name: string;
629
+ } | {
630
+ kind: 'component';
631
+ orgName: string;
632
+ componentName: string;
633
+ };
634
+ coverage?: {
635
+ include: Array<string>;
636
+ exclude?: Array<string>;
637
+ };
638
+ viewRef?: string;
639
+ ops: Array<string>;
640
+ };
641
+ type GrantListInput = {
642
+ orgName: string;
643
+ repoName: string;
644
+ limit: number;
645
+ cursor?: string;
646
+ };
647
+ type GrantListResult$1 = {
648
+ items: Array<{
649
+ id: string;
650
+ grantee: {
651
+ principalId: string;
652
+ principalKind: 'anonymous' | 'member' | 'pat' | 'component';
653
+ };
654
+ issuer: {
655
+ principalId: string;
656
+ principalKind: 'anonymous' | 'member' | 'pat' | 'component';
657
+ };
658
+ idempotencyKey: string;
659
+ requestHash: string;
660
+ coverage: {
661
+ include: Array<string>;
662
+ exclude?: Array<string>;
663
+ } | null;
664
+ viewRef: string | null;
665
+ ops: Array<string>;
666
+ createdBy: string;
667
+ createdAt: string;
668
+ revokedAt: string | null;
669
+ revokedBy: string | null;
670
+ revokedReason: string | null;
671
+ }>;
672
+ nextCursor?: string;
673
+ };
674
+ type GrantRevokeResult$1 = {
675
+ grantId: string;
676
+ revoked: boolean;
677
+ };
678
+ type GrantView = {
679
+ id: string;
680
+ grantee: {
681
+ principalId: string;
682
+ principalKind: 'anonymous' | 'member' | 'pat' | 'component';
683
+ };
684
+ issuer: {
685
+ principalId: string;
686
+ principalKind: 'anonymous' | 'member' | 'pat' | 'component';
687
+ };
688
+ idempotencyKey: string;
689
+ requestHash: string;
690
+ coverage: {
691
+ include: Array<string>;
692
+ exclude?: Array<string>;
693
+ } | null;
694
+ viewRef: string | null;
695
+ ops: Array<string>;
696
+ createdBy: string;
697
+ createdAt: string;
698
+ revokedAt: string | null;
699
+ revokedBy: string | null;
700
+ revokedReason: string | null;
586
701
  };
587
702
  type HomepageFeaturedListsResult$1 = {
588
703
  lists: Array<{
@@ -641,12 +756,14 @@ type StreamAppendInput$1 = {
641
756
  kind: 'shape';
642
757
  name: string;
643
758
  data: unknown;
759
+ affirmedTargets?: never;
644
760
  skipExisting?: boolean;
645
761
  } | {
646
762
  operation: 'add';
647
763
  kind: 'thing';
648
764
  name: string;
649
765
  data: unknown;
766
+ affirmedTargets?: never;
650
767
  skipExisting?: boolean;
651
768
  } | {
652
769
  operation: 'add';
@@ -654,6 +771,7 @@ type StreamAppendInput$1 = {
654
771
  name: string;
655
772
  about: string;
656
773
  data: unknown;
774
+ affirmedTargets?: Array<string>;
657
775
  skipExisting?: boolean;
658
776
  } | {
659
777
  operation: 'add';
@@ -661,12 +779,14 @@ type StreamAppendInput$1 = {
661
779
  name: string;
662
780
  type: 'arc' | 'bond' | 'pair' | 'set' | 'list';
663
781
  members: Array<string>;
782
+ affirmedTargets?: never;
664
783
  skipExisting?: boolean;
665
784
  } | {
666
785
  operation: 'revise';
667
786
  kind: 'shape';
668
787
  name: string;
669
788
  data: unknown;
789
+ affirmedTargets?: never;
670
790
  expectedVersion?: number;
671
791
  active?: never;
672
792
  leaseId?: string;
@@ -675,6 +795,7 @@ type StreamAppendInput$1 = {
675
795
  kind: 'thing';
676
796
  name: string;
677
797
  data: unknown;
798
+ affirmedTargets?: never;
678
799
  expectedVersion?: number;
679
800
  active?: never;
680
801
  leaseId?: string;
@@ -683,6 +804,7 @@ type StreamAppendInput$1 = {
683
804
  kind: 'assertion';
684
805
  name: string;
685
806
  data: unknown;
807
+ affirmedTargets?: Array<string>;
686
808
  expectedVersion?: number;
687
809
  active?: never;
688
810
  leaseId?: string;
@@ -692,6 +814,7 @@ type StreamAppendInput$1 = {
692
814
  name: string;
693
815
  type: 'arc' | 'bond' | 'pair' | 'set' | 'list';
694
816
  members: Array<string>;
817
+ affirmedTargets?: never;
695
818
  expectedVersion?: number;
696
819
  leaseId?: string;
697
820
  } | {
@@ -701,6 +824,14 @@ type StreamAppendInput$1 = {
701
824
  reason?: string;
702
825
  expectedVersion?: number;
703
826
  leaseId?: string;
827
+ } | {
828
+ operation: 'reaffirm';
829
+ kind?: 'assertion';
830
+ name: string;
831
+ add?: Array<string>;
832
+ remove?: Array<string>;
833
+ expectedVersion?: number;
834
+ leaseId?: string;
704
835
  } | {
705
836
  operation: 'rename';
706
837
  name: string;
@@ -718,7 +849,7 @@ type StreamAppendResult$1 = {
718
849
  results: Array<{
719
850
  opIndex?: number;
720
851
  name: string;
721
- operation?: 'add' | 'revise' | 'retract' | 'rename' | 'noop';
852
+ operation?: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
722
853
  version?: number;
723
854
  dataHash?: string;
724
855
  status?: 'success' | 'noop' | 'failed';
@@ -767,12 +898,16 @@ type StreamAppendResult$1 = {
767
898
  removalMilestone: string;
768
899
  }>;
769
900
  };
901
+ affirmations?: {
902
+ added: Array<string>;
903
+ removed: Array<string>;
904
+ ignored: Array<string>;
905
+ };
770
906
  }>;
771
907
  repoSeq?: number;
772
908
  createdByEmail?: string;
773
909
  appendTotalMs?: number;
774
910
  appendResolveRepoMs?: number;
775
- appendTokenResolveMs?: number;
776
911
  appendApplyMs?: number;
777
912
  applySubphases?: {
778
913
  addThingMs?: number;
@@ -783,7 +918,6 @@ type StreamAppendResult$1 = {
783
918
  reviseCollectionMs?: number;
784
919
  preparePinnedLoadShapeFieldsMs?: number;
785
920
  preparePinnedPinWrefsMs?: number;
786
- preparePinnedResolveTokensMs?: number;
787
921
  preparePinnedValidateMs?: number;
788
922
  operationLoopMs?: number;
789
923
  persistMs?: number;
@@ -809,10 +943,15 @@ type StreamAppendResult$1 = {
809
943
  operations: Array<{
810
944
  opIndex?: number;
811
945
  name: string;
812
- operation: 'add' | 'revise' | 'retract' | 'rename' | 'noop';
946
+ operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
813
947
  version: number;
814
948
  dataHash: string;
815
949
  status?: 'applied' | 'noop';
950
+ affirmations?: {
951
+ added: Array<string>;
952
+ removed: Array<string>;
953
+ ignored: Array<string>;
954
+ };
816
955
  warnings?: {
817
956
  undeclaredFields?: Array<string>;
818
957
  undeclaredFieldsTruncated?: true;
@@ -833,7 +972,7 @@ type StreamAppendResult$1 = {
833
972
  } | {
834
973
  opIndex?: number;
835
974
  name: string;
836
- operation?: 'add' | 'revise' | 'retract' | 'rename' | 'noop';
975
+ operation?: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
837
976
  version?: number;
838
977
  dataHash?: string;
839
978
  status?: 'success' | 'noop' | 'failed';
@@ -882,6 +1021,11 @@ type StreamAppendResult$1 = {
882
1021
  removalMilestone: string;
883
1022
  }>;
884
1023
  };
1024
+ affirmations?: {
1025
+ added: Array<string>;
1026
+ removed: Array<string>;
1027
+ ignored: Array<string>;
1028
+ };
885
1029
  }>;
886
1030
  outcome: 'event' | 'no_event';
887
1031
  requestDigest: string;
@@ -902,10 +1046,15 @@ type StreamAppendResult$1 = {
902
1046
  operations: Array<{
903
1047
  opIndex?: number;
904
1048
  name: string;
905
- operation: 'add' | 'revise' | 'retract' | 'rename' | 'noop';
1049
+ operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
906
1050
  version: number;
907
1051
  dataHash: string;
908
1052
  status?: 'applied' | 'noop';
1053
+ affirmations?: {
1054
+ added: Array<string>;
1055
+ removed: Array<string>;
1056
+ ignored: Array<string>;
1057
+ };
909
1058
  warnings?: {
910
1059
  undeclaredFields?: Array<string>;
911
1060
  undeclaredFieldsTruncated?: true;
@@ -926,7 +1075,7 @@ type StreamAppendResult$1 = {
926
1075
  } | {
927
1076
  opIndex?: number;
928
1077
  name: string;
929
- operation?: 'add' | 'revise' | 'retract' | 'rename' | 'noop';
1078
+ operation?: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
930
1079
  version?: number;
931
1080
  dataHash?: string;
932
1081
  status?: 'success' | 'noop' | 'failed';
@@ -975,6 +1124,11 @@ type StreamAppendResult$1 = {
975
1124
  removalMilestone: string;
976
1125
  }>;
977
1126
  };
1127
+ affirmations?: {
1128
+ added: Array<string>;
1129
+ removed: Array<string>;
1130
+ ignored: Array<string>;
1131
+ };
978
1132
  }>;
979
1133
  outcome: 'event' | 'no_event';
980
1134
  requestDigest: string;
@@ -991,10 +1145,15 @@ type CommitApplyCompatibilityResult$1 = {
991
1145
  operations: Array<{
992
1146
  opIndex?: number;
993
1147
  name: string;
994
- operation: 'add' | 'revise' | 'retract' | 'rename' | 'noop';
1148
+ operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
995
1149
  version: number;
996
1150
  dataHash: string;
997
1151
  status?: 'applied' | 'noop';
1152
+ affirmations?: {
1153
+ added: Array<string>;
1154
+ removed: Array<string>;
1155
+ ignored: Array<string>;
1156
+ };
998
1157
  warnings?: {
999
1158
  undeclaredFields?: Array<string>;
1000
1159
  undeclaredFieldsTruncated?: true;
@@ -1043,10 +1202,15 @@ type CommitApplyCompatibilityResult$1 = {
1043
1202
  operations: Array<{
1044
1203
  opIndex?: number;
1045
1204
  name: string;
1046
- operation: 'add' | 'revise' | 'retract' | 'rename' | 'noop';
1205
+ operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
1047
1206
  version: number;
1048
1207
  dataHash: string;
1049
1208
  status?: 'applied' | 'noop';
1209
+ affirmations?: {
1210
+ added: Array<string>;
1211
+ removed: Array<string>;
1212
+ ignored: Array<string>;
1213
+ };
1050
1214
  warnings?: {
1051
1215
  undeclaredFields?: Array<string>;
1052
1216
  undeclaredFieldsTruncated?: true;
@@ -1067,7 +1231,7 @@ type CommitApplyCompatibilityResult$1 = {
1067
1231
  } | {
1068
1232
  opIndex?: number;
1069
1233
  name: string;
1070
- operation?: 'add' | 'revise' | 'retract' | 'rename' | 'noop';
1234
+ operation?: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
1071
1235
  version?: number;
1072
1236
  dataHash?: string;
1073
1237
  status?: 'success' | 'noop' | 'failed';
@@ -1116,6 +1280,11 @@ type CommitApplyCompatibilityResult$1 = {
1116
1280
  removalMilestone: string;
1117
1281
  }>;
1118
1282
  };
1283
+ affirmations?: {
1284
+ added: Array<string>;
1285
+ removed: Array<string>;
1286
+ ignored: Array<string>;
1287
+ };
1119
1288
  }>;
1120
1289
  outcome: 'event' | 'no_event';
1121
1290
  requestDigest: string;
@@ -1162,10 +1331,15 @@ type CollectionMutationCompatibilityResult = {
1162
1331
  operations: Array<{
1163
1332
  opIndex?: number;
1164
1333
  name: string;
1165
- operation: 'add' | 'revise' | 'retract' | 'rename' | 'noop';
1334
+ operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
1166
1335
  version: number;
1167
1336
  dataHash: string;
1168
1337
  status?: 'applied' | 'noop';
1338
+ affirmations?: {
1339
+ added: Array<string>;
1340
+ removed: Array<string>;
1341
+ ignored: Array<string>;
1342
+ };
1169
1343
  warnings?: {
1170
1344
  undeclaredFields?: Array<string>;
1171
1345
  undeclaredFieldsTruncated?: true;
@@ -1186,7 +1360,7 @@ type CollectionMutationCompatibilityResult = {
1186
1360
  } | {
1187
1361
  opIndex?: number;
1188
1362
  name: string;
1189
- operation?: 'add' | 'revise' | 'retract' | 'rename' | 'noop';
1363
+ operation?: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
1190
1364
  version?: number;
1191
1365
  dataHash?: string;
1192
1366
  status?: 'success' | 'noop' | 'failed';
@@ -1235,6 +1409,11 @@ type CollectionMutationCompatibilityResult = {
1235
1409
  removalMilestone: string;
1236
1410
  }>;
1237
1411
  };
1412
+ affirmations?: {
1413
+ added: Array<string>;
1414
+ removed: Array<string>;
1415
+ ignored: Array<string>;
1416
+ };
1238
1417
  }>;
1239
1418
  outcome: 'event' | 'no_event';
1240
1419
  requestDigest: string;
@@ -1255,10 +1434,15 @@ type CollectionMutationCompatibilityResult = {
1255
1434
  operations: Array<{
1256
1435
  opIndex?: number;
1257
1436
  name: string;
1258
- operation: 'add' | 'revise' | 'retract' | 'rename' | 'noop';
1437
+ operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
1259
1438
  version: number;
1260
1439
  dataHash: string;
1261
1440
  status?: 'applied' | 'noop';
1441
+ affirmations?: {
1442
+ added: Array<string>;
1443
+ removed: Array<string>;
1444
+ ignored: Array<string>;
1445
+ };
1262
1446
  warnings?: {
1263
1447
  undeclaredFields?: Array<string>;
1264
1448
  undeclaredFieldsTruncated?: true;
@@ -1279,7 +1463,7 @@ type CollectionMutationCompatibilityResult = {
1279
1463
  } | {
1280
1464
  opIndex?: number;
1281
1465
  name: string;
1282
- operation?: 'add' | 'revise' | 'retract' | 'rename' | 'noop';
1466
+ operation?: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
1283
1467
  version?: number;
1284
1468
  dataHash?: string;
1285
1469
  status?: 'success' | 'noop' | 'failed';
@@ -1328,6 +1512,11 @@ type CollectionMutationCompatibilityResult = {
1328
1512
  removalMilestone: string;
1329
1513
  }>;
1330
1514
  };
1515
+ affirmations?: {
1516
+ added: Array<string>;
1517
+ removed: Array<string>;
1518
+ ignored: Array<string>;
1519
+ };
1331
1520
  }>;
1332
1521
  outcome: 'event' | 'no_event';
1333
1522
  requestDigest: string;
@@ -1351,10 +1540,15 @@ type RenameCompatibilityResult = {
1351
1540
  operations: Array<{
1352
1541
  opIndex?: number;
1353
1542
  name: string;
1354
- operation: 'add' | 'revise' | 'retract' | 'rename' | 'noop';
1543
+ operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
1355
1544
  version: number;
1356
1545
  dataHash: string;
1357
1546
  status?: 'applied' | 'noop';
1547
+ affirmations?: {
1548
+ added: Array<string>;
1549
+ removed: Array<string>;
1550
+ ignored: Array<string>;
1551
+ };
1358
1552
  warnings?: {
1359
1553
  undeclaredFields?: Array<string>;
1360
1554
  undeclaredFieldsTruncated?: true;
@@ -1375,7 +1569,7 @@ type RenameCompatibilityResult = {
1375
1569
  } | {
1376
1570
  opIndex?: number;
1377
1571
  name: string;
1378
- operation?: 'add' | 'revise' | 'retract' | 'rename' | 'noop';
1572
+ operation?: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
1379
1573
  version?: number;
1380
1574
  dataHash?: string;
1381
1575
  status?: 'success' | 'noop' | 'failed';
@@ -1424,6 +1618,11 @@ type RenameCompatibilityResult = {
1424
1618
  removalMilestone: string;
1425
1619
  }>;
1426
1620
  };
1621
+ affirmations?: {
1622
+ added: Array<string>;
1623
+ removed: Array<string>;
1624
+ ignored: Array<string>;
1625
+ };
1427
1626
  }>;
1428
1627
  outcome: 'event' | 'no_event';
1429
1628
  requestDigest: string;
@@ -1444,10 +1643,15 @@ type RenameCompatibilityResult = {
1444
1643
  operations: Array<{
1445
1644
  opIndex?: number;
1446
1645
  name: string;
1447
- operation: 'add' | 'revise' | 'retract' | 'rename' | 'noop';
1646
+ operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
1448
1647
  version: number;
1449
1648
  dataHash: string;
1450
1649
  status?: 'applied' | 'noop';
1650
+ affirmations?: {
1651
+ added: Array<string>;
1652
+ removed: Array<string>;
1653
+ ignored: Array<string>;
1654
+ };
1451
1655
  warnings?: {
1452
1656
  undeclaredFields?: Array<string>;
1453
1657
  undeclaredFieldsTruncated?: true;
@@ -1468,7 +1672,7 @@ type RenameCompatibilityResult = {
1468
1672
  } | {
1469
1673
  opIndex?: number;
1470
1674
  name: string;
1471
- operation?: 'add' | 'revise' | 'retract' | 'rename' | 'noop';
1675
+ operation?: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
1472
1676
  version?: number;
1473
1677
  dataHash?: string;
1474
1678
  status?: 'success' | 'noop' | 'failed';
@@ -1517,6 +1721,11 @@ type RenameCompatibilityResult = {
1517
1721
  removalMilestone: string;
1518
1722
  }>;
1519
1723
  };
1724
+ affirmations?: {
1725
+ added: Array<string>;
1726
+ removed: Array<string>;
1727
+ ignored: Array<string>;
1728
+ };
1520
1729
  }>;
1521
1730
  outcome: 'event' | 'no_event';
1522
1731
  requestDigest: string;
@@ -1526,7 +1735,7 @@ type RenameCompatibilityResult = {
1526
1735
  };
1527
1736
  type ShapeChangeCompatibilityResult = {
1528
1737
  name: string;
1529
- operation: 'add' | 'revise' | 'retract' | 'noop';
1738
+ operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'noop';
1530
1739
  version: number;
1531
1740
  dataHash: string;
1532
1741
  event: {
@@ -1543,10 +1752,15 @@ type ShapeChangeCompatibilityResult = {
1543
1752
  operations: Array<{
1544
1753
  opIndex?: number;
1545
1754
  name: string;
1546
- operation: 'add' | 'revise' | 'retract' | 'rename' | 'noop';
1755
+ operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
1547
1756
  version: number;
1548
1757
  dataHash: string;
1549
1758
  status?: 'applied' | 'noop';
1759
+ affirmations?: {
1760
+ added: Array<string>;
1761
+ removed: Array<string>;
1762
+ ignored: Array<string>;
1763
+ };
1550
1764
  warnings?: {
1551
1765
  undeclaredFields?: Array<string>;
1552
1766
  undeclaredFieldsTruncated?: true;
@@ -1567,7 +1781,7 @@ type ShapeChangeCompatibilityResult = {
1567
1781
  } | {
1568
1782
  opIndex?: number;
1569
1783
  name: string;
1570
- operation?: 'add' | 'revise' | 'retract' | 'rename' | 'noop';
1784
+ operation?: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
1571
1785
  version?: number;
1572
1786
  dataHash?: string;
1573
1787
  status?: 'success' | 'noop' | 'failed';
@@ -1616,6 +1830,11 @@ type ShapeChangeCompatibilityResult = {
1616
1830
  removalMilestone: string;
1617
1831
  }>;
1618
1832
  };
1833
+ affirmations?: {
1834
+ added: Array<string>;
1835
+ removed: Array<string>;
1836
+ ignored: Array<string>;
1837
+ };
1619
1838
  }>;
1620
1839
  outcome: 'event' | 'no_event';
1621
1840
  requestDigest: string;
@@ -1636,10 +1855,15 @@ type ShapeChangeCompatibilityResult = {
1636
1855
  operations: Array<{
1637
1856
  opIndex?: number;
1638
1857
  name: string;
1639
- operation: 'add' | 'revise' | 'retract' | 'rename' | 'noop';
1858
+ operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
1640
1859
  version: number;
1641
1860
  dataHash: string;
1642
1861
  status?: 'applied' | 'noop';
1862
+ affirmations?: {
1863
+ added: Array<string>;
1864
+ removed: Array<string>;
1865
+ ignored: Array<string>;
1866
+ };
1643
1867
  warnings?: {
1644
1868
  undeclaredFields?: Array<string>;
1645
1869
  undeclaredFieldsTruncated?: true;
@@ -1660,7 +1884,7 @@ type ShapeChangeCompatibilityResult = {
1660
1884
  } | {
1661
1885
  opIndex?: number;
1662
1886
  name: string;
1663
- operation?: 'add' | 'revise' | 'retract' | 'rename' | 'noop';
1887
+ operation?: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
1664
1888
  version?: number;
1665
1889
  dataHash?: string;
1666
1890
  status?: 'success' | 'noop' | 'failed';
@@ -1709,6 +1933,11 @@ type ShapeChangeCompatibilityResult = {
1709
1933
  removalMilestone: string;
1710
1934
  }>;
1711
1935
  };
1936
+ affirmations?: {
1937
+ added: Array<string>;
1938
+ removed: Array<string>;
1939
+ ignored: Array<string>;
1940
+ };
1712
1941
  }>;
1713
1942
  outcome: 'event' | 'no_event';
1714
1943
  requestDigest: string;
@@ -1718,7 +1947,7 @@ type ShapeChangeCompatibilityResult = {
1718
1947
  };
1719
1948
  type ShapeRemoveCompatibilityResult = {
1720
1949
  name: string;
1721
- operation: 'add' | 'revise' | 'retract' | 'noop';
1950
+ operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'noop';
1722
1951
  version: number;
1723
1952
  dataHash: string;
1724
1953
  removed: true;
@@ -1736,10 +1965,15 @@ type ShapeRemoveCompatibilityResult = {
1736
1965
  operations: Array<{
1737
1966
  opIndex?: number;
1738
1967
  name: string;
1739
- operation: 'add' | 'revise' | 'retract' | 'rename' | 'noop';
1968
+ operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
1740
1969
  version: number;
1741
1970
  dataHash: string;
1742
1971
  status?: 'applied' | 'noop';
1972
+ affirmations?: {
1973
+ added: Array<string>;
1974
+ removed: Array<string>;
1975
+ ignored: Array<string>;
1976
+ };
1743
1977
  warnings?: {
1744
1978
  undeclaredFields?: Array<string>;
1745
1979
  undeclaredFieldsTruncated?: true;
@@ -1760,7 +1994,7 @@ type ShapeRemoveCompatibilityResult = {
1760
1994
  } | {
1761
1995
  opIndex?: number;
1762
1996
  name: string;
1763
- operation?: 'add' | 'revise' | 'retract' | 'rename' | 'noop';
1997
+ operation?: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
1764
1998
  version?: number;
1765
1999
  dataHash?: string;
1766
2000
  status?: 'success' | 'noop' | 'failed';
@@ -1809,6 +2043,11 @@ type ShapeRemoveCompatibilityResult = {
1809
2043
  removalMilestone: string;
1810
2044
  }>;
1811
2045
  };
2046
+ affirmations?: {
2047
+ added: Array<string>;
2048
+ removed: Array<string>;
2049
+ ignored: Array<string>;
2050
+ };
1812
2051
  }>;
1813
2052
  outcome: 'event' | 'no_event';
1814
2053
  requestDigest: string;
@@ -1829,10 +2068,15 @@ type ShapeRemoveCompatibilityResult = {
1829
2068
  operations: Array<{
1830
2069
  opIndex?: number;
1831
2070
  name: string;
1832
- operation: 'add' | 'revise' | 'retract' | 'rename' | 'noop';
2071
+ operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
1833
2072
  version: number;
1834
2073
  dataHash: string;
1835
2074
  status?: 'applied' | 'noop';
2075
+ affirmations?: {
2076
+ added: Array<string>;
2077
+ removed: Array<string>;
2078
+ ignored: Array<string>;
2079
+ };
1836
2080
  warnings?: {
1837
2081
  undeclaredFields?: Array<string>;
1838
2082
  undeclaredFieldsTruncated?: true;
@@ -1853,7 +2097,7 @@ type ShapeRemoveCompatibilityResult = {
1853
2097
  } | {
1854
2098
  opIndex?: number;
1855
2099
  name: string;
1856
- operation?: 'add' | 'revise' | 'retract' | 'rename' | 'noop';
2100
+ operation?: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
1857
2101
  version?: number;
1858
2102
  dataHash?: string;
1859
2103
  status?: 'success' | 'noop' | 'failed';
@@ -1902,6 +2146,11 @@ type ShapeRemoveCompatibilityResult = {
1902
2146
  removalMilestone: string;
1903
2147
  }>;
1904
2148
  };
2149
+ affirmations?: {
2150
+ added: Array<string>;
2151
+ removed: Array<string>;
2152
+ ignored: Array<string>;
2153
+ };
1905
2154
  }>;
1906
2155
  outcome: 'event' | 'no_event';
1907
2156
  requestDigest: string;
@@ -1957,7 +2206,7 @@ type ShapeGetResult = {
1957
2206
  active: boolean;
1958
2207
  version: {
1959
2208
  version: number;
1960
- operation: 'add' | 'revise' | 'retract';
2209
+ operation: 'add' | 'revise' | 'retract' | 'reaffirm';
1961
2210
  data: unknown;
1962
2211
  dataHash: string;
1963
2212
  } | null;
@@ -1970,7 +2219,7 @@ type ShapeListResult = {
1970
2219
  active: boolean;
1971
2220
  version: {
1972
2221
  version: number;
1973
- operation: 'add' | 'revise' | 'retract';
2222
+ operation: 'add' | 'revise' | 'retract' | 'reaffirm';
1974
2223
  data: unknown;
1975
2224
  dataHash: string;
1976
2225
  } | null;
@@ -1989,10 +2238,11 @@ type ThingHistoryResult = {
1989
2238
  thingName?: string;
1990
2239
  thingKind?: string;
1991
2240
  shapeName?: string;
1992
- operation: 'add' | 'revise' | 'retract';
2241
+ operation: 'add' | 'revise' | 'retract' | 'reaffirm';
1993
2242
  retractReason?: string;
1994
2243
  data?: unknown;
1995
2244
  aboutWref?: string;
2245
+ affirmedWrefs?: Array<string>;
1996
2246
  active: boolean;
1997
2247
  createdAt: number;
1998
2248
  committerWref?: string;
@@ -2030,6 +2280,7 @@ type ThingGetManyResult$1 = {
2030
2280
  active: boolean;
2031
2281
  synthesized?: boolean;
2032
2282
  aboutWref?: string;
2283
+ affirmedWrefs?: Array<string>;
2033
2284
  committerWref?: string;
2034
2285
  createdBy?: string;
2035
2286
  revisedBy?: string;
@@ -2381,6 +2632,77 @@ type WireScopeEntry$1 = {
2381
2632
  permissions: Array<string>;
2382
2633
  allowedMatches?: Array<string>;
2383
2634
  };
2635
+ type ViewEvaluateInput = {
2636
+ orgName: string;
2637
+ repoName: string;
2638
+ wref: string;
2639
+ limit?: number;
2640
+ cursor?: string;
2641
+ };
2642
+ type ViewEvaluateResult$1 = {
2643
+ items: Array<{
2644
+ wref: string;
2645
+ name: string;
2646
+ kind: 'shape' | 'thing' | 'assertion' | 'collection';
2647
+ shapeName?: string;
2648
+ componentRef?: string;
2649
+ version: number;
2650
+ createdAt: number;
2651
+ data?: unknown;
2652
+ active: boolean;
2653
+ aboutWref?: string;
2654
+ affirmedWrefs?: Array<string>;
2655
+ roles?: Array<'from' | 'to' | 'ends' | 'first' | 'second'>;
2656
+ metadata?: {
2657
+ durableId: string;
2658
+ createdOn: number;
2659
+ revisedOn: number;
2660
+ };
2661
+ }>;
2662
+ nextCursor?: string;
2663
+ repoSeq?: number;
2664
+ view: {
2665
+ wref: string;
2666
+ version: number;
2667
+ };
2668
+ };
2669
+
2670
+ /**
2671
+ * How a Grant names its recipient. The server resolves the selector to one
2672
+ * exact actor and stores only that, so the grant keeps meaning the same actor
2673
+ * even after the name is reused.
2674
+ * @see https://docs.warmhub.ai/sdk-reference/type-aliases/grantrecipientselector/
2675
+ */
2676
+ type GrantRecipientSelector = GrantCreateInput['recipient'];
2677
+ type GrantCreateIdentity = Omit<GrantCreateInput, 'orgName' | 'repoName' | 'coverage' | 'viewRef'>;
2678
+ /**
2679
+ * Input for idempotently creating a repository Grant.
2680
+ *
2681
+ * A Grant draws its coverage from exactly one source: inline `coverage`, or
2682
+ * `viewRef` naming a View (`View/<name>`, or `View/<name>@vN` to pin one
2683
+ * definition). The union makes that exclusive at the call site rather than
2684
+ * leaving it to a server round trip; the server stores the View's durable
2685
+ * identity, so the Grant keeps meaning the same View after a rename.
2686
+ * @see https://docs.warmhub.ai/sdk-reference/type-aliases/grantcreateoptions/
2687
+ */
2688
+ type GrantCreateOptions = GrantCreateIdentity & ({
2689
+ coverage: NonNullable<GrantCreateInput['coverage']>;
2690
+ viewRef?: never;
2691
+ } | {
2692
+ viewRef: NonNullable<GrantCreateInput['viewRef']>;
2693
+ coverage?: never;
2694
+ });
2695
+ /** @internal */
2696
+ type GrantListOptions = Partial<Omit<GrantListInput, 'orgName' | 'repoName'>>;
2697
+ /**
2698
+ * An immutable active or revoked repository Grant record.
2699
+ * @see https://docs.warmhub.ai/sdk-reference/type-aliases/grant/
2700
+ */
2701
+ type Grant = GrantView;
2702
+ /** @internal */
2703
+ type GrantListResult = GrantListResult$1;
2704
+ /** @internal */
2705
+ type GrantRevokeResult = GrantRevokeResult$1;
2384
2706
 
2385
2707
  type DateMappedRepositoryCheckpointStatus<T> = T extends {
2386
2708
  createdAt: number;
@@ -2413,7 +2735,57 @@ type RepositoryCheckpointAccess = Omit<RepositoryCheckpointAccess$1, 'expiresAt'
2413
2735
  expiresAt: Date;
2414
2736
  };
2415
2737
 
2416
- declare const COMMIT_OPERATIONS: readonly ["add", "revise", "retract", "rename"];
2738
+ /**
2739
+ * The coarse organization capability scopes this SDK build knows about.
2740
+ *
2741
+ * The org-side twin of `REPO_AUTH_SCOPES`, with the same open-wire caveat: a
2742
+ * newer backend can return a scope missing from this tuple.
2743
+ * @see https://docs.warmhub.ai/sdk-reference/variables/org_auth_scopes/
2744
+ */
2745
+ declare const ORG_AUTH_SCOPES: readonly ["org:read", "org:configure", "org:admin", "org:action-callback"];
2746
+ /**
2747
+ * An organization capability scope this build knows about. The DOMAIN type,
2748
+ * which stays closed — the wire type is an open string. See `ORG_AUTH_SCOPES`.
2749
+ * @see https://docs.warmhub.ai/sdk-reference/type-aliases/orgauthscope/
2750
+ */
2751
+ type OrgAuthScope = (typeof ORG_AUTH_SCOPES)[number];
2752
+ /**
2753
+ * Is `value` one of the org scopes this build knows about? The sibling of
2754
+ * `isKnownRepoAuthScope`; see that function for why the guard exists.
2755
+ * @see https://docs.warmhub.ai/sdk-reference/functions/isknownorgauthscope/
2756
+ */
2757
+ declare function isKnownOrgAuthScope(value: string): value is OrgAuthScope;
2758
+
2759
+ /**
2760
+ * The coarse repository capability scopes this SDK build knows about.
2761
+ *
2762
+ * The `access.resolve` response types `scopes` as an open string, so a newer
2763
+ * backend can return a scope missing from this tuple. Use it to enumerate the
2764
+ * capabilities this build understands, not to validate a response.
2765
+ * @see https://docs.warmhub.ai/sdk-reference/variables/repo_auth_scopes/
2766
+ */
2767
+ declare const REPO_AUTH_SCOPES: readonly ["repo:read", "repo:checkpoint-read", "repo:write", "repo:configure", "repo:admin", "repo:action-callback"];
2768
+ /**
2769
+ * A repository capability scope this build knows about. The DOMAIN type, which
2770
+ * stays closed — the wire type is an open string. See `REPO_AUTH_SCOPES`.
2771
+ * @see https://docs.warmhub.ai/sdk-reference/type-aliases/repoauthscope/
2772
+ */
2773
+ type RepoAuthScope = (typeof REPO_AUTH_SCOPES)[number];
2774
+ /**
2775
+ * Is `value` one of the repo scopes this build knows about?
2776
+ *
2777
+ * The `access.resolve` response types `scopes` as an open string
2778
+ * (`openVocabulary(REPO_AUTH_SCOPES)`), so a client can receive a scope minted
2779
+ * by a newer backend. This guard is how a caller that wants to distinguish
2780
+ * known from unknown values does so; it is documentation plus a narrowing
2781
+ * helper, never a validation gate on a response. Server-side validation of a
2782
+ * *requested* scope stays closed — see `VALID_SCOPES` in
2783
+ * `@warmhub/backend/token/scope-constants`.
2784
+ * @see https://docs.warmhub.ai/sdk-reference/functions/isknownrepoauthscope/
2785
+ */
2786
+ declare function isKnownRepoAuthScope(value: string): value is RepoAuthScope;
2787
+
2788
+ declare const COMMIT_OPERATIONS: readonly ["add", "revise", "retract", "reaffirm", "rename"];
2417
2789
  type CommitOperation = (typeof COMMIT_OPERATIONS)[number];
2418
2790
  declare const COMMIT_OPERATION_KINDS: readonly ["shape", "thing", "assertion", "collection"];
2419
2791
  type CommitOperationKind = (typeof COMMIT_OPERATION_KINDS)[number];
@@ -2622,6 +2994,11 @@ interface AddOperation {
2622
2994
  * Shape-validated data payload for shape, thing, or assertion adds.
2623
2995
  */
2624
2996
  data?: unknown;
2997
+ /**
2998
+ * Pinned target wrefs (`Shape/name@vN`) the assertion's claim is affirmed
2999
+ * for. Assertion adds only; the `about` pin never seeds an affirmation.
3000
+ */
3001
+ affirmedTargets?: string[];
2625
3002
  /**
2626
3003
  * Collection type. Used only for collection adds.
2627
3004
  */
@@ -2670,6 +3047,12 @@ interface ReviseOperation {
2670
3047
  * New shape-validated data payload.
2671
3048
  */
2672
3049
  data?: unknown;
3050
+ /**
3051
+ * Complete affirmation set for the changed claim (assertion revises only).
3052
+ * Omitted clears the snapshot — prior affirmations never transfer to
3053
+ * changed claim data.
3054
+ */
3055
+ affirmedTargets?: string[];
2673
3056
  /**
2674
3057
  * Collection type. Required when `kind` is `collection`.
2675
3058
  */
@@ -2733,6 +3116,49 @@ interface RetractOperation {
2733
3116
  */
2734
3117
  leaseId?: string;
2735
3118
  }
3119
+ /**
3120
+ * Reaffirm operation accepted by `client.commit.apply`. Edits an assertion's
3121
+ * affirmation snapshot — the set of pinned target versions the claim is
3122
+ * affirmed for — without changing claim data. Mints a new assertion version
3123
+ * with body and dataHash copied from the current one.
3124
+ *
3125
+ * @see https://docs.warmhub.ai/writes/operations/#reaffirm-operations
3126
+ */
3127
+ interface ReaffirmOperation {
3128
+ /**
3129
+ * Operation discriminator. Required.
3130
+ */
3131
+ operation: 'reaffirm';
3132
+ /**
3133
+ * Assertion to reaffirm: `Shape/name`.
3134
+ */
3135
+ name: string;
3136
+ /**
3137
+ * Optional kind safety hint; reaffirm applies only to assertions.
3138
+ */
3139
+ kind?: 'assertion';
3140
+ /**
3141
+ * Pinned target wrefs (`Shape/name@vN`) to affirm. A target already in the
3142
+ * set is reported as `ignored`, not an error.
3143
+ */
3144
+ add?: string[];
3145
+ /**
3146
+ * Pinned target wrefs to stop affirming. A target not in the set is
3147
+ * reported as `ignored`, not an error. Prior versions keep their snapshots.
3148
+ */
3149
+ remove?: string[];
3150
+ /**
3151
+ * Optional optimistic-concurrency precondition, as on revise/retract. The
3152
+ * new set is computed from the live current snapshot, so concurrent deltas
3153
+ * merge without it; supply it when the edit must apply to the exact version
3154
+ * you read.
3155
+ */
3156
+ expectedVersion?: number;
3157
+ /**
3158
+ * Optional read-lease token (#3625), as on revise/retract.
3159
+ */
3160
+ leaseId?: string;
3161
+ }
2736
3162
  /**
2737
3163
  * Rename operation accepted by `client.commit.apply` (#4848). Rewrites a thing's
2738
3164
  * or shape's name in place — a version-less metadata op that records a from→to
@@ -2791,7 +3217,7 @@ interface RenameOperation {
2791
3217
  *
2792
3218
  * @see https://docs.warmhub.ai/sdk/write-methods/#typing-operation-arrays
2793
3219
  */
2794
- type Operation = AddOperation | ReviseOperation | RetractOperation | RenameOperation;
3220
+ type Operation = AddOperation | ReviseOperation | RetractOperation | ReaffirmOperation | RenameOperation;
2795
3221
 
2796
3222
  /**
2797
3223
  * Default number of operations the SDK sends per stream append chunk.
@@ -2840,6 +3266,8 @@ type SubmittedStreamResult = {
2840
3266
  resolvedName?: string;
2841
3267
  retryable?: boolean;
2842
3268
  warnings?: NonNullable<StreamAppendResult$1['results'][number]['warnings']>;
3269
+ /** Per-target reaffirm outcome; present only on reaffirm results. */
3270
+ affirmations?: NonNullable<StreamAppendResult$1['results'][number]['affirmations']>;
2843
3271
  }>;
2844
3272
  /** One exact immutable receipt per stream chunk, in submission order. */
2845
3273
  receipts: OperationEventReceiptV1$1[];
@@ -3212,6 +3640,11 @@ interface BaseAddOp {
3212
3640
  * Shape-validated data payload for shape, thing, or assertion adds.
3213
3641
  */
3214
3642
  readonly data?: unknown;
3643
+ /**
3644
+ * Pinned target wrefs (`Shape/name@vN`) the assertion's claim is affirmed
3645
+ * for (assertion adds/revises only).
3646
+ */
3647
+ readonly affirmedTargets?: readonly string[];
3215
3648
  /**
3216
3649
  * When true, an existing target returns `noop` instead of failing.
3217
3650
  */
@@ -3289,6 +3722,11 @@ interface ReviseOp {
3289
3722
  * New shape-validated data payload.
3290
3723
  */
3291
3724
  readonly data?: unknown;
3725
+ /**
3726
+ * Pinned target wrefs (`Shape/name@vN`) the assertion's claim is affirmed
3727
+ * for (assertion adds/revises only).
3728
+ */
3729
+ readonly affirmedTargets?: readonly string[];
3292
3730
  /**
3293
3731
  * Collection type. Required when `kind` is `collection`.
3294
3732
  */
@@ -3346,11 +3784,46 @@ interface RetractOp {
3346
3784
  */
3347
3785
  readonly leaseId?: string;
3348
3786
  }
3787
+ /**
3788
+ * Builder reaffirm operation. Edits an assertion's affirmation snapshot (the
3789
+ * pinned target versions the claim is affirmed for) without changing claim
3790
+ * data.
3791
+ */
3792
+ interface ReaffirmOp {
3793
+ /**
3794
+ * Operation discriminator. Always `reaffirm`.
3795
+ */
3796
+ readonly operation: 'reaffirm';
3797
+ /**
3798
+ * Assertion to reaffirm: `Shape/name`.
3799
+ */
3800
+ readonly name: string;
3801
+ /**
3802
+ * Optional kind safety hint; reaffirm applies only to assertions.
3803
+ */
3804
+ readonly kind?: 'assertion';
3805
+ /**
3806
+ * Pinned target wrefs (`Shape/name@vN`) to affirm.
3807
+ */
3808
+ readonly add?: readonly string[];
3809
+ /**
3810
+ * Pinned target wrefs to stop affirming.
3811
+ */
3812
+ readonly remove?: readonly string[];
3813
+ /**
3814
+ * Optional optimistic-concurrency precondition, as on revise/retract.
3815
+ */
3816
+ readonly expectedVersion?: number;
3817
+ /**
3818
+ * Optional read-lease token (#3625), as on revise/retract.
3819
+ */
3820
+ readonly leaseId?: string;
3821
+ }
3349
3822
  /**
3350
3823
  * Operation queued by `OperationBuilder`.
3351
3824
  * @see https://docs.warmhub.ai/sdk-reference/type-aliases/operationbuilderop/
3352
3825
  */
3353
- type OperationBuilderOp = AddOp | CollectionAddOp | ReviseOp | RetractOp;
3826
+ type OperationBuilderOp = AddOp | CollectionAddOp | ReviseOp | RetractOp | ReaffirmOp;
3354
3827
  type OperationSubmitResult$1 = SubmittedStreamResult;
3355
3828
  /**
3356
3829
  * Client-side validation diagnostic returned by `OperationBuilder.validate`.
@@ -3465,6 +3938,14 @@ declare class OperationBuilder {
3465
3938
  * @see https://docs.warmhub.ai/sdk-reference/classes/operationbuilder/#retract
3466
3939
  */
3467
3940
  retract(target: string | Omit<RetractOp, 'operation'>): this;
3941
+ /**
3942
+ * Add a reaffirm operation.
3943
+ *
3944
+ * Edits the assertion's affirmation snapshot: `add`/`remove` carry pinned
3945
+ * target wrefs (`Shape/name@vN`) and compose in one operation.
3946
+ * @see https://docs.warmhub.ai/sdk-reference/classes/operationbuilder/#reaffirm
3947
+ */
3948
+ reaffirm(op: Omit<ReaffirmOp, 'operation'>): this;
3468
3949
  /**
3469
3950
  * Return the queued operations.
3470
3951
  *
@@ -3630,6 +4111,13 @@ interface WarmHubClientOptions {
3630
4111
  name?: string;
3631
4112
  version?: string;
3632
4113
  };
4114
+ /**
4115
+ * Client-declared opt-in flags sent on `X-WarmHub-Client-Flags`. Flag names
4116
+ * are defined by the backend deployment; see your deployment's
4117
+ * documentation. Grammar-checked here; validated and honored only by the
4118
+ * server. Untrusted intent — never an authz signal.
4119
+ */
4120
+ clientFlags?: readonly string[];
3633
4121
  }
3634
4122
 
3635
4123
  /**
@@ -4400,6 +4888,11 @@ type ThingItem = {
4400
4888
  active?: boolean;
4401
4889
  data?: unknown;
4402
4890
  aboutWref?: string;
4891
+ /**
4892
+ * Pinned target wrefs the assertion's current version affirms. Assertions
4893
+ * only; targets the reader cannot see are suppressed per-target.
4894
+ */
4895
+ affirmedWrefs?: string[];
4403
4896
  roles?: CollectionMembershipRole[];
4404
4897
  metadata?: ThingMetadata;
4405
4898
  [key: string]: unknown;
@@ -4471,6 +4964,11 @@ type ThingDetail = {
4471
4964
  /** True on synthesized empty stubs from getReadme/getAgents when no row exists yet. */
4472
4965
  synthesized?: boolean;
4473
4966
  aboutWref?: string;
4967
+ /**
4968
+ * Pinned target wrefs the returned assertion version affirms. Assertions
4969
+ * only; targets the reader cannot see are suppressed per-target.
4970
+ */
4971
+ affirmedWrefs?: string[];
4474
4972
  committerWref?: string;
4475
4973
  /**
4476
4974
  * #4848 Phase C: the thing's creator (first-version author), a peer of the
@@ -4545,6 +5043,18 @@ type ThingHeadRequest = {
4545
5043
  };
4546
5044
  /** @internal */
4547
5045
  type ThingHead = HeadResult;
5046
+ /**
5047
+ * Page options for evaluating a stored View.
5048
+ *
5049
+ * The View definition version is selected by the single versionable `wref`
5050
+ * passed to `view.evaluate`; there is no separate version option.
5051
+ */
5052
+ /** @internal */
5053
+ type ViewEvaluateOptions = Omit<ViewEvaluateInput, 'orgName' | 'repoName' | 'wref'>;
5054
+ /** One page of live results from a selected stored View definition. */
5055
+ /** @internal */
5056
+ type ViewEvaluateResult = ViewEvaluateResult$1;
5057
+
4548
5058
  /** @internal */
4549
5059
  type LiveWatchResult = {
4550
5060
  updates: number;
@@ -4810,6 +5320,12 @@ type FilterOptions = {
4810
5320
  kind?: CommitOperationKind;
4811
5321
  /** Filter assertions whose `about` target wref matches the supplied value. */
4812
5322
  about?: string;
5323
+ /**
5324
+ * Filter to active assertions whose current version affirms exactly this
5325
+ * pinned target version (`Shape/name@vN`). Pinned-only; cannot be combined
5326
+ * with `match` glob patterns.
5327
+ */
5328
+ affirmedAbout?: string;
4813
5329
  /** Glob pattern matched against record names (for example `Player/*`). */
4814
5330
  match?: string;
4815
5331
  /** Include retracted versions in the result set. */
@@ -4839,7 +5355,7 @@ type FilterOptions = {
4839
5355
  sinceRepoSeq?: number;
4840
5356
  };
4841
5357
  /** @internal */
4842
- type ThingQueryChangesOptions = Omit<FilterOptions, 'cursor' | 'includeRetracted' | 'sinceRepoSeq'> & {
5358
+ type ThingQueryChangesOptions = Omit<FilterOptions, 'cursor' | 'includeRetracted' | 'sinceRepoSeq' | 'affirmedAbout'> & {
4843
5359
  sinceRepoSeq: number;
4844
5360
  };
4845
5361
  /**
@@ -4851,7 +5367,7 @@ type ThingQueryChangesOptions = Omit<FilterOptions, 'cursor' | 'includeRetracted
4851
5367
  *
4852
5368
  * @see https://docs.warmhub.ai/sdk/read-semantics/#search-modes
4853
5369
  */
4854
- type SearchOptions = Omit<FilterOptions, 'where' | 'role' | 'sinceRepoSeq'> & {
5370
+ type SearchOptions = Omit<FilterOptions, 'where' | 'role' | 'sinceRepoSeq' | 'affirmedAbout'> & {
4855
5371
  /** Restrict the search to assertions about this wref target. */
4856
5372
  about?: string;
4857
5373
  /** Search mode: `text` (BM25), `vector` (semantic), or `hybrid` (combined). Defaults to `text`. */
@@ -4868,7 +5384,7 @@ type SearchOptions = Omit<FilterOptions, 'where' | 'role' | 'sinceRepoSeq'> & {
4868
5384
  * pagination fields (`limit`, `cursor`) are ignored.
4869
5385
  * @see https://docs.warmhub.ai/sdk-reference/type-aliases/countoptions/
4870
5386
  */
4871
- type CountOptions = Omit<FilterOptions, 'role'>;
5387
+ type CountOptions = Omit<FilterOptions, 'role' | 'affirmedAbout'>;
4872
5388
  /**
4873
5389
  * Options for `client.thing.refs` — wref-field reverse and forward lookups.
4874
5390
  *
@@ -5091,10 +5607,11 @@ declare function isConnectionError(error: unknown): boolean;
5091
5607
  */
5092
5608
  declare function connectionErrorMessage(url: string): string;
5093
5609
  /**
5094
- * Returns true when `version` is strictly older than `minimum`. Both
5095
- * arguments must be valid SemVer; non-parseable inputs return false for this
5096
- * legacy read-side helper. Write admission validates both values separately
5097
- * and fails closed.
5610
+ * Returns true when `version` is strictly older than `minimum`. This is the
5611
+ * parse boundary for the read-side compatibility hint: both arguments arrive
5612
+ * as unproved strings, and a string that is not SemVer returns false rather
5613
+ * than failing the read. Write admission parses both values separately and
5614
+ * fails closed.
5098
5615
  *
5099
5616
  * @internal
5100
5617
  */
@@ -5145,10 +5662,14 @@ declare class WarmHubClient {
5145
5662
  private readonly accessToken;
5146
5663
  /** Resolved `X-WarmHub-Client` identity; defaults to this SDK's name/version. */
5147
5664
  private readonly clientIdentity;
5665
+ /** Normalized `clientFlags` option; stamped on every request. */
5666
+ private readonly clientFlags;
5148
5667
  protected readonly functionLogMode: FunctionLogMode;
5149
5668
  protected readonly getToken?: () => Promise<string | undefined>;
5150
5669
  private readonly trpc;
5151
5670
  private compatibilityCheck?;
5671
+ private overrideNoticePrinted;
5672
+ private noteCompatibilityOverride;
5152
5673
  private assertWriteCompatible;
5153
5674
  private createCompatibilityLink;
5154
5675
  /**
@@ -6177,6 +6698,55 @@ declare class WarmHubClient {
6177
6698
  revise: (orgName: string, repoName: string, wref: string, opts: CollectionReviseOptions) => Promise<CollectionMutationResult>;
6178
6699
  stats: (orgName: string | undefined, repoName: string | undefined, wref: string, opts?: CollectionStatsOptions) => Promise<CollectionStatsResult>;
6179
6700
  };
6701
+ /**
6702
+ * Execute stored View definitions against the repository's live read model.
6703
+ * @see https://docs.warmhub.ai/sdk-reference/classes/warmhubclient/#view
6704
+ */
6705
+ readonly view: {
6706
+ /**
6707
+ * Evaluate one identity-scoped or pinned View definition and return one page.
6708
+ *
6709
+ * The `wref` is the sole definition selector. Cursors are short-lived resume
6710
+ * tokens for the same query and result scope. If the selected identity-scoped
6711
+ * View changes, the backend may reject a saved cursor with
6712
+ * `CURSOR_EPOCH_INVALID`; restart the query without `cursor`.
6713
+ */
6714
+ evaluate: (orgName: string, repoName: string, wref: string, opts?: ViewEvaluateOptions) => Promise<ViewEvaluateResult>;
6715
+ /**
6716
+ * Iterate every live result from an identity-scoped or pinned View.
6717
+ *
6718
+ * The iterator preserves the caller's page size and optional resume cursor,
6719
+ * and rejects non-advancing or cyclic backend cursors.
6720
+ *
6721
+ * Cursors resume the same query and result scope. If the backend reports
6722
+ * `CURSOR_EPOCH_INVALID`, restart the query without `cursor`.
6723
+ */
6724
+ evaluateIter: (orgName: string, repoName: string, wref: string, opts?: ViewEvaluateOptions) => AsyncIterableIterator<ThingItem>;
6725
+ /**
6726
+ * Materialize every live result from an identity-scoped or pinned View.
6727
+ *
6728
+ * Use `max` to guard memory usage. The call throws `VALIDATION_ERROR` only
6729
+ * after more than `max` items have actually been observed.
6730
+ *
6731
+ * Cursors resume the same query and result scope. If the backend reports
6732
+ * `CURSOR_EPOCH_INVALID`, restart the query without `cursor`.
6733
+ */
6734
+ evaluateAll: (orgName: string, repoName: string, wref: string, opts?: ViewEvaluateOptions & {
6735
+ max?: number;
6736
+ }) => Promise<ThingItem[]>;
6737
+ };
6738
+ /**
6739
+ * Create and administer immutable repository Grants.
6740
+ * @see https://docs.warmhub.ai/sdk-reference/classes/warmhubclient/#grant
6741
+ */
6742
+ readonly grant: {
6743
+ create: (orgName: string, repoName: string, input: GrantCreateOptions) => Promise<Grant>;
6744
+ get: (orgName: string, repoName: string, grantId: string) => Promise<Grant>;
6745
+ list: (orgName: string, repoName: string, opts?: GrantListOptions) => Promise<GrantListResult>;
6746
+ revoke: (orgName: string, repoName: string, grantId: string, opts?: {
6747
+ reason?: string;
6748
+ }) => Promise<GrantRevokeResult>;
6749
+ };
6180
6750
  /**
6181
6751
  * Read surface for things, assertions, histories, references, search, and in-place thing renames.
6182
6752
  * @see https://docs.warmhub.ai/sdk-reference/classes/warmhubclient/#thing
@@ -6851,8 +7421,9 @@ declare class WarmHubClient {
6851
7421
  };
6852
7422
  private openSse;
6853
7423
  /**
6854
- * Stamp the `X-WarmHub-Client` self-identification header, unless the caller
6855
- * already set it on the request (a per-request header wins over the default).
7424
+ * Stamp the `X-WarmHub-Client` self-identification and `X-WarmHub-Client-Flags`
7425
+ * headers, unless the caller already set them on the request (a per-request
7426
+ * header wins over the default).
6856
7427
  */
6857
7428
  private applyClientHeader;
6858
7429
  private fetchWithAuth;
@@ -6861,4 +7432,4 @@ declare class WarmHubClient {
6861
7432
  private watchRepoQuery;
6862
7433
  }
6863
7434
 
6864
- export { type AboutOptions, type AboutResult, type AccessResolveInput, type AccessResolveResult, type AccessTokenProvider, type ActionAttemptInfo, type ActionDeliveryTarget, type ActionLeaseAcquire, type ActionLeaseOp, type ActionListNotificationsOptions, type ActionListRunsOptions, type ActionLiveFeed, type ActionLiveFeedItem, type ActionLiveFeedOptions, type ActionNotificationInfo, type ActionRunInfo, type ActionRunStatsInfo, type ActionRunStatsOptions, type AddOp, type AddOperation, AllStreamOperationsFailedError, type Assertion, CLI_INSTALL_REPO_HEADER, CLI_SIGNATURE_HEADER, CLI_TIMESTAMP_HEADER, CONTENT_FIELD_LIMIT_ERROR, type CliCallSecrets, CliCallVerificationError, type CliCallVerificationFailureReason, type CollectionAddOp, type CollectionAddType, type CollectionContainsOptions, type CollectionContainsResult, type CollectionCreateOptions, type CollectionDiffOptions, type CollectionDiffResult, type CollectionMember, type CollectionMembersOptions, type CollectionMembersPage, type CollectionMembershipRole, type CollectionMutationResult, type CollectionQuerySourceOptions, type CollectionReadDataMode, type CollectionReadSummary, type CollectionReviseOptions, type CollectionStatsOptions, type CollectionStatsResult, type CollectionTag, type CollectionType, type CommitApplyCompatibilityResult, type ComponentHistory, type ComponentHistoryOptions, type ComponentInfo, type ComponentInstallOptions, type ComponentInstallResult, type ComponentList, type ComponentListOptions, type ComponentUninstallOptions, type ComponentUninstallResult, type ComponentView, type CoreErrorKind, type CountOptions, type CountResult, type CredentialAuditEntry, type CredentialDeleteResult, type CredentialGrantResult, type CredentialInfo, type CredentialKeyMutationResult, type CredentialRevokeResult, type CredentialUngrantResult, type CurrentUserInfo, DEFAULT_API_URL, DEFAULT_STREAM_CHUNK_SIZE, type ErrorKind, type FilterOptions, type FilterResult, type FunctionLogMode, type GlobalSearchOptions, type GlobalSearchResult, type GlobalSearchResultItem, type HeadResult, type HistoryResult, type HistoryVersion, type HomepageFeaturedListsResult, type IndexedFieldEntry, type IndexedFieldsReport, type LiveHandle, type LiveRepoEvent, type LiveSubscriptionLogOptions, type LiveThingHeadOptions, type LiveThingHistoryOptions, type LiveWatchResult, MAX_CONTENT_FIELD_BYTES, MAX_STREAM_APPEND_OPERATION_COUNT, type Operation, OperationBuilder, type OperationBuilderAddInput, type OperationBuilderClient, type OperationBuilderOp, type OperationBuilderOptions, type OperationEventReceiptV1, type OperationSubmitResult, type OrgAccessResult, type OrgInfo, type OrgList, type OrgListMembersOptions, type OrgListOptions, type OrgMemberInfo, type OrgMemberList, type OrgRef, type OrgRole, type Page, type PageRequest, PartialStreamSubmissionError, type PingResult, type RefLink, type RefsOptions, type RefsResult, type RenameOperation, type RenameOptions, type RenameResult, type RepoAccessResult, type RepoConfigureStatsView, type RepoDescribeResult, type RepoExploreBrowseOptions, type RepoExploreItem, type RepoExploreOptions, type RepoExploreResult, type RepoInfo, type RepoLicense, type RepoList, type RepoListForCallerOptions, type RepoListOptions, type RepoListPageOptions, type RepoListPageResult, type RepoLocator, type RepoRecentInfo, type RepoRef, type RepoShapeInstanceCountsView, type RepoSort, type RepoStatsBatchResult, type RepoStatsView, type RepoWithStatsInfo, type RepositoryCheckpointAccess, type RepositoryCheckpointStatus, type RequestEvent, type ResolveWrefResult, type RetractOp, type RetractOperation, type RetryPolicyOptions, type ReviseOp, type ReviseOperation, SDK_VERSION, type SearchOptions, type SearchResult, type Shape, type ShapeChange, type ShapeCreateOptions, type ShapeFields, type ShapeGetOptions, type ShapeHistory, type ShapeHistoryOptions, type ShapeList, type ShapeListOptions, type ShapeRef, type ShapeRemove, type ShapeRemoveOptions, type ShapeReviseOptions, type ShapeValidatorResult, type StreamAppendInput, type StreamAppendResult, type StreamContinuationState, type SubscriptionBindCredentialsResult, type SubscriptionCompatCreateInput, type SubscriptionCompatUpdateInput, type SubscriptionInfo, type SubscriptionList, type SubscriptionUnbindCredentialsResult, type SynthesizedRepoContent, type ThingChanges, type ThingDetail, type ThingGet, type ThingGetManyResult, type ThingGetOptions, type ThingGetWithLease, type ThingGraphOptions, type ThingGraphResult, type ThingGraphValue, type ThingHead, type ThingHeadChangesOptions, type ThingHeadOptions, type ThingHeadRequest, type ThingHeadVersionsResult, type ThingHistory, type ThingHistoryOptions, type ThingItem, type ThingMetadata, type ThingQueryChangesOptions, type TokenInfo, type TokenResult, type UndeclaredFieldsWarning, type ValidationDiagnostic, type ValidationResult, type VerifiedCliCall, WarmHubClient, type WarmHubClientOptions, WarmHubError, type WarmHubErrorDetails, type WherePredicate, type WhoamiInfo, type WhoamiScopeEntry, type WireScopeEntry, aggregateSubmittedStreamResult, completedOperationsFrom, connectionErrorMessage, contentFieldLimitError, countStreamAppendResultStatuses, createOperationEventRequestId, createOperationEventSubmissionId, isConnectionError, isDefiniteStreamAppendRejection, isRetryable, isWarmHubError, normalizeWref, offsetChunkResultIndexes, operationEventStreamRequestId, resolveFunctionLogMode, sanitizeErrorMessage, sdkVersionIsBelowMinimum, streamAppendResultStatus, submitOperationsViaStream, toWarmHubError, validateAgainstShape, verifyCliCall };
7435
+ export { type AboutOptions, type AboutResult, type AccessResolveInput, type AccessResolveResult, type AccessTokenProvider, type ActionAttemptInfo, type ActionDeliveryTarget, type ActionLeaseAcquire, type ActionLeaseOp, type ActionListNotificationsOptions, type ActionListRunsOptions, type ActionLiveFeed, type ActionLiveFeedItem, type ActionLiveFeedOptions, type ActionNotificationInfo, type ActionRunInfo, type ActionRunStatsInfo, type ActionRunStatsOptions, type AddOp, type AddOperation, AllStreamOperationsFailedError, type Assertion, CLI_INSTALL_REPO_HEADER, CLI_SIGNATURE_HEADER, CLI_TIMESTAMP_HEADER, CONTENT_FIELD_LIMIT_ERROR, type CliCallSecrets, CliCallVerificationError, type CliCallVerificationFailureReason, type CollectionAddOp, type CollectionAddType, type CollectionContainsOptions, type CollectionContainsResult, type CollectionCreateOptions, type CollectionDiffOptions, type CollectionDiffResult, type CollectionMember, type CollectionMembersOptions, type CollectionMembersPage, type CollectionMembershipRole, type CollectionMutationResult, type CollectionQuerySourceOptions, type CollectionReadDataMode, type CollectionReadSummary, type CollectionReviseOptions, type CollectionStatsOptions, type CollectionStatsResult, type CollectionTag, type CollectionType, type CommitApplyCompatibilityResult, type ComponentHistory, type ComponentHistoryOptions, type ComponentInfo, type ComponentInstallOptions, type ComponentInstallResult, type ComponentList, type ComponentListOptions, type ComponentUninstallOptions, type ComponentUninstallResult, type ComponentView, type CoreErrorKind, type CountOptions, type CountResult, type CredentialAuditEntry, type CredentialDeleteResult, type CredentialGrantResult, type CredentialInfo, type CredentialKeyMutationResult, type CredentialRevokeResult, type CredentialUngrantResult, type CurrentUserInfo, DEFAULT_API_URL, DEFAULT_STREAM_CHUNK_SIZE, type ErrorKind, type FilterOptions, type FilterResult, type FunctionLogMode, type GlobalSearchOptions, type GlobalSearchResult, type GlobalSearchResultItem, type Grant, type GrantCreateOptions, type GrantListOptions, type GrantListResult, type GrantRecipientSelector, type GrantRevokeResult, type HeadResult, type HistoryResult, type HistoryVersion, type HomepageFeaturedListsResult, type IndexedFieldEntry, type IndexedFieldsReport, type LiveHandle, type LiveRepoEvent, type LiveSubscriptionLogOptions, type LiveThingHeadOptions, type LiveThingHistoryOptions, type LiveWatchResult, MAX_CONTENT_FIELD_BYTES, MAX_STREAM_APPEND_OPERATION_COUNT, ORG_AUTH_SCOPES, type Operation, OperationBuilder, type OperationBuilderAddInput, type OperationBuilderClient, type OperationBuilderOp, type OperationBuilderOptions, type OperationEventReceiptV1, type OperationSubmitResult, type OrgAccessResult, type OrgAuthScope, type OrgInfo, type OrgList, type OrgListMembersOptions, type OrgListOptions, type OrgMemberInfo, type OrgMemberList, type OrgRef, type OrgRole, type Page, type PageRequest, PartialStreamSubmissionError, type PingResult, REPO_AUTH_SCOPES, type ReaffirmOperation, type RefLink, type RefsOptions, type RefsResult, type RenameOperation, type RenameOptions, type RenameResult, type RepoAccessResult, type RepoAuthScope, type RepoConfigureStatsView, type RepoDescribeResult, type RepoExploreBrowseOptions, type RepoExploreItem, type RepoExploreOptions, type RepoExploreResult, type RepoInfo, type RepoLicense, type RepoList, type RepoListForCallerOptions, type RepoListOptions, type RepoListPageOptions, type RepoListPageResult, type RepoLocator, type RepoRecentInfo, type RepoRef, type RepoShapeInstanceCountsView, type RepoSort, type RepoStatsBatchResult, type RepoStatsView, type RepoWithStatsInfo, type RepositoryCheckpointAccess, type RepositoryCheckpointStatus, type RequestEvent, type ResolveWrefResult, type RetractOp, type RetractOperation, type RetryPolicyOptions, type ReviseOp, type ReviseOperation, SDK_VERSION, type SearchOptions, type SearchResult, type Shape, type ShapeChange, type ShapeCreateOptions, type ShapeFields, type ShapeGetOptions, type ShapeHistory, type ShapeHistoryOptions, type ShapeList, type ShapeListOptions, type ShapeRef, type ShapeRemove, type ShapeRemoveOptions, type ShapeReviseOptions, type ShapeValidatorResult, type StreamAppendInput, type StreamAppendResult, type StreamContinuationState, type SubscriptionBindCredentialsResult, type SubscriptionCompatCreateInput, type SubscriptionCompatUpdateInput, type SubscriptionInfo, type SubscriptionList, type SubscriptionUnbindCredentialsResult, type SynthesizedRepoContent, type ThingChanges, type ThingDetail, type ThingGet, type ThingGetManyResult, type ThingGetOptions, type ThingGetWithLease, type ThingGraphOptions, type ThingGraphResult, type ThingGraphValue, type ThingHead, type ThingHeadChangesOptions, type ThingHeadOptions, type ThingHeadRequest, type ThingHeadVersionsResult, type ThingHistory, type ThingHistoryOptions, type ThingItem, type ThingMetadata, type ThingQueryChangesOptions, type TokenInfo, type TokenResult, type UndeclaredFieldsWarning, type ValidationDiagnostic, type ValidationResult, type VerifiedCliCall, type ViewEvaluateOptions, type ViewEvaluateResult, WarmHubClient, type WarmHubClientOptions, WarmHubError, type WarmHubErrorDetails, type WherePredicate, type WhoamiInfo, type WhoamiScopeEntry, type WireScopeEntry, aggregateSubmittedStreamResult, completedOperationsFrom, connectionErrorMessage, contentFieldLimitError, countStreamAppendResultStatuses, createOperationEventRequestId, createOperationEventSubmissionId, isConnectionError, isDefiniteStreamAppendRejection, isKnownOrgAuthScope, isKnownRepoAuthScope, isRetryable, isWarmHubError, normalizeWref, offsetChunkResultIndexes, operationEventStreamRequestId, resolveFunctionLogMode, sanitizeErrorMessage, sdkVersionIsBelowMinimum, streamAppendResultStatus, submitOperationsViaStream, toWarmHubError, validateAgainstShape, verifyCliCall };