@typeship-ax/mcp 0.20.0 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/AGENTS.md +1 -1
  2. package/README.md +1 -1
  3. package/api.json +173 -141
  4. package/api.md +174 -142
  5. package/dist/index.d.ts +2 -2
  6. package/dist/index.js +3 -3
  7. package/dist/mcp.js +1 -1
  8. package/dist/ops.js +22 -22
  9. package/dist/resources/api-keys.d.ts +6 -5
  10. package/dist/resources/api-keys.d.ts.map +1 -1
  11. package/dist/resources/deliveries.d.ts +7 -6
  12. package/dist/resources/deliveries.d.ts.map +1 -1
  13. package/dist/resources/deliveries.js +1 -1
  14. package/dist/resources/drafts.d.ts +12 -10
  15. package/dist/resources/drafts.d.ts.map +1 -1
  16. package/dist/resources/generations.d.ts +12 -10
  17. package/dist/resources/generations.d.ts.map +1 -1
  18. package/dist/resources/projects.d.ts +14 -13
  19. package/dist/resources/projects.d.ts.map +1 -1
  20. package/dist/resources/projects.js +8 -8
  21. package/dist/resources/publications.d.ts +7 -6
  22. package/dist/resources/publications.d.ts.map +1 -1
  23. package/dist/resources/publications.js +1 -1
  24. package/dist/resources/releases.d.ts +8 -6
  25. package/dist/resources/releases.d.ts.map +1 -1
  26. package/dist/resources/releases.js +2 -1
  27. package/dist/resources/spec-revisions.d.ts +12 -10
  28. package/dist/resources/spec-revisions.d.ts.map +1 -1
  29. package/dist/resources/specs.d.ts +2 -1
  30. package/dist/resources/specs.d.ts.map +1 -1
  31. package/dist/resources/specs.js +2 -1
  32. package/dist/resources/targets.d.ts +9 -8
  33. package/dist/resources/targets.d.ts.map +1 -1
  34. package/dist/resources/targets.js +3 -3
  35. package/dist/types.d.ts +41 -28
  36. package/dist/types.d.ts.map +1 -1
  37. package/dist/types.js +40 -27
  38. package/package.json +1 -1
  39. package/server.json +2 -2
  40. package/src/index.ts +3 -3
  41. package/src/mcp.ts +1 -1
  42. package/src/ops.ts +22 -22
  43. package/src/resources/api-keys.ts +6 -5
  44. package/src/resources/deliveries.ts +7 -6
  45. package/src/resources/drafts.ts +12 -10
  46. package/src/resources/generations.ts +12 -10
  47. package/src/resources/projects.ts +14 -13
  48. package/src/resources/publications.ts +7 -6
  49. package/src/resources/releases.ts +8 -6
  50. package/src/resources/spec-revisions.ts +12 -10
  51. package/src/resources/specs.ts +2 -1
  52. package/src/resources/targets.ts +9 -8
  53. package/src/types.ts +41 -28
package/api.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # typeship — MCP reference
2
2
 
3
- API version 1.0.0. Package version 0.20.0. Generated by typeship.
3
+ API version 1.0.0. Package version 0.21.0. Generated by typeship.
4
4
 
5
5
  This package exposes `search_docs`, `read_docs`, and `execute`. Find an operation, read its input schema, then pass its name and arguments to `execute`. The operation names below are not directly callable tools in this mode. Destructive operations require `confirm: true`.
6
6
 
@@ -132,7 +132,7 @@ Input schema:
132
132
  "type": "string"
133
133
  },
134
134
  "spec_digest": {
135
- "description": "SHA-256 hex digest of the Spec the SDK was generated from. Must match the resolved Spec, or the request fails with spec_error.",
135
+ "description": "SHA-256 hex digest of the Spec the SDK was generated from. Must match the resolved Spec, or the request fails with spec_invalid.",
136
136
  "pattern": "^[a-f0-9]{64}$",
137
137
  "type": "string"
138
138
  },
@@ -1073,14 +1073,14 @@ Input schema:
1073
1073
  "minimum": 1,
1074
1074
  "maximum": 100,
1075
1075
  "type": "integer",
1076
- "description": "Maximum number of resources to return. Omit for 20; otherwise supply base-10 digits representing an integer from 1 to 100. Empty, malformed, or out-of-range values return 400 invalid_request. List query parameters must appear only once; unrecognized parameters also return 400. Default: 20."
1076
+ "description": "Maximum number of resources to return. Omit for 20; otherwise supply base-10 digits representing an integer from 1 to 100. Empty, malformed, or out-of-range values return 400 input_invalid. List query parameters must appear only once; repeated or unrecognized parameters return 400 query_param_invalid. Default: 20."
1077
1077
  },
1078
1078
  "cursor": {
1079
1079
  "minLength": 1,
1080
1080
  "maxLength": 2048,
1081
1081
  "pattern": "^[A-Za-z0-9_-]+$",
1082
1082
  "type": "string",
1083
- "description": "Opaque cursor from the preceding page's next_cursor. Valid only for the same organization, operation, filters, and ordering that issued it. Omit to start at the first page. Empty, malformed, or repeated cursors return 400 invalid_request. The page limit may change between requests."
1083
+ "description": "Opaque cursor from the preceding page's next_cursor. Valid only for the same organization, operation, filters, and ordering that issued it. Omit to start at the first page. Empty or malformed cursors, and cursors issued for different filters, return 400 cursor_invalid; start again from the first page. Repeated cursors return 400 query_param_invalid. The page limit may change between requests."
1084
1084
  },
