@zackbart/connecta 0.7.1 → 0.7.4

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.
Files changed (96) hide show
  1. package/CHANGELOG.md +122 -0
  2. package/README.md +5 -2
  3. package/dist/connector-scope.d.ts +7 -4
  4. package/dist/connector-scope.d.ts.map +1 -1
  5. package/dist/connector-scope.js +36 -16
  6. package/dist/connector-scope.js.map +1 -1
  7. package/dist/connectors/remote-mcp.d.ts.map +1 -1
  8. package/dist/connectors/remote-mcp.js +164 -95
  9. package/dist/connectors/remote-mcp.js.map +1 -1
  10. package/dist/credential-health.d.ts +11 -7
  11. package/dist/credential-health.d.ts.map +1 -1
  12. package/dist/credential-health.js +26 -19
  13. package/dist/credential-health.js.map +1 -1
  14. package/dist/execute.d.ts +3 -0
  15. package/dist/execute.d.ts.map +1 -1
  16. package/dist/execute.js +70 -29
  17. package/dist/execute.js.map +1 -1
  18. package/dist/executor-admission.d.ts +53 -0
  19. package/dist/executor-admission.d.ts.map +1 -0
  20. package/dist/executor-admission.js +151 -0
  21. package/dist/executor-admission.js.map +1 -0
  22. package/dist/executor-result.d.ts +13 -0
  23. package/dist/executor-result.d.ts.map +1 -0
  24. package/dist/executor-result.js +57 -0
  25. package/dist/executor-result.js.map +1 -0
  26. package/dist/executors/quickjs-child.d.ts +2 -0
  27. package/dist/executors/quickjs-child.d.ts.map +1 -0
  28. package/dist/executors/quickjs-child.js +131 -0
  29. package/dist/executors/quickjs-child.js.map +1 -0
  30. package/dist/executors/quickjs-protocol.d.ts +55 -0
  31. package/dist/executors/quickjs-protocol.d.ts.map +1 -0
  32. package/dist/executors/quickjs-protocol.js +22 -0
  33. package/dist/executors/quickjs-protocol.js.map +1 -0
  34. package/dist/executors/quickjs-runtime.d.ts +26 -0
  35. package/dist/executors/quickjs-runtime.d.ts.map +1 -0
  36. package/dist/executors/quickjs-runtime.js +383 -0
  37. package/dist/executors/quickjs-runtime.js.map +1 -0
  38. package/dist/executors/quickjs.d.ts +20 -15
  39. package/dist/executors/quickjs.d.ts.map +1 -1
  40. package/dist/executors/quickjs.js +465 -265
  41. package/dist/executors/quickjs.js.map +1 -1
  42. package/dist/index.d.ts +15 -3
  43. package/dist/index.d.ts.map +1 -1
  44. package/dist/index.js +7 -0
  45. package/dist/index.js.map +1 -1
  46. package/dist/meta-tools.d.ts +4 -0
  47. package/dist/meta-tools.d.ts.map +1 -1
  48. package/dist/meta-tools.js +49 -12
  49. package/dist/meta-tools.js.map +1 -1
  50. package/dist/node.d.ts.map +1 -1
  51. package/dist/node.js +36 -3
  52. package/dist/node.js.map +1 -1
  53. package/dist/registry.d.ts +21 -24
  54. package/dist/registry.d.ts.map +1 -1
  55. package/dist/registry.js +37 -25
  56. package/dist/registry.js.map +1 -1
  57. package/dist/server.d.ts.map +1 -1
  58. package/dist/server.js +19 -9
  59. package/dist/server.js.map +1 -1
  60. package/dist/timeout.d.ts +9 -4
  61. package/dist/timeout.d.ts.map +1 -1
  62. package/dist/timeout.js +34 -4
  63. package/dist/timeout.js.map +1 -1
  64. package/dist/toolkits.d.ts +8 -0
  65. package/dist/toolkits.d.ts.map +1 -1
  66. package/dist/toolkits.js +3 -0
  67. package/dist/toolkits.js.map +1 -1
  68. package/dist/types.d.ts +19 -2
  69. package/dist/types.d.ts.map +1 -1
  70. package/dist/ui.d.ts +13 -1
  71. package/dist/ui.d.ts.map +1 -1
  72. package/dist/ui.js +188 -7
  73. package/dist/ui.js.map +1 -1
  74. package/dist/version.d.ts +1 -1
  75. package/dist/version.js +1 -1
  76. package/package.json +1 -1
  77. package/src/connector-scope.ts +43 -18
  78. package/src/connectors/remote-mcp.ts +184 -102
  79. package/src/credential-health.ts +33 -17
  80. package/src/execute.ts +93 -35
  81. package/src/executor-admission.ts +229 -0
  82. package/src/executor-result.ts +63 -0
  83. package/src/executors/quickjs-child.ts +168 -0
  84. package/src/executors/quickjs-protocol.ts +77 -0
  85. package/src/executors/quickjs-runtime.ts +440 -0
  86. package/src/executors/quickjs.ts +669 -302
  87. package/src/index.ts +30 -5
  88. package/src/meta-tools.ts +84 -27
  89. package/src/node.ts +36 -2
  90. package/src/registry.ts +53 -22
  91. package/src/server.ts +21 -10
  92. package/src/timeout.ts +41 -4
  93. package/src/toolkits.ts +11 -0
  94. package/src/types.ts +19 -2
  95. package/src/ui.ts +218 -12
  96. package/src/version.ts +1 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,128 @@
