@animalabs/agent-framework 0.22.2 → 0.23.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/README.md +108 -4
- package/dist/src/agent.d.ts +108 -17
- package/dist/src/agent.d.ts.map +1 -1
- package/dist/src/agent.js +207 -67
- package/dist/src/agent.js.map +1 -1
- package/dist/src/api/mcp-server-core.js +1 -1
- package/dist/src/api/mcp-server-core.js.map +1 -1
- package/dist/src/api/server.d.ts.map +1 -1
- package/dist/src/api/server.js +5 -1
- package/dist/src/api/server.js.map +1 -1
- package/dist/src/api/types.d.ts +1 -1
- package/dist/src/api/types.d.ts.map +1 -1
- package/dist/src/branch-names.d.ts +14 -0
- package/dist/src/branch-names.d.ts.map +1 -0
- package/dist/src/branch-names.js +22 -0
- package/dist/src/branch-names.js.map +1 -0
- package/dist/src/closest-names.d.ts +28 -0
- package/dist/src/closest-names.d.ts.map +1 -0
- package/dist/src/closest-names.js +98 -0
- package/dist/src/closest-names.js.map +1 -0
- package/dist/src/code-execution/index.d.ts +1 -1
- package/dist/src/code-execution/index.d.ts.map +1 -1
- package/dist/src/code-execution/index.js.map +1 -1
- package/dist/src/code-execution/py-runner.d.ts +50 -7
- package/dist/src/code-execution/py-runner.d.ts.map +1 -1
- package/dist/src/code-execution/py-runner.js +258 -90
- package/dist/src/code-execution/py-runner.js.map +1 -1
- package/dist/src/code-execution/runtime-py.d.ts +3 -2
- package/dist/src/code-execution/runtime-py.d.ts.map +1 -1
- package/dist/src/code-execution/runtime-py.js +94 -8
- package/dist/src/code-execution/runtime-py.js.map +1 -1
- package/dist/src/code-execution/tool-definition.d.ts +17 -1
- package/dist/src/code-execution/tool-definition.d.ts.map +1 -1
- package/dist/src/code-execution/tool-definition.js +72 -6
- package/dist/src/code-execution/tool-definition.js.map +1 -1
- package/dist/src/config-checks.d.ts +28 -0
- package/dist/src/config-checks.d.ts.map +1 -0
- package/dist/src/config-checks.js +56 -0
- package/dist/src/config-checks.js.map +1 -0
- package/dist/src/deadline-timer.d.ts +21 -0
- package/dist/src/deadline-timer.d.ts.map +1 -0
- package/dist/src/deadline-timer.js +43 -0
- package/dist/src/deadline-timer.js.map +1 -0
- package/dist/src/error-message.d.ts +30 -0
- package/dist/src/error-message.d.ts.map +1 -0
- package/dist/src/error-message.js +50 -0
- package/dist/src/error-message.js.map +1 -0
- package/dist/src/framework.d.ts +1529 -165
- package/dist/src/framework.d.ts.map +1 -1
- package/dist/src/framework.js +8264 -1939
- package/dist/src/framework.js.map +1 -1
- package/dist/src/gate/event-gate.d.ts +8 -0
- package/dist/src/gate/event-gate.d.ts.map +1 -1
- package/dist/src/gate/event-gate.js +36 -5
- package/dist/src/gate/event-gate.js.map +1 -1
- package/dist/src/held-writes.d.ts +16 -0
- package/dist/src/held-writes.d.ts.map +1 -0
- package/dist/src/held-writes.js +56 -0
- package/dist/src/held-writes.js.map +1 -0
- package/dist/src/index.d.ts +10 -4
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +11 -5
- package/dist/src/index.js.map +1 -1
- package/dist/src/mcpl/capability-grant.d.ts +4 -0
- package/dist/src/mcpl/capability-grant.d.ts.map +1 -1
- package/dist/src/mcpl/capability-grant.js +1 -1
- package/dist/src/mcpl/capability-grant.js.map +1 -1
- package/dist/src/mcpl/channel-registry.d.ts +233 -18
- package/dist/src/mcpl/channel-registry.d.ts.map +1 -1
- package/dist/src/mcpl/channel-registry.js +975 -386
- package/dist/src/mcpl/channel-registry.js.map +1 -1
- package/dist/src/mcpl/checkpoint-manager.d.ts +21 -1
- package/dist/src/mcpl/checkpoint-manager.d.ts.map +1 -1
- package/dist/src/mcpl/checkpoint-manager.js +91 -30
- package/dist/src/mcpl/checkpoint-manager.js.map +1 -1
- package/dist/src/mcpl/conversation-router.d.ts +19 -3
- package/dist/src/mcpl/conversation-router.d.ts.map +1 -1
- package/dist/src/mcpl/conversation-router.js +23 -8
- package/dist/src/mcpl/conversation-router.js.map +1 -1
- package/dist/src/mcpl/convert-block.d.ts +20 -0
- package/dist/src/mcpl/convert-block.d.ts.map +1 -0
- package/dist/src/mcpl/convert-block.js +88 -0
- package/dist/src/mcpl/convert-block.js.map +1 -0
- package/dist/src/mcpl/errors.d.ts +13 -0
- package/dist/src/mcpl/errors.d.ts.map +1 -1
- package/dist/src/mcpl/errors.js +28 -0
- package/dist/src/mcpl/errors.js.map +1 -1
- package/dist/src/mcpl/hook-orchestrator.d.ts +23 -0
- package/dist/src/mcpl/hook-orchestrator.d.ts.map +1 -1
- package/dist/src/mcpl/hook-orchestrator.js +83 -72
- package/dist/src/mcpl/hook-orchestrator.js.map +1 -1
- package/dist/src/mcpl/inbound-source.d.ts +114 -0
- package/dist/src/mcpl/inbound-source.d.ts.map +1 -0
- package/dist/src/mcpl/inbound-source.js +83 -0
- package/dist/src/mcpl/inbound-source.js.map +1 -0
- package/dist/src/mcpl/index.d.ts +7 -1
- package/dist/src/mcpl/index.d.ts.map +1 -1
- package/dist/src/mcpl/index.js +5 -1
- package/dist/src/mcpl/index.js.map +1 -1
- package/dist/src/mcpl/inference-router.d.ts +19 -13
- package/dist/src/mcpl/inference-router.d.ts.map +1 -1
- package/dist/src/mcpl/inference-router.js +155 -87
- package/dist/src/mcpl/inference-router.js.map +1 -1
- package/dist/src/mcpl/log-value.d.ts +7 -0
- package/dist/src/mcpl/log-value.d.ts.map +1 -1
- package/dist/src/mcpl/log-value.js +9 -0
- package/dist/src/mcpl/log-value.js.map +1 -1
- package/dist/src/mcpl/modern-connection.d.ts +227 -0
- package/dist/src/mcpl/modern-connection.d.ts.map +1 -0
- package/dist/src/mcpl/modern-connection.js +1088 -0
- package/dist/src/mcpl/modern-connection.js.map +1 -0
- package/dist/src/mcpl/prefix-rule.d.ts +18 -0
- package/dist/src/mcpl/prefix-rule.d.ts.map +1 -0
- package/dist/src/mcpl/prefix-rule.js +25 -0
- package/dist/src/mcpl/prefix-rule.js.map +1 -0
- package/dist/src/mcpl/protocol-family.d.ts +179 -0
- package/dist/src/mcpl/protocol-family.d.ts.map +1 -0
- package/dist/src/mcpl/protocol-family.js +697 -0
- package/dist/src/mcpl/protocol-family.js.map +1 -0
- package/dist/src/mcpl/push-coalescer.d.ts +58 -17
- package/dist/src/mcpl/push-coalescer.d.ts.map +1 -1
- package/dist/src/mcpl/push-coalescer.js +93 -32
- package/dist/src/mcpl/push-coalescer.js.map +1 -1
- package/dist/src/mcpl/push-handler.d.ts +16 -9
- package/dist/src/mcpl/push-handler.d.ts.map +1 -1
- package/dist/src/mcpl/push-handler.js +18 -83
- package/dist/src/mcpl/push-handler.js.map +1 -1
- package/dist/src/mcpl/reference-fetcher.d.ts +76 -13
- package/dist/src/mcpl/reference-fetcher.d.ts.map +1 -1
- package/dist/src/mcpl/reference-fetcher.js +275 -66
- package/dist/src/mcpl/reference-fetcher.js.map +1 -1
- package/dist/src/mcpl/references.d.ts +98 -18
- package/dist/src/mcpl/references.d.ts.map +1 -1
- package/dist/src/mcpl/references.js +170 -32
- package/dist/src/mcpl/references.js.map +1 -1
- package/dist/src/mcpl/server-connection.d.ts +406 -31
- package/dist/src/mcpl/server-connection.d.ts.map +1 -1
- package/dist/src/mcpl/server-connection.js +1331 -272
- package/dist/src/mcpl/server-connection.js.map +1 -1
- package/dist/src/mcpl/server-registry.d.ts +35 -6
- package/dist/src/mcpl/server-registry.d.ts.map +1 -1
- package/dist/src/mcpl/server-registry.js +63 -13
- package/dist/src/mcpl/server-registry.js.map +1 -1
- package/dist/src/mcpl/skip-reply-wake.d.ts +36 -0
- package/dist/src/mcpl/skip-reply-wake.d.ts.map +1 -0
- package/dist/src/mcpl/skip-reply-wake.js +55 -0
- package/dist/src/mcpl/skip-reply-wake.js.map +1 -0
- package/dist/src/mcpl/tool-result-normalize.d.ts +54 -0
- package/dist/src/mcpl/tool-result-normalize.d.ts.map +1 -0
- package/dist/src/mcpl/tool-result-normalize.js +232 -0
- package/dist/src/mcpl/tool-result-normalize.js.map +1 -0
- package/dist/src/mcpl/transport.d.ts +104 -12
- package/dist/src/mcpl/transport.d.ts.map +1 -1
- package/dist/src/mcpl/transport.js +315 -85
- package/dist/src/mcpl/transport.js.map +1 -1
- package/dist/src/mcpl/types.d.ts +76 -19
- package/dist/src/mcpl/types.d.ts.map +1 -1
- package/dist/src/mcpl/types.js.map +1 -1
- package/dist/src/mcpl/visible-content.d.ts +16 -0
- package/dist/src/mcpl/visible-content.d.ts.map +1 -1
- package/dist/src/mcpl/visible-content.js +26 -0
- package/dist/src/mcpl/visible-content.js.map +1 -1
- package/dist/src/module-registry.d.ts +34 -6
- package/dist/src/module-registry.d.ts.map +1 -1
- package/dist/src/module-registry.js +119 -31
- package/dist/src/module-registry.js.map +1 -1
- package/dist/src/modules/api/index.d.ts +1 -1
- package/dist/src/modules/api/index.d.ts.map +1 -1
- package/dist/src/modules/api/index.js +3 -2
- package/dist/src/modules/api/index.js.map +1 -1
- package/dist/src/modules/discord/discord-js-client.d.ts +43 -2
- package/dist/src/modules/discord/discord-js-client.d.ts.map +1 -1
- package/dist/src/modules/discord/discord-js-client.js +286 -67
- package/dist/src/modules/discord/discord-js-client.js.map +1 -1
- package/dist/src/modules/discord/index.d.ts +53 -5
- package/dist/src/modules/discord/index.d.ts.map +1 -1
- package/dist/src/modules/discord/index.js +712 -186
- package/dist/src/modules/discord/index.js.map +1 -1
- package/dist/src/modules/discord/refusal.d.ts +14 -0
- package/dist/src/modules/discord/refusal.d.ts.map +1 -0
- package/dist/src/modules/discord/refusal.js +14 -0
- package/dist/src/modules/discord/refusal.js.map +1 -0
- package/dist/src/modules/discord/types.d.ts +27 -4
- package/dist/src/modules/discord/types.d.ts.map +1 -1
- package/dist/src/modules/health/index.d.ts.map +1 -1
- package/dist/src/modules/health/index.js +8 -3
- package/dist/src/modules/health/index.js.map +1 -1
- package/dist/src/modules/history/index.d.ts +3 -1
- package/dist/src/modules/history/index.d.ts.map +1 -1
- package/dist/src/modules/history/index.js +359 -127
- package/dist/src/modules/history/index.js.map +1 -1
- package/dist/src/modules/history/semantic.d.ts +28 -1
- package/dist/src/modules/history/semantic.d.ts.map +1 -1
- package/dist/src/modules/history/semantic.js +177 -32
- package/dist/src/modules/history/semantic.js.map +1 -1
- package/dist/src/modules/index.d.ts +1 -1
- package/dist/src/modules/index.d.ts.map +1 -1
- package/dist/src/modules/index.js +1 -1
- package/dist/src/modules/index.js.map +1 -1
- package/dist/src/modules/unknown-tool.d.ts +10 -0
- package/dist/src/modules/unknown-tool.d.ts.map +1 -0
- package/dist/src/modules/unknown-tool.js +17 -0
- package/dist/src/modules/unknown-tool.js.map +1 -0
- package/dist/src/modules/workspace/disk-agreement.d.ts +57 -4
- package/dist/src/modules/workspace/disk-agreement.d.ts.map +1 -1
- package/dist/src/modules/workspace/disk-agreement.js +75 -7
- package/dist/src/modules/workspace/disk-agreement.js.map +1 -1
- package/dist/src/modules/workspace/effects.d.ts +66 -7
- package/dist/src/modules/workspace/effects.d.ts.map +1 -1
- package/dist/src/modules/workspace/effects.js +303 -46
- package/dist/src/modules/workspace/effects.js.map +1 -1
- package/dist/src/modules/workspace/index.d.ts +313 -45
- package/dist/src/modules/workspace/index.d.ts.map +1 -1
- package/dist/src/modules/workspace/index.js +1404 -304
- package/dist/src/modules/workspace/index.js.map +1 -1
- package/dist/src/modules/workspace/observe.d.ts +315 -16
- package/dist/src/modules/workspace/observe.d.ts.map +1 -1
- package/dist/src/modules/workspace/observe.js +727 -37
- package/dist/src/modules/workspace/observe.js.map +1 -1
- package/dist/src/modules/workspace/reconcile.d.ts +58 -7
- package/dist/src/modules/workspace/reconcile.d.ts.map +1 -1
- package/dist/src/modules/workspace/reconcile.js +521 -56
- package/dist/src/modules/workspace/reconcile.js.map +1 -1
- package/dist/src/modules/workspace/types.d.ts +28 -5
- package/dist/src/modules/workspace/types.d.ts.map +1 -1
- package/dist/src/modules/workspace/types.js.map +1 -1
- package/dist/src/modules/workspace/watcher.d.ts +49 -2
- package/dist/src/modules/workspace/watcher.d.ts.map +1 -1
- package/dist/src/modules/workspace/watcher.js +158 -29
- package/dist/src/modules/workspace/watcher.js.map +1 -1
- package/dist/src/prose-drafts.d.ts +240 -0
- package/dist/src/prose-drafts.d.ts.map +1 -0
- package/dist/src/prose-drafts.js +362 -0
- package/dist/src/prose-drafts.js.map +1 -0
- package/dist/src/prose-segments.d.ts +21 -2
- package/dist/src/prose-segments.d.ts.map +1 -1
- package/dist/src/prose-segments.js +46 -9
- package/dist/src/prose-segments.js.map +1 -1
- package/dist/src/recovery/offline-branch.d.ts +1 -0
- package/dist/src/recovery/offline-branch.d.ts.map +1 -1
- package/dist/src/recovery/offline-branch.js +3 -1
- package/dist/src/recovery/offline-branch.js.map +1 -1
- package/dist/src/safe-slice.d.ts +5 -1
- package/dist/src/safe-slice.d.ts.map +1 -1
- package/dist/src/safe-slice.js +9 -1
- package/dist/src/safe-slice.js.map +1 -1
- package/dist/src/silent-heartbeat.d.ts +112 -39
- package/dist/src/silent-heartbeat.d.ts.map +1 -1
- package/dist/src/silent-heartbeat.js +100 -29
- package/dist/src/silent-heartbeat.js.map +1 -1
- package/dist/src/tool-args.d.ts +40 -0
- package/dist/src/tool-args.d.ts.map +1 -0
- package/dist/src/tool-args.js +207 -0
- package/dist/src/tool-args.js.map +1 -0
- package/dist/src/tool-image-ledger.d.ts +87 -19
- package/dist/src/tool-image-ledger.d.ts.map +1 -1
- package/dist/src/tool-image-ledger.js +135 -32
- package/dist/src/tool-image-ledger.js.map +1 -1
- package/dist/src/tool-presentation.d.ts +9 -0
- package/dist/src/tool-presentation.d.ts.map +1 -1
- package/dist/src/tool-presentation.js +266 -62
- package/dist/src/tool-presentation.js.map +1 -1
- package/dist/src/tool-result-guard.d.ts.map +1 -1
- package/dist/src/tool-result-guard.js +7 -10
- package/dist/src/tool-result-guard.js.map +1 -1
- package/dist/src/tool-result-history.d.ts +32 -3
- package/dist/src/tool-result-history.d.ts.map +1 -1
- package/dist/src/tool-result-history.js +106 -19
- package/dist/src/tool-result-history.js.map +1 -1
- package/dist/src/tune-out/coordinator.d.ts +25 -1
- package/dist/src/tune-out/coordinator.d.ts.map +1 -1
- package/dist/src/tune-out/coordinator.js +260 -65
- package/dist/src/tune-out/coordinator.js.map +1 -1
- package/dist/src/types/agent.d.ts +44 -22
- package/dist/src/types/agent.d.ts.map +1 -1
- package/dist/src/types/events.d.ts +25 -0
- package/dist/src/types/events.d.ts.map +1 -1
- package/dist/src/types/framework.d.ts +38 -7
- package/dist/src/types/framework.d.ts.map +1 -1
- package/dist/src/types/inference-log.d.ts +1 -1
- package/dist/src/types/inference-log.d.ts.map +1 -1
- package/dist/src/types/module.d.ts +77 -14
- package/dist/src/types/module.d.ts.map +1 -1
- package/dist/src/types/trace.d.ts +97 -8
- package/dist/src/types/trace.d.ts.map +1 -1
- package/dist/src/usage/usage-tracker.d.ts +5 -0
- package/dist/src/usage/usage-tracker.d.ts.map +1 -1
- package/dist/src/usage/usage-tracker.js +35 -8
- package/dist/src/usage/usage-tracker.js.map +1 -1
- package/package.json +5 -4
- package/src/agent.ts +257 -72
- package/src/api/mcp-server-core.ts +1 -1
- package/src/api/server.ts +4 -1
- package/src/api/types.ts +1 -1
- package/src/branch-names.ts +19 -0
- package/src/closest-names.ts +94 -0
- package/src/code-execution/index.ts +1 -0
- package/src/code-execution/py-runner.ts +304 -93
- package/src/code-execution/runtime-py.ts +94 -8
- package/src/code-execution/tool-definition.ts +85 -7
- package/src/config-checks.ts +50 -0
- package/src/deadline-timer.ts +44 -0
- package/src/error-message.ts +48 -0
- package/src/framework.ts +8625 -1984
- package/src/gate/event-gate.ts +38 -5
- package/src/held-writes.ts +59 -0
- package/src/index.ts +29 -5
- package/src/mcpl/capability-grant.ts +1 -1
- package/src/mcpl/channel-registry.ts +1095 -411
- package/src/mcpl/checkpoint-manager.ts +104 -29
- package/src/mcpl/conversation-router.ts +28 -8
- package/src/mcpl/convert-block.ts +105 -0
- package/src/mcpl/errors.ts +28 -0
- package/src/mcpl/hook-orchestrator.ts +84 -77
- package/src/mcpl/inbound-source.ts +156 -0
- package/src/mcpl/index.ts +23 -1
- package/src/mcpl/inference-router.ts +179 -103
- package/src/mcpl/log-value.ts +10 -0
- package/src/mcpl/modern-connection.ts +1182 -0
- package/src/mcpl/prefix-rule.ts +32 -0
- package/src/mcpl/protocol-family.ts +691 -0
- package/src/mcpl/push-coalescer.ts +110 -36
- package/src/mcpl/push-handler.ts +20 -90
- package/src/mcpl/reference-fetcher.ts +318 -67
- package/src/mcpl/references.ts +183 -34
- package/src/mcpl/server-connection.ts +1404 -280
- package/src/mcpl/server-registry.ts +63 -14
- package/src/mcpl/skip-reply-wake.ts +73 -0
- package/src/mcpl/tool-result-normalize.ts +294 -0
- package/src/mcpl/transport.ts +320 -76
- package/src/mcpl/types.ts +77 -19
- package/src/mcpl/visible-content.ts +28 -0
- package/src/module-registry.ts +126 -36
- package/src/modules/api/index.ts +3 -2
- package/src/modules/discord/discord-js-client.ts +306 -74
- package/src/modules/discord/index.ts +737 -201
- package/src/modules/discord/refusal.ts +13 -0
- package/src/modules/discord/types.ts +27 -6
- package/src/modules/health/index.ts +8 -3
- package/src/modules/history/index.ts +410 -120
- package/src/modules/history/semantic.ts +189 -32
- package/src/modules/index.ts +1 -1
- package/src/modules/unknown-tool.ts +16 -0
- package/src/modules/workspace/disk-agreement.ts +97 -8
- package/src/modules/workspace/effects.ts +291 -36
- package/src/modules/workspace/index.ts +1469 -321
- package/src/modules/workspace/observe.ts +784 -41
- package/src/modules/workspace/reconcile.ts +619 -64
- package/src/modules/workspace/types.ts +28 -5
- package/src/modules/workspace/watcher.ts +154 -30
- package/src/prose-drafts.ts +481 -0
- package/src/prose-segments.ts +51 -8
- package/src/recovery/offline-branch.ts +4 -1
- package/src/safe-slice.ts +9 -1
- package/src/silent-heartbeat.ts +184 -59
- package/src/tool-args.ts +213 -0
- package/src/tool-image-ledger.ts +153 -34
- package/src/tool-presentation.ts +233 -42
- package/src/tool-result-guard.ts +7 -8
- package/src/tool-result-history.ts +124 -20
- package/src/tune-out/coordinator.ts +259 -65
- package/src/types/agent.ts +44 -24
- package/src/types/events.ts +25 -0
- package/src/types/framework.ts +38 -7
- package/src/types/inference-log.ts +1 -1
- package/src/types/module.ts +79 -14
- package/src/types/trace.ts +103 -8
- package/src/usage/usage-tracker.ts +32 -8
- package/dist/test/activation-request-sanitize.test.d.ts +0 -2
- package/dist/test/activation-request-sanitize.test.d.ts.map +0 -1
- package/dist/test/activation-request-sanitize.test.js +0 -89
- package/dist/test/activation-request-sanitize.test.js.map +0 -1
- package/dist/test/agent-cache-ttl.test.d.ts +0 -2
- package/dist/test/agent-cache-ttl.test.d.ts.map +0 -1
- package/dist/test/agent-cache-ttl.test.js +0 -41
- package/dist/test/agent-cache-ttl.test.js.map +0 -1
- package/dist/test/agent-runtime-settings.test.d.ts +0 -2
- package/dist/test/agent-runtime-settings.test.d.ts.map +0 -1
- package/dist/test/agent-runtime-settings.test.js +0 -1598
- package/dist/test/agent-runtime-settings.test.js.map +0 -1
- package/dist/test/api-admin-gate.test.d.ts +0 -2
- package/dist/test/api-admin-gate.test.d.ts.map +0 -1
- package/dist/test/api-admin-gate.test.js +0 -116
- package/dist/test/api-admin-gate.test.js.map +0 -1
- package/dist/test/assistant-persist-refusal.test.d.ts +0 -2
- package/dist/test/assistant-persist-refusal.test.d.ts.map +0 -1
- package/dist/test/assistant-persist-refusal.test.js +0 -63
- package/dist/test/assistant-persist-refusal.test.js.map +0 -1
- package/dist/test/batched-wake-locus.test.d.ts +0 -2
- package/dist/test/batched-wake-locus.test.d.ts.map +0 -1
- package/dist/test/batched-wake-locus.test.js +0 -166
- package/dist/test/batched-wake-locus.test.js.map +0 -1
- package/dist/test/busy-agent-scheduler.test.d.ts +0 -2
- package/dist/test/busy-agent-scheduler.test.d.ts.map +0 -1
- package/dist/test/busy-agent-scheduler.test.js +0 -92
- package/dist/test/busy-agent-scheduler.test.js.map +0 -1
- package/dist/test/channel-incoming-targeting.test.d.ts +0 -2
- package/dist/test/channel-incoming-targeting.test.d.ts.map +0 -1
- package/dist/test/channel-incoming-targeting.test.js +0 -81
- package/dist/test/channel-incoming-targeting.test.js.map +0 -1
- package/dist/test/channel-label-history.test.d.ts +0 -2
- package/dist/test/channel-label-history.test.d.ts.map +0 -1
- package/dist/test/channel-label-history.test.js +0 -424
- package/dist/test/channel-label-history.test.js.map +0 -1
- package/dist/test/channel-lifecycle-provenance.test.d.ts +0 -2
- package/dist/test/channel-lifecycle-provenance.test.d.ts.map +0 -1
- package/dist/test/channel-lifecycle-provenance.test.js +0 -47
- package/dist/test/channel-lifecycle-provenance.test.js.map +0 -1
- package/dist/test/channel-registry-routing.test.d.ts +0 -2
- package/dist/test/channel-registry-routing.test.d.ts.map +0 -1
- package/dist/test/channel-registry-routing.test.js +0 -446
- package/dist/test/channel-registry-routing.test.js.map +0 -1
- package/dist/test/channel-registry-typing.test.d.ts +0 -2
- package/dist/test/channel-registry-typing.test.d.ts.map +0 -1
- package/dist/test/channel-registry-typing.test.js +0 -91
- package/dist/test/channel-registry-typing.test.js.map +0 -1
- package/dist/test/channels-changed-respond-first.test.d.ts +0 -2
- package/dist/test/channels-changed-respond-first.test.d.ts.map +0 -1
- package/dist/test/channels-changed-respond-first.test.js +0 -74
- package/dist/test/channels-changed-respond-first.test.js.map +0 -1
- package/dist/test/checkpoint-attribution.test.d.ts +0 -2
- package/dist/test/checkpoint-attribution.test.d.ts.map +0 -1
- package/dist/test/checkpoint-attribution.test.js +0 -200
- package/dist/test/checkpoint-attribution.test.js.map +0 -1
- package/dist/test/code-execution.test.d.ts +0 -11
- package/dist/test/code-execution.test.d.ts.map +0 -1
- package/dist/test/code-execution.test.js +0 -1272
- package/dist/test/code-execution.test.js.map +0 -1
- package/dist/test/component-defaults.test.d.ts +0 -2
- package/dist/test/component-defaults.test.d.ts.map +0 -1
- package/dist/test/component-defaults.test.js +0 -54
- package/dist/test/component-defaults.test.js.map +0 -1
- package/dist/test/conversation-fork-injection-scoping.test.d.ts +0 -2
- package/dist/test/conversation-fork-injection-scoping.test.d.ts.map +0 -1
- package/dist/test/conversation-fork-injection-scoping.test.js +0 -200
- package/dist/test/conversation-fork-injection-scoping.test.js.map +0 -1
- package/dist/test/conversation-router.test.d.ts +0 -2
- package/dist/test/conversation-router.test.d.ts.map +0 -1
- package/dist/test/conversation-router.test.js +0 -174
- package/dist/test/conversation-router.test.js.map +0 -1
- package/dist/test/conversation-routing.test.d.ts +0 -7
- package/dist/test/conversation-routing.test.d.ts.map +0 -1
- package/dist/test/conversation-routing.test.js +0 -621
- package/dist/test/conversation-routing.test.js.map +0 -1
- package/dist/test/deferred-wake-integrity.test.d.ts +0 -29
- package/dist/test/deferred-wake-integrity.test.d.ts.map +0 -1
- package/dist/test/deferred-wake-integrity.test.js +0 -320
- package/dist/test/deferred-wake-integrity.test.js.map +0 -1
- package/dist/test/discord-awareness-outbox.test.d.ts +0 -2
- package/dist/test/discord-awareness-outbox.test.d.ts.map +0 -1
- package/dist/test/discord-awareness-outbox.test.js +0 -371
- package/dist/test/discord-awareness-outbox.test.js.map +0 -1
- package/dist/test/discord-history-delete-window.test.d.ts +0 -2
- package/dist/test/discord-history-delete-window.test.d.ts.map +0 -1
- package/dist/test/discord-history-delete-window.test.js +0 -81
- package/dist/test/discord-history-delete-window.test.js.map +0 -1
- package/dist/test/discord-history-sync.test.d.ts +0 -2
- package/dist/test/discord-history-sync.test.d.ts.map +0 -1
- package/dist/test/discord-history-sync.test.js +0 -56
- package/dist/test/discord-history-sync.test.js.map +0 -1
- package/dist/test/discord-typing-keepalive.test.d.ts +0 -2
- package/dist/test/discord-typing-keepalive.test.d.ts.map +0 -1
- package/dist/test/discord-typing-keepalive.test.js +0 -77
- package/dist/test/discord-typing-keepalive.test.js.map +0 -1
- package/dist/test/ephemeral-settle.test.d.ts +0 -2
- package/dist/test/ephemeral-settle.test.d.ts.map +0 -1
- package/dist/test/ephemeral-settle.test.js +0 -354
- package/dist/test/ephemeral-settle.test.js.map +0 -1
- package/dist/test/event-gate-passthrough.test.d.ts +0 -15
- package/dist/test/event-gate-passthrough.test.d.ts.map +0 -1
- package/dist/test/event-gate-passthrough.test.js +0 -289
- package/dist/test/event-gate-passthrough.test.js.map +0 -1
- package/dist/test/event-gate-policy-mutation.test.d.ts +0 -2
- package/dist/test/event-gate-policy-mutation.test.d.ts.map +0 -1
- package/dist/test/event-gate-policy-mutation.test.js +0 -137
- package/dist/test/event-gate-policy-mutation.test.js.map +0 -1
- package/dist/test/event-gate-rate-limit.test.d.ts +0 -2
- package/dist/test/event-gate-rate-limit.test.d.ts.map +0 -1
- package/dist/test/event-gate-rate-limit.test.js +0 -627
- package/dist/test/event-gate-rate-limit.test.js.map +0 -1
- package/dist/test/event-gate-script.test.d.ts +0 -2
- package/dist/test/event-gate-script.test.d.ts.map +0 -1
- package/dist/test/event-gate-script.test.js +0 -95
- package/dist/test/event-gate-script.test.js.map +0 -1
- package/dist/test/event-gate-selfwake.test.d.ts +0 -15
- package/dist/test/event-gate-selfwake.test.d.ts.map +0 -1
- package/dist/test/event-gate-selfwake.test.js +0 -125
- package/dist/test/event-gate-selfwake.test.js.map +0 -1
- package/dist/test/event-gate-tags.test.d.ts +0 -2
- package/dist/test/event-gate-tags.test.d.ts.map +0 -1
- package/dist/test/event-gate-tags.test.js +0 -76
- package/dist/test/event-gate-tags.test.js.map +0 -1
- package/dist/test/event-gate.test.d.ts +0 -2
- package/dist/test/event-gate.test.d.ts.map +0 -1
- package/dist/test/event-gate.test.js +0 -919
- package/dist/test/event-gate.test.js.map +0 -1
- package/dist/test/explicit-prose-routing.test.d.ts +0 -11
- package/dist/test/explicit-prose-routing.test.d.ts.map +0 -1
- package/dist/test/explicit-prose-routing.test.js +0 -1715
- package/dist/test/explicit-prose-routing.test.js.map +0 -1
- package/dist/test/framework.test.d.ts +0 -5
- package/dist/test/framework.test.d.ts.map +0 -1
- package/dist/test/framework.test.js +0 -1048
- package/dist/test/framework.test.js.map +0 -1
- package/dist/test/gather-context-timeout.test.d.ts +0 -2
- package/dist/test/gather-context-timeout.test.d.ts.map +0 -1
- package/dist/test/gather-context-timeout.test.js +0 -120
- package/dist/test/gather-context-timeout.test.js.map +0 -1
- package/dist/test/health-snapshot.test.d.ts +0 -2
- package/dist/test/health-snapshot.test.d.ts.map +0 -1
- package/dist/test/health-snapshot.test.js +0 -74
- package/dist/test/health-snapshot.test.js.map +0 -1
- package/dist/test/helpers/coalescing-fixture.d.ts +0 -74
- package/dist/test/helpers/coalescing-fixture.d.ts.map +0 -1
- package/dist/test/helpers/coalescing-fixture.js +0 -152
- package/dist/test/helpers/coalescing-fixture.js.map +0 -1
- package/dist/test/helpers/coalescing-kill-child.d.ts +0 -2
- package/dist/test/helpers/coalescing-kill-child.d.ts.map +0 -1
- package/dist/test/helpers/coalescing-kill-child.js +0 -24
- package/dist/test/helpers/coalescing-kill-child.js.map +0 -1
- package/dist/test/helpers/mock-membrane.d.ts +0 -53
- package/dist/test/helpers/mock-membrane.d.ts.map +0 -1
- package/dist/test/helpers/mock-membrane.js +0 -168
- package/dist/test/helpers/mock-membrane.js.map +0 -1
- package/dist/test/helpers/pytc-stop-rows.d.ts +0 -11
- package/dist/test/helpers/pytc-stop-rows.d.ts.map +0 -1
- package/dist/test/helpers/pytc-stop-rows.js +0 -143
- package/dist/test/helpers/pytc-stop-rows.js.map +0 -1
- package/dist/test/helpers/quiesce-crash-child.d.ts +0 -2
- package/dist/test/helpers/quiesce-crash-child.d.ts.map +0 -1
- package/dist/test/helpers/quiesce-crash-child.js +0 -156
- package/dist/test/helpers/quiesce-crash-child.js.map +0 -1
- package/dist/test/hide-then-turn.test.d.ts +0 -2
- package/dist/test/hide-then-turn.test.d.ts.map +0 -1
- package/dist/test/hide-then-turn.test.js +0 -101
- package/dist/test/hide-then-turn.test.js.map +0 -1
- package/dist/test/history-module-overview.test.d.ts +0 -2
- package/dist/test/history-module-overview.test.d.ts.map +0 -1
- package/dist/test/history-module-overview.test.js +0 -711
- package/dist/test/history-module-overview.test.js.map +0 -1
- package/dist/test/history-module-realstore.test.d.ts +0 -2
- package/dist/test/history-module-realstore.test.d.ts.map +0 -1
- package/dist/test/history-module-realstore.test.js +0 -363
- package/dist/test/history-module-realstore.test.js.map +0 -1
- package/dist/test/history-module-semantic.test.d.ts +0 -2
- package/dist/test/history-module-semantic.test.d.ts.map +0 -1
- package/dist/test/history-module-semantic.test.js +0 -213
- package/dist/test/history-module-semantic.test.js.map +0 -1
- package/dist/test/history-module-ux.test.d.ts +0 -2
- package/dist/test/history-module-ux.test.d.ts.map +0 -1
- package/dist/test/history-module-ux.test.js +0 -304
- package/dist/test/history-module-ux.test.js.map +0 -1
- package/dist/test/history-module.test.d.ts +0 -2
- package/dist/test/history-module.test.d.ts.map +0 -1
- package/dist/test/history-module.test.js +0 -619
- package/dist/test/history-module.test.js.map +0 -1
- package/dist/test/history-semantic-review-findings.test.d.ts +0 -2
- package/dist/test/history-semantic-review-findings.test.d.ts.map +0 -1
- package/dist/test/history-semantic-review-findings.test.js +0 -338
- package/dist/test/history-semantic-review-findings.test.js.map +0 -1
- package/dist/test/history-semantic-sync-converges.test.d.ts +0 -2
- package/dist/test/history-semantic-sync-converges.test.d.ts.map +0 -1
- package/dist/test/history-semantic-sync-converges.test.js +0 -109
- package/dist/test/history-semantic-sync-converges.test.js.map +0 -1
- package/dist/test/host-quiesce.test.d.ts +0 -2
- package/dist/test/host-quiesce.test.d.ts.map +0 -1
- package/dist/test/host-quiesce.test.js +0 -988
- package/dist/test/host-quiesce.test.js.map +0 -1
- package/dist/test/inference-exhaustion-rewind.test.d.ts +0 -2
- package/dist/test/inference-exhaustion-rewind.test.d.ts.map +0 -1
- package/dist/test/inference-exhaustion-rewind.test.js +0 -387
- package/dist/test/inference-exhaustion-rewind.test.js.map +0 -1
- package/dist/test/inference-failure-bounds.test.d.ts +0 -2
- package/dist/test/inference-failure-bounds.test.d.ts.map +0 -1
- package/dist/test/inference-failure-bounds.test.js +0 -1202
- package/dist/test/inference-failure-bounds.test.js.map +0 -1
- package/dist/test/inference-failure-observability.test.d.ts +0 -2
- package/dist/test/inference-failure-observability.test.d.ts.map +0 -1
- package/dist/test/inference-failure-observability.test.js +0 -84
- package/dist/test/inference-failure-observability.test.js.map +0 -1
- package/dist/test/journal-tool.test.d.ts +0 -2
- package/dist/test/journal-tool.test.d.ts.map +0 -1
- package/dist/test/journal-tool.test.js +0 -33
- package/dist/test/journal-tool.test.js.map +0 -1
- package/dist/test/kv-unified-open-flight-retry.test.d.ts +0 -2
- package/dist/test/kv-unified-open-flight-retry.test.d.ts.map +0 -1
- package/dist/test/kv-unified-open-flight-retry.test.js +0 -189
- package/dist/test/kv-unified-open-flight-retry.test.js.map +0 -1
- package/dist/test/kv-unified-wiring.test.d.ts +0 -2
- package/dist/test/kv-unified-wiring.test.d.ts.map +0 -1
- package/dist/test/kv-unified-wiring.test.js +0 -95
- package/dist/test/kv-unified-wiring.test.js.map +0 -1
- package/dist/test/late-events-after-stop.test.d.ts +0 -2
- package/dist/test/late-events-after-stop.test.d.ts.map +0 -1
- package/dist/test/late-events-after-stop.test.js +0 -122
- package/dist/test/late-events-after-stop.test.js.map +0 -1
- package/dist/test/liveness-watchdog.test.d.ts +0 -2
- package/dist/test/liveness-watchdog.test.d.ts.map +0 -1
- package/dist/test/liveness-watchdog.test.js +0 -94
- package/dist/test/liveness-watchdog.test.js.map +0 -1
- package/dist/test/machine-close-provenance.test.d.ts +0 -2
- package/dist/test/machine-close-provenance.test.d.ts.map +0 -1
- package/dist/test/machine-close-provenance.test.js +0 -116
- package/dist/test/machine-close-provenance.test.js.map +0 -1
- package/dist/test/maintenance-timer.test.d.ts +0 -2
- package/dist/test/maintenance-timer.test.d.ts.map +0 -1
- package/dist/test/maintenance-timer.test.js +0 -1827
- package/dist/test/maintenance-timer.test.js.map +0 -1
- package/dist/test/mcp-server-bin.test.d.ts +0 -2
- package/dist/test/mcp-server-bin.test.d.ts.map +0 -1
- package/dist/test/mcp-server-bin.test.js +0 -142
- package/dist/test/mcp-server-bin.test.js.map +0 -1
- package/dist/test/mcpl-access-provider.test.d.ts +0 -2
- package/dist/test/mcpl-access-provider.test.d.ts.map +0 -1
- package/dist/test/mcpl-access-provider.test.js +0 -20
- package/dist/test/mcpl-access-provider.test.js.map +0 -1
- package/dist/test/mcpl-awareness-barrier.test.d.ts +0 -2
- package/dist/test/mcpl-awareness-barrier.test.d.ts.map +0 -1
- package/dist/test/mcpl-awareness-barrier.test.js +0 -769
- package/dist/test/mcpl-awareness-barrier.test.js.map +0 -1
- package/dist/test/mcpl-capability-grant.test.d.ts +0 -10
- package/dist/test/mcpl-capability-grant.test.d.ts.map +0 -1
- package/dist/test/mcpl-capability-grant.test.js +0 -111
- package/dist/test/mcpl-capability-grant.test.js.map +0 -1
- package/dist/test/mcpl-capability-scoping.test.d.ts +0 -2
- package/dist/test/mcpl-capability-scoping.test.d.ts.map +0 -1
- package/dist/test/mcpl-capability-scoping.test.js +0 -266
- package/dist/test/mcpl-capability-scoping.test.js.map +0 -1
- package/dist/test/mcpl-child-env.test.d.ts +0 -2
- package/dist/test/mcpl-child-env.test.d.ts.map +0 -1
- package/dist/test/mcpl-child-env.test.js +0 -158
- package/dist/test/mcpl-child-env.test.js.map +0 -1
- package/dist/test/mcpl-coalesced-content-parity.test.d.ts +0 -2
- package/dist/test/mcpl-coalesced-content-parity.test.d.ts.map +0 -1
- package/dist/test/mcpl-coalesced-content-parity.test.js +0 -532
- package/dist/test/mcpl-coalesced-content-parity.test.js.map +0 -1
- package/dist/test/mcpl-coalescing.test.d.ts +0 -2
- package/dist/test/mcpl-coalescing.test.d.ts.map +0 -1
- package/dist/test/mcpl-coalescing.test.js +0 -1125
- package/dist/test/mcpl-coalescing.test.js.map +0 -1
- package/dist/test/mcpl-config-diagnostics.test.d.ts +0 -2
- package/dist/test/mcpl-config-diagnostics.test.d.ts.map +0 -1
- package/dist/test/mcpl-config-diagnostics.test.js +0 -452
- package/dist/test/mcpl-config-diagnostics.test.js.map +0 -1
- package/dist/test/mcpl-empty-content.test.d.ts +0 -2
- package/dist/test/mcpl-empty-content.test.d.ts.map +0 -1
- package/dist/test/mcpl-empty-content.test.js +0 -368
- package/dist/test/mcpl-empty-content.test.js.map +0 -1
- package/dist/test/mcpl-gate-roundtrip.test.d.ts +0 -2
- package/dist/test/mcpl-gate-roundtrip.test.d.ts.map +0 -1
- package/dist/test/mcpl-gate-roundtrip.test.js +0 -285
- package/dist/test/mcpl-gate-roundtrip.test.js.map +0 -1
- package/dist/test/mcpl-list-status.test.d.ts +0 -2
- package/dist/test/mcpl-list-status.test.d.ts.map +0 -1
- package/dist/test/mcpl-list-status.test.js +0 -82
- package/dist/test/mcpl-list-status.test.js.map +0 -1
- package/dist/test/mcpl-manifest-changed.test.d.ts +0 -2
- package/dist/test/mcpl-manifest-changed.test.d.ts.map +0 -1
- package/dist/test/mcpl-manifest-changed.test.js +0 -178
- package/dist/test/mcpl-manifest-changed.test.js.map +0 -1
- package/dist/test/mcpl-push-convert.test.d.ts +0 -2
- package/dist/test/mcpl-push-convert.test.d.ts.map +0 -1
- package/dist/test/mcpl-push-convert.test.js +0 -42
- package/dist/test/mcpl-push-convert.test.js.map +0 -1
- package/dist/test/mcpl-reconnect-events.test.d.ts +0 -2
- package/dist/test/mcpl-reconnect-events.test.d.ts.map +0 -1
- package/dist/test/mcpl-reconnect-events.test.js +0 -144
- package/dist/test/mcpl-reconnect-events.test.js.map +0 -1
- package/dist/test/mcpl-reconnect-reregistration.test.d.ts +0 -2
- package/dist/test/mcpl-reconnect-reregistration.test.d.ts.map +0 -1
- package/dist/test/mcpl-reconnect-reregistration.test.js +0 -238
- package/dist/test/mcpl-reconnect-reregistration.test.js.map +0 -1
- package/dist/test/mcpl-reference-fetcher.test.d.ts +0 -2
- package/dist/test/mcpl-reference-fetcher.test.d.ts.map +0 -1
- package/dist/test/mcpl-reference-fetcher.test.js +0 -427
- package/dist/test/mcpl-reference-fetcher.test.js.map +0 -1
- package/dist/test/mcpl-reference-fields.test.d.ts +0 -2
- package/dist/test/mcpl-reference-fields.test.d.ts.map +0 -1
- package/dist/test/mcpl-reference-fields.test.js +0 -149
- package/dist/test/mcpl-reference-fields.test.js.map +0 -1
- package/dist/test/mcpl-rejection-log-lines.test.d.ts +0 -2
- package/dist/test/mcpl-rejection-log-lines.test.d.ts.map +0 -1
- package/dist/test/mcpl-rejection-log-lines.test.js +0 -349
- package/dist/test/mcpl-rejection-log-lines.test.js.map +0 -1
- package/dist/test/mcpl-request-timeout.test.d.ts +0 -2
- package/dist/test/mcpl-request-timeout.test.d.ts.map +0 -1
- package/dist/test/mcpl-request-timeout.test.js +0 -138
- package/dist/test/mcpl-request-timeout.test.js.map +0 -1
- package/dist/test/mcpl-runtime-lifecycle.test.d.ts +0 -7
- package/dist/test/mcpl-runtime-lifecycle.test.d.ts.map +0 -1
- package/dist/test/mcpl-runtime-lifecycle.test.js +0 -142
- package/dist/test/mcpl-runtime-lifecycle.test.js.map +0 -1
- package/dist/test/mcpl-stderr-tail.test.d.ts +0 -2
- package/dist/test/mcpl-stderr-tail.test.d.ts.map +0 -1
- package/dist/test/mcpl-stderr-tail.test.js +0 -210
- package/dist/test/mcpl-stderr-tail.test.js.map +0 -1
- package/dist/test/mcpl-tool-class-listing.test.d.ts +0 -2
- package/dist/test/mcpl-tool-class-listing.test.d.ts.map +0 -1
- package/dist/test/mcpl-tool-class-listing.test.js +0 -147
- package/dist/test/mcpl-tool-class-listing.test.js.map +0 -1
- package/dist/test/mcpl-tool-classes.test.d.ts +0 -7
- package/dist/test/mcpl-tool-classes.test.d.ts.map +0 -1
- package/dist/test/mcpl-tool-classes.test.js +0 -80
- package/dist/test/mcpl-tool-classes.test.js.map +0 -1
- package/dist/test/mcpl-tool-lifecycle-e2e.test.d.ts +0 -2
- package/dist/test/mcpl-tool-lifecycle-e2e.test.d.ts.map +0 -1
- package/dist/test/mcpl-tool-lifecycle-e2e.test.js +0 -237
- package/dist/test/mcpl-tool-lifecycle-e2e.test.js.map +0 -1
- package/dist/test/mcpl-tool-lifecycle-emitter.test.d.ts +0 -11
- package/dist/test/mcpl-tool-lifecycle-emitter.test.d.ts.map +0 -1
- package/dist/test/mcpl-tool-lifecycle-emitter.test.js +0 -412
- package/dist/test/mcpl-tool-lifecycle-emitter.test.js.map +0 -1
- package/dist/test/mcpl-tool-lifecycle-script.test.d.ts +0 -2
- package/dist/test/mcpl-tool-lifecycle-script.test.d.ts.map +0 -1
- package/dist/test/mcpl-tool-lifecycle-script.test.js +0 -288
- package/dist/test/mcpl-tool-lifecycle-script.test.js.map +0 -1
- package/dist/test/mcpl-tool-lifecycle.test.d.ts +0 -11
- package/dist/test/mcpl-tool-lifecycle.test.d.ts.map +0 -1
- package/dist/test/mcpl-tool-lifecycle.test.js +0 -270
- package/dist/test/mcpl-tool-lifecycle.test.js.map +0 -1
- package/dist/test/mcpl-transport-close.test.d.ts +0 -2
- package/dist/test/mcpl-transport-close.test.d.ts.map +0 -1
- package/dist/test/mcpl-transport-close.test.js +0 -373
- package/dist/test/mcpl-transport-close.test.js.map +0 -1
- package/dist/test/mcpl-transport-spawn.test.d.ts +0 -2
- package/dist/test/mcpl-transport-spawn.test.d.ts.map +0 -1
- package/dist/test/mcpl-transport-spawn.test.js +0 -58
- package/dist/test/mcpl-transport-spawn.test.js.map +0 -1
- package/dist/test/mcpl-ws-transport.test.d.ts +0 -2
- package/dist/test/mcpl-ws-transport.test.d.ts.map +0 -1
- package/dist/test/mcpl-ws-transport.test.js +0 -259
- package/dist/test/mcpl-ws-transport.test.js.map +0 -1
- package/dist/test/module-context-integration.test.d.ts +0 -18
- package/dist/test/module-context-integration.test.d.ts.map +0 -1
- package/dist/test/module-context-integration.test.js +0 -181
- package/dist/test/module-context-integration.test.js.map +0 -1
- package/dist/test/offline-recovery-branch.test.d.ts +0 -2
- package/dist/test/offline-recovery-branch.test.d.ts.map +0 -1
- package/dist/test/offline-recovery-branch.test.js +0 -570
- package/dist/test/offline-recovery-branch.test.js.map +0 -1
- package/dist/test/operator-surgery.test.d.ts +0 -2
- package/dist/test/operator-surgery.test.d.ts.map +0 -1
- package/dist/test/operator-surgery.test.js +0 -595
- package/dist/test/operator-surgery.test.js.map +0 -1
- package/dist/test/ops-alert.test.d.ts +0 -2
- package/dist/test/ops-alert.test.d.ts.map +0 -1
- package/dist/test/ops-alert.test.js +0 -153
- package/dist/test/ops-alert.test.js.map +0 -1
- package/dist/test/overbudget-drain-breaker.test.d.ts +0 -2
- package/dist/test/overbudget-drain-breaker.test.d.ts.map +0 -1
- package/dist/test/overbudget-drain-breaker.test.js +0 -198
- package/dist/test/overbudget-drain-breaker.test.js.map +0 -1
- package/dist/test/pack-installs-alone.test.d.ts +0 -2
- package/dist/test/pack-installs-alone.test.d.ts.map +0 -1
- package/dist/test/pack-installs-alone.test.js +0 -284
- package/dist/test/pack-installs-alone.test.js.map +0 -1
- package/dist/test/per-agent-delivery.test.d.ts +0 -2
- package/dist/test/per-agent-delivery.test.d.ts.map +0 -1
- package/dist/test/per-agent-delivery.test.js +0 -108
- package/dist/test/per-agent-delivery.test.js.map +0 -1
- package/dist/test/physical-window-restart.test.d.ts +0 -16
- package/dist/test/physical-window-restart.test.d.ts.map +0 -1
- package/dist/test/physical-window-restart.test.js +0 -487
- package/dist/test/physical-window-restart.test.js.map +0 -1
- package/dist/test/placed-reaction-baseline.test.d.ts +0 -2
- package/dist/test/placed-reaction-baseline.test.d.ts.map +0 -1
- package/dist/test/placed-reaction-baseline.test.js +0 -312
- package/dist/test/placed-reaction-baseline.test.js.map +0 -1
- package/dist/test/present-while-acting.test.d.ts +0 -19
- package/dist/test/present-while-acting.test.d.ts.map +0 -1
- package/dist/test/present-while-acting.test.js +0 -1649
- package/dist/test/present-while-acting.test.js.map +0 -1
- package/dist/test/prose-segments.test.d.ts +0 -2
- package/dist/test/prose-segments.test.d.ts.map +0 -1
- package/dist/test/prose-segments.test.js +0 -52
- package/dist/test/prose-segments.test.js.map +0 -1
- package/dist/test/prose-stream-router.test.d.ts +0 -2
- package/dist/test/prose-stream-router.test.d.ts.map +0 -1
- package/dist/test/prose-stream-router.test.js +0 -171
- package/dist/test/prose-stream-router.test.js.map +0 -1
- package/dist/test/provider-acceleration-cooldown.test.d.ts +0 -2
- package/dist/test/provider-acceleration-cooldown.test.d.ts.map +0 -1
- package/dist/test/provider-acceleration-cooldown.test.js +0 -435
- package/dist/test/provider-acceleration-cooldown.test.js.map +0 -1
- package/dist/test/provider-waits.test.d.ts +0 -2
- package/dist/test/provider-waits.test.d.ts.map +0 -1
- package/dist/test/provider-waits.test.js +0 -2259
- package/dist/test/provider-waits.test.js.map +0 -1
- package/dist/test/puppet-tool-call.test.d.ts +0 -2
- package/dist/test/puppet-tool-call.test.d.ts.map +0 -1
- package/dist/test/puppet-tool-call.test.js +0 -226
- package/dist/test/puppet-tool-call.test.js.map +0 -1
- package/dist/test/puppet-turn-reservation.test.d.ts +0 -2
- package/dist/test/puppet-turn-reservation.test.d.ts.map +0 -1
- package/dist/test/puppet-turn-reservation.test.js +0 -139
- package/dist/test/puppet-turn-reservation.test.js.map +0 -1
- package/dist/test/reaction-baseline-platform.test.d.ts +0 -2
- package/dist/test/reaction-baseline-platform.test.d.ts.map +0 -1
- package/dist/test/reaction-baseline-platform.test.js +0 -124
- package/dist/test/reaction-baseline-platform.test.js.map +0 -1
- package/dist/test/record-journal.test.d.ts +0 -6
- package/dist/test/record-journal.test.d.ts.map +0 -1
- package/dist/test/record-journal.test.js +0 -269
- package/dist/test/record-journal.test.js.map +0 -1
- package/dist/test/refusal-reaction-baseline.test.d.ts +0 -2
- package/dist/test/refusal-reaction-baseline.test.d.ts.map +0 -1
- package/dist/test/refusal-reaction-baseline.test.js +0 -81
- package/dist/test/refusal-reaction-baseline.test.js.map +0 -1
- package/dist/test/refusal-rewind.test.d.ts +0 -2
- package/dist/test/refusal-rewind.test.d.ts.map +0 -1
- package/dist/test/refusal-rewind.test.js +0 -117
- package/dist/test/refusal-rewind.test.js.map +0 -1
- package/dist/test/refusal-single-call.test.d.ts +0 -2
- package/dist/test/refusal-single-call.test.d.ts.map +0 -1
- package/dist/test/refusal-single-call.test.js +0 -177
- package/dist/test/refusal-single-call.test.js.map +0 -1
- package/dist/test/release-bump.test.d.ts +0 -2
- package/dist/test/release-bump.test.d.ts.map +0 -1
- package/dist/test/release-bump.test.js +0 -248
- package/dist/test/release-bump.test.js.map +0 -1
- package/dist/test/release-changelog.test.d.ts +0 -2
- package/dist/test/release-changelog.test.d.ts.map +0 -1
- package/dist/test/release-changelog.test.js +0 -159
- package/dist/test/release-changelog.test.js.map +0 -1
- package/dist/test/release-holds.test.d.ts +0 -2
- package/dist/test/release-holds.test.d.ts.map +0 -1
- package/dist/test/release-holds.test.js +0 -456
- package/dist/test/release-holds.test.js.map +0 -1
- package/dist/test/same-round-think-policy.test.d.ts +0 -2
- package/dist/test/same-round-think-policy.test.d.ts.map +0 -1
- package/dist/test/same-round-think-policy.test.js +0 -853
- package/dist/test/same-round-think-policy.test.js.map +0 -1
- package/dist/test/save-recent-image.test.d.ts +0 -26
- package/dist/test/save-recent-image.test.d.ts.map +0 -1
- package/dist/test/save-recent-image.test.js +0 -974
- package/dist/test/save-recent-image.test.js.map +0 -1
- package/dist/test/shutdown-errors.test.d.ts +0 -2
- package/dist/test/shutdown-errors.test.d.ts.map +0 -1
- package/dist/test/shutdown-errors.test.js +0 -662
- package/dist/test/shutdown-errors.test.js.map +0 -1
- package/dist/test/silent-heartbeat-rows.test.d.ts +0 -2
- package/dist/test/silent-heartbeat-rows.test.d.ts.map +0 -1
- package/dist/test/silent-heartbeat-rows.test.js +0 -451
- package/dist/test/silent-heartbeat-rows.test.js.map +0 -1
- package/dist/test/silent-heartbeat.test.d.ts +0 -2
- package/dist/test/silent-heartbeat.test.d.ts.map +0 -1
- package/dist/test/silent-heartbeat.test.js +0 -165
- package/dist/test/silent-heartbeat.test.js.map +0 -1
- package/dist/test/state-scaling-e2e.test.d.ts +0 -22
- package/dist/test/state-scaling-e2e.test.d.ts.map +0 -1
- package/dist/test/state-scaling-e2e.test.js +0 -206
- package/dist/test/state-scaling-e2e.test.js.map +0 -1
- package/dist/test/state-scaling.test.d.ts +0 -12
- package/dist/test/state-scaling.test.d.ts.map +0 -1
- package/dist/test/state-scaling.test.js +0 -251
- package/dist/test/state-scaling.test.js.map +0 -1
- package/dist/test/stop-with-host-operations.test.d.ts +0 -20
- package/dist/test/stop-with-host-operations.test.d.ts.map +0 -1
- package/dist/test/stop-with-host-operations.test.js +0 -1174
- package/dist/test/stop-with-host-operations.test.js.map +0 -1
- package/dist/test/stop-with-work-in-flight.test.d.ts +0 -23
- package/dist/test/stop-with-work-in-flight.test.d.ts.map +0 -1
- package/dist/test/stop-with-work-in-flight.test.js +0 -784
- package/dist/test/stop-with-work-in-flight.test.js.map +0 -1
- package/dist/test/surgery-marks-receipt.test.d.ts +0 -2
- package/dist/test/surgery-marks-receipt.test.d.ts.map +0 -1
- package/dist/test/surgery-marks-receipt.test.js +0 -540
- package/dist/test/surgery-marks-receipt.test.js.map +0 -1
- package/dist/test/thinking-token-stamp.test.d.ts +0 -12
- package/dist/test/thinking-token-stamp.test.d.ts.map +0 -1
- package/dist/test/thinking-token-stamp.test.js +0 -129
- package/dist/test/thinking-token-stamp.test.js.map +0 -1
- package/dist/test/timezone.test.d.ts +0 -2
- package/dist/test/timezone.test.d.ts.map +0 -1
- package/dist/test/timezone.test.js +0 -18
- package/dist/test/timezone.test.js.map +0 -1
- package/dist/test/tool-batch-hook.test.d.ts +0 -8
- package/dist/test/tool-batch-hook.test.d.ts.map +0 -1
- package/dist/test/tool-batch-hook.test.js +0 -275
- package/dist/test/tool-batch-hook.test.js.map +0 -1
- package/dist/test/tool-policy.test.d.ts +0 -2
- package/dist/test/tool-policy.test.d.ts.map +0 -1
- package/dist/test/tool-policy.test.js +0 -51
- package/dist/test/tool-policy.test.js.map +0 -1
- package/dist/test/tool-presentation.test.d.ts +0 -2
- package/dist/test/tool-presentation.test.d.ts.map +0 -1
- package/dist/test/tool-presentation.test.js +0 -268
- package/dist/test/tool-presentation.test.js.map +0 -1
- package/dist/test/tool-result-content.test.d.ts +0 -2
- package/dist/test/tool-result-content.test.d.ts.map +0 -1
- package/dist/test/tool-result-content.test.js +0 -37
- package/dist/test/tool-result-content.test.js.map +0 -1
- package/dist/test/tool-result-guard.test.d.ts +0 -2
- package/dist/test/tool-result-guard.test.d.ts.map +0 -1
- package/dist/test/tool-result-guard.test.js +0 -3729
- package/dist/test/tool-result-guard.test.js.map +0 -1
- package/dist/test/tool-result-history.test.d.ts +0 -7
- package/dist/test/tool-result-history.test.d.ts.map +0 -1
- package/dist/test/tool-result-history.test.js +0 -156
- package/dist/test/tool-result-history.test.js.map +0 -1
- package/dist/test/tool-result-spill.test.d.ts +0 -13
- package/dist/test/tool-result-spill.test.d.ts.map +0 -1
- package/dist/test/tool-result-spill.test.js +0 -586
- package/dist/test/tool-result-spill.test.js.map +0 -1
- package/dist/test/tool-wrapper-prose-guard-integration.test.d.ts +0 -2
- package/dist/test/tool-wrapper-prose-guard-integration.test.d.ts.map +0 -1
- package/dist/test/tool-wrapper-prose-guard-integration.test.js +0 -485
- package/dist/test/tool-wrapper-prose-guard-integration.test.js.map +0 -1
- package/dist/test/tool-wrapper-prose-guard.test.d.ts +0 -2
- package/dist/test/tool-wrapper-prose-guard.test.d.ts.map +0 -1
- package/dist/test/tool-wrapper-prose-guard.test.js +0 -34
- package/dist/test/tool-wrapper-prose-guard.test.js.map +0 -1
- package/dist/test/tools-observe-parser-conformance.test.d.ts +0 -2
- package/dist/test/tools-observe-parser-conformance.test.d.ts.map +0 -1
- package/dist/test/tools-observe-parser-conformance.test.js +0 -129
- package/dist/test/tools-observe-parser-conformance.test.js.map +0 -1
- package/dist/test/trunk-channel-routing.test.d.ts +0 -19
- package/dist/test/trunk-channel-routing.test.d.ts.map +0 -1
- package/dist/test/trunk-channel-routing.test.js +0 -652
- package/dist/test/trunk-channel-routing.test.js.map +0 -1
- package/dist/test/tune-out-e2e.test.d.ts +0 -2
- package/dist/test/tune-out-e2e.test.d.ts.map +0 -1
- package/dist/test/tune-out-e2e.test.js +0 -142
- package/dist/test/tune-out-e2e.test.js.map +0 -1
- package/dist/test/tune-out-gate-composition.test.d.ts +0 -2
- package/dist/test/tune-out-gate-composition.test.d.ts.map +0 -1
- package/dist/test/tune-out-gate-composition.test.js +0 -221
- package/dist/test/tune-out-gate-composition.test.js.map +0 -1
- package/dist/test/tune-out-lifecycle.test.d.ts +0 -2
- package/dist/test/tune-out-lifecycle.test.d.ts.map +0 -1
- package/dist/test/tune-out-lifecycle.test.js +0 -121
- package/dist/test/tune-out-lifecycle.test.js.map +0 -1
- package/dist/test/turn-trigger-provenance.test.d.ts +0 -2
- package/dist/test/turn-trigger-provenance.test.d.ts.map +0 -1
- package/dist/test/turn-trigger-provenance.test.js +0 -137
- package/dist/test/turn-trigger-provenance.test.js.map +0 -1
- package/dist/test/unconvertible-tool-result.test.d.ts +0 -2
- package/dist/test/unconvertible-tool-result.test.d.ts.map +0 -1
- package/dist/test/unconvertible-tool-result.test.js +0 -358
- package/dist/test/unconvertible-tool-result.test.js.map +0 -1
- package/dist/test/unsent-compiles.test.d.ts +0 -2
- package/dist/test/unsent-compiles.test.d.ts.map +0 -1
- package/dist/test/unsent-compiles.test.js +0 -139
- package/dist/test/unsent-compiles.test.js.map +0 -1
- package/dist/test/usage-accounting.test.d.ts +0 -2
- package/dist/test/usage-accounting.test.d.ts.map +0 -1
- package/dist/test/usage-accounting.test.js +0 -13
- package/dist/test/usage-accounting.test.js.map +0 -1
- package/dist/test/usage-tracker.test.d.ts +0 -2
- package/dist/test/usage-tracker.test.d.ts.map +0 -1
- package/dist/test/usage-tracker.test.js +0 -129
- package/dist/test/usage-tracker.test.js.map +0 -1
- package/dist/test/utils-surface.test.d.ts +0 -2
- package/dist/test/utils-surface.test.d.ts.map +0 -1
- package/dist/test/utils-surface.test.js +0 -145
- package/dist/test/utils-surface.test.js.map +0 -1
- package/dist/test/workspace-branch-continuation.test.d.ts +0 -15
- package/dist/test/workspace-branch-continuation.test.d.ts.map +0 -1
- package/dist/test/workspace-branch-continuation.test.js +0 -183
- package/dist/test/workspace-branch-continuation.test.js.map +0 -1
- package/dist/test/workspace-materialize-freshness.test.d.ts +0 -16
- package/dist/test/workspace-materialize-freshness.test.d.ts.map +0 -1
- package/dist/test/workspace-materialize-freshness.test.js +0 -252
- package/dist/test/workspace-materialize-freshness.test.js.map +0 -1
- package/dist/test/workspace-path-containment.test.d.ts +0 -19
- package/dist/test/workspace-path-containment.test.d.ts.map +0 -1
- package/dist/test/workspace-path-containment.test.js +0 -91
- package/dist/test/workspace-path-containment.test.js.map +0 -1
- package/dist/test/workspace-read-file-from-disk.test.d.ts +0 -17
- package/dist/test/workspace-read-file-from-disk.test.d.ts.map +0 -1
- package/dist/test/workspace-read-file-from-disk.test.js +0 -174
- package/dist/test/workspace-read-file-from-disk.test.js.map +0 -1
- package/dist/test/workspace-read-image.test.d.ts +0 -2
- package/dist/test/workspace-read-image.test.d.ts.map +0 -1
- package/dist/test/workspace-read-image.test.js +0 -597
- package/dist/test/workspace-read-image.test.js.map +0 -1
- package/dist/test/workspace-read-text.test.d.ts +0 -2
- package/dist/test/workspace-read-text.test.d.ts.map +0 -1
- package/dist/test/workspace-read-text.test.js +0 -101
- package/dist/test/workspace-read-text.test.js.map +0 -1
- package/dist/test/workspace-restore-order.test.d.ts +0 -16
- package/dist/test/workspace-restore-order.test.d.ts.map +0 -1
- package/dist/test/workspace-restore-order.test.js +0 -140
- package/dist/test/workspace-restore-order.test.js.map +0 -1
- package/dist/test/workspace-three-way.test.d.ts +0 -12
- package/dist/test/workspace-three-way.test.d.ts.map +0 -1
- package/dist/test/workspace-three-way.test.js +0 -4094
- package/dist/test/workspace-three-way.test.js.map +0 -1
- package/dist/test/workspace-watcher.test.d.ts +0 -2
- package/dist/test/workspace-watcher.test.d.ts.map +0 -1
- package/dist/test/workspace-watcher.test.js +0 -281
- package/dist/test/workspace-watcher.test.js.map +0 -1
- package/dist/test/xml-round-persist.test.d.ts +0 -19
- package/dist/test/xml-round-persist.test.d.ts.map +0 -1
- package/dist/test/xml-round-persist.test.js +0 -235
- package/dist/test/xml-round-persist.test.js.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
|
@@ -41,10 +41,93 @@ export interface McplConnectionCloseInfo {
|
|
|
41
41
|
* handshake's error keeps, when there is one. */
|
|
42
42
|
export declare function stderrTailOf(error: unknown): string | undefined;
|
|
43
43
|
/** For the host's own log line about a failed connect: the server's stderr
|
|
44
|
-
* that the error keeps as `stderrTail`,
|
|
45
|
-
*
|
|
44
|
+
* that the error keeps as `stderrTail`, with the server's credentials
|
|
45
|
+
* taken out by `redact` (its redactServerText), one marked line per line of
|
|
46
|
+
* it, each through log-value, since it's the server's text. '' when there's
|
|
46
47
|
* none. */
|
|
47
|
-
export declare function withStderr(error: unknown): string;
|
|
48
|
+
export declare function withStderr(error: unknown, redact: (text: string) => string): string;
|
|
49
|
+
/**
|
|
50
|
+
* The server and this engine have no protocol revision in common, so the
|
|
51
|
+
* connection was never established. This is a protocol-negotiation fact, not
|
|
52
|
+
* a request outcome. Retrying cannot change it: each engine offers one
|
|
53
|
+
* revision, and only configuration can fix the mismatch. A connection that
|
|
54
|
+
* gets this error does not schedule reconnects. The legacy engine and the
|
|
55
|
+
* modern one (ModernMcpConnection, whose pinned revision the server refused)
|
|
56
|
+
* both throw it, so its readers treat them alike.
|
|
57
|
+
*
|
|
58
|
+
* - `rejected`: the server refused the offered revision: the legacy engine's
|
|
59
|
+
* `initialize` answered with error -32022, or a modern server's discovery
|
|
60
|
+
* or error naming no common revision. `supported` is the server's own list,
|
|
61
|
+
* when it gave one.
|
|
62
|
+
* - `mismatch`: the server answered the legacy engine's `initialize` with a
|
|
63
|
+
* revision other than 2024-11-05, or with none.
|
|
64
|
+
*/
|
|
65
|
+
export declare class McplProtocolVersionError extends Error {
|
|
66
|
+
readonly kind: 'rejected' | 'mismatch';
|
|
67
|
+
/** Revision the server answered with (`mismatch`; null when it gave none). */
|
|
68
|
+
readonly returned: string | null;
|
|
69
|
+
/** Revisions the server says it supports (`rejected`, when stated). */
|
|
70
|
+
readonly supported: readonly string[] | null;
|
|
71
|
+
/** The JSON-RPC error's code and data, verbatim (`rejected`). */
|
|
72
|
+
readonly code?: number | undefined;
|
|
73
|
+
readonly data?: unknown;
|
|
74
|
+
/** The revision this client offered: the legacy engine's, unless a
|
|
75
|
+
* modern connection's. */
|
|
76
|
+
readonly offered: string;
|
|
77
|
+
constructor(message: string, kind: 'rejected' | 'mismatch',
|
|
78
|
+
/** Revision the server answered with (`mismatch`; null when it gave none). */
|
|
79
|
+
returned: string | null,
|
|
80
|
+
/** Revisions the server says it supports (`rejected`, when stated). */
|
|
81
|
+
supported: readonly string[] | null,
|
|
82
|
+
/** The JSON-RPC error's code and data, verbatim (`rejected`). */
|
|
83
|
+
code?: number | undefined, data?: unknown,
|
|
84
|
+
/** The revision this client offered: the legacy engine's, unless a
|
|
85
|
+
* modern connection's. */
|
|
86
|
+
offered?: string);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* A connect that failed, and whose cleanup couldn't confirm that the child
|
|
90
|
+
* exited: it may still be running. `connection` owns that launch, closed and
|
|
91
|
+
* not reconnecting. Its close() retries the reap and resolves once the exit
|
|
92
|
+
* is confirmed, so the caller can still clean up, and should start nothing
|
|
93
|
+
* else for this server until then. connect() and connectWithReconnect()
|
|
94
|
+
* throw this, and the modern engine's ModernMcpConnection.connect() too.
|
|
95
|
+
* `cause` is the connect's own failure.
|
|
96
|
+
*/
|
|
97
|
+
export declare class McplUnreapedLaunchError<Connection extends {
|
|
98
|
+
close(): Promise<void>;
|
|
99
|
+
} = McplServerConnection> extends Error {
|
|
100
|
+
readonly connection: Connection;
|
|
101
|
+
/** The cleanup's own failure: the child it couldn't confirm exited. */
|
|
102
|
+
readonly cleanup: Error;
|
|
103
|
+
constructor(connection: Connection, failure: Error,
|
|
104
|
+
/** The cleanup's own failure: the child it couldn't confirm exited. */
|
|
105
|
+
cleanup: Error);
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Why a request to an MCPL server produced no result, as far as the host can
|
|
109
|
+
* know it. Messages are unchanged from plain errors; the `outcome` makes the
|
|
110
|
+
* difference between "never left the host" and "left, and no answer came
|
|
111
|
+
* back" a fact a caller can act on instead of a string to match:
|
|
112
|
+
* - `not-sent`: the request was refused before anything was written (the
|
|
113
|
+
* connection was already closed);
|
|
114
|
+
* - `error-response`: the server answered with a JSON-RPC error (it may have
|
|
115
|
+
* acted before failing; the error alone does not say);
|
|
116
|
+
* - `no-response`: the request was handed to the transport and no answer
|
|
117
|
+
* came back (timeout, or the connection closed while awaiting). It does
|
|
118
|
+
* not prove the request reached the server — the transport can decline or
|
|
119
|
+
* drop a write — only that the host can no longer say it didn't.
|
|
120
|
+
*/
|
|
121
|
+
export declare class McplRequestError extends Error {
|
|
122
|
+
readonly outcome: 'not-sent' | 'error-response' | 'no-response';
|
|
123
|
+
/** The JSON-RPC error's `data`, verbatim, when the server supplied one
|
|
124
|
+
* (e.g. which parts of a multi-part send were posted). */
|
|
125
|
+
readonly data?: unknown;
|
|
126
|
+
constructor(message: string, outcome: 'not-sent' | 'error-response' | 'no-response',
|
|
127
|
+
/** The JSON-RPC error's `data`, verbatim, when the server supplied one
|
|
128
|
+
* (e.g. which parts of a multi-part send were posted). */
|
|
129
|
+
data?: unknown);
|
|
130
|
+
}
|
|
48
131
|
/**
|
|
49
132
|
* McplServerConnection manages a single JSON-RPC 2.0 connection to an
|
|
50
133
|
* MCPL server over stdio. Use the static `connect()` factory to create
|
|
@@ -66,7 +149,12 @@ export declare function withStderr(error: unknown): string;
|
|
|
66
149
|
* server's stderr when its handshake failed by its transport closing, a
|
|
67
150
|
* transport error or its timeout and it had written any; `error` never
|
|
68
151
|
* carries it.
|
|
69
|
-
* - `'reconnect'` — Background reconnect succeeded
|
|
152
|
+
* - `'reconnect'` — Background reconnect succeeded. The new transport
|
|
153
|
+
* starts with an empty grant and both planes
|
|
154
|
+
* closed, as at initial connect: whoever owns the
|
|
155
|
+
* connection runs the §5.3 policy exchange again,
|
|
156
|
+
* then opens the planes (the framework's listener
|
|
157
|
+
* does).
|
|
70
158
|
*/
|
|
71
159
|
export declare class McplServerConnection extends EventEmitter {
|
|
72
160
|
/** Unique server identifier from config. */
|
|
@@ -82,6 +170,9 @@ export declare class McplServerConnection extends EventEmitter {
|
|
|
82
170
|
/** OUTER standard MCP capabilities.tools was present at handshake (§5.1 —
|
|
83
171
|
* the sole source of the `tools` capability path). */
|
|
84
172
|
mcpToolsAdvertised: boolean;
|
|
173
|
+
/** The MCP revision established by the last successful handshake (always
|
|
174
|
+
* 2024-11-05 for this engine), or null before the first one. */
|
|
175
|
+
protocolVersion: string | null;
|
|
85
176
|
/** Host-owned per-server authority for host/command (config
|
|
86
177
|
* allowHostCommands, default false). No capability path exists and the
|
|
87
178
|
* grant cannot confer it — server params never decide admin authority. */
|
|
@@ -133,6 +224,19 @@ export declare class McplServerConnection extends EventEmitter {
|
|
|
133
224
|
* performs a fresh initialize handshake, so authority from the dead epoch
|
|
134
225
|
* must be revoked before the replacement transport is exposed. */
|
|
135
226
|
private resetPolicyForTransportBoundary;
|
|
227
|
+
/** What of these held items a transport boundary keeps (see
|
|
228
|
+
* resetPolicyForTransportBoundary), in order, each marked `kept`; the
|
|
229
|
+
* rest is logged and dropped. A connection closed for good has no next
|
|
230
|
+
* transport whose grant could admit what the server reported about the
|
|
231
|
+
* world, so that is dropped too. */
|
|
232
|
+
private keepAcrossBoundary;
|
|
233
|
+
/** Hold these items in place of what is held, with heldRequests and
|
|
234
|
+
* keptRequests counting the requests among them: a boundary keeps some of
|
|
235
|
+
* what was held, a flush that crosses one holds the rest of its snapshot
|
|
236
|
+
* again, and a flush starts from nothing held. Notifications need no cap
|
|
237
|
+
* here: hold caps them kept or not, and what this is given never has more
|
|
238
|
+
* than was held. */
|
|
239
|
+
private replaceHeld;
|
|
136
240
|
/** The active transport (stdio child or WebSocket). Null for a disconnected
|
|
137
241
|
* stub awaiting its first background reconnect. */
|
|
138
242
|
private transport;
|
|
@@ -148,23 +252,55 @@ export declare class McplServerConnection extends EventEmitter {
|
|
|
148
252
|
/** Set by `reconnectAfterFailure()` before it closes a live transport, so
|
|
149
253
|
* the transport close handler reports that teardown as `byHost: true`. */
|
|
150
254
|
private hostCloseRequested;
|
|
255
|
+
/** Set by `close()`: this host has stopped the connection, as a removal and
|
|
256
|
+
* a restart both do, so a request after it can't say whether the server
|
|
257
|
+
* comes back. */
|
|
258
|
+
private closedByThisHost;
|
|
259
|
+
/** The host's close attempt: in flight, or done. A failed one is cleared,
|
|
260
|
+
* so the next close() tries again. */
|
|
151
261
|
private closePromise;
|
|
262
|
+
/** The host closed this connection while it was live, and its teardown
|
|
263
|
+
* hasn't completed yet: 'close' is emitted once it has. */
|
|
152
264
|
private closeIncomplete;
|
|
153
|
-
private reconnectPromise;
|
|
154
265
|
/** Per-request timeout in ms (0 disables). See McplServerConfig.requestTimeoutMs. */
|
|
155
266
|
private requestTimeoutMs;
|
|
267
|
+
/** The deadline a channels/publish or channels/open request keeps when
|
|
268
|
+
* requestTimeoutMs is 0 (see sendChannelsPublish). */
|
|
269
|
+
private publishDeadlineMs;
|
|
156
270
|
private controlPlaneReady;
|
|
157
271
|
private dataPlaneReady;
|
|
158
272
|
private bufferedEvents;
|
|
159
|
-
/**
|
|
160
|
-
*
|
|
161
|
-
private
|
|
273
|
+
/** How many of bufferedEvents are server→host requests, each holding a
|
|
274
|
+
* responder its server waits on. Every change to bufferedEvents keeps it. */
|
|
275
|
+
private heldRequests;
|
|
276
|
+
/** How many of bufferedEvents are requests a transport boundary kept:
|
|
277
|
+
* incoming messages and pushes whose transport has closed. No server waits
|
|
278
|
+
* on them, since their answers can't reach it (sameTransport), so they
|
|
279
|
+
* stay out of the held-request budget, which bounds what a live server
|
|
280
|
+
* waits on: a dead process's backlog must not refuse the next process's
|
|
281
|
+
* registration. They have their own bound at the same size, past which a
|
|
282
|
+
* kept request is dropped and logged, there being no one to refuse. */
|
|
283
|
+
private keptRequests;
|
|
284
|
+
/** Kept requests dropped at their bound since the planes last opened
|
|
285
|
+
* (ready()), so the first of each run of drops is logged. */
|
|
286
|
+
private droppedKeptRequests;
|
|
287
|
+
/** Cap on held notifications (responder-less events) during a plane pause
|
|
288
|
+
* (issue #122), counted apart from requests: past it, the oldest held
|
|
289
|
+
* notification is dropped. */
|
|
290
|
+
private static readonly MAX_HELD_NOTIFICATIONS;
|
|
291
|
+
/** Budget of held requests during a plane pause (#387), counted apart from
|
|
292
|
+
* notifications: past it, a request is refused at once, never dropped. It
|
|
293
|
+
* bounds a server that pipelines requests without waiting for answers. A
|
|
294
|
+
* server that doesn't send a refused request again loses it (discord-mcpl
|
|
295
|
+
* doesn't), so the budget sits far above the notifications' cap, to leave
|
|
296
|
+
* a busy server's long pause room. Requests a transport boundary kept are
|
|
297
|
+
* counted apart from it (keptRequests), with a bound of the same size past
|
|
298
|
+
* which they're dropped, since no server waits on them. */
|
|
299
|
+
private static readonly MAX_HELD_REQUESTS;
|
|
162
300
|
private droppedBufferedEvents;
|
|
163
|
-
/**
|
|
164
|
-
*
|
|
165
|
-
|
|
166
|
-
* NEW arrivals during a pause, not churn from control-plane flushes). */
|
|
167
|
-
private flushDepth;
|
|
301
|
+
/** Requests refused at the budget since the planes last opened (ready()),
|
|
302
|
+
* so each pause's first refusal is logged. */
|
|
303
|
+
private refusedHeldRequests;
|
|
168
304
|
private config;
|
|
169
305
|
private hostCapabilities;
|
|
170
306
|
private reconnectEnabled;
|
|
@@ -174,9 +310,27 @@ export declare class McplServerConnection extends EventEmitter {
|
|
|
174
310
|
/** Consecutive failed connect attempts since the last successful handshake.
|
|
175
311
|
* Drives the exponential backoff and is reported on reconnect events. */
|
|
176
312
|
private reconnectAttempts;
|
|
313
|
+
/** The reconnect attempt in flight, so close() can abort it and wait for
|
|
314
|
+
* its cleanup. */
|
|
315
|
+
private reconnecting;
|
|
316
|
+
/**
|
|
317
|
+
* Launches whose cleanup couldn't confirm that the child exited. While any
|
|
318
|
+
* is held, reconnecting is halted, since another launch could run beside
|
|
319
|
+
* one that's still alive. close() retries their reap.
|
|
320
|
+
*/
|
|
321
|
+
private unreaped;
|
|
177
322
|
/** Whether a background reconnect loop will revive this connection after a
|
|
178
|
-
* drop. False once close() has been called (explicit close stops retrying)
|
|
323
|
+
* drop. False once close() has been called (explicit close stops retrying),
|
|
324
|
+
* after a protocol-version verdict, and while a launch is unreaped. */
|
|
179
325
|
get willReconnect(): boolean;
|
|
326
|
+
/** Whether a child this connection launched couldn't be confirmed exited.
|
|
327
|
+
* While it's true the connection owns that child, so whatever registered
|
|
328
|
+
* it keeps its id held; close() retries the reap. */
|
|
329
|
+
get holdsUnreapedChild(): boolean;
|
|
330
|
+
/** Closed with no reconnect to come: after close(), whether or not its
|
|
331
|
+
* transport close succeeded, or a drop with reconnect off. A connection
|
|
332
|
+
* between retries keeps reconnectEnabled, so it isn't closed for good. */
|
|
333
|
+
private get closedForGood();
|
|
180
334
|
/**
|
|
181
335
|
* Private constructor. Use `McplServerConnection.connect()` instead.
|
|
182
336
|
*/
|
|
@@ -185,19 +339,98 @@ export declare class McplServerConnection extends EventEmitter {
|
|
|
185
339
|
* Mark the connection as ready — flushes any events that arrived between
|
|
186
340
|
* construction (when setupMessageRouting starts emitting) and now (when
|
|
187
341
|
* the caller has attached listeners via wireMcplEvents).
|
|
342
|
+
*
|
|
343
|
+
* Once the connection is closed for good it readies nothing. Its policy was
|
|
344
|
+
* reset when it closed, so what the server sent that needs a grant would be
|
|
345
|
+
* refused, and a closed connection sends no response, so nothing it held
|
|
346
|
+
* could be answered. It delivers only its own reports of how it ended (see
|
|
347
|
+
* {@link deliverOwnReports}). A connection between retries isn't closed for
|
|
348
|
+
* good: what it held, such as a reconnect stub's connect-failed, reaches
|
|
349
|
+
* its listeners as it does any connection's, except the incoming messages
|
|
350
|
+
* and pushes a transport boundary kept, which wait for the next
|
|
351
|
+
* transport's grant (see {@link flushHeld}).
|
|
188
352
|
*/
|
|
189
353
|
ready(): void;
|
|
354
|
+
/**
|
|
355
|
+
* Re-emit a held snapshot through the admission gate (this.emit), inside
|
|
356
|
+
* the containment boundary every inbound event shares
|
|
357
|
+
* (dispatchInboundEvent), in admission order (admissionOrder). A transport
|
|
358
|
+
* boundary crossed during the flush (a listener that closes the connection,
|
|
359
|
+
* say) leaves the rest of the snapshot to the boundary rule, as if it had
|
|
360
|
+
* still been held: what the server said about its own process is dropped,
|
|
361
|
+
* and the rest is held again, after whatever this flush held.
|
|
362
|
+
*
|
|
363
|
+
* Between transports, the incoming messages and pushes a boundary kept
|
|
364
|
+
* stay held for the next transport's grant: admitted now, they would meet
|
|
365
|
+
* the empty grant the boundary left, with no transport to answer on. The
|
|
366
|
+
* host's own reports about the transport (a stub's connect-failed, say)
|
|
367
|
+
* need no grant and go on.
|
|
368
|
+
*/
|
|
369
|
+
private flushHeld;
|
|
370
|
+
/** Whether the plane an event belongs to is open (lifecycle events always
|
|
371
|
+
* pass), as the admission gate (emit) decides it. */
|
|
372
|
+
private planeReadyFor;
|
|
373
|
+
/**
|
|
374
|
+
* The order a flush admits a held snapshot in: as it was held, except that
|
|
375
|
+
* when it holds items a transport boundary kept, the current transport's
|
|
376
|
+
* channel registrations (`channels-register`, `channels-changed`) go
|
|
377
|
+
* first, each unless it names a channel that something the transport sent
|
|
378
|
+
* before it, and that stays where it was held, also names (below). The
|
|
379
|
+
* registry refuses a message for a channel it doesn't know
|
|
380
|
+
* (§14.5). It keeps a server's channels across a reconnect, but a
|
|
381
|
+
* registration the old process sent that was still held at the boundary
|
|
382
|
+
* was dropped with it (keepAcrossBoundary), so the next process registers
|
|
383
|
+
* that channel anew, behind what was kept: a kept message for it admitted
|
|
384
|
+
* first would be refused, and lost, since a bridge that recorded it as
|
|
385
|
+
* forwarded doesn't send it again.
|
|
386
|
+
* Nothing else moves, so a snapshot with nothing kept is flushed as it was
|
|
387
|
+
* held. A registration also passes whatever its own transport sent before
|
|
388
|
+
* it, which a server that announces its channels first, as a bridge does,
|
|
389
|
+
* never has. A removal stays where it was held, with whatever else it adds
|
|
390
|
+
* or updates, as everything does that isn't a registration. A registration
|
|
391
|
+
* that names a channel which an earlier removal, or an earlier registration
|
|
392
|
+
* that stays, names stays where it was held too, so the writes to one
|
|
393
|
+
* channel keep their order: a channel's removal and its re-registration,
|
|
394
|
+
* and two registrations or updates of it. In a flush that opens both
|
|
395
|
+
* planes, what the transport sent before a removal is admitted before it,
|
|
396
|
+
* its messages for that channel included. A flush that opens only the control
|
|
397
|
+
* plane, as during a quiesce, admits the control traffic, a removal
|
|
398
|
+
* included, and holds the data plane's again until that plane opens, as
|
|
399
|
+
* live traffic is during a quiesce: a message held for a channel a removal
|
|
400
|
+
* took is then refused as the data plane opens.
|
|
401
|
+
*/
|
|
402
|
+
private static admissionOrder;
|
|
403
|
+
/** The channels a held `channels-changed` removes. The registry takes any
|
|
404
|
+
* entry of `removed` as a channel id, by its string form, so a number
|
|
405
|
+
* removes the channel of its digits; an object is left out here, since
|
|
406
|
+
* its string form can throw. */
|
|
407
|
+
private static removedChannelIds;
|
|
408
|
+
/** The channels a held `channels-register` registers, or a held
|
|
409
|
+
* `channels-changed` adds or updates. */
|
|
410
|
+
private static registeredChannelIds;
|
|
190
411
|
/**
|
|
191
412
|
* Release only server-establishment and lifecycle/control traffic. Responses
|
|
192
413
|
* to host requests are never event-buffered, so tools/list and tools/call
|
|
193
414
|
* responses remain live as well. Inference-bearing requests stay queued in
|
|
194
|
-
* their original relative order until {@link ready} is called.
|
|
415
|
+
* their original relative order until {@link ready} is called. Like
|
|
416
|
+
* {@link ready}, once the connection is closed for good it delivers only
|
|
417
|
+
* its own reports of how it ended.
|
|
195
418
|
*/
|
|
196
419
|
readyControlPlane(): void;
|
|
420
|
+
/**
|
|
421
|
+
* A connection closed for good still says how it ended. Its own buffered
|
|
422
|
+
* connect-failed and reconnect-failed, such as the permanent failure of a
|
|
423
|
+
* launch held as unreaped before the first gate released it, are the
|
|
424
|
+
* framework's records of it: they need no grant, and its listeners act on
|
|
425
|
+
* them (a trace, and for a permanent failure an alert and its tools leaving
|
|
426
|
+
* the list). What the server sent stays held.
|
|
427
|
+
*/
|
|
428
|
+
private deliverOwnReports;
|
|
197
429
|
/**
|
|
198
430
|
* Close the data plane synchronously while leaving an already-released
|
|
199
|
-
* control plane live. Used before
|
|
200
|
-
*
|
|
431
|
+
* control plane live. Used before list-change reconciliation so no new
|
|
432
|
+
* inference event can beat barrier installation. A reconnect closes both
|
|
433
|
+
* planes instead.
|
|
201
434
|
*/
|
|
202
435
|
pauseDataPlane(): void;
|
|
203
436
|
/**
|
|
@@ -206,6 +439,20 @@ export declare class McplServerConnection extends EventEmitter {
|
|
|
206
439
|
* new data-plane gate before the fresh transport is exposed.
|
|
207
440
|
*/
|
|
208
441
|
emit(event: string | symbol, ...args: unknown[]): boolean;
|
|
442
|
+
/**
|
|
443
|
+
* Hold an event until its plane opens, `kept` when a transport boundary
|
|
444
|
+
* keeps it for the next transport's grant (afterBoundary).
|
|
445
|
+
*/
|
|
446
|
+
private hold;
|
|
447
|
+
/** A buffered server→host request: it carries a responder its server waits on. */
|
|
448
|
+
private static hasResponder;
|
|
449
|
+
/** Events routed from a server's transport that report the world, which
|
|
450
|
+
* the next process doesn't send again when its bridge records them as
|
|
451
|
+
* forwarded first: kept at a transport boundary while held. */
|
|
452
|
+
private static readonly WORLD_EVENTS;
|
|
453
|
+
/** Events routed from a server's transport that speak for its process, not
|
|
454
|
+
* the world: dropped at a transport boundary while held. */
|
|
455
|
+
private static get PROCESS_EVENTS();
|
|
209
456
|
/** Event-name form of METHOD_TO_REQUIRED_CAPABILITY, for admission-time
|
|
210
457
|
* enforcement in emit(). */
|
|
211
458
|
private static readonly EVENT_TO_REQUIRED_CAPABILITY;
|
|
@@ -216,31 +463,66 @@ export declare class McplServerConnection extends EventEmitter {
|
|
|
216
463
|
* capability negotiation, and return a ready-to-use connection.
|
|
217
464
|
*
|
|
218
465
|
* Works over stdio (spawned child) or WebSocket, selected by `config` (see
|
|
219
|
-
* {@link openTransport}). Throws if the
|
|
220
|
-
*
|
|
466
|
+
* {@link openTransport}). Throws if the configuration can't be used (before
|
|
467
|
+
* anything is spawned or dialed), the transport can't be opened, the server
|
|
468
|
+
* closes/errors before the handshake, or the handshake times out. If the
|
|
469
|
+
* failed launch's cleanup can't confirm its child exited, it throws
|
|
470
|
+
* {@link McplUnreapedLaunchError}, whose connection owns that launch.
|
|
471
|
+
*/
|
|
472
|
+
static connect(config: McplServerConfig, hostCapabilities: McplHostCapabilities, signal?: AbortSignal): Promise<McplServerConnection>;
|
|
473
|
+
/** {@link connect}, for a configuration its caller has already checked
|
|
474
|
+
* (and warned about) once. `signal` ends the connect at once, its launch
|
|
475
|
+
* reaped as for any failed handshake: its caller's stop() or a
|
|
476
|
+
* disconnect of its id. */
|
|
477
|
+
private static connectChecked;
|
|
478
|
+
/**
|
|
479
|
+
* This engine's configuration check, made before anything is spawned or
|
|
480
|
+
* dialed: every problem {@link checkServerConfig} finds, the same check the
|
|
481
|
+
* framework applies, and the modern family, which belongs to
|
|
482
|
+
* ModernMcpConnection (an http(s) url is never dialed as a WebSocket).
|
|
483
|
+
* Every configuration that worked before still passes but the one
|
|
484
|
+
* serverConfigProblems names.
|
|
221
485
|
*/
|
|
222
|
-
static
|
|
486
|
+
private static checkConfig;
|
|
223
487
|
/**
|
|
224
488
|
* Open a fresh transport and run the MCP/MCPL initialize handshake over it,
|
|
225
489
|
* returning the connected transport plus the negotiated capabilities. Shared
|
|
226
490
|
* by {@link connect} and {@link attemptReconnect} so both transports handshake
|
|
227
491
|
* identically. On any failure the transport is closed so a spawned child /
|
|
228
|
-
* open socket never leaks.
|
|
492
|
+
* open socket never leaks. If that close can't confirm the child exited,
|
|
493
|
+
* the failure is a {@link HandshakeCleanupError} carrying the transport, so
|
|
494
|
+
* the caller keeps owning it. `signal` ends a handshake whose connection is
|
|
495
|
+
* closed meanwhile: it cuts a WebSocket dial short, is checked once the
|
|
496
|
+
* transport is open, and races the initialize answer.
|
|
229
497
|
*/
|
|
230
498
|
private static handshake;
|
|
231
499
|
/**
|
|
232
500
|
* Connect with reconnect support.
|
|
233
501
|
* When `config.reconnect` is true and the initial connection fails,
|
|
234
502
|
* resolves immediately with null capabilities and retries in the background.
|
|
503
|
+
* A configuration this engine can't use, or a protocol-version verdict,
|
|
504
|
+
* still throws: retrying can't change either. So does a failed launch that
|
|
505
|
+
* can't be reaped, as in {@link connect}: no retry starts beside a child
|
|
506
|
+
* that may still be running, and the {@link McplUnreapedLaunchError}
|
|
507
|
+
* carries the connection that owns it, whose close() retries the reap.
|
|
235
508
|
* Adapted from Anarchid/agent-framework@mcpl-module-proto.
|
|
236
509
|
*/
|
|
237
|
-
static connectWithReconnect(config: McplServerConfig, hostCapabilities: McplHostCapabilities): Promise<McplServerConnection>;
|
|
510
|
+
static connectWithReconnect(config: McplServerConfig, hostCapabilities: McplHostCapabilities, signal?: AbortSignal): Promise<McplServerConnection>;
|
|
238
511
|
/**
|
|
239
|
-
* Create a disconnected stub connection
|
|
240
|
-
*
|
|
512
|
+
* Create a disconnected stub connection, for a failed initial connect: one
|
|
513
|
+
* that will reconnect in the background (its caller schedules that), or one
|
|
514
|
+
* that owns a launch that couldn't be reaped.
|
|
241
515
|
* @internal
|
|
242
516
|
*/
|
|
243
517
|
private static createDisconnectedStub;
|
|
518
|
+
/**
|
|
519
|
+
* Keep a launch whose cleanup couldn't confirm its child exited, and halt
|
|
520
|
+
* reconnecting: another launch could run beside one that's still alive.
|
|
521
|
+
* close() retries the reap.
|
|
522
|
+
*/
|
|
523
|
+
private holdUnreaped;
|
|
524
|
+
/** The halt, as a reconnect event's failure text. */
|
|
525
|
+
private unreapedFailure;
|
|
244
526
|
/** Send `context/beforeInference` and await result. */
|
|
245
527
|
sendBeforeInference(params: BeforeInferenceParams): Promise<BeforeInferenceResult>;
|
|
246
528
|
/** RFC-006 deferred push rendering; its own timeout bounds context assembly. */
|
|
@@ -258,8 +540,10 @@ export declare class McplServerConnection extends EventEmitter {
|
|
|
258
540
|
* — the caller leaves the grant empty and the connection MCP-only.
|
|
259
541
|
*/
|
|
260
542
|
sendFeatureSetsUpdateRequest(params: FeatureSetsUpdateParams, timeoutMs?: number): Promise<FeatureSetsUpdateResult>;
|
|
261
|
-
/** Send `inference/chunk` notification
|
|
262
|
-
|
|
543
|
+
/** Send `inference/chunk` notification, on the transport `epoch` names: a
|
|
544
|
+
* chunk of a request from a transport that has closed goes nowhere, as
|
|
545
|
+
* that request's answer does. */
|
|
546
|
+
sendInferenceChunk(params: InferenceChunkParams, epoch?: number): void;
|
|
263
547
|
/** Send `inference/lifecycle` notification (§10.5). Best-effort. */
|
|
264
548
|
sendInferenceLifecycle(params: InferenceLifecycleParams): void;
|
|
265
549
|
/** Send `tools/lifecycle` notification (RFC-007). Best-effort. The
|
|
@@ -275,7 +559,10 @@ export declare class McplServerConnection extends EventEmitter {
|
|
|
275
559
|
sendManifestRequest(timeoutMs?: number): Promise<McplCapabilities | null>;
|
|
276
560
|
/** Send `state/rollback` request and await result. */
|
|
277
561
|
sendStateRollback(params: StateRollbackParams): Promise<StateRollbackResult>;
|
|
278
|
-
/** Send `channels/open` request and await result.
|
|
562
|
+
/** Send `channels/open` request and await result. It keeps a deadline as
|
|
563
|
+
* channels/publish does: a delivery opens a closed channel before it
|
|
564
|
+
* publishes, so an open that is never answered would hold the delivery,
|
|
565
|
+
* and the turn that waits for it, for good. */
|
|
279
566
|
sendChannelsOpen(params: ChannelsOpenParams): Promise<ChannelsOpenResult>;
|
|
280
567
|
/** Send `channels/close` request and await result. */
|
|
281
568
|
sendChannelsClose(params: ChannelsCloseParams): Promise<ChannelsCloseResult>;
|
|
@@ -287,6 +574,12 @@ export declare class McplServerConnection extends EventEmitter {
|
|
|
287
574
|
* Send `channels/publish`.
|
|
288
575
|
* May be sent as a request (if an ACK is desired) or notification.
|
|
289
576
|
* When `params.stream` is true, sends as a notification (no ACK).
|
|
577
|
+
*
|
|
578
|
+
* A request always has a deadline: the server's requestTimeoutMs, or
|
|
579
|
+
* publishDeadlineMs when that is 0 (disabled). A publish is a side effect
|
|
580
|
+
* whose outcome the resident is told and a held draft's attempt records,
|
|
581
|
+
* so one that is never answered would hold both open for good. Its expiry
|
|
582
|
+
* is a no-response, which the caller reads as unknown.
|
|
290
583
|
*/
|
|
291
584
|
sendChannelsPublish(params: ChannelsPublishParams): Promise<ChannelsPublishResult | void>;
|
|
292
585
|
/** Send `channels/outgoing/chunk` notification. */
|
|
@@ -301,7 +594,16 @@ export declare class McplServerConnection extends EventEmitter {
|
|
|
301
594
|
* `op` defaults to 'start'; pass 'stop' to clear an active indicator
|
|
302
595
|
* immediately rather than waiting for server-side auto-expire. */
|
|
303
596
|
sendChannelsTyping(channelId: string, metadata?: Record<string, unknown>, op?: 'start' | 'stop'): void;
|
|
304
|
-
/**
|
|
597
|
+
/**
|
|
598
|
+
* Send `tools/list` and return the server's complete tool inventory,
|
|
599
|
+
* following `nextCursor` across pages (2024-11-05 pagination). Cursors are
|
|
600
|
+
* opaque strings, `''` included: only an absent or null `nextCursor` ends
|
|
601
|
+
* the inventory (a null one is how some servers say "no more", and main
|
|
602
|
+
* read it as a complete page). A page that isn't well formed (no `tools` array, a cursor
|
|
603
|
+
* that isn't a string), or cursors that don't terminate (a repeat, or more
|
|
604
|
+
* than {@link MAX_TOOL_LIST_PAGES} pages), are errors, never a partial or
|
|
605
|
+
* empty inventory published as complete.
|
|
606
|
+
*/
|
|
305
607
|
sendToolsList(): Promise<{
|
|
306
608
|
tools: McpToolDefinition[];
|
|
307
609
|
}>;
|
|
@@ -316,13 +618,35 @@ export declare class McplServerConnection extends EventEmitter {
|
|
|
316
618
|
* force even when the server's general requestTimeoutMs is configured as 0.
|
|
317
619
|
*/
|
|
318
620
|
sendToolsCallWithDeadline(name: string, args: Record<string, unknown>, timeoutMs: number): Promise<McpToolCallResult>;
|
|
319
|
-
/**
|
|
621
|
+
/** The requests still waiting for an answer, for the operator's log line
|
|
622
|
+
* when the connection goes: their methods and ids. */
|
|
623
|
+
private unansweredRequests;
|
|
624
|
+
/**
|
|
625
|
+
* Close the connection for good: disable reconnect, kill the child
|
|
626
|
+
* process, and clean up resources. At once, as before, reconnecting stops
|
|
627
|
+
* and pending requests fail; a reconnect handshake in flight is aborted.
|
|
628
|
+
*
|
|
629
|
+
* Calls share one attempt: while it is pending, and once it has
|
|
630
|
+
* succeeded, close() returns it. The attempt waits for the aborted
|
|
631
|
+
* reconnect's own cleanup, closes the transport (its close is the reaping
|
|
632
|
+
* verdict) and retries each launch an earlier cleanup couldn't reap. It
|
|
633
|
+
* rejects while any child can't be confirmed exited, with that failure
|
|
634
|
+
* itself, or an AggregateError when there are several. A failed attempt is
|
|
635
|
+
* cleared, so the next close() retries what it couldn't reap. 'close' is
|
|
636
|
+
* emitted once, when the teardown of a connection the host closed while
|
|
637
|
+
* live completes.
|
|
638
|
+
*/
|
|
320
639
|
close(): Promise<void>;
|
|
640
|
+
/** One close attempt. `heldBefore` are the launches earlier cleanups
|
|
641
|
+
* couldn't reap, which it retries. */
|
|
642
|
+
private closeStep;
|
|
321
643
|
/**
|
|
322
644
|
* Tear down a live transport after an awareness-accounting failure without
|
|
323
645
|
* disabling configured auto-reconnect. The normal transport close handler
|
|
324
646
|
* rejects requests, emits lifecycle state, and schedules the next bounded
|
|
325
|
-
* reconnect attempt. With reconnect disabled
|
|
647
|
+
* reconnect attempt. With reconnect disabled the recycle ends the
|
|
648
|
+
* connection for good, as close() does: 'close' comes once the child's
|
|
649
|
+
* exit is confirmed, and a child it can't reap stays owned, holding the id.
|
|
326
650
|
*/
|
|
327
651
|
reconnectAfterFailure(): Promise<void>;
|
|
328
652
|
/** 'close' payload for a host-initiated teardown (no transport close code). */
|
|
@@ -342,9 +666,16 @@ export declare class McplServerConnection extends EventEmitter {
|
|
|
342
666
|
* Attempt to reconnect by opening a fresh transport and performing the
|
|
343
667
|
* handshake, then adopting that transport in place. Unlike the previous
|
|
344
668
|
* approach this builds no throwaway connection instance, so there are no
|
|
345
|
-
* leaked listeners on a dead object.
|
|
669
|
+
* leaked listeners on a dead object. The attempt is close()'s to abort,
|
|
670
|
+
* and it settles only once its own launch is adopted, failed or cleaned up.
|
|
671
|
+
* One attempt at a time: a request that arrives while one is in flight (a
|
|
672
|
+
* recycle, say) starts nothing, since that attempt either adopts its
|
|
673
|
+
* launch or schedules the next retry itself. A second attempt would take
|
|
674
|
+
* close()'s ownership of the first (Iris-1827, room-293 #55410).
|
|
346
675
|
*/
|
|
347
676
|
private attemptReconnect;
|
|
677
|
+
/** One reconnect attempt. It never rejects: each outcome is an event, a
|
|
678
|
+
* scheduled retry, or a launch held as unreaped. */
|
|
348
679
|
private reconnectOnce;
|
|
349
680
|
/**
|
|
350
681
|
* Send a JSON-RPC request and return a promise that resolves with the result
|
|
@@ -394,6 +725,46 @@ export declare class McplServerConnection extends EventEmitter {
|
|
|
394
725
|
* Wire up the transport's line stream to route incoming JSON-RPC messages.
|
|
395
726
|
*/
|
|
396
727
|
private setupMessageRouting;
|
|
728
|
+
/** Contain synchronous dispatch failures; async RPC handlers own their promises. */
|
|
729
|
+
private dispatchMessage;
|
|
730
|
+
/**
|
|
731
|
+
* A request's responder, bound to the transport it came on (`epoch`): an
|
|
732
|
+
* answer, or a streamed inference's chunk, sent after that transport has
|
|
733
|
+
* closed reaches nothing, never a server that didn't ask it.
|
|
734
|
+
*/
|
|
735
|
+
private responderFor;
|
|
736
|
+
/**
|
|
737
|
+
* A request or notification read from a transport after its boundary has
|
|
738
|
+
* passed: the boundary's rule (resetPolicyForTransportBoundary). An
|
|
739
|
+
* incoming message or push is held as kept, for the next transport's
|
|
740
|
+
* grant, and any other is dropped and logged. (A response read then goes to
|
|
741
|
+
* handleResponse, flagged late.) A stdio
|
|
742
|
+
* server's transport closes on the child's 'exit', when its stdout may
|
|
743
|
+
* still be open, as it is while a process the server started holds it, and
|
|
744
|
+
* it is read until the next reconnect attempt closes its reader. No
|
|
745
|
+
* transport serves meanwhile, so what is held waits for the next grant
|
|
746
|
+
* (flushHeld). A connection closed for good, which won't reconnect, reads
|
|
747
|
+
* it while its writer lives, with no grant to come, so it drops and logs
|
|
748
|
+
* all of it; hold's bounds cap what any other keeps.
|
|
749
|
+
*/
|
|
750
|
+
private afterBoundary;
|
|
751
|
+
/** Live delivery and delayed plane flushes share the same containment boundary. */
|
|
752
|
+
private dispatchInboundEvent;
|
|
753
|
+
/** Report a failure the containment boundary caught, naming the event (or
|
|
754
|
+
* method) and request it was dispatching, and what failed. The message is
|
|
755
|
+
* what the framework's 'error' listener traces. */
|
|
756
|
+
private reportInboundFailure;
|
|
757
|
+
/**
|
|
758
|
+
* Give an error to the connection's 'error' listeners, and say whether it
|
|
759
|
+
* has any. EventEmitter throws an 'error' that nothing listens for, and
|
|
760
|
+
* from a transport's callback, where these errors arise, nothing catches
|
|
761
|
+
* that throw, so it ends the process. A bare connection has no listener:
|
|
762
|
+
* the class is exported, and a probe, a playtest or a harness often attaches
|
|
763
|
+
* none. So with no listener, the error is the caller's to log, unless it
|
|
764
|
+
* already has. A listener that throws is caught and logged, with the error
|
|
765
|
+
* it was handling.
|
|
766
|
+
*/
|
|
767
|
+
private emitToErrorListeners;
|
|
397
768
|
/**
|
|
398
769
|
* Handle a JSON-RPC response by resolving/rejecting the corresponding pending request.
|
|
399
770
|
*/
|
|
@@ -402,6 +773,10 @@ export declare class McplServerConnection extends EventEmitter {
|
|
|
402
773
|
* Send a successful JSON-RPC response back to the server.
|
|
403
774
|
*/
|
|
404
775
|
private sendResponse;
|
|
776
|
+
/** Whether a response to a request received on `epoch` may go out now.
|
|
777
|
+
* The id is the server's, so it's logged as a field; `answer`, which the
|
|
778
|
+
* caller has formatted for the log, ends the line. */
|
|
779
|
+
private sameTransport;
|
|
405
780
|
/**
|
|
406
781
|
* Send a JSON-RPC error response back to the server.
|
|
407
782
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server-connection.d.ts","sourceRoot":"","sources":["../../../src/mcpl/server-connection.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,OAAO,
|
|
1
|
+
{"version":3,"file":"server-connection.d.ts","sourceRoot":"","sources":["../../../src/mcpl/server-connection.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,OAAO,EAAqC,KAAK,aAAa,EAA2B,MAAM,gBAAgB,CAAC;AAEhH,OAAO,EAAE,eAAe,EAAgC,MAAM,uBAAuB,CAAC;AAUtF,OAAO,KAAK,EACV,gBAAgB,EAChB,gBAAgB,EAChB,oBAAoB,EAGpB,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,oBAAoB,EACpB,wBAAwB,EACxB,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,yBAAyB,EACzB,yBAAyB,EACzB,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACrB,2BAA2B,EAC3B,8BAA8B,EAC9B,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,YAAY,CAAC;AAGpB,OAAO,KAAK,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEhF;;;;;;GAMG;AACH,MAAM,WAAW,uBAAuB;IACtC;sEACkE;IAClE,SAAS,EAAE,aAAa,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IACxC,oFAAoF;IACpF,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,uDAAuD;IACvD,MAAM,EAAE,MAAM,CAAC,OAAO,GAAG,IAAI,CAAC;IAC9B,mEAAmE;IACnE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;mEAC+D;IAC/D,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;yDACqD;IACrD,MAAM,EAAE,OAAO,CAAC;CACjB;AAMD;kDACkD;AA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