@agentxm/client-core 0.21.0 → 0.21.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/src/unstable/auth/auth-client.d.ts +32 -0
  2. package/dist/src/unstable/auth/auth-client.d.ts.map +1 -1
  3. package/dist/src/unstable/auth/auth-client.js +78 -0
  4. package/dist/src/unstable/auth/auth-client.js.map +1 -1
  5. package/dist/src/unstable/auth/index.d.ts +2 -1
  6. package/dist/src/unstable/auth/index.d.ts.map +1 -1
  7. package/dist/src/unstable/auth/index.js +1 -0
  8. package/dist/src/unstable/auth/index.js.map +1 -1
  9. package/dist/src/unstable/auth/loopback-login.d.ts.map +1 -1
  10. package/dist/src/unstable/auth/loopback-login.js +1 -0
  11. package/dist/src/unstable/auth/loopback-login.js.map +1 -1
  12. package/dist/src/unstable/auth/loopback-server.d.ts +1 -0
  13. package/dist/src/unstable/auth/loopback-server.d.ts.map +1 -1
  14. package/dist/src/unstable/auth/loopback-server.js +20 -5
  15. package/dist/src/unstable/auth/loopback-server.js.map +1 -1
  16. package/dist/src/unstable/auth/publish-authorization.d.ts +18 -0
  17. package/dist/src/unstable/auth/publish-authorization.d.ts.map +1 -0
  18. package/dist/src/unstable/auth/publish-authorization.js +83 -0
  19. package/dist/src/unstable/auth/publish-authorization.js.map +1 -0
  20. package/dist/src/unstable/registry/__generated__/registry-client.d.ts +728 -193
  21. package/dist/src/unstable/registry/__generated__/registry-client.d.ts.map +1 -1
  22. package/dist/src/unstable/registry/__generated__/registry-client.js +266 -82
  23. package/dist/src/unstable/registry/__generated__/registry-client.js.map +1 -1
  24. package/dist/src/unstable/registry/archive-cache.d.ts +51 -0
  25. package/dist/src/unstable/registry/archive-cache.d.ts.map +1 -0
  26. package/dist/src/unstable/registry/archive-cache.js +213 -0
  27. package/dist/src/unstable/registry/archive-cache.js.map +1 -0
  28. package/dist/src/unstable/registry/client.d.ts +10 -2
  29. package/dist/src/unstable/registry/client.d.ts.map +1 -1
  30. package/dist/src/unstable/registry/client.js +3 -1
  31. package/dist/src/unstable/registry/client.js.map +1 -1
  32. package/dist/src/unstable/registry/index.d.ts +2 -0
  33. package/dist/src/unstable/registry/index.d.ts.map +1 -1
  34. package/dist/src/unstable/registry/index.js +1 -0
  35. package/dist/src/unstable/registry/index.js.map +1 -1
  36. package/dist/src/unstable/registry/local-client.d.ts.map +1 -1
  37. package/dist/src/unstable/registry/local-client.js +114 -47
  38. package/dist/src/unstable/registry/local-client.js.map +1 -1
  39. package/dist/src/unstable/registry/remote-client.d.ts +2 -1
  40. package/dist/src/unstable/registry/remote-client.d.ts.map +1 -1
  41. package/dist/src/unstable/registry/remote-client.js +46 -59
  42. package/dist/src/unstable/registry/remote-client.js.map +1 -1
  43. package/package.json +6 -6
@@ -76,19 +76,21 @@ export declare const PublishDetails: Schema.Struct<{
76
76
  }>;
77
77
  export type SessionTokenResponse = {
78
78
  readonly access_token: string;
79
- readonly refresh_token: string;
79
+ readonly refresh_token?: string | null;
80
80
  readonly token_type: "Bearer";
81
81
  readonly expires_in: number;
82
82
  readonly expires_at: string;
83
83
  readonly scope?: string | null;
84
+ readonly publish_request_id?: string | null;
84
85
  };
85
86
  export declare const SessionTokenResponse: Schema.Struct<{
86
87
  readonly access_token: Schema.String;
87
- readonly refresh_token: Schema.String;
88
+ readonly refresh_token: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
88
89
  readonly token_type: Schema.Literal<"Bearer">;
89
90
  readonly expires_in: Schema.Number;
90
91
  readonly expires_at: Schema.String;
91
92
  readonly scope: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
93
+ readonly publish_request_id: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
92
94
  }>;
93
95
  export type TokenOAuthError = {
94
96
  readonly kind: "TokenOAuthError";
@@ -128,10 +130,20 @@ export declare const StepUpChallengeResponse: Schema.Union<readonly [Schema.Stru
128
130
  readonly step_up: Schema.String;
129
131
  readonly expires_at: Schema.String;
130
132
  }>]>;
131
- export type TokenId = string;
132
- export declare const TokenId: Schema.String;
133
+ export type Handle = string;
134
+ export declare const Handle: Schema.String;
135
+ export type ExtensionType = "skill" | "command" | "mcp-server" | "subagent" | "files" | "rule" | "hook" | "pack";
136
+ export declare const ExtensionType: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
137
+ export type ExtensionName = string;
138
+ export declare const ExtensionName: Schema.String;
139
+ export type Version = string;
140
+ export declare const Version: Schema.String;
141
+ export type PublishAuthorizationRequestId = string;
142
+ export declare const PublishAuthorizationRequestId: Schema.String;
133
143
  export type IsoDateTimeString = string;
134
144
  export declare const IsoDateTimeString: Schema.String;
