Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .changeset/brave-moons-repeat.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/shaggy-taxis-shout.md

This file was deleted.

13 changes: 13 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @call-e/cli

## 0.3.9

### Patch Changes

- [#73](https://github.com/CALLE-AI/call-e-integrations/pull/73) [`89a5237`](https://github.com/CALLE-AI/call-e-integrations/commit/89a5237f9b0a8d82a79752c4f09dde2a8c9f9ba9) Thanks [@EazyHood](https://github.com/EazyHood)! - Reject duration flags that are not plain numbers, and bound the ones backed by a timer.

`--timeout-seconds 30s` used to resolve to `NaN`, which reached the MCP timeout arithmetic where `Math.max(NaN, 1000)` stays `NaN` and `setTimeout` substitutes 1ms, so every call aborted before it left. Durations are now validated where they are read, with the offending flag named in the error.

The constraints are per option rather than shared: `--min-ttl-seconds 0` keeps working, since zero disables the minimum remaining-lifetime window, while the timeout flags stay strictly positive. Timer-backed values are also capped at 2147483 seconds, because `setTimeout` collapses any longer delay to 1ms and would reproduce the same immediate abort.

- Updated dependencies [[`89a5237`](https://github.com/CALLE-AI/call-e-integrations/commit/89a5237f9b0a8d82a79752c4f09dde2a8c9f9ba9)]:
- @call-e/core@0.2.5

## 0.3.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const DEFAULT_SERVER_NAME = "calle";
export const DEFAULT_POLL_TIMEOUT_SECONDS = 300;
export const DEFAULT_TELEMETRY_TIMEOUT_SECONDS = 1.5;
export const DEFAULT_CACHE_ROOT = path.join(os.homedir(), ".calle-mcp", "cli");
export const CLI_VERSION = "0.3.8";
export const CLI_VERSION = "0.3.9";

function firstOptionValue(value) {
return Array.isArray(value) ? value[0] : value;
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@call-e/cli",
"version": "0.3.8",
"version": "0.3.9",
"description": "CLI wrapper for brokered MCP login and CALL-E MCP client configuration.",
"type": "module",
"license": "MIT",
Expand Down
8 changes: 8 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @call-e/core

## 0.2.5

### Patch Changes

- [#73](https://github.com/CALLE-AI/call-e-integrations/pull/73) [`89a5237`](https://github.com/CALLE-AI/call-e-integrations/commit/89a5237f9b0a8d82a79752c4f09dde2a8c9f9ba9) Thanks [@EazyHood](https://github.com/EazyHood)! - Guard the MCP request timeout against a non-numeric duration.

`Math.max(NaN, 1000)` is `NaN`, and `setTimeout(fn, NaN)` fires after 1ms, so an unreadable timeout aborted every request immediately instead of falling back to a usable one.

## 0.2.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@call-e/core",
"version": "0.2.4",
"version": "0.2.5",
"description": "Shared CALL-E runtime helpers for brokered auth, local token cache, and MCP HTTP calls.",
"type": "module",
"types": "./lib/index.d.ts",
Expand Down