@clickraft/cli 0.10.1 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -3
- package/dist/cli.js +2 -2
- package/dist/cli.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
|
-
## [0.
|
|
1
|
+
## [0.11.0](https://github.com/clickraft/cli/compare/v0.10.1...v0.11.0) (2026-06-21)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
* **mcp:** type workflow_apply operations as a discriminated union ([8f34ef0](https://github.com/clickraft/cli/commit/8f34ef07cd77bcd0d18d769412acd78a92ec6914))
|
|
6
|
+
* **sdk:** add Phase 0 SDK↔server contract checker (report-only) ([88a153e](https://github.com/clickraft/cli/commit/88a153e821015b0384c1b4dd4c27d99b4d31060d))
|
|
2
7
|
|
|
3
8
|
### Bug Fixes
|
|
4
9
|
|
|
5
|
-
* **
|
|
6
|
-
* **
|
|
10
|
+
* **mcp:** challenge invalid bearer with 401 + WWW-Authenticate to trigger OAuth re-auth ([33bb02c](https://github.com/clickraft/cli/commit/33bb02c7f197cd0dd465c8835a50a189efe70472))
|
|
11
|
+
* **mcp:** rename tool names to snake_case for MCP client name-pattern compliance ([a1f8db3](https://github.com/clickraft/cli/commit/a1f8db3fb893720dfb4437d26d7fc85ad57f7c4f))
|
|
12
|
+
* **mcp:** surface validation field errors in tool error results ([3519eeb](https://github.com/clickraft/cli/commit/3519eeb3b0b68518d86d383e28093ee4d8075ce0))
|
|
13
|
+
* **sdk:** make long-poll timeout deterministic vs abort race ([60c1a17](https://github.com/clickraft/cli/commit/60c1a173832e2c3eebd1e2635a9b912fa5408a6a))
|
|
7
14
|
|
|
8
15
|
# Changelog
|
|
9
16
|
|
package/dist/cli.js
CHANGED
|
@@ -352,10 +352,10 @@ async function longPoll(opts) {
|
|
|
352
352
|
try {
|
|
353
353
|
result = await opts.fetcher({ signal: iterationSignal });
|
|
354
354
|
} catch (err) {
|
|
355
|
-
if (
|
|
355
|
+
if (iterationSignal.aborted) {
|
|
356
356
|
throw new ApiError(
|
|
357
357
|
"TIMEOUT",
|
|
358
|
-
`Wait exceeded ${opts.timeoutMs}ms without reaching a terminal state.`,
|
|
358
|
+
opts.signal?.aborted ? "Wait was aborted." : `Wait exceeded ${opts.timeoutMs}ms without reaching a terminal state.`,
|
|
359
359
|
{ retryable: true }
|
|
360
360
|
);
|
|
361
361
|
}
|