node-autotask 0.18.0 → 0.19.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/ARCHITECTURE.md +15 -8
- package/CHANGELOG.md +574 -0
- package/MCP_TOOL_CATALOG.json +2 -2
- package/MCP_TOOL_MANIFEST.md +5 -5
- package/N8N_MCP_MANIFEST.json +2 -2
- package/N8N_MCP_MANIFEST.md +3 -3
- package/README.md +8 -4
- package/capabilities.json +1223 -1223
- package/dist/capabilities.cjs +2 -2
- package/dist/capabilities.js +1 -1
- package/dist/{chunk-W2WSZOZA.js → chunk-4YKV7ORF.js} +2 -2
- package/dist/{chunk-7I3F3AJJ.cjs → chunk-7RDR5DSI.cjs} +393 -393
- package/dist/{chunk-HXOWEYV3.js → chunk-D5RAQ4DE.js} +2 -2
- package/dist/{chunk-5O5EPYBO.cjs → chunk-JM52ZU7T.cjs} +1222 -1222
- package/dist/{chunk-VYUZZIEE.js → chunk-LB2X4X4B.js} +86 -8
- package/dist/{chunk-VV2UUW2J.js → chunk-NDK7WYWA.js} +1222 -1222
- package/dist/{chunk-WRWX6WIK.cjs → chunk-QDYSHAU6.cjs} +147 -69
- package/dist/{chunk-G564CHXM.cjs → chunk-TIM75K3G.cjs} +135 -135
- package/dist/{index-BqPY04ZG.d.ts → index-DLugNSr7.d.ts} +27 -13
- package/dist/{index-D7x3MkLK.d.cts → index-aZ3tCh1h.d.cts} +27 -13
- package/dist/index.cjs +24 -22
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +6 -4
- package/dist/operations/index.cjs +109 -109
- package/dist/operations/index.d.cts +2 -2
- package/dist/operations/index.d.ts +2 -2
- package/dist/operations/index.js +2 -2
- package/dist/pool.cjs +8 -8
- package/dist/pool.d.cts +1 -1
- package/dist/pool.d.ts +1 -1
- package/dist/pool.js +4 -4
- package/dist/resources/index.cjs +4 -4
- package/dist/resources/index.d.cts +1 -1
- package/dist/resources/index.d.ts +1 -1
- package/dist/resources/index.js +3 -3
- package/docs/API.md +48 -18
- package/package.json +2 -1
package/ARCHITECTURE.md
CHANGED
|
@@ -539,14 +539,21 @@ export interface RequestOptions {
|
|
|
539
539
|
that premise is unprovable from the response, and the #104 classifier pins this
|
|
540
540
|
code as `unknown` for a write (never blindly resend). `idempotent: true` /
|
|
541
541
|
`maxRetries` remain the explicit opt-ins.
|
|
542
|
-
- **Maintenance-window wait (weekly window):** a
|
|
543
|
-
maintenance notice is waited out
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
542
|
+
- **Maintenance-window wait (weekly window):** a NON-JSON body whose first
|
|
543
|
+
256 bytes read as a maintenance notice is waited out at any status
|
|
544
|
+
(`2xx`/`4xx`/`5xx` — issue #114; a JSON body never enters) for up to
|
|
545
|
+
`maintenanceMaxWaitMs` (default 1 h; the observed ceiling is 4 h, exported as
|
|
546
|
+
`MAINTENANCE_WINDOW_MAX_MS`, polled every `maintenancePollMs` = 30 s) from the
|
|
547
|
+
first such page. A non-JSON `2xx` page is waited out for reads AND writes (edge-
|
|
548
|
+
served before execution). A non-JSON `4xx`/`5xx` page only for calls safe to
|
|
549
|
+
re-send (`retriable5xx`: GET / explicitly idempotent-flagged) — an unflagged
|
|
550
|
+
mutation makes ONE send and carries `details.maintenanceDetected`, because a
|
|
551
|
+
proxy can serve that page after forwarding the write. It does
|
|
552
|
+
not consume `maxRetries`, each post-wait attempt gets a fresh `timeoutMs`, and the
|
|
553
|
+
timer is re-armed around the wait. On exhaustion the error carries
|
|
554
|
+
`details.maintenance = { waits, waitedMs, maxWaitMs, exhausted }`. A non-JSON page
|
|
555
|
+
that does not read as maintenance (a wrong `baseUrl`) never enters the loop and
|
|
556
|
+
stamps `details.maintenancePatternMiss` (snippet at `debug`).
|
|
550
557
|
- **Per-call budget override:** `InvokeOptions.maxRetries` / `MutationOpts.maxRetries`
|
|
551
558
|
threads the transport's per-request override through a mutation (and its
|
|
552
559
|
auxiliary reads, e.g. a partial-update merge read); `0` = exactly one send per
|