145
+ export type TokenId = string;
146
+ export declare const TokenId: Schema.String;
135
147
  export type ScopeCheckDetails = {
136
148
  readonly requiredScope: string;
137
149
  readonly grantedScopes: ReadonlyArray<string>;
@@ -188,8 +200,6 @@ export declare const StepUpRequiredError: Schema.Struct<{
188
200
  readonly authUrl: Schema.String;
189
201
  readonly doneUrl: Schema.String;
190
202
  }>;
191
- export type Handle = string;
192
- export declare const Handle: Schema.String;
193
203
  export type OwnerResponse = {
194
204
  readonly displayName: string;
195
205
  };
@@ -224,12 +234,6 @@ export type ChangeTeamMemberRoleBody = {
224
234
  export declare const ChangeTeamMemberRoleBody: Schema.Struct<{
225
235
  readonly role: Schema.Literals<readonly ["admin", "member"]>;
226
236
  }>;
227
- export type ExtensionName = string;
228
- export declare const ExtensionName: Schema.String;
229
- export type ExtensionType = "skill" | "command" | "mcp-server" | "subagent" | "files" | "rule" | "hook" | "pack";
230
- export declare const ExtensionType: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
231
- export type Version = string;
232
- export declare const Version: Schema.String;
233
237
  export type Repository = {
234
238
  readonly url: string;
235
239
  readonly type?: string | null;
@@ -342,14 +346,16 @@ export declare const PurgeExtensionVersionBody: Schema.Struct<{
342
346
  readonly reason: Schema.Literals<readonly ["malware", "exposed_secret", "legal", "privacy", "policy"]>;
343
347
  readonly confirmSharedDigest: Schema.Boolean;
344
348
  }>;
349
+ export type LibraryVisibility = "public" | "private";
350
+ export declare const LibraryVisibility: Schema.Literals<readonly ["public", "private"]>;
345
351
  export type LibraryId = string;
346
352
  export declare const LibraryId: Schema.String;
347
353
  export type LibraryName = string;
348
354
  export declare const LibraryName: Schema.String;
349
- export type LibraryVisibility = "public" | "private";
350
- export declare const LibraryVisibility: Schema.Literals<readonly ["public", "private"]>;
351
355
  export type LibraryMemberId = string;
352
356
  export declare const LibraryMemberId: Schema.String;
357
+ export type ExtensionVersionId = string;
358
+ export declare const ExtensionVersionId: Schema.String;
353
359
  export type UpdateLibraryBody = {
354
360
  readonly title?: string | null;
355
361
  readonly description?: string | null | null;
@@ -404,7 +410,7 @@ export declare const AddTeamMemberBody: Schema.Struct<{
404
410
  }>;
405
411
  export type AuthMeToken = {
406
412
  readonly id: string;
407
- readonly type: "session" | "pat" | "oidc";
413
+ readonly type: "session" | "pat" | "oidc" | "publish-capability";
408
414
  readonly name: string | null;
409
415
  readonly permissions: Schema.Json | null;
410
416
  readonly scopes: ReadonlyArray<string>;
@@ -413,7 +419,7 @@ export type AuthMeToken = {
413
419
  };
414
420
  export declare const AuthMeToken: Schema.Struct<{
415
421
  readonly id: Schema.String;
416
- readonly type: Schema.Literals<readonly ["session", "pat", "oidc"]>;
422
+ readonly type: Schema.Literals<readonly ["session", "pat", "oidc", "publish-capability"]>;
417
423
  readonly name: Schema.Union<readonly [Schema.String, Schema.Null]>;
418
424
  readonly permissions: Schema.Union<readonly [Schema.Codec<Schema.Json, Schema.Json, never, never>, Schema.Null]>;
419
425
  readonly scopes: Schema.$Array<Schema.String>;
@@ -422,6 +428,58 @@ export declare const AuthMeToken: Schema.Struct<{
422
428
  }>;
423
429
  readonly expires_at: Schema.String;
424
430
  }>;
431
+ export type LibraryMemberCoordinate = {
432
+ readonly owner: Handle;
433
+ readonly type: ExtensionType;
434
+ readonly name: ExtensionName;
435
+ };
436
+ export declare const LibraryMemberCoordinate: Schema.Struct<{
437
+ readonly owner: Schema.String;
438
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
439
+ readonly name: Schema.String;
440
+ }>;
441
+ export type PublishIdentity = {
442
+ readonly owner: Handle;
443
+ readonly type: ExtensionType;
444
+ readonly name: ExtensionName;
445
+ readonly version: Version;
446
+ };
447
+ export declare const PublishIdentity: Schema.Struct<{
448
+ readonly owner: Schema.String;
449
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
450
+ readonly name: Schema.String;
451
+ readonly version: Schema.String;
452
+ }>;
453
+ export type SharedDigestConfirmationRequiredHttpError = {
454
+ readonly kind: "SharedDigestConfirmationRequiredHttpError";
455
+ readonly type: string;
456
+ readonly title: string;
457
+ readonly status: number;
458
+ readonly detail: string;
459
+ readonly instance?: string;
460
+ readonly code: "shared_digest_confirmation_required";
461
+ readonly affectedCoordinates: ReadonlyArray<{
462
+ readonly owner: Handle;
463
+ readonly type: ExtensionType;
464
+ readonly name: ExtensionName;
465
+ readonly version: Version;
466
+ }>;
467
+ };
468
+ export declare const SharedDigestConfirmationRequiredHttpError: Schema.Struct<{
469
+ readonly kind: Schema.Literal<"SharedDigestConfirmationRequiredHttpError">;
470
+ readonly type: Schema.String;
471
+ readonly title: Schema.String;
472
+ readonly status: Schema.Number;
473
+ readonly detail: Schema.String;
474
+ readonly instance: Schema.optionalKey<Schema.String>;
475
+ readonly code: Schema.Literal<"shared_digest_confirmation_required">;
476
+ readonly affectedCoordinates: Schema.$Array<Schema.Struct<{
477
+ readonly owner: Schema.String;
478
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
479
+ readonly name: Schema.String;
480
+ readonly version: Schema.String;
481
+ }>>;
482
+ }>;
425
483
  export type TokenListItem = {
426
484
  readonly id: TokenId;
427
485
  readonly name: string | null;
@@ -467,7 +525,7 @@ export type ForbiddenError = {
467
525
  readonly status: number;
468
526
  readonly detail: string;
469
527
  readonly instance?: string;
470
- readonly code: "forbidden" | "insufficient_scope" | "resource_restriction" | "scope_escalation" | "gat_requires_session" | "team_create_not_authorized" | "team_delete_not_authorized" | "team_update_not_authorized" | "add_team_member_not_authorized" | "remove_team_member_not_authorized" | "change_team_member_role_not_authorized" | "library_mutation_not_authorized" | "team_extension_grant_delete_not_authorized" | "team_extension_grant_not_authorized" | "publish/quota-exceeded" | "publish/insufficient-scope" | "publish/resource-restriction" | "publish/handle-not-owned" | "publish/publish-forbidden";
528
+ readonly code: "forbidden" | "insufficient_scope" | "resource_restriction" | "scope_escalation" | "gat_requires_session" | "recent_authentication_required" | "team_create_not_authorized" | "team_delete_not_authorized" | "team_update_not_authorized" | "add_team_member_not_authorized" | "remove_team_member_not_authorized" | "change_team_member_role_not_authorized" | "library_mutation_not_authorized" | "team_extension_grant_delete_not_authorized" | "team_extension_grant_not_authorized" | "publish/quota-exceeded" | "publish/insufficient-scope" | "publish/resource-restriction" | "publish/handle-not-owned" | "publish/publish-forbidden" | "publish/capability-binding-mismatch" | "publish/capability-expired";
471
529
  readonly details?: ScopeCheckDetails | AuthorizationDenyDetails | PublishDetails;
472
530
  };
473
531
  export declare const ForbiddenError: Schema.Struct<{
@@ -477,7 +535,7 @@ export declare const ForbiddenError: Schema.Struct<{
477
535
  readonly status: Schema.Number;
478
536
  readonly detail: Schema.String;
479
537
  readonly instance: Schema.optionalKey<Schema.String>;
480
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
538
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
481
539
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
482
540
  readonly requiredScope: Schema.String;
483
541
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -632,48 +690,6 @@ export declare const TeamMembership: Schema.Struct<{
632
690
  readonly addedAt: Schema.String;
633
691
  readonly addedBy: Schema.String;
634
692
  }>;
635
- export type PublishIdentity = {
636
- readonly owner: Handle;
637
- readonly type: ExtensionType;
638
- readonly name: ExtensionName;
639
- readonly version: Version;
640
- };
641
- export declare const PublishIdentity: Schema.Struct<{
642
- readonly owner: Schema.String;
643
- readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
644
- readonly name: Schema.String;
645
- readonly version: Schema.String;
646
- }>;
647
- export type SharedDigestConfirmationRequiredHttpError = {
648
- readonly kind: "SharedDigestConfirmationRequiredHttpError";
649
- readonly type: string;
650
- readonly title: string;
651
- readonly status: number;
652
- readonly detail: string;
653
- readonly instance?: string;
654
- readonly code: "shared_digest_confirmation_required";
655
- readonly affectedCoordinates: ReadonlyArray<{
656
- readonly owner: Handle;
657
- readonly type: ExtensionType;
658
- readonly name: ExtensionName;
659
- readonly version: Version;
660
- }>;
661
- };
662
- export declare const SharedDigestConfirmationRequiredHttpError: Schema.Struct<{
663
- readonly kind: Schema.Literal<"SharedDigestConfirmationRequiredHttpError">;
664
- readonly type: Schema.String;
665
- readonly title: Schema.String;
666
- readonly status: Schema.Number;
667
- readonly detail: Schema.String;
668
- readonly instance: Schema.optionalKey<Schema.String>;
669
- readonly code: Schema.Literal<"shared_digest_confirmation_required">;
670
- readonly affectedCoordinates: Schema.$Array<Schema.Struct<{
671
- readonly owner: Schema.String;
672
- readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
673
- readonly name: Schema.String;
674
- readonly version: Schema.String;
675
- }>>;
676
- }>;
677
693
  export type SearchHit = {
678
694
  readonly name: ExtensionName;
679
695
  readonly owner: Handle;
@@ -685,6 +701,8 @@ export type SearchHit = {
685
701
  readonly authors?: ReadonlyArray<Author> | null;
686
702
  readonly deprecated_at?: IsoDateTimeString | null;
687
703
  readonly deprecation_notice?: string | null;
704
+ readonly matched_fields?: ReadonlyArray<string> | null;
705
+ readonly visibility: "public" | "private";
688
706
  };
689
707
  export declare const SearchHit: Schema.Struct<{
690
708
  readonly name: Schema.String;
@@ -705,6 +723,8 @@ export declare const SearchHit: Schema.Struct<{
705
723
  }>>, Schema.Null]>>;
706
724
  readonly deprecated_at: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
707
725
  readonly deprecation_notice: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
726
+ readonly matched_fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>>;
727
+ readonly visibility: Schema.Literals<readonly ["public", "private"]>;
708
728
  }>;
709
729
  export type CompanionPackage = {
710
730
  readonly purl: PackageIdentityPurl;
@@ -738,6 +758,12 @@ export declare const PublishLintFinding: Schema.Struct<{
738
758
  readonly path: Schema.String;
739
759
  readonly suggestions: Schema.$Array<Schema.String>;
740
760
  }>;
761
+ export type PatchLibraryVisibilityBody = {
762
+ readonly visibility: LibraryVisibility;
763
+ };
764
+ export declare const PatchLibraryVisibilityBody: Schema.Struct<{
765
+ readonly visibility: Schema.Literals<readonly ["public", "private"]>;
766
+ }>;
741
767
  export type CreateLibraryBody = {
742
768
  readonly name: LibraryName;
743
769
  readonly title: string;
@@ -750,12 +776,6 @@ export declare const CreateLibraryBody: Schema.Struct<{
750
776
  readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
751
777
  readonly visibility: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["public", "private"]>, Schema.Null]>>;
752
778
  }>;
753
- export type PatchLibraryVisibilityBody = {
754
- readonly visibility: LibraryVisibility;
755
- };
756
- export declare const PatchLibraryVisibilityBody: Schema.Struct<{
757
- readonly visibility: Schema.Literals<readonly ["public", "private"]>;
758
- }>;
759
779
  export type LibraryMember = {
760
780
  readonly id: LibraryMemberId;
761
781
  readonly libraryId: LibraryId;
@@ -774,6 +794,28 @@ export declare const LibraryMember: Schema.Struct<{
774
794
  readonly extensionName: Schema.String;
775
795
  readonly addedAt: Schema.String;
776
796
  }>;
797
+ export type LibraryResolutionMember = {
798
+ readonly memberId: LibraryMemberId;
799
+ readonly extensionId: ExtensionId;
800
+ readonly extensionVersionId: ExtensionVersionId;
801
+ readonly owner: Handle;
802
+ readonly type: ExtensionType;
803
+ readonly name: ExtensionName;
804
+ readonly version: Version;
805
+ readonly addedAt: IsoDateTimeString;
806
+ readonly publishedAt: IsoDateTimeString | null;
807
+ };
808
+ export declare const LibraryResolutionMember: Schema.Struct<{
809
+ readonly memberId: Schema.String;
810
+ readonly extensionId: Schema.String;
811
+ readonly extensionVersionId: Schema.String;
812
+ readonly owner: Schema.String;
813
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
814
+ readonly name: Schema.String;
815
+ readonly version: Schema.String;
816
+ readonly addedAt: Schema.String;
817
+ readonly publishedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
818
+ }>;
777
819
  export type AuthMeResponse = {
778
820
  readonly user: AuthMeUser;
779
821
  readonly orgs: ReadonlyArray<never>;
@@ -788,7 +830,7 @@ export declare const AuthMeResponse: Schema.Struct<{
788
830
  readonly orgs: Schema.$Array<Schema.Never>;
789
831
  readonly token: Schema.Struct<{
790
832
  readonly id: Schema.String;
791
- readonly type: Schema.Literals<readonly ["session", "pat", "oidc"]>;
833
+ readonly type: Schema.Literals<readonly ["session", "pat", "oidc", "publish-capability"]>;
792
834
  readonly name: Schema.Union<readonly [Schema.String, Schema.Null]>;
793
835
  readonly permissions: Schema.Union<readonly [Schema.Codec<Schema.Json, Schema.Json, never, never>, Schema.Null]>;
794
836
  readonly scopes: Schema.$Array<Schema.String>;
@@ -798,6 +840,83 @@ export declare const AuthMeResponse: Schema.Struct<{
798
840
  readonly expires_at: Schema.String;
799
841
  }>;
800
842
  }>;
843
+ export type PatchLibraryMembersBody = {
844
+ readonly add: ReadonlyArray<LibraryMemberCoordinate>;
845
+ readonly remove: ReadonlyArray<LibraryMemberCoordinate>;
846
+ };
847
+ export declare const PatchLibraryMembersBody: Schema.Struct<{
848
+ readonly add: Schema.$Array<Schema.Struct<{
849
+ readonly owner: Schema.String;
850
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
851
+ readonly name: Schema.String;
852
+ }>>;
853
+ readonly remove: Schema.$Array<Schema.Struct<{
854
+ readonly owner: Schema.String;
855
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
856
+ readonly name: Schema.String;
857
+ }>>;
858
+ }>;
859
+ export type PatchLibraryMembersResponse = {
860
+ readonly added: ReadonlyArray<LibraryMemberCoordinate>;
861
+ readonly removed: ReadonlyArray<LibraryMemberCoordinate>;
862
+ readonly unchanged: ReadonlyArray<{
863
+ readonly action: "add" | "remove";
864
+ readonly member: LibraryMemberCoordinate;
865
+ }>;
866
+ };
867
+ export declare const PatchLibraryMembersResponse: Schema.Struct<{
868
+ readonly added: Schema.$Array<Schema.Struct<{
869
+ readonly owner: Schema.String;
870
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
871
+ readonly name: Schema.String;
872
+ }>>;
873
+ readonly removed: Schema.$Array<Schema.Struct<{
874
+ readonly owner: Schema.String;
875
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
876
+ readonly name: Schema.String;
877
+ }>>;
878
+ readonly unchanged: Schema.$Array<Schema.Struct<{
879
+ readonly action: Schema.Literals<readonly ["add", "remove"]>;
880
+ readonly member: Schema.Struct<{
881
+ readonly owner: Schema.String;
882
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
883
+ readonly name: Schema.String;
884
+ }>;
885
+ }>>;
886
+ }>;
887
+ export type ExtensionIdentityMismatchError = {
888
+ readonly kind: "ExtensionIdentityMismatchError";
889
+ readonly type: string;
890
+ readonly title: string;
891
+ readonly status: number;
892
+ readonly detail: string;
893
+ readonly instance?: string;
894
+ readonly code: "extension_identity_mismatch";
895
+ readonly error: "extension_identity_mismatch";
896
+ readonly identity: PublishIdentity;
897
+ readonly mismatches: ReadonlyArray<PublishIdentityMismatchEntry>;
898
+ };
899
+ export declare const ExtensionIdentityMismatchError: Schema.Struct<{
900
+ readonly kind: Schema.Literal<"ExtensionIdentityMismatchError">;
901
+ readonly type: Schema.String;
902
+ readonly title: Schema.String;
903
+ readonly status: Schema.Number;
904
+ readonly detail: Schema.String;
905
+ readonly instance: Schema.optionalKey<Schema.String>;
906
+ readonly code: Schema.Literal<"extension_identity_mismatch">;
907
+ readonly error: Schema.Literal<"extension_identity_mismatch">;
908
+ readonly identity: Schema.Struct<{
909
+ readonly owner: Schema.String;
910
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
911
+ readonly name: Schema.String;
912
+ readonly version: Schema.String;
913
+ }>;
914
+ readonly mismatches: Schema.$Array<Schema.Struct<{
915
+ readonly field: Schema.Literals<readonly ["owner", "type", "name", "version"]>;
916
+ readonly urlPath: Schema.Union<readonly [Schema.String, Schema.Null]>;
917
+ readonly content: Schema.Union<readonly [Schema.String, Schema.Null]>;
918
+ }>>;
919
+ }>;
801
920
  export type TokenListResponse = {
802
921
  readonly tokens: ReadonlyArray<TokenListItem>;
803
922
  readonly has_more: boolean;
@@ -919,43 +1038,12 @@ export declare const TeamMembershipList: Schema.Struct<{
919
1038
  }>>;
920
1039
  readonly nextCursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
921
1040
  }>;
922
- export type ExtensionIdentityMismatchError = {
923
- readonly kind: "ExtensionIdentityMismatchError";
924
- readonly type: string;
925
- readonly title: string;
926
- readonly status: number;
927
- readonly detail: string;
928
- readonly instance?: string;
929
- readonly code: "extension_identity_mismatch";
930
- readonly error: "extension_identity_mismatch";
931
- readonly identity: PublishIdentity;
932
- readonly mismatches: ReadonlyArray<PublishIdentityMismatchEntry>;
933
- };
934
- export declare const ExtensionIdentityMismatchError: Schema.Struct<{
935
- readonly kind: Schema.Literal<"ExtensionIdentityMismatchError">;
936
- readonly type: Schema.String;
937
- readonly title: Schema.String;
938
- readonly status: Schema.Number;
939
- readonly detail: Schema.String;
940
- readonly instance: Schema.optionalKey<Schema.String>;
941
- readonly code: Schema.Literal<"extension_identity_mismatch">;
942
- readonly error: Schema.Literal<"extension_identity_mismatch">;
943
- readonly identity: Schema.Struct<{
944
- readonly owner: Schema.String;
945
- readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
946
- readonly name: Schema.String;
947
- readonly version: Schema.String;
948
- }>;
949
- readonly mismatches: Schema.$Array<Schema.Struct<{
950
- readonly field: Schema.Literals<readonly ["owner", "type", "name", "version"]>;
951
- readonly urlPath: Schema.Union<readonly [Schema.String, Schema.Null]>;
952
- readonly content: Schema.Union<readonly [Schema.String, Schema.Null]>;
953
- }>>;
954
- }>;
955
1041
  export type SearchResponse = {
956
1042
  readonly extensions: ReadonlyArray<SearchHit>;
957
1043
  readonly has_more: boolean;
958
1044
  readonly cursor: string | null;
1045
+ readonly total: number;
1046
+ readonly total_relation: "exact";
959
1047
  };
960
1048
  export declare const SearchResponse: Schema.Struct<{
961
1049
  readonly extensions: Schema.$Array<Schema.Struct<{
@@ -977,9 +1065,13 @@ export declare const SearchResponse: Schema.Struct<{
977
1065
  }>>, Schema.Null]>>;
978
1066
  readonly deprecated_at: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
979
1067
  readonly deprecation_notice: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1068
+ readonly matched_fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>>;
1069
+ readonly visibility: Schema.Literals<readonly ["public", "private"]>;
980
1070
  }>>;
981
1071
  readonly has_more: Schema.Boolean;
982
1072
  readonly cursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
1073
+ readonly total: Schema.Number;
1074
+ readonly total_relation: Schema.Literal<"exact">;
983
1075
  }>;
984
1076
  export type ExtensionLintFailedError = {
985
1077
  readonly kind: "ExtensionLintFailedError";
@@ -1026,10 +1118,61 @@ export declare const ExtensionLintFailedError: Schema.Struct<{
1026
1118
  readonly suggestions: Schema.$Array<Schema.String>;
1027
1119
  }>>;
1028
1120
  }>;
1121
+ export type ListLibraryMembersResponse = {
1122
+ readonly members: ReadonlyArray<LibraryMember>;
1123
+ readonly total: number;
1124
+ readonly limit: number;
1125
+ readonly offset: number;
1126
+ readonly viewerRelative: true;
1127
+ };
1128
+ export declare const ListLibraryMembersResponse: Schema.Struct<{
1129
+ readonly members: Schema.$Array<Schema.Struct<{
1130
+ readonly id: Schema.String;
1131
+ readonly libraryId: Schema.String;
1132
+ readonly extensionId: Schema.String;
1133
+ readonly extensionOwner: Schema.String;
1134
+ readonly extensionType: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
1135
+ readonly extensionName: Schema.String;
1136
+ readonly addedAt: Schema.String;
1137
+ }>>;
1138
+ readonly total: Schema.Number;
1139
+ readonly limit: Schema.Number;
1140
+ readonly offset: Schema.Number;
1141
+ readonly viewerRelative: Schema.Literal<true>;
1142
+ }>;
1143
+ export type LibraryResolution = {
1144
+ readonly libraryId: LibraryId;
1145
+ readonly reference: string;
1146
+ readonly name: LibraryName;
1147
+ readonly updatedAt: IsoDateTimeString;
1148
+ readonly membershipDigest: string;
1149
+ readonly viewerRelative: true;
1150
+ readonly members: ReadonlyArray<LibraryResolutionMember>;
1151
+ };
1152
+ export declare const LibraryResolution: Schema.Struct<{
1153
+ readonly libraryId: Schema.String;
1154
+ readonly reference: Schema.String;
1155
+ readonly name: Schema.String;
1156
+ readonly updatedAt: Schema.String;
1157
+ readonly membershipDigest: Schema.String;
1158
+ readonly viewerRelative: Schema.Literal<true>;
1159
+ readonly members: Schema.$Array<Schema.Struct<{
1160
+ readonly memberId: Schema.String;
1161
+ readonly extensionId: Schema.String;
1162
+ readonly extensionVersionId: Schema.String;
1163
+ readonly owner: Schema.String;
1164
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
1165
+ readonly name: Schema.String;
1166
+ readonly version: Schema.String;
1167
+ readonly addedAt: Schema.String;
1168
+ readonly publishedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
1169
+ }>>;
1170
+ }>;
1029
1171
  export type LibraryDetail = {
1030
1172
  readonly library: Library;
1031
1173
  readonly members: ReadonlyArray<LibraryMember>;
1032
- readonly hiddenMemberCount: number;
1174
+ readonly accessibleMemberCount: number;
1175
+ readonly contentsMayVary: true;
1033
1176
  };
1034
1177
  export declare const LibraryDetail: Schema.Struct<{
1035
1178
  readonly library: Schema.Struct<{
@@ -1066,7 +1209,8 @@ export declare const LibraryDetail: Schema.Struct<{
1066
1209
  readonly extensionName: Schema.String;
1067
1210
  readonly addedAt: Schema.String;
1068
1211
  }>>;
1069
- readonly hiddenMemberCount: Schema.Number;
1212
+ readonly accessibleMemberCount: Schema.Number;
1213
+ readonly contentsMayVary: Schema.Literal<true>;
1070
1214
  }>;
1071
1215
  export type MetaGet200 = MetaResponse;
1072
1216
  export declare const MetaGet200: Schema.Struct<{
@@ -1152,11 +1296,12 @@ export declare const AuthExchangeTokenRequestFormUrlEncoded: Schema.Struct<{
1152
1296
  export type AuthExchangeToken200 = SessionTokenResponse;
1153
1297
  export declare const AuthExchangeToken200: Schema.Struct<{
1154
1298
  readonly access_token: Schema.String;
1155
- readonly refresh_token: Schema.String;
1299
+ readonly refresh_token: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1156
1300
  readonly token_type: Schema.Literal<"Bearer">;
1157
1301
  readonly expires_in: Schema.Number;
1158
1302
  readonly expires_at: Schema.String;
1159
1303
  readonly scope: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1304
+ readonly publish_request_id: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1160
1305
  }>;
1161
1306
  export type AuthExchangeToken400 = ProblemDetails | DecodeErrorResponse | TokenOAuthError;
1162
1307
  export declare const AuthExchangeToken400: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
@@ -1284,7 +1429,7 @@ export declare const AuthGetMe200: Schema.Struct<{
1284
1429
  readonly orgs: Schema.$Array<Schema.Never>;
1285
1430
  readonly token: Schema.Struct<{
1286
1431
  readonly id: Schema.String;
1287
- readonly type: Schema.Literals<readonly ["session", "pat", "oidc"]>;
1432
+ readonly type: Schema.Literals<readonly ["session", "pat", "oidc", "publish-capability"]>;
1288
1433
  readonly name: Schema.Union<readonly [Schema.String, Schema.Null]>;
1289
1434
  readonly permissions: Schema.Union<readonly [Schema.Codec<Schema.Json, Schema.Json, never, never>, Schema.Null]>;
1290
1435
  readonly scopes: Schema.$Array<Schema.String>;
@@ -1396,6 +1541,64 @@ export declare const AuthExchangeOidcToken501: Schema.Struct<{
1396
1541
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1397
1542
  }>>;
1398
1543
  }>;
1544
+ export type AuthCreatePublishAuthorizationRequestRequestJson = {
1545
+ readonly client_id: string;
1546
+ readonly redirect_uri: string;
1547
+ readonly state: string;
1548
+ readonly code_challenge: string;
1549
+ readonly code_challenge_method: "S256";
1550
+ readonly owner: Handle;
1551
+ readonly type: ExtensionType;
1552
+ readonly name: ExtensionName;
1553
+ readonly version: Version;
1554
+ readonly archive_sha256: string;
1555
+ };
1556
+ export declare const AuthCreatePublishAuthorizationRequestRequestJson: Schema.Struct<{
1557
+ readonly client_id: Schema.String;
1558
+ readonly redirect_uri: Schema.String;
1559
+ readonly state: Schema.String;
1560
+ readonly code_challenge: Schema.String;
1561
+ readonly code_challenge_method: Schema.Literal<"S256">;
1562
+ readonly owner: Schema.String;
1563
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
1564
+ readonly name: Schema.String;
1565
+ readonly version: Schema.String;
1566
+ readonly archive_sha256: Schema.String;
1567
+ }>;
1568
+ export type AuthCreatePublishAuthorizationRequest201 = {
1569
+ readonly request_id: PublishAuthorizationRequestId;
1570
+ readonly authorization_url: string;
1571
+ readonly expires_at: IsoDateTimeString;
1572
+ };
1573
+ export declare const AuthCreatePublishAuthorizationRequest201: Schema.Struct<{
1574
+ readonly request_id: Schema.String;
1575
+ readonly authorization_url: Schema.String;
1576
+ readonly expires_at: Schema.String;
1577
+ }>;
1578
+ export type AuthCreatePublishAuthorizationRequest400 = ProblemDetails | DecodeErrorResponse;
1579
+ export declare const AuthCreatePublishAuthorizationRequest400: Schema.Union<readonly [Schema.Struct<{
1580
+ readonly type: Schema.String;
1581
+ readonly title: Schema.String;
1582
+ readonly status: Schema.Number;
1583
+ readonly detail: Schema.String;
1584
+ readonly instance: Schema.optionalKey<Schema.String>;
1585
+ readonly code: Schema.String;
1586
+ readonly details: Schema.optionalKey<Schema.Struct<{
1587
+ readonly retryable: Schema.Boolean;
1588
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
1589
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
1590
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
1591
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1592
+ }>>;
1593
+ }>, Schema.Struct<{
1594
+ readonly kind: Schema.Literal<"DecodeErrorResponse">;
1595
+ readonly type: Schema.String;
1596
+ readonly title: Schema.String;
1597
+ readonly status: Schema.Number;
1598
+ readonly detail: Schema.String;
1599
+ readonly instance: Schema.optionalKey<Schema.String>;
1600
+ readonly code: Schema.String;
1601
+ }>]>;
1399
1602
  export type TokensListParams = {
1400
1603
  readonly cursor?: string | null;
1401
1604
  readonly limit?: string | null;
@@ -1453,7 +1656,7 @@ export declare const TokensList403: Schema.Struct<{
1453
1656
  readonly status: Schema.Number;
1454
1657
  readonly detail: Schema.String;
1455
1658
  readonly instance: Schema.optionalKey<Schema.String>;
1456
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1659
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
1457
1660
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1458
1661
  readonly requiredScope: Schema.String;
1459
1662
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -1527,7 +1730,7 @@ export declare const TokensCreate403: Schema.Union<readonly [Schema.Struct<{
1527
1730
  readonly status: Schema.Number;
1528
1731
  readonly detail: Schema.String;
1529
1732
  readonly instance: Schema.optionalKey<Schema.String>;
1530
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1733
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
1531
1734
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1532
1735
  readonly requiredScope: Schema.String;
1533
1736
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -1549,7 +1752,7 @@ export declare const TokensCreate403: Schema.Union<readonly [Schema.Struct<{
1549
1752
  readonly status: Schema.Number;
1550
1753
  readonly detail: Schema.String;
1551
1754
  readonly instance: Schema.optionalKey<Schema.String>;
1552
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1755
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
1553
1756
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1554
1757
  readonly requiredScope: Schema.String;
1555
1758
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -1625,7 +1828,7 @@ export declare const TokensDelete403: Schema.Struct<{
1625
1828
  readonly status: Schema.Number;
1626
1829
  readonly detail: Schema.String;
1627
1830
  readonly instance: Schema.optionalKey<Schema.String>;
1628
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1831
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
1629
1832
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1630
1833
  readonly requiredScope: Schema.String;
1631
1834
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -1797,7 +2000,7 @@ export declare const OrgsTeamsCreateTeam403: Schema.Struct<{
1797
2000
  readonly status: Schema.Number;
1798
2001
  readonly detail: Schema.String;
1799
2002
  readonly instance: Schema.optionalKey<Schema.String>;
1800
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2003
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
1801
2004
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1802
2005
  readonly requiredScope: Schema.String;
1803
2006
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -1915,7 +2118,7 @@ export declare const OrgsTeamsDeleteTeam403: Schema.Struct<{
1915
2118
  readonly status: Schema.Number;
1916
2119
  readonly detail: Schema.String;
1917
2120
  readonly instance: Schema.optionalKey<Schema.String>;
1918
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2121
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
1919
2122
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1920
2123
  readonly requiredScope: Schema.String;
1921
2124
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -2010,7 +2213,7 @@ export declare const OrgsTeamsUpdateTeam403: Schema.Struct<{
2010
2213
  readonly status: Schema.Number;
2011
2214
  readonly detail: Schema.String;
2012
2215
  readonly instance: Schema.optionalKey<Schema.String>;
2013
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2216
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
2014
2217
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2015
2218
  readonly requiredScope: Schema.String;
2016
2219
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -2150,7 +2353,7 @@ export declare const OrgsTeamsAddTeamMember403: Schema.Struct<{
2150
2353
  readonly status: Schema.Number;
2151
2354
  readonly detail: Schema.String;
2152
2355
  readonly instance: Schema.optionalKey<Schema.String>;
2153
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2356
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
2154
2357
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2155
2358
  readonly requiredScope: Schema.String;
2156
2359
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -2232,7 +2435,7 @@ export declare const OrgsTeamsRemoveTeamMember403: Schema.Struct<{
2232
2435
  readonly status: Schema.Number;
2233
2436
  readonly detail: Schema.String;
2234
2437
  readonly instance: Schema.optionalKey<Schema.String>;
2235
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2438
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
2236
2439
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2237
2440
  readonly requiredScope: Schema.String;
2238
2441
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -2310,7 +2513,7 @@ export declare const OrgsTeamsChangeTeamMemberRole403: Schema.Struct<{
2310
2513
  readonly status: Schema.Number;
2311
2514
  readonly detail: Schema.String;
2312
2515
  readonly instance: Schema.optionalKey<Schema.String>;
2313
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2516
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
2314
2517
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2315
2518
  readonly requiredScope: Schema.String;
2316
2519
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -2452,7 +2655,7 @@ export type ExtensionsGet200 = {
2452
2655
  readonly name: ExtensionName;
2453
2656
  readonly owner: Handle;
2454
2657
  readonly type: ExtensionType;
2455
- readonly publisher_binding_id?: string;
2658
+ readonly publisher_binding_id: string;
2456
2659
  readonly description?: string | null;
2457
2660
  readonly repository?: Repository | null;
2458
2661
  readonly bugs?: Bugs | null;
@@ -2478,7 +2681,7 @@ export declare const ExtensionsGet200: Schema.Struct<{
2478
2681
  readonly name: Schema.String;
2479
2682
  readonly owner: Schema.String;
2480
2683
  readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
2481
- readonly publisher_binding_id: Schema.optionalKey<Schema.String>;
2684
+ readonly publisher_binding_id: Schema.String;
2482
2685
  readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2483
2686
  readonly repository: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2484
2687
  readonly url: Schema.String;
@@ -2622,7 +2825,7 @@ export declare const ExtensionsDeleteExtension403: Schema.Union<readonly [Schema
2622
2825
  readonly status: Schema.Number;
2623
2826
  readonly detail: Schema.String;
2624
2827
  readonly instance: Schema.optionalKey<Schema.String>;
2625
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2828
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
2626
2829
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2627
2830
  readonly requiredScope: Schema.String;
2628
2831
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -2644,7 +2847,7 @@ export declare const ExtensionsDeleteExtension403: Schema.Union<readonly [Schema
2644
2847
  readonly status: Schema.Number;
2645
2848
  readonly detail: Schema.String;
2646
2849
  readonly instance: Schema.optionalKey<Schema.String>;
2647
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2850
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
2648
2851
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2649
2852
  readonly requiredScope: Schema.String;
2650
2853
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -2764,7 +2967,7 @@ export declare const ExtensionsUpdateVisibility403: Schema.Union<readonly [Schem
2764
2967
  readonly status: Schema.Number;
2765
2968
  readonly detail: Schema.String;
2766
2969
  readonly instance: Schema.optionalKey<Schema.String>;
2767
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2970
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
2768
2971
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2769
2972
  readonly requiredScope: Schema.String;
2770
2973
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -2786,7 +2989,7 @@ export declare const ExtensionsUpdateVisibility403: Schema.Union<readonly [Schem
2786
2989
  readonly status: Schema.Number;
2787
2990
  readonly detail: Schema.String;
2788
2991
  readonly instance: Schema.optionalKey<Schema.String>;
2789
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2992
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
2790
2993
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2791
2994
  readonly requiredScope: Schema.String;
2792
2995
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -2822,7 +3025,7 @@ export type ExtensionsGetVersion200 = {
2822
3025
  readonly name: ExtensionName;
2823
3026
  readonly owner: Handle;
2824
3027
  readonly type: ExtensionType;
2825
- readonly publisher_binding_id?: string;
3028
+ readonly publisher_binding_id: string;
2826
3029
  readonly version: Version;
2827
3030
  readonly status: "pending" | "available" | "failed";
2828
3031
  readonly published: IsoDateTimeString;
@@ -2844,7 +3047,7 @@ export declare const ExtensionsGetVersion200: Schema.Struct<{
2844
3047
  readonly name: Schema.String;
2845
3048
  readonly owner: Schema.String;
2846
3049
  readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
2847
- readonly publisher_binding_id: Schema.optionalKey<Schema.String>;
3050
+ readonly publisher_binding_id: Schema.String;
2848
3051
  readonly version: Schema.String;
2849
3052
  readonly status: Schema.Literals<readonly ["pending", "available", "failed"]>;
2850
3053
  readonly published: Schema.String;
@@ -2916,14 +3119,6 @@ export declare const ExtensionsGetVersion410: Schema.Struct<{
2916
3119
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2917
3120
  }>>;
2918
3121
  }>;
2919
- export type ExtensionsPublishVersionRequestFormData = {
2920
- readonly archive: string;
2921
- readonly integrity?: string | null;
2922
- };
2923
- export declare const ExtensionsPublishVersionRequestFormData: Schema.Struct<{
2924
- readonly archive: Schema.String;
2925
- readonly integrity: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2926
- }>;
2927
3122
  export type ExtensionsPublishVersion201 = {
2928
3123
  readonly owner: Handle;
2929
3124
  readonly type: ExtensionType;
@@ -2996,7 +3191,7 @@ export declare const ExtensionsPublishVersion403: Schema.Union<readonly [Schema.
2996
3191
  readonly status: Schema.Number;
2997
3192
  readonly detail: Schema.String;
2998
3193
  readonly instance: Schema.optionalKey<Schema.String>;
2999
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3194
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
3000
3195
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3001
3196
  readonly requiredScope: Schema.String;
3002
3197
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3018,7 +3213,7 @@ export declare const ExtensionsPublishVersion403: Schema.Union<readonly [Schema.
3018
3213
  readonly status: Schema.Number;
3019
3214
  readonly detail: Schema.String;
3020
3215
  readonly instance: Schema.optionalKey<Schema.String>;
3021
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3216
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
3022
3217
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3023
3218
  readonly requiredScope: Schema.String;
3024
3219
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3271,7 +3466,7 @@ export declare const ExtensionsGetDeletionOperation403: Schema.Union<readonly [S
3271
3466
  readonly status: Schema.Number;
3272
3467
  readonly detail: Schema.String;
3273
3468
  readonly instance: Schema.optionalKey<Schema.String>;
3274
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3469
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
3275
3470
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3276
3471
  readonly requiredScope: Schema.String;
3277
3472
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3293,7 +3488,7 @@ export declare const ExtensionsGetDeletionOperation403: Schema.Union<readonly [S
3293
3488
  readonly status: Schema.Number;
3294
3489
  readonly detail: Schema.String;
3295
3490
  readonly instance: Schema.optionalKey<Schema.String>;
3296
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3491
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
3297
3492
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3298
3493
  readonly requiredScope: Schema.String;
3299
3494
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3332,27 +3527,11 @@ export declare const ExtensionsDownloadArchive400: Schema.Struct<{
3332
3527
  readonly title: Schema.String;
3333
3528
  readonly status: Schema.Number;
3334
3529
  readonly detail: Schema.String;
3335
- readonly instance: Schema.optionalKey<Schema.String>;
3336
- readonly code: Schema.String;
3337
- }>;
3338
- export type ExtensionsDownloadArchive404 = ProblemDetails;
3339
- export declare const ExtensionsDownloadArchive404: Schema.Struct<{
3340
- readonly type: Schema.String;
3341
- readonly title: Schema.String;
3342
- readonly status: Schema.Number;
3343
- readonly detail: Schema.String;
3344
- readonly instance: Schema.optionalKey<Schema.String>;
3345
- readonly code: Schema.String;
3346
- readonly details: Schema.optionalKey<Schema.Struct<{
3347
- readonly retryable: Schema.Boolean;
3348
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
3349
- readonly requiredScope: Schema.optionalKey<Schema.String>;
3350
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3351
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3352
- }>>;
3530
+ readonly instance: Schema.optionalKey<Schema.String>;
3531
+ readonly code: Schema.String;
3353
3532
  }>;
3354
- export type ExtensionsDownloadArchive410 = ProblemDetails;
3355
- export declare const ExtensionsDownloadArchive410: Schema.Struct<{
3533
+ export type ExtensionsDownloadArchive404 = ProblemDetails;
3534
+ export declare const ExtensionsDownloadArchive404: Schema.Struct<{
3356
3535
  readonly type: Schema.String;
3357
3536
  readonly title: Schema.String;
3358
3537
  readonly status: Schema.Number;
@@ -3435,7 +3614,7 @@ export declare const ExtensionsDeprecate403: Schema.Struct<{
3435
3614
  readonly status: Schema.Number;
3436
3615
  readonly detail: Schema.String;
3437
3616
  readonly instance: Schema.optionalKey<Schema.String>;
3438
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3617
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
3439
3618
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3440
3619
  readonly requiredScope: Schema.String;
3441
3620
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3515,7 +3694,7 @@ export declare const ExtensionsUndeprecate403: Schema.Struct<{
3515
3694
  readonly status: Schema.Number;
3516
3695
  readonly detail: Schema.String;
3517
3696
  readonly instance: Schema.optionalKey<Schema.String>;
3518
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3697
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
3519
3698
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3520
3699
  readonly requiredScope: Schema.String;
3521
3700
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3618,7 +3797,7 @@ export declare const ExtensionsYankVersion403: Schema.Struct<{
3618
3797
  readonly status: Schema.Number;
3619
3798
  readonly detail: Schema.String;
3620
3799
  readonly instance: Schema.optionalKey<Schema.String>;
3621
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3800
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
3622
3801
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3623
3802
  readonly requiredScope: Schema.String;
3624
3803
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3716,7 +3895,7 @@ export declare const ExtensionsUnyankVersion403: Schema.Struct<{
3716
3895
  readonly status: Schema.Number;
3717
3896
  readonly detail: Schema.String;
3718
3897
  readonly instance: Schema.optionalKey<Schema.String>;
3719
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3898
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
3720
3899
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3721
3900
  readonly requiredScope: Schema.String;
3722
3901
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3808,7 +3987,7 @@ export declare const ExtensionsYankAvailableVersions403: Schema.Struct<{
3808
3987
  readonly status: Schema.Number;
3809
3988
  readonly detail: Schema.String;
3810
3989
  readonly instance: Schema.optionalKey<Schema.String>;
3811
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3990
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
3812
3991
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3813
3992
  readonly requiredScope: Schema.String;
3814
3993
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3892,7 +4071,7 @@ export declare const ExtensionsGetDeletionPreview403: Schema.Union<readonly [Sch
3892
4071
  readonly status: Schema.Number;
3893
4072
  readonly detail: Schema.String;
3894
4073
  readonly instance: Schema.optionalKey<Schema.String>;
3895
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4074
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
3896
4075
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3897
4076
  readonly requiredScope: Schema.String;
3898
4077
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3914,7 +4093,7 @@ export declare const ExtensionsGetDeletionPreview403: Schema.Union<readonly [Sch
3914
4093
  readonly status: Schema.Number;
3915
4094
  readonly detail: Schema.String;
3916
4095
  readonly instance: Schema.optionalKey<Schema.String>;
3917
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4096
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
3918
4097
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3919
4098
  readonly requiredScope: Schema.String;
3920
4099
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -4015,7 +4194,7 @@ export declare const AdminExtensionsPurgeExtensionVersion403: Schema.Union<reado
4015
4194
  readonly status: Schema.Number;
4016
4195
  readonly detail: Schema.String;
4017
4196
  readonly instance: Schema.optionalKey<Schema.String>;
4018
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4197
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
4019
4198
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4020
4199
  readonly requiredScope: Schema.String;
4021
4200
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -4037,7 +4216,7 @@ export declare const AdminExtensionsPurgeExtensionVersion403: Schema.Union<reado
4037
4216
  readonly status: Schema.Number;
4038
4217
  readonly detail: Schema.String;
4039
4218
  readonly instance: Schema.optionalKey<Schema.String>;
4040
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4219
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
4041
4220
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4042
4221
  readonly requiredScope: Schema.String;
4043
4222
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -4085,8 +4264,24 @@ export declare const AdminExtensionsPurgeExtensionVersion409: Schema.Struct<{
4085
4264
  readonly version: Schema.String;
4086
4265
  }>>;
4087
4266
  }>;
4267
+ export type LibrariesListLibrariesParams = {
4268
+ readonly limit?: string | null;
4269
+ readonly offset?: string | null;
4270
+ readonly q?: string | null;
4271
+ readonly "filter[visibility]"?: LibraryVisibility | null;
4272
+ };
4273
+ export declare const LibrariesListLibrariesParams: Schema.Struct<{
4274
+ readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4275
+ readonly offset: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4276
+ readonly q: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4277
+ readonly "filter[visibility]": Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["public", "private"]>, Schema.Null]>>;
4278
+ }>;
4088
4279
  export type LibrariesListLibraries200 = {
4089
4280
  readonly libraries: ReadonlyArray<Library>;
4281
+ readonly total: number;
4282
+ readonly limit: number;
4283
+ readonly offset: number;
4284
+ readonly viewerRelative: true;
4090
4285
  };
4091
4286
  export declare const LibrariesListLibraries200: Schema.Struct<{
4092
4287
  readonly libraries: Schema.$Array<Schema.Struct<{
@@ -4114,6 +4309,10 @@ export declare const LibrariesListLibraries200: Schema.Struct<{
4114
4309
  readonly createdAt: Schema.String;
4115
4310
  readonly updatedAt: Schema.String;
4116
4311
  }>>;
4312
+ readonly total: Schema.Number;
4313
+ readonly limit: Schema.Number;
4314
+ readonly offset: Schema.Number;
4315
+ readonly viewerRelative: Schema.Literal<true>;
4117
4316
  }>;
4118
4317
  export type LibrariesListLibraries400 = DecodeErrorResponse;
4119
4318
  export declare const LibrariesListLibraries400: Schema.Struct<{
@@ -4222,7 +4421,7 @@ export declare const LibrariesCreateLibrary403: Schema.Union<readonly [Schema.St
4222
4421
  readonly status: Schema.Number;
4223
4422
  readonly detail: Schema.String;
4224
4423
  readonly instance: Schema.optionalKey<Schema.String>;
4225
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4424
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
4226
4425
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4227
4426
  readonly requiredScope: Schema.String;
4228
4427
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -4244,7 +4443,7 @@ export declare const LibrariesCreateLibrary403: Schema.Union<readonly [Schema.St
4244
4443
  readonly status: Schema.Number;
4245
4444
  readonly detail: Schema.String;
4246
4445
  readonly instance: Schema.optionalKey<Schema.String>;
4247
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4446
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
4248
4447
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4249
4448
  readonly requiredScope: Schema.String;
4250
4449
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -4344,7 +4543,8 @@ export declare const LibrariesGetLibrary200: Schema.Struct<{
4344
4543
  readonly extensionName: Schema.String;
4345
4544
  readonly addedAt: Schema.String;
4346
4545
  }>>;
4347
- readonly hiddenMemberCount: Schema.Number;
4546
+ readonly accessibleMemberCount: Schema.Number;
4547
+ readonly contentsMayVary: Schema.Literal<true>;
4348
4548
  }>;
4349
4549
  export type LibrariesGetLibrary400 = DecodeErrorResponse;
4350
4550
  export declare const LibrariesGetLibrary400: Schema.Struct<{
@@ -4422,7 +4622,7 @@ export declare const LibrariesDeleteLibrary403: Schema.Union<readonly [Schema.St
4422
4622
  readonly status: Schema.Number;
4423
4623
  readonly detail: Schema.String;
4424
4624
  readonly instance: Schema.optionalKey<Schema.String>;
4425
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4625
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
4426
4626
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4427
4627
  readonly requiredScope: Schema.String;
4428
4628
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -4444,7 +4644,7 @@ export declare const LibrariesDeleteLibrary403: Schema.Union<readonly [Schema.St
4444
4644
  readonly status: Schema.Number;
4445
4645
  readonly detail: Schema.String;
4446
4646
  readonly instance: Schema.optionalKey<Schema.String>;
4447
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4647
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
4448
4648
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4449
4649
  readonly requiredScope: Schema.String;
4450
4650
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -4571,7 +4771,7 @@ export declare const LibrariesUpdateLibrary403: Schema.Union<readonly [Schema.St
4571
4771
  readonly status: Schema.Number;
4572
4772
  readonly detail: Schema.String;
4573
4773
  readonly instance: Schema.optionalKey<Schema.String>;
4574
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4774
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
4575
4775
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4576
4776
  readonly requiredScope: Schema.String;
4577
4777
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -4593,7 +4793,7 @@ export declare const LibrariesUpdateLibrary403: Schema.Union<readonly [Schema.St
4593
4793
  readonly status: Schema.Number;
4594
4794
  readonly detail: Schema.String;
4595
4795
  readonly instance: Schema.optionalKey<Schema.String>;
4596
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
4796
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
4597
4797
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4598
4798
  readonly requiredScope: Schema.String;
4599
4799
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -4641,6 +4841,276 @@ export declare const LibrariesUpdateLibrary422: Schema.Struct<{
4641
4841
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4642
4842
  }>>;
4643
4843
  }>;
4844
+ export type LibrariesGetLibraryResolution200 = LibraryResolution;
4845
+ export declare const LibrariesGetLibraryResolution200: Schema.Struct<{
4846
+ readonly libraryId: Schema.String;
4847
+ readonly reference: Schema.String;
4848
+ readonly name: Schema.String;
4849
+ readonly updatedAt: Schema.String;
4850
+ readonly membershipDigest: Schema.String;
4851
+ readonly viewerRelative: Schema.Literal<true>;
4852
+ readonly members: Schema.$Array<Schema.Struct<{
4853
+ readonly memberId: Schema.String;
4854
+ readonly extensionId: Schema.String;
4855
+ readonly extensionVersionId: Schema.String;
4856
+ readonly owner: Schema.String;
4857
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
4858
+ readonly name: Schema.String;
4859
+ readonly version: Schema.String;
4860
+ readonly addedAt: Schema.String;
4861
+ readonly publishedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4862
+ }>>;
4863
+ }>;
4864
+ export type LibrariesGetLibraryResolution400 = DecodeErrorResponse;
4865
+ export declare const LibrariesGetLibraryResolution400: Schema.Struct<{
4866
+ readonly kind: Schema.Literal<"DecodeErrorResponse">;
4867
+ readonly type: Schema.String;
4868
+ readonly title: Schema.String;
4869
+ readonly status: Schema.Number;
4870
+ readonly detail: Schema.String;
4871
+ readonly instance: Schema.optionalKey<Schema.String>;
4872
+ readonly code: Schema.String;
4873
+ }>;
4874
+ export type LibrariesGetLibraryResolution404 = ProblemDetails;
4875
+ export declare const LibrariesGetLibraryResolution404: Schema.Struct<{
4876
+ readonly type: Schema.String;
4877
+ readonly title: Schema.String;
4878
+ readonly status: Schema.Number;
4879
+ readonly detail: Schema.String;
4880
+ readonly instance: Schema.optionalKey<Schema.String>;
4881
+ readonly code: Schema.String;
4882
+ readonly details: Schema.optionalKey<Schema.Struct<{
4883
+ readonly retryable: Schema.Boolean;
4884
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4885
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4886
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4887
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4888
+ }>>;
4889
+ }>;
4890
+ export type LibrariesGetLibraryResolution422 = ProblemDetails;
4891
+ export declare const LibrariesGetLibraryResolution422: Schema.Struct<{
4892
+ readonly type: Schema.String;
4893
+ readonly title: Schema.String;
4894
+ readonly status: Schema.Number;
4895
+ readonly detail: Schema.String;
4896
+ readonly instance: Schema.optionalKey<Schema.String>;
4897
+ readonly code: Schema.String;
4898
+ readonly details: Schema.optionalKey<Schema.Struct<{
4899
+ readonly retryable: Schema.Boolean;
4900
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4901
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4902
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4903
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4904
+ }>>;
4905
+ }>;
4906
+ export type LibrariesListLibraryMembersParams = {
4907
+ readonly limit?: string | null;
4908
+ readonly offset?: string | null;
4909
+ readonly q?: string | null;
4910
+ readonly "filter[type]"?: ExtensionType | null;
4911
+ };
4912
+ export declare const LibrariesListLibraryMembersParams: Schema.Struct<{
4913
+ readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4914
+ readonly offset: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4915
+ readonly q: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4916
+ readonly "filter[type]": Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>, Schema.Null]>>;
4917
+ }>;
4918
+ export type LibrariesListLibraryMembers200 = ListLibraryMembersResponse;
4919
+ export declare const LibrariesListLibraryMembers200: Schema.Struct<{
4920
+ readonly members: Schema.$Array<Schema.Struct<{
4921
+ readonly id: Schema.String;
4922
+ readonly libraryId: Schema.String;
4923
+ readonly extensionId: Schema.String;
4924
+ readonly extensionOwner: Schema.String;
4925
+ readonly extensionType: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
4926
+ readonly extensionName: Schema.String;
4927
+ readonly addedAt: Schema.String;
4928
+ }>>;
4929
+ readonly total: Schema.Number;
4930
+ readonly limit: Schema.Number;
4931
+ readonly offset: Schema.Number;
4932
+ readonly viewerRelative: Schema.Literal<true>;
4933
+ }>;
4934
+ export type LibrariesListLibraryMembers400 = DecodeErrorResponse;
4935
+ export declare const LibrariesListLibraryMembers400: Schema.Struct<{
4936
+ readonly kind: Schema.Literal<"DecodeErrorResponse">;
4937
+ readonly type: Schema.String;
4938
+ readonly title: Schema.String;
4939
+ readonly status: Schema.Number;
4940
+ readonly detail: Schema.String;
4941
+ readonly instance: Schema.optionalKey<Schema.String>;
4942
+ readonly code: Schema.String;
4943
+ }>;
4944
+ export type LibrariesListLibraryMembers404 = ProblemDetails;
4945
+ export declare const LibrariesListLibraryMembers404: Schema.Struct<{
4946
+ readonly type: Schema.String;
4947
+ readonly title: Schema.String;
4948
+ readonly status: Schema.Number;
4949
+ readonly detail: Schema.String;
4950
+ readonly instance: Schema.optionalKey<Schema.String>;
4951
+ readonly code: Schema.String;
4952
+ readonly details: Schema.optionalKey<Schema.Struct<{
4953
+ readonly retryable: Schema.Boolean;
4954
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4955
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4956
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4957
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4958
+ }>>;
4959
+ }>;
4960
+ export type LibrariesListLibraryMembers422 = ProblemDetails;
4961
+ export declare const LibrariesListLibraryMembers422: Schema.Struct<{
4962
+ readonly type: Schema.String;
4963
+ readonly title: Schema.String;
4964
+ readonly status: Schema.Number;
4965
+ readonly detail: Schema.String;
4966
+ readonly instance: Schema.optionalKey<Schema.String>;
4967
+ readonly code: Schema.String;
4968
+ readonly details: Schema.optionalKey<Schema.Struct<{
4969
+ readonly retryable: Schema.Boolean;
4970
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4971
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4972
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4973
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4974
+ }>>;
4975
+ }>;
4976
+ export type LibrariesPatchLibraryMembersRequestJson = PatchLibraryMembersBody;
4977
+ export declare const LibrariesPatchLibraryMembersRequestJson: Schema.Struct<{
4978
+ readonly add: Schema.$Array<Schema.Struct<{
4979
+ readonly owner: Schema.String;
4980
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
4981
+ readonly name: Schema.String;
4982
+ }>>;
4983
+ readonly remove: Schema.$Array<Schema.Struct<{
4984
+ readonly owner: Schema.String;
4985
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
4986
+ readonly name: Schema.String;
4987
+ }>>;
4988
+ }>;
4989
+ export type LibrariesPatchLibraryMembers200 = PatchLibraryMembersResponse;
4990
+ export declare const LibrariesPatchLibraryMembers200: Schema.Struct<{
4991
+ readonly added: Schema.$Array<Schema.Struct<{
4992
+ readonly owner: Schema.String;
4993
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
4994
+ readonly name: Schema.String;
4995
+ }>>;
4996
+ readonly removed: Schema.$Array<Schema.Struct<{
4997
+ readonly owner: Schema.String;
4998
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
4999
+ readonly name: Schema.String;
5000
+ }>>;
5001
+ readonly unchanged: Schema.$Array<Schema.Struct<{
5002
+ readonly action: Schema.Literals<readonly ["add", "remove"]>;
5003
+ readonly member: Schema.Struct<{
5004
+ readonly owner: Schema.String;
5005
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
5006
+ readonly name: Schema.String;
5007
+ }>;
5008
+ }>>;
5009
+ }>;
5010
+ export type LibrariesPatchLibraryMembers400 = DecodeErrorResponse;
5011
+ export declare const LibrariesPatchLibraryMembers400: Schema.Struct<{
5012
+ readonly kind: Schema.Literal<"DecodeErrorResponse">;
5013
+ readonly type: Schema.String;
5014
+ readonly title: Schema.String;
5015
+ readonly status: Schema.Number;
5016
+ readonly detail: Schema.String;
5017
+ readonly instance: Schema.optionalKey<Schema.String>;
5018
+ readonly code: Schema.String;
5019
+ }>;
5020
+ export type LibrariesPatchLibraryMembers401 = ProblemDetails;
5021
+ export declare const LibrariesPatchLibraryMembers401: Schema.Struct<{
5022
+ readonly type: Schema.String;
5023
+ readonly title: Schema.String;
5024
+ readonly status: Schema.Number;
5025
+ readonly detail: Schema.String;
5026
+ readonly instance: Schema.optionalKey<Schema.String>;
5027
+ readonly code: Schema.String;
5028
+ readonly details: Schema.optionalKey<Schema.Struct<{
5029
+ readonly retryable: Schema.Boolean;
5030
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
5031
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
5032
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
5033
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5034
+ }>>;
5035
+ }>;
5036
+ export type LibrariesPatchLibraryMembers403 = ForbiddenError | ForbiddenError;
5037
+ export declare const LibrariesPatchLibraryMembers403: Schema.Union<readonly [Schema.Struct<{
5038
+ readonly kind: Schema.Literal<"ForbiddenError">;
5039
+ readonly type: Schema.String;
5040
+ readonly title: Schema.String;
5041
+ readonly status: Schema.Number;
5042
+ readonly detail: Schema.String;
5043
+ readonly instance: Schema.optionalKey<Schema.String>;
5044
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
5045
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
5046
+ readonly requiredScope: Schema.String;
5047
+ readonly grantedScopes: Schema.$Array<Schema.String>;
5048
+ }>, Schema.Struct<{
5049
+ readonly requiredScope: Schema.String;
5050
+ readonly tokenScopes: Schema.$Array<Schema.String>;
5051
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
5052
+ }>, Schema.Struct<{
5053
+ readonly retryable: Schema.Boolean;
5054
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
5055
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
5056
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
5057
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5058
+ }>]>>;
5059
+ }>, Schema.Struct<{
5060
+ readonly kind: Schema.Literal<"ForbiddenError">;
5061
+ readonly type: Schema.String;
5062
+ readonly title: Schema.String;
5063
+ readonly status: Schema.Number;
5064
+ readonly detail: Schema.String;
5065
+ readonly instance: Schema.optionalKey<Schema.String>;
5066
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
5067
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
5068
+ readonly requiredScope: Schema.String;
5069
+ readonly grantedScopes: Schema.$Array<Schema.String>;
5070
+ }>, Schema.Struct<{
5071
+ readonly requiredScope: Schema.String;
5072
+ readonly tokenScopes: Schema.$Array<Schema.String>;
5073
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
5074
+ }>, Schema.Struct<{
5075
+ readonly retryable: Schema.Boolean;
5076
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
5077
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
5078
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
5079
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5080
+ }>]>>;
5081
+ }>]>;
5082
+ export type LibrariesPatchLibraryMembers404 = ProblemDetails;
5083
+ export declare const LibrariesPatchLibraryMembers404: Schema.Struct<{
5084
+ readonly type: Schema.String;
5085
+ readonly title: Schema.String;
5086
+ readonly status: Schema.Number;
5087
+ readonly detail: Schema.String;
5088
+ readonly instance: Schema.optionalKey<Schema.String>;
5089
+ readonly code: Schema.String;
5090
+ readonly details: Schema.optionalKey<Schema.Struct<{
5091
+ readonly retryable: Schema.Boolean;
5092
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
5093
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
5094
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
5095
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5096
+ }>>;
5097
+ }>;
5098
+ export type LibrariesPatchLibraryMembers422 = ProblemDetails;
5099
+ export declare const LibrariesPatchLibraryMembers422: Schema.Struct<{
5100
+ readonly type: Schema.String;
5101
+ readonly title: Schema.String;
5102
+ readonly status: Schema.Number;
5103
+ readonly detail: Schema.String;
5104
+ readonly instance: Schema.optionalKey<Schema.String>;
5105
+ readonly code: Schema.String;
5106
+ readonly details: Schema.optionalKey<Schema.Struct<{
5107
+ readonly retryable: Schema.Boolean;
5108
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
5109
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
5110
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
5111
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5112
+ }>>;
5113
+ }>;
4644
5114
  export type LibrariesSetLibraryVisibilityRequestJson = PatchLibraryVisibilityBody;
4645
5115
  export declare const LibrariesSetLibraryVisibilityRequestJson: Schema.Struct<{
4646
5116
  readonly visibility: Schema.Literals<readonly ["public", "private"]>;
@@ -4705,7 +5175,7 @@ export declare const LibrariesSetLibraryVisibility403: Schema.Union<readonly [Sc
4705
5175
  readonly status: Schema.Number;
4706
5176
  readonly detail: Schema.String;
4707
5177
  readonly instance: Schema.optionalKey<Schema.String>;
4708
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
5178
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
4709
5179
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4710
5180
  readonly requiredScope: Schema.String;
4711
5181
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -4727,7 +5197,7 @@ export declare const LibrariesSetLibraryVisibility403: Schema.Union<readonly [Sc
4727
5197
  readonly status: Schema.Number;
4728
5198
  readonly detail: Schema.String;
4729
5199
  readonly instance: Schema.optionalKey<Schema.String>;
4730
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
5200
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
4731
5201
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4732
5202
  readonly requiredScope: Schema.String;
4733
5203
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -4833,7 +5303,7 @@ export declare const LibrariesSetLibraryMaintainer403: Schema.Union<readonly [Sc
4833
5303
  readonly status: Schema.Number;
4834
5304
  readonly detail: Schema.String;
4835
5305
  readonly instance: Schema.optionalKey<Schema.String>;
4836
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
5306
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
4837
5307
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4838
5308
  readonly requiredScope: Schema.String;
4839
5309
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -4855,7 +5325,7 @@ export declare const LibrariesSetLibraryMaintainer403: Schema.Union<readonly [Sc
4855
5325
  readonly status: Schema.Number;
4856
5326
  readonly detail: Schema.String;
4857
5327
  readonly instance: Schema.optionalKey<Schema.String>;
4858
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
5328
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
4859
5329
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4860
5330
  readonly requiredScope: Schema.String;
4861
5331
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -4953,7 +5423,7 @@ export declare const LibrariesClearLibraryMaintainer403: Schema.Union<readonly [
4953
5423
  readonly status: Schema.Number;
4954
5424
  readonly detail: Schema.String;
4955
5425
  readonly instance: Schema.optionalKey<Schema.String>;
4956
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
5426
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
4957
5427
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4958
5428
  readonly requiredScope: Schema.String;
4959
5429
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -4975,7 +5445,7 @@ export declare const LibrariesClearLibraryMaintainer403: Schema.Union<readonly [
4975
5445
  readonly status: Schema.Number;
4976
5446
  readonly detail: Schema.String;
4977
5447
  readonly instance: Schema.optionalKey<Schema.String>;
4978
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
5448
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
4979
5449
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4980
5450
  readonly requiredScope: Schema.String;
4981
5451
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -5067,7 +5537,7 @@ export declare const LibrariesAddLibraryMember403: Schema.Union<readonly [Schema
5067
5537
  readonly status: Schema.Number;
5068
5538
  readonly detail: Schema.String;
5069
5539
  readonly instance: Schema.optionalKey<Schema.String>;
5070
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
5540
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
5071
5541
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
5072
5542
  readonly requiredScope: Schema.String;
5073
5543
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -5089,7 +5559,7 @@ export declare const LibrariesAddLibraryMember403: Schema.Union<readonly [Schema
5089
5559
  readonly status: Schema.Number;
5090
5560
  readonly detail: Schema.String;
5091
5561
  readonly instance: Schema.optionalKey<Schema.String>;
5092
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
5562
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
5093
5563
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
5094
5564
  readonly requiredScope: Schema.String;
5095
5565
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -5187,7 +5657,7 @@ export declare const LibrariesRemoveLibraryMember403: Schema.Union<readonly [Sch
5187
5657
  readonly status: Schema.Number;
5188
5658
  readonly detail: Schema.String;
5189
5659
  readonly instance: Schema.optionalKey<Schema.String>;
5190
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
5660
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
5191
5661
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
5192
5662
  readonly requiredScope: Schema.String;
5193
5663
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -5209,7 +5679,7 @@ export declare const LibrariesRemoveLibraryMember403: Schema.Union<readonly [Sch
5209
5679
  readonly status: Schema.Number;
5210
5680
  readonly detail: Schema.String;
5211
5681
  readonly instance: Schema.optionalKey<Schema.String>;
5212
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
5682
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
5213
5683
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
5214
5684
  readonly requiredScope: Schema.String;
5215
5685
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -5307,7 +5777,7 @@ export declare const MaintainerGetMaintainer403: Schema.Union<readonly [Schema.S
5307
5777
  readonly status: Schema.Number;
5308
5778
  readonly detail: Schema.String;
5309
5779
  readonly instance: Schema.optionalKey<Schema.String>;
5310
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
5780
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
5311
5781
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
5312
5782
  readonly requiredScope: Schema.String;
5313
5783
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -5329,7 +5799,7 @@ export declare const MaintainerGetMaintainer403: Schema.Union<readonly [Schema.S
5329
5799
  readonly status: Schema.Number;
5330
5800
  readonly detail: Schema.String;
5331
5801
  readonly instance: Schema.optionalKey<Schema.String>;
5332
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
5802
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
5333
5803
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
5334
5804
  readonly requiredScope: Schema.String;
5335
5805
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -5419,7 +5889,7 @@ export declare const MaintainerSetMaintainer403: Schema.Union<readonly [Schema.S
5419
5889
  readonly status: Schema.Number;
5420
5890
  readonly detail: Schema.String;
5421
5891
  readonly instance: Schema.optionalKey<Schema.String>;
5422
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
5892
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
5423
5893
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
5424
5894
  readonly requiredScope: Schema.String;
5425
5895
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -5441,7 +5911,7 @@ export declare const MaintainerSetMaintainer403: Schema.Union<readonly [Schema.S
5441
5911
  readonly status: Schema.Number;
5442
5912
  readonly detail: Schema.String;
5443
5913
  readonly instance: Schema.optionalKey<Schema.String>;
5444
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
5914
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
5445
5915
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
5446
5916
  readonly requiredScope: Schema.String;
5447
5917
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -5539,7 +6009,7 @@ export declare const MaintainerClearMaintainer403: Schema.Union<readonly [Schema
5539
6009
  readonly status: Schema.Number;
5540
6010
  readonly detail: Schema.String;
5541
6011
  readonly instance: Schema.optionalKey<Schema.String>;
5542
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
6012
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
5543
6013
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
5544
6014
  readonly requiredScope: Schema.String;
5545
6015
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -5561,7 +6031,7 @@ export declare const MaintainerClearMaintainer403: Schema.Union<readonly [Schema
5561
6031
  readonly status: Schema.Number;
5562
6032
  readonly detail: Schema.String;
5563
6033
  readonly instance: Schema.optionalKey<Schema.String>;
5564
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
6034
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "recent_authentication_required", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "library_mutation_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden", "publish/capability-binding-mismatch", "publish/capability-expired"]>;
5565
6035
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
5566
6036
  readonly requiredScope: Schema.String;
5567
6037
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -5851,11 +6321,25 @@ export type SearchSearchExtensionsParams = {
5851
6321
  readonly q: string;
5852
6322
  readonly cursor?: string | null;
5853
6323
  readonly limit?: string | null;
6324
+ readonly type?: ExtensionType | null;
6325
+ readonly sort?: "relevance" | "popular" | "newest" | "updated" | "name" | null;
6326
+ readonly owner?: string | null;
6327
+ readonly package?: string | null;
6328
+ readonly license?: string | null;
6329
+ readonly lifecycle?: "all" | "active" | "deprecated" | null;
6330
+ readonly visibility?: "all" | "public" | "private" | null;
5854
6331
  };
5855
6332
  export declare const SearchSearchExtensionsParams: Schema.Struct<{
5856
6333
  readonly q: Schema.String;
5857
6334
  readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5858
6335
  readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
6336
+ readonly type: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>, Schema.Null]>>;
6337
+ readonly sort: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["relevance", "popular", "newest", "updated", "name"]>, Schema.Null]>>;
6338
+ readonly owner: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
6339
+ readonly package: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
6340
+ readonly license: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
6341
+ readonly lifecycle: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["all", "active", "deprecated"]>, Schema.Null]>>;
6342
+ readonly visibility: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["all", "public", "private"]>, Schema.Null]>>;
5859
6343
  }>;
5860
6344
  export type SearchSearchExtensions200 = SearchResponse;
5861
6345
  export declare const SearchSearchExtensions200: Schema.Struct<{
@@ -5878,12 +6362,30 @@ export declare const SearchSearchExtensions200: Schema.Struct<{
5878
6362
  }>>, Schema.Null]>>;
5879
6363
  readonly deprecated_at: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5880
6364
  readonly deprecation_notice: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
6365
+ readonly matched_fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>>;
6366
+ readonly visibility: Schema.Literals<readonly ["public", "private"]>;
5881
6367
  }>>;
5882
6368
  readonly has_more: Schema.Boolean;
5883
6369
  readonly cursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
6370
+ readonly total: Schema.Number;
6371
+ readonly total_relation: Schema.Literal<"exact">;
5884
6372
  }>;
5885
- export type SearchSearchExtensions400 = DecodeErrorResponse;
5886
- export declare const SearchSearchExtensions400: Schema.Struct<{
6373
+ export type SearchSearchExtensions400 = ProblemDetails | DecodeErrorResponse;
6374
+ export declare const SearchSearchExtensions400: Schema.Union<readonly [Schema.Struct<{
6375
+ readonly type: Schema.String;
6376
+ readonly title: Schema.String;
6377
+ readonly status: Schema.Number;
6378
+ readonly detail: Schema.String;
6379
+ readonly instance: Schema.optionalKey<Schema.String>;
6380
+ readonly code: Schema.String;
6381
+ readonly details: Schema.optionalKey<Schema.Struct<{
6382
+ readonly retryable: Schema.Boolean;
6383
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
6384
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
6385
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
6386
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
6387
+ }>>;
6388
+ }>, Schema.Struct<{
5887
6389
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
5888
6390
  readonly type: Schema.String;
5889
6391
  readonly title: Schema.String;
@@ -5891,7 +6393,7 @@ export declare const SearchSearchExtensions400: Schema.Struct<{
5891
6393
  readonly detail: Schema.String;
5892
6394
  readonly instance: Schema.optionalKey<Schema.String>;
5893
6395
  readonly code: Schema.String;
5894
- }>;
6396
+ }>]>;
5895
6397
  export interface OperationConfig {
5896
6398
  /**
5897
6399
  * Whether or not the response should be included in the value returned from
@@ -5975,6 +6477,13 @@ export interface RegistryClient {
5975
6477
  readonly AuthExchangeOidcToken: <Config extends OperationConfig>(options: {
5976
6478
  readonly config?: Config | undefined;
5977
6479
  } | undefined) => Effect.Effect<WithOptionalResponse<void, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"AuthExchangeOidcToken400", typeof AuthExchangeOidcToken400.Type> | RegistryClientError<"AuthExchangeOidcToken501", typeof AuthExchangeOidcToken501.Type>>;
6480
+ /**
6481
+ * Create an exact browser-reviewed publish authorization request
6482
+ */
6483
+ readonly AuthCreatePublishAuthorizationRequest: <Config extends OperationConfig>(options: {
6484
+ readonly payload: typeof AuthCreatePublishAuthorizationRequestRequestJson.Encoded;
6485
+ readonly config?: Config | undefined;
6486
+ }) => Effect.Effect<WithOptionalResponse<typeof AuthCreatePublishAuthorizationRequest201.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"AuthCreatePublishAuthorizationRequest400", typeof AuthCreatePublishAuthorizationRequest400.Type>>;
5978
6487
  /**
5979
6488
  * List access tokens
5980
6489
  */
@@ -6110,9 +6619,8 @@ export interface RegistryClient {
6110
6619
  * Publish extension version
6111
6620
  */
6112
6621
  readonly ExtensionsPublishVersion: <Config extends OperationConfig>(owner: string, type: string, name: string, version: string, options: {
6113
- readonly payload: typeof ExtensionsPublishVersionRequestFormData.Encoded;
6114
6622
  readonly config?: Config | undefined;
6115
- }) => Effect.Effect<WithOptionalResponse<typeof ExtensionsPublishVersion201.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsPublishVersion400", typeof ExtensionsPublishVersion400.Type> | RegistryClientError<"ExtensionsPublishVersion401", typeof ExtensionsPublishVersion401.Type> | RegistryClientError<"ExtensionsPublishVersion403", typeof ExtensionsPublishVersion403.Type> | RegistryClientError<"ExtensionsPublishVersion404", typeof ExtensionsPublishVersion404.Type> | RegistryClientError<"ExtensionsPublishVersion409", typeof ExtensionsPublishVersion409.Type> | RegistryClientError<"ExtensionsPublishVersion413", typeof ExtensionsPublishVersion413.Type> | RegistryClientError<"ExtensionsPublishVersion415", typeof ExtensionsPublishVersion415.Type> | RegistryClientError<"ExtensionsPublishVersion422", typeof ExtensionsPublishVersion422.Type> | RegistryClientError<"ExtensionsPublishVersion429", typeof ExtensionsPublishVersion429.Type> | RegistryClientError<"ExtensionsPublishVersion500", typeof ExtensionsPublishVersion500.Type> | RegistryClientError<"ExtensionsPublishVersion503", typeof ExtensionsPublishVersion503.Type>>;
6623
+ } | undefined) => Effect.Effect<WithOptionalResponse<typeof ExtensionsPublishVersion201.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsPublishVersion400", typeof ExtensionsPublishVersion400.Type> | RegistryClientError<"ExtensionsPublishVersion401", typeof ExtensionsPublishVersion401.Type> | RegistryClientError<"ExtensionsPublishVersion403", typeof ExtensionsPublishVersion403.Type> | RegistryClientError<"ExtensionsPublishVersion404", typeof ExtensionsPublishVersion404.Type> | RegistryClientError<"ExtensionsPublishVersion409", typeof ExtensionsPublishVersion409.Type> | RegistryClientError<"ExtensionsPublishVersion413", typeof ExtensionsPublishVersion413.Type> | RegistryClientError<"ExtensionsPublishVersion415", typeof ExtensionsPublishVersion415.Type> | RegistryClientError<"ExtensionsPublishVersion422", typeof ExtensionsPublishVersion422.Type> | RegistryClientError<"ExtensionsPublishVersion429", typeof ExtensionsPublishVersion429.Type> | RegistryClientError<"ExtensionsPublishVersion500", typeof ExtensionsPublishVersion500.Type> | RegistryClientError<"ExtensionsPublishVersion503", typeof ExtensionsPublishVersion503.Type>>;
6116
6624
  /**
6117
6625
  * Get Extension deletion operation status
6118
6626
  */
@@ -6124,11 +6632,17 @@ export interface RegistryClient {
6124
6632
  */
6125
6633
  readonly ExtensionsDownloadArchive: <Config extends OperationConfig>(owner: string, type: string, name: string, version: string, options: {
6126
6634
  readonly config?: Config | undefined;
6127
- } | undefined) => Effect.Effect<WithOptionalResponse<Uint8Array, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsDownloadArchive400", typeof ExtensionsDownloadArchive400.Type> | RegistryClientError<"ExtensionsDownloadArchive404", typeof ExtensionsDownloadArchive404.Type> | RegistryClientError<"ExtensionsDownloadArchive410", typeof ExtensionsDownloadArchive410.Type> | RegistryClientError<"ExtensionsDownloadArchive500", typeof ExtensionsDownloadArchive500.Type>>;
6635
+ } | undefined) => Effect.Effect<WithOptionalResponse<Uint8Array, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsDownloadArchive400", typeof ExtensionsDownloadArchive400.Type> | RegistryClientError<"ExtensionsDownloadArchive404", typeof ExtensionsDownloadArchive404.Type> | RegistryClientError<"ExtensionsDownloadArchive500", typeof ExtensionsDownloadArchive500.Type>>;
6128
6636
  /**
6129
6637
  * Download extension archive
6130
6638
  */
6131
6639
  readonly ExtensionsDownloadArchiveStream: (owner: string, type: string, name: string, version: string) => Stream.Stream<Uint8Array, HttpClientError.HttpClientError>;
6640
+ /**
6641
+ * Inspect extension archive metadata
6642
+ */
6643
+ readonly ExtensionsHeadArchive: <Config extends OperationConfig>(owner: string, type: string, name: string, version: string, options: {
6644
+ readonly config?: Config | undefined;
6645
+ } | undefined) => Effect.Effect<WithOptionalResponse<void, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"400", undefined> | RegistryClientError<"404", undefined> | RegistryClientError<"500", undefined>>;
6132
6646
  /**
6133
6647
  * Deprecate an extension
6134
6648
  */
@@ -6179,6 +6693,7 @@ export interface RegistryClient {
6179
6693
  * List owner Libraries
6180
6694
  */
6181
6695
  readonly LibrariesListLibraries: <Config extends OperationConfig>(owner: string, options: {
6696
+ readonly params?: typeof LibrariesListLibrariesParams.Encoded | undefined;
6182
6697
  readonly config?: Config | undefined;
6183
6698
  } | undefined) => Effect.Effect<WithOptionalResponse<typeof LibrariesListLibraries200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"LibrariesListLibraries400", typeof LibrariesListLibraries400.Type> | RegistryClientError<"LibrariesListLibraries404", typeof LibrariesListLibraries404.Type>>;
6184
6699
  /**
@@ -6207,6 +6722,26 @@ export interface RegistryClient {
6207
6722
  readonly payload: typeof LibrariesUpdateLibraryRequestJson.Encoded;
6208
6723
  readonly config?: Config | undefined;
6209
6724
  }) => Effect.Effect<WithOptionalResponse<typeof LibrariesUpdateLibrary200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"LibrariesUpdateLibrary400", typeof LibrariesUpdateLibrary400.Type> | RegistryClientError<"LibrariesUpdateLibrary401", typeof LibrariesUpdateLibrary401.Type> | RegistryClientError<"LibrariesUpdateLibrary403", typeof LibrariesUpdateLibrary403.Type> | RegistryClientError<"LibrariesUpdateLibrary404", typeof LibrariesUpdateLibrary404.Type> | RegistryClientError<"LibrariesUpdateLibrary422", typeof LibrariesUpdateLibrary422.Type>>;
6725
+ /**
6726
+ * Resolve a Library for the current viewer
6727
+ */
6728
+ readonly LibrariesGetLibraryResolution: <Config extends OperationConfig>(owner: string, name: string, options: {
6729
+ readonly config?: Config | undefined;
6730
+ } | undefined) => Effect.Effect<WithOptionalResponse<typeof LibrariesGetLibraryResolution200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"LibrariesGetLibraryResolution400", typeof LibrariesGetLibraryResolution400.Type> | RegistryClientError<"LibrariesGetLibraryResolution404", typeof LibrariesGetLibraryResolution404.Type> | RegistryClientError<"LibrariesGetLibraryResolution422", typeof LibrariesGetLibraryResolution422.Type>>;
6731
+ /**
6732
+ * List viewer-visible Library members
6733
+ */
6734
+ readonly LibrariesListLibraryMembers: <Config extends OperationConfig>(owner: string, name: string, options: {
6735
+ readonly params?: typeof LibrariesListLibraryMembersParams.Encoded | undefined;
6736
+ readonly config?: Config | undefined;
6737
+ } | undefined) => Effect.Effect<WithOptionalResponse<typeof LibrariesListLibraryMembers200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"LibrariesListLibraryMembers400", typeof LibrariesListLibraryMembers400.Type> | RegistryClientError<"LibrariesListLibraryMembers404", typeof LibrariesListLibraryMembers404.Type> | RegistryClientError<"LibrariesListLibraryMembers422", typeof LibrariesListLibraryMembers422.Type>>;
6738
+ /**
6739
+ * Atomically patch Library members
6740
+ */
6741
+ readonly LibrariesPatchLibraryMembers: <Config extends OperationConfig>(owner: string, name: string, options: {
6742
+ readonly payload: typeof LibrariesPatchLibraryMembersRequestJson.Encoded;
6743
+ readonly config?: Config | undefined;
6744
+ }) => Effect.Effect<WithOptionalResponse<typeof LibrariesPatchLibraryMembers200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"LibrariesPatchLibraryMembers400", typeof LibrariesPatchLibraryMembers400.Type> | RegistryClientError<"LibrariesPatchLibraryMembers401", typeof LibrariesPatchLibraryMembers401.Type> | RegistryClientError<"LibrariesPatchLibraryMembers403", typeof LibrariesPatchLibraryMembers403.Type> | RegistryClientError<"LibrariesPatchLibraryMembers404", typeof LibrariesPatchLibraryMembers404.Type> | RegistryClientError<"LibrariesPatchLibraryMembers422", typeof LibrariesPatchLibraryMembers422.Type>>;
6210
6745
  /**
6211
6746
  * Set Library visibility
6212
6747
  */
@@ -6286,7 +6821,7 @@ export interface RegistryClient {
6286
6821
  readonly config?: Config | undefined;
6287
6822
  } | undefined) => Effect.Effect<WithOptionalResponse<typeof HealthGetObservabilityVerification200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"HealthGetObservabilityVerification400", typeof HealthGetObservabilityVerification400.Type>>;
6288
6823
  /**
6289
- * Returns extensions whose name matches the query, ordered by most recently published version. When `q` is empty, returns the public catalog. Only public, available, non-yanked versions are returned.
6824
+ * Returns viewer-visible, available, non-yanked extensions using predictable textual relevance by default. Supports structured type, owner, package, license, lifecycle, visibility, and sort filters.
6290
6825
  */
6291
6826
  readonly SearchSearchExtensions: <Config extends OperationConfig>(options: {
6292
6827
  readonly params: typeof SearchSearchExtensionsParams.Encoded;