Skip to content

Commit a36734c

Browse files
committed
chore: release
- @taskade/mcp-server 0.1.0 -> 0.1.1 (patch): surface API errors as isError - @taskade/mcp-openapi-codegen 0.0.4 -> 0.0.5 (patch): runtime error handling server.json synced to 0.1.1.
1 parent 34e978d commit a36734c

6 files changed

Lines changed: 24 additions & 14 deletions

File tree

.changeset/surface-api-errors.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

packages/openapi-codegen/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# @taskade/mcp-openapi-codegen
22

3+
## 0.0.5
4+
5+
### Patch Changes
6+
7+
- [#58](https://github.com/taskade/mcp/pull/58) [`34e978d`](https://github.com/taskade/mcp/commit/34e978d198da792a7bee98ab53938f16662ed0c4) Thanks [@johnxie](https://github.com/johnxie)! - Surface API errors instead of returning them as successful tool results. The runtime now
8+
checks `response.ok`: a non-2xx response (401/403/422/5xx) or a network failure comes back
9+
as an `isError` tool result carrying the status and body, rather than the error payload
10+
being handed to the model as if the call had succeeded. Applies to all generated tools
11+
(v1 + v2); the 2xx path and the `normalizeResponse` handlers are unchanged.
12+
313
## 0.0.4
414

515
### Patch Changes

packages/openapi-codegen/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@taskade/mcp-openapi-codegen",
3-
"version": "0.0.4",
3+
"version": "0.0.5",
44
"author": "Prev Wong",
55
"license": "MIT",
66
"repository": {

packages/server/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# @taskade/mcp-server
22

3+
## 0.1.1
4+
5+
### Patch Changes
6+
7+
- [#58](https://github.com/taskade/mcp/pull/58) [`34e978d`](https://github.com/taskade/mcp/commit/34e978d198da792a7bee98ab53938f16662ed0c4) Thanks [@johnxie](https://github.com/johnxie)! - Surface API errors instead of returning them as successful tool results. The runtime now
8+
checks `response.ok`: a non-2xx response (401/403/422/5xx) or a network failure comes back
9+
as an `isError` tool result carrying the status and body, rather than the error payload
10+
being handed to the model as if the call had succeeded. Applies to all generated tools
11+
(v1 + v2); the 2xx path and the `normalizeResponse` handlers are unchanged.
12+
313
## 0.1.0
414

515
### Minor Changes

packages/server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@taskade/mcp-server",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"mcpName": "io.github.taskade/mcp-server",
55
"author": "Prev Wong",
66
"license": "MIT",

packages/server/server.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"url": "https://github.com/taskade/mcp.git",
77
"source": "github"
88
},
9-
"version": "0.1.0",
9+
"version": "0.1.1",
1010
"packages": [
1111
{
1212
"registryType": "npm",
1313
"identifier": "@taskade/mcp-server",
14-
"version": "0.1.0",
14+
"version": "0.1.1",
1515
"transport": {
1616
"type": "stdio"
1717
},

0 commit comments

Comments
 (0)