1085
1085
  "fields": {
1086
1086
  "type": "array",
@@ -2380,7 +2380,7 @@ Delete a project
2380
2380
 
2381
2381
  Safety: **destructive** · Authentication: **required**
2382
2382
 
2383
- A `502` response means the Project was not deleted because its release pull requests could not be retired. Retry deletion to finish retiring the remaining reviews. Repeating a completed deletion returns `404`.
2383
+ A `502 repository_unavailable` means the Project was not deleted because its release pull requests could not be retired. Retry deletion to finish retiring the remaining reviews. Repeating a completed deletion returns `404`.
2384
2384
  See [conditional writes](https://typeship.dev/docs/typeship-api#conditional-writes) for ETag and If-Match.
2385
2385
 
2386
2386
  Input schema:
@@ -2479,7 +2479,7 @@ With auto_generate enabled, changing shared config queues a Generation for each
2479
2479
  Omitting If-Match applies the update to the current resource; with If-Match, a stale ETag returns 412 precondition_failed without saving.
2480
2480
 
2481
2481
  A `409 target_busy` means a Target is publishing. Retrieve the Project, wait for publishing to finish, reconcile your update, and retry.
2482
- A `502` response means the Project was saved, but an obsolete release pull request could not be retired. Retrieve the Project and retry the same update to finish retiring reviews if that update is still desired.
2482
+ A `502 follow_up_failed` means the Project was saved, but an obsolete release pull request could not be retired. Retrieve the Project and retry the same update to finish retiring reviews if that update is still desired.
2483
2483
  See [conditional writes](https://typeship.dev/docs/typeship-api#conditional-writes) for ETag and If-Match.
2484
2484
 
2485
2485
  Input schema:
@@ -3019,7 +3019,7 @@ Start generation for active Targets
3019
3019
 
3020
3020
  Safety: **write** · Authentication: **required**
3021
3021
 
3022
- Queues one Generation per active Target and returns their IDs. Retrieve each Generation until its status moves from `queued` to `running` and then `completed` or `failed`. `completed` means generated files are saved; check Delivery and Draft status separately for repository delivery and pull requests. A Target already queued or running is returned without starting another Generation. A matching Idempotency-Key replay returns the same Generations with their current statuses.
3022
+ Queues one Generation per active Target and returns their IDs. Retrieve each Generation until its status moves from `queued` to `running` and then `completed` or `failed`. `completed` means generated files are saved; check Delivery and Draft status separately for repository delivery and pull requests. A Target already queued or running is returned without starting another Generation. A `409 targets_inactive` means the Project has no active Target to generate. A matching Idempotency-Key replay returns the same Generations with their current statuses.
3023
3023
 
3024
3024
  If the package already matches a destination and no Draft is open, delivery creates no commit, branch, or pull request. An existing Draft stays open. Automatic generation uses the same workflow.
3025
3025
 
@@ -4242,7 +4242,7 @@ Refresh a Spec from its configured source
4242
4242
 
4243
4243
  Safety: **write** · Authentication: **required**
4244
4244
 
4245
- Fetches the configured source now and creates a new Spec Revision only when its content changes. Diagnostics then reads that revision. If automatic generation is enabled, refresh queues generation for active Targets even when the source is unchanged.
4245
+ Fetches the configured source now and creates a new Spec Revision only when its content changes. Diagnostics then reads that revision. If automatic generation is enabled, refresh queues generation for active Targets even when the source is unchanged. A `502 follow_up_failed` means the new Spec Revision was recorded but generation could not be queued.
4246
4246
 
4247
4247
  Input schema:
4248
4248
 
@@ -4604,14 +4604,14 @@ Input schema:
4604
4604
  "minimum": 1,
4605
4605
  "maximum": 100,
4606
4606
  "type": "integer",
4607
- "description": "Maximum number of resources to return. Omit for 20; otherwise supply base-10 digits representing an integer from 1 to 100. Empty, malformed, or out-of-range values return 400 invalid_request. List query parameters must appear only once; unrecognized parameters also return 400. Default: 20."
4607
+ "description": "Maximum number of resources to return. Omit for 20; otherwise supply base-10 digits representing an integer from 1 to 100. Empty, malformed, or out-of-range values return 400 input_invalid. List query parameters must appear only once; repeated or unrecognized parameters return 400 query_param_invalid. Default: 20."
4608
4608
  },
4609
4609
  "cursor": {
4610
4610
  "minLength": 1,
4611
4611
  "maxLength": 2048,
4612
4612
  "pattern": "^[A-Za-z0-9_-]+$",
4613
4613
  "type": "string",
4614
- "description": "Opaque cursor from the preceding page's next_cursor. Valid only for the same organization, operation, filters, and ordering that issued it. Omit to start at the first page. Empty, malformed, or repeated cursors return 400 invalid_request. The page limit may change between requests."
4614
+ "description": "Opaque cursor from the preceding page's next_cursor. Valid only for the same organization, operation, filters, and ordering that issued it. Omit to start at the first page. Empty or malformed cursors, and cursors issued for different filters, return 400 cursor_invalid; start again from the first page. Repeated cursors return 400 query_param_invalid. The page limit may change between requests."
4615
4615
  },
4616
4616
  "spec_id": {
4617
4617
  "description": "Unique identifier for a project's logical API Spec.",
@@ -5291,14 +5291,14 @@ Input schema:
5291
5291
  "minimum": 1,
5292
5292
  "maximum": 100,
5293
5293
  "type": "integer",
5294
- "description": "Maximum number of resources to return. Omit for 20; otherwise supply base-10 digits representing an integer from 1 to 100. Empty, malformed, or out-of-range values return 400 invalid_request. List query parameters must appear only once; unrecognized parameters also return 400. Default: 20."
5294
+ "description": "Maximum number of resources to return. Omit for 20; otherwise supply base-10 digits representing an integer from 1 to 100. Empty, malformed, or out-of-range values return 400 input_invalid. List query parameters must appear only once; repeated or unrecognized parameters return 400 query_param_invalid. Default: 20."
5295
5295
  },
5296
5296
  "cursor": {
5297
5297
  "minLength": 1,
5298
5298
  "maxLength": 2048,
5299
5299
  "pattern": "^[A-Za-z0-9_-]+$",
5300
5300
  "type": "string",
5301
- "description": "Opaque cursor from the preceding page's next_cursor. Valid only for the same organization, operation, filters, and ordering that issued it. Omit to start at the first page. Empty, malformed, or repeated cursors return 400 invalid_request. The page limit may change between requests."
5301
+ "description": "Opaque cursor from the preceding page's next_cursor. Valid only for the same organization, operation, filters, and ordering that issued it. Omit to start at the first page. Empty or malformed cursors, and cursors issued for different filters, return 400 cursor_invalid; start again from the first page. Repeated cursors return 400 query_param_invalid. The page limit may change between requests."
5302
5302
  },
5303
5303
  "fields": {
5304
5304
  "type": "array",
@@ -5447,14 +5447,14 @@ Input schema:
5447
5447
  "minimum": 1,
5448
5448
  "maximum": 100,
5449
5449
  "type": "integer",
5450
- "description": "Maximum number of resources to return. Omit for 20; otherwise supply base-10 digits representing an integer from 1 to 100. Empty, malformed, or out-of-range values return 400 invalid_request. List query parameters must appear only once; unrecognized parameters also return 400. Default: 20."
5450
+ "description": "Maximum number of resources to return. Omit for 20; otherwise supply base-10 digits representing an integer from 1 to 100. Empty, malformed, or out-of-range values return 400 input_invalid. List query parameters must appear only once; repeated or unrecognized parameters return 400 query_param_invalid. Default: 20."
5451
5451
  },
5452
5452
  "cursor": {
5453
5453
  "minLength": 1,
5454
5454
  "maxLength": 2048,
5455
5455
  "pattern": "^[A-Za-z0-9_-]+$",
5456
5456
  "type": "string",
5457
- "description": "Opaque cursor from the preceding page's next_cursor. Valid only for the same organization, operation, filters, and ordering that issued it. Omit to start at the first page. Empty, malformed, or repeated cursors return 400 invalid_request. The page limit may change between requests."
5457
+ "description": "Opaque cursor from the preceding page's next_cursor. Valid only for the same organization, operation, filters, and ordering that issued it. Omit to start at the first page. Empty or malformed cursors, and cursors issued for different filters, return 400 cursor_invalid; start again from the first page. Repeated cursors return 400 query_param_invalid. The page limit may change between requests."
5458
5458
  },
5459
5459
  "project_id": {
5460
5460
  "description": "Unique identifier for a project. Accepts an ID or an exact name (resolved via projects_list). IDs come from projects_list.",
@@ -6992,7 +6992,7 @@ Omitting If-Match applies the update to the current resource; with If-Match, a s
6992
6992
  Select the next version through PATCH /drafts/{draft_id} on the Target's draft_id.
6993
6993
 
6994
6994
  A `409 target_busy` means the Target is publishing; wait for it to finish. A `409 delivery_conflict` means another Target owns the requested repository tree; retrieve both Targets, choose a free destination, and retry.
6995
- A `502` response means the update was saved, but retiring an obsolete review or regenerating the Target failed. Retrieve the Target and follow the error's retryable and suggested_action fields.
6995
+ A `502 follow_up_failed` means the update was saved, but retiring an obsolete review or regenerating the Target failed. Retrieve the Target and follow the error's retryable and suggested_action fields.
6996
6996
  See [conditional writes](https://typeship.dev/docs/typeship-api#conditional-writes) for ETag and If-Match.
6997
6997
 
6998
6998
  Input schema:
@@ -8202,14 +8202,14 @@ Input schema:
8202
8202
  "minimum": 1,
8203
8203
  "maximum": 100,
8204
8204
  "type": "integer",
8205
- "description": "Maximum number of resources to return. Omit for 20; otherwise supply base-10 digits representing an integer from 1 to 100. Empty, malformed, or out-of-range values return 400 invalid_request. List query parameters must appear only once; unrecognized parameters also return 400. Default: 20."
8205
+ "description": "Maximum number of resources to return. Omit for 20; otherwise supply base-10 digits representing an integer from 1 to 100. Empty, malformed, or out-of-range values return 400 input_invalid. List query parameters must appear only once; repeated or unrecognized parameters return 400 query_param_invalid. Default: 20."
8206
8206
  },
8207
8207
  "cursor": {
8208
8208
  "minLength": 1,
8209
8209
  "maxLength": 2048,
8210
8210
  "pattern": "^[A-Za-z0-9_-]+$",
8211
8211
  "type": "string",
8212
- "description": "Opaque cursor from the preceding page's next_cursor. Valid only for the same organization, operation, filters, and ordering that issued it. Omit to start at the first page. Empty, malformed, or repeated cursors return 400 invalid_request. The page limit may change between requests."
8212
+ "description": "Opaque cursor from the preceding page's next_cursor. Valid only for the same organization, operation, filters, and ordering that issued it. Omit to start at the first page. Empty or malformed cursors, and cursors issued for different filters, return 400 cursor_invalid; start again from the first page. Repeated cursors return 400 query_param_invalid. The page limit may change between requests."
8213
8213
  },
8214
8214
  "target_id": {
8215
8215
  "description": "Stable identifier for one configured generated product. Accepts an ID or an exact name (resolved via targets_list). IDs come from targets_list.",
@@ -9572,14 +9572,14 @@ Input schema:
9572
9572
  "minimum": 1,
9573
9573
  "maximum": 100,
9574
9574
  "type": "integer",
9575
- "description": "Maximum number of resources to return. Omit for 20; otherwise supply base-10 digits representing an integer from 1 to 100. Empty, malformed, or out-of-range values return 400 invalid_request. List query parameters must appear only once; unrecognized parameters also return 400. Default: 20."
9575
+ "description": "Maximum number of resources to return. Omit for 20; otherwise supply base-10 digits representing an integer from 1 to 100. Empty, malformed, or out-of-range values return 400 input_invalid. List query parameters must appear only once; repeated or unrecognized parameters return 400 query_param_invalid. Default: 20."
9576
9576
  },
9577
9577
  "cursor": {
9578
9578
  "minLength": 1,
9579
9579
  "maxLength": 2048,
9580
9580
  "pattern": "^[A-Za-z0-9_-]+$",
9581
9581
  "type": "string",
9582
- "description": "Opaque cursor from the preceding page's next_cursor. Valid only for the same organization, operation, filters, and ordering that issued it. Omit to start at the first page. Empty, malformed, or repeated cursors return 400 invalid_request. The page limit may change between requests."
9582
+ "description": "Opaque cursor from the preceding page's next_cursor. Valid only for the same organization, operation, filters, and ordering that issued it. Omit to start at the first page. Empty or malformed cursors, and cursors issued for different filters, return 400 cursor_invalid; start again from the first page. Repeated cursors return 400 query_param_invalid. The page limit may change between requests."
9583
9583
  },
9584
9584
  "fields": {
9585
9585
  "type": "array",
@@ -10849,14 +10849,14 @@ Input schema:
10849
10849
  "minimum": 1,
10850
10850
  "maximum": 100,
10851
10851
  "type": "integer",
10852
- "description": "Maximum number of resources to return. Omit for 20; otherwise supply base-10 digits representing an integer from 1 to 100. Empty, malformed, or out-of-range values return 400 invalid_request. List query parameters must appear only once; unrecognized parameters also return 400. Default: 20."
10852
+ "description": "Maximum number of resources to return. Omit for 20; otherwise supply base-10 digits representing an integer from 1 to 100. Empty, malformed, or out-of-range values return 400 input_invalid. List query parameters must appear only once; repeated or unrecognized parameters return 400 query_param_invalid. Default: 20."
10853
10853
  },
10854
10854
  "cursor": {
10855
10855
  "minLength": 1,
10856
10856
  "maxLength": 2048,
10857
10857
  "pattern": "^[A-Za-z0-9_-]+$",
10858
10858
  "type": "string",
10859
- "description": "Opaque cursor from the preceding page's next_cursor. Valid only for the same organization, operation, filters, and ordering that issued it. Omit to start at the first page. Empty, malformed, or repeated cursors return 400 invalid_request. The page limit may change between requests."
10859
+ "description": "Opaque cursor from the preceding page's next_cursor. Valid only for the same organization, operation, filters, and ordering that issued it. Omit to start at the first page. Empty or malformed cursors, and cursors issued for different filters, return 400 cursor_invalid; start again from the first page. Repeated cursors return 400 query_param_invalid. The page limit may change between requests."
10860
10860
  },
10861
10861
  "target_id": {
10862
10862
  "description": "Stable identifier for one configured generated product. Accepts an ID or an exact name (resolved via targets_list). IDs come from targets_list.",
@@ -11659,7 +11659,7 @@ Safety: **write** · Authentication: **required**
11659
11659
 
11660
11660
  Retries publishing the specified release through its repository workflow. Uses that release's version and accepted commit, even if a newer Draft or release exists.
11661
11661
 
11662
- A `502` response means the repository publishing workflow could not be dispatched.
11662
+ A `502 repository_unavailable` means the repository publishing workflow could not be dispatched, and nothing was changed.
11663
11663
 
11664
11664
  Input schema:
11665
11665
 
@@ -12075,14 +12075,14 @@ Input schema:
12075
12075
  "minimum": 1,
12076
12076
  "maximum": 100,
12077
12077
  "type": "integer",
12078
- "description": "Maximum number of resources to return. Omit for 20; otherwise supply base-10 digits representing an integer from 1 to 100. Empty, malformed, or out-of-range values return 400 invalid_request. List query parameters must appear only once; unrecognized parameters also return 400. Default: 20."
12078
+ "description": "Maximum number of resources to return. Omit for 20; otherwise supply base-10 digits representing an integer from 1 to 100. Empty, malformed, or out-of-range values return 400 input_invalid. List query parameters must appear only once; repeated or unrecognized parameters return 400 query_param_invalid. Default: 20."
12079
12079
  },
12080
12080
  "cursor": {
12081
12081
  "minLength": 1,
12082
12082
  "maxLength": 2048,
12083
12083
  "pattern": "^[A-Za-z0-9_-]+$",
12084
12084
  "type": "string",
12085
- "description": "Opaque cursor from the preceding page's next_cursor. Valid only for the same organization, operation, filters, and ordering that issued it. Omit to start at the first page. Empty, malformed, or repeated cursors return 400 invalid_request. The page limit may change between requests."
12085
+ "description": "Opaque cursor from the preceding page's next_cursor. Valid only for the same organization, operation, filters, and ordering that issued it. Omit to start at the first page. Empty or malformed cursors, and cursors issued for different filters, return 400 cursor_invalid; start again from the first page. Repeated cursors return 400 query_param_invalid. The page limit may change between requests."
12086
12086
  },
12087
12087
  "target_id": {
12088
12088
  "description": "Stable identifier for one configured generated product. Accepts an ID or an exact name (resolved via targets_list). IDs come from targets_list.",
@@ -12323,7 +12323,7 @@ Get a Delivery
12323
12323
 
12324
12324
  Safety: **read** · Authentication: **required**
12325
12325
 
12326
- Returns the configured repository or hosted MCP Delivery for a Target. A Delivery in another organization returns 404 not_found.
12326
+ Returns the configured repository or hosted MCP Delivery for a Target. A Delivery in another organization returns 404 resource_not_found.
12327
12327
 
12328
12328
  Input schema:
12329
12329
 
@@ -12563,14 +12563,14 @@ Input schema:
12563
12563
  "minimum": 1,
12564
12564
  "maximum": 100,
12565
12565
  "type": "integer",
12566
- "description": "Maximum number of resources to return. Omit for 20; otherwise supply base-10 digits representing an integer from 1 to 100. Empty, malformed, or out-of-range values return 400 invalid_request. List query parameters must appear only once; unrecognized parameters also return 400. Default: 20."
12566
+ "description": "Maximum number of resources to return. Omit for 20; otherwise supply base-10 digits representing an integer from 1 to 100. Empty, malformed, or out-of-range values return 400 input_invalid. List query parameters must appear only once; repeated or unrecognized parameters return 400 query_param_invalid. Default: 20."
12567
12567
  },
12568
12568
  "cursor": {
12569
12569
  "minLength": 1,
12570
12570
  "maxLength": 2048,
12571
12571
  "pattern": "^[A-Za-z0-9_-]+$",
12572
12572
  "type": "string",
12573
- "description": "Opaque cursor from the preceding page's next_cursor. Valid only for the same organization, operation, filters, and ordering that issued it. Omit to start at the first page. Empty, malformed, or repeated cursors return 400 invalid_request. The page limit may change between requests."
12573
+ "description": "Opaque cursor from the preceding page's next_cursor. Valid only for the same organization, operation, filters, and ordering that issued it. Omit to start at the first page. Empty or malformed cursors, and cursors issued for different filters, return 400 cursor_invalid; start again from the first page. Repeated cursors return 400 query_param_invalid. The page limit may change between requests."
12574
12574
  },
12575
12575
  "release_id": {
12576
12576
  "examples": [
@@ -12681,36 +12681,48 @@ Output schema:
12681
12681
  "properties": {
12682
12682
  "type": {
12683
12683
  "enum": [
12684
- "request_error",
12685
- "authentication_error",
12686
- "authorization_error",
12687
- "plan_error",
12688
- "source_error",
12689
- "rate_limit_error",
12690
- "api_error"
12684
+ "request",
12685
+ "auth",
12686
+ "idempotency",
12687
+ "rate_limit",
12688
+ "organization",
12689
+ "source",
12690
+ "api"
12691
12691
  ],
12692
- "description": "Stable category for deciding how to handle the error.",
12692
+ "description": "Who can resolve the error. request: change the request. auth: fix the credential or its grant. idempotency: change or wait on the Idempotency-Key. rate_limit: wait before retrying. organization: the organization's plan must change. source: a system you own failed, such as the Spec URL, repository, or package registry. api: Typeship failed.",
12693
12693
  "type": "string"
12694
12694
  },
12695
12695
  "code": {
12696
12696
  "enum": [
12697
- "invalid_request",
12697
+ "input_invalid",
12698
+ "query_param_invalid",
12699
+ "cursor_invalid",
12700
+ "method_not_allowed",
12701
+ "resource_not_found",
12702
+ "idempotency_key_invalid",
12698
12703
  "idempotency_key_reused",
12699
- "unauthorized",
12704
+ "idempotency_key_in_use",
12705
+ "auth_required",
12706
+ "api_key_invalid",
12707
+ "token_invalid",
12700
12708
  "organization_required",
12701
12709
  "insufficient_scope",
12702
- "forbidden",
12703
- "not_found",
12704
- "method_not_allowed",
12705
- "spec_error",
12706
- "fetch_error",
12710
+ "role_insufficient",
12711
+ "rate_limit_exceeded",
12712
+ "plan_limit_reached",
12713
+ "spec_invalid",
12714
+ "spec_too_large",
12715
+ "spec_unreachable",
12707
12716
  "repository_provider_unsupported",
12717
+ "repository_disconnected",
12718
+ "repository_unavailable",
12708
12719
  "target_busy",
12720
+ "targets_inactive",
12709
12721
  "no_draft",
12710
12722
  "draft_merged",
12711
12723
  "resource_changed",
12712
- "invalid_version",
12713
12724
  "precondition_failed",
12725
+ "version_invalid",
12714
12726
  "version_occupied",
12715
12727
  "version_too_low",
12716
12728
  "target_already_released",
@@ -12718,15 +12730,12 @@ Output schema:
12718
12730
  "publication_disabled",
12719
12731
  "publication_not_retryable",
12720
12732
  "publication_recovery_unavailable",
12721
- "publication_dispatch_failed",
12722
- "repository_disconnected",
12723
- "regeneration_failed",
12733
+ "publication_failed",
12724
12734
  "delivery_conflict",
12725
12735
  "resource_has_dependencies",
12726
- "plan_limit_reached",
12727
- "payload_too_large",
12728
- "rate_limited",
12729
- "internal_error",
12736
+ "customization_conflict",
12737
+ "history_recovery_required",
12738
+ "checks_unavailable",
12730
12739
  "dependency_missing",
12731
12740
  "dependency_not_found",
12732
12741
  "dependency_self",
@@ -12738,10 +12747,9 @@ Output schema:
12738
12747
  "dependency_module_path_missing",
12739
12748
  "dependency_unreleased",
12740
12749
  "dependency_revision_mismatch",
12741
- "publication_failed",
12742
- "customization_conflict",
12743
- "history_recovery_required",
12744
- "checks_unavailable"
12750
+ "regeneration_failed",
12751
+ "follow_up_failed",
12752
+ "api_error"
12745
12753
  ],
12746
12754
  "description": "Stable programmatic identifier. Do not branch on message.",
12747
12755
  "type": "string"
@@ -12861,7 +12869,7 @@ Get publishing status
12861
12869
 
12862
12870
  Safety: **read** · Authentication: **required**
12863
12871
 
12864
- Returns the registry publishing status for a release. A status in another organization returns 404 not_found.
12872
+ Returns the registry publishing status for a release. A status in another organization returns 404 resource_not_found.
12865
12873
 
12866
12874
  Input schema:
12867
12875
 
@@ -12977,36 +12985,48 @@ Output schema:
12977
12985
  "properties": {
12978
12986
  "type": {
12979
12987
  "enum": [
12980
- "request_error",
12981
- "authentication_error",
12982
- "authorization_error",
12983
- "plan_error",
12984
- "source_error",
12985
- "rate_limit_error",
12986
- "api_error"
12988
+ "request",
12989
+ "auth",
12990
+ "idempotency",
12991
+ "rate_limit",
12992
+ "organization",
12993
+ "source",
12994
+ "api"
12987
12995
  ],
12988
- "description": "Stable category for deciding how to handle the error.",
12996
+ "description": "Who can resolve the error. request: change the request. auth: fix the credential or its grant. idempotency: change or wait on the Idempotency-Key. rate_limit: wait before retrying. organization: the organization's plan must change. source: a system you own failed, such as the Spec URL, repository, or package registry. api: Typeship failed.",
12989
12997
  "type": "string"
12990
12998
  },
12991
12999
  "code": {
12992
13000
  "enum": [
12993
- "invalid_request",
13001
+ "input_invalid",
13002
+ "query_param_invalid",
13003
+ "cursor_invalid",
13004
+ "method_not_allowed",
13005
+ "resource_not_found",
13006
+ "idempotency_key_invalid",
12994
13007
  "idempotency_key_reused",
12995
- "unauthorized",
13008
+ "idempotency_key_in_use",
13009
+ "auth_required",
13010
+ "api_key_invalid",
13011
+ "token_invalid",
12996
13012
  "organization_required",
12997
13013
  "insufficient_scope",
12998
- "forbidden",
12999
- "not_found",
13000
- "method_not_allowed",
13001
- "spec_error",
13002
- "fetch_error",
13014
+ "role_insufficient",
13015
+ "rate_limit_exceeded",
13016
+ "plan_limit_reached",
13017
+ "spec_invalid",
13018
+ "spec_too_large",
13019
+ "spec_unreachable",
13003
13020
  "repository_provider_unsupported",
13021
+ "repository_disconnected",
13022
+ "repository_unavailable",
13004
13023
  "target_busy",
13024
+ "targets_inactive",
13005
13025
  "no_draft",
13006
13026
  "draft_merged",
13007
13027
  "resource_changed",
13008
- "invalid_version",
13009
13028
  "precondition_failed",
13029
+ "version_invalid",
13010
13030
  "version_occupied",
13011
13031
  "version_too_low",
13012
13032
  "target_already_released",
@@ -13014,15 +13034,12 @@ Output schema:
13014
13034
  "publication_disabled",
13015
13035
  "publication_not_retryable",
13016
13036
  "publication_recovery_unavailable",
13017
- "publication_dispatch_failed",
13018
- "repository_disconnected",
13019
- "regeneration_failed",
13037
+ "publication_failed",
13020
13038
  "delivery_conflict",
13021
13039
  "resource_has_dependencies",
13022
- "plan_limit_reached",
13023
- "payload_too_large",
13024
- "rate_limited",
13025
- "internal_error",
13040
+ "customization_conflict",
13041
+ "history_recovery_required",
13042
+ "checks_unavailable",
13026
13043
  "dependency_missing",
13027
13044
  "dependency_not_found",
13028
13045
  "dependency_self",
@@ -13034,10 +13051,9 @@ Output schema:
13034
13051
  "dependency_module_path_missing",
13035
13052
  "dependency_unreleased",
13036
13053
  "dependency_revision_mismatch",
13037
- "publication_failed",
13038
- "customization_conflict",
13039
- "history_recovery_required",
13040
- "checks_unavailable"
13054
+ "regeneration_failed",
13055
+ "follow_up_failed",
13056
+ "api_error"
13041
13057
  ],
13042
13058
  "description": "Stable programmatic identifier. Do not branch on message.",
13043
13059
  "type": "string"
@@ -13159,14 +13175,14 @@ Input schema:
13159
13175
  "minimum": 1,
13160
13176
  "maximum": 100,
13161
13177
  "type": "integer",
13162
- "description": "Maximum number of resources to return. Omit for 20; otherwise supply base-10 digits representing an integer from 1 to 100. Empty, malformed, or out-of-range values return 400 invalid_request. List query parameters must appear only once; unrecognized parameters also return 400. Default: 20."
13178
+ "description": "Maximum number of resources to return. Omit for 20; otherwise supply base-10 digits representing an integer from 1 to 100. Empty, malformed, or out-of-range values return 400 input_invalid. List query parameters must appear only once; repeated or unrecognized parameters return 400 query_param_invalid. Default: 20."
13163
13179
  },
13164
13180
  "cursor": {
13165
13181
  "minLength": 1,
13166
13182
  "maxLength": 2048,
13167
13183
  "pattern": "^[A-Za-z0-9_-]+$",
13168
13184
  "type": "string",
13169
- "description": "Opaque cursor from the preceding page's next_cursor. Valid only for the same organization, operation, filters, and ordering that issued it. Omit to start at the first page. Empty, malformed, or repeated cursors return 400 invalid_request. The page limit may change between requests."
13185
+ "description": "Opaque cursor from the preceding page's next_cursor. Valid only for the same organization, operation, filters, and ordering that issued it. Omit to start at the first page. Empty or malformed cursors, and cursors issued for different filters, return 400 cursor_invalid; start again from the first page. Repeated cursors return 400 query_param_invalid. The page limit may change between requests."
13170
13186
  },
13171
13187
  "project_id": {
13172
13188
  "description": "Unique identifier for a project. Accepts an ID or an exact name (resolved via projects_list). IDs come from projects_list.",
@@ -13400,36 +13416,48 @@ Output schema:
13400
13416
  "properties": {
13401
13417
  "type": {
13402
13418
  "enum": [
13403
- "request_error",
13404
- "authentication_error",
13405
- "authorization_error",
13406
- "plan_error",
13407
- "source_error",
13408
- "rate_limit_error",
13409
- "api_error"
13419
+ "request",
13420
+ "auth",
13421
+ "idempotency",
13422
+ "rate_limit",
13423
+ "organization",
13424
+ "source",
13425
+ "api"
13410
13426
  ],
13411
- "description": "Stable category for deciding how to handle the error.",
13427
+ "description": "Who can resolve the error.",
13412
13428
  "type": "string"
13413
13429
  },
13414
13430
  "code": {
13415
13431
  "enum": [
13416
- "invalid_request",
13432
+ "input_invalid",
13433
+ "query_param_invalid",
13434
+ "cursor_invalid",
13435
+ "method_not_allowed",
13436
+ "resource_not_found",
13437
+ "idempotency_key_invalid",
13417
13438
  "idempotency_key_reused",
13418
- "unauthorized",
13439
+ "idempotency_key_in_use",
13440
+ "auth_required",
13441
+ "api_key_invalid",
13442
+ "token_invalid",
13419
13443
  "organization_required",
13420
13444
  "insufficient_scope",
13421
- "forbidden",
13422
- "not_found",
13423
- "method_not_allowed",
13424
- "spec_error",
13425
- "fetch_error",
13445
+ "role_insufficient",
13446
+ "rate_limit_exceeded",
13447
+ "plan_limit_reached",
13448
+ "spec_invalid",
13449
+ "spec_too_large",
13450
+ "spec_unreachable",
13426
13451
  "repository_provider_unsupported",
13452
+ "repository_disconnected",
13453
+ "repository_unavailable",
13427
13454
  "target_busy",
13455
+ "targets_inactive",
13428
13456
  "no_draft",
13429
13457
  "draft_merged",
13430
13458
  "resource_changed",
13431
- "invalid_version",
13432
13459
  "precondition_failed",
13460
+ "version_invalid",
13433
13461
  "version_occupied",
13434
13462
  "version_too_low",
13435
13463
  "target_already_released",
@@ -13437,15 +13465,12 @@ Output schema:
13437
13465
  "publication_disabled",
13438
13466
  "publication_not_retryable",
13439
13467
  "publication_recovery_unavailable",
13440
- "publication_dispatch_failed",
13441
- "repository_disconnected",
13442
- "regeneration_failed",
13468
+ "publication_failed",
13443
13469
  "delivery_conflict",
13444
13470
  "resource_has_dependencies",
13445
- "plan_limit_reached",
13446
- "payload_too_large",
13447
- "rate_limited",
13448
- "internal_error",
13471
+ "customization_conflict",
13472
+ "history_recovery_required",
13473
+ "checks_unavailable",
13449
13474
  "dependency_missing",
13450
13475
  "dependency_not_found",
13451
13476
  "dependency_self",
@@ -13457,10 +13482,9 @@ Output schema:
13457
13482
  "dependency_module_path_missing",
13458
13483
  "dependency_unreleased",
13459
13484
  "dependency_revision_mismatch",
13460
- "publication_failed",
13461
- "customization_conflict",
13462
- "history_recovery_required",
13463
- "checks_unavailable"
13485
+ "regeneration_failed",
13486
+ "follow_up_failed",
13487
+ "api_error"
13464
13488
  ],
13465
13489
  "description": "Stable programmatic identifier.",
13466
13490
  "type": "string"
@@ -13790,36 +13814,48 @@ Output schema:
13790
13814
  "properties": {
13791
13815
  "type": {
13792
13816
  "enum": [
13793
- "request_error",
13794
- "authentication_error",
13795
- "authorization_error",
13796
- "plan_error",
13797
- "source_error",
13798
- "rate_limit_error",
13799
- "api_error"
13817
+ "request",
13818
+ "auth",
13819
+ "idempotency",
13820
+ "rate_limit",
13821
+ "organization",
13822
+ "source",
13823
+ "api"
13800
13824
  ],
13801
- "description": "Stable category for deciding how to handle the error.",
13825
+ "description": "Who can resolve the error.",
13802
13826
  "type": "string"
13803
13827
  },
13804
13828
  "code": {
13805
13829
  "enum": [
13806
- "invalid_request",
13830
+ "input_invalid",
13831
+ "query_param_invalid",
13832
+ "cursor_invalid",
13833
+ "method_not_allowed",
13834
+ "resource_not_found",
13835
+ "idempotency_key_invalid",
13807
13836
  "idempotency_key_reused",
13808
- "unauthorized",
13837
+ "idempotency_key_in_use",
13838
+ "auth_required",
13839
+ "api_key_invalid",
13840
+ "token_invalid",
13809
13841
  "organization_required",
13810
13842
  "insufficient_scope",
13811
- "forbidden",
13812
- "not_found",
13813
- "method_not_allowed",
13814
- "spec_error",
13815
- "fetch_error",
13843
+ "role_insufficient",
13844
+ "rate_limit_exceeded",
13845
+ "plan_limit_reached",
13846
+ "spec_invalid",
13847
+ "spec_too_large",
13848
+ "spec_unreachable",
13816
13849
  "repository_provider_unsupported",
13850
+ "repository_disconnected",
13851
+ "repository_unavailable",
13817
13852
  "target_busy",
13853
+ "targets_inactive",
13818
13854
  "no_draft",
13819
13855
  "draft_merged",
13820
13856
  "resource_changed",
13821
- "invalid_version",
13822
13857
  "precondition_failed",
13858
+ "version_invalid",
13823
13859
  "version_occupied",
13824
13860
  "version_too_low",
13825
13861
  "target_already_released",
@@ -13827,15 +13863,12 @@ Output schema:
13827
13863
  "publication_disabled",
13828
13864
  "publication_not_retryable",
13829
13865
  "publication_recovery_unavailable",
13830
- "publication_dispatch_failed",
13831
- "repository_disconnected",
13832
- "regeneration_failed",
13866
+ "publication_failed",
13833
13867
  "delivery_conflict",
13834
13868
  "resource_has_dependencies",
13835
- "plan_limit_reached",
13836
- "payload_too_large",
13837
- "rate_limited",
13838
- "internal_error",
13869
+ "customization_conflict",
13870
+ "history_recovery_required",
13871
+ "checks_unavailable",
13839
13872
  "dependency_missing",
13840
13873
  "dependency_not_found",
13841
13874
  "dependency_self",
@@ -13847,10 +13880,9 @@ Output schema:
13847
13880
  "dependency_module_path_missing",
13848
13881
  "dependency_unreleased",
13849
13882
  "dependency_revision_mismatch",
13850
- "publication_failed",
13851
- "customization_conflict",
13852
- "history_recovery_required",
13853
- "checks_unavailable"
13883
+ "regeneration_failed",
13884
+ "follow_up_failed",
13885
+ "api_error"
13854
13886
  ],
13855
13887
  "description": "Stable programmatic identifier.",
13856
13888
  "type": "string"
@@ -13966,14 +13998,14 @@ Input schema:
13966
13998
  "minimum": 1,
13967
13999
  "maximum": 100,
13968
14000
  "type": "integer",
13969
- "description": "Maximum number of resources to return. Omit for 20; otherwise supply base-10 digits representing an integer from 1 to 100. Empty, malformed, or out-of-range values return 400 invalid_request. List query parameters must appear only once; unrecognized parameters also return 400. Default: 20."
14001
+ "description": "Maximum number of resources to return. Omit for 20; otherwise supply base-10 digits representing an integer from 1 to 100. Empty, malformed, or out-of-range values return 400 input_invalid. List query parameters must appear only once; repeated or unrecognized parameters return 400 query_param_invalid. Default: 20."
13970
14002
  },
13971
14003
  "cursor": {
13972
14004
  "minLength": 1,
13973
14005
  "maxLength": 2048,
13974
14006
  "pattern": "^[A-Za-z0-9_-]+$",
13975
14007
  "type": "string",
13976
- "description": "Opaque cursor from the preceding page's next_cursor. Valid only for the same organization, operation, filters, and ordering that issued it. Omit to start at the first page. Empty, malformed, or repeated cursors return 400 invalid_request. The page limit may change between requests."
14008
+ "description": "Opaque cursor from the preceding page's next_cursor. Valid only for the same organization, operation, filters, and ordering that issued it. Omit to start at the first page. Empty or malformed cursors, and cursors issued for different filters, return 400 cursor_invalid; start again from the first page. Repeated cursors return 400 query_param_invalid. The page limit may change between requests."
13977
14009
  },
13978
14010
  "fields": {
13979
14011
  "type": "array",
@@ -14353,14 +14385,14 @@ Input schema:
14353
14385
  "minimum": 1,
14354
14386
  "maximum": 100,
14355
14387
  "type": "integer",
14356
- "description": "Maximum number of resources to return. Omit for 20; otherwise supply base-10 digits representing an integer from 1 to 100. Empty, malformed, or out-of-range values return 400 invalid_request. List query parameters must appear only once; unrecognized parameters also return 400. Default: 20."
14388
+ "description": "Maximum number of resources to return. Omit for 20; otherwise supply base-10 digits representing an integer from 1 to 100. Empty, malformed, or out-of-range values return 400 input_invalid. List query parameters must appear only once; repeated or unrecognized parameters return 400 query_param_invalid. Default: 20."
14357
14389
  },
14358
14390
  "cursor": {
14359
14391
  "minLength": 1,
14360
14392
  "maxLength": 2048,
14361
14393
  "pattern": "^[A-Za-z0-9_-]+$",
14362
14394
  "type": "string",
14363
- "description": "Opaque cursor from the preceding page's next_cursor. Valid only for the same organization, operation, filters, and ordering that issued it. Omit to start at the first page. Empty, malformed, or repeated cursors return 400 invalid_request. The page limit may change between requests."
14395
+ "description": "Opaque cursor from the preceding page's next_cursor. Valid only for the same organization, operation, filters, and ordering that issued it. Omit to start at the first page. Empty or malformed cursors, and cursors issued for different filters, return 400 cursor_invalid; start again from the first page. Repeated cursors return 400 query_param_invalid. The page limit may change between requests."
14364
14396
  },
14365
14397
  "fields": {
14366
14398
  "type": "array",