@agentxm/client-core 0.20.1 → 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 (159) 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/cli/prompt/autocomplete-multiselect.d.ts +2 -0
  21. package/dist/src/unstable/cli/prompt/autocomplete-multiselect.d.ts.map +1 -1
  22. package/dist/src/unstable/cli/prompt/autocomplete-multiselect.js +8 -14
  23. package/dist/src/unstable/cli/prompt/autocomplete-multiselect.js.map +1 -1
  24. package/dist/src/unstable/cli-renderer/cli-renderer-interactive.d.ts.map +1 -1
  25. package/dist/src/unstable/cli-renderer/cli-renderer-interactive.js +7 -0
  26. package/dist/src/unstable/cli-renderer/cli-renderer-interactive.js.map +1 -1
  27. package/dist/src/unstable/cli-renderer/cli-renderer-machine.d.ts.map +1 -1
  28. package/dist/src/unstable/cli-renderer/cli-renderer-machine.js +2 -0
  29. package/dist/src/unstable/cli-renderer/cli-renderer-machine.js.map +1 -1
  30. package/dist/src/unstable/cli-renderer/cli-renderer-test.d.ts +1 -0
  31. package/dist/src/unstable/cli-renderer/cli-renderer-test.d.ts.map +1 -1
  32. package/dist/src/unstable/cli-renderer/cli-renderer-test.js +11 -0
  33. package/dist/src/unstable/cli-renderer/cli-renderer-test.js.map +1 -1
  34. package/dist/src/unstable/cli-renderer/cli-renderer.d.ts +4 -0
  35. package/dist/src/unstable/cli-renderer/cli-renderer.d.ts.map +1 -1
  36. package/dist/src/unstable/cli-renderer/cli-renderer.js.map +1 -1
  37. package/dist/src/unstable/commands/manager.d.ts.map +1 -1
  38. package/dist/src/unstable/commands/manager.js +1 -0
  39. package/dist/src/unstable/commands/manager.js.map +1 -1
  40. package/dist/src/unstable/extensions/operations.d.ts.map +1 -1
  41. package/dist/src/unstable/extensions/operations.js +9 -2
  42. package/dist/src/unstable/extensions/operations.js.map +1 -1
  43. package/dist/src/unstable/extensions/ref-base.d.ts +4 -0
  44. package/dist/src/unstable/extensions/ref-base.d.ts.map +1 -1
  45. package/dist/src/unstable/files/manager.d.ts.map +1 -1
  46. package/dist/src/unstable/files/manager.js +1 -0
  47. package/dist/src/unstable/files/manager.js.map +1 -1
  48. package/dist/src/unstable/hooks/manager.d.ts.map +1 -1
  49. package/dist/src/unstable/hooks/manager.js +1 -0
  50. package/dist/src/unstable/hooks/manager.js.map +1 -1
  51. package/dist/src/unstable/lockfile/lockfile.d.ts +16 -0
  52. package/dist/src/unstable/lockfile/lockfile.d.ts.map +1 -1
  53. package/dist/src/unstable/lockfile/schema.d.ts +25 -0
  54. package/dist/src/unstable/lockfile/schema.d.ts.map +1 -1
  55. package/dist/src/unstable/lockfile/schema.js +2 -0
  56. package/dist/src/unstable/lockfile/schema.js.map +1 -1
  57. package/dist/src/unstable/mcps/manager.d.ts.map +1 -1
  58. package/dist/src/unstable/mcps/manager.js +1 -0
  59. package/dist/src/unstable/mcps/manager.js.map +1 -1
  60. package/dist/src/unstable/mcps/operations/install.d.ts.map +1 -1
  61. package/dist/src/unstable/mcps/operations/install.js +1 -0
  62. package/dist/src/unstable/mcps/operations/install.js.map +1 -1
  63. package/dist/src/unstable/packs/manager.d.ts.map +1 -1
  64. package/dist/src/unstable/packs/manager.js +3 -0
  65. package/dist/src/unstable/packs/manager.js.map +1 -1
  66. package/dist/src/unstable/packs/operations/install.d.ts +1 -0
  67. package/dist/src/unstable/packs/operations/install.d.ts.map +1 -1
  68. package/dist/src/unstable/packs/operations/install.js +3 -0
  69. package/dist/src/unstable/packs/operations/install.js.map +1 -1
  70. package/dist/src/unstable/registry/__generated__/registry-client.d.ts +1414 -1434
  71. package/dist/src/unstable/registry/__generated__/registry-client.d.ts.map +1 -1
  72. package/dist/src/unstable/registry/__generated__/registry-client.js +487 -291
  73. package/dist/src/unstable/registry/__generated__/registry-client.js.map +1 -1
  74. package/dist/src/unstable/registry/admin-client.d.ts +56 -28
  75. package/dist/src/unstable/registry/admin-client.d.ts.map +1 -1
  76. package/dist/src/unstable/registry/admin-client.js +46 -23
  77. package/dist/src/unstable/registry/admin-client.js.map +1 -1
  78. package/dist/src/unstable/registry/archive-cache.d.ts +51 -0
  79. package/dist/src/unstable/registry/archive-cache.d.ts.map +1 -0
  80. package/dist/src/unstable/registry/archive-cache.js +213 -0
  81. package/dist/src/unstable/registry/archive-cache.js.map +1 -0
  82. package/dist/src/unstable/registry/client.d.ts +15 -3
  83. package/dist/src/unstable/registry/client.d.ts.map +1 -1
  84. package/dist/src/unstable/registry/client.js +3 -1
  85. package/dist/src/unstable/registry/client.js.map +1 -1
  86. package/dist/src/unstable/registry/index.d.ts +5 -3
  87. package/dist/src/unstable/registry/index.d.ts.map +1 -1
  88. package/dist/src/unstable/registry/index.js +3 -2
  89. package/dist/src/unstable/registry/index.js.map +1 -1
  90. package/dist/src/unstable/registry/local-client.d.ts.map +1 -1
  91. package/dist/src/unstable/registry/local-client.js +117 -47
  92. package/dist/src/unstable/registry/local-client.js.map +1 -1
  93. package/dist/src/unstable/registry/remote-client.d.ts +2 -1
  94. package/dist/src/unstable/registry/remote-client.d.ts.map +1 -1
  95. package/dist/src/unstable/registry/remote-client.js +67 -69
  96. package/dist/src/unstable/registry/remote-client.js.map +1 -1
  97. package/dist/src/unstable/registry/schema.d.ts +10 -1
  98. package/dist/src/unstable/registry/schema.d.ts.map +1 -1
  99. package/dist/src/unstable/registry/schema.js +7 -1
  100. package/dist/src/unstable/registry/schema.js.map +1 -1
  101. package/dist/src/unstable/registry/utils.d.ts +2 -1
  102. package/dist/src/unstable/registry/utils.d.ts.map +1 -1
  103. package/dist/src/unstable/registry/utils.js +24 -5
  104. package/dist/src/unstable/registry/utils.js.map +1 -1
  105. package/dist/src/unstable/rules/manager.d.ts.map +1 -1
  106. package/dist/src/unstable/rules/manager.js +1 -0
  107. package/dist/src/unstable/rules/manager.js.map +1 -1
  108. package/dist/src/unstable/source-resolution/providers/registry/host-provider.d.ts.map +1 -1
  109. package/dist/src/unstable/source-resolution/providers/registry/host-provider.js +18 -2
  110. package/dist/src/unstable/source-resolution/providers/registry/host-provider.js.map +1 -1
  111. package/dist/src/unstable/sources/lock-entry-to-ref.d.ts.map +1 -1
  112. package/dist/src/unstable/sources/lock-entry-to-ref.js +3 -0
  113. package/dist/src/unstable/sources/lock-entry-to-ref.js.map +1 -1
  114. package/dist/src/unstable/sources/source-to-lock-entry.d.ts.map +1 -1
  115. package/dist/src/unstable/sources/source-to-lock-entry.js +3 -0
  116. package/dist/src/unstable/sources/source-to-lock-entry.js.map +1 -1
  117. package/dist/src/unstable/subagents/lock-entry-builder.d.ts.map +1 -1
  118. package/dist/src/unstable/subagents/lock-entry-builder.js +3 -0
  119. package/dist/src/unstable/subagents/lock-entry-builder.js.map +1 -1
  120. package/dist/src/unstable/workspace/index.d.ts +1 -0
  121. package/dist/src/unstable/workspace/index.d.ts.map +1 -1
  122. package/dist/src/unstable/workspace/index.js +1 -0
  123. package/dist/src/unstable/workspace/index.js.map +1 -1
  124. package/dist/src/unstable/workspace/initialization-interaction.d.ts.map +1 -1
  125. package/dist/src/unstable/workspace/initialization-interaction.js +16 -9
  126. package/dist/src/unstable/workspace/initialization-interaction.js.map +1 -1
  127. package/dist/src/unstable/workspace/read-model/extensions/ignore-patterns.d.ts +1 -0
  128. package/dist/src/unstable/workspace/read-model/extensions/ignore-patterns.d.ts.map +1 -1
  129. package/dist/src/unstable/workspace/read-model/extensions/ignore-patterns.js +4 -1
  130. package/dist/src/unstable/workspace/read-model/extensions/ignore-patterns.js.map +1 -1
  131. package/dist/src/unstable/workspace/read-model/extensions/index.d.ts +2 -0
  132. package/dist/src/unstable/workspace/read-model/extensions/index.d.ts.map +1 -1
  133. package/dist/src/unstable/workspace/read-model/extensions/index.js +2 -0
  134. package/dist/src/unstable/workspace/read-model/extensions/index.js.map +1 -1
  135. package/dist/src/unstable/workspace/read-model/extensions/inventory.d.ts +94 -0
  136. package/dist/src/unstable/workspace/read-model/extensions/inventory.d.ts.map +1 -0
  137. package/dist/src/unstable/workspace/read-model/extensions/inventory.js +152 -0
  138. package/dist/src/unstable/workspace/read-model/extensions/inventory.js.map +1 -0
  139. package/dist/src/unstable/workspace/read-model/service.d.ts +2 -0
  140. package/dist/src/unstable/workspace/read-model/service.d.ts.map +1 -1
  141. package/dist/src/unstable/workspace/read-model/service.js +1 -0
  142. package/dist/src/unstable/workspace/read-model/service.js.map +1 -1
  143. package/dist/src/unstable/workspace/read-model-record-readers.d.ts +5 -0
  144. package/dist/src/unstable/workspace/read-model-record-readers.d.ts.map +1 -1
  145. package/dist/src/unstable/workspace/read-model-record-readers.js +348 -1
  146. package/dist/src/unstable/workspace/read-model-record-readers.js.map +1 -1
  147. package/dist/src/unstable/workspace/service-interface.d.ts +9 -0
  148. package/dist/src/unstable/workspace/service-interface.d.ts.map +1 -1
  149. package/dist/src/unstable/workspace/service-interface.js.map +1 -1
  150. package/dist/src/unstable/workspace/service.d.ts +20 -0
  151. package/dist/src/unstable/workspace/service.d.ts.map +1 -1
  152. package/dist/src/unstable/workspace/service.js +4 -1
  153. package/dist/src/unstable/workspace/service.js.map +1 -1
  154. package/dist/src/unstable/workspace/test-stubs.d.ts +2 -0
  155. package/dist/src/unstable/workspace/test-stubs.d.ts.map +1 -1
  156. package/dist/src/unstable/workspace/test-stubs.js +10 -0
  157. package/dist/src/unstable/workspace/test-stubs.js.map +1 -1
  158. package/package.json +6 -6
  159. package/site-content/__generated__/schemas/axm-lock.schema.json +45 -0
@@ -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;
@@ -264,11 +268,13 @@ export type VersionRange = string;
264
268
  export declare const VersionRange: Schema.String;
265
269
  export type PackageIdentityPurl = string;
266
270
  export declare const PackageIdentityPurl: Schema.String;
271
+ export type ExtensionDeletionOperationId = string;
272
+ export declare const ExtensionDeletionOperationId: Schema.String;
267
273
  export type PatchVisibilityBody = {
268
- readonly visibility: "public" | "internal" | "private";
274
+ readonly visibility: "public" | "private";
269
275
  };
270
276
  export declare const PatchVisibilityBody: Schema.Struct<{
271
- readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
277
+ readonly visibility: Schema.Literals<readonly ["public", "private"]>;
272
278
  }>;
273
279
  export type ExtensionId = string;
274
280
  export declare const ExtensionId: Schema.String;
@@ -308,14 +314,48 @@ export declare const PublishIdentityMismatchEntry: Schema.Struct<{
308
314
  readonly urlPath: Schema.Union<readonly [Schema.String, Schema.Null]>;
309
315
  readonly content: Schema.Union<readonly [Schema.String, Schema.Null]>;
310
316
  }>;
317
+ export type YankVersionBody = {
318
+ readonly category?: "broken" | "security" | "accidental" | "other" | null;
319
+ readonly notice?: string | null;
320
+ };
321
+ export declare const YankVersionBody: Schema.Struct<{
322
+ readonly category: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["broken", "security", "accidental", "other"]>, Schema.Null]>>;
323
+ readonly notice: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
324
+ }>;
325
+ export type YankAvailableVersionsBody = {
326
+ readonly selection: "all-available";
327
+ readonly category?: "broken" | "security" | "accidental" | "other" | null;
328
+ readonly notice?: string | null;
329
+ };
330
+ export declare const YankAvailableVersionsBody: Schema.Struct<{
331
+ readonly selection: Schema.Literal<"all-available">;
332
+ readonly category: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["broken", "security", "accidental", "other"]>, Schema.Null]>>;
333
+ readonly notice: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
334
+ }>;
335
+ export type DeleteExtensionBody = {
336
+ readonly confirmation: string;
337
+ };
338
+ export declare const DeleteExtensionBody: Schema.Struct<{
339
+ readonly confirmation: Schema.String;
340
+ }>;
341
+ export type PurgeExtensionVersionBody = {
342
+ readonly reason: "malware" | "exposed_secret" | "legal" | "privacy" | "policy";
343
+ readonly confirmSharedDigest: boolean;
344
+ };
345
+ export declare const PurgeExtensionVersionBody: Schema.Struct<{
346
+ readonly reason: Schema.Literals<readonly ["malware", "exposed_secret", "legal", "privacy", "policy"]>;
347
+ readonly confirmSharedDigest: Schema.Boolean;
348
+ }>;
349
+ export type LibraryVisibility = "public" | "private";
350
+ export declare const LibraryVisibility: Schema.Literals<readonly ["public", "private"]>;
311
351
  export type LibraryId = string;
312
352
  export declare const LibraryId: Schema.String;
313
353
  export type LibraryName = string;
314
354
  export declare const LibraryName: Schema.String;
315
- export type LibraryVisibility = "public" | "internal" | "private";
316
- export declare const LibraryVisibility: Schema.Literals<readonly ["public", "internal", "private"]>;
317
355
  export type LibraryMemberId = string;
318
356
  export declare const LibraryMemberId: Schema.String;
