@apex-inc/mcp-server 0.60.0 → 0.60.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apex-inc/mcp-server",
3
- "version": "0.60.0",
3
+ "version": "0.60.1",
4
4
  "description": "MCP server for Apex. Your coding agent talks to the same Apex the dashboard uses.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -111,7 +111,7 @@ Why prefer the Server Events API over `fetch("/api/events")`:
111
111
  - **Single endpoint** — `/api/v1/events` is the documented, OpenAPI'd integration surface.
112
112
  - **Typed errors** — the wrapper throws on non-2xx with a clear `error.code` from the API.
113
113
 
114
- For batches > 1 event, use `sendServerEvents(config, events, { idempotencyKey })`. Above 100 it splits into requests of 100 with a stable key for each. Give every event a stable `eventId` too, so a retry cut differently still counts once. Inside a sign-up or sign-in path pass `{ timeoutMs: 1500, throwOnError: false }` so Apex never fails the login.
114
+ For batches > 1 event, use `sendServerEvents(config, events, { idempotencyKey })`. Above 100 it splits into requests of 100 with a stable key for each. Give every event a stable `eventId` too, so a retry cut differently still counts once. Inside a sign-up or sign-in path pass `{ timeoutMs: 1500, throwOnError: false }` so Apex never fails the login. The SDK retries network errors, timeouts, Apex server errors and rate limits up to twice on its own, with the same key and inside `timeoutMs`; don't add a retry loop around it.
115
115
 
116
116
  For agent-driven testing through MCP, use the **`send_server_event`** tool — same endpoint, exposed as a single-call MCP tool with the idempotency key generated for you.
117
117