2
2
 
3
3
  All notable changes to this package are documented here.
4
4
 
5
+ ## 0.7.4 — 2026-07-27
6
+
7
+ 0.7.4 moves the built-in QuickJS executor out of the HTTP-serving process. A
8
+ runaway guest used to occupy Node's event loop for its entire wall budget —
9
+ health checks, ordinary tool calls, timers, and shutdown all waited behind it.
10
+ Guest code now runs in a bounded pool of replaceable child processes behind
11
+ FIFO admission, so the serving thread stays responsive regardless of what the
12
+ model wrote, and a WASM abort or interpreter OOM kills a disposable child
13
+ instead of the server. Deployments without an `executor`, and Workers
14
+ deployments on `DynamicWorkerExecutor`, can take this release without reading
15
+ further — the nine base meta-tools and every package entrypoint are untouched.
16
+ Node code-mode deployments should note two intentional guest-visible changes:
17
+ synchronous guest CPU gets its own 250 ms default budget separate from the
18
+ 30 s wall clock, and connector namespaces are lazy proxies, so
19
+ `Object.keys(github)` is empty and an unknown function fails through the host
20
+ bridge rather than at property access. Neither grants any authority.
21
+
22
+ ### Added
23
+
24
+ - **QuickJS child-process pool with bounded admission** (issue #83, PR #116).
25
+ `quickJsExecutor()` gains `cpuTimeMs`, `concurrency`, `maxQueueSize`, and
26
+ `queueTimeoutMs` beside the existing wall/memory/stack caps. Admission is
27
+ acquired before provider construction, so queued calls retain no catalogs or
28
+ request-scoped closures; overflow and queue expiry return the stable,
29
+ retryable `executor_overloaded` error with `retryAfterMs`, and cancellation
30
+ and shutdown report `executor_cancelled` / `executor_closed`. Every
31
+ parent/child IPC envelope is byte-bounded, the parent treats child messages
32
+ as untrusted input, and a wall timeout retires the child on a structural
33
+ flag rather than error text a guest could fabricate.
34
+ - **`Connecta.close()`** drains and releases executor resources, idempotently.
35
+ The Node `listen()` adapter calls it the moment graceful shutdown begins, so
36
+ sandbox children stop holding open the very requests shutdown waits on.
37
+ - **`AdmittingExecutor` and `ExecutorLease`** extend the one-method `Executor`
38
+ seam for bounded executors. The lease carries execution so an
39
+ already-admitted caller cannot acquire twice and deadlock a pool of one;
40
+ `DynamicWorkerExecutor` remains structurally compatible unchanged.
41
+ - **HTTP client disconnects now cancel in-flight work** in the Node adapter:
42
+ the abort propagates through the Web `Request` into `execute_code` catalog
43
+ construction, queued admission, host calls, and the running child.
44
+
45
+ ### Fixed
46
+
47
+ - **Downstream session termination gets a realistic acknowledgement window and
48
+ an operator-visible failure signal** (issue #96, PR #117). Probe callers
49
+ retain their 100 ms teardown cap while the headers-only `DELETE` gets one
50
+ second for a cross-internet round trip; Workers keep that bounded tail alive
51
+ with `waitUntil`. Refusals and transport failures now warn through the
52
+ deployment logger, and expiry is reported honestly as unacknowledged because
53
+ the downstream may still complete a request that was already sent.
54
+
55
+ ## 0.7.3 — 2026-07-27
56
+
57
+ 0.7.3 is the first published package after 0.7.1. It consolidates the
58
+ unpublished 0.7.2 candidate with the hardening and operator work that followed:
59
+ catalog deadlines and authorization recovery, session-safe operator pages,
60
+ terminal probe and QuickJS cleanup, decisive credential-shape drift, stronger
61
+ documentation checks, and a read-only toolkit map. There are no dependency,
62
+ configuration, storage-schema, or breaking TypeScript changes. The authenticated
63
+ `/ui/data` response gains one additive `toolkits` array; existing fields and
64
+ package entrypoints are unchanged.
65
+
66
+ ### Added
67
+
68
+ - **Connections shows the configured toolkit views** (PR #112). Unrestricted
69
+ operators can inspect connector membership, tool inclusions/exclusions,
70
+ currently loaded effective tool counts, and copyable scoped MCP URLs without
71
+ gaining any mutation or persistence path. Toolkit-restricted identities still
72
+ cannot enumerate deployment-wide data, the open HTML shell remains data-free,
73
+ and config-only toolkit descriptions never leave the server.
74
+
75
+ ### Changed
76
+
77
+ - **Discovery deadlines now govern the catalog work, not only the caller's
78
+ wait** (issue #98). `list_connectors`, `search_tools`, and `describe_tools`
79
+ pass `discovery.probeTimeoutMs` into a full downstream `tools/list` walk.
80
+ Expiry cancels the in-flight page where the transport supports it and prevents
81
+ another page from starting; existing tool/page bounds remain as backstops,
82
+ partial catalogs are never published, and the last complete stale catalog
83
+ remains eligible.
84
+ - **`nextCursor: null` is accepted as end-of-pagination** (issue #99). This
85
+ narrow compatibility concession treats the common JSON null spelling like an
86
+ absent cursor while preserving empty string as a real cursor and retaining
87
+ the SDK's validation for every tool and other result field.
88
+
89
+ ### Fixed
90
+
91
+ - **Authorization expiry is classified consistently across a catalog walk**
92
+ (issue #97). A downstream 401 on any `tools/list` page now reports
93
+ `auth_required` with the pending authorization URL, latches that verdict for
94
+ the request scope, and never publishes the prefix collected before failure.
95
+ Network, protocol, and malformed-page failures remain ordinary errors.
96
+ - **Operator pages clear stale identity data when Clerk changes in another tab
97
+ or outside the page** (issue #92). Connector inventory, masked credential
98
+ metadata and notices, activity rows, toolkit rows, and capability navigation
99
+ are discarded together, and the next navigation fetches under the new session
100
+ rather than repainting cached data.
101
+ - **The three operator routes handle HEAD and small navigation-state edges
102
+ correctly** (issue #93). `/`, `/credentials`, and `/activity` return their GET
103
+ headers with no HEAD body; Back/Forward focus stays visible while gated;
104
+ credential notices clear on page changes; and credential controls use the
105
+ same Clerk capability predicate as the mutation API.
106
+ - **Stored credential-shape drift is decisive on both status and calls** (issue
107
+ #90). The fast connector inventory reports the existing `auth_required`
108
+ replacement state instead of a stale `ok`, while `ctx.credential.get()` and
109
+ `getAll()` reject the obsolete shape before returning any value. Generic
110
+ failed health checks remain non-decisive, valid stored supersets remain
111
+ readable, and replacement/removal remains the recovery path.
112
+ - **Probe teardown cannot be skipped or resurrect a closed request scope**
113
+ (issue #91). Sibling work settles before shared teardown, cleanup no longer
114
+ short-circuits on the first rejection, and a closed scope remains terminal.
115
+ The formerly exported scope-borrowing option remains accepted as deprecated
116
+ and ignored so the fix does not create a TypeScript compatibility break.
117
+ - **QuickJS host-result cleanup is deterministic under timeout and load**
118
+ (issue #84). Settled bridge results are bounded, consumed exactly once, and
119
+ released when execution completes or its deadline wins, preventing late work
120
+ from retaining unobservable values.
121
+ - **The documentation guard catches the legacy syntax it was meant to prevent**
122
+ (issue #94). Bare `§N` citations now fail on live source, docs, examples, and
123
+ README surfaces—including extensionless files—while historical changelog
124
+ entries remain explicitly exempt. Negative fixtures cover every structural
125
+ invariant.
126
+
5
127
  ## 0.7.1 — 2026-07-27
6
128
 
7
129
  0.7.1 is a security-and-bounds patch. It closes both redirect paths that could
package/README.md CHANGED
@@ -50,7 +50,9 @@ An optional tenth meta-tool, `execute_code`, runs model-written async JavaScript
50
50
  in a sandbox with no network, filesystem, or environment access — only the
51
51
  explicitly read-only tools as callable globals — turning a loop, a join across
52
52
  connectors, or a filter over a large response into one round trip instead of a
53
- dozen. Configure no `executor` and connecta is exactly the nine-tool server.
53
+ dozen. The built-in Node executor runs QuickJS in bounded, replaceable child
54
+ processes so guest CPU never occupies the HTTP event loop. Configure no
55
+ `executor` and connecta is exactly the nine-tool server.
54
56
 
55
57
  ## Why it's shaped this way
56
58
 
@@ -95,7 +97,8 @@ rather than a redaction pass: the event type has nowhere to put a payload, which
95
97
  is what keeps an operations log from becoming something worth stealing.
96
98
 
97
99
  **Operator pages that cannot administer the deployment.** Connections at `GET /`
98
- shows connector health, tool counts, and downstream authorization links;
100
+ shows connector health, tool counts, downstream authorization links, and a
101
+ read-only map of the toolkit views declared in deployment config;
99
102
  `/credentials` rotates stored secrets; and `/activity` shows the optional
100
103
  payload-free ledger. They share one data-free shell with no build step and use
101
104
  authenticated private APIs for deployment data. They cannot add a connector,
@@ -1,13 +1,16 @@
1
1
  import type { Connector, ConnectorContext } from "./types.js";
2
+ /** Runtime hook for work that may safely continue after a response is ready. */
3
+ export type DeferredWork = (promise: Promise<unknown>) => void;
2
4
  /**
3
5
  * Tell a connector that a scope owned by the core has ended.
4
6
  *
5
7
  * Scope teardown is deliberately best-effort: a missing hook is a no-op and a
6
8
  * rejected hook is swallowed so cleanup can never replace the probe result that
7
9
  * caused it. The hook gets a small, fixed completion window so edge runtimes do
8
- * not cut off a real close as the response ends, but one that never settles
9
- * cannot hold the completed probe open indefinitely. Callers own the
10
- * at-most-once guarantee and must not use the scope again after this returns.
10
+ * not cut off a real close as the response ends. When the runtime supplies
11
+ * `defer`, the bounded tail is handed to it without extending the caller-facing
12
+ * window. Callers own the at-most-once guarantee and must not use the scope
13
+ * again after this returns.
11
14
  */
12
- export declare function closeConnectorScope(connector: Connector, ctx: ConnectorContext): Promise<void>;
15
+ export declare function closeConnectorScope(connector: Connector, ctx: ConnectorContext, defer?: DeferredWork): Promise<void>;
13
16
  //# sourceMappingURL=connector-scope.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"connector-scope.d.ts","sourceRoot":"","sources":["../src/connector-scope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAK9D;;;;;;;;;GASG;AACH,wBAAsB,mBAAmB,CACvC,SAAS,EAAE,SAAS,EACpB,GAAG,EAAE,gBAAgB,GACpB,OAAO,CAAC,IAAI,CAAC,CAsBf"}
1
+ {"version":3,"file":"connector-scope.d.ts","sourceRoot":"","sources":["../src/connector-scope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAe9D,gFAAgF;AAChF,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC;AAa/D;;;;;;;;;;GAUG;AACH,wBAAsB,mBAAmB,CACvC,SAAS,EAAE,SAAS,EACpB,GAAG,EAAE,gBAAgB,EACrB,KAAK,CAAC,EAAE,YAAY,GACnB,OAAO,CAAC,IAAI,CAAC,CAqBf"}
@@ -1,32 +1,52 @@
1
1
  /** Enough for local transport abort/close without letting cleanup own latency. */
2
2
  const CONNECTOR_SCOPE_CLOSE_BUDGET_MS = 100;
3
+ /**
4
+ * Bound on cleanup continued after the caller-facing window expires.
5
+ *
6
+ * `remoteMcp` spends at most one second asking the downstream to terminate its
7
+ * session, leaving another second for the local close. Custom hooks still get a
8
+ * finite background window: handing a never-settling promise to a Worker's
9
+ * `waitUntil` would otherwise keep the invocation alive until the platform cap.
10
+ */
11
+ const CONNECTOR_SCOPE_DEFER_BUDGET_MS = 2_000;
12
+ /** Resolve when `work` settles or `budgetMs` expires; never reject. */
13
+ function waitAtMost(work, budgetMs) {
14
+ return new Promise((resolve) => {
15
+ const timer = setTimeout(resolve, budgetMs);
16
+ work.then(() => {
17
+ clearTimeout(timer);
18
+ resolve();
19
+ });
20
+ });
21
+ }
3
22
  /**
4
23
  * Tell a connector that a scope owned by the core has ended.
5
24
  *
6
25
  * Scope teardown is deliberately best-effort: a missing hook is a no-op and a
7
26
  * rejected hook is swallowed so cleanup can never replace the probe result that
8
27
  * caused it. The hook gets a small, fixed completion window so edge runtimes do
9
- * not cut off a real close as the response ends, but one that never settles
10
- * cannot hold the completed probe open indefinitely. Callers own the
11
- * at-most-once guarantee and must not use the scope again after this returns.
28
+ * not cut off a real close as the response ends. When the runtime supplies
29
+ * `defer`, the bounded tail is handed to it without extending the caller-facing
30
+ * window. Callers own the at-most-once guarantee and must not use the scope
31
+ * again after this returns.
12
32
  */
13
- export async function closeConnectorScope(connector, ctx) {
33
+ export async function closeConnectorScope(connector, ctx, defer) {
14
34
  try {
15
35
  const closing = connector.closeScope?.(ctx);
16
36
  if (!closing)
17
37
  return;
18
- await new Promise((resolve) => {
19
- const timer = setTimeout(resolve, CONNECTOR_SCOPE_CLOSE_BUDGET_MS);
20
- // Both handlers stay attached after the timer wins, so a late rejection
21
- // is still consumed rather than becoming an unhandled rejection.
22
- closing.then(() => {
23
- clearTimeout(timer);
24
- resolve();
25
- }, () => {
26
- clearTimeout(timer);
27
- resolve();
28
- });
29
- });
38
+ // Attach both handlers before either timer can win, so a late rejection is
39
+ // consumed rather than becoming an unhandled rejection.
40
+ const settled = closing.then(() => { }, () => { });
41
+ if (defer) {
42
+ try {
43
+ defer(waitAtMost(settled, CONNECTOR_SCOPE_DEFER_BUDGET_MS));
44
+ }
45
+ catch {
46
+ // A runtime hook is best-effort too; the caller cap still applies.
47
+ }
48
+ }
49
+ await waitAtMost(settled, CONNECTOR_SCOPE_CLOSE_BUDGET_MS);
30
50
  }
31
51
  catch {
32
52
  // The scope is over whether or not the connector managed to clean it up.
@@ -1 +1 @@
1
- {"version":3,"file":"connector-scope.js","sourceRoot":"","sources":["../src/connector-scope.ts"],"names":[],"mappings":"AAEA,kFAAkF;AAClF,MAAM,+BAA+B,GAAG,GAAG,CAAC;AAE5C;;;;;;;;;GASG;AACH,MAAM,CAAC,KAAK,UAAU,mBAAmB,CACvC,SAAoB,EACpB,GAAqB;IAErB,IAAI,CAAC;QACH,MAAM,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC,GAAG,CAAC,CAAC;QAC5C,IAAI,CAAC,OAAO;YAAE,OAAO;QACrB,MAAM,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,EAAE;YAClC,MAAM,KAAK,GAAG,UAAU,CAAC,OAAO,EAAE,+BAA+B,CAAC,CAAC;YACnE,wEAAwE;YACxE,iEAAiE;YACjE,OAAO,CAAC,IAAI,CACV,GAAG,EAAE;gBACH,YAAY,CAAC,KAAK,CAAC,CAAC;gBACpB,OAAO,EAAE,CAAC;YACZ,CAAC,EACD,GAAG,EAAE;gBACH,YAAY,CAAC,KAAK,CAAC,CAAC;gBACpB,OAAO,EAAE,CAAC;YACZ,CAAC,CACF,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC;IAAC,MAAM,CAAC;QACP,yEAAyE;IAC3E,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"connector-scope.js","sourceRoot":"","sources":["../src/connector-scope.ts"],"names":[],"mappings":"A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