@aria-cli/tools 1.0.18 → 1.0.31
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/dist/.aria-build-stamp.json +1 -1
- package/dist/ask-user-interaction.js +23 -0
- package/dist/cache/web-cache.js +67 -0
- package/dist/definitions/arion.js +105 -0
- package/dist/definitions/browser/browser.js +419 -0
- package/dist/definitions/browser/index.js +5 -0
- package/dist/definitions/browser/pw-downloads.js +115 -0
- package/dist/definitions/browser/pw-interactions.js +200 -0
- package/dist/definitions/browser/pw-responses.js +77 -0
- package/dist/definitions/browser/pw-session.js +311 -0
- package/dist/definitions/browser/pw-shared.js +67 -0
- package/dist/definitions/browser/pw-snapshot.js +302 -0
- package/dist/definitions/browser/pw-state.js +63 -0
- package/dist/definitions/browser/types.js +5 -0
- package/dist/definitions/code-intelligence.js +471 -0
- package/dist/definitions/core.js +110 -0
- package/dist/definitions/delegation.js +513 -0
- package/dist/definitions/deploy.js +66 -0
- package/dist/definitions/filesystem.js +197 -0
- package/dist/definitions/frg.js +64 -0
- package/{dist-cjs/definitions/index.d.ts → dist/definitions/index.js} +2 -0
- package/dist/definitions/memory.js +124 -0
- package/dist/definitions/messaging.js +626 -0
- package/dist/definitions/meta.js +350 -0
- package/dist/definitions/network.js +160 -0
- package/dist/definitions/outlook.js +278 -0
- package/dist/definitions/patch/apply-patch.js +185 -0
- package/dist/definitions/patch/fuzzy-match.js +167 -0
- package/{dist-cjs/definitions/patch/index.d.ts → dist/definitions/patch/index.js} +1 -0
- package/dist/definitions/patch/patch-parser.js +208 -0
- package/dist/definitions/patch/sandbox-paths.js +106 -0
- package/dist/definitions/process/index.js +5 -0
- package/dist/definitions/process/process-registry.js +214 -0
- package/dist/definitions/process/process.js +387 -0
- package/dist/definitions/process/pty-keys.js +255 -0
- package/dist/definitions/process/session-slug.js +143 -0
- package/dist/definitions/quip.js +196 -0
- package/dist/definitions/search.js +61 -0
- package/dist/definitions/session-history.js +70 -0
- package/dist/definitions/shell.js +182 -0
- package/dist/definitions/slack.js +181 -0
- package/dist/definitions/web.js +110 -0
- package/dist/{dns-pinning-vc0r0vpx.js → dns-pinning-7szqhtmq.js} +1 -1
- package/dist/executors/apply-patch.js +902 -0
- package/dist/executors/arion.js +120 -0
- package/dist/executors/code-intelligence.js +883 -0
- package/dist/executors/deploy.js +849 -0
- package/dist/executors/filesystem.js +1119 -0
- package/dist/executors/frg-freshness.js +577 -0
- package/dist/executors/frg.js +299 -0
- package/{dist-cjs/executors/index.d.ts → dist/executors/index.js} +22 -19
- package/dist/executors/learning-meta.js +1147 -0
- package/dist/executors/lsp-client.js +297 -0
- package/dist/executors/memory.js +751 -0
- package/dist/executors/meta.js +221 -0
- package/dist/executors/process-registry.js +466 -0
- package/dist/executors/pty-session-store.js +31 -0
- package/dist/executors/pty.js +281 -0
- package/dist/executors/restart.js +120 -0
- package/dist/executors/search-freshness.js +196 -0
- package/dist/executors/search-types.js +53 -0
- package/dist/executors/search.js +67 -0
- package/dist/executors/self-diagnose.js +399 -0
- package/dist/executors/session-history.js +284 -0
- package/dist/executors/shell-safety.js +474 -0
- package/dist/executors/shell.js +955 -0
- package/dist/executors/utils.js +34 -0
- package/dist/executors/web.js +543 -0
- package/dist/extraction/content-extraction.js +248 -0
- package/dist/extraction/index.js +5 -0
- package/dist/headless-control-contract.js +968 -0
- package/dist/{index-x52t2mbj.js → index-45qvfjbf.js} +2 -2
- package/dist/{index-8xap0se3.js → index-b3sdwzh5.js} +1 -1
- package/dist/index-tvryzx00.js +2 -0
- package/dist/index.js +71 -372
- package/dist/local-control-http-auth.js +3 -0
- package/dist/{lsp-client-msnj763y.js → lsp-client-3qxptwyw.js} +1 -1
- package/dist/mcp/client.js +182 -0
- package/dist/mcp/connection.js +484 -0
- package/dist/mcp/index.js +11 -0
- package/dist/mcp/jsonrpc.js +145 -0
- package/dist/mcp/types.js +8 -0
- package/dist/network-control-adapter.js +73 -0
- package/dist/network-runtime/address-types.js +166 -0
- package/dist/network-runtime/db-owner-fencing.js +70 -0
- package/dist/network-runtime/delivery-receipts.js +270 -0
- package/dist/network-runtime/direct-endpoint-authority.js +26 -0
- package/dist/network-runtime/index.js +13 -1
- package/dist/network-runtime/local-control-contract.js +628 -0
- package/dist/network-runtime/node-store-contract.js +35 -0
- package/dist/network-runtime/pair-route-contract.js +78 -0
- package/dist/network-runtime/peer-capabilities.js +29 -0
- package/dist/network-runtime/peer-principal-ref.js +13 -0
- package/dist/network-runtime/peer-state-machine.js +122 -0
- package/dist/network-runtime/protocol-schemas.js +206 -0
- package/dist/network-runtime/runtime-bootstrap-contract.js +61 -0
- package/dist/outlook/desktop-session.js +280 -0
- package/dist/policy.js +150 -0
- package/dist/providers/brave.js +63 -0
- package/dist/providers/duckduckgo.js +177 -0
- package/dist/providers/exa.js +64 -0
- package/dist/providers/firecrawl.js +56 -0
- package/{dist-cjs/providers/index.d.ts → dist/providers/index.js} +1 -1
- package/dist/providers/jina.js +50 -0
- package/dist/providers/router.js +97 -0
- package/dist/providers/search-provider.js +33 -0
- package/dist/providers/tavily.js +55 -0
- package/dist/pty-w5c9dv33.js +1 -0
- package/dist/quip/desktop-session.js +318 -0
- package/{dist-cjs/registry/index.d.ts → dist/registry/index.js} +1 -0
- package/dist/registry/registry.js +757 -0
- package/dist/runtime-socket-local-control-client.js +331 -0
- package/dist/security/dns-normalization.js +20 -0
- package/dist/security/dns-pinning.js +124 -0
- package/dist/security/external-content.js +92 -0
- package/dist/security/ssrf.js +182 -0
- package/dist/session-history-gk75e3ta.js +1 -0
- package/dist/slack/desktop-session.js +325 -0
- package/dist/tool-factory.js +48 -0
- package/dist/types.js +8 -0
- package/dist/utils/retry.js +133 -0
- package/dist/utils/safe-parse-json.js +161 -0
- package/dist/utils/url.js +20 -0
- package/dist-cjs/ask-user-interaction.js +28 -0
- package/dist-cjs/cache/web-cache.js +71 -0
- package/dist-cjs/definitions/arion.js +108 -0
- package/dist-cjs/definitions/browser/browser.js +422 -0
- package/dist-cjs/definitions/browser/index.js +9 -0
- package/dist-cjs/definitions/browser/pw-downloads.js +118 -0
- package/dist-cjs/definitions/browser/pw-interactions.js +214 -0
- package/dist-cjs/definitions/browser/pw-responses.js +85 -0
- package/dist-cjs/definitions/browser/pw-session.js +327 -0
- package/dist-cjs/definitions/browser/pw-shared.js +73 -0
- package/dist-cjs/definitions/browser/pw-snapshot.js +308 -0
- package/dist-cjs/definitions/browser/pw-state.js +71 -0
- package/dist-cjs/definitions/browser/types.js +6 -0
- package/dist-cjs/definitions/code-intelligence.js +474 -0
- package/dist-cjs/definitions/core.js +134 -0
- package/dist-cjs/definitions/delegation.js +516 -0
- package/dist-cjs/definitions/deploy.js +69 -0
- package/dist-cjs/definitions/filesystem.js +200 -0
- package/dist-cjs/definitions/frg.js +67 -0
- package/dist-cjs/definitions/index.js +44 -0
- package/dist-cjs/definitions/memory.js +127 -0
- package/dist-cjs/definitions/messaging.js +632 -0
- package/dist-cjs/definitions/meta.js +353 -0
- package/dist-cjs/definitions/network.js +163 -0
- package/dist-cjs/definitions/outlook.js +281 -0
- package/dist-cjs/definitions/patch/apply-patch.js +192 -0
- package/dist-cjs/definitions/patch/fuzzy-match.js +173 -0
- package/dist-cjs/definitions/patch/index.js +6 -0
- package/dist-cjs/definitions/patch/patch-parser.js +216 -0
- package/dist-cjs/definitions/patch/sandbox-paths.js +114 -0
- package/dist-cjs/definitions/process/index.js +9 -0
- package/dist-cjs/definitions/process/process-registry.js +232 -0
- package/dist-cjs/definitions/process/process.js +390 -0
- package/dist-cjs/definitions/process/pty-keys.js +260 -0
- package/dist-cjs/definitions/process/session-slug.js +146 -0
- package/dist-cjs/definitions/quip.js +199 -0
- package/dist-cjs/definitions/search.js +64 -0
- package/dist-cjs/definitions/session-history.js +73 -0
- package/dist-cjs/definitions/shell.js +185 -0
- package/dist-cjs/definitions/slack.js +184 -0
- package/dist-cjs/definitions/web.js +113 -0
- package/dist-cjs/executors/apply-patch.js +939 -0
- package/dist-cjs/executors/arion.js +126 -0
- package/dist-cjs/executors/code-intelligence.js +926 -0
- package/dist-cjs/executors/deploy.js +870 -0
- package/dist-cjs/executors/filesystem.js +1164 -0
- package/dist-cjs/executors/frg-freshness.js +628 -0
- package/dist-cjs/executors/frg.js +335 -0
- package/dist-cjs/executors/index.js +144 -0
- package/dist-cjs/executors/learning-meta.js +1166 -0
- package/dist-cjs/executors/memory.js +797 -0
- package/dist-cjs/executors/meta.js +227 -0
- package/dist-cjs/executors/process-registry.js +470 -0
- package/dist-cjs/executors/pty-session-store.js +35 -0
- package/dist-cjs/executors/pty.js +289 -0
- package/dist-cjs/executors/restart.js +156 -0
- package/dist-cjs/executors/search-freshness.js +235 -0
- package/dist-cjs/executors/search-types.js +57 -0
- package/dist-cjs/executors/search.js +103 -0
- package/dist-cjs/executors/self-diagnose.js +435 -0
- package/dist-cjs/executors/session-history.js +321 -0
- package/dist-cjs/executors/shell-safety.js +479 -0
- package/dist-cjs/executors/shell.js +1002 -0
- package/dist-cjs/executors/utils.js +74 -0
- package/dist-cjs/executors/web.js +548 -0
- package/dist-cjs/extraction/content-extraction.js +289 -0
- package/dist-cjs/extraction/index.js +9 -0
- package/dist-cjs/headless-control-contract.js +973 -0
- package/dist-cjs/index.js +436 -385
- package/dist-cjs/local-control-http-auth.js +6 -0
- package/dist-cjs/mcp/client.js +186 -0
- package/dist-cjs/mcp/connection.js +488 -0
- package/dist-cjs/mcp/index.js +31 -0
- package/dist-cjs/mcp/jsonrpc.js +149 -0
- package/dist-cjs/mcp/types.js +9 -0
- package/dist-cjs/network-control-adapter.js +78 -0
- package/dist-cjs/network-runtime/address-types.js +169 -0
- package/dist-cjs/network-runtime/db-owner-fencing.js +77 -0
- package/dist-cjs/network-runtime/delivery-receipts.js +279 -0
- package/dist-cjs/network-runtime/direct-endpoint-authority.js +30 -0
- package/dist-cjs/network-runtime/index.js +173 -8
- package/dist-cjs/network-runtime/local-control-contract.js +634 -0
- package/dist-cjs/network-runtime/node-store-contract.js +39 -0
- package/dist-cjs/network-runtime/pair-route-contract.js +81 -0
- package/dist-cjs/network-runtime/peer-capabilities.js +38 -0
- package/dist-cjs/network-runtime/peer-principal-ref.js +16 -0
- package/dist-cjs/network-runtime/peer-state-machine.js +130 -0
- package/dist-cjs/network-runtime/protocol-schemas.js +213 -0
- package/dist-cjs/network-runtime/runtime-bootstrap-contract.js +64 -0
- package/dist-cjs/outlook/desktop-session.js +319 -0
- package/dist-cjs/policy.js +156 -0
- package/dist-cjs/providers/brave.js +67 -0
- package/dist-cjs/providers/duckduckgo.js +181 -0
- package/dist-cjs/providers/exa.js +68 -0
- package/dist-cjs/providers/firecrawl.js +60 -0
- package/dist-cjs/providers/index.js +18 -0
- package/dist-cjs/providers/jina.js +54 -0
- package/dist-cjs/providers/router.js +101 -0
- package/dist-cjs/providers/search-provider.js +37 -0
- package/dist-cjs/providers/tavily.js +59 -0
- package/dist-cjs/quip/desktop-session.js +354 -0
- package/dist-cjs/registry/index.js +7 -0
- package/dist-cjs/registry/registry.js +762 -0
- package/dist-cjs/runtime-socket-local-control-client.js +368 -0
- package/dist-cjs/security/dns-normalization.js +23 -0
- package/dist-cjs/security/dns-pinning.js +161 -0
- package/dist-cjs/security/external-content.js +96 -0
- package/dist-cjs/security/ssrf.js +222 -0
- package/dist-cjs/slack/desktop-session.js +367 -0
- package/dist-cjs/tool-factory.js +51 -0
- package/dist-cjs/types.js +9 -0
- package/dist-cjs/utils/retry.js +170 -0
- package/dist-cjs/utils/safe-parse-json.js +165 -0
- package/dist-cjs/utils/url.js +24 -0
- package/package.json +11 -10
- package/dist/ask-user-interaction.d.ts +0 -10
- package/dist/cache/web-cache.d.ts +0 -52
- package/dist/definitions/arion.d.ts +0 -8
- package/dist/definitions/browser/browser.d.ts +0 -2
- package/dist/definitions/browser/index.d.ts +0 -1
- package/dist/definitions/browser/pw-downloads.d.ts +0 -13
- package/dist/definitions/browser/pw-interactions.d.ts +0 -78
- package/dist/definitions/browser/pw-responses.d.ts +0 -28
- package/dist/definitions/browser/pw-session.d.ts +0 -65
- package/dist/definitions/browser/pw-shared.d.ts +0 -22
- package/dist/definitions/browser/pw-snapshot.d.ts +0 -34
- package/dist/definitions/browser/pw-state.d.ts +0 -22
- package/dist/definitions/browser/types.d.ts +0 -277
- package/dist/definitions/code-intelligence.d.ts +0 -8
- package/dist/definitions/core.d.ts +0 -47
- package/dist/definitions/delegation.d.ts +0 -11
- package/dist/definitions/deploy.d.ts +0 -15
- package/dist/definitions/filesystem.d.ts +0 -9
- package/dist/definitions/frg.d.ts +0 -3
- package/dist/definitions/index.d.ts +0 -19
- package/dist/definitions/memory.d.ts +0 -8
- package/dist/definitions/messaging.d.ts +0 -11
- package/dist/definitions/meta.d.ts +0 -11
- package/dist/definitions/network.d.ts +0 -11
- package/dist/definitions/outlook.d.ts +0 -2
- package/dist/definitions/patch/apply-patch.d.ts +0 -11
- package/dist/definitions/patch/fuzzy-match.d.ts +0 -10
- package/dist/definitions/patch/index.d.ts +0 -1
- package/dist/definitions/patch/patch-parser.d.ts +0 -50
- package/dist/definitions/patch/sandbox-paths.d.ts +0 -18
- package/dist/definitions/process/index.d.ts +0 -1
- package/dist/definitions/process/process-registry.d.ts +0 -67
- package/dist/definitions/process/process.d.ts +0 -9
- package/dist/definitions/process/pty-keys.d.ts +0 -13
- package/dist/definitions/process/session-slug.d.ts +0 -1
- package/dist/definitions/quip.d.ts +0 -2
- package/dist/definitions/search.d.ts +0 -9
- package/dist/definitions/session-history.d.ts +0 -11
- package/dist/definitions/shell.d.ts +0 -8
- package/dist/definitions/slack.d.ts +0 -2
- package/dist/definitions/web.d.ts +0 -8
- package/dist/executors/apply-patch.d.ts +0 -51
- package/dist/executors/arion.d.ts +0 -50
- package/dist/executors/code-intelligence.d.ts +0 -138
- package/dist/executors/deploy.d.ts +0 -169
- package/dist/executors/filesystem.d.ts +0 -150
- package/dist/executors/frg-freshness.d.ts +0 -93
- package/dist/executors/frg.d.ts +0 -27
- package/dist/executors/index.d.ts +0 -44
- package/dist/executors/learning-meta.d.ts +0 -87
- package/dist/executors/lsp-client.d.ts +0 -38
- package/dist/executors/memory.d.ts +0 -203
- package/dist/executors/meta.d.ts +0 -73
- package/dist/executors/process-registry.d.ts +0 -98
- package/dist/executors/pty-session-store.d.ts +0 -14
- package/dist/executors/pty.d.ts +0 -133
- package/dist/executors/restart.d.ts +0 -13
- package/dist/executors/search-freshness.d.ts +0 -50
- package/dist/executors/search-types.d.ts +0 -52
- package/dist/executors/search.d.ts +0 -11
- package/dist/executors/self-diagnose.d.ts +0 -89
- package/dist/executors/session-history.d.ts +0 -75
- package/dist/executors/shell-safety.d.ts +0 -27
- package/dist/executors/shell.d.ts +0 -168
- package/dist/executors/utils.d.ts +0 -20
- package/dist/executors/web.d.ts +0 -89
- package/dist/extraction/content-extraction.d.ts +0 -48
- package/dist/extraction/index.d.ts +0 -4
- package/dist/headless-control-contract.d.ts +0 -3182
- package/dist/index-a2fr1b3x.js +0 -2
- package/dist/index.d.ts +0 -62
- package/dist/local-control-http-auth.d.ts +0 -2
- package/dist/mcp/client.d.ts +0 -68
- package/dist/mcp/connection.d.ts +0 -54
- package/dist/mcp/index.d.ts +0 -10
- package/dist/mcp/jsonrpc.d.ts +0 -36
- package/dist/mcp/types.d.ts +0 -178
- package/dist/network-control-adapter.d.ts +0 -4
- package/dist/network-runtime/address-types.d.ts +0 -201
- package/dist/network-runtime/db-owner-fencing.d.ts +0 -43
- package/dist/network-runtime/delivery-receipts.d.ts +0 -117
- package/dist/network-runtime/direct-endpoint-authority.d.ts +0 -8
- package/dist/network-runtime/index.d.ts +0 -24
- package/dist/network-runtime/local-control-contract.d.ts +0 -758
- package/dist/network-runtime/node-store-contract.d.ts +0 -49
- package/dist/network-runtime/pair-route-contract.d.ts +0 -100
- package/dist/network-runtime/peer-capabilities.d.ts +0 -10
- package/dist/network-runtime/peer-principal-ref.d.ts +0 -9
- package/dist/network-runtime/peer-state-machine.d.ts +0 -70
- package/dist/network-runtime/protocol-schemas.d.ts +0 -328
- package/dist/network-runtime/runtime-bootstrap-contract.d.ts +0 -81
- package/dist/outlook/desktop-session.d.ts +0 -68
- package/dist/policy.d.ts +0 -43
- package/dist/providers/brave.d.ts +0 -10
- package/dist/providers/duckduckgo.d.ts +0 -18
- package/dist/providers/exa.d.ts +0 -10
- package/dist/providers/firecrawl.d.ts +0 -10
- package/dist/providers/index.d.ts +0 -8
- package/dist/providers/jina.d.ts +0 -10
- package/dist/providers/router.d.ts +0 -21
- package/dist/providers/search-provider.d.ts +0 -35
- package/dist/providers/tavily.d.ts +0 -10
- package/dist/pty-ff59hy75.js +0 -1
- package/dist/quip/desktop-session.d.ts +0 -69
- package/dist/registry/index.d.ts +0 -1
- package/dist/registry/registry.d.ts +0 -156
- package/dist/runtime-socket-local-control-client.d.ts +0 -10
- package/dist/security/dns-normalization.d.ts +0 -6
- package/dist/security/dns-pinning.d.ts +0 -27
- package/dist/security/external-content.d.ts +0 -40
- package/dist/security/ssrf.d.ts +0 -40
- package/dist/session-history-6gn52xhp.js +0 -1
- package/dist/slack/desktop-session.d.ts +0 -69
- package/dist/tool-factory.d.ts +0 -46
- package/dist/types.d.ts +0 -1192
- package/dist/utils/retry.d.ts +0 -11
- package/dist/utils/safe-parse-json.d.ts +0 -26
- package/dist/utils/url.d.ts +0 -10
- package/dist-cjs/ask-user-interaction.d.ts +0 -10
- package/dist-cjs/cache/web-cache.d.ts +0 -52
- package/dist-cjs/definitions/arion.d.ts +0 -8
- package/dist-cjs/definitions/browser/browser.d.ts +0 -2
- package/dist-cjs/definitions/browser/index.d.ts +0 -1
- package/dist-cjs/definitions/browser/pw-downloads.d.ts +0 -13
- package/dist-cjs/definitions/browser/pw-interactions.d.ts +0 -78
- package/dist-cjs/definitions/browser/pw-responses.d.ts +0 -28
- package/dist-cjs/definitions/browser/pw-session.d.ts +0 -65
- package/dist-cjs/definitions/browser/pw-shared.d.ts +0 -22
- package/dist-cjs/definitions/browser/pw-snapshot.d.ts +0 -34
- package/dist-cjs/definitions/browser/pw-state.d.ts +0 -22
- package/dist-cjs/definitions/browser/types.d.ts +0 -277
- package/dist-cjs/definitions/code-intelligence.d.ts +0 -8
- package/dist-cjs/definitions/core.d.ts +0 -47
- package/dist-cjs/definitions/delegation.d.ts +0 -11
- package/dist-cjs/definitions/deploy.d.ts +0 -15
- package/dist-cjs/definitions/filesystem.d.ts +0 -9
- package/dist-cjs/definitions/frg.d.ts +0 -3
- package/dist-cjs/definitions/memory.d.ts +0 -8
- package/dist-cjs/definitions/messaging.d.ts +0 -11
- package/dist-cjs/definitions/meta.d.ts +0 -11
- package/dist-cjs/definitions/network.d.ts +0 -11
- package/dist-cjs/definitions/outlook.d.ts +0 -2
- package/dist-cjs/definitions/patch/apply-patch.d.ts +0 -11
- package/dist-cjs/definitions/patch/fuzzy-match.d.ts +0 -10
- package/dist-cjs/definitions/patch/patch-parser.d.ts +0 -50
- package/dist-cjs/definitions/patch/sandbox-paths.d.ts +0 -18
- package/dist-cjs/definitions/process/index.d.ts +0 -1
- package/dist-cjs/definitions/process/process-registry.d.ts +0 -67
- package/dist-cjs/definitions/process/process.d.ts +0 -9
- package/dist-cjs/definitions/process/pty-keys.d.ts +0 -13
- package/dist-cjs/definitions/process/session-slug.d.ts +0 -1
- package/dist-cjs/definitions/quip.d.ts +0 -2
- package/dist-cjs/definitions/search.d.ts +0 -9
- package/dist-cjs/definitions/session-history.d.ts +0 -11
- package/dist-cjs/definitions/shell.d.ts +0 -8
- package/dist-cjs/definitions/slack.d.ts +0 -2
- package/dist-cjs/definitions/web.d.ts +0 -8
- package/dist-cjs/executors/apply-patch.d.ts +0 -51
- package/dist-cjs/executors/arion.d.ts +0 -50
- package/dist-cjs/executors/code-intelligence.d.ts +0 -138
- package/dist-cjs/executors/deploy.d.ts +0 -169
- package/dist-cjs/executors/filesystem.d.ts +0 -150
- package/dist-cjs/executors/frg-freshness.d.ts +0 -93
- package/dist-cjs/executors/frg.d.ts +0 -27
- package/dist-cjs/executors/learning-meta.d.ts +0 -87
- package/dist-cjs/executors/lsp-client.d.ts +0 -38
- package/dist-cjs/executors/memory.d.ts +0 -203
- package/dist-cjs/executors/meta.d.ts +0 -73
- package/dist-cjs/executors/process-registry.d.ts +0 -98
- package/dist-cjs/executors/pty-session-store.d.ts +0 -14
- package/dist-cjs/executors/pty.d.ts +0 -133
- package/dist-cjs/executors/restart.d.ts +0 -13
- package/dist-cjs/executors/search-freshness.d.ts +0 -50
- package/dist-cjs/executors/search-types.d.ts +0 -52
- package/dist-cjs/executors/search.d.ts +0 -11
- package/dist-cjs/executors/self-diagnose.d.ts +0 -89
- package/dist-cjs/executors/session-history.d.ts +0 -75
- package/dist-cjs/executors/shell-safety.d.ts +0 -27
- package/dist-cjs/executors/shell.d.ts +0 -168
- package/dist-cjs/executors/utils.d.ts +0 -20
- package/dist-cjs/executors/web.d.ts +0 -89
- package/dist-cjs/extraction/content-extraction.d.ts +0 -48
- package/dist-cjs/extraction/index.d.ts +0 -4
- package/dist-cjs/headless-control-contract.d.ts +0 -3182
- package/dist-cjs/index.d.ts +0 -62
- package/dist-cjs/local-control-http-auth.d.ts +0 -2
- package/dist-cjs/mcp/client.d.ts +0 -68
- package/dist-cjs/mcp/connection.d.ts +0 -54
- package/dist-cjs/mcp/index.d.ts +0 -10
- package/dist-cjs/mcp/jsonrpc.d.ts +0 -36
- package/dist-cjs/mcp/types.d.ts +0 -178
- package/dist-cjs/network-control-adapter.d.ts +0 -4
- package/dist-cjs/network-runtime/address-types.d.ts +0 -201
- package/dist-cjs/network-runtime/db-owner-fencing.d.ts +0 -43
- package/dist-cjs/network-runtime/delivery-receipts.d.ts +0 -117
- package/dist-cjs/network-runtime/direct-endpoint-authority.d.ts +0 -8
- package/dist-cjs/network-runtime/index.d.ts +0 -24
- package/dist-cjs/network-runtime/local-control-contract.d.ts +0 -758
- package/dist-cjs/network-runtime/node-store-contract.d.ts +0 -49
- package/dist-cjs/network-runtime/pair-route-contract.d.ts +0 -100
- package/dist-cjs/network-runtime/peer-capabilities.d.ts +0 -10
- package/dist-cjs/network-runtime/peer-principal-ref.d.ts +0 -9
- package/dist-cjs/network-runtime/peer-state-machine.d.ts +0 -70
- package/dist-cjs/network-runtime/protocol-schemas.d.ts +0 -328
- package/dist-cjs/network-runtime/runtime-bootstrap-contract.d.ts +0 -81
- package/dist-cjs/outlook/desktop-session.d.ts +0 -68
- package/dist-cjs/policy.d.ts +0 -43
- package/dist-cjs/providers/brave.d.ts +0 -10
- package/dist-cjs/providers/duckduckgo.d.ts +0 -18
- package/dist-cjs/providers/exa.d.ts +0 -10
- package/dist-cjs/providers/firecrawl.d.ts +0 -10
- package/dist-cjs/providers/jina.d.ts +0 -10
- package/dist-cjs/providers/router.d.ts +0 -21
- package/dist-cjs/providers/search-provider.d.ts +0 -35
- package/dist-cjs/providers/tavily.d.ts +0 -10
- package/dist-cjs/quip/desktop-session.d.ts +0 -69
- package/dist-cjs/registry/registry.d.ts +0 -156
- package/dist-cjs/runtime-socket-local-control-client.d.ts +0 -10
- package/dist-cjs/security/dns-normalization.d.ts +0 -6
- package/dist-cjs/security/dns-pinning.d.ts +0 -27
- package/dist-cjs/security/external-content.d.ts +0 -40
- package/dist-cjs/security/ssrf.d.ts +0 -40
- package/dist-cjs/slack/desktop-session.d.ts +0 -69
- package/dist-cjs/tool-factory.d.ts +0 -46
- package/dist-cjs/types.d.ts +0 -1192
- package/dist-cjs/utils/retry.d.ts +0 -11
- package/dist-cjs/utils/safe-parse-json.d.ts +0 -26
- package/dist-cjs/utils/url.d.ts +0 -10
package/dist/index-a2fr1b3x.js
DELETED
package/dist/index.d.ts
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @aria/tools - Tool framework for ARIA
|
|
3
|
-
* @packageDocumentation
|
|
4
|
-
*/
|
|
5
|
-
export type { Tool, ToolCategory, ToolContext, ToolResult, RiskLevel, LoadingTier, RegisterOptions, ToolInfo, ToolUseBlock, ToolResultBlock, ToolRegistry as ToolRegistryInterface, ToolMiddleware, ArionRef, ArionManagerRef, Logger, ProcessMetadataRef, ProcessExitMetadataRef, ProcessInfoRef, WaitProcessResultRef, ProcessRegistryRef, PTYSessionStoreRef, ModelRouterRef, ProviderContext, DelegationRegistryRef, DelegationEntryRef, DelegationExecutorRef, QuestStoreRef, ToolRegistryRef, QuestStoreItem, QuestStoreStatus, MessageStoreRef, SessionHistoryRef, SessionSummaryRef, SessionContextRef, SessionMessageRef, RunMetricsRef, MailboxDeliveryReceipt, MailboxRef, NetworkControlRef, NetworkManagerPeerInfo, NetworkPeerView, NetworkStatusView, NetworkManagerRef, NetworkPeerRegistrationResultRef, NetworkPeerRegistrationFailureRef, NetworkPeerRepairResultRef, NetworkPeerRepairFailureRef, NetworkPeerRevocationResultRef, NetworkPeerRevocationFailureRef, LocalControlApi, AttachedLocalControlApi, RunHandle, ResumeRunRequest, RuntimeBootstrapPhase, RuntimeBootstrapRecord, RuntimeRunEvent, RuntimeEventCursor, } from "./types.js";
|
|
6
|
-
export type { AskUserQuestion } from "./ask-user-interaction.js";
|
|
7
|
-
export { AskUserPauseRequiredError, isAskUserPauseRequiredError } from "./ask-user-interaction.js";
|
|
8
|
-
export type { HeadlessOperationName, HeadlessRequestId, HeadlessInteractionId, HeadlessInteractionSource, HeadlessInteractionQuestion, HeadlessSelectionOption, HeadlessCredentialField, HeadlessInteractionPayload, HeadlessInteractionResponsePayload, HeadlessInteractionRequest, HeadlessInteractionResponse, HeadlessError, HeadlessRequest, HeadlessEvent, HeadlessResult, HeadlessClientFrame, HeadlessServerFrame, HeadlessOperationSuccessResult, HeadlessOperationSchemaDefinition, HeadlessRunStartInput, HeadlessRunResumeInput, } from "./headless-control-contract.js";
|
|
9
|
-
export { HEADLESS_OPERATION_NAMES, HEADLESS_OPERATION_SCHEMAS, HEADLESS_CONNECTION_OWNED_OPERATION_NAMES, HEADLESS_STREAMING_OPERATION_NAMES, HeadlessOperationNameSchema, HeadlessRequestIdSchema, HeadlessInteractionIdSchema, HeadlessInteractionSourceSchema, HeadlessInteractionQuestionSchema, HeadlessSelectionOptionSchema, HeadlessCredentialFieldSchema, HeadlessToolApprovalPayloadSchema, HeadlessQuestionnairePayloadSchema, HeadlessSelectionPayloadSchema, HeadlessCredentialInputPayloadSchema, HeadlessOauthDevicePayloadSchema, HeadlessConfirmPayloadSchema, HeadlessInteractionPayloadSchema, HeadlessConfirmResponsePayloadSchema, HeadlessQuestionnaireResponsePayloadSchema, HeadlessSelectionResponsePayloadSchema, HeadlessCredentialInputResponsePayloadSchema, HeadlessOauthDeviceResponsePayloadSchema, HeadlessCancelResponsePayloadSchema, HeadlessInteractionResponsePayloadSchema, HeadlessInteractionRequestSchema, HeadlessInteractionResponseSchema, HeadlessErrorSchema, HeadlessSessionSummarySchema, HeadlessLoadedSessionSchema, HeadlessSessionListInputSchema, HeadlessSessionReferenceInputSchema, HeadlessSessionListResultSchema, HeadlessSessionReadResultSchema, HeadlessSessionLoadResultSchema, HeadlessMemoryRememberInputSchema, HeadlessMemoryRecallInputSchema, HeadlessMemoryListInputSchema, HeadlessMemoryForgetInputSchema, HeadlessMemoryRecallKnowledgeInputSchema, HeadlessArionNameInputSchema, HeadlessArionHatchInputSchema, HeadlessArionCreateInputSchema, HeadlessModelSetInputSchema, HeadlessAuthLoginInputSchema, HeadlessAuthLogoutInputSchema, HeadlessClientInboxListInputSchema, HeadlessMessageSendInputSchema, HeadlessMessageInboxListInputSchema, HeadlessConfigThemeSetInputSchema, HeadlessConfigAutonomySetInputSchema, HeadlessSystemRestartInputSchema, HeadlessRunAbortInputSchema, HeadlessDaemonCommandInputSchema, HeadlessHookExtractPairSchema, HeadlessHookExtractInputSchema, HeadlessHookReflectMessageSchema, HeadlessHookReflectInputSchema, HeadlessHookIngestInputSchema, HeadlessHookHarvestInputSchema, HeadlessMessageSendResultSchema, HeadlessInboxListResultSchema, HeadlessPeerListResultSchema, HeadlessNearbyPeerListResultSchema, HeadlessPendingPairListResultSchema, HeadlessClientListResultSchema, HeadlessHookExtractResultSchema, HeadlessRunAbortResultSchema, HeadlessInteractionRespondResultSchema, HeadlessMemoryRememberResultSchema, HeadlessMemoryRecallResultSchema, HeadlessMemoryListResultSchema, HeadlessMemoryForgetResultSchema, HeadlessMemoryRecallKnowledgeResultSchema, HeadlessArionListResultSchema, HeadlessArionHatchResultSchema, HeadlessArionBecomeResultSchema, HeadlessArionMutateResultSchema, HeadlessArionCreateResultSchema, HeadlessModelListResultSchema, HeadlessModelSetResultSchema, HeadlessModelRefreshResultSchema, HeadlessAuthStatusResultSchema, HeadlessAuthLoginResultSchema, HeadlessAuthLogoutResultSchema, HeadlessConfigThemeGetResultSchema, HeadlessConfigThemeSetResultSchema, HeadlessConfigAutonomyGetResultSchema, HeadlessConfigAutonomySetResultSchema, HeadlessSystemRestartResultSchema, HeadlessSystemTerminalSetupResultSchema, HeadlessHookReflectResultSchema, HeadlessHookConsolidateResultSchema, HeadlessHookIngestResultSchema, HeadlessHookHarvestResultSchema, HeadlessOperationSuccessResultSchema, HeadlessRunStartInputSchema, HeadlessRunResumeInputSchema, HeadlessRequestSchema, HeadlessEventSchema, HeadlessResultSchema, HeadlessClientFrameSchema, HeadlessServerFrameSchema, } from "./headless-control-contract.js";
|
|
10
|
-
export { toNetworkControlRef, toNetworkPeerView, toNetworkStatusView, } from "./network-control-adapter.js";
|
|
11
|
-
export { createRuntimeSocketAttachedLocalControlClient, createRuntimeSocketLocalControlClient, } from "./runtime-socket-local-control-client.js";
|
|
12
|
-
export { LOCAL_HTTP_CLIENT_ID_HEADER, LOCAL_HTTP_CLIENT_PROOF_HEADER, } from "./local-control-http-auth.js";
|
|
13
|
-
export { NodeIdSchema, NodeMetadataSchema, RuntimeIdSchema, RevocationDecisionSchema, RevocationOperatorConfirmationSchema, ClientIdSchema, PrincipalFingerprintSchema, PeerTransportIdSchema, SigningPublicKeySchema, TlsCaFingerprintSchema, LoopbackTlsIdentitySchema, TransportEndpointAdvertisementSchema, InboxAddressSchema, ControlEndpointAdvertisementSchema, NodeAdvertisementSchema, LocalRuntimeSummarySchema, NodePrincipalBindingRefSchema, RuntimeBootstrapPhaseSchema, RuntimeBootstrapTlsSchema, RuntimeBootstrapIdentitySchema, RuntimeBootstrapRecordSchema, PairRequestRouteBodySchema, PairRequestRouteBodyJsonSchema, AcceptInviteRequestSchema, AcceptInviteRequestBodyJsonSchema, PairRelayRouteBodySchema, PairRelayRouteBodyJsonSchema, RelayPendingQuerySchema, RelayPendingQueryJsonSchema, RelayPendingRequestSchema, RelayPendingResponseSchema, RunRequestSchema, RunResultSchema, RuntimeErrorDiagnosticSchema, createTrustedRuntimeError, resolveTrustedRuntimeErrorMessage, ResumeRunRequestSchema, RuntimeRunEventSchema, RuntimeQueuedReceiptSchema, RuntimeDeliveryReceiptSchema, RuntimeTransportSchema, DeliveryStateSchema, SessionStateSchema, DeliveryReadinessSchema, QueuedReasonSchema, OutboxReceiptStatusSchema, canonicalizeDeliveryReceipt, canonicalizeOutboxReceiptStatus, createAckedDeliveryReceipt, createQueuedForRouteReceipt, createDispatchingDeliveryReceipt, createSentDeliveryReceipt, canonicalizeAuthoritativeDirectEndpoint, isLoopbackDirectEndpointHost, OutboundMessageSchema, RuntimeEventCursorSchema, InboxCursorSchema, InboxListRequestSchema, AttachedClientViewSchema, AttachedClientLeaseGrantSchema, AttachedClientAuthSchema, PersistedInboxEventSchema, PeerViewEventSchema, NearbyPeerViewSchema, RuntimeAutonomousLoopSafetyPolicySummarySchema, RuntimeAutonomousLoopStatusSchema, RuntimeAutonomousLoopCommandSchema, RuntimeStatusSchema, PendingPairRequestViewSchema, PendingInviteViewSchema, PairRequestDecisionSchema, PairRequestResponseSchema, CreateInviteRequestSchema, CreateInviteResponseSchema, InvitePeerRequestSchema, InvitePeerResultSchema, AcceptInviteResponseSchema, AcceptInviteTokenRequestSchema, AcceptInviteTokenResponseSchema, CancelInviteRequestSchema, CancelInviteResponseSchema, DirectPairRequestSchema, DirectPairRequestJsonSchema, DirectPairResponseSchema, RevokePeerRequestSchema, RevokePeerResponseSchema, RepairPeerRequestSchema, RepairPeerResponseSchema, LocalControlClientKindSchema, LocalControlSocketAttachClientRequestSchema, LocalControlSocketAttachClientResponseSchema, LocalControlSocketDetachClientRequestSchema, LocalControlSocketDetachClientResponseSchema, LocalControlSocketMethodSchema, LocalControlSocketRequestSchema, LocalControlSocketSuccessResponseSchema, LocalControlSocketErrorResponseSchema, LocalControlSocketResponseSchema, RuntimeOwnerRecordSchema, RuntimeEventKindSchema, RuntimeEventSchema, RuntimeBootstrapRevisionSchema, RuntimeBootstrapControlEndpointSchema, NETWORK_RUNTIME_PROTOCOL_VERSION, NetworkRuntimeProtocolVersionSchema, DeliveryAckSchema, TransportInviteTokenSchema, JoinRequestSchema, JoinRouteBodySchema, JoinRouteBodyJsonSchema, RuntimeIngressEnvelopeSchema, RuntimeNodeAdvertisementSchema, RuntimeDiscoveryAdvertisementSchema, RuntimeRegisterRequestSchema, PairProposalSchema, ContinuityStatementSchema, SignedContinuityBindSchema, MutationOperationSchema, MutationEnvelopeSchema, NetworkRouteRevokeRequestSchema, NetworkRouteRevokeRequestJsonSchema, isSupportedNetworkRuntimeProtocolVersion, assertSupportedNetworkRuntimeProtocolVersion, LegacyPeerRegistryStatusSchema, PeerIdentityStateSchema, PeerTransportStateSchema, PeerMutationKindSchema, LegacyPeerRuntimeShapeSchema, PeerStateSnapshotSchema, derivePeerStateFromLegacyStatus, isValidPeerStateCombination, isValidPeerIdentityTransition, isValidPeerTransportTransition, comparePeerMutationPrecedence, canRecordPendingPair, canCommitVerifiedPair, canRefreshEndpoint, canHeartbeat, canAttemptBestEffortTransport, canAttemptDurableDelivery, canMutateTrustedState, } from "./network-runtime/index.js";
|
|
14
|
-
export type { PairRequestRouteBody, PairRelayRouteBody, RelayPendingQuery, RelayPendingRequest, RelayPendingResponse, RevocationDecision, RevocationOperatorConfirmation, NodeId, NodeMetadata, RuntimeId, ClientId, PrincipalFingerprint, PeerTransportId, SigningPublicKey, TlsCaFingerprint, LoopbackTlsIdentity, TransportEndpointAdvertisement, InboxAddress, ControlEndpointAdvertisement, NodeAdvertisement, LocalRuntimeSummary, RunRequest, RunResult, RuntimeErrorDiagnostic, RuntimeQueuedReceipt, RuntimeDeliveryReceipt, RuntimeTransport, DeliveryState, SessionState, DeliveryReadiness, QueuedReason, OutboxReceiptStatus, CanonicalDeliveryReceipt, OutboundMessage, InboxCursor, InboxListRequest, AttachedClientView, AttachedClientLeaseGrant, AttachedClientAuth, PersistedInboxEvent, PeerViewEvent, NearbyPeerView, RuntimeAutonomousLoopSafetyPolicySummary, RuntimeAutonomousLoopStatus, RuntimeAutonomousLoopCommand, RuntimeStatus, PendingPairRequestView, PendingInviteView, PairRequestDecision, PairRequestResponse, CreateInviteRequest, CreateInviteResponse, InvitePeerRequest, InvitePeerResult, AcceptInviteRequest, AcceptInviteResponse, AcceptInviteTokenRequest, AcceptInviteTokenResponse, CancelInviteRequest, CancelInviteResponse, DirectPairRequest, DirectPairResponse, RevokePeerRequest, RevokePeerResponse, RepairPeerRequest, RepairPeerResponse, LocalControlClientKind, LocalControlSocketAttachClientRequest, LocalControlSocketAttachClientResponse, LocalControlSocketDetachClientRequest, LocalControlSocketDetachClientResponse, LocalControlSocketMethod, LocalControlSocketRequest, LocalControlSocketSuccessResponse, LocalControlSocketErrorResponse, LocalControlSocketResponse, RuntimeOwnerRecord, RuntimeEventKind, RuntimeEvent, RuntimeBootstrapRevision, RuntimeBootstrapControlEndpoint, RuntimeBootstrapTls, RuntimeBootstrapIdentity, NetworkRuntimeProtocolVersion, DeliveryAck, TransportInviteToken, JoinRequest, JoinRouteBody, RuntimeIngressEnvelope, RuntimeDiscoveryAdvertisement, RuntimeNodeAdvertisement, RuntimeRegisterRequest, PairProposal, ContinuityStatement, SignedContinuityBind, MutationOperation, MutationEnvelope, NetworkRouteRevokeRequest, NodePrincipalBindingRef, LegacyPeerRegistryStatus, PeerIdentityState, PeerTransportState, PeerMutationKind, LegacyPeerRuntimeShape, PeerStateSnapshot, DurableDeliveryHandle, DurableDeliveryResult, DurableSubmitResult, } from "./network-runtime/index.js";
|
|
15
|
-
export { ToolRegistry, validateToolInput } from "./registry/index.js";
|
|
16
|
-
import { ToolRegistry } from "./registry/index.js";
|
|
17
|
-
import type { Logger } from "./types.js";
|
|
18
|
-
/**
|
|
19
|
-
* Create a tool registry with optional built-in tools
|
|
20
|
-
*
|
|
21
|
-
* Built-in/native tools are always registered and are never filtered by
|
|
22
|
-
* `agentSkills`. Session-level runtimes may still apply allowlists to
|
|
23
|
-
* dynamically discovered tools (e.g. Memoria/MCP tools).
|
|
24
|
-
*/
|
|
25
|
-
export declare function createToolRegistry(options?: {
|
|
26
|
-
includeBuiltins?: boolean;
|
|
27
|
-
logger?: Logger;
|
|
28
|
-
agentSkills?: string[];
|
|
29
|
-
}): ToolRegistry;
|
|
30
|
-
export { CORE_TOOL_DEFINITIONS, getCoreTools, getCoreTool, getCoreToolsByCategory, getCoreToolsByRiskLevel, } from "./definitions/index.js";
|
|
31
|
-
export { executeReadFile, executeWriteFile, executeEditFile, executeLs, executeGlob, executeGrep, executeApplyPatch, executeFrg, recordFrgMutation, getPendingFrgMutations, getPendingFrgMutationBytes, clearPendingFrgMutations, flushPendingFrgMutations, maybeBuildFrgIndexForRepo, ensureFrgRepoStateLoaded, reconcileGitDirtyMutations, getGitDirtyStatus, getFrgFlushStatus, getFrgFreshnessSnapshot, scheduleBackgroundFrgFlush, shouldForceSynchronousFrgFlush, DEFAULT_BACKGROUND_FRG_FLUSH_DELAY_MS, BACKGROUND_FRG_MAX_FLUSH_DELAY_MS, MAX_PENDING_MUTATIONS_BEFORE_SYNC_FLUSH, MAX_PENDING_MUTATION_BYTES_BEFORE_SYNC_FLUSH, MAX_CACHED_MUTATION_CONTENT_BYTES, } from "./executors/index.js";
|
|
32
|
-
export type { ReadFileInput, WriteFileInput, EditFileInput, LsInput, LsEntry, GlobInput, GrepInput, GrepMatch, ApplyPatchInput, FrgInput, FrgMutationOperation, FrgMutationRecord, FrgGitDirtyStatus, FrgFlushStatus, FrgFreshnessSnapshot, } from "./executors/index.js";
|
|
33
|
-
export { executeBash, executeExec, executeSpawn, executeKill, executeListProcesses, executeWaitProcess, executeWriteStdin, sanitizeGitEnv, sanitizeEnv, } from "./executors/index.js";
|
|
34
|
-
export { classifyCommand, SHELL_BLOCKED_PATTERNS } from "./executors/index.js";
|
|
35
|
-
export type { BashInput, BashOutput, ExecInput, ExecOutput, SpawnInput, SpawnOutput, KillInput, KillOutput, ListProcessesInput, ListProcessesOutput, WaitProcessInput, WaitProcessOutput, WriteStdinInput, WriteStdinOutput, } from "./executors/index.js";
|
|
36
|
-
export { executeRemember, executeRecall, executeForget, executeDiscover, executeReflect, getConversationContext, getSessionTranscript, getSelfContext, } from "./executors/index.js";
|
|
37
|
-
export type { RememberInput, RememberOutput, RecallInput, RecallOutput, ForgetInput, ForgetOutput, DiscoverInput, DiscoverOutput, ReflectInput, ReflectOutput, RecallToolContext, } from "./executors/index.js";
|
|
38
|
-
export { executeWebSearch, executeWebFetch, executeBrowse } from "./executors/index.js";
|
|
39
|
-
export type { WebSearchInput, WebSearchOutput, WebFetchInput, WebFetchOutput, BrowseInput, BrowseOutput, } from "./executors/index.js";
|
|
40
|
-
export { executeHatchArion, executeRestArion, executeWakeArion, executeRetireArion, } from "./executors/index.js";
|
|
41
|
-
export type { HatchArionInput, HatchArionOutput, RestArionInput, WakeArionInput, RetireArionInput, } from "./executors/index.js";
|
|
42
|
-
export { PTYSession, PTYTimeoutError, PTYError, createPTYSession, runInPTY, PTYSessionStore, } from "./executors/index.js";
|
|
43
|
-
export type { PTYOptions, PTYResult } from "./executors/index.js";
|
|
44
|
-
export { executeAskUser, executeQuestUpdate, executeQuestList, resetAskUserCounter, } from "./executors/index.js";
|
|
45
|
-
export type { AskUserInput, QuestUpdateInput, QuestUpdateOutput, QuestListInput, QuestListOutput, } from "./executors/index.js";
|
|
46
|
-
export { executeSearchKnowledge, executeLearnTool, executeLearnSkill, executeLearnLegacy, executeCreateTool, executeCreateSkill, executeUseSkill, searchMemoria, searchLocalSkills, searchSkillRegistries, searchWeb, getOSContext, settleWithDeadline, fetchJson, } from "./executors/index.js";
|
|
47
|
-
export type { SearchKnowledgeInput, LearnToolInput, LearnSkillInput, LearnLegacyInput, CreateToolInput, CreateSkillInput, UseSkillInput, } from "./executors/index.js";
|
|
48
|
-
export { executeSessionHistory } from "./executors/index.js";
|
|
49
|
-
export type { SessionHistoryInput, SessionHistoryAction, SessionListOutput, SessionGetOutput, SessionCurrentOutput, SessionStatsOutput, } from "./executors/index.js";
|
|
50
|
-
export type { SearchResult as ToolSearchResult, OSContext, SearchInput, } from "./executors/index.js";
|
|
51
|
-
export { SOURCE_PRIORITY, dedupSearchResults } from "./executors/index.js";
|
|
52
|
-
export type { ToolPolicy } from "./policy.js";
|
|
53
|
-
export { TOOL_GROUPS, expandGroups, isToolAllowed, mergePolicies } from "./policy.js";
|
|
54
|
-
export type { ShellRisk } from "./executors/shell-safety.js";
|
|
55
|
-
export { SearchProviderRouter, TavilySearchProvider, BraveSearchProvider, ExaSearchProvider, JinaSearchProvider, DuckDuckGoSearchProvider, FirecrawlSearchProvider, } from "./providers/index.js";
|
|
56
|
-
export type { SearchProvider, SearchOptions, SearchResult } from "./providers/index.js";
|
|
57
|
-
export { SpawnedProcessRegistry } from "./executors/index.js";
|
|
58
|
-
export type { TrackedProcessMetadata, ProcessExitMetadata, ProcessInfoSnapshot, ProcessWaitResult, } from "./executors/index.js";
|
|
59
|
-
export { tool } from "./tool-factory.js";
|
|
60
|
-
export type { ToolFactoryOptions } from "./tool-factory.js";
|
|
61
|
-
export { MCPClient, MCPServerConnection, JSONRPCClient } from "./mcp/index.js";
|
|
62
|
-
export type { MCPServerConfig, MCPCapabilities, MCPTool, MCPToolCallParams, MCPToolCallResult, MCPContent, MCPResource, MCPResourceContent, MCPResourceReadResult, MCPPrompt, MCPPromptMessage, MCPPromptGetResult, MCPLogMessage, MCPProgress, } from "./mcp/index.js";
|
package/dist/mcp/client.d.ts
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* MCP Multi-Server Client
|
|
3
|
-
*
|
|
4
|
-
* Manages connections to multiple MCP servers and aggregates their capabilities.
|
|
5
|
-
*/
|
|
6
|
-
import { EventEmitter } from "events";
|
|
7
|
-
import { MCPServerConnection } from "./connection.js";
|
|
8
|
-
import type { MCPServerConfig, MCPTool, MCPResource, MCPResourceContent, MCPPrompt, MCPPromptMessage } from "./types.js";
|
|
9
|
-
import type { ToolResult, Logger } from "../types.js";
|
|
10
|
-
export declare class MCPClient extends EventEmitter {
|
|
11
|
-
private servers;
|
|
12
|
-
private serverConfigs;
|
|
13
|
-
private reconnectTimers;
|
|
14
|
-
private logger;
|
|
15
|
-
constructor(options?: {
|
|
16
|
-
logger?: Logger;
|
|
17
|
-
});
|
|
18
|
-
/**
|
|
19
|
-
* Connect to an MCP server
|
|
20
|
-
*/
|
|
21
|
-
connect(config: MCPServerConfig): Promise<MCPServerConnection>;
|
|
22
|
-
/**
|
|
23
|
-
* Disconnect from a specific server
|
|
24
|
-
*/
|
|
25
|
-
disconnect(name: string): Promise<void>;
|
|
26
|
-
/**
|
|
27
|
-
* Attempt to reconnect to a server with exponential backoff
|
|
28
|
-
*/
|
|
29
|
-
private reconnect;
|
|
30
|
-
/**
|
|
31
|
-
* Disconnect from all servers
|
|
32
|
-
*/
|
|
33
|
-
disconnectAll(): Promise<void>;
|
|
34
|
-
/**
|
|
35
|
-
* Get connected server names
|
|
36
|
-
*/
|
|
37
|
-
getConnectedServers(): string[];
|
|
38
|
-
/**
|
|
39
|
-
* List all tools from all connected servers
|
|
40
|
-
*/
|
|
41
|
-
listAllTools(): Promise<Array<MCPTool & {
|
|
42
|
-
server: string;
|
|
43
|
-
}>>;
|
|
44
|
-
/**
|
|
45
|
-
* Call a tool on a specific server
|
|
46
|
-
*/
|
|
47
|
-
callTool(server: string, tool: string, args: unknown, abortSignal?: AbortSignal): Promise<ToolResult>;
|
|
48
|
-
/**
|
|
49
|
-
* List all resources from all connected servers
|
|
50
|
-
*/
|
|
51
|
-
listAllResources(): Promise<Array<MCPResource & {
|
|
52
|
-
server: string;
|
|
53
|
-
}>>;
|
|
54
|
-
/**
|
|
55
|
-
* Read a resource from a specific server
|
|
56
|
-
*/
|
|
57
|
-
readResource(server: string, uri: string): Promise<MCPResourceContent[]>;
|
|
58
|
-
/**
|
|
59
|
-
* List all prompts from all connected servers
|
|
60
|
-
*/
|
|
61
|
-
listAllPrompts(): Promise<Array<MCPPrompt & {
|
|
62
|
-
server: string;
|
|
63
|
-
}>>;
|
|
64
|
-
/**
|
|
65
|
-
* Get a prompt from a specific server
|
|
66
|
-
*/
|
|
67
|
-
getPrompt(server: string, name: string, args?: Record<string, string>): Promise<MCPPromptMessage[]>;
|
|
68
|
-
}
|
package/dist/mcp/connection.d.ts
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* MCP Server Connection
|
|
3
|
-
*
|
|
4
|
-
* Manages lifecycle and protocol methods for a single MCP server.
|
|
5
|
-
*/
|
|
6
|
-
import { EventEmitter } from "events";
|
|
7
|
-
import type { MCPServerConfig, MCPCapabilities, MCPTool, MCPResource, MCPResourceContent, MCPPrompt, MCPPromptMessage } from "./types.js";
|
|
8
|
-
import type { ToolResult } from "../types.js";
|
|
9
|
-
export declare class MCPServerConnection extends EventEmitter {
|
|
10
|
-
private config;
|
|
11
|
-
private process?;
|
|
12
|
-
private transport;
|
|
13
|
-
private rpc;
|
|
14
|
-
private capabilities;
|
|
15
|
-
private _initialized;
|
|
16
|
-
private sseAbortController?;
|
|
17
|
-
private sseStreamPromise?;
|
|
18
|
-
private ssePostUrl?;
|
|
19
|
-
private sseSessionId?;
|
|
20
|
-
private sseOutput?;
|
|
21
|
-
private _disconnecting;
|
|
22
|
-
private _reconnecting;
|
|
23
|
-
private _reconnectAttempts;
|
|
24
|
-
private static readonly RECONNECT_BASE_DELAY_MS;
|
|
25
|
-
private static readonly RECONNECT_MAX_DELAY_MS;
|
|
26
|
-
private static readonly RECONNECT_MAX_ATTEMPTS;
|
|
27
|
-
constructor(config: MCPServerConfig);
|
|
28
|
-
get name(): string;
|
|
29
|
-
get initialized(): boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Initialize connection to MCP server
|
|
32
|
-
*/
|
|
33
|
-
initialize(): Promise<MCPCapabilities>;
|
|
34
|
-
/**
|
|
35
|
-
* Attempt to reconnect with exponential backoff.
|
|
36
|
-
* Called when the transport drops unexpectedly (not via explicit shutdown).
|
|
37
|
-
*/
|
|
38
|
-
private attemptReconnect;
|
|
39
|
-
private initializeStdioTransport;
|
|
40
|
-
private initializeSSETransport;
|
|
41
|
-
private postSSEMessages;
|
|
42
|
-
private consumeSSE;
|
|
43
|
-
private cleanupAfterInitializeFailure;
|
|
44
|
-
/**
|
|
45
|
-
* Gracefully shutdown the connection
|
|
46
|
-
*/
|
|
47
|
-
shutdown(): Promise<void>;
|
|
48
|
-
listTools(): Promise<MCPTool[]>;
|
|
49
|
-
callTool(name: string, args: unknown, abortSignal?: AbortSignal): Promise<ToolResult>;
|
|
50
|
-
listResources(): Promise<MCPResource[]>;
|
|
51
|
-
readResource(uri: string): Promise<MCPResourceContent[]>;
|
|
52
|
-
listPrompts(): Promise<MCPPrompt[]>;
|
|
53
|
-
getPrompt(name: string, args?: Record<string, string>): Promise<MCPPromptMessage[]>;
|
|
54
|
-
}
|
package/dist/mcp/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* MCP (Model Context Protocol) Module
|
|
3
|
-
*
|
|
4
|
-
* Provides client implementation for connecting to MCP servers
|
|
5
|
-
* and discovering tools, resources, and prompts dynamically.
|
|
6
|
-
*/
|
|
7
|
-
export * from './types.js';
|
|
8
|
-
export { JSONRPCClient } from './jsonrpc.js';
|
|
9
|
-
export { MCPServerConnection } from './connection.js';
|
|
10
|
-
export { MCPClient } from './client.js';
|
package/dist/mcp/jsonrpc.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* JSON-RPC 2.0 Client for MCP
|
|
3
|
-
*
|
|
4
|
-
* Handles newline-delimited JSON over stdio streams.
|
|
5
|
-
*/
|
|
6
|
-
import { Readable, Writable } from "stream";
|
|
7
|
-
import { EventEmitter } from "events";
|
|
8
|
-
export declare class JSONRPCClient extends EventEmitter {
|
|
9
|
-
private stdin?;
|
|
10
|
-
private stdout?;
|
|
11
|
-
private pending;
|
|
12
|
-
private buffer;
|
|
13
|
-
private requestTimeout;
|
|
14
|
-
constructor(options?: {
|
|
15
|
-
timeout?: number;
|
|
16
|
-
});
|
|
17
|
-
/**
|
|
18
|
-
* Connect to a process via stdio streams
|
|
19
|
-
*/
|
|
20
|
-
connect(stdin: Writable, stdout: Readable): void;
|
|
21
|
-
private processBuffer;
|
|
22
|
-
private handleMessage;
|
|
23
|
-
/**
|
|
24
|
-
* Send a request and wait for response
|
|
25
|
-
*/
|
|
26
|
-
request<T = unknown>(method: string, params?: unknown): Promise<T>;
|
|
27
|
-
/**
|
|
28
|
-
* Send a notification (no response expected)
|
|
29
|
-
*/
|
|
30
|
-
notify(method: string, params?: unknown): void;
|
|
31
|
-
private send;
|
|
32
|
-
/**
|
|
33
|
-
* Close and cleanup
|
|
34
|
-
*/
|
|
35
|
-
close(): void;
|
|
36
|
-
}
|
package/dist/mcp/types.d.ts
DELETED
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* MCP (Model Context Protocol) Types
|
|
3
|
-
*
|
|
4
|
-
* Protocol version: 2024-11-05
|
|
5
|
-
* https://modelcontextprotocol.io
|
|
6
|
-
*/
|
|
7
|
-
import type { JSONSchema7 } from "json-schema";
|
|
8
|
-
/**
|
|
9
|
-
* MCP server configuration
|
|
10
|
-
*/
|
|
11
|
-
export interface MCPServerConfig {
|
|
12
|
-
/** Unique server identifier */
|
|
13
|
-
name: string;
|
|
14
|
-
/** Transport type (defaults to 'stdio' if omitted) */
|
|
15
|
-
transport?: "stdio" | "sse";
|
|
16
|
-
/** Command to spawn (stdio transport) */
|
|
17
|
-
command?: string;
|
|
18
|
-
/** Command arguments */
|
|
19
|
-
args?: string[];
|
|
20
|
-
/** SSE endpoint URL */
|
|
21
|
-
url?: string;
|
|
22
|
-
/** Environment variables for server process */
|
|
23
|
-
env?: Record<string, string>;
|
|
24
|
-
/** Configuration scope */
|
|
25
|
-
scope?: "project" | "global";
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Server capabilities from initialize response
|
|
29
|
-
*/
|
|
30
|
-
export interface MCPCapabilities {
|
|
31
|
-
tools?: {
|
|
32
|
-
listChanged?: boolean;
|
|
33
|
-
};
|
|
34
|
-
resources?: {
|
|
35
|
-
subscribe?: boolean;
|
|
36
|
-
listChanged?: boolean;
|
|
37
|
-
};
|
|
38
|
-
prompts?: {
|
|
39
|
-
listChanged?: boolean;
|
|
40
|
-
};
|
|
41
|
-
logging?: Record<string, never>;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Initialize request params
|
|
45
|
-
*/
|
|
46
|
-
export interface MCPInitializeParams {
|
|
47
|
-
protocolVersion: string;
|
|
48
|
-
capabilities: {
|
|
49
|
-
roots?: {
|
|
50
|
-
listChanged?: boolean;
|
|
51
|
-
};
|
|
52
|
-
sampling?: Record<string, never>;
|
|
53
|
-
};
|
|
54
|
-
clientInfo: {
|
|
55
|
-
name: string;
|
|
56
|
-
version: string;
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* Initialize response
|
|
61
|
-
*/
|
|
62
|
-
export interface MCPInitializeResult {
|
|
63
|
-
protocolVersion: string;
|
|
64
|
-
capabilities: MCPCapabilities;
|
|
65
|
-
serverInfo: {
|
|
66
|
-
name: string;
|
|
67
|
-
version: string;
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Tool definition from tools/list
|
|
72
|
-
*/
|
|
73
|
-
export interface MCPTool {
|
|
74
|
-
name: string;
|
|
75
|
-
description?: string;
|
|
76
|
-
inputSchema: JSONSchema7;
|
|
77
|
-
annotations?: {
|
|
78
|
-
readOnlyHint?: boolean;
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* Tool call request params
|
|
83
|
-
*/
|
|
84
|
-
export interface MCPToolCallParams {
|
|
85
|
-
name: string;
|
|
86
|
-
arguments?: Record<string, unknown>;
|
|
87
|
-
}
|
|
88
|
-
/**
|
|
89
|
-
* Content types in tool results
|
|
90
|
-
*/
|
|
91
|
-
export type MCPContent = {
|
|
92
|
-
type: "text";
|
|
93
|
-
text: string;
|
|
94
|
-
} | {
|
|
95
|
-
type: "image";
|
|
96
|
-
data: string;
|
|
97
|
-
mimeType: string;
|
|
98
|
-
} | {
|
|
99
|
-
type: "resource";
|
|
100
|
-
resource: {
|
|
101
|
-
uri: string;
|
|
102
|
-
mimeType?: string;
|
|
103
|
-
text?: string;
|
|
104
|
-
};
|
|
105
|
-
};
|
|
106
|
-
/**
|
|
107
|
-
* Tool call result
|
|
108
|
-
*/
|
|
109
|
-
export interface MCPToolCallResult {
|
|
110
|
-
content: MCPContent[];
|
|
111
|
-
isError?: boolean;
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* Resource definition from resources/list
|
|
115
|
-
*/
|
|
116
|
-
export interface MCPResource {
|
|
117
|
-
uri: string;
|
|
118
|
-
name: string;
|
|
119
|
-
description?: string;
|
|
120
|
-
mimeType?: string;
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* Resource content from resources/read
|
|
124
|
-
*/
|
|
125
|
-
export interface MCPResourceContent {
|
|
126
|
-
uri: string;
|
|
127
|
-
mimeType?: string;
|
|
128
|
-
text?: string;
|
|
129
|
-
blob?: string;
|
|
130
|
-
}
|
|
131
|
-
/**
|
|
132
|
-
* Resources read result
|
|
133
|
-
*/
|
|
134
|
-
export interface MCPResourceReadResult {
|
|
135
|
-
contents: MCPResourceContent[];
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* Prompt definition from prompts/list
|
|
139
|
-
*/
|
|
140
|
-
export interface MCPPrompt {
|
|
141
|
-
name: string;
|
|
142
|
-
description?: string;
|
|
143
|
-
arguments?: Array<{
|
|
144
|
-
name: string;
|
|
145
|
-
description?: string;
|
|
146
|
-
required?: boolean;
|
|
147
|
-
}>;
|
|
148
|
-
}
|
|
149
|
-
/**
|
|
150
|
-
* Prompt message from prompts/get
|
|
151
|
-
*/
|
|
152
|
-
export interface MCPPromptMessage {
|
|
153
|
-
role: "user" | "assistant";
|
|
154
|
-
content: MCPContent;
|
|
155
|
-
}
|
|
156
|
-
/**
|
|
157
|
-
* Prompts get result
|
|
158
|
-
*/
|
|
159
|
-
export interface MCPPromptGetResult {
|
|
160
|
-
description?: string;
|
|
161
|
-
messages: MCPPromptMessage[];
|
|
162
|
-
}
|
|
163
|
-
/**
|
|
164
|
-
* Log message from server
|
|
165
|
-
*/
|
|
166
|
-
export interface MCPLogMessage {
|
|
167
|
-
level: "debug" | "info" | "warning" | "error";
|
|
168
|
-
logger?: string;
|
|
169
|
-
data?: unknown;
|
|
170
|
-
}
|
|
171
|
-
/**
|
|
172
|
-
* Progress notification
|
|
173
|
-
*/
|
|
174
|
-
export interface MCPProgress {
|
|
175
|
-
progressToken: string | number;
|
|
176
|
-
progress: number;
|
|
177
|
-
total?: number;
|
|
178
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { NetworkControlRef, NetworkManagerPeerInfo, NetworkManagerRef, NetworkManagerStatusView, NetworkPeerView, NetworkStatusView } from "./types.js";
|
|
2
|
-
export declare function toNetworkPeerView(peer: NetworkManagerPeerInfo): NetworkPeerView | null;
|
|
3
|
-
export declare function toNetworkStatusView(status: NetworkManagerStatusView): NetworkStatusView;
|
|
4
|
-
export declare function toNetworkControlRef(networkManager?: NetworkManagerRef): NetworkControlRef | undefined;
|
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* Stable durable identity for a node.
|
|
4
|
-
* Semantic rules are enforced by the runtime cutover plan; the contract layer
|
|
5
|
-
* starts by making the shape canonical everywhere.
|
|
6
|
-
*/
|
|
7
|
-
export declare const NodeIdSchema: z.core.$ZodBranded<z.ZodString, "NodeId", "out">;
|
|
8
|
-
export type NodeId = z.infer<typeof NodeIdSchema>;
|
|
9
|
-
/** One boot of a given node runtime. */
|
|
10
|
-
export declare const RuntimeIdSchema: z.core.$ZodBranded<z.ZodString, "RuntimeId", "out">;
|
|
11
|
-
export type RuntimeId = z.infer<typeof RuntimeIdSchema>;
|
|
12
|
-
export declare const NodeMetadataSchema: z.ZodObject<{
|
|
13
|
-
nodeId: z.core.$ZodBranded<z.ZodString, "NodeId", "out">;
|
|
14
|
-
createdAt: z.ZodString;
|
|
15
|
-
schemaVersion: z.ZodNumber;
|
|
16
|
-
migratedFromLegacy: z.ZodBoolean;
|
|
17
|
-
}, z.core.$strip>;
|
|
18
|
-
export type NodeMetadata = z.infer<typeof NodeMetadataSchema>;
|
|
19
|
-
/** Monotonic publication revision for externally visible runtime advertisements. */
|
|
20
|
-
export declare const PublicationRevisionSchema: z.ZodNumber;
|
|
21
|
-
export type PublicationRevision = z.infer<typeof PublicationRevisionSchema>;
|
|
22
|
-
/** Monotonic endpoint revision for register/discovery refreshes. */
|
|
23
|
-
export declare const EndpointRevisionSchema: z.ZodNumber;
|
|
24
|
-
export type EndpointRevision = z.infer<typeof EndpointRevisionSchema>;
|
|
25
|
-
/** Monotonic generation for peer-binding continuity transitions. */
|
|
26
|
-
export declare const BindingGenerationSchema: z.ZodNumber;
|
|
27
|
-
export type BindingGeneration = z.infer<typeof BindingGenerationSchema>;
|
|
28
|
-
/** Monotonic generation for revocation precedence and continuity conflict checks. */
|
|
29
|
-
export declare const RevocationGenerationSchema: z.ZodNumber;
|
|
30
|
-
export type RevocationGeneration = z.infer<typeof RevocationGenerationSchema>;
|
|
31
|
-
/** How a local operator confirmed a revocation decision. */
|
|
32
|
-
export declare const RevocationOperatorConfirmationSchema: z.ZodEnum<{
|
|
33
|
-
local_operator_confirmed: "local_operator_confirmed";
|
|
34
|
-
remote_capability_authenticated: "remote_capability_authenticated";
|
|
35
|
-
}>;
|
|
36
|
-
export type RevocationOperatorConfirmation = z.infer<typeof RevocationOperatorConfirmationSchema>;
|
|
37
|
-
/** Structured local authority record for a peer revocation decision. */
|
|
38
|
-
export declare const RevocationDecisionSchema: z.ZodObject<{
|
|
39
|
-
localNodeId: z.core.$ZodBranded<z.ZodString, "NodeId", "out">;
|
|
40
|
-
targetNodeId: z.core.$ZodBranded<z.ZodString, "NodeId", "out">;
|
|
41
|
-
revocationGeneration: z.ZodNumber;
|
|
42
|
-
operatorConfirmation: z.ZodEnum<{
|
|
43
|
-
local_operator_confirmed: "local_operator_confirmed";
|
|
44
|
-
remote_capability_authenticated: "remote_capability_authenticated";
|
|
45
|
-
}>;
|
|
46
|
-
}, z.core.$strip>;
|
|
47
|
-
export type RevocationDecision = z.infer<typeof RevocationDecisionSchema>;
|
|
48
|
-
/** Monotonic owner generation for runtime ownership records. */
|
|
49
|
-
export declare const OwnerGenerationSchema: z.ZodNumber;
|
|
50
|
-
export type OwnerGeneration = z.infer<typeof OwnerGenerationSchema>;
|
|
51
|
-
/** Monotonic revision for durable delivery lifecycle state transitions. */
|
|
52
|
-
export declare const DeliveryLifecycleRevisionSchema: z.ZodNumber;
|
|
53
|
-
export type DeliveryLifecycleRevision = z.infer<typeof DeliveryLifecycleRevisionSchema>;
|
|
54
|
-
export declare const RuntimeOwnerRecordSchema: z.ZodObject<{
|
|
55
|
-
schemaVersion: z.ZodNumber;
|
|
56
|
-
nodeId: z.core.$ZodBranded<z.ZodString, "NodeId", "out">;
|
|
57
|
-
ariaHome: z.ZodString;
|
|
58
|
-
runtimePid: z.ZodNumber;
|
|
59
|
-
runtimeId: z.core.$ZodBranded<z.ZodString, "RuntimeId", "out">;
|
|
60
|
-
displayNameSnapshot: z.ZodOptional<z.ZodString>;
|
|
61
|
-
runtimeSocket: z.ZodString;
|
|
62
|
-
startedAt: z.ZodString;
|
|
63
|
-
lastHeartbeat: z.ZodString;
|
|
64
|
-
ownerGeneration: z.ZodNumber;
|
|
65
|
-
}, z.core.$strict>;
|
|
66
|
-
export type RuntimeOwnerRecord = z.infer<typeof RuntimeOwnerRecordSchema>;
|
|
67
|
-
/** One attached local client of the runtime. */
|
|
68
|
-
export declare const ClientIdSchema: z.core.$ZodBranded<z.ZodString, "ClientId", "out">;
|
|
69
|
-
export type ClientId = z.infer<typeof ClientIdSchema>;
|
|
70
|
-
/** Durable principal fingerprint (SHA-256 hex of signing public key DER). Signing-key evidence only. */
|
|
71
|
-
export declare const PrincipalFingerprintSchema: z.core.$ZodBranded<z.ZodString, "PrincipalFingerprint", "out">;
|
|
72
|
-
export type PrincipalFingerprint = z.infer<typeof PrincipalFingerprintSchema>;
|
|
73
|
-
/** Transport public key / transport identity for a peer. */
|
|
74
|
-
export declare const PeerTransportIdSchema: z.core.$ZodBranded<z.ZodString, "PeerTransportId", "out">;
|
|
75
|
-
export type PeerTransportId = z.infer<typeof PeerTransportIdSchema>;
|
|
76
|
-
/** TLS CA certificate fingerprint (SHA-256 hex of CA cert DER). Certificate-authority evidence only — distinct from signing-key evidence. */
|
|
77
|
-
export declare const TlsCaFingerprintSchema: z.core.$ZodBranded<z.ZodString, "TlsCaFingerprint", "out">;
|
|
78
|
-
export type TlsCaFingerprint = z.infer<typeof TlsCaFingerprintSchema>;
|
|
79
|
-
/** Local-only loopback TLS SAN identity used for same-machine control attachment. */
|
|
80
|
-
export declare const LoopbackTlsIdentitySchema: z.core.$ZodBranded<z.ZodString, "LoopbackTlsIdentity", "out">;
|
|
81
|
-
export type LoopbackTlsIdentity = z.infer<typeof LoopbackTlsIdentitySchema>;
|
|
82
|
-
/** Base64-encoded signing public key material crossing runtime/shared boundaries. */
|
|
83
|
-
export declare const SigningPublicKeySchema: z.core.$ZodBranded<z.ZodString, "SigningPublicKey", "out">;
|
|
84
|
-
export type SigningPublicKey = z.infer<typeof SigningPublicKeySchema>;
|
|
85
|
-
/** Explicit network transport endpoint advertisement. */
|
|
86
|
-
export declare const TransportEndpointAdvertisementSchema: z.ZodObject<{
|
|
87
|
-
host: z.ZodString;
|
|
88
|
-
port: z.ZodNumber;
|
|
89
|
-
}, z.core.$strip>;
|
|
90
|
-
export type TransportEndpointAdvertisement = z.infer<typeof TransportEndpointAdvertisementSchema>;
|
|
91
|
-
/**
|
|
92
|
-
* Runtime-owned local inbox addressing.
|
|
93
|
-
* Same-machine clients are local attachments, not mesh peers.
|
|
94
|
-
*/
|
|
95
|
-
export declare const InboxAddressSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
96
|
-
kind: z.ZodLiteral<"node">;
|
|
97
|
-
nodeId: z.core.$ZodBranded<z.ZodString, "NodeId", "out">;
|
|
98
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
99
|
-
kind: z.ZodLiteral<"client">;
|
|
100
|
-
clientId: z.core.$ZodBranded<z.ZodString, "ClientId", "out">;
|
|
101
|
-
}, z.core.$strip>], "kind">;
|
|
102
|
-
export type InboxAddress = z.infer<typeof InboxAddressSchema>;
|
|
103
|
-
/**
|
|
104
|
-
* Public control-plane endpoint advertisement used by peers for pinned,
|
|
105
|
-
* mutating requests.
|
|
106
|
-
*/
|
|
107
|
-
export declare const ControlEndpointAdvertisementSchema: z.ZodObject<{
|
|
108
|
-
host: z.ZodString;
|
|
109
|
-
port: z.ZodNumber;
|
|
110
|
-
tlsCaFingerprint: z.core.$ZodBranded<z.ZodString, "TlsCaFingerprint", "out">;
|
|
111
|
-
tlsServerIdentity: z.core.$ZodBranded<z.ZodString, "PrincipalFingerprint", "out">;
|
|
112
|
-
protocolVersion: z.ZodNumber;
|
|
113
|
-
endpointRevision: z.ZodOptional<z.ZodNumber>;
|
|
114
|
-
}, z.core.$strip>;
|
|
115
|
-
export type ControlEndpointAdvertisement = z.infer<typeof ControlEndpointAdvertisementSchema>;
|
|
116
|
-
/**
|
|
117
|
-
* Remote/public node advertisement. This deliberately excludes local-only
|
|
118
|
-
* runtime/session identity like RuntimeId.
|
|
119
|
-
*/
|
|
120
|
-
export declare const NodeAdvertisementSchema: z.ZodObject<{
|
|
121
|
-
nodeId: z.core.$ZodBranded<z.ZodString, "NodeId", "out">;
|
|
122
|
-
principalFingerprint: z.core.$ZodBranded<z.ZodString, "PrincipalFingerprint", "out">;
|
|
123
|
-
transportPublicKey: z.core.$ZodBranded<z.ZodString, "PeerTransportId", "out">;
|
|
124
|
-
publicationRevision: z.ZodOptional<z.ZodNumber>;
|
|
125
|
-
controlEndpoint: z.ZodOptional<z.ZodObject<{
|
|
126
|
-
host: z.ZodString;
|
|
127
|
-
port: z.ZodNumber;
|
|
128
|
-
tlsCaFingerprint: z.core.$ZodBranded<z.ZodString, "TlsCaFingerprint", "out">;
|
|
129
|
-
tlsServerIdentity: z.core.$ZodBranded<z.ZodString, "PrincipalFingerprint", "out">;
|
|
130
|
-
protocolVersion: z.ZodNumber;
|
|
131
|
-
endpointRevision: z.ZodOptional<z.ZodNumber>;
|
|
132
|
-
}, z.core.$strip>>;
|
|
133
|
-
displayNameSnapshot: z.ZodOptional<z.ZodString>;
|
|
134
|
-
}, z.core.$strip>;
|
|
135
|
-
export type NodeAdvertisement = z.infer<typeof NodeAdvertisementSchema>;
|
|
136
|
-
/**
|
|
137
|
-
* Local-only runtime registry summary. This is not a remote/public mesh
|
|
138
|
-
* contract and may include RuntimeId.
|
|
139
|
-
*/
|
|
140
|
-
export declare const LocalRuntimeSummarySchema: z.ZodObject<{
|
|
141
|
-
nodeId: z.core.$ZodBranded<z.ZodString, "NodeId", "out">;
|
|
142
|
-
runtimeId: z.core.$ZodBranded<z.ZodString, "RuntimeId", "out">;
|
|
143
|
-
lastHeartbeat: z.ZodOptional<z.ZodString>;
|
|
144
|
-
controlEndpoint: z.ZodOptional<z.ZodObject<{
|
|
145
|
-
host: z.ZodString;
|
|
146
|
-
port: z.ZodNumber;
|
|
147
|
-
tlsCaFingerprint: z.core.$ZodBranded<z.ZodString, "TlsCaFingerprint", "out">;
|
|
148
|
-
tlsServerIdentity: z.core.$ZodBranded<z.ZodString, "PrincipalFingerprint", "out">;
|
|
149
|
-
protocolVersion: z.ZodNumber;
|
|
150
|
-
endpointRevision: z.ZodOptional<z.ZodNumber>;
|
|
151
|
-
}, z.core.$strip>>;
|
|
152
|
-
displayNameSnapshot: z.ZodOptional<z.ZodString>;
|
|
153
|
-
}, z.core.$strip>;
|
|
154
|
-
export type LocalRuntimeSummary = z.infer<typeof LocalRuntimeSummarySchema>;
|
|
155
|
-
/**
|
|
156
|
-
* Branded operation handle for durable delivery.
|
|
157
|
-
* Produced ONLY by `submitDurable()` — the caller never mints handles.
|
|
158
|
-
*/
|
|
159
|
-
export declare const DurableDeliveryHandleSchema: z.core.$ZodBranded<z.ZodString, "DurableDeliveryHandle", "out">;
|
|
160
|
-
export type DurableDeliveryHandle = z.infer<typeof DurableDeliveryHandleSchema>;
|
|
161
|
-
/**
|
|
162
|
-
* Terminal status types for a durable delivery operation.
|
|
163
|
-
*/
|
|
164
|
-
export declare const DurableDeliveryResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
165
|
-
status: z.ZodLiteral<"pending">;
|
|
166
|
-
queuedAt: z.ZodString;
|
|
167
|
-
nextAttemptAt: z.ZodOptional<z.ZodString>;
|
|
168
|
-
attemptCount: z.ZodNumber;
|
|
169
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
170
|
-
status: z.ZodLiteral<"delivered">;
|
|
171
|
-
deliveredAt: z.ZodString;
|
|
172
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
173
|
-
status: z.ZodLiteral<"expired">;
|
|
174
|
-
reason: z.ZodLiteral<"ttl_exceeded">;
|
|
175
|
-
queuedAt: z.ZodString;
|
|
176
|
-
expiredAt: z.ZodString;
|
|
177
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
178
|
-
status: z.ZodLiteral<"rejected">;
|
|
179
|
-
reason: z.ZodEnum<{
|
|
180
|
-
recipient_revoked: "recipient_revoked";
|
|
181
|
-
recipient_unknown: "recipient_unknown";
|
|
182
|
-
envelope_invalid: "envelope_invalid";
|
|
183
|
-
}>;
|
|
184
|
-
}, z.core.$strip>], "status">;
|
|
185
|
-
export type DurableDeliveryResult = z.infer<typeof DurableDeliveryResultSchema>;
|
|
186
|
-
/**
|
|
187
|
-
* Submit result — returned immediately from `submitDurable()`.
|
|
188
|
-
*/
|
|
189
|
-
export declare const DurableSubmitResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
190
|
-
status: z.ZodLiteral<"accepted">;
|
|
191
|
-
operationId: z.core.$ZodBranded<z.ZodString, "DurableDeliveryHandle", "out">;
|
|
192
|
-
queuedAt: z.ZodString;
|
|
193
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
194
|
-
status: z.ZodLiteral<"rejected">;
|
|
195
|
-
reason: z.ZodEnum<{
|
|
196
|
-
recipient_revoked: "recipient_revoked";
|
|
197
|
-
recipient_unknown: "recipient_unknown";
|
|
198
|
-
envelope_invalid: "envelope_invalid";
|
|
199
|
-
}>;
|
|
200
|
-
}, z.core.$strip>], "status">;
|
|
201
|
-
export type DurableSubmitResult = z.infer<typeof DurableSubmitResultSchema>;
|