357
+ export type ExtensionVersionId = string;
358
+ export declare const ExtensionVersionId: Schema.String;
319
359
  export type UpdateLibraryBody = {
320
360
  readonly title?: string | null;
321
361
  readonly description?: string | null | null;
@@ -324,18 +364,6 @@ export declare const UpdateLibraryBody: Schema.Struct<{
324
364
  readonly title: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
325
365
  readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
326
366
  }>;
327
- export type PutCollaboratorBody = {
328
- readonly role: "write" | "read";
329
- };
330
- export declare const PutCollaboratorBody: Schema.Struct<{
331
- readonly role: Schema.Literals<readonly ["write", "read"]>;
332
- }>;
333
- export type UpsertGrantBody = {
334
- readonly role: "read" | "write";
335
- };
336
- export declare const UpsertGrantBody: Schema.Struct<{
337
- readonly role: Schema.Literals<readonly ["read", "write"]>;
338
- }>;
339
367
  export type ExtensionFqn = string;
340
368
  export declare const ExtensionFqn: Schema.String;
341
369
  export type ProblemDetails = {
@@ -382,7 +410,7 @@ export declare const AddTeamMemberBody: Schema.Struct<{
382
410
  }>;
383
411
  export type AuthMeToken = {
384
412
  readonly id: string;
385
- readonly type: "session" | "pat" | "oidc";
413
+ readonly type: "session" | "pat" | "oidc" | "publish-capability";
386
414
  readonly name: string | null;
387
415
  readonly permissions: Schema.Json | null;
388
416
  readonly scopes: ReadonlyArray<string>;
@@ -391,7 +419,7 @@ export type AuthMeToken = {
391
419
  };
392
420
  export declare const AuthMeToken: Schema.Struct<{
393
421
  readonly id: Schema.String;
394
- readonly type: Schema.Literals<readonly ["session", "pat", "oidc"]>;
422
+ readonly type: Schema.Literals<readonly ["session", "pat", "oidc", "publish-capability"]>;
395
423
  readonly name: Schema.Union<readonly [Schema.String, Schema.Null]>;
396
424
  readonly permissions: Schema.Union<readonly [Schema.Codec<Schema.Json, Schema.Json, never, never>, Schema.Null]>;
397
425
  readonly scopes: Schema.$Array<Schema.String>;
@@ -400,6 +428,58 @@ export declare const AuthMeToken: Schema.Struct<{
400
428
  }>;
401
429
  readonly expires_at: Schema.String;
402
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
+ }>;
403
483
  export type TokenListItem = {
404
484
  readonly id: TokenId;
405
485
  readonly name: string | null;
@@ -445,7 +525,7 @@ export type ForbiddenError = {
445
525
  readonly status: number;
446
526
  readonly detail: string;
447
527
  readonly instance?: string;
448
- 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";
449
529
  readonly details?: ScopeCheckDetails | AuthorizationDenyDetails | PublishDetails;
450
530
  };
451
531
  export declare const ForbiddenError: Schema.Struct<{
@@ -455,7 +535,7 @@ export declare const ForbiddenError: Schema.Struct<{
455
535
  readonly status: Schema.Number;
456
536
  readonly detail: Schema.String;
457
537
  readonly instance: Schema.optionalKey<Schema.String>;
458
- 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"]>;
459
539
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
460
540
  readonly requiredScope: Schema.String;
461
541
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -534,50 +614,6 @@ export declare const LibraryMaintainerTarget: Schema.Union<readonly [Schema.Stru
534
614
  readonly kind: Schema.Literal<"team">;
535
615
  readonly teamId: Schema.String;
536
616
  }>]>;
537
- export type ExtensionGrantEntry = {
538
- readonly subject: {
539
- readonly kind: "user";
540
- readonly userId: UserId;
541
- } | {
542
- readonly kind: "team";
543
- readonly teamId: TeamId;
544
- };
545
- readonly role: "read" | "write";
546
- readonly grantedBy: UserId | null;
547
- readonly createdAt: string;
548
- };
549
- export declare const ExtensionGrantEntry: Schema.Struct<{
550
- readonly subject: Schema.Union<readonly [Schema.Struct<{
551
- readonly kind: Schema.Literal<"user">;
552
- readonly userId: Schema.String;
553
- }>, Schema.Struct<{
554
- readonly kind: Schema.Literal<"team">;
555
- readonly teamId: Schema.String;
556
- }>]>;
557
- readonly role: Schema.Literals<readonly ["read", "write"]>;
558
- readonly grantedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
559
- readonly createdAt: Schema.String;
560
- }>;
561
- export type TeamGrant = {
562
- readonly teamId: TeamId;
563
- readonly role: "read" | "write";
564
- readonly grantedBy: string;
565
- readonly grantedAt: string;
566
- };
567
- export declare const TeamGrant: Schema.Struct<{
568
- readonly teamId: Schema.String;
569
- readonly role: Schema.Literals<readonly ["read", "write"]>;
570
- readonly grantedBy: Schema.String;
571
- readonly grantedAt: Schema.String;
572
- }>;
573
- export type UpsertTeamGrantBody = {
574
- readonly teamId: TeamId;
575
- readonly role: "read" | "write";
576
- };
577
- export declare const UpsertTeamGrantBody: Schema.Struct<{
578
- readonly teamId: Schema.String;
579
- readonly role: Schema.Literals<readonly ["read", "write"]>;
580
- }>;
581
617
  export type Maintainer = {
582
618
  readonly kind: "user";
583
619
  readonly userId: UserId;
@@ -654,18 +690,6 @@ export declare const TeamMembership: Schema.Struct<{
654
690
  readonly addedAt: Schema.String;
655
691
  readonly addedBy: Schema.String;
656
692
  }>;
657
- export type PublishIdentity = {
658
- readonly owner: Handle;
659
- readonly type: ExtensionType;
660
- readonly name: ExtensionName;
661
- readonly version: Version;
662
- };
663
- export declare const PublishIdentity: Schema.Struct<{
664
- readonly owner: Schema.String;
665
- readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
666
- readonly name: Schema.String;
667
- readonly version: Schema.String;
668
- }>;
669
693
  export type SearchHit = {
670
694
  readonly name: ExtensionName;
671
695
  readonly owner: Handle;
@@ -677,6 +701,8 @@ export type SearchHit = {
677
701
  readonly authors?: ReadonlyArray<Author> | null;
678
702
  readonly deprecated_at?: IsoDateTimeString | null;
679
703
  readonly deprecation_notice?: string | null;
704
+ readonly matched_fields?: ReadonlyArray<string> | null;
705
+ readonly visibility: "public" | "private";
680
706
  };
681
707
  export declare const SearchHit: Schema.Struct<{
682
708
  readonly name: Schema.String;
@@ -697,6 +723,8 @@ export declare const SearchHit: Schema.Struct<{
697
723
  }>>, Schema.Null]>>;
698
724
  readonly deprecated_at: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
699
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"]>;
700
728
  }>;
701
729
  export type CompanionPackage = {
702
730
  readonly purl: PackageIdentityPurl;
@@ -730,6 +758,12 @@ export declare const PublishLintFinding: Schema.Struct<{
730
758
  readonly path: Schema.String;
731
759
  readonly suggestions: Schema.$Array<Schema.String>;
732
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
+ }>;
733
767
  export type CreateLibraryBody = {
734
768
  readonly name: LibraryName;
735
769
  readonly title: string;
@@ -740,13 +774,7 @@ export declare const CreateLibraryBody: Schema.Struct<{
740
774
  readonly name: Schema.String;
741
775
  readonly title: Schema.String;
742
776
  readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
743
- readonly visibility: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["public", "internal", "private"]>, Schema.Null]>>;
744
- }>;
745
- export type PatchLibraryVisibilityBody = {
746
- readonly visibility: LibraryVisibility;
747
- };
748
- export declare const PatchLibraryVisibilityBody: Schema.Struct<{
749
- readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
777
+ readonly visibility: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["public", "private"]>, Schema.Null]>>;
750
778
  }>;
751
779
  export type LibraryMember = {
752
780
  readonly id: LibraryMemberId;
@@ -766,6 +794,28 @@ export declare const LibraryMember: Schema.Struct<{
766
794
  readonly extensionName: Schema.String;
767
795
  readonly addedAt: Schema.String;
768
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
+ }>;
769
819
  export type AuthMeResponse = {
770
820
  readonly user: AuthMeUser;
771
821
  readonly orgs: ReadonlyArray<never>;
@@ -780,7 +830,7 @@ export declare const AuthMeResponse: Schema.Struct<{
780
830
  readonly orgs: Schema.$Array<Schema.Never>;
781
831
  readonly token: Schema.Struct<{
782
832
  readonly id: Schema.String;
783
- readonly type: Schema.Literals<readonly ["session", "pat", "oidc"]>;
833
+ readonly type: Schema.Literals<readonly ["session", "pat", "oidc", "publish-capability"]>;
784
834
  readonly name: Schema.Union<readonly [Schema.String, Schema.Null]>;
785
835
  readonly permissions: Schema.Union<readonly [Schema.Codec<Schema.Json, Schema.Json, never, never>, Schema.Null]>;
786
836
  readonly scopes: Schema.$Array<Schema.String>;
@@ -790,6 +840,83 @@ export declare const AuthMeResponse: Schema.Struct<{
790
840
  readonly expires_at: Schema.String;
791
841
  }>;
792
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
+ }>;
793
920
  export type TokenListResponse = {
794
921
  readonly tokens: ReadonlyArray<TokenListItem>;
795
922
  readonly has_more: boolean;
@@ -826,7 +953,7 @@ export declare const Library: Schema.Struct<{
826
953
  readonly name: Schema.String;
827
954
  readonly title: Schema.String;
828
955
  readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
829
- readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
956
+ readonly visibility: Schema.Literals<readonly ["public", "private"]>;
830
957
  readonly maintainer: Schema.Union<readonly [Schema.Struct<{
831
958
  readonly kind: Schema.Literal<"user">;
832
959
  readonly userId: Schema.String;
@@ -862,7 +989,7 @@ export declare const CreatedLibrary: Schema.Struct<{
862
989
  readonly name: Schema.String;
863
990
  readonly title: Schema.String;
864
991
  readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
865
- readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
992
+ readonly visibility: Schema.Literals<readonly ["public", "private"]>;
866
993
  readonly maintainer: Schema.Union<readonly [Schema.Struct<{
867
994
  readonly kind: Schema.Literal<"user">;
868
995
  readonly userId: Schema.String;
@@ -881,23 +1008,6 @@ export declare const CreatedLibrary: Schema.Struct<{
881
1008
  readonly createdAt: Schema.String;
882
1009
  readonly updatedAt: Schema.String;
883
1010
  }>;
884
- export type ExtensionGrantsResponse = {
885
- readonly grants: ReadonlyArray<ExtensionGrantEntry>;
886
- };
887
- export declare const ExtensionGrantsResponse: Schema.Struct<{
888
- readonly grants: Schema.$Array<Schema.Struct<{
889
- readonly subject: Schema.Union<readonly [Schema.Struct<{
890
- readonly kind: Schema.Literal<"user">;
891
- readonly userId: Schema.String;
892
- }>, Schema.Struct<{
893
- readonly kind: Schema.Literal<"team">;
894
- readonly teamId: Schema.String;
895
- }>]>;
896
- readonly role: Schema.Literals<readonly ["read", "write"]>;
897
- readonly grantedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
898
- readonly createdAt: Schema.String;
899
- }>>;
900
- }>;
901
1011
  export type TeamList = {
902
1012
  readonly items: ReadonlyArray<Team>;
903
1013
  readonly nextCursor: string | null;
@@ -928,43 +1038,12 @@ export declare const TeamMembershipList: Schema.Struct<{
928
1038
  }>>;
929
1039
  readonly nextCursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
930
1040
  }>;
931
- export type ExtensionIdentityMismatchError = {
932
- readonly kind: "ExtensionIdentityMismatchError";
933
- readonly type: string;
934
- readonly title: string;
935
- readonly status: number;
936
- readonly detail: string;
937
- readonly instance?: string;
938
- readonly code: "extension_identity_mismatch";
939
- readonly error: "extension_identity_mismatch";
940
- readonly identity: PublishIdentity;
941
- readonly mismatches: ReadonlyArray<PublishIdentityMismatchEntry>;
942
- };
943
- export declare const ExtensionIdentityMismatchError: Schema.Struct<{
944
- readonly kind: Schema.Literal<"ExtensionIdentityMismatchError">;
945
- readonly type: Schema.String;
946
- readonly title: Schema.String;
947
- readonly status: Schema.Number;
948
- readonly detail: Schema.String;
949
- readonly instance: Schema.optionalKey<Schema.String>;
950
- readonly code: Schema.Literal<"extension_identity_mismatch">;
951
- readonly error: Schema.Literal<"extension_identity_mismatch">;
952
- readonly identity: Schema.Struct<{
953
- readonly owner: Schema.String;
954
- readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
955
- readonly name: Schema.String;
956
- readonly version: Schema.String;
957
- }>;
958
- readonly mismatches: Schema.$Array<Schema.Struct<{
959
- readonly field: Schema.Literals<readonly ["owner", "type", "name", "version"]>;
960
- readonly urlPath: Schema.Union<readonly [Schema.String, Schema.Null]>;
961
- readonly content: Schema.Union<readonly [Schema.String, Schema.Null]>;
962
- }>>;
963
- }>;
964
1041
  export type SearchResponse = {
965
1042
  readonly extensions: ReadonlyArray<SearchHit>;
966
1043
  readonly has_more: boolean;
967
1044
  readonly cursor: string | null;
1045
+ readonly total: number;
1046
+ readonly total_relation: "exact";
968
1047
  };
969
1048
  export declare const SearchResponse: Schema.Struct<{
970
1049
  readonly extensions: Schema.$Array<Schema.Struct<{
@@ -986,9 +1065,13 @@ export declare const SearchResponse: Schema.Struct<{
986
1065
  }>>, Schema.Null]>>;
987
1066
  readonly deprecated_at: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
988
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"]>;
989
1070
  }>>;
990
1071
  readonly has_more: Schema.Boolean;
991
1072
  readonly cursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
1073
+ readonly total: Schema.Number;
1074
+ readonly total_relation: Schema.Literal<"exact">;
992
1075
  }>;
993
1076
  export type ExtensionLintFailedError = {
994
1077
  readonly kind: "ExtensionLintFailedError";
@@ -1035,19 +1118,70 @@ export declare const ExtensionLintFailedError: Schema.Struct<{
1035
1118
  readonly suggestions: Schema.$Array<Schema.String>;
1036
1119
  }>>;
1037
1120
  }>;
1038
- export type LibraryDetail = {
1039
- readonly library: Library;
1121
+ export type ListLibraryMembersResponse = {
1040
1122
  readonly members: ReadonlyArray<LibraryMember>;
1041
- readonly hiddenMemberCount: number;
1123
+ readonly total: number;
1124
+ readonly limit: number;
1125
+ readonly offset: number;
1126
+ readonly viewerRelative: true;
1042
1127
  };
1043
- export declare const LibraryDetail: Schema.Struct<{
1044
- readonly library: Schema.Struct<{
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
+ }>;
1171
+ export type LibraryDetail = {
1172
+ readonly library: Library;
1173
+ readonly members: ReadonlyArray<LibraryMember>;
1174
+ readonly accessibleMemberCount: number;
1175
+ readonly contentsMayVary: true;
1176
+ };
1177
+ export declare const LibraryDetail: Schema.Struct<{
1178
+ readonly library: Schema.Struct<{
1045
1179
  readonly id: Schema.String;
1046
1180
  readonly owner: Schema.String;
1047
1181
  readonly name: Schema.String;
1048
1182
  readonly title: Schema.String;
1049
1183
  readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
1050
- readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
1184
+ readonly visibility: Schema.Literals<readonly ["public", "private"]>;
1051
1185
  readonly maintainer: Schema.Union<readonly [Schema.Struct<{
1052
1186
  readonly kind: Schema.Literal<"user">;
1053
1187
  readonly userId: Schema.String;
@@ -1075,7 +1209,8 @@ export declare const LibraryDetail: Schema.Struct<{
1075
1209
  readonly extensionName: Schema.String;
1076
1210
  readonly addedAt: Schema.String;
1077
1211
  }>>;
1078
- readonly hiddenMemberCount: Schema.Number;
1212
+ readonly accessibleMemberCount: Schema.Number;
1213
+ readonly contentsMayVary: Schema.Literal<true>;
1079
1214
  }>;
1080
1215
  export type MetaGet200 = MetaResponse;
1081
1216
  export declare const MetaGet200: Schema.Struct<{
@@ -1161,11 +1296,12 @@ export declare const AuthExchangeTokenRequestFormUrlEncoded: Schema.Struct<{
1161
1296
  export type AuthExchangeToken200 = SessionTokenResponse;
1162
1297
  export declare const AuthExchangeToken200: Schema.Struct<{
1163
1298
  readonly access_token: Schema.String;
1164
- readonly refresh_token: Schema.String;
1299
+ readonly refresh_token: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1165
1300
  readonly token_type: Schema.Literal<"Bearer">;
1166
1301
  readonly expires_in: Schema.Number;
1167
1302
  readonly expires_at: Schema.String;
1168
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]>>;
1169
1305
  }>;
1170
1306
  export type AuthExchangeToken400 = ProblemDetails | DecodeErrorResponse | TokenOAuthError;
1171
1307
  export declare const AuthExchangeToken400: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
@@ -1293,7 +1429,7 @@ export declare const AuthGetMe200: Schema.Struct<{
1293
1429
  readonly orgs: Schema.$Array<Schema.Never>;
1294
1430
  readonly token: Schema.Struct<{
1295
1431
  readonly id: Schema.String;
1296
- readonly type: Schema.Literals<readonly ["session", "pat", "oidc"]>;
1432
+ readonly type: Schema.Literals<readonly ["session", "pat", "oidc", "publish-capability"]>;
1297
1433
  readonly name: Schema.Union<readonly [Schema.String, Schema.Null]>;
1298
1434
  readonly permissions: Schema.Union<readonly [Schema.Codec<Schema.Json, Schema.Json, never, never>, Schema.Null]>;
1299
1435
  readonly scopes: Schema.$Array<Schema.String>;
@@ -1405,6 +1541,64 @@ export declare const AuthExchangeOidcToken501: Schema.Struct<{
1405
1541
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1406
1542
  }>>;
1407
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
+ }>]>;
1408
1602
  export type TokensListParams = {
1409
1603
  readonly cursor?: string | null;
1410
1604
  readonly limit?: string | null;
@@ -1462,7 +1656,7 @@ export declare const TokensList403: Schema.Struct<{
1462
1656
  readonly status: Schema.Number;
1463
1657
  readonly detail: Schema.String;
1464
1658
  readonly instance: Schema.optionalKey<Schema.String>;
1465
- 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"]>;
1466
1660
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1467
1661
  readonly requiredScope: Schema.String;
1468
1662
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -1536,7 +1730,7 @@ export declare const TokensCreate403: Schema.Union<readonly [Schema.Struct<{
1536
1730
  readonly status: Schema.Number;
1537
1731
  readonly detail: Schema.String;
1538
1732
  readonly instance: Schema.optionalKey<Schema.String>;
1539
- 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"]>;
1540
1734
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1541
1735
  readonly requiredScope: Schema.String;
1542
1736
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -1558,7 +1752,7 @@ export declare const TokensCreate403: Schema.Union<readonly [Schema.Struct<{
1558
1752
  readonly status: Schema.Number;
1559
1753
  readonly detail: Schema.String;
1560
1754
  readonly instance: Schema.optionalKey<Schema.String>;
1561
- 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"]>;
1562
1756
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1563
1757
  readonly requiredScope: Schema.String;
1564
1758
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -1634,7 +1828,7 @@ export declare const TokensDelete403: Schema.Struct<{
1634
1828
  readonly status: Schema.Number;
1635
1829
  readonly detail: Schema.String;
1636
1830
  readonly instance: Schema.optionalKey<Schema.String>;
1637
- 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"]>;
1638
1832
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1639
1833
  readonly requiredScope: Schema.String;
1640
1834
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -1806,7 +2000,7 @@ export declare const OrgsTeamsCreateTeam403: Schema.Struct<{
1806
2000
  readonly status: Schema.Number;
1807
2001
  readonly detail: Schema.String;
1808
2002
  readonly instance: Schema.optionalKey<Schema.String>;
1809
- 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"]>;
1810
2004
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1811
2005
  readonly requiredScope: Schema.String;
1812
2006
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -1924,7 +2118,7 @@ export declare const OrgsTeamsDeleteTeam403: Schema.Struct<{
1924
2118
  readonly status: Schema.Number;
1925
2119
  readonly detail: Schema.String;
1926
2120
  readonly instance: Schema.optionalKey<Schema.String>;
1927
- 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"]>;
1928
2122
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1929
2123
  readonly requiredScope: Schema.String;
1930
2124
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -2019,7 +2213,7 @@ export declare const OrgsTeamsUpdateTeam403: Schema.Struct<{
2019
2213
  readonly status: Schema.Number;
2020
2214
  readonly detail: Schema.String;
2021
2215
  readonly instance: Schema.optionalKey<Schema.String>;
2022
- 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"]>;
2023
2217
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2024
2218
  readonly requiredScope: Schema.String;
2025
2219
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -2159,7 +2353,7 @@ export declare const OrgsTeamsAddTeamMember403: Schema.Struct<{
2159
2353
  readonly status: Schema.Number;
2160
2354
  readonly detail: Schema.String;
2161
2355
  readonly instance: Schema.optionalKey<Schema.String>;
2162
- 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"]>;
2163
2357
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2164
2358
  readonly requiredScope: Schema.String;
2165
2359
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -2241,7 +2435,7 @@ export declare const OrgsTeamsRemoveTeamMember403: Schema.Struct<{
2241
2435
  readonly status: Schema.Number;
2242
2436
  readonly detail: Schema.String;
2243
2437
  readonly instance: Schema.optionalKey<Schema.String>;
2244
- 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"]>;
2245
2439
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2246
2440
  readonly requiredScope: Schema.String;
2247
2441
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -2319,7 +2513,7 @@ export declare const OrgsTeamsChangeTeamMemberRole403: Schema.Struct<{
2319
2513
  readonly status: Schema.Number;
2320
2514
  readonly detail: Schema.String;
2321
2515
  readonly instance: Schema.optionalKey<Schema.String>;
2322
- 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"]>;
2323
2517
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2324
2518
  readonly requiredScope: Schema.String;
2325
2519
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -2461,6 +2655,7 @@ export type ExtensionsGet200 = {
2461
2655
  readonly name: ExtensionName;
2462
2656
  readonly owner: Handle;
2463
2657
  readonly type: ExtensionType;
2658
+ readonly publisher_binding_id: string;
2464
2659
  readonly description?: string | null;
2465
2660
  readonly repository?: Repository | null;
2466
2661
  readonly bugs?: Bugs | null;
@@ -2475,8 +2670,10 @@ export type ExtensionsGet200 = {
2475
2670
  } | null;
2476
2671
  readonly packages?: ReadonlyArray<CompanionPackage> | null;
2477
2672
  readonly yanked_at?: IsoDateTimeString | null;
2673
+ readonly yank_category?: string | null;
2674
+ readonly yank_notice?: string | null;
2478
2675
  }>;
2479
- readonly visibility?: "public" | "internal" | "private" | null;
2676
+ readonly visibility?: "public" | "private" | null;
2480
2677
  readonly deprecated_at?: IsoDateTimeString | null;
2481
2678
  readonly deprecation_notice?: string | null;
2482
2679
  };
@@ -2484,6 +2681,7 @@ export declare const ExtensionsGet200: Schema.Struct<{
2484
2681
  readonly name: Schema.String;
2485
2682
  readonly owner: Schema.String;
2486
2683
  readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
2684
+ readonly publisher_binding_id: Schema.String;
2487
2685
  readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2488
2686
  readonly repository: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2489
2687
  readonly url: Schema.String;
@@ -2510,8 +2708,10 @@ export declare const ExtensionsGet200: Schema.Struct<{
2510
2708
  readonly versionRange: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2511
2709
  }>>, Schema.Null]>>;
2512
2710
  readonly yanked_at: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2711
+ readonly yank_category: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2712
+ readonly yank_notice: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2513
2713
  }>>;
2514
- readonly visibility: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["public", "internal", "private"]>, Schema.Null]>>;
2714
+ readonly visibility: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["public", "private"]>, Schema.Null]>>;
2515
2715
  readonly deprecated_at: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2516
2716
  readonly deprecation_notice: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2517
2717
  }>;
@@ -2541,9 +2741,163 @@ export declare const ExtensionsGet404: Schema.Struct<{
2541
2741
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2542
2742
  }>>;
2543
2743
  }>;
2744
+ export type ExtensionsDeleteExtensionRequestJson = DeleteExtensionBody;
2745
+ export declare const ExtensionsDeleteExtensionRequestJson: Schema.Struct<{
2746
+ readonly confirmation: Schema.String;
2747
+ }>;
2748
+ export type ExtensionsDeleteExtension202 = {
2749
+ readonly operationId: ExtensionDeletionOperationId;
2750
+ readonly state: "pending";
2751
+ readonly requiredConfirmation: string;
2752
+ readonly warnings: {
2753
+ readonly versions: ReadonlyArray<string>;
2754
+ readonly dependentPackCount: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
2755
+ readonly libraryMembershipCount: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
2756
+ readonly downloadCount: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN" | null;
2757
+ };
2758
+ };
2759
+ export declare const ExtensionsDeleteExtension202: Schema.Struct<{
2760
+ readonly operationId: Schema.String;
2761
+ readonly state: Schema.Literal<"pending">;
2762
+ readonly requiredConfirmation: Schema.String;
2763
+ readonly warnings: Schema.Struct<{
2764
+ readonly versions: Schema.$Array<Schema.String>;
2765
+ readonly dependentPackCount: Schema.Union<readonly [Schema.Union<readonly [Schema.Number, Schema.Literal<"NaN">, Schema.Literal<"Infinity">, Schema.Literal<"-Infinity">]>, Schema.Literals<readonly ["Infinity", "-Infinity", "NaN"]>]>;
2766
+ readonly libraryMembershipCount: Schema.Union<readonly [Schema.Union<readonly [Schema.Number, Schema.Literal<"NaN">, Schema.Literal<"Infinity">, Schema.Literal<"-Infinity">]>, Schema.Literals<readonly ["Infinity", "-Infinity", "NaN"]>]>;
2767
+ readonly downloadCount: Schema.Union<readonly [Schema.Union<readonly [Schema.Union<readonly [Schema.Number, Schema.Literal<"NaN">, Schema.Literal<"Infinity">, Schema.Literal<"-Infinity">]>, Schema.Literals<readonly ["Infinity", "-Infinity", "NaN"]>]>, Schema.Null]>;
2768
+ }>;
2769
+ }>;
2770
+ export type ExtensionsDeleteExtension400 = ProblemDetails | DecodeErrorResponse;
2771
+ export declare const ExtensionsDeleteExtension400: Schema.Union<readonly [Schema.Struct<{
2772
+ readonly type: Schema.String;
2773
+ readonly title: Schema.String;
2774
+ readonly status: Schema.Number;
2775
+ readonly detail: Schema.String;
2776
+ readonly instance: Schema.optionalKey<Schema.String>;
2777
+ readonly code: Schema.String;
2778
+ readonly details: Schema.optionalKey<Schema.Struct<{
2779
+ readonly retryable: Schema.Boolean;
2780
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
2781
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
2782
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
2783
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2784
+ }>>;
2785
+ }>, Schema.Struct<{
2786
+ readonly kind: Schema.Literal<"DecodeErrorResponse">;
2787
+ readonly type: Schema.String;
2788
+ readonly title: Schema.String;
2789
+ readonly status: Schema.Number;
2790
+ readonly detail: Schema.String;
2791
+ readonly instance: Schema.optionalKey<Schema.String>;
2792
+ readonly code: Schema.String;
2793
+ }>]>;
2794
+ export type ExtensionsDeleteExtension401 = StepUpRequiredError | ProblemDetails;
2795
+ export declare const ExtensionsDeleteExtension401: Schema.Union<readonly [Schema.Struct<{
2796
+ readonly kind: Schema.Literal<"StepUpRequiredError">;
2797
+ readonly type: Schema.String;
2798
+ readonly title: Schema.String;
2799
+ readonly status: Schema.Number;
2800
+ readonly detail: Schema.String;
2801
+ readonly instance: Schema.optionalKey<Schema.String>;
2802
+ readonly code: Schema.Literal<"eotp">;
2803
+ readonly authUrl: Schema.String;
2804
+ readonly doneUrl: Schema.String;
2805
+ }>, Schema.Struct<{
2806
+ readonly type: Schema.String;
2807
+ readonly title: Schema.String;
2808
+ readonly status: Schema.Number;
2809
+ readonly detail: Schema.String;
2810
+ readonly instance: Schema.optionalKey<Schema.String>;
2811
+ readonly code: Schema.String;
2812
+ readonly details: Schema.optionalKey<Schema.Struct<{
2813
+ readonly retryable: Schema.Boolean;
2814
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
2815
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
2816
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
2817
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2818
+ }>>;
2819
+ }>]>;
2820
+ export type ExtensionsDeleteExtension403 = ForbiddenError | ForbiddenError;
2821
+ export declare const ExtensionsDeleteExtension403: Schema.Union<readonly [Schema.Struct<{
2822
+ readonly kind: Schema.Literal<"ForbiddenError">;
2823
+ readonly type: Schema.String;
2824
+ readonly title: Schema.String;
2825
+ readonly status: Schema.Number;
2826
+ readonly detail: Schema.String;
2827
+ readonly instance: Schema.optionalKey<Schema.String>;
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"]>;
2829
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2830
+ readonly requiredScope: Schema.String;
2831
+ readonly grantedScopes: Schema.$Array<Schema.String>;
2832
+ }>, Schema.Struct<{
2833
+ readonly requiredScope: Schema.String;
2834
+ readonly tokenScopes: Schema.$Array<Schema.String>;
2835
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
2836
+ }>, Schema.Struct<{
2837
+ readonly retryable: Schema.Boolean;
2838
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
2839
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
2840
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
2841
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2842
+ }>]>>;
2843
+ }>, Schema.Struct<{
2844
+ readonly kind: Schema.Literal<"ForbiddenError">;
2845
+ readonly type: Schema.String;
2846
+ readonly title: Schema.String;
2847
+ readonly status: Schema.Number;
2848
+ readonly detail: Schema.String;
2849
+ readonly instance: Schema.optionalKey<Schema.String>;
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"]>;
2851
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2852
+ readonly requiredScope: Schema.String;
2853
+ readonly grantedScopes: Schema.$Array<Schema.String>;
2854
+ }>, Schema.Struct<{
2855
+ readonly requiredScope: Schema.String;
2856
+ readonly tokenScopes: Schema.$Array<Schema.String>;
2857
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
2858
+ }>, Schema.Struct<{
2859
+ readonly retryable: Schema.Boolean;
2860
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
2861
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
2862
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
2863
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2864
+ }>]>>;
2865
+ }>]>;
2866
+ export type ExtensionsDeleteExtension404 = ProblemDetails;
2867
+ export declare const ExtensionsDeleteExtension404: Schema.Struct<{
2868
+ readonly type: Schema.String;
2869
+ readonly title: Schema.String;
2870
+ readonly status: Schema.Number;
2871
+ readonly detail: Schema.String;
2872
+ readonly instance: Schema.optionalKey<Schema.String>;
2873
+ readonly code: Schema.String;
2874
+ readonly details: Schema.optionalKey<Schema.Struct<{
2875
+ readonly retryable: Schema.Boolean;
2876
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
2877
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
2878
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
2879
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2880
+ }>>;
2881
+ }>;
2882
+ export type ExtensionsDeleteExtension409 = ProblemDetails;
2883
+ export declare const ExtensionsDeleteExtension409: Schema.Struct<{
2884
+ readonly type: Schema.String;
2885
+ readonly title: Schema.String;
2886
+ readonly status: Schema.Number;
2887
+ readonly detail: Schema.String;
2888
+ readonly instance: Schema.optionalKey<Schema.String>;
2889
+ readonly code: Schema.String;
2890
+ readonly details: Schema.optionalKey<Schema.Struct<{
2891
+ readonly retryable: Schema.Boolean;
2892
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
2893
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
2894
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
2895
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2896
+ }>>;
2897
+ }>;
2544
2898
  export type ExtensionsUpdateVisibilityRequestJson = PatchVisibilityBody;
2545
2899
  export declare const ExtensionsUpdateVisibilityRequestJson: Schema.Struct<{
2546
- readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
2900
+ readonly visibility: Schema.Literals<readonly ["public", "private"]>;
2547
2901
  }>;
2548
2902
  export type ExtensionsUpdateVisibility200 = {
2549
2903
  readonly id: ExtensionId;
@@ -2613,7 +2967,7 @@ export declare const ExtensionsUpdateVisibility403: Schema.Union<readonly [Schem
2613
2967
  readonly status: Schema.Number;
2614
2968
  readonly detail: Schema.String;
2615
2969
  readonly instance: Schema.optionalKey<Schema.String>;
2616
- 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"]>;
2617
2971
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2618
2972
  readonly requiredScope: Schema.String;
2619
2973
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -2635,7 +2989,7 @@ export declare const ExtensionsUpdateVisibility403: Schema.Union<readonly [Schem
2635
2989
  readonly status: Schema.Number;
2636
2990
  readonly detail: Schema.String;
2637
2991
  readonly instance: Schema.optionalKey<Schema.String>;
2638
- 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"]>;
2639
2993
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2640
2994
  readonly requiredScope: Schema.String;
2641
2995
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -2667,26 +3021,11 @@ export declare const ExtensionsUpdateVisibility404: Schema.Struct<{
2667
3021
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2668
3022
  }>>;
2669
3023
  }>;
2670
- export type ExtensionsUpdateVisibility422 = ProblemDetails;
2671
- export declare const ExtensionsUpdateVisibility422: Schema.Struct<{
2672
- readonly type: Schema.String;
2673
- readonly title: Schema.String;
2674
- readonly status: Schema.Number;
2675
- readonly detail: Schema.String;
2676
- readonly instance: Schema.optionalKey<Schema.String>;
2677
- readonly code: Schema.String;
2678
- readonly details: Schema.optionalKey<Schema.Struct<{
2679
- readonly retryable: Schema.Boolean;
2680
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
2681
- readonly requiredScope: Schema.optionalKey<Schema.String>;
2682
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
2683
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2684
- }>>;
2685
- }>;
2686
3024
  export type ExtensionsGetVersion200 = {
2687
3025
  readonly name: ExtensionName;
2688
3026
  readonly owner: Handle;
2689
3027
  readonly type: ExtensionType;
3028
+ readonly publisher_binding_id: string;
2690
3029
  readonly version: Version;
2691
3030
  readonly status: "pending" | "available" | "failed";
2692
3031
  readonly published: IsoDateTimeString;
@@ -2701,12 +3040,14 @@ export type ExtensionsGetVersion200 = {
2701
3040
  } | null;
2702
3041
  readonly packages?: ReadonlyArray<CompanionPackage> | null;
2703
3042
  readonly yanked_at?: IsoDateTimeString | null;
2704
- readonly deleted_at?: IsoDateTimeString | null;
3043
+ readonly yank_category?: string | null;
3044
+ readonly yank_notice?: string | null;
2705
3045
  };
2706
3046
  export declare const ExtensionsGetVersion200: Schema.Struct<{
2707
3047
  readonly name: Schema.String;
2708
3048
  readonly owner: Schema.String;
2709
3049
  readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
3050
+ readonly publisher_binding_id: Schema.String;
2710
3051
  readonly version: Schema.String;
2711
3052
  readonly status: Schema.Literals<readonly ["pending", "available", "failed"]>;
2712
3053
  readonly published: Schema.String;
@@ -2733,7 +3074,8 @@ export declare const ExtensionsGetVersion200: Schema.Struct<{
2733
3074
  readonly versionRange: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2734
3075
  }>>, Schema.Null]>>;
2735
3076
  readonly yanked_at: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2736
- readonly deleted_at: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3077
+ readonly yank_category: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3078
+ readonly yank_notice: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2737
3079
  }>;
2738
3080
  export type ExtensionsGetVersion400 = DecodeErrorResponse;
2739
3081
  export declare const ExtensionsGetVersion400: Schema.Struct<{
@@ -2761,13 +3103,21 @@ export declare const ExtensionsGetVersion404: Schema.Struct<{
2761
3103
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2762
3104
  }>>;
2763
3105
  }>;
2764
- export type ExtensionsPublishVersionRequestFormData = {
2765
- readonly archive: string;
2766
- readonly integrity?: string | null;
2767
- };
2768
- export declare const ExtensionsPublishVersionRequestFormData: Schema.Struct<{
2769
- readonly archive: Schema.String;
2770
- readonly integrity: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3106
+ export type ExtensionsGetVersion410 = ProblemDetails;
3107
+ export declare const ExtensionsGetVersion410: Schema.Struct<{
3108
+ readonly type: Schema.String;
3109
+ readonly title: Schema.String;
3110
+ readonly status: Schema.Number;
3111
+ readonly detail: Schema.String;
3112
+ readonly instance: Schema.optionalKey<Schema.String>;
3113
+ readonly code: Schema.String;
3114
+ readonly details: Schema.optionalKey<Schema.Struct<{
3115
+ readonly retryable: Schema.Boolean;
3116
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
3117
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
3118
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3119
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3120
+ }>>;
2771
3121
  }>;
2772
3122
  export type ExtensionsPublishVersion201 = {
2773
3123
  readonly owner: Handle;
@@ -2841,7 +3191,7 @@ export declare const ExtensionsPublishVersion403: Schema.Union<readonly [Schema.
2841
3191
  readonly status: Schema.Number;
2842
3192
  readonly detail: Schema.String;
2843
3193
  readonly instance: Schema.optionalKey<Schema.String>;
2844
- 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"]>;
2845
3195
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2846
3196
  readonly requiredScope: Schema.String;
2847
3197
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -2863,7 +3213,7 @@ export declare const ExtensionsPublishVersion403: Schema.Union<readonly [Schema.
2863
3213
  readonly status: Schema.Number;
2864
3214
  readonly detail: Schema.String;
2865
3215
  readonly instance: Schema.optionalKey<Schema.String>;
2866
- 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"]>;
2867
3217
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2868
3218
  readonly requiredScope: Schema.String;
2869
3219
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3058,8 +3408,32 @@ export declare const ExtensionsPublishVersion503: Schema.Struct<{
3058
3408
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3059
3409
  }>>;
3060
3410
  }>;
3061
- export type ExtensionsDeleteVersion400 = DecodeErrorResponse;
3062
- export declare const ExtensionsDeleteVersion400: Schema.Struct<{
3411
+ export type ExtensionsGetDeletionOperation200 = {
3412
+ readonly id: ExtensionDeletionOperationId;
3413
+ readonly owner: Handle;
3414
+ readonly type: ExtensionType;
3415
+ readonly name: ExtensionName;
3416
+ readonly state: "pending" | "dispatching" | "completed" | "failed";
3417
+ readonly requestedAt: string;
3418
+ readonly completedAt: string | null;
3419
+ readonly nameReclaimableAt: string | null;
3420
+ readonly failureCode: string | null;
3421
+ readonly failureDetail: string | null;
3422
+ };
3423
+ export declare const ExtensionsGetDeletionOperation200: Schema.Struct<{
3424
+ readonly id: Schema.String;
3425
+ readonly owner: Schema.String;
3426
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
3427
+ readonly name: Schema.String;
3428
+ readonly state: Schema.Literals<readonly ["pending", "dispatching", "completed", "failed"]>;
3429
+ readonly requestedAt: Schema.String;
3430
+ readonly completedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3431
+ readonly nameReclaimableAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3432
+ readonly failureCode: Schema.Union<readonly [Schema.String, Schema.Null]>;
3433
+ readonly failureDetail: Schema.Union<readonly [Schema.String, Schema.Null]>;
3434
+ }>;
3435
+ export type ExtensionsGetDeletionOperation400 = DecodeErrorResponse;
3436
+ export declare const ExtensionsGetDeletionOperation400: Schema.Struct<{
3063
3437
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
3064
3438
  readonly type: Schema.String;
3065
3439
  readonly title: Schema.String;
@@ -3068,8 +3442,8 @@ export declare const ExtensionsDeleteVersion400: Schema.Struct<{
3068
3442
  readonly instance: Schema.optionalKey<Schema.String>;
3069
3443
  readonly code: Schema.String;
3070
3444
  }>;
3071
- export type ExtensionsDeleteVersion401 = ProblemDetails;
3072
- export declare const ExtensionsDeleteVersion401: Schema.Struct<{
3445
+ export type ExtensionsGetDeletionOperation401 = ProblemDetails;
3446
+ export declare const ExtensionsGetDeletionOperation401: Schema.Struct<{
3073
3447
  readonly type: Schema.String;
3074
3448
  readonly title: Schema.String;
3075
3449
  readonly status: Schema.Number;
@@ -3084,15 +3458,15 @@ export declare const ExtensionsDeleteVersion401: Schema.Struct<{
3084
3458
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3085
3459
  }>>;
3086
3460
  }>;
3087
- export type ExtensionsDeleteVersion403 = ForbiddenError;
3088
- export declare const ExtensionsDeleteVersion403: Schema.Struct<{
3461
+ export type ExtensionsGetDeletionOperation403 = ForbiddenError | ForbiddenError;
3462
+ export declare const ExtensionsGetDeletionOperation403: Schema.Union<readonly [Schema.Struct<{
3089
3463
  readonly kind: Schema.Literal<"ForbiddenError">;
3090
3464
  readonly type: Schema.String;
3091
3465
  readonly title: Schema.String;
3092
3466
  readonly status: Schema.Number;
3093
3467
  readonly detail: Schema.String;
3094
3468
  readonly instance: Schema.optionalKey<Schema.String>;
3095
- 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"]>;
3096
3470
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3097
3471
  readonly requiredScope: Schema.String;
3098
3472
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3107,9 +3481,31 @@ export declare const ExtensionsDeleteVersion403: Schema.Struct<{
3107
3481
  readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3108
3482
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3109
3483
  }>]>>;
3110
- }>;
3111
- export type ExtensionsDeleteVersion404 = ProblemDetails;
3112
- export declare const ExtensionsDeleteVersion404: Schema.Struct<{
3484
+ }>, Schema.Struct<{
3485
+ readonly kind: Schema.Literal<"ForbiddenError">;
3486
+ readonly type: Schema.String;
3487
+ readonly title: Schema.String;
3488
+ readonly status: Schema.Number;
3489
+ readonly detail: Schema.String;
3490
+ readonly instance: Schema.optionalKey<Schema.String>;
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"]>;
3492
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3493
+ readonly requiredScope: Schema.String;
3494
+ readonly grantedScopes: Schema.$Array<Schema.String>;
3495
+ }>, Schema.Struct<{
3496
+ readonly requiredScope: Schema.String;
3497
+ readonly tokenScopes: Schema.$Array<Schema.String>;
3498
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
3499
+ }>, Schema.Struct<{
3500
+ readonly retryable: Schema.Boolean;
3501
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
3502
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
3503
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3504
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3505
+ }>]>>;
3506
+ }>]>;
3507
+ export type ExtensionsGetDeletionOperation404 = ProblemDetails;
3508
+ export declare const ExtensionsGetDeletionOperation404: Schema.Struct<{
3113
3509
  readonly type: Schema.String;
3114
3510
  readonly title: Schema.String;
3115
3511
  readonly status: Schema.Number;
@@ -3218,7 +3614,7 @@ export declare const ExtensionsDeprecate403: Schema.Struct<{
3218
3614
  readonly status: Schema.Number;
3219
3615
  readonly detail: Schema.String;
3220
3616
  readonly instance: Schema.optionalKey<Schema.String>;
3221
- 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"]>;
3222
3618
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3223
3619
  readonly requiredScope: Schema.String;
3224
3620
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3298,7 +3694,7 @@ export declare const ExtensionsUndeprecate403: Schema.Struct<{
3298
3694
  readonly status: Schema.Number;
3299
3695
  readonly detail: Schema.String;
3300
3696
  readonly instance: Schema.optionalKey<Schema.String>;
3301
- 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"]>;
3302
3698
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3303
3699
  readonly requiredScope: Schema.String;
3304
3700
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3330,12 +3726,19 @@ export declare const ExtensionsUndeprecate404: Schema.Struct<{
3330
3726
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3331
3727
  }>>;
3332
3728
  }>;
3729
+ export type ExtensionsYankVersionRequestJson = YankVersionBody;
3730
+ export declare const ExtensionsYankVersionRequestJson: Schema.Struct<{
3731
+ readonly category: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["broken", "security", "accidental", "other"]>, Schema.Null]>>;
3732
+ readonly notice: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3733
+ }>;
3333
3734
  export type ExtensionsYankVersion200 = {
3334
3735
  readonly owner: Handle;
3335
3736
  readonly type: ExtensionType;
3336
3737
  readonly name: ExtensionName;
3337
3738
  readonly version: Version;
3338
3739
  readonly yankedAt: IsoDateTimeString | null;
3740
+ readonly yankCategory: string | null;
3741
+ readonly yankNotice: string | null;
3339
3742
  readonly links: ExtensionLinks;
3340
3743
  };
3341
3744
  export declare const ExtensionsYankVersion200: Schema.Struct<{
@@ -3344,6 +3747,8 @@ export declare const ExtensionsYankVersion200: Schema.Struct<{
3344
3747
  readonly name: Schema.String;
3345
3748
  readonly version: Schema.String;
3346
3749
  readonly yankedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3750
+ readonly yankCategory: Schema.Union<readonly [Schema.String, Schema.Null]>;
3751
+ readonly yankNotice: Schema.Union<readonly [Schema.String, Schema.Null]>;
3347
3752
  readonly links: Schema.Struct<{
3348
3753
  readonly html: Schema.String;
3349
3754
  }>;
@@ -3392,7 +3797,7 @@ export declare const ExtensionsYankVersion403: Schema.Struct<{
3392
3797
  readonly status: Schema.Number;
3393
3798
  readonly detail: Schema.String;
3394
3799
  readonly instance: Schema.optionalKey<Schema.String>;
3395
- 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"]>;
3396
3801
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3397
3802
  readonly requiredScope: Schema.String;
3398
3803
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3430,6 +3835,8 @@ export type ExtensionsUnyankVersion200 = {
3430
3835
  readonly name: ExtensionName;
3431
3836
  readonly version: Version;
3432
3837
  readonly yankedAt: null;
3838
+ readonly yankCategory: null;
3839
+ readonly yankNotice: null;
3433
3840
  readonly links: ExtensionLinks;
3434
3841
  };
3435
3842
  export declare const ExtensionsUnyankVersion200: Schema.Struct<{
@@ -3438,6 +3845,8 @@ export declare const ExtensionsUnyankVersion200: Schema.Struct<{
3438
3845
  readonly name: Schema.String;
3439
3846
  readonly version: Schema.String;
3440
3847
  readonly yankedAt: Schema.Null;
3848
+ readonly yankCategory: Schema.Null;
3849
+ readonly yankNotice: Schema.Null;
3441
3850
  readonly links: Schema.Struct<{
3442
3851
  readonly html: Schema.String;
3443
3852
  }>;
@@ -3486,7 +3895,7 @@ export declare const ExtensionsUnyankVersion403: Schema.Struct<{
3486
3895
  readonly status: Schema.Number;
3487
3896
  readonly detail: Schema.String;
3488
3897
  readonly instance: Schema.optionalKey<Schema.String>;
3489
- 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"]>;
3490
3899
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3491
3900
  readonly requiredScope: Schema.String;
3492
3901
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3518,38 +3927,24 @@ export declare const ExtensionsUnyankVersion404: Schema.Struct<{
3518
3927
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3519
3928
  }>>;
3520
3929
  }>;
3521
- export type LibrariesListLibraries200 = {
3522
- readonly libraries: ReadonlyArray<Library>;
3930
+ export type ExtensionsYankAvailableVersionsRequestJson = YankAvailableVersionsBody;
3931
+ export declare const ExtensionsYankAvailableVersionsRequestJson: Schema.Struct<{
3932
+ readonly selection: Schema.Literal<"all-available">;
3933
+ readonly category: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["broken", "security", "accidental", "other"]>, Schema.Null]>>;
3934
+ readonly notice: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3935
+ }>;
3936
+ export type ExtensionsYankAvailableVersions200 = {
3937
+ readonly selection: "all-available";
3938
+ readonly affectedVersions: ReadonlyArray<Version>;
3939
+ readonly futureVersionsAffected: false;
3523
3940
  };
3524
- export declare const LibrariesListLibraries200: Schema.Struct<{
3525
- readonly libraries: Schema.$Array<Schema.Struct<{
3526
- readonly id: Schema.String;
3527
- readonly owner: Schema.String;
3528
- readonly name: Schema.String;
3529
- readonly title: Schema.String;
3530
- readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
3531
- readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
3532
- readonly maintainer: Schema.Union<readonly [Schema.Struct<{
3533
- readonly kind: Schema.Literal<"user">;
3534
- readonly userId: Schema.String;
3535
- readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3536
- readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
3537
- }>, Schema.Struct<{
3538
- readonly kind: Schema.Literal<"team">;
3539
- readonly teamId: Schema.String;
3540
- readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3541
- readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
3542
- }>, Schema.Struct<{
3543
- readonly kind: Schema.Literal<"none">;
3544
- readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3545
- readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
3546
- }>]>;
3547
- readonly createdAt: Schema.String;
3548
- readonly updatedAt: Schema.String;
3549
- }>>;
3941
+ export declare const ExtensionsYankAvailableVersions200: Schema.Struct<{
3942
+ readonly selection: Schema.Literal<"all-available">;
3943
+ readonly affectedVersions: Schema.$Array<Schema.String>;
3944
+ readonly futureVersionsAffected: Schema.Literal<false>;
3550
3945
  }>;
3551
- export type LibrariesListLibraries400 = DecodeErrorResponse;
3552
- export declare const LibrariesListLibraries400: Schema.Struct<{
3946
+ export type ExtensionsYankAvailableVersions400 = DecodeErrorResponse;
3947
+ export declare const ExtensionsYankAvailableVersions400: Schema.Struct<{
3553
3948
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
3554
3949
  readonly type: Schema.String;
3555
3950
  readonly title: Schema.String;
@@ -3558,8 +3953,18 @@ export declare const LibrariesListLibraries400: Schema.Struct<{
3558
3953
  readonly instance: Schema.optionalKey<Schema.String>;
3559
3954
  readonly code: Schema.String;
3560
3955
  }>;
3561
- export type LibrariesListLibraries404 = ProblemDetails;
3562
- export declare const LibrariesListLibraries404: Schema.Struct<{
3956
+ export type ExtensionsYankAvailableVersions401 = StepUpRequiredError | ProblemDetails;
3957
+ export declare const ExtensionsYankAvailableVersions401: Schema.Union<readonly [Schema.Struct<{
3958
+ readonly kind: Schema.Literal<"StepUpRequiredError">;
3959
+ readonly type: Schema.String;
3960
+ readonly title: Schema.String;
3961
+ readonly status: Schema.Number;
3962
+ readonly detail: Schema.String;
3963
+ readonly instance: Schema.optionalKey<Schema.String>;
3964
+ readonly code: Schema.Literal<"eotp">;
3965
+ readonly authUrl: Schema.String;
3966
+ readonly doneUrl: Schema.String;
3967
+ }>, Schema.Struct<{
3563
3968
  readonly type: Schema.String;
3564
3969
  readonly title: Schema.String;
3565
3970
  readonly status: Schema.Number;
@@ -3573,42 +3978,33 @@ export declare const LibrariesListLibraries404: Schema.Struct<{
3573
3978
  readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3574
3979
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3575
3980
  }>>;
3576
- }>;
3577
- export type LibrariesCreateLibraryRequestJson = CreateLibraryBody;
3578
- export declare const LibrariesCreateLibraryRequestJson: Schema.Struct<{
3579
- readonly name: Schema.String;
3580
- readonly title: Schema.String;
3581
- readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
3582
- readonly visibility: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["public", "internal", "private"]>, Schema.Null]>>;
3583
- }>;
3584
- export type LibrariesCreateLibrary201 = CreatedLibrary;
3585
- export declare const LibrariesCreateLibrary201: Schema.Struct<{
3586
- readonly id: Schema.String;
3587
- readonly owner: Schema.String;
3588
- readonly name: Schema.String;
3981
+ }>]>;
3982
+ export type ExtensionsYankAvailableVersions403 = ForbiddenError;
3983
+ export declare const ExtensionsYankAvailableVersions403: Schema.Struct<{
3984
+ readonly kind: Schema.Literal<"ForbiddenError">;
3985
+ readonly type: Schema.String;
3589
3986
  readonly title: Schema.String;
3590
- readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
3591
- readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
3592
- readonly maintainer: Schema.Union<readonly [Schema.Struct<{
3593
- readonly kind: Schema.Literal<"user">;
3594
- readonly userId: Schema.String;
3595
- readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3596
- readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
3987
+ readonly status: Schema.Number;
3988
+ readonly detail: Schema.String;
3989
+ readonly instance: Schema.optionalKey<Schema.String>;
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"]>;
3991
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3992
+ readonly requiredScope: Schema.String;
3993
+ readonly grantedScopes: Schema.$Array<Schema.String>;
3597
3994
  }>, Schema.Struct<{
3598
- readonly kind: Schema.Literal<"team">;
3599
- readonly teamId: Schema.String;
3600
- readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3601
- readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
3995
+ readonly requiredScope: Schema.String;
3996
+ readonly tokenScopes: Schema.$Array<Schema.String>;
3997
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
3602
3998
  }>, Schema.Struct<{
3603
- readonly kind: Schema.Literal<"none">;
3604
- readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3605
- readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
3606
- }>]>;
3607
- readonly createdAt: Schema.String;
3608
- readonly updatedAt: Schema.String;
3999
+ readonly retryable: Schema.Boolean;
4000
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4001
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4002
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4003
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4004
+ }>]>>;
3609
4005
  }>;
3610
- export type LibrariesCreateLibrary400 = ProblemDetails | DecodeErrorResponse;
3611
- export declare const LibrariesCreateLibrary400: Schema.Union<readonly [Schema.Struct<{
4006
+ export type ExtensionsYankAvailableVersions404 = ProblemDetails;
4007
+ export declare const ExtensionsYankAvailableVersions404: Schema.Struct<{
3612
4008
  readonly type: Schema.String;
3613
4009
  readonly title: Schema.String;
3614
4010
  readonly status: Schema.Number;
@@ -3622,7 +4018,27 @@ export declare const LibrariesCreateLibrary400: Schema.Union<readonly [Schema.St
3622
4018
  readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3623
4019
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3624
4020
  }>>;
3625
- }>, Schema.Struct<{
4021
+ }>;
4022
+ export type ExtensionsGetDeletionPreview200 = {
4023
+ readonly requiredConfirmation: string;
4024
+ readonly warnings: {
4025
+ readonly versions: ReadonlyArray<string>;
4026
+ readonly dependentPackCount: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
4027
+ readonly libraryMembershipCount: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
4028
+ readonly downloadCount: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN" | null;
4029
+ };
4030
+ };
4031
+ export declare const ExtensionsGetDeletionPreview200: Schema.Struct<{
4032
+ readonly requiredConfirmation: Schema.String;
4033
+ readonly warnings: Schema.Struct<{
4034
+ readonly versions: Schema.$Array<Schema.String>;
4035
+ readonly dependentPackCount: Schema.Union<readonly [Schema.Union<readonly [Schema.Number, Schema.Literal<"NaN">, Schema.Literal<"Infinity">, Schema.Literal<"-Infinity">]>, Schema.Literals<readonly ["Infinity", "-Infinity", "NaN"]>]>;
4036
+ readonly libraryMembershipCount: Schema.Union<readonly [Schema.Union<readonly [Schema.Number, Schema.Literal<"NaN">, Schema.Literal<"Infinity">, Schema.Literal<"-Infinity">]>, Schema.Literals<readonly ["Infinity", "-Infinity", "NaN"]>]>;
4037
+ readonly downloadCount: Schema.Union<readonly [Schema.Union<readonly [Schema.Union<readonly [Schema.Number, Schema.Literal<"NaN">, Schema.Literal<"Infinity">, Schema.Literal<"-Infinity">]>, Schema.Literals<readonly ["Infinity", "-Infinity", "NaN"]>]>, Schema.Null]>;
4038
+ }>;
4039
+ }>;
4040
+ export type ExtensionsGetDeletionPreview400 = DecodeErrorResponse;
4041
+ export declare const ExtensionsGetDeletionPreview400: Schema.Struct<{
3626
4042
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
3627
4043
  readonly type: Schema.String;
3628
4044
  readonly title: Schema.String;
@@ -3630,9 +4046,9 @@ export declare const LibrariesCreateLibrary400: Schema.Union<readonly [Schema.St
3630
4046
  readonly detail: Schema.String;
3631
4047
  readonly instance: Schema.optionalKey<Schema.String>;
3632
4048
  readonly code: Schema.String;
3633
- }>]>;
3634
- export type LibrariesCreateLibrary401 = ProblemDetails;
3635
- export declare const LibrariesCreateLibrary401: Schema.Struct<{
4049
+ }>;
4050
+ export type ExtensionsGetDeletionPreview401 = ProblemDetails;
4051
+ export declare const ExtensionsGetDeletionPreview401: Schema.Struct<{
3636
4052
  readonly type: Schema.String;
3637
4053
  readonly title: Schema.String;
3638
4054
  readonly status: Schema.Number;
@@ -3647,15 +4063,15 @@ export declare const LibrariesCreateLibrary401: Schema.Struct<{
3647
4063
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3648
4064
  }>>;
3649
4065
  }>;
3650
- export type LibrariesCreateLibrary403 = ForbiddenError | ForbiddenError;
3651
- export declare const LibrariesCreateLibrary403: Schema.Union<readonly [Schema.Struct<{
4066
+ export type ExtensionsGetDeletionPreview403 = ForbiddenError | ForbiddenError;
4067
+ export declare const ExtensionsGetDeletionPreview403: Schema.Union<readonly [Schema.Struct<{
3652
4068
  readonly kind: Schema.Literal<"ForbiddenError">;
3653
4069
  readonly type: Schema.String;
3654
4070
  readonly title: Schema.String;
3655
4071
  readonly status: Schema.Number;
3656
4072
  readonly detail: Schema.String;
3657
4073
  readonly instance: Schema.optionalKey<Schema.String>;
3658
- 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"]>;
3659
4075
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3660
4076
  readonly requiredScope: Schema.String;
3661
4077
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3677,7 +4093,7 @@ export declare const LibrariesCreateLibrary403: Schema.Union<readonly [Schema.St
3677
4093
  readonly status: Schema.Number;
3678
4094
  readonly detail: Schema.String;
3679
4095
  readonly instance: Schema.optionalKey<Schema.String>;
3680
- 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"]>;
3681
4097
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3682
4098
  readonly requiredScope: Schema.String;
3683
4099
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3693,8 +4109,8 @@ export declare const LibrariesCreateLibrary403: Schema.Union<readonly [Schema.St
3693
4109
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3694
4110
  }>]>>;
3695
4111
  }>]>;
3696
- export type LibrariesCreateLibrary404 = ProblemDetails;
3697
- export declare const LibrariesCreateLibrary404: Schema.Struct<{
4112
+ export type ExtensionsGetDeletionPreview404 = ProblemDetails;
4113
+ export declare const ExtensionsGetDeletionPreview404: Schema.Struct<{
3698
4114
  readonly type: Schema.String;
3699
4115
  readonly title: Schema.String;
3700
4116
  readonly status: Schema.Number;
@@ -3709,8 +4125,53 @@ export declare const LibrariesCreateLibrary404: Schema.Struct<{
3709
4125
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3710
4126
  }>>;
3711
4127
  }>;
3712
- export type LibrariesCreateLibrary409 = ProblemDetails;
3713
- export declare const LibrariesCreateLibrary409: Schema.Struct<{
4128
+ export type AdminExtensionsPurgeExtensionVersionRequestJson = PurgeExtensionVersionBody;
4129
+ export declare const AdminExtensionsPurgeExtensionVersionRequestJson: Schema.Struct<{
4130
+ readonly reason: Schema.Literals<readonly ["malware", "exposed_secret", "legal", "privacy", "policy"]>;
4131
+ readonly confirmSharedDigest: Schema.Boolean;
4132
+ }>;
4133
+ export type AdminExtensionsPurgeExtensionVersion202 = {
4134
+ readonly operationId: string;
4135
+ readonly affectedCoordinates: ReadonlyArray<{
4136
+ readonly owner: Handle;
4137
+ readonly type: ExtensionType;
4138
+ readonly name: ExtensionName;
4139
+ readonly version: Version;
4140
+ }>;
4141
+ readonly archivePurgeState: "pending";
4142
+ };
4143
+ export declare const AdminExtensionsPurgeExtensionVersion202: Schema.Struct<{
4144
+ readonly operationId: Schema.String;
4145
+ readonly affectedCoordinates: Schema.$Array<Schema.Struct<{
4146
+ readonly owner: Schema.String;
4147
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
4148
+ readonly name: Schema.String;
4149
+ readonly version: Schema.String;
4150
+ }>>;
4151
+ readonly archivePurgeState: Schema.Literal<"pending">;
4152
+ }>;
4153
+ export type AdminExtensionsPurgeExtensionVersion400 = DecodeErrorResponse;
4154
+ export declare const AdminExtensionsPurgeExtensionVersion400: Schema.Struct<{
4155
+ readonly kind: Schema.Literal<"DecodeErrorResponse">;
4156
+ readonly type: Schema.String;
4157
+ readonly title: Schema.String;
4158
+ readonly status: Schema.Number;
4159
+ readonly detail: Schema.String;
4160
+ readonly instance: Schema.optionalKey<Schema.String>;
4161
+ readonly code: Schema.String;
4162
+ }>;
4163
+ export type AdminExtensionsPurgeExtensionVersion401 = StepUpRequiredError | ProblemDetails;
4164
+ export declare const AdminExtensionsPurgeExtensionVersion401: Schema.Union<readonly [Schema.Struct<{
4165
+ readonly kind: Schema.Literal<"StepUpRequiredError">;
4166
+ readonly type: Schema.String;
4167
+ readonly title: Schema.String;
4168
+ readonly status: Schema.Number;
4169
+ readonly detail: Schema.String;
4170
+ readonly instance: Schema.optionalKey<Schema.String>;
4171
+ readonly code: Schema.Literal<"eotp">;
4172
+ readonly authUrl: Schema.String;
4173
+ readonly doneUrl: Schema.String;
4174
+ }>, Schema.Struct<{
3714
4175
  readonly type: Schema.String;
3715
4176
  readonly title: Schema.String;
3716
4177
  readonly status: Schema.Number;
@@ -3724,9 +4185,55 @@ export declare const LibrariesCreateLibrary409: Schema.Struct<{
3724
4185
  readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3725
4186
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3726
4187
  }>>;
3727
- }>;
3728
- export type LibrariesCreateLibrary422 = ProblemDetails;
3729
- export declare const LibrariesCreateLibrary422: Schema.Struct<{
4188
+ }>]>;
4189
+ export type AdminExtensionsPurgeExtensionVersion403 = ForbiddenError | ForbiddenError;
4190
+ export declare const AdminExtensionsPurgeExtensionVersion403: Schema.Union<readonly [Schema.Struct<{
4191
+ readonly kind: Schema.Literal<"ForbiddenError">;
4192
+ readonly type: Schema.String;
4193
+ readonly title: Schema.String;
4194
+ readonly status: Schema.Number;
4195
+ readonly detail: Schema.String;
4196
+ readonly instance: Schema.optionalKey<Schema.String>;
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"]>;
4198
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4199
+ readonly requiredScope: Schema.String;
4200
+ readonly grantedScopes: Schema.$Array<Schema.String>;
4201
+ }>, Schema.Struct<{
4202
+ readonly requiredScope: Schema.String;
4203
+ readonly tokenScopes: Schema.$Array<Schema.String>;
4204
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
4205
+ }>, Schema.Struct<{
4206
+ readonly retryable: Schema.Boolean;
4207
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4208
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4209
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4210
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4211
+ }>]>>;
4212
+ }>, Schema.Struct<{
4213
+ readonly kind: Schema.Literal<"ForbiddenError">;
4214
+ readonly type: Schema.String;
4215
+ readonly title: Schema.String;
4216
+ readonly status: Schema.Number;
4217
+ readonly detail: Schema.String;
4218
+ readonly instance: Schema.optionalKey<Schema.String>;
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"]>;
4220
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4221
+ readonly requiredScope: Schema.String;
4222
+ readonly grantedScopes: Schema.$Array<Schema.String>;
4223
+ }>, Schema.Struct<{
4224
+ readonly requiredScope: Schema.String;
4225
+ readonly tokenScopes: Schema.$Array<Schema.String>;
4226
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
4227
+ }>, Schema.Struct<{
4228
+ readonly retryable: Schema.Boolean;
4229
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4230
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4231
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4232
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4233
+ }>]>>;
4234
+ }>]>;
4235
+ export type AdminExtensionsPurgeExtensionVersion404 = ProblemDetails;
4236
+ export declare const AdminExtensionsPurgeExtensionVersion404: Schema.Struct<{
3730
4237
  readonly type: Schema.String;
3731
4238
  readonly title: Schema.String;
3732
4239
  readonly status: Schema.Number;
@@ -3741,15 +4248,49 @@ export declare const LibrariesCreateLibrary422: Schema.Struct<{
3741
4248
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3742
4249
  }>>;
3743
4250
  }>;
3744
- export type LibrariesGetLibrary200 = LibraryDetail;
3745
- export declare const LibrariesGetLibrary200: Schema.Struct<{
3746
- readonly library: Schema.Struct<{
4251
+ export type AdminExtensionsPurgeExtensionVersion409 = SharedDigestConfirmationRequiredHttpError;
4252
+ export declare const AdminExtensionsPurgeExtensionVersion409: Schema.Struct<{
4253
+ readonly kind: Schema.Literal<"SharedDigestConfirmationRequiredHttpError">;
4254
+ readonly type: Schema.String;
4255
+ readonly title: Schema.String;
4256
+ readonly status: Schema.Number;
4257
+ readonly detail: Schema.String;
4258
+ readonly instance: Schema.optionalKey<Schema.String>;
4259
+ readonly code: Schema.Literal<"shared_digest_confirmation_required">;
4260
+ readonly affectedCoordinates: Schema.$Array<Schema.Struct<{
4261
+ readonly owner: Schema.String;
4262
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
4263
+ readonly name: Schema.String;
4264
+ readonly version: Schema.String;
4265
+ }>>;
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
+ }>;
4279
+ export type LibrariesListLibraries200 = {
4280
+ readonly libraries: ReadonlyArray<Library>;
4281
+ readonly total: number;
4282
+ readonly limit: number;
4283
+ readonly offset: number;
4284
+ readonly viewerRelative: true;
4285
+ };
4286
+ export declare const LibrariesListLibraries200: Schema.Struct<{
4287
+ readonly libraries: Schema.$Array<Schema.Struct<{
3747
4288
  readonly id: Schema.String;
3748
4289
  readonly owner: Schema.String;
3749
4290
  readonly name: Schema.String;
3750
4291
  readonly title: Schema.String;
3751
4292
  readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
3752
- readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
4293
+ readonly visibility: Schema.Literals<readonly ["public", "private"]>;
3753
4294
  readonly maintainer: Schema.Union<readonly [Schema.Struct<{
3754
4295
  readonly kind: Schema.Literal<"user">;
3755
4296
  readonly userId: Schema.String;
@@ -3767,20 +4308,14 @@ export declare const LibrariesGetLibrary200: Schema.Struct<{
3767
4308
  }>]>;
3768
4309
  readonly createdAt: Schema.String;
3769
4310
  readonly updatedAt: Schema.String;
3770
- }>;
3771
- readonly members: Schema.$Array<Schema.Struct<{
3772
- readonly id: Schema.String;
3773
- readonly libraryId: Schema.String;
3774
- readonly extensionId: Schema.String;
3775
- readonly extensionOwner: Schema.String;
3776
- readonly extensionType: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
3777
- readonly extensionName: Schema.String;
3778
- readonly addedAt: Schema.String;
3779
4311
  }>>;
3780
- readonly hiddenMemberCount: Schema.Number;
4312
+ readonly total: Schema.Number;
4313
+ readonly limit: Schema.Number;
4314
+ readonly offset: Schema.Number;
4315
+ readonly viewerRelative: Schema.Literal<true>;
3781
4316
  }>;
3782
- export type LibrariesGetLibrary400 = DecodeErrorResponse;
3783
- export declare const LibrariesGetLibrary400: Schema.Struct<{
4317
+ export type LibrariesListLibraries400 = DecodeErrorResponse;
4318
+ export declare const LibrariesListLibraries400: Schema.Struct<{
3784
4319
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
3785
4320
  readonly type: Schema.String;
3786
4321
  readonly title: Schema.String;
@@ -3789,8 +4324,8 @@ export declare const LibrariesGetLibrary400: Schema.Struct<{
3789
4324
  readonly instance: Schema.optionalKey<Schema.String>;
3790
4325
  readonly code: Schema.String;
3791
4326
  }>;
3792
- export type LibrariesGetLibrary404 = ProblemDetails;
3793
- export declare const LibrariesGetLibrary404: Schema.Struct<{
4327
+ export type LibrariesListLibraries404 = ProblemDetails;
4328
+ export declare const LibrariesListLibraries404: Schema.Struct<{
3794
4329
  readonly type: Schema.String;
3795
4330
  readonly title: Schema.String;
3796
4331
  readonly status: Schema.Number;
@@ -3805,8 +4340,41 @@ export declare const LibrariesGetLibrary404: Schema.Struct<{
3805
4340
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3806
4341
  }>>;
3807
4342
  }>;
3808
- export type LibrariesGetLibrary422 = ProblemDetails;
3809
- export declare const LibrariesGetLibrary422: Schema.Struct<{
4343
+ export type LibrariesCreateLibraryRequestJson = CreateLibraryBody;
4344
+ export declare const LibrariesCreateLibraryRequestJson: Schema.Struct<{
4345
+ readonly name: Schema.String;
4346
+ readonly title: Schema.String;
4347
+ readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
4348
+ readonly visibility: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["public", "private"]>, Schema.Null]>>;
4349
+ }>;
4350
+ export type LibrariesCreateLibrary201 = CreatedLibrary;
4351
+ export declare const LibrariesCreateLibrary201: Schema.Struct<{
4352
+ readonly id: Schema.String;
4353
+ readonly owner: Schema.String;
4354
+ readonly name: Schema.String;
4355
+ readonly title: Schema.String;
4356
+ readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
4357
+ readonly visibility: Schema.Literals<readonly ["public", "private"]>;
4358
+ readonly maintainer: Schema.Union<readonly [Schema.Struct<{
4359
+ readonly kind: Schema.Literal<"user">;
4360
+ readonly userId: Schema.String;
4361
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4362
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4363
+ }>, Schema.Struct<{
4364
+ readonly kind: Schema.Literal<"team">;
4365
+ readonly teamId: Schema.String;
4366
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4367
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4368
+ }>, Schema.Struct<{
4369
+ readonly kind: Schema.Literal<"none">;
4370
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4371
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4372
+ }>]>;
4373
+ readonly createdAt: Schema.String;
4374
+ readonly updatedAt: Schema.String;
4375
+ }>;
4376
+ export type LibrariesCreateLibrary400 = ProblemDetails | DecodeErrorResponse;
4377
+ export declare const LibrariesCreateLibrary400: Schema.Union<readonly [Schema.Struct<{
3810
4378
  readonly type: Schema.String;
3811
4379
  readonly title: Schema.String;
3812
4380
  readonly status: Schema.Number;
@@ -3820,9 +4388,7 @@ export declare const LibrariesGetLibrary422: Schema.Struct<{
3820
4388
  readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3821
4389
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3822
4390
  }>>;
3823
- }>;
3824
- export type LibrariesDeleteLibrary400 = DecodeErrorResponse;
3825
- export declare const LibrariesDeleteLibrary400: Schema.Struct<{
4391
+ }>, Schema.Struct<{
3826
4392
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
3827
4393
  readonly type: Schema.String;
3828
4394
  readonly title: Schema.String;
@@ -3830,9 +4396,9 @@ export declare const LibrariesDeleteLibrary400: Schema.Struct<{
3830
4396
  readonly detail: Schema.String;
3831
4397
  readonly instance: Schema.optionalKey<Schema.String>;
3832
4398
  readonly code: Schema.String;
3833
- }>;
3834
- export type LibrariesDeleteLibrary401 = ProblemDetails;
3835
- export declare const LibrariesDeleteLibrary401: Schema.Struct<{
4399
+ }>]>;
4400
+ export type LibrariesCreateLibrary401 = ProblemDetails;
4401
+ export declare const LibrariesCreateLibrary401: Schema.Struct<{
3836
4402
  readonly type: Schema.String;
3837
4403
  readonly title: Schema.String;
3838
4404
  readonly status: Schema.Number;
@@ -3847,15 +4413,15 @@ export declare const LibrariesDeleteLibrary401: Schema.Struct<{
3847
4413
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3848
4414
  }>>;
3849
4415
  }>;
3850
- export type LibrariesDeleteLibrary403 = ForbiddenError | ForbiddenError;
3851
- export declare const LibrariesDeleteLibrary403: Schema.Union<readonly [Schema.Struct<{
4416
+ export type LibrariesCreateLibrary403 = ForbiddenError | ForbiddenError;
4417
+ export declare const LibrariesCreateLibrary403: Schema.Union<readonly [Schema.Struct<{
3852
4418
  readonly kind: Schema.Literal<"ForbiddenError">;
3853
4419
  readonly type: Schema.String;
3854
4420
  readonly title: Schema.String;
3855
4421
  readonly status: Schema.Number;
3856
4422
  readonly detail: Schema.String;
3857
4423
  readonly instance: Schema.optionalKey<Schema.String>;
3858
- 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"]>;
3859
4425
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3860
4426
  readonly requiredScope: Schema.String;
3861
4427
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3877,7 +4443,7 @@ export declare const LibrariesDeleteLibrary403: Schema.Union<readonly [Schema.St
3877
4443
  readonly status: Schema.Number;
3878
4444
  readonly detail: Schema.String;
3879
4445
  readonly instance: Schema.optionalKey<Schema.String>;
3880
- 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"]>;
3881
4447
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3882
4448
  readonly requiredScope: Schema.String;
3883
4449
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3893,591 +4459,8 @@ export declare const LibrariesDeleteLibrary403: Schema.Union<readonly [Schema.St
3893
4459
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3894
4460
  }>]>>;
3895
4461
  }>]>;
3896
- export type LibrariesDeleteLibrary404 = ProblemDetails;
3897
- export declare const LibrariesDeleteLibrary404: Schema.Struct<{
3898
- readonly type: Schema.String;
3899
- readonly title: Schema.String;
3900
- readonly status: Schema.Number;
3901
- readonly detail: Schema.String;
3902
- readonly instance: Schema.optionalKey<Schema.String>;
3903
- readonly code: Schema.String;
3904
- readonly details: Schema.optionalKey<Schema.Struct<{
3905
- readonly retryable: Schema.Boolean;
3906
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
3907
- readonly requiredScope: Schema.optionalKey<Schema.String>;
3908
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3909
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3910
- }>>;
3911
- }>;
3912
- export type LibrariesDeleteLibrary422 = ProblemDetails;
3913
- export declare const LibrariesDeleteLibrary422: Schema.Struct<{
3914
- readonly type: Schema.String;
3915
- readonly title: Schema.String;
3916
- readonly status: Schema.Number;
3917
- readonly detail: Schema.String;
3918
- readonly instance: Schema.optionalKey<Schema.String>;
3919
- readonly code: Schema.String;
3920
- readonly details: Schema.optionalKey<Schema.Struct<{
3921
- readonly retryable: Schema.Boolean;
3922
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
3923
- readonly requiredScope: Schema.optionalKey<Schema.String>;
3924
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3925
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3926
- }>>;
3927
- }>;
3928
- export type LibrariesUpdateLibraryRequestJson = UpdateLibraryBody;
3929
- export declare const LibrariesUpdateLibraryRequestJson: Schema.Struct<{
3930
- readonly title: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3931
- readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
3932
- }>;
3933
- export type LibrariesUpdateLibrary200 = Library;
3934
- export declare const LibrariesUpdateLibrary200: Schema.Struct<{
3935
- readonly id: Schema.String;
3936
- readonly owner: Schema.String;
3937
- readonly name: Schema.String;
3938
- readonly title: Schema.String;
3939
- readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
3940
- readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
3941
- readonly maintainer: Schema.Union<readonly [Schema.Struct<{
3942
- readonly kind: Schema.Literal<"user">;
3943
- readonly userId: Schema.String;
3944
- readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3945
- readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
3946
- }>, Schema.Struct<{
3947
- readonly kind: Schema.Literal<"team">;
3948
- readonly teamId: Schema.String;
3949
- readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3950
- readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
3951
- }>, Schema.Struct<{
3952
- readonly kind: Schema.Literal<"none">;
3953
- readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3954
- readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
3955
- }>]>;
3956
- readonly createdAt: Schema.String;
3957
- readonly updatedAt: Schema.String;
3958
- }>;
3959
- export type LibrariesUpdateLibrary400 = ProblemDetails | DecodeErrorResponse;
3960
- export declare const LibrariesUpdateLibrary400: Schema.Union<readonly [Schema.Struct<{
3961
- readonly type: Schema.String;
3962
- readonly title: Schema.String;
3963
- readonly status: Schema.Number;
3964
- readonly detail: Schema.String;
3965
- readonly instance: Schema.optionalKey<Schema.String>;
3966
- readonly code: Schema.String;
3967
- readonly details: Schema.optionalKey<Schema.Struct<{
3968
- readonly retryable: Schema.Boolean;
3969
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
3970
- readonly requiredScope: Schema.optionalKey<Schema.String>;
3971
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3972
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3973
- }>>;
3974
- }>, Schema.Struct<{
3975
- readonly kind: Schema.Literal<"DecodeErrorResponse">;
3976
- readonly type: Schema.String;
3977
- readonly title: Schema.String;
3978
- readonly status: Schema.Number;
3979
- readonly detail: Schema.String;
3980
- readonly instance: Schema.optionalKey<Schema.String>;
3981
- readonly code: Schema.String;
3982
- }>]>;
3983
- export type LibrariesUpdateLibrary401 = ProblemDetails;
3984
- export declare const LibrariesUpdateLibrary401: Schema.Struct<{
3985
- readonly type: Schema.String;
3986
- readonly title: Schema.String;
3987
- readonly status: Schema.Number;
3988
- readonly detail: Schema.String;
3989
- readonly instance: Schema.optionalKey<Schema.String>;
3990
- readonly code: Schema.String;
3991
- readonly details: Schema.optionalKey<Schema.Struct<{
3992
- readonly retryable: Schema.Boolean;
3993
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
3994
- readonly requiredScope: Schema.optionalKey<Schema.String>;
3995
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3996
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3997
- }>>;
3998
- }>;
3999
- export type LibrariesUpdateLibrary403 = ForbiddenError | ForbiddenError;
4000
- export declare const LibrariesUpdateLibrary403: Schema.Union<readonly [Schema.Struct<{
4001
- readonly kind: Schema.Literal<"ForbiddenError">;
4002
- readonly type: Schema.String;
4003
- readonly title: Schema.String;
4004
- readonly status: Schema.Number;
4005
- readonly detail: Schema.String;
4006
- readonly instance: Schema.optionalKey<Schema.String>;
4007
- 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"]>;
4008
- readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4009
- readonly requiredScope: Schema.String;
4010
- readonly grantedScopes: Schema.$Array<Schema.String>;
4011
- }>, Schema.Struct<{
4012
- readonly requiredScope: Schema.String;
4013
- readonly tokenScopes: Schema.$Array<Schema.String>;
4014
- readonly requiredRole: Schema.optionalKey<Schema.String>;
4015
- }>, Schema.Struct<{
4016
- readonly retryable: Schema.Boolean;
4017
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4018
- readonly requiredScope: Schema.optionalKey<Schema.String>;
4019
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4020
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4021
- }>]>>;
4022
- }>, Schema.Struct<{
4023
- readonly kind: Schema.Literal<"ForbiddenError">;
4024
- readonly type: Schema.String;
4025
- readonly title: Schema.String;
4026
- readonly status: Schema.Number;
4027
- readonly detail: Schema.String;
4028
- readonly instance: Schema.optionalKey<Schema.String>;
4029
- 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"]>;
4030
- readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4031
- readonly requiredScope: Schema.String;
4032
- readonly grantedScopes: Schema.$Array<Schema.String>;
4033
- }>, Schema.Struct<{
4034
- readonly requiredScope: Schema.String;
4035
- readonly tokenScopes: Schema.$Array<Schema.String>;
4036
- readonly requiredRole: Schema.optionalKey<Schema.String>;
4037
- }>, Schema.Struct<{
4038
- readonly retryable: Schema.Boolean;
4039
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4040
- readonly requiredScope: Schema.optionalKey<Schema.String>;
4041
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4042
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4043
- }>]>>;
4044
- }>]>;
4045
- export type LibrariesUpdateLibrary404 = ProblemDetails;
4046
- export declare const LibrariesUpdateLibrary404: Schema.Struct<{
4047
- readonly type: Schema.String;
4048
- readonly title: Schema.String;
4049
- readonly status: Schema.Number;
4050
- readonly detail: Schema.String;
4051
- readonly instance: Schema.optionalKey<Schema.String>;
4052
- readonly code: Schema.String;
4053
- readonly details: Schema.optionalKey<Schema.Struct<{
4054
- readonly retryable: Schema.Boolean;
4055
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4056
- readonly requiredScope: Schema.optionalKey<Schema.String>;
4057
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4058
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4059
- }>>;
4060
- }>;
4061
- export type LibrariesUpdateLibrary422 = ProblemDetails;
4062
- export declare const LibrariesUpdateLibrary422: Schema.Struct<{
4063
- readonly type: Schema.String;
4064
- readonly title: Schema.String;
4065
- readonly status: Schema.Number;
4066
- readonly detail: Schema.String;
4067
- readonly instance: Schema.optionalKey<Schema.String>;
4068
- readonly code: Schema.String;
4069
- readonly details: Schema.optionalKey<Schema.Struct<{
4070
- readonly retryable: Schema.Boolean;
4071
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4072
- readonly requiredScope: Schema.optionalKey<Schema.String>;
4073
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4074
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4075
- }>>;
4076
- }>;
4077
- export type LibrariesSetLibraryVisibilityRequestJson = PatchLibraryVisibilityBody;
4078
- export declare const LibrariesSetLibraryVisibilityRequestJson: Schema.Struct<{
4079
- readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
4080
- }>;
4081
- export type LibrariesSetLibraryVisibility200 = Library;
4082
- export declare const LibrariesSetLibraryVisibility200: Schema.Struct<{
4083
- readonly id: Schema.String;
4084
- readonly owner: Schema.String;
4085
- readonly name: Schema.String;
4086
- readonly title: Schema.String;
4087
- readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
4088
- readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
4089
- readonly maintainer: Schema.Union<readonly [Schema.Struct<{
4090
- readonly kind: Schema.Literal<"user">;
4091
- readonly userId: Schema.String;
4092
- readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4093
- readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4094
- }>, Schema.Struct<{
4095
- readonly kind: Schema.Literal<"team">;
4096
- readonly teamId: Schema.String;
4097
- readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4098
- readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4099
- }>, Schema.Struct<{
4100
- readonly kind: Schema.Literal<"none">;
4101
- readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4102
- readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4103
- }>]>;
4104
- readonly createdAt: Schema.String;
4105
- readonly updatedAt: Schema.String;
4106
- }>;
4107
- export type LibrariesSetLibraryVisibility400 = DecodeErrorResponse;
4108
- export declare const LibrariesSetLibraryVisibility400: Schema.Struct<{
4109
- readonly kind: Schema.Literal<"DecodeErrorResponse">;
4110
- readonly type: Schema.String;
4111
- readonly title: Schema.String;
4112
- readonly status: Schema.Number;
4113
- readonly detail: Schema.String;
4114
- readonly instance: Schema.optionalKey<Schema.String>;
4115
- readonly code: Schema.String;
4116
- }>;
4117
- export type LibrariesSetLibraryVisibility401 = ProblemDetails;
4118
- export declare const LibrariesSetLibraryVisibility401: Schema.Struct<{
4119
- readonly type: Schema.String;
4120
- readonly title: Schema.String;
4121
- readonly status: Schema.Number;
4122
- readonly detail: Schema.String;
4123
- readonly instance: Schema.optionalKey<Schema.String>;
4124
- readonly code: Schema.String;
4125
- readonly details: Schema.optionalKey<Schema.Struct<{
4126
- readonly retryable: Schema.Boolean;
4127
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4128
- readonly requiredScope: Schema.optionalKey<Schema.String>;
4129
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4130
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4131
- }>>;
4132
- }>;
4133
- export type LibrariesSetLibraryVisibility403 = ForbiddenError | ForbiddenError;
4134
- export declare const LibrariesSetLibraryVisibility403: Schema.Union<readonly [Schema.Struct<{
4135
- readonly kind: Schema.Literal<"ForbiddenError">;
4136
- readonly type: Schema.String;
4137
- readonly title: Schema.String;
4138
- readonly status: Schema.Number;
4139
- readonly detail: Schema.String;
4140
- readonly instance: Schema.optionalKey<Schema.String>;
4141
- 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"]>;
4142
- readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4143
- readonly requiredScope: Schema.String;
4144
- readonly grantedScopes: Schema.$Array<Schema.String>;
4145
- }>, Schema.Struct<{
4146
- readonly requiredScope: Schema.String;
4147
- readonly tokenScopes: Schema.$Array<Schema.String>;
4148
- readonly requiredRole: Schema.optionalKey<Schema.String>;
4149
- }>, Schema.Struct<{
4150
- readonly retryable: Schema.Boolean;
4151
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4152
- readonly requiredScope: Schema.optionalKey<Schema.String>;
4153
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4154
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4155
- }>]>>;
4156
- }>, Schema.Struct<{
4157
- readonly kind: Schema.Literal<"ForbiddenError">;
4158
- readonly type: Schema.String;
4159
- readonly title: Schema.String;
4160
- readonly status: Schema.Number;
4161
- readonly detail: Schema.String;
4162
- readonly instance: Schema.optionalKey<Schema.String>;
4163
- 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"]>;
4164
- readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4165
- readonly requiredScope: Schema.String;
4166
- readonly grantedScopes: Schema.$Array<Schema.String>;
4167
- }>, Schema.Struct<{
4168
- readonly requiredScope: Schema.String;
4169
- readonly tokenScopes: Schema.$Array<Schema.String>;
4170
- readonly requiredRole: Schema.optionalKey<Schema.String>;
4171
- }>, Schema.Struct<{
4172
- readonly retryable: Schema.Boolean;
4173
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4174
- readonly requiredScope: Schema.optionalKey<Schema.String>;
4175
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4176
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4177
- }>]>>;
4178
- }>]>;
4179
- export type LibrariesSetLibraryVisibility404 = ProblemDetails;
4180
- export declare const LibrariesSetLibraryVisibility404: Schema.Struct<{
4181
- readonly type: Schema.String;
4182
- readonly title: Schema.String;
4183
- readonly status: Schema.Number;
4184
- readonly detail: Schema.String;
4185
- readonly instance: Schema.optionalKey<Schema.String>;
4186
- readonly code: Schema.String;
4187
- readonly details: Schema.optionalKey<Schema.Struct<{
4188
- readonly retryable: Schema.Boolean;
4189
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4190
- readonly requiredScope: Schema.optionalKey<Schema.String>;
4191
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4192
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4193
- }>>;
4194
- }>;
4195
- export type LibrariesSetLibraryVisibility422 = ProblemDetails;
4196
- export declare const LibrariesSetLibraryVisibility422: Schema.Struct<{
4197
- readonly type: Schema.String;
4198
- readonly title: Schema.String;
4199
- readonly status: Schema.Number;
4200
- readonly detail: Schema.String;
4201
- readonly instance: Schema.optionalKey<Schema.String>;
4202
- readonly code: Schema.String;
4203
- readonly details: Schema.optionalKey<Schema.Struct<{
4204
- readonly retryable: Schema.Boolean;
4205
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4206
- readonly requiredScope: Schema.optionalKey<Schema.String>;
4207
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4208
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4209
- }>>;
4210
- }>;
4211
- export type LibrariesSetLibraryMaintainerRequestJson = LibraryMaintainerTarget;
4212
- export declare const LibrariesSetLibraryMaintainerRequestJson: Schema.Union<readonly [Schema.Struct<{
4213
- readonly kind: Schema.Literal<"user">;
4214
- readonly userId: Schema.String;
4215
- }>, Schema.Struct<{
4216
- readonly kind: Schema.Literal<"team">;
4217
- readonly teamId: Schema.String;
4218
- }>]>;
4219
- export type LibrariesSetLibraryMaintainer200 = LibraryMaintainer;
4220
- export declare const LibrariesSetLibraryMaintainer200: Schema.Union<readonly [Schema.Struct<{
4221
- readonly kind: Schema.Literal<"user">;
4222
- readonly userId: Schema.String;
4223
- readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4224
- readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4225
- }>, Schema.Struct<{
4226
- readonly kind: Schema.Literal<"team">;
4227
- readonly teamId: Schema.String;
4228
- readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4229
- readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4230
- }>, Schema.Struct<{
4231
- readonly kind: Schema.Literal<"none">;
4232
- readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4233
- readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4234
- }>]>;
4235
- export type LibrariesSetLibraryMaintainer400 = DecodeErrorResponse;
4236
- export declare const LibrariesSetLibraryMaintainer400: Schema.Struct<{
4237
- readonly kind: Schema.Literal<"DecodeErrorResponse">;
4238
- readonly type: Schema.String;
4239
- readonly title: Schema.String;
4240
- readonly status: Schema.Number;
4241
- readonly detail: Schema.String;
4242
- readonly instance: Schema.optionalKey<Schema.String>;
4243
- readonly code: Schema.String;
4244
- }>;
4245
- export type LibrariesSetLibraryMaintainer401 = ProblemDetails;
4246
- export declare const LibrariesSetLibraryMaintainer401: Schema.Struct<{
4247
- readonly type: Schema.String;
4248
- readonly title: Schema.String;
4249
- readonly status: Schema.Number;
4250
- readonly detail: Schema.String;
4251
- readonly instance: Schema.optionalKey<Schema.String>;
4252
- readonly code: Schema.String;
4253
- readonly details: Schema.optionalKey<Schema.Struct<{
4254
- readonly retryable: Schema.Boolean;
4255
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4256
- readonly requiredScope: Schema.optionalKey<Schema.String>;
4257
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4258
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4259
- }>>;
4260
- }>;
4261
- export type LibrariesSetLibraryMaintainer403 = ForbiddenError | ForbiddenError;
4262
- export declare const LibrariesSetLibraryMaintainer403: Schema.Union<readonly [Schema.Struct<{
4263
- readonly kind: Schema.Literal<"ForbiddenError">;
4264
- readonly type: Schema.String;
4265
- readonly title: Schema.String;
4266
- readonly status: Schema.Number;
4267
- readonly detail: Schema.String;
4268
- readonly instance: Schema.optionalKey<Schema.String>;
4269
- 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"]>;
4270
- readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4271
- readonly requiredScope: Schema.String;
4272
- readonly grantedScopes: Schema.$Array<Schema.String>;
4273
- }>, Schema.Struct<{
4274
- readonly requiredScope: Schema.String;
4275
- readonly tokenScopes: Schema.$Array<Schema.String>;
4276
- readonly requiredRole: Schema.optionalKey<Schema.String>;
4277
- }>, Schema.Struct<{
4278
- readonly retryable: Schema.Boolean;
4279
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4280
- readonly requiredScope: Schema.optionalKey<Schema.String>;
4281
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4282
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4283
- }>]>>;
4284
- }>, Schema.Struct<{
4285
- readonly kind: Schema.Literal<"ForbiddenError">;
4286
- readonly type: Schema.String;
4287
- readonly title: Schema.String;
4288
- readonly status: Schema.Number;
4289
- readonly detail: Schema.String;
4290
- readonly instance: Schema.optionalKey<Schema.String>;
4291
- 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"]>;
4292
- readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4293
- readonly requiredScope: Schema.String;
4294
- readonly grantedScopes: Schema.$Array<Schema.String>;
4295
- }>, Schema.Struct<{
4296
- readonly requiredScope: Schema.String;
4297
- readonly tokenScopes: Schema.$Array<Schema.String>;
4298
- readonly requiredRole: Schema.optionalKey<Schema.String>;
4299
- }>, Schema.Struct<{
4300
- readonly retryable: Schema.Boolean;
4301
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4302
- readonly requiredScope: Schema.optionalKey<Schema.String>;
4303
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4304
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4305
- }>]>>;
4306
- }>]>;
4307
- export type LibrariesSetLibraryMaintainer404 = ProblemDetails;
4308
- export declare const LibrariesSetLibraryMaintainer404: Schema.Struct<{
4309
- readonly type: Schema.String;
4310
- readonly title: Schema.String;
4311
- readonly status: Schema.Number;
4312
- readonly detail: Schema.String;
4313
- readonly instance: Schema.optionalKey<Schema.String>;
4314
- readonly code: Schema.String;
4315
- readonly details: Schema.optionalKey<Schema.Struct<{
4316
- readonly retryable: Schema.Boolean;
4317
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4318
- readonly requiredScope: Schema.optionalKey<Schema.String>;
4319
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4320
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4321
- }>>;
4322
- }>;
4323
- export type LibrariesSetLibraryMaintainer422 = ProblemDetails;
4324
- export declare const LibrariesSetLibraryMaintainer422: Schema.Struct<{
4325
- readonly type: Schema.String;
4326
- readonly title: Schema.String;
4327
- readonly status: Schema.Number;
4328
- readonly detail: Schema.String;
4329
- readonly instance: Schema.optionalKey<Schema.String>;
4330
- readonly code: Schema.String;
4331
- readonly details: Schema.optionalKey<Schema.Struct<{
4332
- readonly retryable: Schema.Boolean;
4333
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4334
- readonly requiredScope: Schema.optionalKey<Schema.String>;
4335
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4336
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4337
- }>>;
4338
- }>;
4339
- export type LibrariesClearLibraryMaintainer200 = LibraryMaintainer;
4340
- export declare const LibrariesClearLibraryMaintainer200: Schema.Union<readonly [Schema.Struct<{
4341
- readonly kind: Schema.Literal<"user">;
4342
- readonly userId: Schema.String;
4343
- readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4344
- readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4345
- }>, Schema.Struct<{
4346
- readonly kind: Schema.Literal<"team">;
4347
- readonly teamId: Schema.String;
4348
- readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4349
- readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4350
- }>, Schema.Struct<{
4351
- readonly kind: Schema.Literal<"none">;
4352
- readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4353
- readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4354
- }>]>;
4355
- export type LibrariesClearLibraryMaintainer400 = DecodeErrorResponse;
4356
- export declare const LibrariesClearLibraryMaintainer400: Schema.Struct<{
4357
- readonly kind: Schema.Literal<"DecodeErrorResponse">;
4358
- readonly type: Schema.String;
4359
- readonly title: Schema.String;
4360
- readonly status: Schema.Number;
4361
- readonly detail: Schema.String;
4362
- readonly instance: Schema.optionalKey<Schema.String>;
4363
- readonly code: Schema.String;
4364
- }>;
4365
- export type LibrariesClearLibraryMaintainer401 = ProblemDetails;
4366
- export declare const LibrariesClearLibraryMaintainer401: Schema.Struct<{
4367
- readonly type: Schema.String;
4368
- readonly title: Schema.String;
4369
- readonly status: Schema.Number;
4370
- readonly detail: Schema.String;
4371
- readonly instance: Schema.optionalKey<Schema.String>;
4372
- readonly code: Schema.String;
4373
- readonly details: Schema.optionalKey<Schema.Struct<{
4374
- readonly retryable: Schema.Boolean;
4375
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4376
- readonly requiredScope: Schema.optionalKey<Schema.String>;
4377
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4378
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4379
- }>>;
4380
- }>;
4381
- export type LibrariesClearLibraryMaintainer403 = ForbiddenError | ForbiddenError;
4382
- export declare const LibrariesClearLibraryMaintainer403: Schema.Union<readonly [Schema.Struct<{
4383
- readonly kind: Schema.Literal<"ForbiddenError">;
4384
- readonly type: Schema.String;
4385
- readonly title: Schema.String;
4386
- readonly status: Schema.Number;
4387
- readonly detail: Schema.String;
4388
- readonly instance: Schema.optionalKey<Schema.String>;
4389
- 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"]>;
4390
- readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4391
- readonly requiredScope: Schema.String;
4392
- readonly grantedScopes: Schema.$Array<Schema.String>;
4393
- }>, Schema.Struct<{
4394
- readonly requiredScope: Schema.String;
4395
- readonly tokenScopes: Schema.$Array<Schema.String>;
4396
- readonly requiredRole: Schema.optionalKey<Schema.String>;
4397
- }>, Schema.Struct<{
4398
- readonly retryable: Schema.Boolean;
4399
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4400
- readonly requiredScope: Schema.optionalKey<Schema.String>;
4401
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4402
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4403
- }>]>>;
4404
- }>, Schema.Struct<{
4405
- readonly kind: Schema.Literal<"ForbiddenError">;
4406
- readonly type: Schema.String;
4407
- readonly title: Schema.String;
4408
- readonly status: Schema.Number;
4409
- readonly detail: Schema.String;
4410
- readonly instance: Schema.optionalKey<Schema.String>;
4411
- 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"]>;
4412
- readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4413
- readonly requiredScope: Schema.String;
4414
- readonly grantedScopes: Schema.$Array<Schema.String>;
4415
- }>, Schema.Struct<{
4416
- readonly requiredScope: Schema.String;
4417
- readonly tokenScopes: Schema.$Array<Schema.String>;
4418
- readonly requiredRole: Schema.optionalKey<Schema.String>;
4419
- }>, Schema.Struct<{
4420
- readonly retryable: Schema.Boolean;
4421
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4422
- readonly requiredScope: Schema.optionalKey<Schema.String>;
4423
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4424
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4425
- }>]>>;
4426
- }>]>;
4427
- export type LibrariesClearLibraryMaintainer404 = ProblemDetails;
4428
- export declare const LibrariesClearLibraryMaintainer404: Schema.Struct<{
4429
- readonly type: Schema.String;
4430
- readonly title: Schema.String;
4431
- readonly status: Schema.Number;
4432
- readonly detail: Schema.String;
4433
- readonly instance: Schema.optionalKey<Schema.String>;
4434
- readonly code: Schema.String;
4435
- readonly details: Schema.optionalKey<Schema.Struct<{
4436
- readonly retryable: Schema.Boolean;
4437
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4438
- readonly requiredScope: Schema.optionalKey<Schema.String>;
4439
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4440
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4441
- }>>;
4442
- }>;
4443
- export type LibrariesClearLibraryMaintainer422 = ProblemDetails;
4444
- export declare const LibrariesClearLibraryMaintainer422: Schema.Struct<{
4445
- readonly type: Schema.String;
4446
- readonly title: Schema.String;
4447
- readonly status: Schema.Number;
4448
- readonly detail: Schema.String;
4449
- readonly instance: Schema.optionalKey<Schema.String>;
4450
- readonly code: Schema.String;
4451
- readonly details: Schema.optionalKey<Schema.Struct<{
4452
- readonly retryable: Schema.Boolean;
4453
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4454
- readonly requiredScope: Schema.optionalKey<Schema.String>;
4455
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4456
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4457
- }>>;
4458
- }>;
4459
- export type LibrariesAddLibraryMember200 = LibraryMember;
4460
- export declare const LibrariesAddLibraryMember200: Schema.Struct<{
4461
- readonly id: Schema.String;
4462
- readonly libraryId: Schema.String;
4463
- readonly extensionId: Schema.String;
4464
- readonly extensionOwner: Schema.String;
4465
- readonly extensionType: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
4466
- readonly extensionName: Schema.String;
4467
- readonly addedAt: Schema.String;
4468
- }>;
4469
- export type LibrariesAddLibraryMember400 = DecodeErrorResponse;
4470
- export declare const LibrariesAddLibraryMember400: Schema.Struct<{
4471
- readonly kind: Schema.Literal<"DecodeErrorResponse">;
4472
- readonly type: Schema.String;
4473
- readonly title: Schema.String;
4474
- readonly status: Schema.Number;
4475
- readonly detail: Schema.String;
4476
- readonly instance: Schema.optionalKey<Schema.String>;
4477
- readonly code: Schema.String;
4478
- }>;
4479
- export type LibrariesAddLibraryMember401 = ProblemDetails;
4480
- export declare const LibrariesAddLibraryMember401: Schema.Struct<{
4462
+ export type LibrariesCreateLibrary404 = ProblemDetails;
4463
+ export declare const LibrariesCreateLibrary404: Schema.Struct<{
4481
4464
  readonly type: Schema.String;
4482
4465
  readonly title: Schema.String;
4483
4466
  readonly status: Schema.Number;
@@ -4492,54 +4475,8 @@ export declare const LibrariesAddLibraryMember401: Schema.Struct<{
4492
4475
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4493
4476
  }>>;
4494
4477
  }>;
4495
- export type LibrariesAddLibraryMember403 = ForbiddenError | ForbiddenError;
4496
- export declare const LibrariesAddLibraryMember403: Schema.Union<readonly [Schema.Struct<{
4497
- readonly kind: Schema.Literal<"ForbiddenError">;
4498
- readonly type: Schema.String;
4499
- readonly title: Schema.String;
4500
- readonly status: Schema.Number;
4501
- readonly detail: Schema.String;
4502
- readonly instance: Schema.optionalKey<Schema.String>;
4503
- 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"]>;
4504
- readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4505
- readonly requiredScope: Schema.String;
4506
- readonly grantedScopes: Schema.$Array<Schema.String>;
4507
- }>, Schema.Struct<{
4508
- readonly requiredScope: Schema.String;
4509
- readonly tokenScopes: Schema.$Array<Schema.String>;
4510
- readonly requiredRole: Schema.optionalKey<Schema.String>;
4511
- }>, Schema.Struct<{
4512
- readonly retryable: Schema.Boolean;
4513
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4514
- readonly requiredScope: Schema.optionalKey<Schema.String>;
4515
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4516
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4517
- }>]>>;
4518
- }>, Schema.Struct<{
4519
- readonly kind: Schema.Literal<"ForbiddenError">;
4520
- readonly type: Schema.String;
4521
- readonly title: Schema.String;
4522
- readonly status: Schema.Number;
4523
- readonly detail: Schema.String;
4524
- readonly instance: Schema.optionalKey<Schema.String>;
4525
- 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"]>;
4526
- readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4527
- readonly requiredScope: Schema.String;
4528
- readonly grantedScopes: Schema.$Array<Schema.String>;
4529
- }>, Schema.Struct<{
4530
- readonly requiredScope: Schema.String;
4531
- readonly tokenScopes: Schema.$Array<Schema.String>;
4532
- readonly requiredRole: Schema.optionalKey<Schema.String>;
4533
- }>, Schema.Struct<{
4534
- readonly retryable: Schema.Boolean;
4535
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4536
- readonly requiredScope: Schema.optionalKey<Schema.String>;
4537
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4538
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4539
- }>]>>;
4540
- }>]>;
4541
- export type LibrariesAddLibraryMember404 = ProblemDetails;
4542
- export declare const LibrariesAddLibraryMember404: Schema.Struct<{
4478
+ export type LibrariesCreateLibrary409 = ProblemDetails;
4479
+ export declare const LibrariesCreateLibrary409: Schema.Struct<{
4543
4480
  readonly type: Schema.String;
4544
4481
  readonly title: Schema.String;
4545
4482
  readonly status: Schema.Number;
@@ -4554,8 +4491,8 @@ export declare const LibrariesAddLibraryMember404: Schema.Struct<{
4554
4491
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4555
4492
  }>>;
4556
4493
  }>;
4557
- export type LibrariesAddLibraryMember409 = ProblemDetails;
4558
- export declare const LibrariesAddLibraryMember409: Schema.Struct<{
4494
+ export type LibrariesCreateLibrary422 = ProblemDetails;
4495
+ export declare const LibrariesCreateLibrary422: Schema.Struct<{
4559
4496
  readonly type: Schema.String;
4560
4497
  readonly title: Schema.String;
4561
4498
  readonly status: Schema.Number;
@@ -4570,24 +4507,47 @@ export declare const LibrariesAddLibraryMember409: Schema.Struct<{
4570
4507
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4571
4508
  }>>;
4572
4509
  }>;
4573
- export type LibrariesAddLibraryMember422 = ProblemDetails;
4574
- export declare const LibrariesAddLibraryMember422: Schema.Struct<{
4575
- readonly type: Schema.String;
4576
- readonly title: Schema.String;
4577
- readonly status: Schema.Number;
4578
- readonly detail: Schema.String;
4579
- readonly instance: Schema.optionalKey<Schema.String>;
4580
- readonly code: Schema.String;
4581
- readonly details: Schema.optionalKey<Schema.Struct<{
4582
- readonly retryable: Schema.Boolean;
4583
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4584
- readonly requiredScope: Schema.optionalKey<Schema.String>;
4585
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4586
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4510
+ export type LibrariesGetLibrary200 = LibraryDetail;
4511
+ export declare const LibrariesGetLibrary200: Schema.Struct<{
4512
+ readonly library: Schema.Struct<{
4513
+ readonly id: Schema.String;
4514
+ readonly owner: Schema.String;
4515
+ readonly name: Schema.String;
4516
+ readonly title: Schema.String;
4517
+ readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
4518
+ readonly visibility: Schema.Literals<readonly ["public", "private"]>;
4519
+ readonly maintainer: Schema.Union<readonly [Schema.Struct<{
4520
+ readonly kind: Schema.Literal<"user">;
4521
+ readonly userId: Schema.String;
4522
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4523
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4524
+ }>, Schema.Struct<{
4525
+ readonly kind: Schema.Literal<"team">;
4526
+ readonly teamId: Schema.String;
4527
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4528
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4529
+ }>, Schema.Struct<{
4530
+ readonly kind: Schema.Literal<"none">;
4531
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4532
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4533
+ }>]>;
4534
+ readonly createdAt: Schema.String;
4535
+ readonly updatedAt: Schema.String;
4536
+ }>;
4537
+ readonly members: Schema.$Array<Schema.Struct<{
4538
+ readonly id: Schema.String;
4539
+ readonly libraryId: Schema.String;
4540
+ readonly extensionId: Schema.String;
4541
+ readonly extensionOwner: Schema.String;
4542
+ readonly extensionType: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
4543
+ readonly extensionName: Schema.String;
4544
+ readonly addedAt: Schema.String;
4587
4545
  }>>;
4546
+ readonly accessibleMemberCount: Schema.Number;
4547
+ readonly contentsMayVary: Schema.Literal<true>;
4588
4548
  }>;
4589
- export type LibrariesRemoveLibraryMember400 = DecodeErrorResponse;
4590
- export declare const LibrariesRemoveLibraryMember400: Schema.Struct<{
4549
+ export type LibrariesGetLibrary400 = DecodeErrorResponse;
4550
+ export declare const LibrariesGetLibrary400: Schema.Struct<{
4591
4551
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
4592
4552
  readonly type: Schema.String;
4593
4553
  readonly title: Schema.String;
@@ -4596,70 +4556,8 @@ export declare const LibrariesRemoveLibraryMember400: Schema.Struct<{
4596
4556
  readonly instance: Schema.optionalKey<Schema.String>;
4597
4557
  readonly code: Schema.String;
4598
4558
  }>;
4599
- export type LibrariesRemoveLibraryMember401 = ProblemDetails;
4600
- export declare const LibrariesRemoveLibraryMember401: Schema.Struct<{
4601
- readonly type: Schema.String;
4602
- readonly title: Schema.String;
4603
- readonly status: Schema.Number;
4604
- readonly detail: Schema.String;
4605
- readonly instance: Schema.optionalKey<Schema.String>;
4606
- readonly code: Schema.String;
4607
- readonly details: Schema.optionalKey<Schema.Struct<{
4608
- readonly retryable: Schema.Boolean;
4609
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4610
- readonly requiredScope: Schema.optionalKey<Schema.String>;
4611
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4612
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4613
- }>>;
4614
- }>;
4615
- export type LibrariesRemoveLibraryMember403 = ForbiddenError | ForbiddenError;
4616
- export declare const LibrariesRemoveLibraryMember403: Schema.Union<readonly [Schema.Struct<{
4617
- readonly kind: Schema.Literal<"ForbiddenError">;
4618
- readonly type: Schema.String;
4619
- readonly title: Schema.String;
4620
- readonly status: Schema.Number;
4621
- readonly detail: Schema.String;
4622
- readonly instance: Schema.optionalKey<Schema.String>;
4623
- 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"]>;
4624
- readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4625
- readonly requiredScope: Schema.String;
4626
- readonly grantedScopes: Schema.$Array<Schema.String>;
4627
- }>, Schema.Struct<{
4628
- readonly requiredScope: Schema.String;
4629
- readonly tokenScopes: Schema.$Array<Schema.String>;
4630
- readonly requiredRole: Schema.optionalKey<Schema.String>;
4631
- }>, Schema.Struct<{
4632
- readonly retryable: Schema.Boolean;
4633
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4634
- readonly requiredScope: Schema.optionalKey<Schema.String>;
4635
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4636
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4637
- }>]>>;
4638
- }>, Schema.Struct<{
4639
- readonly kind: Schema.Literal<"ForbiddenError">;
4640
- readonly type: Schema.String;
4641
- readonly title: Schema.String;
4642
- readonly status: Schema.Number;
4643
- readonly detail: Schema.String;
4644
- readonly instance: Schema.optionalKey<Schema.String>;
4645
- 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"]>;
4646
- readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4647
- readonly requiredScope: Schema.String;
4648
- readonly grantedScopes: Schema.$Array<Schema.String>;
4649
- }>, Schema.Struct<{
4650
- readonly requiredScope: Schema.String;
4651
- readonly tokenScopes: Schema.$Array<Schema.String>;
4652
- readonly requiredRole: Schema.optionalKey<Schema.String>;
4653
- }>, Schema.Struct<{
4654
- readonly retryable: Schema.Boolean;
4655
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4656
- readonly requiredScope: Schema.optionalKey<Schema.String>;
4657
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4658
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4659
- }>]>>;
4660
- }>]>;
4661
- export type LibrariesRemoveLibraryMember404 = ProblemDetails;
4662
- export declare const LibrariesRemoveLibraryMember404: Schema.Struct<{
4559
+ export type LibrariesGetLibrary404 = ProblemDetails;
4560
+ export declare const LibrariesGetLibrary404: Schema.Struct<{
4663
4561
  readonly type: Schema.String;
4664
4562
  readonly title: Schema.String;
4665
4563
  readonly status: Schema.Number;
@@ -4674,8 +4572,8 @@ export declare const LibrariesRemoveLibraryMember404: Schema.Struct<{
4674
4572
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4675
4573
  }>>;
4676
4574
  }>;
4677
- export type LibrariesRemoveLibraryMember422 = ProblemDetails;
4678
- export declare const LibrariesRemoveLibraryMember422: Schema.Struct<{
4575
+ export type LibrariesGetLibrary422 = ProblemDetails;
4576
+ export declare const LibrariesGetLibrary422: Schema.Struct<{
4679
4577
  readonly type: Schema.String;
4680
4578
  readonly title: Schema.String;
4681
4579
  readonly status: Schema.Number;
@@ -4685,29 +4583,13 @@ export declare const LibrariesRemoveLibraryMember422: Schema.Struct<{
4685
4583
  readonly details: Schema.optionalKey<Schema.Struct<{
4686
4584
  readonly retryable: Schema.Boolean;
4687
4585
  readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4688
- readonly requiredScope: Schema.optionalKey<Schema.String>;
4689
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4690
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4691
- }>>;
4692
- }>;
4693
- export type CollaboratorsListCollaborators200 = {
4694
- readonly collaborators: ReadonlyArray<{
4695
- readonly userId: UserId;
4696
- readonly role: string;
4697
- readonly grantedBy: UserId | null;
4698
- readonly createdAt: string;
4699
- }>;
4700
- };
4701
- export declare const CollaboratorsListCollaborators200: Schema.Struct<{
4702
- readonly collaborators: Schema.$Array<Schema.Struct<{
4703
- readonly userId: Schema.String;
4704
- readonly role: Schema.String;
4705
- readonly grantedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4706
- readonly createdAt: Schema.String;
4586
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4587
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4588
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4707
4589
  }>>;
4708
4590
  }>;
4709
- export type CollaboratorsListCollaborators400 = DecodeErrorResponse;
4710
- export declare const CollaboratorsListCollaborators400: Schema.Struct<{
4591
+ export type LibrariesDeleteLibrary400 = DecodeErrorResponse;
4592
+ export declare const LibrariesDeleteLibrary400: Schema.Struct<{
4711
4593
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
4712
4594
  readonly type: Schema.String;
4713
4595
  readonly title: Schema.String;
@@ -4716,8 +4598,8 @@ export declare const CollaboratorsListCollaborators400: Schema.Struct<{
4716
4598
  readonly instance: Schema.optionalKey<Schema.String>;
4717
4599
  readonly code: Schema.String;
4718
4600
  }>;
4719
- export type CollaboratorsListCollaborators401 = ProblemDetails;
4720
- export declare const CollaboratorsListCollaborators401: Schema.Struct<{
4601
+ export type LibrariesDeleteLibrary401 = ProblemDetails;
4602
+ export declare const LibrariesDeleteLibrary401: Schema.Struct<{
4721
4603
  readonly type: Schema.String;
4722
4604
  readonly title: Schema.String;
4723
4605
  readonly status: Schema.Number;
@@ -4732,15 +4614,15 @@ export declare const CollaboratorsListCollaborators401: Schema.Struct<{
4732
4614
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4733
4615
  }>>;
4734
4616
  }>;
4735
- export type CollaboratorsListCollaborators403 = ForbiddenError | ForbiddenError;
4736
- export declare const CollaboratorsListCollaborators403: Schema.Union<readonly [Schema.Struct<{
4617
+ export type LibrariesDeleteLibrary403 = ForbiddenError | ForbiddenError;
4618
+ export declare const LibrariesDeleteLibrary403: Schema.Union<readonly [Schema.Struct<{
4737
4619
  readonly kind: Schema.Literal<"ForbiddenError">;
4738
4620
  readonly type: Schema.String;
4739
4621
  readonly title: Schema.String;
4740
4622
  readonly status: Schema.Number;
4741
4623
  readonly detail: Schema.String;
4742
4624
  readonly instance: Schema.optionalKey<Schema.String>;
4743
- 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"]>;
4744
4626
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4745
4627
  readonly requiredScope: Schema.String;
4746
4628
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -4762,7 +4644,7 @@ export declare const CollaboratorsListCollaborators403: Schema.Union<readonly [S
4762
4644
  readonly status: Schema.Number;
4763
4645
  readonly detail: Schema.String;
4764
4646
  readonly instance: Schema.optionalKey<Schema.String>;
4765
- 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"]>;
4766
4648
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4767
4649
  readonly requiredScope: Schema.String;
4768
4650
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -4778,8 +4660,8 @@ export declare const CollaboratorsListCollaborators403: Schema.Union<readonly [S
4778
4660
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4779
4661
  }>]>>;
4780
4662
  }>]>;
4781
- export type CollaboratorsListCollaborators404 = ProblemDetails;
4782
- export declare const CollaboratorsListCollaborators404: Schema.Struct<{
4663
+ export type LibrariesDeleteLibrary404 = ProblemDetails;
4664
+ export declare const LibrariesDeleteLibrary404: Schema.Struct<{
4783
4665
  readonly type: Schema.String;
4784
4666
  readonly title: Schema.String;
4785
4667
  readonly status: Schema.Number;
@@ -4794,48 +4676,8 @@ export declare const CollaboratorsListCollaborators404: Schema.Struct<{
4794
4676
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4795
4677
  }>>;
4796
4678
  }>;
4797
- export type CollaboratorsUpsertCollaboratorRequestJson = PutCollaboratorBody;
4798
- export declare const CollaboratorsUpsertCollaboratorRequestJson: Schema.Struct<{
4799
- readonly role: Schema.Literals<readonly ["write", "read"]>;
4800
- }>;
4801
- export type CollaboratorsUpsertCollaborator200 = {
4802
- readonly userId: UserId;
4803
- readonly role: string;
4804
- readonly grantedBy: UserId | null;
4805
- readonly createdAt: string;
4806
- };
4807
- export declare const CollaboratorsUpsertCollaborator200: Schema.Struct<{
4808
- readonly userId: Schema.String;
4809
- readonly role: Schema.String;
4810
- readonly grantedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4811
- readonly createdAt: Schema.String;
4812
- }>;
4813
- export type CollaboratorsUpsertCollaborator400 = ProblemDetails | DecodeErrorResponse;
4814
- export declare const CollaboratorsUpsertCollaborator400: Schema.Union<readonly [Schema.Struct<{
4815
- readonly type: Schema.String;
4816
- readonly title: Schema.String;
4817
- readonly status: Schema.Number;
4818
- readonly detail: Schema.String;
4819
- readonly instance: Schema.optionalKey<Schema.String>;
4820
- readonly code: Schema.String;
4821
- readonly details: Schema.optionalKey<Schema.Struct<{
4822
- readonly retryable: Schema.Boolean;
4823
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4824
- readonly requiredScope: Schema.optionalKey<Schema.String>;
4825
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4826
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4827
- }>>;
4828
- }>, Schema.Struct<{
4829
- readonly kind: Schema.Literal<"DecodeErrorResponse">;
4830
- readonly type: Schema.String;
4831
- readonly title: Schema.String;
4832
- readonly status: Schema.Number;
4833
- readonly detail: Schema.String;
4834
- readonly instance: Schema.optionalKey<Schema.String>;
4835
- readonly code: Schema.String;
4836
- }>]>;
4837
- export type CollaboratorsUpsertCollaborator401 = ProblemDetails;
4838
- export declare const CollaboratorsUpsertCollaborator401: Schema.Struct<{
4679
+ export type LibrariesDeleteLibrary422 = ProblemDetails;
4680
+ export declare const LibrariesDeleteLibrary422: Schema.Struct<{
4839
4681
  readonly type: Schema.String;
4840
4682
  readonly title: Schema.String;
4841
4683
  readonly status: Schema.Number;
@@ -4850,54 +4692,39 @@ export declare const CollaboratorsUpsertCollaborator401: Schema.Struct<{
4850
4692
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4851
4693
  }>>;
4852
4694
  }>;
4853
- export type CollaboratorsUpsertCollaborator403 = ForbiddenError | ForbiddenError;
4854
- export declare const CollaboratorsUpsertCollaborator403: Schema.Union<readonly [Schema.Struct<{
4855
- readonly kind: Schema.Literal<"ForbiddenError">;
4856
- readonly type: Schema.String;
4857
- readonly title: Schema.String;
4858
- readonly status: Schema.Number;
4859
- readonly detail: Schema.String;
4860
- readonly instance: Schema.optionalKey<Schema.String>;
4861
- 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"]>;
4862
- readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4863
- readonly requiredScope: Schema.String;
4864
- readonly grantedScopes: Schema.$Array<Schema.String>;
4865
- }>, Schema.Struct<{
4866
- readonly requiredScope: Schema.String;
4867
- readonly tokenScopes: Schema.$Array<Schema.String>;
4868
- readonly requiredRole: Schema.optionalKey<Schema.String>;
4869
- }>, Schema.Struct<{
4870
- readonly retryable: Schema.Boolean;
4871
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4872
- readonly requiredScope: Schema.optionalKey<Schema.String>;
4873
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4874
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4875
- }>]>>;
4876
- }>, Schema.Struct<{
4877
- readonly kind: Schema.Literal<"ForbiddenError">;
4878
- readonly type: Schema.String;
4695
+ export type LibrariesUpdateLibraryRequestJson = UpdateLibraryBody;
4696
+ export declare const LibrariesUpdateLibraryRequestJson: Schema.Struct<{
4697
+ readonly title: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4698
+ readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
4699
+ }>;
4700
+ export type LibrariesUpdateLibrary200 = Library;
4701
+ export declare const LibrariesUpdateLibrary200: Schema.Struct<{
4702
+ readonly id: Schema.String;
4703
+ readonly owner: Schema.String;
4704
+ readonly name: Schema.String;
4879
4705
  readonly title: Schema.String;
4880
- readonly status: Schema.Number;
4881
- readonly detail: Schema.String;
4882
- readonly instance: Schema.optionalKey<Schema.String>;
4883
- 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"]>;
4884
- readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4885
- readonly requiredScope: Schema.String;
4886
- readonly grantedScopes: Schema.$Array<Schema.String>;
4706
+ readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
4707
+ readonly visibility: Schema.Literals<readonly ["public", "private"]>;
4708
+ readonly maintainer: Schema.Union<readonly [Schema.Struct<{
4709
+ readonly kind: Schema.Literal<"user">;
4710
+ readonly userId: Schema.String;
4711
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4712
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4887
4713
  }>, Schema.Struct<{
4888
- readonly requiredScope: Schema.String;
4889
- readonly tokenScopes: Schema.$Array<Schema.String>;
4890
- readonly requiredRole: Schema.optionalKey<Schema.String>;
4714
+ readonly kind: Schema.Literal<"team">;
4715
+ readonly teamId: Schema.String;
4716
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4717
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4891
4718
  }>, Schema.Struct<{
4892
- readonly retryable: Schema.Boolean;
4893
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4894
- readonly requiredScope: Schema.optionalKey<Schema.String>;
4895
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4896
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4897
- }>]>>;
4898
- }>]>;
4899
- export type CollaboratorsUpsertCollaborator404 = ProblemDetails;
4900
- export declare const CollaboratorsUpsertCollaborator404: Schema.Struct<{
4719
+ readonly kind: Schema.Literal<"none">;
4720
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4721
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4722
+ }>]>;
4723
+ readonly createdAt: Schema.String;
4724
+ readonly updatedAt: Schema.String;
4725
+ }>;
4726
+ export type LibrariesUpdateLibrary400 = ProblemDetails | DecodeErrorResponse;
4727
+ export declare const LibrariesUpdateLibrary400: Schema.Union<readonly [Schema.Struct<{
4901
4728
  readonly type: Schema.String;
4902
4729
  readonly title: Schema.String;
4903
4730
  readonly status: Schema.Number;
@@ -4911,9 +4738,7 @@ export declare const CollaboratorsUpsertCollaborator404: Schema.Struct<{
4911
4738
  readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4912
4739
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4913
4740
  }>>;
4914
- }>;
4915
- export type CollaboratorsDeleteCollaborator400 = DecodeErrorResponse;
4916
- export declare const CollaboratorsDeleteCollaborator400: Schema.Struct<{
4741
+ }>, Schema.Struct<{
4917
4742
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
4918
4743
  readonly type: Schema.String;
4919
4744
  readonly title: Schema.String;
@@ -4921,9 +4746,9 @@ export declare const CollaboratorsDeleteCollaborator400: Schema.Struct<{
4921
4746
  readonly detail: Schema.String;
4922
4747
  readonly instance: Schema.optionalKey<Schema.String>;
4923
4748
  readonly code: Schema.String;
4924
- }>;
4925
- export type CollaboratorsDeleteCollaborator401 = ProblemDetails;
4926
- export declare const CollaboratorsDeleteCollaborator401: Schema.Struct<{
4749
+ }>]>;
4750
+ export type LibrariesUpdateLibrary401 = ProblemDetails;
4751
+ export declare const LibrariesUpdateLibrary401: Schema.Struct<{
4927
4752
  readonly type: Schema.String;
4928
4753
  readonly title: Schema.String;
4929
4754
  readonly status: Schema.Number;
@@ -4938,15 +4763,15 @@ export declare const CollaboratorsDeleteCollaborator401: Schema.Struct<{
4938
4763
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4939
4764
  }>>;
4940
4765
  }>;
4941
- export type CollaboratorsDeleteCollaborator403 = ForbiddenError | ForbiddenError;
4942
- export declare const CollaboratorsDeleteCollaborator403: Schema.Union<readonly [Schema.Struct<{
4766
+ export type LibrariesUpdateLibrary403 = ForbiddenError | ForbiddenError;
4767
+ export declare const LibrariesUpdateLibrary403: Schema.Union<readonly [Schema.Struct<{
4943
4768
  readonly kind: Schema.Literal<"ForbiddenError">;
4944
4769
  readonly type: Schema.String;
4945
4770
  readonly title: Schema.String;
4946
4771
  readonly status: Schema.Number;
4947
4772
  readonly detail: Schema.String;
4948
4773
  readonly instance: Schema.optionalKey<Schema.String>;
4949
- 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"]>;
4950
4775
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4951
4776
  readonly requiredScope: Schema.String;
4952
4777
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -4968,7 +4793,7 @@ export declare const CollaboratorsDeleteCollaborator403: Schema.Union<readonly [
4968
4793
  readonly status: Schema.Number;
4969
4794
  readonly detail: Schema.String;
4970
4795
  readonly instance: Schema.optionalKey<Schema.String>;
4971
- 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"]>;
4972
4797
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4973
4798
  readonly requiredScope: Schema.String;
4974
4799
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -4984,8 +4809,8 @@ export declare const CollaboratorsDeleteCollaborator403: Schema.Union<readonly [
4984
4809
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4985
4810
  }>]>>;
4986
4811
  }>]>;
4987
- export type CollaboratorsDeleteCollaborator404 = ProblemDetails;
4988
- export declare const CollaboratorsDeleteCollaborator404: Schema.Struct<{
4812
+ export type LibrariesUpdateLibrary404 = ProblemDetails;
4813
+ export declare const LibrariesUpdateLibrary404: Schema.Struct<{
4989
4814
  readonly type: Schema.String;
4990
4815
  readonly title: Schema.String;
4991
4816
  readonly status: Schema.Number;
@@ -5000,8 +4825,8 @@ export declare const CollaboratorsDeleteCollaborator404: Schema.Struct<{
5000
4825
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5001
4826
  }>>;
5002
4827
  }>;
5003
- export type CollaboratorsDeleteCollaborator409 = ProblemDetails;
5004
- export declare const CollaboratorsDeleteCollaborator409: Schema.Struct<{
4828
+ export type LibrariesUpdateLibrary422 = ProblemDetails;
4829
+ export declare const LibrariesUpdateLibrary422: Schema.Struct<{
5005
4830
  readonly type: Schema.String;
5006
4831
  readonly title: Schema.String;
5007
4832
  readonly status: Schema.Number;
@@ -5016,23 +4841,28 @@ export declare const CollaboratorsDeleteCollaborator409: Schema.Struct<{
5016
4841
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5017
4842
  }>>;
5018
4843
  }>;
5019
- export type TeamGrantsListExtensionGrants200 = ExtensionGrantsResponse;
5020
- export declare const TeamGrantsListExtensionGrants200: Schema.Struct<{
5021
- readonly grants: Schema.$Array<Schema.Struct<{
5022
- readonly subject: Schema.Union<readonly [Schema.Struct<{
5023
- readonly kind: Schema.Literal<"user">;
5024
- readonly userId: Schema.String;
5025
- }>, Schema.Struct<{
5026
- readonly kind: Schema.Literal<"team">;
5027
- readonly teamId: Schema.String;
5028
- }>]>;
5029
- readonly role: Schema.Literals<readonly ["read", "write"]>;
5030
- readonly grantedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
5031
- readonly createdAt: Schema.String;
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]>;
5032
4862
  }>>;
5033
4863
  }>;
5034
- export type TeamGrantsListExtensionGrants400 = DecodeErrorResponse;
5035
- export declare const TeamGrantsListExtensionGrants400: Schema.Struct<{
4864
+ export type LibrariesGetLibraryResolution400 = DecodeErrorResponse;
4865
+ export declare const LibrariesGetLibraryResolution400: Schema.Struct<{
5036
4866
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
5037
4867
  readonly type: Schema.String;
5038
4868
  readonly title: Schema.String;
@@ -5041,8 +4871,8 @@ export declare const TeamGrantsListExtensionGrants400: Schema.Struct<{
5041
4871
  readonly instance: Schema.optionalKey<Schema.String>;
5042
4872
  readonly code: Schema.String;
5043
4873
  }>;
5044
- export type TeamGrantsListExtensionGrants401 = ProblemDetails;
5045
- export declare const TeamGrantsListExtensionGrants401: Schema.Struct<{
4874
+ export type LibrariesGetLibraryResolution404 = ProblemDetails;
4875
+ export declare const LibrariesGetLibraryResolution404: Schema.Struct<{
5046
4876
  readonly type: Schema.String;
5047
4877
  readonly title: Schema.String;
5048
4878
  readonly status: Schema.Number;
@@ -5057,54 +4887,62 @@ export declare const TeamGrantsListExtensionGrants401: Schema.Struct<{
5057
4887
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5058
4888
  }>>;
5059
4889
  }>;
5060
- export type TeamGrantsListExtensionGrants403 = ForbiddenError | ForbiddenError;
5061
- export declare const TeamGrantsListExtensionGrants403: Schema.Union<readonly [Schema.Struct<{
5062
- readonly kind: Schema.Literal<"ForbiddenError">;
4890
+ export type LibrariesGetLibraryResolution422 = ProblemDetails;
4891
+ export declare const LibrariesGetLibraryResolution422: Schema.Struct<{
5063
4892
  readonly type: Schema.String;
5064
4893
  readonly title: Schema.String;
5065
4894
  readonly status: Schema.Number;
5066
4895
  readonly detail: Schema.String;
5067
4896
  readonly instance: Schema.optionalKey<Schema.String>;
5068
- 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"]>;
5069
- readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
5070
- readonly requiredScope: Schema.String;
5071
- readonly grantedScopes: Schema.$Array<Schema.String>;
5072
- }>, Schema.Struct<{
5073
- readonly requiredScope: Schema.String;
5074
- readonly tokenScopes: Schema.$Array<Schema.String>;
5075
- readonly requiredRole: Schema.optionalKey<Schema.String>;
5076
- }>, Schema.Struct<{
4897
+ readonly code: Schema.String;
4898
+ readonly details: Schema.optionalKey<Schema.Struct<{
5077
4899
  readonly retryable: Schema.Boolean;
5078
4900
  readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
5079
4901
  readonly requiredScope: Schema.optionalKey<Schema.String>;
5080
4902
  readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
5081
4903
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5082
- }>]>>;
5083
- }>, Schema.Struct<{
5084
- readonly kind: Schema.Literal<"ForbiddenError">;
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">;
5085
4937
  readonly type: Schema.String;
5086
4938
  readonly title: Schema.String;
5087
4939
  readonly status: Schema.Number;
5088
4940
  readonly detail: Schema.String;
5089
4941
  readonly instance: Schema.optionalKey<Schema.String>;
5090
- 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"]>;
5091
- readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
5092
- readonly requiredScope: Schema.String;
5093
- readonly grantedScopes: Schema.$Array<Schema.String>;
5094
- }>, Schema.Struct<{
5095
- readonly requiredScope: Schema.String;
5096
- readonly tokenScopes: Schema.$Array<Schema.String>;
5097
- readonly requiredRole: Schema.optionalKey<Schema.String>;
5098
- }>, Schema.Struct<{
5099
- readonly retryable: Schema.Boolean;
5100
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
5101
- readonly requiredScope: Schema.optionalKey<Schema.String>;
5102
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
5103
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5104
- }>]>>;
5105
- }>]>;
5106
- export type TeamGrantsListExtensionGrants404 = ProblemDetails;
5107
- export declare const TeamGrantsListExtensionGrants404: Schema.Struct<{
4942
+ readonly code: Schema.String;
4943
+ }>;
4944
+ export type LibrariesListLibraryMembers404 = ProblemDetails;
4945
+ export declare const LibrariesListLibraryMembers404: Schema.Struct<{
5108
4946
  readonly type: Schema.String;
5109
4947
  readonly title: Schema.String;
5110
4948
  readonly status: Schema.Number;
@@ -5119,20 +4957,8 @@ export declare const TeamGrantsListExtensionGrants404: Schema.Struct<{
5119
4957
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5120
4958
  }>>;
5121
4959
  }>;
5122
- export type TeamGrantsUpsertTeamExtensionGrantRequestJson = UpsertTeamGrantBody;
5123
- export declare const TeamGrantsUpsertTeamExtensionGrantRequestJson: Schema.Struct<{
5124
- readonly teamId: Schema.String;
5125
- readonly role: Schema.Literals<readonly ["read", "write"]>;
5126
- }>;
5127
- export type TeamGrantsUpsertTeamExtensionGrant200 = TeamGrant;
5128
- export declare const TeamGrantsUpsertTeamExtensionGrant200: Schema.Struct<{
5129
- readonly teamId: Schema.String;
5130
- readonly role: Schema.Literals<readonly ["read", "write"]>;
5131
- readonly grantedBy: Schema.String;
5132
- readonly grantedAt: Schema.String;
5133
- }>;
5134
- export type TeamGrantsUpsertTeamExtensionGrant400 = ProblemDetails | DecodeErrorResponse;
5135
- export declare const TeamGrantsUpsertTeamExtensionGrant400: Schema.Union<readonly [Schema.Struct<{
4960
+ export type LibrariesListLibraryMembers422 = ProblemDetails;
4961
+ export declare const LibrariesListLibraryMembers422: Schema.Struct<{
5136
4962
  readonly type: Schema.String;
5137
4963
  readonly title: Schema.String;
5138
4964
  readonly status: Schema.Number;
@@ -5146,7 +4972,43 @@ export declare const TeamGrantsUpsertTeamExtensionGrant400: Schema.Union<readonl
5146
4972
  readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
5147
4973
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5148
4974
  }>>;
5149
- }>, Schema.Struct<{
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<{
5150
5012
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
5151
5013
  readonly type: Schema.String;
5152
5014
  readonly title: Schema.String;
@@ -5154,9 +5016,9 @@ export declare const TeamGrantsUpsertTeamExtensionGrant400: Schema.Union<readonl
5154
5016
  readonly detail: Schema.String;
5155
5017
  readonly instance: Schema.optionalKey<Schema.String>;
5156
5018
  readonly code: Schema.String;
5157
- }>]>;
5158
- export type TeamGrantsUpsertTeamExtensionGrant401 = ProblemDetails;
5159
- export declare const TeamGrantsUpsertTeamExtensionGrant401: Schema.Struct<{
5019
+ }>;
5020
+ export type LibrariesPatchLibraryMembers401 = ProblemDetails;
5021
+ export declare const LibrariesPatchLibraryMembers401: Schema.Struct<{
5160
5022
  readonly type: Schema.String;
5161
5023
  readonly title: Schema.String;
5162
5024
  readonly status: Schema.Number;
@@ -5171,15 +5033,15 @@ export declare const TeamGrantsUpsertTeamExtensionGrant401: Schema.Struct<{
5171
5033
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5172
5034
  }>>;
5173
5035
  }>;
5174
- export type TeamGrantsUpsertTeamExtensionGrant403 = ForbiddenError | ForbiddenError;
5175
- export declare const TeamGrantsUpsertTeamExtensionGrant403: Schema.Union<readonly [Schema.Struct<{
5036
+ export type LibrariesPatchLibraryMembers403 = ForbiddenError | ForbiddenError;
5037
+ export declare const LibrariesPatchLibraryMembers403: Schema.Union<readonly [Schema.Struct<{
5176
5038
  readonly kind: Schema.Literal<"ForbiddenError">;
5177
5039
  readonly type: Schema.String;
5178
5040
  readonly title: Schema.String;
5179
5041
  readonly status: Schema.Number;
5180
5042
  readonly detail: Schema.String;
5181
5043
  readonly instance: Schema.optionalKey<Schema.String>;
5182
- 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"]>;
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"]>;
5183
5045
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
5184
5046
  readonly requiredScope: Schema.String;
5185
5047
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -5201,7 +5063,7 @@ export declare const TeamGrantsUpsertTeamExtensionGrant403: Schema.Union<readonl
5201
5063
  readonly status: Schema.Number;
5202
5064
  readonly detail: Schema.String;
5203
5065
  readonly instance: Schema.optionalKey<Schema.String>;
5204
- 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"]>;
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"]>;
5205
5067
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
5206
5068
  readonly requiredScope: Schema.String;
5207
5069
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -5217,8 +5079,8 @@ export declare const TeamGrantsUpsertTeamExtensionGrant403: Schema.Union<readonl
5217
5079
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5218
5080
  }>]>>;
5219
5081
  }>]>;
5220
- export type TeamGrantsUpsertTeamExtensionGrant404 = ProblemDetails;
5221
- export declare const TeamGrantsUpsertTeamExtensionGrant404: Schema.Struct<{
5082
+ export type LibrariesPatchLibraryMembers404 = ProblemDetails;
5083
+ export declare const LibrariesPatchLibraryMembers404: Schema.Struct<{
5222
5084
  readonly type: Schema.String;
5223
5085
  readonly title: Schema.String;
5224
5086
  readonly status: Schema.Number;
@@ -5233,8 +5095,8 @@ export declare const TeamGrantsUpsertTeamExtensionGrant404: Schema.Struct<{
5233
5095
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5234
5096
  }>>;
5235
5097
  }>;
5236
- export type TeamGrantsUpsertTeamExtensionGrant422 = ProblemDetails;
5237
- export declare const TeamGrantsUpsertTeamExtensionGrant422: Schema.Struct<{
5098
+ export type LibrariesPatchLibraryMembers422 = ProblemDetails;
5099
+ export declare const LibrariesPatchLibraryMembers422: Schema.Struct<{
5238
5100
  readonly type: Schema.String;
5239
5101
  readonly title: Schema.String;
5240
5102
  readonly status: Schema.Number;
@@ -5249,38 +5111,38 @@ export declare const TeamGrantsUpsertTeamExtensionGrant422: Schema.Struct<{
5249
5111
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5250
5112
  }>>;
5251
5113
  }>;
5252
- export type TeamGrantsUpsertUserExtensionGrantRequestJson = UpsertGrantBody;
5253
- export declare const TeamGrantsUpsertUserExtensionGrantRequestJson: Schema.Struct<{
5254
- readonly role: Schema.Literals<readonly ["read", "write"]>;
5255
- }>;
5256
- export type TeamGrantsUpsertUserExtensionGrant200 = {
5257
- readonly userId: UserId;
5258
- readonly role: string;
5259
- readonly grantedBy: UserId | null;
5260
- readonly createdAt: string;
5261
- };
5262
- export declare const TeamGrantsUpsertUserExtensionGrant200: Schema.Struct<{
5263
- readonly userId: Schema.String;
5264
- readonly role: Schema.String;
5265
- readonly grantedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
5266
- readonly createdAt: Schema.String;
5114
+ export type LibrariesSetLibraryVisibilityRequestJson = PatchLibraryVisibilityBody;
5115
+ export declare const LibrariesSetLibraryVisibilityRequestJson: Schema.Struct<{
5116
+ readonly visibility: Schema.Literals<readonly ["public", "private"]>;
5267
5117
  }>;
5268
- export type TeamGrantsUpsertUserExtensionGrant400 = ProblemDetails | DecodeErrorResponse;
5269
- export declare const TeamGrantsUpsertUserExtensionGrant400: Schema.Union<readonly [Schema.Struct<{
5270
- readonly type: Schema.String;
5118
+ export type LibrariesSetLibraryVisibility200 = Library;
5119
+ export declare const LibrariesSetLibraryVisibility200: Schema.Struct<{
5120
+ readonly id: Schema.String;
5121
+ readonly owner: Schema.String;
5122
+ readonly name: Schema.String;
5271
5123
  readonly title: Schema.String;
5272
- readonly status: Schema.Number;
5273
- readonly detail: Schema.String;
5274
- readonly instance: Schema.optionalKey<Schema.String>;
5275
- readonly code: Schema.String;
5276
- readonly details: Schema.optionalKey<Schema.Struct<{
5277
- readonly retryable: Schema.Boolean;
5278
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
5279
- readonly requiredScope: Schema.optionalKey<Schema.String>;
5280
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
5281
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5282
- }>>;
5283
- }>, Schema.Struct<{
5124
+ readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
5125
+ readonly visibility: Schema.Literals<readonly ["public", "private"]>;
5126
+ readonly maintainer: Schema.Union<readonly [Schema.Struct<{
5127
+ readonly kind: Schema.Literal<"user">;
5128
+ readonly userId: Schema.String;
5129
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
5130
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
5131
+ }>, Schema.Struct<{
5132
+ readonly kind: Schema.Literal<"team">;
5133
+ readonly teamId: Schema.String;
5134
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
5135
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
5136
+ }>, Schema.Struct<{
5137
+ readonly kind: Schema.Literal<"none">;
5138
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
5139
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
5140
+ }>]>;
5141
+ readonly createdAt: Schema.String;
5142
+ readonly updatedAt: Schema.String;
5143
+ }>;
5144
+ export type LibrariesSetLibraryVisibility400 = DecodeErrorResponse;
5145
+ export declare const LibrariesSetLibraryVisibility400: Schema.Struct<{
5284
5146
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
5285
5147
  readonly type: Schema.String;
5286
5148
  readonly title: Schema.String;
@@ -5288,9 +5150,9 @@ export declare const TeamGrantsUpsertUserExtensionGrant400: Schema.Union<readonl
5288
5150
  readonly detail: Schema.String;
5289
5151
  readonly instance: Schema.optionalKey<Schema.String>;
5290
5152
  readonly code: Schema.String;
5291
- }>]>;
5292
- export type TeamGrantsUpsertUserExtensionGrant401 = ProblemDetails;
5293
- export declare const TeamGrantsUpsertUserExtensionGrant401: Schema.Struct<{
5153
+ }>;
5154
+ export type LibrariesSetLibraryVisibility401 = ProblemDetails;
5155
+ export declare const LibrariesSetLibraryVisibility401: Schema.Struct<{
5294
5156
  readonly type: Schema.String;
5295
5157
  readonly title: Schema.String;
5296
5158
  readonly status: Schema.Number;
@@ -5305,15 +5167,15 @@ export declare const TeamGrantsUpsertUserExtensionGrant401: Schema.Struct<{
5305
5167
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5306
5168
  }>>;
5307
5169
  }>;
5308
- export type TeamGrantsUpsertUserExtensionGrant403 = ForbiddenError | ForbiddenError;
5309
- export declare const TeamGrantsUpsertUserExtensionGrant403: Schema.Union<readonly [Schema.Struct<{
5170
+ export type LibrariesSetLibraryVisibility403 = ForbiddenError | ForbiddenError;
5171
+ export declare const LibrariesSetLibraryVisibility403: Schema.Union<readonly [Schema.Struct<{
5310
5172
  readonly kind: Schema.Literal<"ForbiddenError">;
5311
5173
  readonly type: Schema.String;
5312
5174
  readonly title: Schema.String;
5313
5175
  readonly status: Schema.Number;
5314
5176
  readonly detail: Schema.String;
5315
5177
  readonly instance: Schema.optionalKey<Schema.String>;
5316
- 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"]>;
5317
5179
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
5318
5180
  readonly requiredScope: Schema.String;
5319
5181
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -5335,7 +5197,7 @@ export declare const TeamGrantsUpsertUserExtensionGrant403: Schema.Union<readonl
5335
5197
  readonly status: Schema.Number;
5336
5198
  readonly detail: Schema.String;
5337
5199
  readonly instance: Schema.optionalKey<Schema.String>;
5338
- 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"]>;
5339
5201
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
5340
5202
  readonly requiredScope: Schema.String;
5341
5203
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -5351,8 +5213,24 @@ export declare const TeamGrantsUpsertUserExtensionGrant403: Schema.Union<readonl
5351
5213
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5352
5214
  }>]>>;
5353
5215
  }>]>;
5354
- export type TeamGrantsUpsertUserExtensionGrant404 = ProblemDetails;
5355
- export declare const TeamGrantsUpsertUserExtensionGrant404: Schema.Struct<{
5216
+ export type LibrariesSetLibraryVisibility404 = ProblemDetails;
5217
+ export declare const LibrariesSetLibraryVisibility404: Schema.Struct<{
5218
+ readonly type: Schema.String;
5219
+ readonly title: Schema.String;
5220
+ readonly status: Schema.Number;
5221
+ readonly detail: Schema.String;
5222
+ readonly instance: Schema.optionalKey<Schema.String>;
5223
+ readonly code: Schema.String;
5224
+ readonly details: Schema.optionalKey<Schema.Struct<{
5225
+ readonly retryable: Schema.Boolean;
5226
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
5227
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
5228
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
5229
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5230
+ }>>;
5231
+ }>;
5232
+ export type LibrariesSetLibraryVisibility422 = ProblemDetails;
5233
+ export declare const LibrariesSetLibraryVisibility422: Schema.Struct<{
5356
5234
  readonly type: Schema.String;
5357
5235
  readonly title: Schema.String;
5358
5236
  readonly status: Schema.Number;
@@ -5367,8 +5245,32 @@ export declare const TeamGrantsUpsertUserExtensionGrant404: Schema.Struct<{
5367
5245
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5368
5246
  }>>;
5369
5247
  }>;
5370
- export type TeamGrantsDeleteUserExtensionGrant400 = DecodeErrorResponse;
5371
- export declare const TeamGrantsDeleteUserExtensionGrant400: Schema.Struct<{
5248
+ export type LibrariesSetLibraryMaintainerRequestJson = LibraryMaintainerTarget;
5249
+ export declare const LibrariesSetLibraryMaintainerRequestJson: Schema.Union<readonly [Schema.Struct<{
5250
+ readonly kind: Schema.Literal<"user">;
5251
+ readonly userId: Schema.String;
5252
+ }>, Schema.Struct<{
5253
+ readonly kind: Schema.Literal<"team">;
5254
+ readonly teamId: Schema.String;
5255
+ }>]>;
5256
+ export type LibrariesSetLibraryMaintainer200 = LibraryMaintainer;
5257
+ export declare const LibrariesSetLibraryMaintainer200: Schema.Union<readonly [Schema.Struct<{
5258
+ readonly kind: Schema.Literal<"user">;
5259
+ readonly userId: Schema.String;
5260
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
5261
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
5262
+ }>, Schema.Struct<{
5263
+ readonly kind: Schema.Literal<"team">;
5264
+ readonly teamId: Schema.String;
5265
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
5266
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
5267
+ }>, Schema.Struct<{
5268
+ readonly kind: Schema.Literal<"none">;
5269
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
5270
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
5271
+ }>]>;
5272
+ export type LibrariesSetLibraryMaintainer400 = DecodeErrorResponse;
5273
+ export declare const LibrariesSetLibraryMaintainer400: Schema.Struct<{
5372
5274
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
5373
5275
  readonly type: Schema.String;
5374
5276
  readonly title: Schema.String;
@@ -5377,8 +5279,8 @@ export declare const TeamGrantsDeleteUserExtensionGrant400: Schema.Struct<{
5377
5279
  readonly instance: Schema.optionalKey<Schema.String>;
5378
5280
  readonly code: Schema.String;
5379
5281
  }>;
5380
- export type TeamGrantsDeleteUserExtensionGrant401 = ProblemDetails;
5381
- export declare const TeamGrantsDeleteUserExtensionGrant401: Schema.Struct<{
5282
+ export type LibrariesSetLibraryMaintainer401 = ProblemDetails;
5283
+ export declare const LibrariesSetLibraryMaintainer401: Schema.Struct<{
5382
5284
  readonly type: Schema.String;
5383
5285
  readonly title: Schema.String;
5384
5286
  readonly status: Schema.Number;
@@ -5393,15 +5295,15 @@ export declare const TeamGrantsDeleteUserExtensionGrant401: Schema.Struct<{
5393
5295
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5394
5296
  }>>;
5395
5297
  }>;
5396
- export type TeamGrantsDeleteUserExtensionGrant403 = ForbiddenError | ForbiddenError;
5397
- export declare const TeamGrantsDeleteUserExtensionGrant403: Schema.Union<readonly [Schema.Struct<{
5298
+ export type LibrariesSetLibraryMaintainer403 = ForbiddenError | ForbiddenError;
5299
+ export declare const LibrariesSetLibraryMaintainer403: Schema.Union<readonly [Schema.Struct<{
5398
5300
  readonly kind: Schema.Literal<"ForbiddenError">;
5399
5301
  readonly type: Schema.String;
5400
5302
  readonly title: Schema.String;
5401
5303
  readonly status: Schema.Number;
5402
5304
  readonly detail: Schema.String;
5403
5305
  readonly instance: Schema.optionalKey<Schema.String>;
5404
- 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"]>;
5405
5307
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
5406
5308
  readonly requiredScope: Schema.String;
5407
5309
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -5423,7 +5325,7 @@ export declare const TeamGrantsDeleteUserExtensionGrant403: Schema.Union<readonl
5423
5325
  readonly status: Schema.Number;
5424
5326
  readonly detail: Schema.String;
5425
5327
  readonly instance: Schema.optionalKey<Schema.String>;
5426
- 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"]>;
5427
5329
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
5428
5330
  readonly requiredScope: Schema.String;
5429
5331
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -5439,8 +5341,8 @@ export declare const TeamGrantsDeleteUserExtensionGrant403: Schema.Union<readonl
5439
5341
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5440
5342
  }>]>>;
5441
5343
  }>]>;
5442
- export type TeamGrantsDeleteUserExtensionGrant404 = ProblemDetails;
5443
- export declare const TeamGrantsDeleteUserExtensionGrant404: Schema.Struct<{
5344
+ export type LibrariesSetLibraryMaintainer404 = ProblemDetails;
5345
+ export declare const LibrariesSetLibraryMaintainer404: Schema.Struct<{
5444
5346
  readonly type: Schema.String;
5445
5347
  readonly title: Schema.String;
5446
5348
  readonly status: Schema.Number;
@@ -5455,8 +5357,8 @@ export declare const TeamGrantsDeleteUserExtensionGrant404: Schema.Struct<{
5455
5357
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5456
5358
  }>>;
5457
5359
  }>;
5458
- export type TeamGrantsDeleteUserExtensionGrant409 = ProblemDetails;
5459
- export declare const TeamGrantsDeleteUserExtensionGrant409: Schema.Struct<{
5360
+ export type LibrariesSetLibraryMaintainer422 = ProblemDetails;
5361
+ export declare const LibrariesSetLibraryMaintainer422: Schema.Struct<{
5460
5362
  readonly type: Schema.String;
5461
5363
  readonly title: Schema.String;
5462
5364
  readonly status: Schema.Number;
@@ -5471,33 +5373,24 @@ export declare const TeamGrantsDeleteUserExtensionGrant409: Schema.Struct<{
5471
5373
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5472
5374
  }>>;
5473
5375
  }>;
5474
- export type TeamGrantsUpsertTeamExtensionGrantByIdRequestJson = UpsertGrantBody;
5475
- export declare const TeamGrantsUpsertTeamExtensionGrantByIdRequestJson: Schema.Struct<{
5476
- readonly role: Schema.Literals<readonly ["read", "write"]>;
5477
- }>;
5478
- export type TeamGrantsUpsertTeamExtensionGrantById200 = TeamGrant;
5479
- export declare const TeamGrantsUpsertTeamExtensionGrantById200: Schema.Struct<{
5376
+ export type LibrariesClearLibraryMaintainer200 = LibraryMaintainer;
5377
+ export declare const LibrariesClearLibraryMaintainer200: Schema.Union<readonly [Schema.Struct<{
5378
+ readonly kind: Schema.Literal<"user">;
5379
+ readonly userId: Schema.String;
5380
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
5381
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
5382
+ }>, Schema.Struct<{
5383
+ readonly kind: Schema.Literal<"team">;
5480
5384
  readonly teamId: Schema.String;
5481
- readonly role: Schema.Literals<readonly ["read", "write"]>;
5482
- readonly grantedBy: Schema.String;
5483
- readonly grantedAt: Schema.String;
5484
- }>;
5485
- export type TeamGrantsUpsertTeamExtensionGrantById400 = ProblemDetails | DecodeErrorResponse;
5486
- export declare const TeamGrantsUpsertTeamExtensionGrantById400: Schema.Union<readonly [Schema.Struct<{
5487
- readonly type: Schema.String;
5488
- readonly title: Schema.String;
5489
- readonly status: Schema.Number;
5490
- readonly detail: Schema.String;
5491
- readonly instance: Schema.optionalKey<Schema.String>;
5492
- readonly code: Schema.String;
5493
- readonly details: Schema.optionalKey<Schema.Struct<{
5494
- readonly retryable: Schema.Boolean;
5495
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
5496
- readonly requiredScope: Schema.optionalKey<Schema.String>;
5497
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
5498
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5499
- }>>;
5385
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
5386
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
5500
5387
  }>, Schema.Struct<{
5388
+ readonly kind: Schema.Literal<"none">;
5389
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
5390
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
5391
+ }>]>;
5392
+ export type LibrariesClearLibraryMaintainer400 = DecodeErrorResponse;
5393
+ export declare const LibrariesClearLibraryMaintainer400: Schema.Struct<{
5501
5394
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
5502
5395
  readonly type: Schema.String;
5503
5396
  readonly title: Schema.String;
@@ -5505,9 +5398,9 @@ export declare const TeamGrantsUpsertTeamExtensionGrantById400: Schema.Union<rea
5505
5398
  readonly detail: Schema.String;
5506
5399
  readonly instance: Schema.optionalKey<Schema.String>;
5507
5400
  readonly code: Schema.String;
5508
- }>]>;
5509
- export type TeamGrantsUpsertTeamExtensionGrantById401 = ProblemDetails;
5510
- export declare const TeamGrantsUpsertTeamExtensionGrantById401: Schema.Struct<{
5401
+ }>;
5402
+ export type LibrariesClearLibraryMaintainer401 = ProblemDetails;
5403
+ export declare const LibrariesClearLibraryMaintainer401: Schema.Struct<{
5511
5404
  readonly type: Schema.String;
5512
5405
  readonly title: Schema.String;
5513
5406
  readonly status: Schema.Number;
@@ -5522,15 +5415,15 @@ export declare const TeamGrantsUpsertTeamExtensionGrantById401: Schema.Struct<{
5522
5415
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5523
5416
  }>>;
5524
5417
  }>;
5525
- export type TeamGrantsUpsertTeamExtensionGrantById403 = ForbiddenError | ForbiddenError;
5526
- export declare const TeamGrantsUpsertTeamExtensionGrantById403: Schema.Union<readonly [Schema.Struct<{
5418
+ export type LibrariesClearLibraryMaintainer403 = ForbiddenError | ForbiddenError;
5419
+ export declare const LibrariesClearLibraryMaintainer403: Schema.Union<readonly [Schema.Struct<{
5527
5420
  readonly kind: Schema.Literal<"ForbiddenError">;
5528
5421
  readonly type: Schema.String;
5529
5422
  readonly title: Schema.String;
5530
5423
  readonly status: Schema.Number;
5531
5424
  readonly detail: Schema.String;
5532
5425
  readonly instance: Schema.optionalKey<Schema.String>;
5533
- 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"]>;
5534
5427
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
5535
5428
  readonly requiredScope: Schema.String;
5536
5429
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -5552,7 +5445,7 @@ export declare const TeamGrantsUpsertTeamExtensionGrantById403: Schema.Union<rea
5552
5445
  readonly status: Schema.Number;
5553
5446
  readonly detail: Schema.String;
5554
5447
  readonly instance: Schema.optionalKey<Schema.String>;
5555
- 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"]>;
5556
5449
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
5557
5450
  readonly requiredScope: Schema.String;
5558
5451
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -5568,8 +5461,8 @@ export declare const TeamGrantsUpsertTeamExtensionGrantById403: Schema.Union<rea
5568
5461
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5569
5462
  }>]>>;
5570
5463
  }>]>;
5571
- export type TeamGrantsUpsertTeamExtensionGrantById404 = ProblemDetails;
5572
- export declare const TeamGrantsUpsertTeamExtensionGrantById404: Schema.Struct<{
5464
+ export type LibrariesClearLibraryMaintainer404 = ProblemDetails;
5465
+ export declare const LibrariesClearLibraryMaintainer404: Schema.Struct<{
5573
5466
  readonly type: Schema.String;
5574
5467
  readonly title: Schema.String;
5575
5468
  readonly status: Schema.Number;
@@ -5584,8 +5477,8 @@ export declare const TeamGrantsUpsertTeamExtensionGrantById404: Schema.Struct<{
5584
5477
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5585
5478
  }>>;
5586
5479
  }>;
5587
- export type TeamGrantsUpsertTeamExtensionGrantById422 = ProblemDetails;
5588
- export declare const TeamGrantsUpsertTeamExtensionGrantById422: Schema.Struct<{
5480
+ export type LibrariesClearLibraryMaintainer422 = ProblemDetails;
5481
+ export declare const LibrariesClearLibraryMaintainer422: Schema.Struct<{
5589
5482
  readonly type: Schema.String;
5590
5483
  readonly title: Schema.String;
5591
5484
  readonly status: Schema.Number;
@@ -5600,8 +5493,18 @@ export declare const TeamGrantsUpsertTeamExtensionGrantById422: Schema.Struct<{
5600
5493
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5601
5494
  }>>;
5602
5495
  }>;
5603
- export type TeamGrantsDeleteTeamExtensionGrantById400 = DecodeErrorResponse;
5604
- export declare const TeamGrantsDeleteTeamExtensionGrantById400: Schema.Struct<{
5496
+ export type LibrariesAddLibraryMember200 = LibraryMember;
5497
+ export declare const LibrariesAddLibraryMember200: Schema.Struct<{
5498
+ readonly id: Schema.String;
5499
+ readonly libraryId: Schema.String;
5500
+ readonly extensionId: Schema.String;
5501
+ readonly extensionOwner: Schema.String;
5502
+ readonly extensionType: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
5503
+ readonly extensionName: Schema.String;
5504
+ readonly addedAt: Schema.String;
5505
+ }>;
5506
+ export type LibrariesAddLibraryMember400 = DecodeErrorResponse;
5507
+ export declare const LibrariesAddLibraryMember400: Schema.Struct<{
5605
5508
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
5606
5509
  readonly type: Schema.String;
5607
5510
  readonly title: Schema.String;
@@ -5610,8 +5513,8 @@ export declare const TeamGrantsDeleteTeamExtensionGrantById400: Schema.Struct<{
5610
5513
  readonly instance: Schema.optionalKey<Schema.String>;
5611
5514
  readonly code: Schema.String;
5612
5515
  }>;
5613
- export type TeamGrantsDeleteTeamExtensionGrantById401 = ProblemDetails;
5614
- export declare const TeamGrantsDeleteTeamExtensionGrantById401: Schema.Struct<{
5516
+ export type LibrariesAddLibraryMember401 = ProblemDetails;
5517
+ export declare const LibrariesAddLibraryMember401: Schema.Struct<{
5615
5518
  readonly type: Schema.String;
5616
5519
  readonly title: Schema.String;
5617
5520
  readonly status: Schema.Number;
@@ -5626,15 +5529,15 @@ export declare const TeamGrantsDeleteTeamExtensionGrantById401: Schema.Struct<{
5626
5529
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5627
5530
  }>>;
5628
5531
  }>;
5629
- export type TeamGrantsDeleteTeamExtensionGrantById403 = ForbiddenError | ForbiddenError;
5630
- export declare const TeamGrantsDeleteTeamExtensionGrantById403: Schema.Union<readonly [Schema.Struct<{
5532
+ export type LibrariesAddLibraryMember403 = ForbiddenError | ForbiddenError;
5533
+ export declare const LibrariesAddLibraryMember403: Schema.Union<readonly [Schema.Struct<{
5631
5534
  readonly kind: Schema.Literal<"ForbiddenError">;
5632
5535
  readonly type: Schema.String;
5633
5536
  readonly title: Schema.String;
5634
5537
  readonly status: Schema.Number;
5635
5538
  readonly detail: Schema.String;
5636
5539
  readonly instance: Schema.optionalKey<Schema.String>;
5637
- 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"]>;
5638
5541
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
5639
5542
  readonly requiredScope: Schema.String;
5640
5543
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -5656,7 +5559,7 @@ export declare const TeamGrantsDeleteTeamExtensionGrantById403: Schema.Union<rea
5656
5559
  readonly status: Schema.Number;
5657
5560
  readonly detail: Schema.String;
5658
5561
  readonly instance: Schema.optionalKey<Schema.String>;
5659
- 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"]>;
5660
5563
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
5661
5564
  readonly requiredScope: Schema.String;
5662
5565
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -5672,8 +5575,40 @@ export declare const TeamGrantsDeleteTeamExtensionGrantById403: Schema.Union<rea
5672
5575
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5673
5576
  }>]>>;
5674
5577
  }>]>;
5675
- export type TeamGrantsDeleteTeamExtensionGrantById404 = ProblemDetails;
5676
- export declare const TeamGrantsDeleteTeamExtensionGrantById404: Schema.Struct<{
5578
+ export type LibrariesAddLibraryMember404 = ProblemDetails;
5579
+ export declare const LibrariesAddLibraryMember404: Schema.Struct<{
5580
+ readonly type: Schema.String;
5581
+ readonly title: Schema.String;
5582
+ readonly status: Schema.Number;
5583
+ readonly detail: Schema.String;
5584
+ readonly instance: Schema.optionalKey<Schema.String>;
5585
+ readonly code: Schema.String;
5586
+ readonly details: Schema.optionalKey<Schema.Struct<{
5587
+ readonly retryable: Schema.Boolean;
5588
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
5589
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
5590
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
5591
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5592
+ }>>;
5593
+ }>;
5594
+ export type LibrariesAddLibraryMember409 = ProblemDetails;
5595
+ export declare const LibrariesAddLibraryMember409: Schema.Struct<{
5596
+ readonly type: Schema.String;
5597
+ readonly title: Schema.String;
5598
+ readonly status: Schema.Number;
5599
+ readonly detail: Schema.String;
5600
+ readonly instance: Schema.optionalKey<Schema.String>;
5601
+ readonly code: Schema.String;
5602
+ readonly details: Schema.optionalKey<Schema.Struct<{
5603
+ readonly retryable: Schema.Boolean;
5604
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
5605
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
5606
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
5607
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5608
+ }>>;
5609
+ }>;
5610
+ export type LibrariesAddLibraryMember422 = ProblemDetails;
5611
+ export declare const LibrariesAddLibraryMember422: Schema.Struct<{
5677
5612
  readonly type: Schema.String;
5678
5613
  readonly title: Schema.String;
5679
5614
  readonly status: Schema.Number;
@@ -5688,8 +5623,8 @@ export declare const TeamGrantsDeleteTeamExtensionGrantById404: Schema.Struct<{
5688
5623
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5689
5624
  }>>;
5690
5625
  }>;
5691
- export type TeamGrantsDeleteTeamExtensionGrant400 = DecodeErrorResponse;
5692
- export declare const TeamGrantsDeleteTeamExtensionGrant400: Schema.Struct<{
5626
+ export type LibrariesRemoveLibraryMember400 = DecodeErrorResponse;
5627
+ export declare const LibrariesRemoveLibraryMember400: Schema.Struct<{
5693
5628
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
5694
5629
  readonly type: Schema.String;
5695
5630
  readonly title: Schema.String;
@@ -5698,8 +5633,8 @@ export declare const TeamGrantsDeleteTeamExtensionGrant400: Schema.Struct<{
5698
5633
  readonly instance: Schema.optionalKey<Schema.String>;
5699
5634
  readonly code: Schema.String;
5700
5635
  }>;
5701
- export type TeamGrantsDeleteTeamExtensionGrant401 = ProblemDetails;
5702
- export declare const TeamGrantsDeleteTeamExtensionGrant401: Schema.Struct<{
5636
+ export type LibrariesRemoveLibraryMember401 = ProblemDetails;
5637
+ export declare const LibrariesRemoveLibraryMember401: Schema.Struct<{
5703
5638
  readonly type: Schema.String;
5704
5639
  readonly title: Schema.String;
5705
5640
  readonly status: Schema.Number;
@@ -5714,15 +5649,15 @@ export declare const TeamGrantsDeleteTeamExtensionGrant401: Schema.Struct<{
5714
5649
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5715
5650
  }>>;
5716
5651
  }>;
5717
- export type TeamGrantsDeleteTeamExtensionGrant403 = ForbiddenError | ForbiddenError;
5718
- export declare const TeamGrantsDeleteTeamExtensionGrant403: Schema.Union<readonly [Schema.Struct<{
5652
+ export type LibrariesRemoveLibraryMember403 = ForbiddenError | ForbiddenError;
5653
+ export declare const LibrariesRemoveLibraryMember403: Schema.Union<readonly [Schema.Struct<{
5719
5654
  readonly kind: Schema.Literal<"ForbiddenError">;
5720
5655
  readonly type: Schema.String;
5721
5656
  readonly title: Schema.String;
5722
5657
  readonly status: Schema.Number;
5723
5658
  readonly detail: Schema.String;
5724
5659
  readonly instance: Schema.optionalKey<Schema.String>;
5725
- 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"]>;
5726
5661
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
5727
5662
  readonly requiredScope: Schema.String;
5728
5663
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -5744,7 +5679,7 @@ export declare const TeamGrantsDeleteTeamExtensionGrant403: Schema.Union<readonl
5744
5679
  readonly status: Schema.Number;
5745
5680
  readonly detail: Schema.String;
5746
5681
  readonly instance: Schema.optionalKey<Schema.String>;
5747
- 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"]>;
5748
5683
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
5749
5684
  readonly requiredScope: Schema.String;
5750
5685
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -5760,8 +5695,24 @@ export declare const TeamGrantsDeleteTeamExtensionGrant403: Schema.Union<readonl
5760
5695
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5761
5696
  }>]>>;
5762
5697
  }>]>;
5763
- export type TeamGrantsDeleteTeamExtensionGrant404 = ProblemDetails;
5764
- export declare const TeamGrantsDeleteTeamExtensionGrant404: Schema.Struct<{
5698
+ export type LibrariesRemoveLibraryMember404 = ProblemDetails;
5699
+ export declare const LibrariesRemoveLibraryMember404: Schema.Struct<{
5700
+ readonly type: Schema.String;
5701
+ readonly title: Schema.String;
5702
+ readonly status: Schema.Number;
5703
+ readonly detail: Schema.String;
5704
+ readonly instance: Schema.optionalKey<Schema.String>;
5705
+ readonly code: Schema.String;
5706
+ readonly details: Schema.optionalKey<Schema.Struct<{
5707
+ readonly retryable: Schema.Boolean;
5708
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
5709
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
5710
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
5711
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5712
+ }>>;
5713
+ }>;
5714
+ export type LibrariesRemoveLibraryMember422 = ProblemDetails;
5715
+ export declare const LibrariesRemoveLibraryMember422: Schema.Struct<{
5765
5716
  readonly type: Schema.String;
5766
5717
  readonly title: Schema.String;
5767
5718
  readonly status: Schema.Number;
@@ -5826,7 +5777,7 @@ export declare const MaintainerGetMaintainer403: Schema.Union<readonly [Schema.S
5826
5777
  readonly status: Schema.Number;
5827
5778
  readonly detail: Schema.String;
5828
5779
  readonly instance: Schema.optionalKey<Schema.String>;
5829
- 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"]>;
5830
5781
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
5831
5782
  readonly requiredScope: Schema.String;
5832
5783
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -5848,7 +5799,7 @@ export declare const MaintainerGetMaintainer403: Schema.Union<readonly [Schema.S
5848
5799
  readonly status: Schema.Number;
5849
5800
  readonly detail: Schema.String;
5850
5801
  readonly instance: Schema.optionalKey<Schema.String>;
5851
- 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"]>;
5852
5803
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
5853
5804
  readonly requiredScope: Schema.String;
5854
5805
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -5938,7 +5889,7 @@ export declare const MaintainerSetMaintainer403: Schema.Union<readonly [Schema.S
5938
5889
  readonly status: Schema.Number;
5939
5890
  readonly detail: Schema.String;
5940
5891
  readonly instance: Schema.optionalKey<Schema.String>;
5941
- 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"]>;
5942
5893
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
5943
5894
  readonly requiredScope: Schema.String;
5944
5895
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -5960,7 +5911,7 @@ export declare const MaintainerSetMaintainer403: Schema.Union<readonly [Schema.S
5960
5911
  readonly status: Schema.Number;
5961
5912
  readonly detail: Schema.String;
5962
5913
  readonly instance: Schema.optionalKey<Schema.String>;
5963
- 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"]>;
5964
5915
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
5965
5916
  readonly requiredScope: Schema.String;
5966
5917
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -6058,7 +6009,7 @@ export declare const MaintainerClearMaintainer403: Schema.Union<readonly [Schema
6058
6009
  readonly status: Schema.Number;
6059
6010
  readonly detail: Schema.String;
6060
6011
  readonly instance: Schema.optionalKey<Schema.String>;
6061
- 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"]>;
6062
6013
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
6063
6014
  readonly requiredScope: Schema.String;
6064
6015
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -6080,7 +6031,7 @@ export declare const MaintainerClearMaintainer403: Schema.Union<readonly [Schema
6080
6031
  readonly status: Schema.Number;
6081
6032
  readonly detail: Schema.String;
6082
6033
  readonly instance: Schema.optionalKey<Schema.String>;
6083
- 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"]>;
6084
6035
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
6085
6036
  readonly requiredScope: Schema.String;
6086
6037
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -6370,11 +6321,25 @@ export type SearchSearchExtensionsParams = {
6370
6321
  readonly q: string;
6371
6322
  readonly cursor?: string | null;
6372
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;
6373
6331
  };
6374
6332
  export declare const SearchSearchExtensionsParams: Schema.Struct<{
6375
6333
  readonly q: Schema.String;
6376
6334
  readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
6377
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]>>;
6378
6343
  }>;
6379
6344
  export type SearchSearchExtensions200 = SearchResponse;
6380
6345
  export declare const SearchSearchExtensions200: Schema.Struct<{
@@ -6397,12 +6362,30 @@ export declare const SearchSearchExtensions200: Schema.Struct<{
6397
6362
  }>>, Schema.Null]>>;
6398
6363
  readonly deprecated_at: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
6399
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"]>;
6400
6367
  }>>;
6401
6368
  readonly has_more: Schema.Boolean;
6402
6369
  readonly cursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
6370
+ readonly total: Schema.Number;
6371
+ readonly total_relation: Schema.Literal<"exact">;
6403
6372
  }>;
6404
- export type SearchSearchExtensions400 = DecodeErrorResponse;
6405
- 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<{
6406
6389
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
6407
6390
  readonly type: Schema.String;
6408
6391
  readonly title: Schema.String;
@@ -6410,7 +6393,7 @@ export declare const SearchSearchExtensions400: Schema.Struct<{
6410
6393
  readonly detail: Schema.String;
6411
6394
  readonly instance: Schema.optionalKey<Schema.String>;
6412
6395
  readonly code: Schema.String;
6413
- }>;
6396
+ }>]>;
6414
6397
  export interface OperationConfig {
6415
6398
  /**
6416
6399
  * Whether or not the response should be included in the value returned from
@@ -6494,6 +6477,13 @@ export interface RegistryClient {
6494
6477
  readonly AuthExchangeOidcToken: <Config extends OperationConfig>(options: {
6495
6478
  readonly config?: Config | undefined;
6496
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>>;
6497
6487
  /**
6498
6488
  * List access tokens
6499
6489
  */
@@ -6599,6 +6589,13 @@ export interface RegistryClient {
6599
6589
  readonly ExtensionsGet: <Config extends OperationConfig>(owner: string, type: string, name: string, options: {
6600
6590
  readonly config?: Config | undefined;
6601
6591
  } | undefined) => Effect.Effect<WithOptionalResponse<typeof ExtensionsGet200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsGet400", typeof ExtensionsGet400.Type> | RegistryClientError<"ExtensionsGet404", typeof ExtensionsGet404.Type>>;
6592
+ /**
6593
+ * Permanently delete a whole Extension
6594
+ */
6595
+ readonly ExtensionsDeleteExtension: <Config extends OperationConfig>(owner: string, type: string, name: string, options: {
6596
+ readonly payload: typeof ExtensionsDeleteExtensionRequestJson.Encoded;
6597
+ readonly config?: Config | undefined;
6598
+ }) => Effect.Effect<WithOptionalResponse<typeof ExtensionsDeleteExtension202.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsDeleteExtension400", typeof ExtensionsDeleteExtension400.Type> | RegistryClientError<"ExtensionsDeleteExtension401", typeof ExtensionsDeleteExtension401.Type> | RegistryClientError<"ExtensionsDeleteExtension403", typeof ExtensionsDeleteExtension403.Type> | RegistryClientError<"ExtensionsDeleteExtension404", typeof ExtensionsDeleteExtension404.Type> | RegistryClientError<"ExtensionsDeleteExtension409", typeof ExtensionsDeleteExtension409.Type>>;
6602
6599
  /**
6603
6600
  * Check whether an extension exists
6604
6601
  */
@@ -6611,26 +6608,25 @@ export interface RegistryClient {
6611
6608
  readonly ExtensionsUpdateVisibility: <Config extends OperationConfig>(owner: string, type: string, name: string, options: {
6612
6609
  readonly payload: typeof ExtensionsUpdateVisibilityRequestJson.Encoded;
6613
6610
  readonly config?: Config | undefined;
6614
- }) => Effect.Effect<WithOptionalResponse<typeof ExtensionsUpdateVisibility200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsUpdateVisibility400", typeof ExtensionsUpdateVisibility400.Type> | RegistryClientError<"ExtensionsUpdateVisibility401", typeof ExtensionsUpdateVisibility401.Type> | RegistryClientError<"ExtensionsUpdateVisibility403", typeof ExtensionsUpdateVisibility403.Type> | RegistryClientError<"ExtensionsUpdateVisibility404", typeof ExtensionsUpdateVisibility404.Type> | RegistryClientError<"ExtensionsUpdateVisibility422", typeof ExtensionsUpdateVisibility422.Type>>;
6611
+ }) => Effect.Effect<WithOptionalResponse<typeof ExtensionsUpdateVisibility200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsUpdateVisibility400", typeof ExtensionsUpdateVisibility400.Type> | RegistryClientError<"ExtensionsUpdateVisibility401", typeof ExtensionsUpdateVisibility401.Type> | RegistryClientError<"ExtensionsUpdateVisibility403", typeof ExtensionsUpdateVisibility403.Type> | RegistryClientError<"ExtensionsUpdateVisibility404", typeof ExtensionsUpdateVisibility404.Type>>;
6615
6612
  /**
6616
6613
  * Get extension version metadata
6617
6614
  */
6618
6615
  readonly ExtensionsGetVersion: <Config extends OperationConfig>(owner: string, type: string, name: string, version: string, options: {
6619
6616
  readonly config?: Config | undefined;
6620
- } | undefined) => Effect.Effect<WithOptionalResponse<typeof ExtensionsGetVersion200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsGetVersion400", typeof ExtensionsGetVersion400.Type> | RegistryClientError<"ExtensionsGetVersion404", typeof ExtensionsGetVersion404.Type>>;
6617
+ } | undefined) => Effect.Effect<WithOptionalResponse<typeof ExtensionsGetVersion200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsGetVersion400", typeof ExtensionsGetVersion400.Type> | RegistryClientError<"ExtensionsGetVersion404", typeof ExtensionsGetVersion404.Type> | RegistryClientError<"ExtensionsGetVersion410", typeof ExtensionsGetVersion410.Type>>;
6621
6618
  /**
6622
6619
  * Publish extension version
6623
6620
  */
6624
6621
  readonly ExtensionsPublishVersion: <Config extends OperationConfig>(owner: string, type: string, name: string, version: string, options: {
6625
- readonly payload: typeof ExtensionsPublishVersionRequestFormData.Encoded;
6626
6622
  readonly config?: Config | undefined;
6627
- }) => 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>>;
6628
6624
  /**
6629
- * Hard-delete an extension version
6625
+ * Get Extension deletion operation status
6630
6626
  */
6631
- readonly ExtensionsDeleteVersion: <Config extends OperationConfig>(owner: string, type: string, name: string, version: string, options: {
6627
+ readonly ExtensionsGetDeletionOperation: <Config extends OperationConfig>(operationId: string, options: {
6632
6628
  readonly config?: Config | undefined;
6633
- } | undefined) => Effect.Effect<WithOptionalResponse<void, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsDeleteVersion400", typeof ExtensionsDeleteVersion400.Type> | RegistryClientError<"ExtensionsDeleteVersion401", typeof ExtensionsDeleteVersion401.Type> | RegistryClientError<"ExtensionsDeleteVersion403", typeof ExtensionsDeleteVersion403.Type> | RegistryClientError<"ExtensionsDeleteVersion404", typeof ExtensionsDeleteVersion404.Type>>;
6629
+ } | undefined) => Effect.Effect<WithOptionalResponse<typeof ExtensionsGetDeletionOperation200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsGetDeletionOperation400", typeof ExtensionsGetDeletionOperation400.Type> | RegistryClientError<"ExtensionsGetDeletionOperation401", typeof ExtensionsGetDeletionOperation401.Type> | RegistryClientError<"ExtensionsGetDeletionOperation403", typeof ExtensionsGetDeletionOperation403.Type> | RegistryClientError<"ExtensionsGetDeletionOperation404", typeof ExtensionsGetDeletionOperation404.Type>>;
6634
6630
  /**
6635
6631
  * Download extension archive
6636
6632
  */
@@ -6641,6 +6637,12 @@ export interface RegistryClient {
6641
6637
  * Download extension archive
6642
6638
  */
6643
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>>;
6644
6646
  /**
6645
6647
  * Deprecate an extension
6646
6648
  */
@@ -6658,18 +6660,40 @@ export interface RegistryClient {
6658
6660
  * Yank an extension version
6659
6661
  */
6660
6662
  readonly ExtensionsYankVersion: <Config extends OperationConfig>(owner: string, type: string, name: string, version: string, options: {
6663
+ readonly payload: typeof ExtensionsYankVersionRequestJson.Encoded;
6661
6664
  readonly config?: Config | undefined;
6662
- } | undefined) => Effect.Effect<WithOptionalResponse<typeof ExtensionsYankVersion200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsYankVersion400", typeof ExtensionsYankVersion400.Type> | RegistryClientError<"ExtensionsYankVersion401", typeof ExtensionsYankVersion401.Type> | RegistryClientError<"ExtensionsYankVersion403", typeof ExtensionsYankVersion403.Type> | RegistryClientError<"ExtensionsYankVersion404", typeof ExtensionsYankVersion404.Type>>;
6665
+ }) => Effect.Effect<WithOptionalResponse<typeof ExtensionsYankVersion200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsYankVersion400", typeof ExtensionsYankVersion400.Type> | RegistryClientError<"ExtensionsYankVersion401", typeof ExtensionsYankVersion401.Type> | RegistryClientError<"ExtensionsYankVersion403", typeof ExtensionsYankVersion403.Type> | RegistryClientError<"ExtensionsYankVersion404", typeof ExtensionsYankVersion404.Type>>;
6663
6666
  /**
6664
6667
  * Un-yank an extension version
6665
6668
  */
6666
6669
  readonly ExtensionsUnyankVersion: <Config extends OperationConfig>(owner: string, type: string, name: string, version: string, options: {
6667
6670
  readonly config?: Config | undefined;
6668
6671
  } | undefined) => Effect.Effect<WithOptionalResponse<typeof ExtensionsUnyankVersion200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsUnyankVersion400", typeof ExtensionsUnyankVersion400.Type> | RegistryClientError<"ExtensionsUnyankVersion401", typeof ExtensionsUnyankVersion401.Type> | RegistryClientError<"ExtensionsUnyankVersion403", typeof ExtensionsUnyankVersion403.Type> | RegistryClientError<"ExtensionsUnyankVersion404", typeof ExtensionsUnyankVersion404.Type>>;
6672
+ /**
6673
+ * Yank all currently available extension versions
6674
+ */
6675
+ readonly ExtensionsYankAvailableVersions: <Config extends OperationConfig>(owner: string, type: string, name: string, options: {
6676
+ readonly payload: typeof ExtensionsYankAvailableVersionsRequestJson.Encoded;
6677
+ readonly config?: Config | undefined;
6678
+ }) => Effect.Effect<WithOptionalResponse<typeof ExtensionsYankAvailableVersions200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsYankAvailableVersions400", typeof ExtensionsYankAvailableVersions400.Type> | RegistryClientError<"ExtensionsYankAvailableVersions401", typeof ExtensionsYankAvailableVersions401.Type> | RegistryClientError<"ExtensionsYankAvailableVersions403", typeof ExtensionsYankAvailableVersions403.Type> | RegistryClientError<"ExtensionsYankAvailableVersions404", typeof ExtensionsYankAvailableVersions404.Type>>;
6679
+ /**
6680
+ * Preview permanent Extension deletion impact
6681
+ */
6682
+ readonly ExtensionsGetDeletionPreview: <Config extends OperationConfig>(owner: string, type: string, name: string, options: {
6683
+ readonly config?: Config | undefined;
6684
+ } | undefined) => Effect.Effect<WithOptionalResponse<typeof ExtensionsGetDeletionPreview200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsGetDeletionPreview400", typeof ExtensionsGetDeletionPreview400.Type> | RegistryClientError<"ExtensionsGetDeletionPreview401", typeof ExtensionsGetDeletionPreview401.Type> | RegistryClientError<"ExtensionsGetDeletionPreview403", typeof ExtensionsGetDeletionPreview403.Type> | RegistryClientError<"ExtensionsGetDeletionPreview404", typeof ExtensionsGetDeletionPreview404.Type>>;
6685
+ /**
6686
+ * Administratively purge extension version bytes
6687
+ */
6688
+ readonly AdminExtensionsPurgeExtensionVersion: <Config extends OperationConfig>(owner: string, type: string, name: string, version: string, options: {
6689
+ readonly payload: typeof AdminExtensionsPurgeExtensionVersionRequestJson.Encoded;
6690
+ readonly config?: Config | undefined;
6691
+ }) => Effect.Effect<WithOptionalResponse<typeof AdminExtensionsPurgeExtensionVersion202.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"AdminExtensionsPurgeExtensionVersion400", typeof AdminExtensionsPurgeExtensionVersion400.Type> | RegistryClientError<"AdminExtensionsPurgeExtensionVersion401", typeof AdminExtensionsPurgeExtensionVersion401.Type> | RegistryClientError<"AdminExtensionsPurgeExtensionVersion403", typeof AdminExtensionsPurgeExtensionVersion403.Type> | RegistryClientError<"AdminExtensionsPurgeExtensionVersion404", typeof AdminExtensionsPurgeExtensionVersion404.Type> | RegistryClientError<"AdminExtensionsPurgeExtensionVersion409", typeof AdminExtensionsPurgeExtensionVersion409.Type>>;
6669
6692
  /**
6670
6693
  * List owner Libraries
6671
6694
  */
6672
6695
  readonly LibrariesListLibraries: <Config extends OperationConfig>(owner: string, options: {
6696
+ readonly params?: typeof LibrariesListLibrariesParams.Encoded | undefined;
6673
6697
  readonly config?: Config | undefined;
6674
6698
  } | undefined) => Effect.Effect<WithOptionalResponse<typeof LibrariesListLibraries200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"LibrariesListLibraries400", typeof LibrariesListLibraries400.Type> | RegistryClientError<"LibrariesListLibraries404", typeof LibrariesListLibraries404.Type>>;
6675
6699
  /**
@@ -6698,6 +6722,26 @@ export interface RegistryClient {
6698
6722
  readonly payload: typeof LibrariesUpdateLibraryRequestJson.Encoded;
6699
6723
  readonly config?: Config | undefined;
6700
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>>;
6701
6745
  /**
6702
6746
  * Set Library visibility
6703
6747
  */
@@ -6730,70 +6774,6 @@ export interface RegistryClient {
6730
6774
  readonly LibrariesRemoveLibraryMember: <Config extends OperationConfig>(owner: string, name: string, extensionOwner: string, extensionType: string, extensionName: string, options: {
6731
6775
  readonly config?: Config | undefined;
6732
6776
  } | undefined) => Effect.Effect<WithOptionalResponse<void, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"LibrariesRemoveLibraryMember400", typeof LibrariesRemoveLibraryMember400.Type> | RegistryClientError<"LibrariesRemoveLibraryMember401", typeof LibrariesRemoveLibraryMember401.Type> | RegistryClientError<"LibrariesRemoveLibraryMember403", typeof LibrariesRemoveLibraryMember403.Type> | RegistryClientError<"LibrariesRemoveLibraryMember404", typeof LibrariesRemoveLibraryMember404.Type> | RegistryClientError<"LibrariesRemoveLibraryMember422", typeof LibrariesRemoveLibraryMember422.Type>>;
6733
- /**
6734
- * List extension collaborators
6735
- */
6736
- readonly CollaboratorsListCollaborators: <Config extends OperationConfig>(owner: string, type: string, name: string, options: {
6737
- readonly config?: Config | undefined;
6738
- } | undefined) => Effect.Effect<WithOptionalResponse<typeof CollaboratorsListCollaborators200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"CollaboratorsListCollaborators400", typeof CollaboratorsListCollaborators400.Type> | RegistryClientError<"CollaboratorsListCollaborators401", typeof CollaboratorsListCollaborators401.Type> | RegistryClientError<"CollaboratorsListCollaborators403", typeof CollaboratorsListCollaborators403.Type> | RegistryClientError<"CollaboratorsListCollaborators404", typeof CollaboratorsListCollaborators404.Type>>;
6739
- /**
6740
- * Adds or updates the collaborator identified by userId on the extension.
6741
- */
6742
- readonly CollaboratorsUpsertCollaborator: <Config extends OperationConfig>(owner: string, type: string, name: string, userId: string, options: {
6743
- readonly payload: typeof CollaboratorsUpsertCollaboratorRequestJson.Encoded;
6744
- readonly config?: Config | undefined;
6745
- }) => Effect.Effect<WithOptionalResponse<typeof CollaboratorsUpsertCollaborator200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"CollaboratorsUpsertCollaborator400", typeof CollaboratorsUpsertCollaborator400.Type> | RegistryClientError<"CollaboratorsUpsertCollaborator401", typeof CollaboratorsUpsertCollaborator401.Type> | RegistryClientError<"CollaboratorsUpsertCollaborator403", typeof CollaboratorsUpsertCollaborator403.Type> | RegistryClientError<"CollaboratorsUpsertCollaborator404", typeof CollaboratorsUpsertCollaborator404.Type>>;
6746
- /**
6747
- * Removes the collaborator identified by userId from the extension.
6748
- */
6749
- readonly CollaboratorsDeleteCollaborator: <Config extends OperationConfig>(owner: string, type: string, name: string, userId: string, options: {
6750
- readonly config?: Config | undefined;
6751
- } | undefined) => Effect.Effect<WithOptionalResponse<void, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"CollaboratorsDeleteCollaborator400", typeof CollaboratorsDeleteCollaborator400.Type> | RegistryClientError<"CollaboratorsDeleteCollaborator401", typeof CollaboratorsDeleteCollaborator401.Type> | RegistryClientError<"CollaboratorsDeleteCollaborator403", typeof CollaboratorsDeleteCollaborator403.Type> | RegistryClientError<"CollaboratorsDeleteCollaborator404", typeof CollaboratorsDeleteCollaborator404.Type> | RegistryClientError<"CollaboratorsDeleteCollaborator409", typeof CollaboratorsDeleteCollaborator409.Type>>;
6752
- /**
6753
- * List extension grants
6754
- */
6755
- readonly TeamGrantsListExtensionGrants: <Config extends OperationConfig>(owner: string, type: string, name: string, options: {
6756
- readonly config?: Config | undefined;
6757
- } | undefined) => Effect.Effect<WithOptionalResponse<typeof TeamGrantsListExtensionGrants200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"TeamGrantsListExtensionGrants400", typeof TeamGrantsListExtensionGrants400.Type> | RegistryClientError<"TeamGrantsListExtensionGrants401", typeof TeamGrantsListExtensionGrants401.Type> | RegistryClientError<"TeamGrantsListExtensionGrants403", typeof TeamGrantsListExtensionGrants403.Type> | RegistryClientError<"TeamGrantsListExtensionGrants404", typeof TeamGrantsListExtensionGrants404.Type>>;
6758
- /**
6759
- * Creates or updates a grant of a team's access to this extension. The team must belong to the same organization that owns the extension (otherwise 422). Only team admins or organization owners/admins may grant.
6760
- */
6761
- readonly TeamGrantsUpsertTeamExtensionGrant: <Config extends OperationConfig>(owner: string, type: string, name: string, options: {
6762
- readonly payload: typeof TeamGrantsUpsertTeamExtensionGrantRequestJson.Encoded;
6763
- readonly config?: Config | undefined;
6764
- }) => Effect.Effect<WithOptionalResponse<typeof TeamGrantsUpsertTeamExtensionGrant200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"TeamGrantsUpsertTeamExtensionGrant400", typeof TeamGrantsUpsertTeamExtensionGrant400.Type> | RegistryClientError<"TeamGrantsUpsertTeamExtensionGrant401", typeof TeamGrantsUpsertTeamExtensionGrant401.Type> | RegistryClientError<"TeamGrantsUpsertTeamExtensionGrant403", typeof TeamGrantsUpsertTeamExtensionGrant403.Type> | RegistryClientError<"TeamGrantsUpsertTeamExtensionGrant404", typeof TeamGrantsUpsertTeamExtensionGrant404.Type> | RegistryClientError<"TeamGrantsUpsertTeamExtensionGrant422", typeof TeamGrantsUpsertTeamExtensionGrant422.Type>>;
6765
- /**
6766
- * Adds or updates the user grant identified by userId on the extension.
6767
- */
6768
- readonly TeamGrantsUpsertUserExtensionGrant: <Config extends OperationConfig>(owner: string, type: string, name: string, userId: string, options: {
6769
- readonly payload: typeof TeamGrantsUpsertUserExtensionGrantRequestJson.Encoded;
6770
- readonly config?: Config | undefined;
6771
- }) => Effect.Effect<WithOptionalResponse<typeof TeamGrantsUpsertUserExtensionGrant200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"TeamGrantsUpsertUserExtensionGrant400", typeof TeamGrantsUpsertUserExtensionGrant400.Type> | RegistryClientError<"TeamGrantsUpsertUserExtensionGrant401", typeof TeamGrantsUpsertUserExtensionGrant401.Type> | RegistryClientError<"TeamGrantsUpsertUserExtensionGrant403", typeof TeamGrantsUpsertUserExtensionGrant403.Type> | RegistryClientError<"TeamGrantsUpsertUserExtensionGrant404", typeof TeamGrantsUpsertUserExtensionGrant404.Type>>;
6772
- /**
6773
- * Removes the user grant identified by userId from the extension.
6774
- */
6775
- readonly TeamGrantsDeleteUserExtensionGrant: <Config extends OperationConfig>(owner: string, type: string, name: string, userId: string, options: {
6776
- readonly config?: Config | undefined;
6777
- } | undefined) => Effect.Effect<WithOptionalResponse<void, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"TeamGrantsDeleteUserExtensionGrant400", typeof TeamGrantsDeleteUserExtensionGrant400.Type> | RegistryClientError<"TeamGrantsDeleteUserExtensionGrant401", typeof TeamGrantsDeleteUserExtensionGrant401.Type> | RegistryClientError<"TeamGrantsDeleteUserExtensionGrant403", typeof TeamGrantsDeleteUserExtensionGrant403.Type> | RegistryClientError<"TeamGrantsDeleteUserExtensionGrant404", typeof TeamGrantsDeleteUserExtensionGrant404.Type> | RegistryClientError<"TeamGrantsDeleteUserExtensionGrant409", typeof TeamGrantsDeleteUserExtensionGrant409.Type>>;
6778
- /**
6779
- * Adds or updates the team grant identified by teamId on the extension.
6780
- */
6781
- readonly TeamGrantsUpsertTeamExtensionGrantById: <Config extends OperationConfig>(owner: string, type: string, name: string, teamId: string, options: {
6782
- readonly payload: typeof TeamGrantsUpsertTeamExtensionGrantByIdRequestJson.Encoded;
6783
- readonly config?: Config | undefined;
6784
- }) => Effect.Effect<WithOptionalResponse<typeof TeamGrantsUpsertTeamExtensionGrantById200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"TeamGrantsUpsertTeamExtensionGrantById400", typeof TeamGrantsUpsertTeamExtensionGrantById400.Type> | RegistryClientError<"TeamGrantsUpsertTeamExtensionGrantById401", typeof TeamGrantsUpsertTeamExtensionGrantById401.Type> | RegistryClientError<"TeamGrantsUpsertTeamExtensionGrantById403", typeof TeamGrantsUpsertTeamExtensionGrantById403.Type> | RegistryClientError<"TeamGrantsUpsertTeamExtensionGrantById404", typeof TeamGrantsUpsertTeamExtensionGrantById404.Type> | RegistryClientError<"TeamGrantsUpsertTeamExtensionGrantById422", typeof TeamGrantsUpsertTeamExtensionGrantById422.Type>>;
6785
- /**
6786
- * Removes the team grant identified by teamId from the extension.
6787
- */
6788
- readonly TeamGrantsDeleteTeamExtensionGrantById: <Config extends OperationConfig>(owner: string, type: string, name: string, teamId: string, options: {
6789
- readonly config?: Config | undefined;
6790
- } | undefined) => Effect.Effect<WithOptionalResponse<void, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"TeamGrantsDeleteTeamExtensionGrantById400", typeof TeamGrantsDeleteTeamExtensionGrantById400.Type> | RegistryClientError<"TeamGrantsDeleteTeamExtensionGrantById401", typeof TeamGrantsDeleteTeamExtensionGrantById401.Type> | RegistryClientError<"TeamGrantsDeleteTeamExtensionGrantById403", typeof TeamGrantsDeleteTeamExtensionGrantById403.Type> | RegistryClientError<"TeamGrantsDeleteTeamExtensionGrantById404", typeof TeamGrantsDeleteTeamExtensionGrantById404.Type>>;
6791
- /**
6792
- * Removes a team's grant on this extension. Idempotent — deleting a non-existent grant still returns 204.
6793
- */
6794
- readonly TeamGrantsDeleteTeamExtensionGrant: <Config extends OperationConfig>(owner: string, type: string, name: string, teamId: string, options: {
6795
- readonly config?: Config | undefined;
6796
- } | undefined) => Effect.Effect<WithOptionalResponse<void, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"TeamGrantsDeleteTeamExtensionGrant400", typeof TeamGrantsDeleteTeamExtensionGrant400.Type> | RegistryClientError<"TeamGrantsDeleteTeamExtensionGrant401", typeof TeamGrantsDeleteTeamExtensionGrant401.Type> | RegistryClientError<"TeamGrantsDeleteTeamExtensionGrant403", typeof TeamGrantsDeleteTeamExtensionGrant403.Type> | RegistryClientError<"TeamGrantsDeleteTeamExtensionGrant404", typeof TeamGrantsDeleteTeamExtensionGrant404.Type>>;
6797
6777
  /**
6798
6778
  * Returns the apex maintainer for an extension, or none when org-owner fallback is active.
6799
6779
  */
@@ -6841,7 +6821,7 @@ export interface RegistryClient {
6841
6821
  readonly config?: Config | undefined;
6842
6822
  } | undefined) => Effect.Effect<WithOptionalResponse<typeof HealthGetObservabilityVerification200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"HealthGetObservabilityVerification400", typeof HealthGetObservabilityVerification400.Type>>;
6843
6823
  /**
6844
- * 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.
6845
6825
  */
6846
6826
  readonly SearchSearchExtensions: <Config extends OperationConfig>(options: {
6847
6827
  readonly params: typeof SearchSearchExtensionsParams.Encoded;