@aria-cli/tools 1.0.12 → 1.0.14
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/index.js +378 -70
- package/dist/network-runtime/index.js +8 -12
- package/dist-cjs/index.js +400 -435
- package/dist-cjs/network-runtime/index.js +8 -172
- package/package.json +8 -6
- package/dist/.tsbuildinfo +0 -1
- package/dist/ask-user-interaction.js +0 -22
- package/dist/cache/web-cache.js +0 -66
- package/dist/definitions/arion.js +0 -104
- package/dist/definitions/browser/browser.js +0 -418
- package/dist/definitions/browser/index.js +0 -4
- package/dist/definitions/browser/pw-downloads.js +0 -114
- package/dist/definitions/browser/pw-interactions.js +0 -199
- package/dist/definitions/browser/pw-responses.js +0 -76
- package/dist/definitions/browser/pw-session.js +0 -310
- package/dist/definitions/browser/pw-shared.js +0 -66
- package/dist/definitions/browser/pw-snapshot.js +0 -301
- package/dist/definitions/browser/pw-state.js +0 -62
- package/dist/definitions/browser/types.js +0 -4
- package/dist/definitions/code-intelligence.js +0 -470
- package/dist/definitions/core.js +0 -109
- package/dist/definitions/delegation.js +0 -512
- package/dist/definitions/deploy.js +0 -65
- package/dist/definitions/filesystem.js +0 -196
- package/dist/definitions/frg.js +0 -63
- package/dist/definitions/index.js +0 -20
- package/dist/definitions/memory.js +0 -123
- package/dist/definitions/messaging.js +0 -625
- package/dist/definitions/meta.js +0 -349
- package/dist/definitions/network.js +0 -159
- package/dist/definitions/outlook.js +0 -277
- package/dist/definitions/patch/apply-patch.js +0 -184
- package/dist/definitions/patch/fuzzy-match.js +0 -166
- package/dist/definitions/patch/index.js +0 -1
- package/dist/definitions/patch/patch-parser.js +0 -207
- package/dist/definitions/patch/sandbox-paths.js +0 -105
- package/dist/definitions/process/index.js +0 -4
- package/dist/definitions/process/process-registry.js +0 -213
- package/dist/definitions/process/process.js +0 -386
- package/dist/definitions/process/pty-keys.js +0 -254
- package/dist/definitions/process/session-slug.js +0 -142
- package/dist/definitions/quip.js +0 -195
- package/dist/definitions/search.js +0 -60
- package/dist/definitions/session-history.js +0 -69
- package/dist/definitions/shell.js +0 -181
- package/dist/definitions/slack.js +0 -180
- package/dist/definitions/web.js +0 -109
- package/dist/executors/apply-patch.js +0 -901
- package/dist/executors/arion.js +0 -119
- package/dist/executors/code-intelligence.js +0 -882
- package/dist/executors/deploy.js +0 -848
- package/dist/executors/filesystem.js +0 -1122
- package/dist/executors/frg-freshness.js +0 -576
- package/dist/executors/frg.js +0 -298
- package/dist/executors/index.js +0 -46
- package/dist/executors/learning-meta.js +0 -1146
- package/dist/executors/lsp-client.js +0 -296
- package/dist/executors/memory.js +0 -750
- package/dist/executors/meta.js +0 -220
- package/dist/executors/process-registry.js +0 -465
- package/dist/executors/pty-session-store.js +0 -30
- package/dist/executors/pty.js +0 -271
- package/dist/executors/restart.js +0 -119
- package/dist/executors/search-freshness.js +0 -195
- package/dist/executors/search-types.js +0 -52
- package/dist/executors/search.js +0 -66
- package/dist/executors/self-diagnose.js +0 -398
- package/dist/executors/session-history.js +0 -283
- package/dist/executors/shell-safety.js +0 -473
- package/dist/executors/shell.js +0 -954
- package/dist/executors/utils.js +0 -33
- package/dist/executors/web.js +0 -542
- package/dist/extraction/content-extraction.js +0 -235
- package/dist/extraction/index.js +0 -4
- package/dist/headless-control-contract.js +0 -967
- package/dist/local-control-http-auth.js +0 -2
- package/dist/mcp/client.js +0 -181
- package/dist/mcp/connection.js +0 -480
- package/dist/mcp/index.js +0 -10
- package/dist/mcp/jsonrpc.js +0 -144
- package/dist/mcp/types.js +0 -7
- package/dist/network-control-adapter.js +0 -72
- package/dist/network-runtime/address-types.js +0 -165
- package/dist/network-runtime/db-owner-fencing.js +0 -69
- package/dist/network-runtime/delivery-receipts.js +0 -267
- package/dist/network-runtime/direct-endpoint-authority.js +0 -25
- package/dist/network-runtime/local-control-contract.js +0 -627
- package/dist/network-runtime/node-store-contract.js +0 -34
- package/dist/network-runtime/pair-route-contract.js +0 -77
- package/dist/network-runtime/peer-capabilities.js +0 -28
- package/dist/network-runtime/peer-principal-ref.js +0 -12
- package/dist/network-runtime/peer-state-machine.js +0 -121
- package/dist/network-runtime/protocol-schemas.js +0 -205
- package/dist/network-runtime/runtime-bootstrap-contract.js +0 -60
- package/dist/outlook/desktop-session.js +0 -279
- package/dist/policy.js +0 -149
- package/dist/providers/brave.js +0 -62
- package/dist/providers/duckduckgo.js +0 -176
- package/dist/providers/exa.js +0 -63
- package/dist/providers/firecrawl.js +0 -55
- package/dist/providers/index.js +0 -7
- package/dist/providers/jina.js +0 -49
- package/dist/providers/router.js +0 -96
- package/dist/providers/search-provider.js +0 -32
- package/dist/providers/tavily.js +0 -54
- package/dist/quip/desktop-session.js +0 -317
- package/dist/registry/index.js +0 -1
- package/dist/registry/registry.js +0 -756
- package/dist/runtime-socket-local-control-client.js +0 -330
- package/dist/security/dns-normalization.js +0 -19
- package/dist/security/dns-pinning.js +0 -123
- package/dist/security/external-content.js +0 -91
- package/dist/security/ssrf.js +0 -181
- package/dist/slack/desktop-session.js +0 -324
- package/dist/tool-factory.js +0 -47
- package/dist/types.js +0 -7
- package/dist/utils/retry.js +0 -132
- package/dist/utils/safe-parse-json.js +0 -160
- package/dist/utils/url.js +0 -19
- package/dist-cjs/.tsbuildinfo +0 -1
- package/dist-cjs/ask-user-interaction.js +0 -27
- package/dist-cjs/cache/web-cache.js +0 -70
- package/dist-cjs/definitions/arion.js +0 -107
- package/dist-cjs/definitions/browser/browser.js +0 -421
- package/dist-cjs/definitions/browser/index.js +0 -8
- package/dist-cjs/definitions/browser/pw-downloads.js +0 -117
- package/dist-cjs/definitions/browser/pw-interactions.js +0 -213
- package/dist-cjs/definitions/browser/pw-responses.js +0 -84
- package/dist-cjs/definitions/browser/pw-session.js +0 -326
- package/dist-cjs/definitions/browser/pw-shared.js +0 -72
- package/dist-cjs/definitions/browser/pw-snapshot.js +0 -307
- package/dist-cjs/definitions/browser/pw-state.js +0 -70
- package/dist-cjs/definitions/browser/types.js +0 -5
- package/dist-cjs/definitions/code-intelligence.js +0 -473
- package/dist-cjs/definitions/core.js +0 -133
- package/dist-cjs/definitions/delegation.js +0 -515
- package/dist-cjs/definitions/deploy.js +0 -68
- package/dist-cjs/definitions/filesystem.js +0 -199
- package/dist-cjs/definitions/frg.js +0 -66
- package/dist-cjs/definitions/index.js +0 -43
- package/dist-cjs/definitions/memory.js +0 -126
- package/dist-cjs/definitions/messaging.js +0 -631
- package/dist-cjs/definitions/meta.js +0 -352
- package/dist-cjs/definitions/network.js +0 -162
- package/dist-cjs/definitions/outlook.js +0 -280
- package/dist-cjs/definitions/patch/apply-patch.js +0 -191
- package/dist-cjs/definitions/patch/fuzzy-match.js +0 -172
- package/dist-cjs/definitions/patch/index.js +0 -5
- package/dist-cjs/definitions/patch/patch-parser.js +0 -215
- package/dist-cjs/definitions/patch/sandbox-paths.js +0 -113
- package/dist-cjs/definitions/process/index.js +0 -8
- package/dist-cjs/definitions/process/process-registry.js +0 -231
- package/dist-cjs/definitions/process/process.js +0 -389
- package/dist-cjs/definitions/process/pty-keys.js +0 -259
- package/dist-cjs/definitions/process/session-slug.js +0 -145
- package/dist-cjs/definitions/quip.js +0 -198
- package/dist-cjs/definitions/search.js +0 -63
- package/dist-cjs/definitions/session-history.js +0 -72
- package/dist-cjs/definitions/shell.js +0 -184
- package/dist-cjs/definitions/slack.js +0 -183
- package/dist-cjs/definitions/web.js +0 -112
- package/dist-cjs/executors/apply-patch.js +0 -938
- package/dist-cjs/executors/arion.js +0 -125
- package/dist-cjs/executors/code-intelligence.js +0 -925
- package/dist-cjs/executors/deploy.js +0 -869
- package/dist-cjs/executors/filesystem.js +0 -1167
- package/dist-cjs/executors/frg-freshness.js +0 -627
- package/dist-cjs/executors/frg.js +0 -334
- package/dist-cjs/executors/index.js +0 -143
- package/dist-cjs/executors/learning-meta.js +0 -1165
- package/dist-cjs/executors/lsp-client.js +0 -310
- package/dist-cjs/executors/memory.js +0 -796
- package/dist-cjs/executors/meta.js +0 -226
- package/dist-cjs/executors/process-registry.js +0 -469
- package/dist-cjs/executors/pty-session-store.js +0 -34
- package/dist-cjs/executors/pty.js +0 -312
- package/dist-cjs/executors/restart.js +0 -155
- package/dist-cjs/executors/search-freshness.js +0 -234
- package/dist-cjs/executors/search-types.js +0 -56
- package/dist-cjs/executors/search.js +0 -102
- package/dist-cjs/executors/self-diagnose.js +0 -434
- package/dist-cjs/executors/session-history.js +0 -320
- package/dist-cjs/executors/shell-safety.js +0 -478
- package/dist-cjs/executors/shell.js +0 -1001
- package/dist-cjs/executors/utils.js +0 -73
- package/dist-cjs/executors/web.js +0 -547
- package/dist-cjs/extraction/content-extraction.js +0 -243
- package/dist-cjs/extraction/index.js +0 -8
- package/dist-cjs/headless-control-contract.js +0 -972
- package/dist-cjs/local-control-http-auth.js +0 -5
- package/dist-cjs/mcp/client.js +0 -185
- package/dist-cjs/mcp/connection.js +0 -484
- package/dist-cjs/mcp/index.js +0 -30
- package/dist-cjs/mcp/jsonrpc.js +0 -148
- package/dist-cjs/mcp/types.js +0 -8
- package/dist-cjs/network-control-adapter.js +0 -77
- package/dist-cjs/network-runtime/address-types.js +0 -168
- package/dist-cjs/network-runtime/db-owner-fencing.js +0 -76
- package/dist-cjs/network-runtime/delivery-receipts.js +0 -276
- package/dist-cjs/network-runtime/direct-endpoint-authority.js +0 -29
- package/dist-cjs/network-runtime/local-control-contract.js +0 -633
- package/dist-cjs/network-runtime/node-store-contract.js +0 -38
- package/dist-cjs/network-runtime/pair-route-contract.js +0 -80
- package/dist-cjs/network-runtime/peer-capabilities.js +0 -37
- package/dist-cjs/network-runtime/peer-principal-ref.js +0 -15
- package/dist-cjs/network-runtime/peer-state-machine.js +0 -129
- package/dist-cjs/network-runtime/protocol-schemas.js +0 -212
- package/dist-cjs/network-runtime/runtime-bootstrap-contract.js +0 -63
- package/dist-cjs/outlook/desktop-session.js +0 -318
- package/dist-cjs/policy.js +0 -155
- package/dist-cjs/providers/brave.js +0 -66
- package/dist-cjs/providers/duckduckgo.js +0 -180
- package/dist-cjs/providers/exa.js +0 -67
- package/dist-cjs/providers/firecrawl.js +0 -59
- package/dist-cjs/providers/index.js +0 -17
- package/dist-cjs/providers/jina.js +0 -53
- package/dist-cjs/providers/router.js +0 -100
- package/dist-cjs/providers/search-provider.js +0 -36
- package/dist-cjs/providers/tavily.js +0 -58
- package/dist-cjs/quip/desktop-session.js +0 -353
- package/dist-cjs/registry/index.js +0 -6
- package/dist-cjs/registry/registry.js +0 -761
- package/dist-cjs/runtime-socket-local-control-client.js +0 -367
- package/dist-cjs/security/dns-normalization.js +0 -22
- package/dist-cjs/security/dns-pinning.js +0 -160
- package/dist-cjs/security/external-content.js +0 -95
- package/dist-cjs/security/ssrf.js +0 -221
- package/dist-cjs/slack/desktop-session.js +0 -366
- package/dist-cjs/tool-factory.js +0 -50
- package/dist-cjs/types.js +0 -8
- package/dist-cjs/utils/retry.js +0 -169
- package/dist-cjs/utils/safe-parse-json.js +0 -164
- package/dist-cjs/utils/url.js +0 -23
|
@@ -1,172 +1,8 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(exports, "RuntimeTransportSchema", { enumerable: true, get: function () { return delivery_receipts_js_1.RuntimeTransportSchema; } });
|
|
9
|
-
Object.defineProperty(exports, "DeliveryStateSchema", { enumerable: true, get: function () { return delivery_receipts_js_1.DeliveryStateSchema; } });
|
|
10
|
-
Object.defineProperty(exports, "SessionStateSchema", { enumerable: true, get: function () { return delivery_receipts_js_1.SessionStateSchema; } });
|
|
11
|
-
Object.defineProperty(exports, "DeliveryReadinessSchema", { enumerable: true, get: function () { return delivery_receipts_js_1.DeliveryReadinessSchema; } });
|
|
12
|
-
Object.defineProperty(exports, "QueuedReasonSchema", { enumerable: true, get: function () { return delivery_receipts_js_1.QueuedReasonSchema; } });
|
|
13
|
-
Object.defineProperty(exports, "OutboxReceiptStatusSchema", { enumerable: true, get: function () { return delivery_receipts_js_1.OutboxReceiptStatusSchema; } });
|
|
14
|
-
Object.defineProperty(exports, "canonicalizeDeliveryReceipt", { enumerable: true, get: function () { return delivery_receipts_js_1.canonicalizeDeliveryReceipt; } });
|
|
15
|
-
Object.defineProperty(exports, "canonicalizeOutboxReceiptStatus", { enumerable: true, get: function () { return delivery_receipts_js_1.canonicalizeOutboxReceiptStatus; } });
|
|
16
|
-
Object.defineProperty(exports, "createAckedDeliveryReceipt", { enumerable: true, get: function () { return delivery_receipts_js_1.createAckedDeliveryReceipt; } });
|
|
17
|
-
Object.defineProperty(exports, "createQueuedForRouteReceipt", { enumerable: true, get: function () { return delivery_receipts_js_1.createQueuedForRouteReceipt; } });
|
|
18
|
-
Object.defineProperty(exports, "createDispatchingDeliveryReceipt", { enumerable: true, get: function () { return delivery_receipts_js_1.createDispatchingDeliveryReceipt; } });
|
|
19
|
-
Object.defineProperty(exports, "createSentDeliveryReceipt", { enumerable: true, get: function () { return delivery_receipts_js_1.createSentDeliveryReceipt; } });
|
|
20
|
-
var address_types_js_1 = require("./address-types.js");
|
|
21
|
-
Object.defineProperty(exports, "NodeIdSchema", { enumerable: true, get: function () { return address_types_js_1.NodeIdSchema; } });
|
|
22
|
-
Object.defineProperty(exports, "NodeMetadataSchema", { enumerable: true, get: function () { return address_types_js_1.NodeMetadataSchema; } });
|
|
23
|
-
Object.defineProperty(exports, "RuntimeIdSchema", { enumerable: true, get: function () { return address_types_js_1.RuntimeIdSchema; } });
|
|
24
|
-
Object.defineProperty(exports, "PublicationRevisionSchema", { enumerable: true, get: function () { return address_types_js_1.PublicationRevisionSchema; } });
|
|
25
|
-
Object.defineProperty(exports, "EndpointRevisionSchema", { enumerable: true, get: function () { return address_types_js_1.EndpointRevisionSchema; } });
|
|
26
|
-
Object.defineProperty(exports, "BindingGenerationSchema", { enumerable: true, get: function () { return address_types_js_1.BindingGenerationSchema; } });
|
|
27
|
-
Object.defineProperty(exports, "RevocationGenerationSchema", { enumerable: true, get: function () { return address_types_js_1.RevocationGenerationSchema; } });
|
|
28
|
-
Object.defineProperty(exports, "RevocationOperatorConfirmationSchema", { enumerable: true, get: function () { return address_types_js_1.RevocationOperatorConfirmationSchema; } });
|
|
29
|
-
Object.defineProperty(exports, "RevocationDecisionSchema", { enumerable: true, get: function () { return address_types_js_1.RevocationDecisionSchema; } });
|
|
30
|
-
Object.defineProperty(exports, "OwnerGenerationSchema", { enumerable: true, get: function () { return address_types_js_1.OwnerGenerationSchema; } });
|
|
31
|
-
Object.defineProperty(exports, "DeliveryLifecycleRevisionSchema", { enumerable: true, get: function () { return address_types_js_1.DeliveryLifecycleRevisionSchema; } });
|
|
32
|
-
Object.defineProperty(exports, "DurableDeliveryHandleSchema", { enumerable: true, get: function () { return address_types_js_1.DurableDeliveryHandleSchema; } });
|
|
33
|
-
Object.defineProperty(exports, "DurableDeliveryResultSchema", { enumerable: true, get: function () { return address_types_js_1.DurableDeliveryResultSchema; } });
|
|
34
|
-
Object.defineProperty(exports, "DurableSubmitResultSchema", { enumerable: true, get: function () { return address_types_js_1.DurableSubmitResultSchema; } });
|
|
35
|
-
Object.defineProperty(exports, "ClientIdSchema", { enumerable: true, get: function () { return address_types_js_1.ClientIdSchema; } });
|
|
36
|
-
Object.defineProperty(exports, "PrincipalFingerprintSchema", { enumerable: true, get: function () { return address_types_js_1.PrincipalFingerprintSchema; } });
|
|
37
|
-
Object.defineProperty(exports, "PeerTransportIdSchema", { enumerable: true, get: function () { return address_types_js_1.PeerTransportIdSchema; } });
|
|
38
|
-
Object.defineProperty(exports, "SigningPublicKeySchema", { enumerable: true, get: function () { return address_types_js_1.SigningPublicKeySchema; } });
|
|
39
|
-
Object.defineProperty(exports, "TlsCaFingerprintSchema", { enumerable: true, get: function () { return address_types_js_1.TlsCaFingerprintSchema; } });
|
|
40
|
-
Object.defineProperty(exports, "LoopbackTlsIdentitySchema", { enumerable: true, get: function () { return address_types_js_1.LoopbackTlsIdentitySchema; } });
|
|
41
|
-
Object.defineProperty(exports, "TransportEndpointAdvertisementSchema", { enumerable: true, get: function () { return address_types_js_1.TransportEndpointAdvertisementSchema; } });
|
|
42
|
-
Object.defineProperty(exports, "InboxAddressSchema", { enumerable: true, get: function () { return address_types_js_1.InboxAddressSchema; } });
|
|
43
|
-
Object.defineProperty(exports, "ControlEndpointAdvertisementSchema", { enumerable: true, get: function () { return address_types_js_1.ControlEndpointAdvertisementSchema; } });
|
|
44
|
-
Object.defineProperty(exports, "NodeAdvertisementSchema", { enumerable: true, get: function () { return address_types_js_1.NodeAdvertisementSchema; } });
|
|
45
|
-
Object.defineProperty(exports, "LocalRuntimeSummarySchema", { enumerable: true, get: function () { return address_types_js_1.LocalRuntimeSummarySchema; } });
|
|
46
|
-
var peer_principal_ref_js_1 = require("./peer-principal-ref.js");
|
|
47
|
-
Object.defineProperty(exports, "NodePrincipalBindingRefSchema", { enumerable: true, get: function () { return peer_principal_ref_js_1.NodePrincipalBindingRefSchema; } });
|
|
48
|
-
var pair_route_contract_js_1 = require("./pair-route-contract.js");
|
|
49
|
-
Object.defineProperty(exports, "PairRequestRouteBodySchema", { enumerable: true, get: function () { return pair_route_contract_js_1.PairRequestRouteBodySchema; } });
|
|
50
|
-
Object.defineProperty(exports, "PairRequestRouteBodyJsonSchema", { enumerable: true, get: function () { return pair_route_contract_js_1.PairRequestRouteBodyJsonSchema; } });
|
|
51
|
-
Object.defineProperty(exports, "AcceptInviteRequestSchema", { enumerable: true, get: function () { return pair_route_contract_js_1.AcceptInviteRequestSchema; } });
|
|
52
|
-
Object.defineProperty(exports, "AcceptInviteRequestBodyJsonSchema", { enumerable: true, get: function () { return pair_route_contract_js_1.AcceptInviteRequestBodyJsonSchema; } });
|
|
53
|
-
Object.defineProperty(exports, "PairRelayRouteBodySchema", { enumerable: true, get: function () { return pair_route_contract_js_1.PairRelayRouteBodySchema; } });
|
|
54
|
-
Object.defineProperty(exports, "PairRelayRouteBodyJsonSchema", { enumerable: true, get: function () { return pair_route_contract_js_1.PairRelayRouteBodyJsonSchema; } });
|
|
55
|
-
Object.defineProperty(exports, "RelayPendingQuerySchema", { enumerable: true, get: function () { return pair_route_contract_js_1.RelayPendingQuerySchema; } });
|
|
56
|
-
Object.defineProperty(exports, "RelayPendingQueryJsonSchema", { enumerable: true, get: function () { return pair_route_contract_js_1.RelayPendingQueryJsonSchema; } });
|
|
57
|
-
Object.defineProperty(exports, "RelayPendingRequestSchema", { enumerable: true, get: function () { return pair_route_contract_js_1.RelayPendingRequestSchema; } });
|
|
58
|
-
Object.defineProperty(exports, "RelayPendingResponseSchema", { enumerable: true, get: function () { return pair_route_contract_js_1.RelayPendingResponseSchema; } });
|
|
59
|
-
var local_control_contract_js_1 = require("./local-control-contract.js");
|
|
60
|
-
Object.defineProperty(exports, "RunRequestSchema", { enumerable: true, get: function () { return local_control_contract_js_1.RunRequestSchema; } });
|
|
61
|
-
Object.defineProperty(exports, "RunResultSchema", { enumerable: true, get: function () { return local_control_contract_js_1.RunResultSchema; } });
|
|
62
|
-
Object.defineProperty(exports, "RuntimeErrorDiagnosticSchema", { enumerable: true, get: function () { return local_control_contract_js_1.RuntimeErrorDiagnosticSchema; } });
|
|
63
|
-
Object.defineProperty(exports, "createTrustedRuntimeError", { enumerable: true, get: function () { return local_control_contract_js_1.createTrustedRuntimeError; } });
|
|
64
|
-
Object.defineProperty(exports, "resolveTrustedRuntimeErrorMessage", { enumerable: true, get: function () { return local_control_contract_js_1.resolveTrustedRuntimeErrorMessage; } });
|
|
65
|
-
Object.defineProperty(exports, "ResumeRunRequestSchema", { enumerable: true, get: function () { return local_control_contract_js_1.ResumeRunRequestSchema; } });
|
|
66
|
-
Object.defineProperty(exports, "RuntimeRunEventSchema", { enumerable: true, get: function () { return local_control_contract_js_1.RuntimeRunEventSchema; } });
|
|
67
|
-
Object.defineProperty(exports, "RuntimeQueuedReceiptSchema", { enumerable: true, get: function () { return local_control_contract_js_1.RuntimeQueuedReceiptSchema; } });
|
|
68
|
-
Object.defineProperty(exports, "RuntimeDeliveryReceiptSchema", { enumerable: true, get: function () { return local_control_contract_js_1.RuntimeDeliveryReceiptSchema; } });
|
|
69
|
-
Object.defineProperty(exports, "OutboundMessageSchema", { enumerable: true, get: function () { return local_control_contract_js_1.OutboundMessageSchema; } });
|
|
70
|
-
Object.defineProperty(exports, "RuntimeEventCursorSchema", { enumerable: true, get: function () { return local_control_contract_js_1.RuntimeEventCursorSchema; } });
|
|
71
|
-
Object.defineProperty(exports, "InboxCursorSchema", { enumerable: true, get: function () { return local_control_contract_js_1.InboxCursorSchema; } });
|
|
72
|
-
Object.defineProperty(exports, "InboxListRequestSchema", { enumerable: true, get: function () { return local_control_contract_js_1.InboxListRequestSchema; } });
|
|
73
|
-
Object.defineProperty(exports, "AttachedClientViewSchema", { enumerable: true, get: function () { return local_control_contract_js_1.AttachedClientViewSchema; } });
|
|
74
|
-
Object.defineProperty(exports, "AttachedClientLeaseGrantSchema", { enumerable: true, get: function () { return local_control_contract_js_1.AttachedClientLeaseGrantSchema; } });
|
|
75
|
-
Object.defineProperty(exports, "AttachedClientAuthSchema", { enumerable: true, get: function () { return local_control_contract_js_1.AttachedClientAuthSchema; } });
|
|
76
|
-
Object.defineProperty(exports, "PersistedInboxEventSchema", { enumerable: true, get: function () { return local_control_contract_js_1.PersistedInboxEventSchema; } });
|
|
77
|
-
Object.defineProperty(exports, "PeerViewEventSchema", { enumerable: true, get: function () { return local_control_contract_js_1.PeerViewEventSchema; } });
|
|
78
|
-
Object.defineProperty(exports, "NearbyPeerViewSchema", { enumerable: true, get: function () { return local_control_contract_js_1.NearbyPeerViewSchema; } });
|
|
79
|
-
Object.defineProperty(exports, "RuntimeAutonomousLoopSafetyPolicySummarySchema", { enumerable: true, get: function () { return local_control_contract_js_1.RuntimeAutonomousLoopSafetyPolicySummarySchema; } });
|
|
80
|
-
Object.defineProperty(exports, "RuntimeAutonomousLoopStatusSchema", { enumerable: true, get: function () { return local_control_contract_js_1.RuntimeAutonomousLoopStatusSchema; } });
|
|
81
|
-
Object.defineProperty(exports, "RuntimeAutonomousLoopCommandSchema", { enumerable: true, get: function () { return local_control_contract_js_1.RuntimeAutonomousLoopCommandSchema; } });
|
|
82
|
-
Object.defineProperty(exports, "RuntimeStatusSchema", { enumerable: true, get: function () { return local_control_contract_js_1.RuntimeStatusSchema; } });
|
|
83
|
-
Object.defineProperty(exports, "PendingPairRequestViewSchema", { enumerable: true, get: function () { return local_control_contract_js_1.PendingPairRequestViewSchema; } });
|
|
84
|
-
Object.defineProperty(exports, "PendingInviteViewSchema", { enumerable: true, get: function () { return local_control_contract_js_1.PendingInviteViewSchema; } });
|
|
85
|
-
Object.defineProperty(exports, "PairRequestDecisionSchema", { enumerable: true, get: function () { return local_control_contract_js_1.PairRequestDecisionSchema; } });
|
|
86
|
-
Object.defineProperty(exports, "PairRequestResponseSchema", { enumerable: true, get: function () { return local_control_contract_js_1.PairRequestResponseSchema; } });
|
|
87
|
-
Object.defineProperty(exports, "CreateInviteRequestSchema", { enumerable: true, get: function () { return local_control_contract_js_1.CreateInviteRequestSchema; } });
|
|
88
|
-
Object.defineProperty(exports, "CreateInviteResponseSchema", { enumerable: true, get: function () { return local_control_contract_js_1.CreateInviteResponseSchema; } });
|
|
89
|
-
Object.defineProperty(exports, "InvitePeerRequestSchema", { enumerable: true, get: function () { return local_control_contract_js_1.InvitePeerRequestSchema; } });
|
|
90
|
-
Object.defineProperty(exports, "InvitePeerResultSchema", { enumerable: true, get: function () { return local_control_contract_js_1.InvitePeerResultSchema; } });
|
|
91
|
-
Object.defineProperty(exports, "AcceptInviteResponseSchema", { enumerable: true, get: function () { return local_control_contract_js_1.AcceptInviteResponseSchema; } });
|
|
92
|
-
Object.defineProperty(exports, "AcceptInviteTokenRequestSchema", { enumerable: true, get: function () { return local_control_contract_js_1.AcceptInviteTokenRequestSchema; } });
|
|
93
|
-
Object.defineProperty(exports, "AcceptInviteTokenResponseSchema", { enumerable: true, get: function () { return local_control_contract_js_1.AcceptInviteTokenResponseSchema; } });
|
|
94
|
-
Object.defineProperty(exports, "CancelInviteRequestSchema", { enumerable: true, get: function () { return local_control_contract_js_1.CancelInviteRequestSchema; } });
|
|
95
|
-
Object.defineProperty(exports, "CancelInviteResponseSchema", { enumerable: true, get: function () { return local_control_contract_js_1.CancelInviteResponseSchema; } });
|
|
96
|
-
Object.defineProperty(exports, "DirectPairRequestSchema", { enumerable: true, get: function () { return local_control_contract_js_1.DirectPairRequestSchema; } });
|
|
97
|
-
Object.defineProperty(exports, "DirectPairRequestJsonSchema", { enumerable: true, get: function () { return local_control_contract_js_1.DirectPairRequestJsonSchema; } });
|
|
98
|
-
Object.defineProperty(exports, "DirectPairResponseSchema", { enumerable: true, get: function () { return local_control_contract_js_1.DirectPairResponseSchema; } });
|
|
99
|
-
Object.defineProperty(exports, "RevokePeerRequestSchema", { enumerable: true, get: function () { return local_control_contract_js_1.RevokePeerRequestSchema; } });
|
|
100
|
-
Object.defineProperty(exports, "RevokePeerResponseSchema", { enumerable: true, get: function () { return local_control_contract_js_1.RevokePeerResponseSchema; } });
|
|
101
|
-
Object.defineProperty(exports, "RepairPeerRequestSchema", { enumerable: true, get: function () { return local_control_contract_js_1.RepairPeerRequestSchema; } });
|
|
102
|
-
Object.defineProperty(exports, "RepairPeerResponseSchema", { enumerable: true, get: function () { return local_control_contract_js_1.RepairPeerResponseSchema; } });
|
|
103
|
-
Object.defineProperty(exports, "LocalControlClientKindSchema", { enumerable: true, get: function () { return local_control_contract_js_1.LocalControlClientKindSchema; } });
|
|
104
|
-
Object.defineProperty(exports, "LocalControlSocketAttachClientRequestSchema", { enumerable: true, get: function () { return local_control_contract_js_1.LocalControlSocketAttachClientRequestSchema; } });
|
|
105
|
-
Object.defineProperty(exports, "LocalControlSocketAttachClientResponseSchema", { enumerable: true, get: function () { return local_control_contract_js_1.LocalControlSocketAttachClientResponseSchema; } });
|
|
106
|
-
Object.defineProperty(exports, "LocalControlSocketDetachClientRequestSchema", { enumerable: true, get: function () { return local_control_contract_js_1.LocalControlSocketDetachClientRequestSchema; } });
|
|
107
|
-
Object.defineProperty(exports, "LocalControlSocketDetachClientResponseSchema", { enumerable: true, get: function () { return local_control_contract_js_1.LocalControlSocketDetachClientResponseSchema; } });
|
|
108
|
-
Object.defineProperty(exports, "LocalControlSocketMethodSchema", { enumerable: true, get: function () { return local_control_contract_js_1.LocalControlSocketMethodSchema; } });
|
|
109
|
-
Object.defineProperty(exports, "LocalControlSocketRequestSchema", { enumerable: true, get: function () { return local_control_contract_js_1.LocalControlSocketRequestSchema; } });
|
|
110
|
-
Object.defineProperty(exports, "LocalControlSocketSuccessResponseSchema", { enumerable: true, get: function () { return local_control_contract_js_1.LocalControlSocketSuccessResponseSchema; } });
|
|
111
|
-
Object.defineProperty(exports, "LocalControlSocketErrorResponseSchema", { enumerable: true, get: function () { return local_control_contract_js_1.LocalControlSocketErrorResponseSchema; } });
|
|
112
|
-
Object.defineProperty(exports, "LocalControlSocketResponseSchema", { enumerable: true, get: function () { return local_control_contract_js_1.LocalControlSocketResponseSchema; } });
|
|
113
|
-
var node_store_contract_js_1 = require("./node-store-contract.js");
|
|
114
|
-
Object.defineProperty(exports, "RuntimeOwnerRecordSchema", { enumerable: true, get: function () { return node_store_contract_js_1.RuntimeOwnerRecordSchema; } });
|
|
115
|
-
Object.defineProperty(exports, "RuntimeEventKindSchema", { enumerable: true, get: function () { return node_store_contract_js_1.RuntimeEventKindSchema; } });
|
|
116
|
-
Object.defineProperty(exports, "RuntimeEventSchema", { enumerable: true, get: function () { return node_store_contract_js_1.RuntimeEventSchema; } });
|
|
117
|
-
var runtime_bootstrap_contract_js_1 = require("./runtime-bootstrap-contract.js");
|
|
118
|
-
Object.defineProperty(exports, "RuntimeBootstrapRevisionSchema", { enumerable: true, get: function () { return runtime_bootstrap_contract_js_1.RuntimeBootstrapRevisionSchema; } });
|
|
119
|
-
Object.defineProperty(exports, "RuntimeBootstrapPhaseSchema", { enumerable: true, get: function () { return runtime_bootstrap_contract_js_1.RuntimeBootstrapPhaseSchema; } });
|
|
120
|
-
Object.defineProperty(exports, "RuntimeBootstrapControlEndpointSchema", { enumerable: true, get: function () { return runtime_bootstrap_contract_js_1.RuntimeBootstrapControlEndpointSchema; } });
|
|
121
|
-
Object.defineProperty(exports, "RuntimeBootstrapTlsSchema", { enumerable: true, get: function () { return runtime_bootstrap_contract_js_1.RuntimeBootstrapTlsSchema; } });
|
|
122
|
-
Object.defineProperty(exports, "RuntimeBootstrapIdentitySchema", { enumerable: true, get: function () { return runtime_bootstrap_contract_js_1.RuntimeBootstrapIdentitySchema; } });
|
|
123
|
-
Object.defineProperty(exports, "RuntimeBootstrapRecordSchema", { enumerable: true, get: function () { return runtime_bootstrap_contract_js_1.RuntimeBootstrapRecordSchema; } });
|
|
124
|
-
var protocol_schemas_js_1 = require("./protocol-schemas.js");
|
|
125
|
-
Object.defineProperty(exports, "NETWORK_RUNTIME_PROTOCOL_VERSION", { enumerable: true, get: function () { return protocol_schemas_js_1.NETWORK_RUNTIME_PROTOCOL_VERSION; } });
|
|
126
|
-
Object.defineProperty(exports, "NetworkRuntimeProtocolVersionSchema", { enumerable: true, get: function () { return protocol_schemas_js_1.NetworkRuntimeProtocolVersionSchema; } });
|
|
127
|
-
Object.defineProperty(exports, "DeliveryAckSchema", { enumerable: true, get: function () { return protocol_schemas_js_1.DeliveryAckSchema; } });
|
|
128
|
-
Object.defineProperty(exports, "TransportInviteTokenSchema", { enumerable: true, get: function () { return protocol_schemas_js_1.TransportInviteTokenSchema; } });
|
|
129
|
-
Object.defineProperty(exports, "JoinRequestSchema", { enumerable: true, get: function () { return protocol_schemas_js_1.JoinRequestSchema; } });
|
|
130
|
-
Object.defineProperty(exports, "JoinRouteBodySchema", { enumerable: true, get: function () { return protocol_schemas_js_1.JoinRouteBodySchema; } });
|
|
131
|
-
Object.defineProperty(exports, "JoinRouteBodyJsonSchema", { enumerable: true, get: function () { return protocol_schemas_js_1.JoinRouteBodyJsonSchema; } });
|
|
132
|
-
Object.defineProperty(exports, "RuntimeIngressEnvelopeSchema", { enumerable: true, get: function () { return protocol_schemas_js_1.RuntimeIngressEnvelopeSchema; } });
|
|
133
|
-
Object.defineProperty(exports, "RuntimeNodeAdvertisementSchema", { enumerable: true, get: function () { return protocol_schemas_js_1.RuntimeNodeAdvertisementSchema; } });
|
|
134
|
-
Object.defineProperty(exports, "RuntimeDiscoveryAdvertisementSchema", { enumerable: true, get: function () { return protocol_schemas_js_1.RuntimeDiscoveryAdvertisementSchema; } });
|
|
135
|
-
Object.defineProperty(exports, "RuntimeRegisterRequestSchema", { enumerable: true, get: function () { return protocol_schemas_js_1.RuntimeRegisterRequestSchema; } });
|
|
136
|
-
Object.defineProperty(exports, "PairProposalSchema", { enumerable: true, get: function () { return protocol_schemas_js_1.PairProposalSchema; } });
|
|
137
|
-
Object.defineProperty(exports, "ContinuityStatementSchema", { enumerable: true, get: function () { return protocol_schemas_js_1.ContinuityStatementSchema; } });
|
|
138
|
-
Object.defineProperty(exports, "SignedContinuityBindSchema", { enumerable: true, get: function () { return protocol_schemas_js_1.SignedContinuityBindSchema; } });
|
|
139
|
-
Object.defineProperty(exports, "MutationOperationSchema", { enumerable: true, get: function () { return protocol_schemas_js_1.MutationOperationSchema; } });
|
|
140
|
-
Object.defineProperty(exports, "MutationEnvelopeSchema", { enumerable: true, get: function () { return protocol_schemas_js_1.MutationEnvelopeSchema; } });
|
|
141
|
-
Object.defineProperty(exports, "NetworkRouteRevokeRequestSchema", { enumerable: true, get: function () { return protocol_schemas_js_1.NetworkRouteRevokeRequestSchema; } });
|
|
142
|
-
Object.defineProperty(exports, "NetworkRouteRevokeRequestJsonSchema", { enumerable: true, get: function () { return protocol_schemas_js_1.NetworkRouteRevokeRequestJsonSchema; } });
|
|
143
|
-
Object.defineProperty(exports, "isSupportedNetworkRuntimeProtocolVersion", { enumerable: true, get: function () { return protocol_schemas_js_1.isSupportedNetworkRuntimeProtocolVersion; } });
|
|
144
|
-
Object.defineProperty(exports, "assertSupportedNetworkRuntimeProtocolVersion", { enumerable: true, get: function () { return protocol_schemas_js_1.assertSupportedNetworkRuntimeProtocolVersion; } });
|
|
145
|
-
var peer_state_machine_js_1 = require("./peer-state-machine.js");
|
|
146
|
-
Object.defineProperty(exports, "LegacyPeerRegistryStatusSchema", { enumerable: true, get: function () { return peer_state_machine_js_1.LegacyPeerRegistryStatusSchema; } });
|
|
147
|
-
Object.defineProperty(exports, "PeerIdentityStateSchema", { enumerable: true, get: function () { return peer_state_machine_js_1.PeerIdentityStateSchema; } });
|
|
148
|
-
Object.defineProperty(exports, "PeerTransportStateSchema", { enumerable: true, get: function () { return peer_state_machine_js_1.PeerTransportStateSchema; } });
|
|
149
|
-
Object.defineProperty(exports, "PeerMutationKindSchema", { enumerable: true, get: function () { return peer_state_machine_js_1.PeerMutationKindSchema; } });
|
|
150
|
-
Object.defineProperty(exports, "LegacyPeerRuntimeShapeSchema", { enumerable: true, get: function () { return peer_state_machine_js_1.LegacyPeerRuntimeShapeSchema; } });
|
|
151
|
-
Object.defineProperty(exports, "PeerStateSnapshotSchema", { enumerable: true, get: function () { return peer_state_machine_js_1.PeerStateSnapshotSchema; } });
|
|
152
|
-
Object.defineProperty(exports, "derivePeerStateFromLegacyStatus", { enumerable: true, get: function () { return peer_state_machine_js_1.derivePeerStateFromLegacyStatus; } });
|
|
153
|
-
Object.defineProperty(exports, "isValidPeerStateCombination", { enumerable: true, get: function () { return peer_state_machine_js_1.isValidPeerStateCombination; } });
|
|
154
|
-
Object.defineProperty(exports, "isValidPeerIdentityTransition", { enumerable: true, get: function () { return peer_state_machine_js_1.isValidPeerIdentityTransition; } });
|
|
155
|
-
Object.defineProperty(exports, "isValidPeerTransportTransition", { enumerable: true, get: function () { return peer_state_machine_js_1.isValidPeerTransportTransition; } });
|
|
156
|
-
Object.defineProperty(exports, "comparePeerMutationPrecedence", { enumerable: true, get: function () { return peer_state_machine_js_1.comparePeerMutationPrecedence; } });
|
|
157
|
-
var peer_capabilities_js_1 = require("./peer-capabilities.js");
|
|
158
|
-
Object.defineProperty(exports, "canRecordPendingPair", { enumerable: true, get: function () { return peer_capabilities_js_1.canRecordPendingPair; } });
|
|
159
|
-
Object.defineProperty(exports, "canCommitVerifiedPair", { enumerable: true, get: function () { return peer_capabilities_js_1.canCommitVerifiedPair; } });
|
|
160
|
-
Object.defineProperty(exports, "canRefreshEndpoint", { enumerable: true, get: function () { return peer_capabilities_js_1.canRefreshEndpoint; } });
|
|
161
|
-
Object.defineProperty(exports, "canHeartbeat", { enumerable: true, get: function () { return peer_capabilities_js_1.canHeartbeat; } });
|
|
162
|
-
Object.defineProperty(exports, "canAttemptBestEffortTransport", { enumerable: true, get: function () { return peer_capabilities_js_1.canAttemptBestEffortTransport; } });
|
|
163
|
-
Object.defineProperty(exports, "canAttemptDurableDelivery", { enumerable: true, get: function () { return peer_capabilities_js_1.canAttemptDurableDelivery; } });
|
|
164
|
-
Object.defineProperty(exports, "canMutateTrustedState", { enumerable: true, get: function () { return peer_capabilities_js_1.canMutateTrustedState; } });
|
|
165
|
-
var direct_endpoint_authority_js_1 = require("./direct-endpoint-authority.js");
|
|
166
|
-
Object.defineProperty(exports, "canonicalizeAuthoritativeDirectEndpoint", { enumerable: true, get: function () { return direct_endpoint_authority_js_1.canonicalizeAuthoritativeDirectEndpoint; } });
|
|
167
|
-
Object.defineProperty(exports, "isLoopbackDirectEndpointHost", { enumerable: true, get: function () { return direct_endpoint_authority_js_1.isLoopbackDirectEndpointHost; } });
|
|
168
|
-
var db_owner_fencing_js_1 = require("./db-owner-fencing.js");
|
|
169
|
-
Object.defineProperty(exports, "StaleOwnerError", { enumerable: true, get: function () { return db_owner_fencing_js_1.StaleOwnerError; } });
|
|
170
|
-
Object.defineProperty(exports, "ensureOwnerEpochTable", { enumerable: true, get: function () { return db_owner_fencing_js_1.ensureOwnerEpochTable; } });
|
|
171
|
-
Object.defineProperty(exports, "claimDbOwnerEpoch", { enumerable: true, get: function () { return db_owner_fencing_js_1.claimDbOwnerEpoch; } });
|
|
172
|
-
Object.defineProperty(exports, "assertDbOwnership", { enumerable: true, get: function () { return db_owner_fencing_js_1.assertDbOwnership; } });
|
|
1
|
+
"use strict";var v=(n,e)=>()=>(e||n((e={exports:{}}).exports,e),e.exports),M=v(n=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.DeliveryReceiptInputSchema=n.OutboxReceiptStatusSchema=n.QueuedReasonSchema=n.DeliveryReadinessSchema=n.SessionStateSchema=n.DeliveryStateSchema=n.RuntimeTransportSchema=void 0,n.canonicalizeDeliveryReceipt=O,n.createAckedDeliveryReceipt=q,n.createQueuedForRouteReceipt=u,n.createDispatchingDeliveryReceipt=h,n.createSentDeliveryReceipt=f,n.canonicalizeOutboxReceiptStatus=N;var e=require("zod");n.RuntimeTransportSchema=e.z.enum(["in_process","local_runtime","tunnel","relay"]),n.DeliveryStateSchema=e.z.enum(["accepted","queued_for_route","dispatching","sent","acked","expired","failed","rejected"]),n.SessionStateSchema=e.z.enum(["none","handshaking","connected","reconnecting","dead"]),n.DeliveryReadinessSchema=e.z.enum(["cannot_address","can_queue_only","can_send_now"]),n.QueuedReasonSchema=e.z.enum(["route_not_established","awaiting_remote_ack","transport_unavailable"]),n.OutboxReceiptStatusSchema=e.z.enum(["queued_for_route","dispatching","acked","expired"]),n.DeliveryReceiptInputSchema=e.z.object({transport:n.RuntimeTransportSchema,delivered:e.z.boolean(),queued:e.z.boolean(),accepted:e.z.boolean().optional(),deliveryState:n.DeliveryStateSchema.optional(),sessionState:n.SessionStateSchema.optional(),deliveryReadiness:n.DeliveryReadinessSchema.optional(),queuedReason:n.QueuedReasonSchema.optional()}).strict();var t={rejected:0,failed:1,expired:2,queued_for_route:3,dispatching:4,accepted:5,sent:6,acked:7},s={dead:0,none:1,handshaking:2,reconnecting:3,connected:4},c={cannot_address:0,can_queue_only:1,can_send_now:2};function o(i,p){return p?i.delivered?"acked":i.queued?i.queuedReason==="awaiting_remote_ack"||i.deliveryState==="dispatching"||i.deliveryState==="sent"?"dispatching":"queued_for_route":i.deliveryState==="expired"?"expired":"sent":i.deliveryState==="rejected"?"rejected":"failed"}function r(i){if(i.deliveryState)return i.deliveryState==="sent"&&i.queued&&i.queuedReason==="awaiting_remote_ack"?"dispatching":i.deliveryState}function R(i,p){return t[i]<=t[p]?i:p}function m(i,p){if(i==="local_runtime")return"none";switch(p){case"queued_for_route":return"handshaking";case"dispatching":return"connected";case"failed":case"rejected":case"expired":return"none";case"acked":return"connected";case"accepted":case"sent":return"connected";default:return"none"}}function y(i,p,I){return i==="local_runtime"?"none":p&&s[p]<=s[I]?p:I}function C(i,p,I){return p==="failed"||p==="rejected"?"cannot_address":i==="local_runtime"&&p==="acked"||p==="queued_for_route"?"can_queue_only":p==="dispatching"?I==="reconnecting"?"can_queue_only":"can_send_now":p==="expired"?"cannot_address":I==="connected"?"can_send_now":"can_queue_only"}function d(i,p){return i&&c[i]<=c[p]?i:p}function l(i,p){return p==="rejected"?!1:i.accepted??!0}function g(i){return i==="queued_for_route"||i==="dispatching"}function _(i,p,I){if(I){if(i.queuedReason)return i.queuedReason;if(p==="dispatching")return"awaiting_remote_ack";if(p==="queued_for_route")return"route_not_established"}}function O(i){let p=o(i,i.accepted??!0),I=r(i),w=I?R(I,p):p,Q=l(i,w),U=w==="acked",x=g(w),W=m(i.transport,w),B=y(i.transport,i.sessionState,W),$=C(i.transport,w,B),Z=d(i.deliveryReadiness,$),V=_(i,w,x);return{transport:i.transport,delivered:U,queued:x,accepted:Q,deliveryState:w,sessionState:B,deliveryReadiness:Z,...V?{queuedReason:V}:{}}}function q(i){return O({transport:i.transport,delivered:!0,queued:!1,accepted:!0,deliveryState:"acked",...i.sessionState?{sessionState:i.sessionState}:{},...i.deliveryReadiness?{deliveryReadiness:i.deliveryReadiness}:{}})}function u(i){return O({transport:i.transport,delivered:!1,queued:!0,accepted:!0,deliveryState:"queued_for_route",queuedReason:"route_not_established",...i.sessionState?{sessionState:i.sessionState}:{},...i.deliveryReadiness?{deliveryReadiness:i.deliveryReadiness}:{}})}function h(i){return O({transport:i.transport,delivered:!1,queued:!0,accepted:!0,deliveryState:"dispatching",queuedReason:"awaiting_remote_ack",...i.sessionState?{sessionState:i.sessionState}:{},...i.deliveryReadiness?{deliveryReadiness:i.deliveryReadiness}:{}})}function f(i){return O({transport:i.transport,delivered:!1,queued:!1,accepted:!0,deliveryState:"sent",...i.sessionState?{sessionState:i.sessionState}:{},...i.deliveryReadiness?{deliveryReadiness:i.deliveryReadiness}:{}})}function N(i){switch(i){case"queued":case"queued_for_route":return"queued_for_route";case"dispatching":case"acked":case"expired":return i;default:throw new Error(`[delivery-receipts] Unsupported outbox status: ${i}`)}}}),k=v(n=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.DurableSubmitResultSchema=n.DurableDeliveryResultSchema=n.DurableDeliveryHandleSchema=n.LocalRuntimeSummarySchema=n.NodeAdvertisementSchema=n.ControlEndpointAdvertisementSchema=n.InboxAddressSchema=n.TransportEndpointAdvertisementSchema=n.SigningPublicKeySchema=n.LoopbackTlsIdentitySchema=n.TlsCaFingerprintSchema=n.PeerTransportIdSchema=n.PrincipalFingerprintSchema=n.ClientIdSchema=n.RuntimeOwnerRecordSchema=n.DeliveryLifecycleRevisionSchema=n.OwnerGenerationSchema=n.RevocationDecisionSchema=n.RevocationOperatorConfirmationSchema=n.RevocationGenerationSchema=n.BindingGenerationSchema=n.EndpointRevisionSchema=n.PublicationRevisionSchema=n.NodeMetadataSchema=n.RuntimeIdSchema=n.NodeIdSchema=void 0;var e=require("zod"),t=e.z.string().trim().min(1);n.NodeIdSchema=t.brand(),n.RuntimeIdSchema=t.brand(),n.NodeMetadataSchema=e.z.object({nodeId:n.NodeIdSchema,createdAt:t,schemaVersion:e.z.number().int().positive(),migratedFromLegacy:e.z.boolean()}),n.PublicationRevisionSchema=e.z.number().int().nonnegative(),n.EndpointRevisionSchema=e.z.number().int().nonnegative(),n.BindingGenerationSchema=e.z.number().int().nonnegative(),n.RevocationGenerationSchema=e.z.number().int().nonnegative(),n.RevocationOperatorConfirmationSchema=e.z.enum(["local_operator_confirmed","remote_capability_authenticated"]),n.RevocationDecisionSchema=e.z.object({localNodeId:n.NodeIdSchema,targetNodeId:n.NodeIdSchema,revocationGeneration:n.RevocationGenerationSchema,operatorConfirmation:n.RevocationOperatorConfirmationSchema}),n.OwnerGenerationSchema=e.z.number().int().positive(),n.DeliveryLifecycleRevisionSchema=e.z.number().int().nonnegative(),n.RuntimeOwnerRecordSchema=e.z.object({schemaVersion:e.z.number().int().positive(),nodeId:n.NodeIdSchema,ariaHome:t,runtimePid:e.z.number().int().positive(),runtimeId:n.RuntimeIdSchema,displayNameSnapshot:t.optional(),runtimeSocket:t,startedAt:t,lastHeartbeat:t,ownerGeneration:n.OwnerGenerationSchema}).strict(),n.ClientIdSchema=t.brand(),n.PrincipalFingerprintSchema=t.brand(),n.PeerTransportIdSchema=t.brand(),n.TlsCaFingerprintSchema=t.brand(),n.LoopbackTlsIdentitySchema=t.brand(),n.SigningPublicKeySchema=t.brand(),n.TransportEndpointAdvertisementSchema=e.z.object({host:t,port:e.z.number().int().min(1).max(65535)}),n.InboxAddressSchema=e.z.discriminatedUnion("kind",[e.z.object({kind:e.z.literal("node"),nodeId:n.NodeIdSchema}),e.z.object({kind:e.z.literal("client"),clientId:n.ClientIdSchema})]),n.ControlEndpointAdvertisementSchema=e.z.object({host:t,port:e.z.number().int().min(1).max(65535),tlsCaFingerprint:n.TlsCaFingerprintSchema,tlsServerIdentity:n.PrincipalFingerprintSchema,protocolVersion:e.z.number().int().positive(),endpointRevision:n.EndpointRevisionSchema.optional()}),n.NodeAdvertisementSchema=e.z.object({nodeId:n.NodeIdSchema,principalFingerprint:n.PrincipalFingerprintSchema,transportPublicKey:n.PeerTransportIdSchema,publicationRevision:n.PublicationRevisionSchema.optional(),controlEndpoint:n.ControlEndpointAdvertisementSchema.optional(),displayNameSnapshot:t.optional()}),n.LocalRuntimeSummarySchema=e.z.object({nodeId:n.NodeIdSchema,runtimeId:n.RuntimeIdSchema,lastHeartbeat:t.optional(),controlEndpoint:n.ControlEndpointAdvertisementSchema.optional(),displayNameSnapshot:t.optional()}),n.DurableDeliveryHandleSchema=t.brand(),n.DurableDeliveryResultSchema=e.z.discriminatedUnion("status",[e.z.object({status:e.z.literal("pending"),queuedAt:e.z.string(),nextAttemptAt:e.z.string().optional(),attemptCount:e.z.number()}),e.z.object({status:e.z.literal("delivered"),deliveredAt:e.z.string()}),e.z.object({status:e.z.literal("expired"),reason:e.z.literal("ttl_exceeded"),queuedAt:e.z.string(),expiredAt:e.z.string()}),e.z.object({status:e.z.literal("rejected"),reason:e.z.enum(["recipient_revoked","recipient_unknown","envelope_invalid"])})]),n.DurableSubmitResultSchema=e.z.discriminatedUnion("status",[e.z.object({status:e.z.literal("accepted"),operationId:n.DurableDeliveryHandleSchema,queuedAt:e.z.string()}),e.z.object({status:e.z.literal("rejected"),reason:e.z.enum(["recipient_revoked","recipient_unknown","envelope_invalid"])})])}),K=v(n=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.NodePrincipalBindingRefSchema=void 0;var e=require("zod"),t=k(),s=e.z.string().trim().min(1);n.NodePrincipalBindingRefSchema=e.z.object({nodeId:t.NodeIdSchema,principalFingerprint:t.PrincipalFingerprintSchema,transportPublicKey:t.PeerTransportIdSchema,bindingGeneration:t.BindingGenerationSchema,displayNameSnapshot:s.optional()}).strict()}),F=v(n=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.RuntimeEventSchema=n.RuntimeEventKindSchema=n.RuntimeOwnerRecordSchema=void 0;var e=require("zod"),t=k(),s=e.z.string().trim().min(1),c=e.z.record(e.z.string(),e.z.unknown()),o=k();Object.defineProperty(n,"RuntimeOwnerRecordSchema",{enumerable:!0,get:function(){return o.RuntimeOwnerRecordSchema}}),n.RuntimeEventKindSchema=e.z.enum(["client_attached","client_detached","runtime_started","runtime_stopped","runtime_stale","runtime_restarted","pair_proposed","proof_committed","continuity_bound","revocation_committed","ingress_accepted","ingress_rejected","durable_send_queued","durable_send_dispatching","durable_send_acked","durable_send_expired"]),n.RuntimeEventSchema=e.z.object({eventId:s,nodeId:t.NodeIdSchema,runtimeId:t.RuntimeIdSchema,kind:n.RuntimeEventKindSchema,revision:e.z.number().int().nonnegative().optional(),recordedAt:s,payload:c}).strict()}),D=v(n=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.NetworkRouteRevokeRequestJsonSchema=n.NetworkRouteRevokeRequestSchema=n.MutationEnvelopeSchema=n.MutationOperationSchema=n.SignedContinuityBindSchema=n.ContinuityStatementSchema=n.PairProposalSchema=n.RuntimeRegisterRequestSchema=n.RuntimeDiscoveryAdvertisementSchema=n.RuntimeNodeAdvertisementSchema=n.RuntimeIngressEnvelopeSchema=n.JoinRouteBodyJsonSchema=n.JoinRouteBodySchema=n.JoinRequestSchema=n.TransportInviteTokenSchema=n.DeliveryAckSchema=n.NetworkRuntimeProtocolVersionSchema=n.NETWORK_RUNTIME_PROTOCOL_VERSION=n.RuntimeEventSchema=n.RuntimeEventKindSchema=void 0,n.isSupportedNetworkRuntimeProtocolVersion=y,n.assertSupportedNetworkRuntimeProtocolVersion=C;var e=require("zod"),t=k(),s=F();Object.defineProperty(n,"RuntimeEventKindSchema",{enumerable:!0,get:function(){return s.RuntimeEventKindSchema}}),Object.defineProperty(n,"RuntimeEventSchema",{enumerable:!0,get:function(){return s.RuntimeEventSchema}});var c=K(),o=e.z.string().trim().min(1),r=e.z.string().min(1).refine(d=>d.trim().length>0),R=e.z.record(e.z.string(),e.z.unknown());function m(d){let l=e.z.toJSONSchema(d);return delete l.$schema,l}n.NETWORK_RUNTIME_PROTOCOL_VERSION=1,n.NetworkRuntimeProtocolVersionSchema=e.z.literal(n.NETWORK_RUNTIME_PROTOCOL_VERSION);function y(d){return d===n.NETWORK_RUNTIME_PROTOCOL_VERSION}function C(d,l="network runtime"){if(!y(d))throw new Error(`Unsupported ${l} protocol version ${String(d)}. Supported: ${n.NETWORK_RUNTIME_PROTOCOL_VERSION}`);return d}n.DeliveryAckSchema=e.z.object({protocolVersion:n.NetworkRuntimeProtocolVersionSchema,messageId:o,senderNodeId:t.NodeIdSchema,recipientNodeId:t.NodeIdSchema,storedAt:e.z.number().int().nonnegative()}).strict(),n.TransportInviteTokenSchema=e.z.object({nodeId:t.NodeIdSchema,audienceNodeId:t.NodeIdSchema.optional(),publicKey:t.PeerTransportIdSchema,leaderDisplayNameSnapshot:o.optional(),host:o,port:e.z.number().int().min(1).max(65535),controlEndpoint:t.ControlEndpointAdvertisementSchema.optional(),psk:o,displayNameSnapshot:o.optional(),signingPublicKey:t.SigningPublicKeySchema.optional(),caCert:r.optional(),createdAt:e.z.number().int().nonnegative(),expiresAt:e.z.number().int().nonnegative(),tokenNonce:o,coordinationUrl:o.optional(),networkId:o.optional()}).strict(),n.JoinRequestSchema=e.z.object({protocolVersion:n.NetworkRuntimeProtocolVersionSchema,nodeId:t.NodeIdSchema,principalFingerprint:t.PrincipalFingerprintSchema,peerPublicKey:t.PeerTransportIdSchema,signingPublicKey:t.SigningPublicKeySchema,transportEndpoint:t.TransportEndpointAdvertisementSchema,controlEndpoint:t.ControlEndpointAdvertisementSchema.optional(),displayNameSnapshot:o.optional(),inviteTokenNonce:o}).strict(),n.JoinRouteBodySchema=n.JoinRequestSchema.extend({proofOfWork:o}).strict(),n.JoinRouteBodyJsonSchema=m(n.JoinRouteBodySchema),n.RuntimeIngressEnvelopeSchema=e.z.union([e.z.object({protocolVersion:n.NetworkRuntimeProtocolVersionSchema,deliveryAck:n.DeliveryAckSchema}).strict(),e.z.object({protocolVersion:n.NetworkRuntimeProtocolVersionSchema,ariaMessage:e.z.unknown()}).strict(),e.z.object({protocolVersion:n.NetworkRuntimeProtocolVersionSchema,joinRequest:n.JoinRequestSchema}).strict()]),n.RuntimeNodeAdvertisementSchema=t.NodeAdvertisementSchema.extend({protocolVersion:n.NetworkRuntimeProtocolVersionSchema,publicationRevision:t.PublicationRevisionSchema,signingPublicKey:t.SigningPublicKeySchema,transportEndpoint:t.TransportEndpointAdvertisementSchema,advertisedHosts:e.z.array(o).min(1).optional()}).strict(),n.RuntimeDiscoveryAdvertisementSchema=e.z.object({protocolVersion:n.NetworkRuntimeProtocolVersionSchema,nodeId:t.NodeIdSchema,displayNameSnapshot:o,principalFingerprint:t.PrincipalFingerprintSchema,controlPort:e.z.number().int().min(1).max(65535),advertisedHosts:e.z.array(o).min(1),tlsCaFingerprint:e.z.string().trim().min(1).optional()}).strict(),n.RuntimeRegisterRequestSchema=e.z.object({protocolVersion:n.NetworkRuntimeProtocolVersionSchema,nodeId:t.NodeIdSchema,transportPublicKey:t.PeerTransportIdSchema,principalFingerprint:t.PrincipalFingerprintSchema,endpointRevision:t.EndpointRevisionSchema,controlEndpoint:t.ControlEndpointAdvertisementSchema.optional(),displayNameSnapshot:o.optional()}).strict(),n.PairProposalSchema=e.z.object({protocolVersion:n.NetworkRuntimeProtocolVersionSchema,nodeId:t.NodeIdSchema,principalFingerprint:t.PrincipalFingerprintSchema,transportPublicKey:t.PeerTransportIdSchema,controlEndpoint:t.ControlEndpointAdvertisementSchema.optional(),displayNameSnapshot:o.optional(),presharedKey:o}).strict(),n.ContinuityStatementSchema=e.z.object({nodeId:t.NodeIdSchema,previousPrincipalFingerprint:t.PrincipalFingerprintSchema,newPrincipalFingerprint:t.PrincipalFingerprintSchema,newTransportPublicKey:t.PeerTransportIdSchema.optional(),bindingGeneration:t.BindingGenerationSchema,revocationGeneration:t.RevocationGenerationSchema.optional(),createdAt:o}).strict(),n.SignedContinuityBindSchema=e.z.object({statement:n.ContinuityStatementSchema,delegationSignature:o,acceptanceSignature:o,previousPublicKey:o,newPublicKey:o}).strict(),n.MutationOperationSchema=e.z.enum(["network.register","network.revoke","network.list_peers","pair.direct","pair.relay","pair.relay_response","peer.update_capabilities","peer.update_trust_tier"]),n.MutationEnvelopeSchema=e.z.object({version:n.NetworkRuntimeProtocolVersionSchema,id:o,operation:n.MutationOperationSchema,principal:c.NodePrincipalBindingRefSchema,target:c.NodePrincipalBindingRefSchema,namespace:o,policyEpoch:e.z.number().int().nonnegative(),nonce:o,timestamp:e.z.number().int().nonnegative(),ttl:e.z.number().int().positive(),contextHash:o,payload:R,signature:o,method:o.optional(),path:o.optional(),metadata:R.optional(),reason:o.optional(),parentEnvelopeId:o.optional()}).strict(),n.NetworkRouteRevokeRequestSchema=e.z.object({nodeId:t.NodeIdSchema,envelope:n.MutationEnvelopeSchema}).strict(),n.NetworkRouteRevokeRequestJsonSchema=m(n.NetworkRouteRevokeRequestSchema)}),J=v(n=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.RelayPendingResponseSchema=n.RelayPendingRequestSchema=n.RelayPendingQueryJsonSchema=n.RelayPendingQuerySchema=n.PairRelayRouteBodyJsonSchema=n.PairRelayRouteBodySchema=n.AcceptInviteRequestBodyJsonSchema=n.AcceptInviteRequestSchema=n.PairRequestRouteBodyJsonSchema=n.PairRequestRouteBodySchema=void 0;var e=require("zod"),t=k(),s=D(),c=e.z.string().trim().min(1);function o(r){let R=e.z.toJSONSchema(r);return delete R.$schema,R}n.PairRequestRouteBodySchema=e.z.object({displayNameSnapshot:c,nodeId:t.NodeIdSchema,signingPublicKey:t.SigningPublicKeySchema,port:e.z.number().int().min(1).max(65535),ephemeralPublicKey:e.z.string().max(512),ephemeralKeySignature:e.z.string().max(512),caCert:e.z.string().max(4096).optional(),protocolVersion:e.z.number().min(1).max(100).optional(),wait:e.z.boolean().optional()}).strict(),n.PairRequestRouteBodyJsonSchema=o(n.PairRequestRouteBodySchema),n.AcceptInviteRequestSchema=e.z.object({inviteToken:c,nodeId:t.NodeIdSchema,displayNameSnapshot:c.optional(),transportEndpoint:t.TransportEndpointAdvertisementSchema,controlEndpoint:t.ControlEndpointAdvertisementSchema,continuity:s.SignedContinuityBindSchema.optional()}).strict(),n.AcceptInviteRequestBodyJsonSchema=o(n.AcceptInviteRequestSchema),n.PairRelayRouteBodySchema=e.z.object({targetNodeId:t.NodeIdSchema,displayNameSnapshot:c,nodeId:t.NodeIdSchema,signingPublicKey:t.SigningPublicKeySchema,port:e.z.number().int().min(1).max(65535),ephemeralPublicKey:e.z.string().max(512),ephemeralKeySignature:e.z.string().max(512),caCert:e.z.string().max(4096).optional()}).strict(),n.PairRelayRouteBodyJsonSchema=o(n.PairRelayRouteBodySchema),n.RelayPendingQuerySchema=e.z.object({targetNodeId:t.NodeIdSchema,signingPublicKey:t.SigningPublicKeySchema,signature:c.max(512),timestamp:c.max(20)}).strict(),n.RelayPendingQueryJsonSchema=o(n.RelayPendingQuerySchema),n.RelayPendingRequestSchema=e.z.object({id:c,nodeId:t.NodeIdSchema,displayNameSnapshot:c.optional(),principalFingerprint:t.PrincipalFingerprintSchema,signingPublicKey:t.SigningPublicKeySchema,port:e.z.number().int().min(1).max(65535),ingressHost:c,responderControlHostHint:c.optional(),ephemeralPublicKey:e.z.string().max(512).optional(),ephemeralKeySignature:e.z.string().max(512).optional(),caCert:e.z.string().max(4096).optional(),expiresAt:e.z.number().int().nonnegative()}).strict(),n.RelayPendingResponseSchema=e.z.object({requests:n.RelayPendingRequestSchema.array()}).strict()}),G=v(n=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.PeerStateSnapshotSchema=n.LegacyPeerRuntimeShapeSchema=n.PeerMutationKindSchema=n.PeerTransportStateSchema=n.PeerIdentityStateSchema=n.LegacyPeerRegistryStatusSchema=void 0,n.isValidPeerStateCombination=s,n.derivePeerStateFromLegacyStatus=c,n.isValidPeerIdentityTransition=r,n.isValidPeerTransportTransition=m,n.comparePeerMutationPrecedence=C;var e=require("zod");n.LegacyPeerRegistryStatusSchema=e.z.enum(["active","pending","pending_tunnel","pending_verification","revoked"]),n.PeerIdentityStateSchema=e.z.enum(["invited","joining","paired_unverified","verified","revoked"]),n.PeerTransportStateSchema=e.z.enum(["unknown","endpoint_known","connecting","connected","degraded","disconnected"]),n.PeerMutationKindSchema=e.z.enum(["repair","continuity","revocation"]),n.LegacyPeerRuntimeShapeSchema=e.z.object({status:n.LegacyPeerRegistryStatusSchema,endpointHost:e.z.string().nullable().optional(),endpointPort:e.z.number().int().nullable().optional(),lastHandshake:e.z.number().int().nullable().optional()});var t={invited:["unknown","endpoint_known"],joining:["unknown","endpoint_known","connecting"],paired_unverified:["unknown","endpoint_known","connecting","connected","degraded","disconnected"],verified:["unknown","endpoint_known","connecting","connected","degraded","disconnected"],revoked:["unknown","disconnected"]};function s(d,l){return t[d].includes(l)}n.PeerStateSnapshotSchema=e.z.object({identityState:n.PeerIdentityStateSchema,transportState:n.PeerTransportStateSchema}).superRefine((d,l)=>{s(d.identityState,d.transportState)||l.addIssue({code:e.z.ZodIssueCode.custom,message:`invalid peer state combination: ${d.identityState}/${d.transportState}`})});function c(d){let l=n.LegacyPeerRuntimeShapeSchema.parse(d),g=!!(l.endpointHost&&l.endpointPort),_=typeof l.lastHandshake=="number"&&Number.isFinite(l.lastHandshake)&&l.lastHandshake>0,O=l.status==="pending"?"invited":l.status==="revoked"?"revoked":l.status==="active"?"verified":"paired_unverified",q=(()=>{switch(l.status){case"active":return _?"connected":g?"endpoint_known":"disconnected";case"pending_tunnel":return _?"connected":g?"connecting":"unknown";case"pending_verification":return _?"connected":g?"endpoint_known":"unknown";case"pending":return g?"endpoint_known":"unknown";case"revoked":return g?"disconnected":"unknown"}})();return n.PeerStateSnapshotSchema.parse({identityState:O,transportState:q})}var o={invited:["invited","joining","revoked"],joining:["joining","paired_unverified","revoked"],paired_unverified:["paired_unverified","verified","revoked"],verified:["verified","revoked"],revoked:["revoked"]};function r(d,l,g={}){return d==="verified"&&l==="paired_unverified"?g.viaContinuity===!0:o[d].includes(l)}var R={unknown:["unknown","endpoint_known"],endpoint_known:["endpoint_known","connecting","disconnected"],connecting:["connecting","connected","endpoint_known","disconnected"],connected:["connected","degraded","disconnected"],degraded:["degraded","connected","disconnected"],disconnected:["disconnected","endpoint_known"]};function m(d,l){return R[d].includes(l)}var y={repair:0,continuity:1,revocation:2};function C(d,l){return y[d]-y[l]}}),X=v(n=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.LocalControlSocketRequestSchema=n.LocalControlSocketMethodSchema=n.LocalControlSocketDetachClientResponseSchema=n.LocalControlSocketDetachClientRequestSchema=n.LocalControlSocketAttachClientResponseSchema=n.LocalControlSocketAttachClientRequestSchema=n.AttachedClientAuthSchema=n.AttachedClientLeaseGrantSchema=n.AttachedClientViewSchema=n.LocalControlClientKindSchema=n.RepairPeerResponseSchema=n.RepairPeerRequestSchema=n.RevokePeerResponseSchema=n.RevokePeerRequestSchema=n.DirectPairResponseSchema=n.DirectPairRequestJsonSchema=n.DirectPairRequestSchema=n.CancelInviteResponseSchema=n.CancelInviteRequestSchema=n.AcceptInviteTokenResponseSchema=n.AcceptInviteTokenRequestSchema=n.AcceptInviteResponseSchema=n.InvitePeerResultSchema=n.PairingProofStateSchema=n.InvitePeerRequestSchema=n.CreateInviteResponseSchema=n.CreateInviteRequestSchema=n.PairRequestResponseSchema=n.PairRequestDecisionSchema=n.PendingInviteViewSchema=n.PendingPairRequestViewSchema=n.RuntimeAutonomousLoopCommandSchema=n.RuntimeStatusSchema=n.RuntimeAutonomousLoopStatusSchema=n.RuntimeAutonomousLoopSafetyPolicySummarySchema=n.NearbyPeerViewSchema=n.PeerViewEventSchema=n.PersistedInboxEventSchema=n.InboxListRequestSchema=n.InboxCursorSchema=n.RuntimeEventCursorSchema=n.OutboundMessageSchema=n.RuntimeDeliveryReceiptSchema=n.RuntimeQueuedReceiptSchema=n.RuntimeRunEventSchema=n.ResumeRunRequestSchema=n.RunResultSchema=n.RuntimeErrorDiagnosticSchema=n.RunRequestSchema=n.AcceptInviteRequestSchema=void 0,n.LocalControlSocketResponseSchema=n.LocalControlSocketErrorResponseSchema=n.LocalControlSocketSuccessResponseSchema=void 0,n.resolveTrustedRuntimeErrorMessage=g,n.createTrustedRuntimeError=_;var e=require("zod"),t=k(),s=M(),c=J();Object.defineProperty(n,"AcceptInviteRequestSchema",{enumerable:!0,get:function(){return c.AcceptInviteRequestSchema}});var o=G(),r=e.z.string().trim().min(1),R=e.z.enum(["minimal","balanced","high","full"]),m=e.z.array(e.z.string()).optional(),y=e.z.array(e.z.custom()).optional();function C(u){let h=e.z.toJSONSchema(u);return delete h.$schema,h}n.RunRequestSchema=e.z.object({task:r,arion:r.optional(),cwd:r.optional(),history:y,requestedModel:r.optional(),preferredTier:e.z.enum(["fast","balanced","powerful","ensemble"]).optional(),budget:e.z.number().positive().optional(),maxTurns:e.z.number().int().positive().optional(),autonomy:R.optional(),allowedTools:m,deniedTools:m,noMemory:e.z.boolean().optional(),systemPrompt:e.z.string().optional(),approvalMode:e.z.enum(["pause","approve","deny"]).optional(),askUserAnswers:e.z.array(e.z.string()).optional()}).strict(),n.RuntimeErrorDiagnosticSchema=e.z.lazy(()=>e.z.object({message:e.z.string(),name:e.z.string().optional(),stack:e.z.string().optional(),cause:n.RuntimeErrorDiagnosticSchema.optional()}).catchall(e.z.unknown()));function d(u){if(!u||typeof u!="object")return;let h=u.message;if(typeof h!="string")return;let f=h.trim();return f.length>0?f:void 0}function l(u){let h=u.trim().toLowerCase();return h==="internal server error"||h.startsWith("internal server error:")||h.startsWith("http 500")}function g(u,h){let f=typeof u=="string"&&u.trim().length>0?u:void 0,N=d(h);return N&&(!f||l(f))?N:f}function _(u,h){let f=g(u,h)??"Trusted runtime error";return Object.assign(new Error(f),{...h===void 0?{}:{diagnostic:h},...typeof u=="string"&&u.trim().length>0&&u!==f?{publicMessage:u}:{}})}n.RunResultSchema=e.z.object({success:e.z.boolean(),output:e.z.string().optional(),messages:e.z.array(e.z.unknown()).optional(),toolCalls:e.z.array(e.z.unknown()).optional(),usage:e.z.unknown().optional(),turnCount:e.z.number().int().nonnegative().optional(),thinking:e.z.array(e.z.unknown()).optional(),nativeToolResults:e.z.array(e.z.unknown()).optional(),traces:e.z.array(e.z.unknown()).optional(),pipelineTiming:e.z.unknown().optional(),guardrailEvents:e.z.array(e.z.unknown()).optional(),handoffs:e.z.array(e.z.unknown()).optional(),state:e.z.unknown().optional(),error:e.z.string().optional(),diagnostic:n.RuntimeErrorDiagnosticSchema.optional()}).strict(),n.ResumeRunRequestSchema=e.z.object({state:e.z.unknown(),arion:r.optional(),cwd:r.optional(),requestedModel:r.optional(),preferredTier:e.z.enum(["fast","balanced","powerful","ensemble"]).optional(),budget:e.z.number().positive().optional(),maxTurns:e.z.number().int().positive().optional(),autonomy:R.optional(),allowedTools:m,deniedTools:m,noMemory:e.z.boolean().optional(),systemPrompt:e.z.string().optional(),approvalMode:e.z.enum(["pause","approve","deny"]).optional(),askUserAnswers:e.z.array(e.z.string()).optional()}).strict(),n.RuntimeRunEventSchema=e.z.discriminatedUnion("type",[e.z.object({type:e.z.literal("text_delta"),content:e.z.string()}),e.z.object({type:e.z.literal("tool_start"),id:r,name:r,input:e.z.unknown().optional()}),e.z.object({type:e.z.literal("approval_needed"),toolName:r,toolInput:e.z.unknown().optional(),riskLevel:e.z.string().optional(),issues:e.z.array(e.z.string()).optional()}),e.z.object({type:e.z.literal("tool_result"),id:r,name:r,durationMs:e.z.number().nonnegative(),result:e.z.unknown(),input:e.z.unknown().optional()}),e.z.object({type:e.z.literal("usage_update"),usage:e.z.unknown()}),e.z.object({type:e.z.literal("turn_complete"),turnNumber:e.z.number().int().nonnegative()}),e.z.object({type:e.z.literal("guardrail_rejected"),stage:e.z.enum(["input","output"]),message:e.z.string()}),e.z.object({type:e.z.literal("pipeline_timing"),report:e.z.unknown()}),e.z.object({type:e.z.literal("messages_snapshot"),messages:e.z.array(e.z.unknown())}),e.z.object({type:e.z.literal("error"),error:e.z.object({message:e.z.string(),diagnostic:n.RuntimeErrorDiagnosticSchema.optional()})}),e.z.object({type:e.z.literal("native_tool_result"),metadata:e.z.unknown()}),e.z.object({type:e.z.literal("thinking_start")}),e.z.object({type:e.z.literal("thinking_delta"),content:e.z.string()}),e.z.object({type:e.z.literal("thinking_end"),blocks:e.z.array(e.z.unknown()),durationMs:e.z.number().nonnegative()}),e.z.object({type:e.z.literal("tool_args_delta"),id:r,args:e.z.string()}),e.z.object({type:e.z.literal("span_start"),spanId:r,spanType:r,name:r}),e.z.object({type:e.z.literal("span_end"),spanId:r,durationMs:e.z.number().nonnegative()}),e.z.object({type:e.z.literal("handoff_start"),target:r,id:r}),e.z.object({type:e.z.literal("handoff_result"),target:r,result:e.z.string(),id:r}),e.z.object({type:e.z.literal("paused"),state:e.z.unknown()})]),n.RuntimeQueuedReceiptSchema=e.z.object(s.DeliveryReceiptInputSchema.shape).strict().transform(u=>(0,s.canonicalizeDeliveryReceipt)(u)),n.RuntimeDeliveryReceiptSchema=e.z.object({transport:s.RuntimeTransportSchema,delivered:e.z.boolean(),queued:e.z.boolean(),accepted:e.z.boolean().optional(),deliveryState:s.DeliveryStateSchema.optional(),sessionState:s.SessionStateSchema.optional(),deliveryReadiness:s.DeliveryReadinessSchema.optional(),queuedReason:s.QueuedReasonSchema.optional(),storedAt:e.z.number().int().nonnegative().optional()}).strict().transform(({storedAt:u,...h})=>({...(0,s.canonicalizeDeliveryReceipt)(h),...u!==void 0?{storedAt:u}:{}})),n.OutboundMessageSchema=e.z.object({rawMessage:e.z.record(e.z.string(),e.z.unknown()),recipientInbox:t.InboxAddressSchema.optional(),to:r.optional(),content:e.z.string().optional(),type:r.optional(),priority:e.z.number().int().optional(),correlationId:e.z.string().optional(),metadata:e.z.record(e.z.string(),e.z.unknown()).optional()}).strict().superRefine((u,h)=>{if(!(!u.recipientInbox||u.to===void 0)){if(u.recipientInbox.kind==="client"){h.addIssue({code:e.z.ZodIssueCode.custom,message:'OutboundMessage.to is a compatibility alias for node recipients only; omit it for recipientInbox.kind === "client"',path:["to"]});return}u.recipientInbox.nodeId!==u.to&&h.addIssue({code:e.z.ZodIssueCode.custom,message:"OutboundMessage.recipientInbox.nodeId must match OutboundMessage.to when both are provided",path:["to"]})}}),n.RuntimeEventCursorSchema=e.z.object({afterRevision:e.z.number().int().nonnegative().optional()}).strict(),n.InboxCursorSchema=e.z.object({afterCreatedAt:e.z.number().int().nonnegative().optional()}).strict(),n.InboxListRequestSchema=e.z.object({cursor:n.InboxCursorSchema.optional(),limit:e.z.number().int().positive().max(1e3).optional(),unreadOnly:e.z.boolean().optional()}).strict(),n.PersistedInboxEventSchema=e.z.object({id:r,senderNodeId:t.NodeIdSchema,senderDisplayNameSnapshot:r.optional(),senderType:r.optional(),senderClientId:e.z.string().nullable().optional(),recipientClientId:e.z.string().nullable().optional(),inboxAddress:t.InboxAddressSchema,type:r,content:e.z.string(),priority:e.z.number().int(),createdAt:e.z.number().int().nonnegative(),correlationId:e.z.string().nullable().optional(),replyTo:e.z.string().nullable().optional()}).strict(),n.PeerViewEventSchema=e.z.object({nodeId:t.NodeIdSchema,transportPublicKey:t.PeerTransportIdSchema,displayNameSnapshot:r.optional(),identityState:o.PeerIdentityStateSchema,transportState:o.PeerTransportStateSchema,endpointRevision:t.EndpointRevisionSchema,updatedAt:e.z.string(),lastSeenAt:e.z.string().optional()}).strict(),n.NearbyPeerViewSchema=e.z.object({displayNameSnapshot:r,nodeId:t.NodeIdSchema,host:r,port:e.z.number().int().min(1).max(65535),principalFingerprint:t.PrincipalFingerprintSchema,version:r,tlsCaFingerprint:t.TlsCaFingerprintSchema.optional(),transport:e.z.enum(["lan","wan"]).optional(),status:e.z.enum(["discovered","connected"]).optional()}).strict(),n.RuntimeAutonomousLoopSafetyPolicySummarySchema=e.z.object({allowedToolCategories:e.z.array(r).optional(),allowedShellCommands:e.z.array(r).optional(),maxWriteOpsPerMinute:e.z.number().int().positive().optional(),maxGitPushesPerHour:e.z.number().int().positive().optional()}).strict(),n.RuntimeAutonomousLoopStatusSchema=e.z.object({status:e.z.enum(["running","stopped"]),intervalMs:e.z.number().int().positive().nullable(),lastWakeTickAt:e.z.string().nullable(),lastCheckpointResult:e.z.enum(["success","error","never"]),safetyPolicySummary:n.RuntimeAutonomousLoopSafetyPolicySummarySchema,ownerClientKind:r.nullable()}).strict();function O(){return{status:"stopped",intervalMs:null,lastWakeTickAt:null,lastCheckpointResult:"never",safetyPolicySummary:{},ownerClientKind:null}}n.RuntimeStatusSchema=e.z.object({nodeId:t.NodeIdSchema,runtimeId:t.RuntimeIdSchema,port:e.z.number().int().min(1).max(65535),attachedClients:e.z.number().int().nonnegative().optional(),autonomousLoop:n.RuntimeAutonomousLoopStatusSchema.optional().default(O())}).strict(),n.RuntimeAutonomousLoopCommandSchema=e.z.object({intervalMs:e.z.number().int().positive().optional(),safetyPolicy:n.RuntimeAutonomousLoopSafetyPolicySummarySchema.optional()}).strict(),n.PendingPairRequestViewSchema=e.z.object({id:r,nodeId:t.NodeIdSchema,displayNameSnapshot:r.optional(),principalFingerprint:t.PrincipalFingerprintSchema}).strict(),n.PendingInviteViewSchema=e.z.object({inviteId:r,inviteLabel:r.optional(),createdAt:r,expiresAt:r.nullable().optional()}).strict(),n.PairRequestDecisionSchema=e.z.object({requestId:r,accepted:e.z.boolean()}).strict(),n.PairRequestResponseSchema=e.z.object({accepted:e.z.boolean().optional(),inviteToken:e.z.string().optional(),error:e.z.string().optional()}).strict(),n.CreateInviteRequestSchema=e.z.object({inviteLabel:r.optional(),durationMs:e.z.number().int().min(0).optional()}).strict(),n.CreateInviteResponseSchema=e.z.object({inviteToken:r,pendingInvite:n.PendingInviteViewSchema}).strict(),n.InvitePeerRequestSchema=e.z.object({nodeId:t.NodeIdSchema,displayName:r,principalFingerprint:t.PrincipalFingerprintSchema.optional(),controlEndpoint:t.ControlEndpointAdvertisementSchema,transportEndpoint:t.TransportEndpointAdvertisementSchema.optional(),transport:e.z.enum(["lan","wan"]).optional()}).strict(),n.PairingProofStateSchema=e.z.enum(["pending_verification"]),n.InvitePeerResultSchema=e.z.discriminatedUnion("mode",[e.z.object({nodeId:t.NodeIdSchema,displayNameSnapshot:r.optional(),mode:e.z.literal("lan_direct"),pairingProofState:e.z.literal("pending_verification")}).strict(),e.z.object({nodeId:t.NodeIdSchema,displayNameSnapshot:r.optional(),mode:e.z.literal("wan_pair"),pairingProofState:e.z.literal("pending_verification")}).strict()]),n.AcceptInviteResponseSchema=e.z.object({success:e.z.boolean(),nodeId:t.NodeIdSchema,displayNameSnapshot:r.optional()}).strict(),n.AcceptInviteTokenRequestSchema=e.z.object({inviteToken:r}).strict(),n.AcceptInviteTokenResponseSchema=n.AcceptInviteResponseSchema,n.CancelInviteRequestSchema=e.z.object({inviteId:r}).strict(),n.CancelInviteResponseSchema=e.z.object({cancelled:e.z.boolean(),inviteId:r}).strict(),n.DirectPairRequestSchema=e.z.object({peerNodeId:t.NodeIdSchema,principalFingerprint:t.PrincipalFingerprintSchema,peerDisplayName:r.optional(),peerWgPubkey:t.PeerTransportIdSchema,peerSigningPubkey:r,transportEndpoint:t.TransportEndpointAdvertisementSchema,controlEndpoint:t.ControlEndpointAdvertisementSchema,psk:r}).strict(),n.DirectPairRequestJsonSchema=C(n.DirectPairRequestSchema),n.DirectPairResponseSchema=e.z.object({received:e.z.literal(!0),pairingProofState:e.z.literal("pending_verification")}).strict(),n.RevokePeerRequestSchema=e.z.object({nodeId:t.NodeIdSchema,envelope:e.z.record(e.z.string(),e.z.unknown()).optional()}).strict(),n.RevokePeerResponseSchema=e.z.object({revoked:e.z.boolean(),nodeId:t.NodeIdSchema,displayNameSnapshot:r.optional()}).strict(),n.RepairPeerRequestSchema=e.z.object({nodeId:t.NodeIdSchema,endpointHost:r,endpointPort:e.z.number().int().min(1).max(65535),endpointRevision:t.EndpointRevisionSchema}).strict(),n.RepairPeerResponseSchema=e.z.object({repaired:e.z.boolean(),nodeId:t.NodeIdSchema,endpointHost:r,endpointPort:e.z.number().int().min(1).max(65535),endpointRevision:t.EndpointRevisionSchema}).strict(),n.LocalControlClientKindSchema=e.z.enum(["tui","daemon-launcher","pipe","local-api"]),n.AttachedClientViewSchema=e.z.object({clientId:t.ClientIdSchema,clientKind:n.LocalControlClientKindSchema,displayLabel:r,self:e.z.boolean(),attachedAt:r,lastSeenAt:r}).strict(),n.AttachedClientLeaseGrantSchema=e.z.object({clientId:t.ClientIdSchema,clientAuthToken:r}).strict(),n.AttachedClientAuthSchema=n.AttachedClientLeaseGrantSchema,n.LocalControlSocketAttachClientRequestSchema=e.z.object({clientKind:n.LocalControlClientKindSchema,lease:e.z.boolean().optional(),pid:e.z.number().optional(),displayName:e.z.string().optional()}).strict(),n.LocalControlSocketAttachClientResponseSchema=n.AttachedClientLeaseGrantSchema,n.LocalControlSocketDetachClientRequestSchema=e.z.object({clientId:t.ClientIdSchema}).strict(),n.LocalControlSocketDetachClientResponseSchema=e.z.object({detached:e.z.boolean()}).strict(),n.LocalControlSocketMethodSchema=e.z.enum(["submitRun","resumeRun","streamRun","subscribeRuntimeEvents","sendBestEffort","sendDurable","listInbox","listDirectClientInbox","listPeers","listNearbyPeers","listAttachedClients","subscribeDirectClientInbox","getRuntimeStatus","startAutonomousLoop","stopAutonomousLoop","getRuntimeBootstrap","listPendingPairRequests","respondToPairRequest","createInvite","listPendingInvites","acceptInviteToken","cancelInvite","invitePeer","acceptInvite","directPair","revokePeer","repairPeer","attachClient","detachClient","watchInbox"]);var q=new Set(["listAttachedClients","listDirectClientInbox","subscribeDirectClientInbox"]);n.LocalControlSocketRequestSchema=e.z.object({id:r,method:n.LocalControlSocketMethodSchema,payload:e.z.unknown().optional(),auth:n.AttachedClientAuthSchema.optional()}).strict().superRefine((u,h)=>{q.has(u.method)&&u.auth===void 0&&h.addIssue({code:e.z.ZodIssueCode.custom,message:`Local control socket method ${u.method} requires attached-client auth`,path:["auth"]})}),n.LocalControlSocketSuccessResponseSchema=e.z.object({id:r,ok:e.z.literal(!0),payload:e.z.unknown().optional()}).strict(),n.LocalControlSocketErrorResponseSchema=e.z.object({id:r,ok:e.z.literal(!1),error:r,reason:e.z.string().optional(),diagnostic:n.RuntimeErrorDiagnosticSchema.optional()}).strict(),n.LocalControlSocketResponseSchema=e.z.discriminatedUnion("ok",[n.LocalControlSocketSuccessResponseSchema,n.LocalControlSocketErrorResponseSchema])}),Y=v(n=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.RuntimeBootstrapRecordSchema=n.RuntimeBootstrapIdentitySchema=n.RuntimeBootstrapTlsSchema=n.RuntimeBootstrapControlEndpointSchema=n.RuntimeBootstrapPhaseSchema=n.RuntimeBootstrapRevisionSchema=void 0;var e=require("zod"),t=k(),s=D(),c=e.z.string().trim().min(1),o=e.z.string().min(1).refine(r=>r.trim().length>0);n.RuntimeBootstrapRevisionSchema=e.z.number().int().nonnegative(),n.RuntimeBootstrapPhaseSchema=e.z.enum(["starting","tls_bound","control_ready","network_ready","mesh_ready","degraded","stopped"]),n.RuntimeBootstrapControlEndpointSchema=e.z.object({host:c,port:e.z.number().int().min(1).max(65535)}).strict(),n.RuntimeBootstrapTlsSchema=e.z.object({caFingerprint:t.TlsCaFingerprintSchema,caCertPem:o,principalIdentity:t.PrincipalFingerprintSchema,loopbackIdentity:t.LoopbackTlsIdentitySchema}).strict(),n.RuntimeBootstrapIdentitySchema=e.z.object({signingPublicKey:t.SigningPublicKeySchema,transportPublicKey:t.PeerTransportIdSchema,transportEndpoint:t.TransportEndpointAdvertisementSchema,displayNameSnapshot:c.optional()}).strict(),n.RuntimeBootstrapRecordSchema=e.z.object({nodeId:t.NodeIdSchema,runtimeId:t.RuntimeIdSchema,arionName:c.optional(),ownerGeneration:t.OwnerGenerationSchema,bootstrapRevision:n.RuntimeBootstrapRevisionSchema,phase:n.RuntimeBootstrapPhaseSchema,protocolVersion:s.NetworkRuntimeProtocolVersionSchema,controlEndpoint:n.RuntimeBootstrapControlEndpointSchema,displayNameSnapshot:c.optional(),signingPublicKey:t.SigningPublicKeySchema,transportPublicKey:t.PeerTransportIdSchema,transportEndpoint:t.TransportEndpointAdvertisementSchema,tls:n.RuntimeBootstrapTlsSchema,publishedAt:c,degradedReason:c.optional(),failedPhase:n.RuntimeBootstrapPhaseSchema.optional()}).strict()}),ee=v(n=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.canRecordPendingPair=e,n.canCommitVerifiedPair=t,n.canRefreshEndpoint=s,n.canHeartbeat=c,n.canAttemptBestEffortTransport=o,n.canAttemptDurableDelivery=r,n.canMutateTrustedState=R;function e(m){return m==="invited"||m==="joining"}function t(m,y){return m==="paired_unverified"&&y.proofValid}function s(m){return m==="joining"||m==="paired_unverified"||m==="verified"}function c(m){return m==="paired_unverified"||m==="verified"}function o(m,y){return m==="revoked"?!1:y==="endpoint_known"||y==="connecting"||y==="connected"||y==="degraded"}function r(m,y){return m==="verified"&&y==="connected"}function R(m){return m==="verified"}}),ne=v(n=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.isLoopbackDirectEndpointHost=t,n.canonicalizeAuthoritativeDirectEndpoint=s;function e(c){return c.trim().toLowerCase()}function t(c){let o=e(c);return o==="localhost"||o==="::1"||o==="[::1]"||o.endsWith(".localhost")||/^127\./.test(o)}function s(c){let o=c.endpointHost?.trim(),r=c.endpointPort;return!o||typeof r!="number"||!Number.isFinite(r)?{}:t(o)?{}:{endpointHost:o,endpointPort:r}}}),te=v(n=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.StaleOwnerError=void 0,n.ensureOwnerEpochTable=t,n.claimDbOwnerEpoch=s,n.assertDbOwnership=c;var e=class extends Error{kind="StaleOwnerError";claimedGeneration;currentGeneration;constructor(o,r){super(`StaleOwnerError: runtime claims generation ${o} but store is at generation ${r}. This runtime has been superseded and must shut down immediately.`),this.name="StaleOwnerError",this.claimedGeneration=o,this.currentGeneration=r}};n.StaleOwnerError=e;function t(o){o.exec(`
|
|
2
|
+
CREATE TABLE IF NOT EXISTS owner_epoch (
|
|
3
|
+
scope TEXT PRIMARY KEY DEFAULT 'runtime',
|
|
4
|
+
owner_generation INTEGER NOT NULL
|
|
5
|
+
)
|
|
6
|
+
`)}function s(o,r){if(t(o),o.prepare(`INSERT INTO owner_epoch (scope, owner_generation) VALUES ('runtime', ?)
|
|
7
|
+
ON CONFLICT(scope) DO UPDATE SET owner_generation = excluded.owner_generation
|
|
8
|
+
WHERE excluded.owner_generation > owner_epoch.owner_generation`).run(r).changes===0){let R=o.prepare("SELECT owner_generation FROM owner_epoch WHERE scope = 'runtime'").get()?.owner_generation??0;if(R>r)throw new e(r,R)}}function c(o,r){let R=o.prepare("SELECT owner_generation FROM owner_epoch WHERE scope = 'runtime'").get()?.owner_generation??0;if(R>r)throw new e(r,R)}});Object.defineProperty(exports,"__esModule",{value:!0});exports.RunResultSchema=exports.RunRequestSchema=exports.RelayPendingResponseSchema=exports.RelayPendingRequestSchema=exports.RelayPendingQueryJsonSchema=exports.RelayPendingQuerySchema=exports.PairRelayRouteBodyJsonSchema=exports.PairRelayRouteBodySchema=exports.AcceptInviteRequestBodyJsonSchema=exports.AcceptInviteRequestSchema=exports.PairRequestRouteBodyJsonSchema=exports.PairRequestRouteBodySchema=exports.NodePrincipalBindingRefSchema=exports.LocalRuntimeSummarySchema=exports.NodeAdvertisementSchema=exports.ControlEndpointAdvertisementSchema=exports.InboxAddressSchema=exports.TransportEndpointAdvertisementSchema=exports.LoopbackTlsIdentitySchema=exports.TlsCaFingerprintSchema=exports.SigningPublicKeySchema=exports.PeerTransportIdSchema=exports.PrincipalFingerprintSchema=exports.ClientIdSchema=exports.DurableSubmitResultSchema=exports.DurableDeliveryResultSchema=exports.DurableDeliveryHandleSchema=exports.DeliveryLifecycleRevisionSchema=exports.OwnerGenerationSchema=exports.RevocationDecisionSchema=exports.RevocationOperatorConfirmationSchema=exports.RevocationGenerationSchema=exports.BindingGenerationSchema=exports.EndpointRevisionSchema=exports.PublicationRevisionSchema=exports.RuntimeIdSchema=exports.NodeMetadataSchema=exports.NodeIdSchema=exports.createSentDeliveryReceipt=exports.createDispatchingDeliveryReceipt=exports.createQueuedForRouteReceipt=exports.createAckedDeliveryReceipt=exports.canonicalizeOutboxReceiptStatus=exports.canonicalizeDeliveryReceipt=exports.OutboxReceiptStatusSchema=exports.QueuedReasonSchema=exports.DeliveryReadinessSchema=exports.SessionStateSchema=exports.DeliveryStateSchema=exports.RuntimeTransportSchema=void 0;exports.LocalControlSocketErrorResponseSchema=exports.LocalControlSocketSuccessResponseSchema=exports.LocalControlSocketRequestSchema=exports.LocalControlSocketMethodSchema=exports.LocalControlSocketDetachClientResponseSchema=exports.LocalControlSocketDetachClientRequestSchema=exports.LocalControlSocketAttachClientResponseSchema=exports.LocalControlSocketAttachClientRequestSchema=exports.LocalControlClientKindSchema=exports.RepairPeerResponseSchema=exports.RepairPeerRequestSchema=exports.RevokePeerResponseSchema=exports.RevokePeerRequestSchema=exports.DirectPairResponseSchema=exports.DirectPairRequestJsonSchema=exports.DirectPairRequestSchema=exports.CancelInviteResponseSchema=exports.CancelInviteRequestSchema=exports.AcceptInviteTokenResponseSchema=exports.AcceptInviteTokenRequestSchema=exports.AcceptInviteResponseSchema=exports.InvitePeerResultSchema=exports.InvitePeerRequestSchema=exports.CreateInviteResponseSchema=exports.CreateInviteRequestSchema=exports.PairRequestResponseSchema=exports.PairRequestDecisionSchema=exports.PendingInviteViewSchema=exports.PendingPairRequestViewSchema=exports.RuntimeStatusSchema=exports.RuntimeAutonomousLoopCommandSchema=exports.RuntimeAutonomousLoopStatusSchema=exports.RuntimeAutonomousLoopSafetyPolicySummarySchema=exports.NearbyPeerViewSchema=exports.PeerViewEventSchema=exports.PersistedInboxEventSchema=exports.AttachedClientAuthSchema=exports.AttachedClientLeaseGrantSchema=exports.AttachedClientViewSchema=exports.InboxListRequestSchema=exports.InboxCursorSchema=exports.RuntimeEventCursorSchema=exports.OutboundMessageSchema=exports.RuntimeDeliveryReceiptSchema=exports.RuntimeQueuedReceiptSchema=exports.RuntimeRunEventSchema=exports.ResumeRunRequestSchema=exports.resolveTrustedRuntimeErrorMessage=exports.createTrustedRuntimeError=exports.RuntimeErrorDiagnosticSchema=void 0;exports.isLoopbackDirectEndpointHost=exports.canonicalizeAuthoritativeDirectEndpoint=exports.canMutateTrustedState=exports.canAttemptDurableDelivery=exports.canAttemptBestEffortTransport=exports.canHeartbeat=exports.canRefreshEndpoint=exports.canCommitVerifiedPair=exports.canRecordPendingPair=exports.comparePeerMutationPrecedence=exports.isValidPeerTransportTransition=exports.isValidPeerIdentityTransition=exports.isValidPeerStateCombination=exports.derivePeerStateFromLegacyStatus=exports.PeerStateSnapshotSchema=exports.LegacyPeerRuntimeShapeSchema=exports.PeerMutationKindSchema=exports.PeerTransportStateSchema=exports.PeerIdentityStateSchema=exports.LegacyPeerRegistryStatusSchema=exports.assertSupportedNetworkRuntimeProtocolVersion=exports.isSupportedNetworkRuntimeProtocolVersion=exports.NetworkRouteRevokeRequestJsonSchema=exports.NetworkRouteRevokeRequestSchema=exports.MutationEnvelopeSchema=exports.MutationOperationSchema=exports.SignedContinuityBindSchema=exports.ContinuityStatementSchema=exports.PairProposalSchema=exports.RuntimeRegisterRequestSchema=exports.RuntimeDiscoveryAdvertisementSchema=exports.RuntimeNodeAdvertisementSchema=exports.RuntimeIngressEnvelopeSchema=exports.JoinRouteBodyJsonSchema=exports.JoinRouteBodySchema=exports.JoinRequestSchema=exports.TransportInviteTokenSchema=exports.DeliveryAckSchema=exports.NetworkRuntimeProtocolVersionSchema=exports.NETWORK_RUNTIME_PROTOCOL_VERSION=exports.RuntimeBootstrapRecordSchema=exports.RuntimeBootstrapIdentitySchema=exports.RuntimeBootstrapTlsSchema=exports.RuntimeBootstrapControlEndpointSchema=exports.RuntimeBootstrapPhaseSchema=exports.RuntimeBootstrapRevisionSchema=exports.RuntimeEventSchema=exports.RuntimeEventKindSchema=exports.RuntimeOwnerRecordSchema=exports.LocalControlSocketResponseSchema=void 0;exports.assertDbOwnership=exports.claimDbOwnerEpoch=exports.ensureOwnerEpochTable=exports.StaleOwnerError=void 0;var P=M();Object.defineProperty(exports,"RuntimeTransportSchema",{enumerable:!0,get:function(){return P.RuntimeTransportSchema}});Object.defineProperty(exports,"DeliveryStateSchema",{enumerable:!0,get:function(){return P.DeliveryStateSchema}});Object.defineProperty(exports,"SessionStateSchema",{enumerable:!0,get:function(){return P.SessionStateSchema}});Object.defineProperty(exports,"DeliveryReadinessSchema",{enumerable:!0,get:function(){return P.DeliveryReadinessSchema}});Object.defineProperty(exports,"QueuedReasonSchema",{enumerable:!0,get:function(){return P.QueuedReasonSchema}});Object.defineProperty(exports,"OutboxReceiptStatusSchema",{enumerable:!0,get:function(){return P.OutboxReceiptStatusSchema}});Object.defineProperty(exports,"canonicalizeDeliveryReceipt",{enumerable:!0,get:function(){return P.canonicalizeDeliveryReceipt}});Object.defineProperty(exports,"canonicalizeOutboxReceiptStatus",{enumerable:!0,get:function(){return P.canonicalizeOutboxReceiptStatus}});Object.defineProperty(exports,"createAckedDeliveryReceipt",{enumerable:!0,get:function(){return P.createAckedDeliveryReceipt}});Object.defineProperty(exports,"createQueuedForRouteReceipt",{enumerable:!0,get:function(){return P.createQueuedForRouteReceipt}});Object.defineProperty(exports,"createDispatchingDeliveryReceipt",{enumerable:!0,get:function(){return P.createDispatchingDeliveryReceipt}});Object.defineProperty(exports,"createSentDeliveryReceipt",{enumerable:!0,get:function(){return P.createSentDeliveryReceipt}});var S=k();Object.defineProperty(exports,"NodeIdSchema",{enumerable:!0,get:function(){return S.NodeIdSchema}});Object.defineProperty(exports,"NodeMetadataSchema",{enumerable:!0,get:function(){return S.NodeMetadataSchema}});Object.defineProperty(exports,"RuntimeIdSchema",{enumerable:!0,get:function(){return S.RuntimeIdSchema}});Object.defineProperty(exports,"PublicationRevisionSchema",{enumerable:!0,get:function(){return S.PublicationRevisionSchema}});Object.defineProperty(exports,"EndpointRevisionSchema",{enumerable:!0,get:function(){return S.EndpointRevisionSchema}});Object.defineProperty(exports,"BindingGenerationSchema",{enumerable:!0,get:function(){return S.BindingGenerationSchema}});Object.defineProperty(exports,"RevocationGenerationSchema",{enumerable:!0,get:function(){return S.RevocationGenerationSchema}});Object.defineProperty(exports,"RevocationOperatorConfirmationSchema",{enumerable:!0,get:function(){return S.RevocationOperatorConfirmationSchema}});Object.defineProperty(exports,"RevocationDecisionSchema",{enumerable:!0,get:function(){return S.RevocationDecisionSchema}});Object.defineProperty(exports,"OwnerGenerationSchema",{enumerable:!0,get:function(){return S.OwnerGenerationSchema}});Object.defineProperty(exports,"DeliveryLifecycleRevisionSchema",{enumerable:!0,get:function(){return S.DeliveryLifecycleRevisionSchema}});Object.defineProperty(exports,"DurableDeliveryHandleSchema",{enumerable:!0,get:function(){return S.DurableDeliveryHandleSchema}});Object.defineProperty(exports,"DurableDeliveryResultSchema",{enumerable:!0,get:function(){return S.DurableDeliveryResultSchema}});Object.defineProperty(exports,"DurableSubmitResultSchema",{enumerable:!0,get:function(){return S.DurableSubmitResultSchema}});Object.defineProperty(exports,"ClientIdSchema",{enumerable:!0,get:function(){return S.ClientIdSchema}});Object.defineProperty(exports,"PrincipalFingerprintSchema",{enumerable:!0,get:function(){return S.PrincipalFingerprintSchema}});Object.defineProperty(exports,"PeerTransportIdSchema",{enumerable:!0,get:function(){return S.PeerTransportIdSchema}});Object.defineProperty(exports,"SigningPublicKeySchema",{enumerable:!0,get:function(){return S.SigningPublicKeySchema}});Object.defineProperty(exports,"TlsCaFingerprintSchema",{enumerable:!0,get:function(){return S.TlsCaFingerprintSchema}});Object.defineProperty(exports,"LoopbackTlsIdentitySchema",{enumerable:!0,get:function(){return S.LoopbackTlsIdentitySchema}});Object.defineProperty(exports,"TransportEndpointAdvertisementSchema",{enumerable:!0,get:function(){return S.TransportEndpointAdvertisementSchema}});Object.defineProperty(exports,"InboxAddressSchema",{enumerable:!0,get:function(){return S.InboxAddressSchema}});Object.defineProperty(exports,"ControlEndpointAdvertisementSchema",{enumerable:!0,get:function(){return S.ControlEndpointAdvertisementSchema}});Object.defineProperty(exports,"NodeAdvertisementSchema",{enumerable:!0,get:function(){return S.NodeAdvertisementSchema}});Object.defineProperty(exports,"LocalRuntimeSummarySchema",{enumerable:!0,get:function(){return S.LocalRuntimeSummarySchema}});var re=K();Object.defineProperty(exports,"NodePrincipalBindingRefSchema",{enumerable:!0,get:function(){return re.NodePrincipalBindingRefSchema}});var j=J();Object.defineProperty(exports,"PairRequestRouteBodySchema",{enumerable:!0,get:function(){return j.PairRequestRouteBodySchema}});Object.defineProperty(exports,"PairRequestRouteBodyJsonSchema",{enumerable:!0,get:function(){return j.PairRequestRouteBodyJsonSchema}});Object.defineProperty(exports,"AcceptInviteRequestSchema",{enumerable:!0,get:function(){return j.AcceptInviteRequestSchema}});Object.defineProperty(exports,"AcceptInviteRequestBodyJsonSchema",{enumerable:!0,get:function(){return j.AcceptInviteRequestBodyJsonSchema}});Object.defineProperty(exports,"PairRelayRouteBodySchema",{enumerable:!0,get:function(){return j.PairRelayRouteBodySchema}});Object.defineProperty(exports,"PairRelayRouteBodyJsonSchema",{enumerable:!0,get:function(){return j.PairRelayRouteBodyJsonSchema}});Object.defineProperty(exports,"RelayPendingQuerySchema",{enumerable:!0,get:function(){return j.RelayPendingQuerySchema}});Object.defineProperty(exports,"RelayPendingQueryJsonSchema",{enumerable:!0,get:function(){return j.RelayPendingQueryJsonSchema}});Object.defineProperty(exports,"RelayPendingRequestSchema",{enumerable:!0,get:function(){return j.RelayPendingRequestSchema}});Object.defineProperty(exports,"RelayPendingResponseSchema",{enumerable:!0,get:function(){return j.RelayPendingResponseSchema}});var a=X();Object.defineProperty(exports,"RunRequestSchema",{enumerable:!0,get:function(){return a.RunRequestSchema}});Object.defineProperty(exports,"RunResultSchema",{enumerable:!0,get:function(){return a.RunResultSchema}});Object.defineProperty(exports,"RuntimeErrorDiagnosticSchema",{enumerable:!0,get:function(){return a.RuntimeErrorDiagnosticSchema}});Object.defineProperty(exports,"createTrustedRuntimeError",{enumerable:!0,get:function(){return a.createTrustedRuntimeError}});Object.defineProperty(exports,"resolveTrustedRuntimeErrorMessage",{enumerable:!0,get:function(){return a.resolveTrustedRuntimeErrorMessage}});Object.defineProperty(exports,"ResumeRunRequestSchema",{enumerable:!0,get:function(){return a.ResumeRunRequestSchema}});Object.defineProperty(exports,"RuntimeRunEventSchema",{enumerable:!0,get:function(){return a.RuntimeRunEventSchema}});Object.defineProperty(exports,"RuntimeQueuedReceiptSchema",{enumerable:!0,get:function(){return a.RuntimeQueuedReceiptSchema}});Object.defineProperty(exports,"RuntimeDeliveryReceiptSchema",{enumerable:!0,get:function(){return a.RuntimeDeliveryReceiptSchema}});Object.defineProperty(exports,"OutboundMessageSchema",{enumerable:!0,get:function(){return a.OutboundMessageSchema}});Object.defineProperty(exports,"RuntimeEventCursorSchema",{enumerable:!0,get:function(){return a.RuntimeEventCursorSchema}});Object.defineProperty(exports,"InboxCursorSchema",{enumerable:!0,get:function(){return a.InboxCursorSchema}});Object.defineProperty(exports,"InboxListRequestSchema",{enumerable:!0,get:function(){return a.InboxListRequestSchema}});Object.defineProperty(exports,"AttachedClientViewSchema",{enumerable:!0,get:function(){return a.AttachedClientViewSchema}});Object.defineProperty(exports,"AttachedClientLeaseGrantSchema",{enumerable:!0,get:function(){return a.AttachedClientLeaseGrantSchema}});Object.defineProperty(exports,"AttachedClientAuthSchema",{enumerable:!0,get:function(){return a.AttachedClientAuthSchema}});Object.defineProperty(exports,"PersistedInboxEventSchema",{enumerable:!0,get:function(){return a.PersistedInboxEventSchema}});Object.defineProperty(exports,"PeerViewEventSchema",{enumerable:!0,get:function(){return a.PeerViewEventSchema}});Object.defineProperty(exports,"NearbyPeerViewSchema",{enumerable:!0,get:function(){return a.NearbyPeerViewSchema}});Object.defineProperty(exports,"RuntimeAutonomousLoopSafetyPolicySummarySchema",{enumerable:!0,get:function(){return a.RuntimeAutonomousLoopSafetyPolicySummarySchema}});Object.defineProperty(exports,"RuntimeAutonomousLoopStatusSchema",{enumerable:!0,get:function(){return a.RuntimeAutonomousLoopStatusSchema}});Object.defineProperty(exports,"RuntimeAutonomousLoopCommandSchema",{enumerable:!0,get:function(){return a.RuntimeAutonomousLoopCommandSchema}});Object.defineProperty(exports,"RuntimeStatusSchema",{enumerable:!0,get:function(){return a.RuntimeStatusSchema}});Object.defineProperty(exports,"PendingPairRequestViewSchema",{enumerable:!0,get:function(){return a.PendingPairRequestViewSchema}});Object.defineProperty(exports,"PendingInviteViewSchema",{enumerable:!0,get:function(){return a.PendingInviteViewSchema}});Object.defineProperty(exports,"PairRequestDecisionSchema",{enumerable:!0,get:function(){return a.PairRequestDecisionSchema}});Object.defineProperty(exports,"PairRequestResponseSchema",{enumerable:!0,get:function(){return a.PairRequestResponseSchema}});Object.defineProperty(exports,"CreateInviteRequestSchema",{enumerable:!0,get:function(){return a.CreateInviteRequestSchema}});Object.defineProperty(exports,"CreateInviteResponseSchema",{enumerable:!0,get:function(){return a.CreateInviteResponseSchema}});Object.defineProperty(exports,"InvitePeerRequestSchema",{enumerable:!0,get:function(){return a.InvitePeerRequestSchema}});Object.defineProperty(exports,"InvitePeerResultSchema",{enumerable:!0,get:function(){return a.InvitePeerResultSchema}});Object.defineProperty(exports,"AcceptInviteResponseSchema",{enumerable:!0,get:function(){return a.AcceptInviteResponseSchema}});Object.defineProperty(exports,"AcceptInviteTokenRequestSchema",{enumerable:!0,get:function(){return a.AcceptInviteTokenRequestSchema}});Object.defineProperty(exports,"AcceptInviteTokenResponseSchema",{enumerable:!0,get:function(){return a.AcceptInviteTokenResponseSchema}});Object.defineProperty(exports,"CancelInviteRequestSchema",{enumerable:!0,get:function(){return a.CancelInviteRequestSchema}});Object.defineProperty(exports,"CancelInviteResponseSchema",{enumerable:!0,get:function(){return a.CancelInviteResponseSchema}});Object.defineProperty(exports,"DirectPairRequestSchema",{enumerable:!0,get:function(){return a.DirectPairRequestSchema}});Object.defineProperty(exports,"DirectPairRequestJsonSchema",{enumerable:!0,get:function(){return a.DirectPairRequestJsonSchema}});Object.defineProperty(exports,"DirectPairResponseSchema",{enumerable:!0,get:function(){return a.DirectPairResponseSchema}});Object.defineProperty(exports,"RevokePeerRequestSchema",{enumerable:!0,get:function(){return a.RevokePeerRequestSchema}});Object.defineProperty(exports,"RevokePeerResponseSchema",{enumerable:!0,get:function(){return a.RevokePeerResponseSchema}});Object.defineProperty(exports,"RepairPeerRequestSchema",{enumerable:!0,get:function(){return a.RepairPeerRequestSchema}});Object.defineProperty(exports,"RepairPeerResponseSchema",{enumerable:!0,get:function(){return a.RepairPeerResponseSchema}});Object.defineProperty(exports,"LocalControlClientKindSchema",{enumerable:!0,get:function(){return a.LocalControlClientKindSchema}});Object.defineProperty(exports,"LocalControlSocketAttachClientRequestSchema",{enumerable:!0,get:function(){return a.LocalControlSocketAttachClientRequestSchema}});Object.defineProperty(exports,"LocalControlSocketAttachClientResponseSchema",{enumerable:!0,get:function(){return a.LocalControlSocketAttachClientResponseSchema}});Object.defineProperty(exports,"LocalControlSocketDetachClientRequestSchema",{enumerable:!0,get:function(){return a.LocalControlSocketDetachClientRequestSchema}});Object.defineProperty(exports,"LocalControlSocketDetachClientResponseSchema",{enumerable:!0,get:function(){return a.LocalControlSocketDetachClientResponseSchema}});Object.defineProperty(exports,"LocalControlSocketMethodSchema",{enumerable:!0,get:function(){return a.LocalControlSocketMethodSchema}});Object.defineProperty(exports,"LocalControlSocketRequestSchema",{enumerable:!0,get:function(){return a.LocalControlSocketRequestSchema}});Object.defineProperty(exports,"LocalControlSocketSuccessResponseSchema",{enumerable:!0,get:function(){return a.LocalControlSocketSuccessResponseSchema}});Object.defineProperty(exports,"LocalControlSocketErrorResponseSchema",{enumerable:!0,get:function(){return a.LocalControlSocketErrorResponseSchema}});Object.defineProperty(exports,"LocalControlSocketResponseSchema",{enumerable:!0,get:function(){return a.LocalControlSocketResponseSchema}});var L=F();Object.defineProperty(exports,"RuntimeOwnerRecordSchema",{enumerable:!0,get:function(){return L.RuntimeOwnerRecordSchema}});Object.defineProperty(exports,"RuntimeEventKindSchema",{enumerable:!0,get:function(){return L.RuntimeEventKindSchema}});Object.defineProperty(exports,"RuntimeEventSchema",{enumerable:!0,get:function(){return L.RuntimeEventSchema}});var A=Y();Object.defineProperty(exports,"RuntimeBootstrapRevisionSchema",{enumerable:!0,get:function(){return A.RuntimeBootstrapRevisionSchema}});Object.defineProperty(exports,"RuntimeBootstrapPhaseSchema",{enumerable:!0,get:function(){return A.RuntimeBootstrapPhaseSchema}});Object.defineProperty(exports,"RuntimeBootstrapControlEndpointSchema",{enumerable:!0,get:function(){return A.RuntimeBootstrapControlEndpointSchema}});Object.defineProperty(exports,"RuntimeBootstrapTlsSchema",{enumerable:!0,get:function(){return A.RuntimeBootstrapTlsSchema}});Object.defineProperty(exports,"RuntimeBootstrapIdentitySchema",{enumerable:!0,get:function(){return A.RuntimeBootstrapIdentitySchema}});Object.defineProperty(exports,"RuntimeBootstrapRecordSchema",{enumerable:!0,get:function(){return A.RuntimeBootstrapRecordSchema}});var b=D();Object.defineProperty(exports,"NETWORK_RUNTIME_PROTOCOL_VERSION",{enumerable:!0,get:function(){return b.NETWORK_RUNTIME_PROTOCOL_VERSION}});Object.defineProperty(exports,"NetworkRuntimeProtocolVersionSchema",{enumerable:!0,get:function(){return b.NetworkRuntimeProtocolVersionSchema}});Object.defineProperty(exports,"DeliveryAckSchema",{enumerable:!0,get:function(){return b.DeliveryAckSchema}});Object.defineProperty(exports,"TransportInviteTokenSchema",{enumerable:!0,get:function(){return b.TransportInviteTokenSchema}});Object.defineProperty(exports,"JoinRequestSchema",{enumerable:!0,get:function(){return b.JoinRequestSchema}});Object.defineProperty(exports,"JoinRouteBodySchema",{enumerable:!0,get:function(){return b.JoinRouteBodySchema}});Object.defineProperty(exports,"JoinRouteBodyJsonSchema",{enumerable:!0,get:function(){return b.JoinRouteBodyJsonSchema}});Object.defineProperty(exports,"RuntimeIngressEnvelopeSchema",{enumerable:!0,get:function(){return b.RuntimeIngressEnvelopeSchema}});Object.defineProperty(exports,"RuntimeNodeAdvertisementSchema",{enumerable:!0,get:function(){return b.RuntimeNodeAdvertisementSchema}});Object.defineProperty(exports,"RuntimeDiscoveryAdvertisementSchema",{enumerable:!0,get:function(){return b.RuntimeDiscoveryAdvertisementSchema}});Object.defineProperty(exports,"RuntimeRegisterRequestSchema",{enumerable:!0,get:function(){return b.RuntimeRegisterRequestSchema}});Object.defineProperty(exports,"PairProposalSchema",{enumerable:!0,get:function(){return b.PairProposalSchema}});Object.defineProperty(exports,"ContinuityStatementSchema",{enumerable:!0,get:function(){return b.ContinuityStatementSchema}});Object.defineProperty(exports,"SignedContinuityBindSchema",{enumerable:!0,get:function(){return b.SignedContinuityBindSchema}});Object.defineProperty(exports,"MutationOperationSchema",{enumerable:!0,get:function(){return b.MutationOperationSchema}});Object.defineProperty(exports,"MutationEnvelopeSchema",{enumerable:!0,get:function(){return b.MutationEnvelopeSchema}});Object.defineProperty(exports,"NetworkRouteRevokeRequestSchema",{enumerable:!0,get:function(){return b.NetworkRouteRevokeRequestSchema}});Object.defineProperty(exports,"NetworkRouteRevokeRequestJsonSchema",{enumerable:!0,get:function(){return b.NetworkRouteRevokeRequestJsonSchema}});Object.defineProperty(exports,"isSupportedNetworkRuntimeProtocolVersion",{enumerable:!0,get:function(){return b.isSupportedNetworkRuntimeProtocolVersion}});Object.defineProperty(exports,"assertSupportedNetworkRuntimeProtocolVersion",{enumerable:!0,get:function(){return b.assertSupportedNetworkRuntimeProtocolVersion}});var z=G();Object.defineProperty(exports,"LegacyPeerRegistryStatusSchema",{enumerable:!0,get:function(){return z.LegacyPeerRegistryStatusSchema}});Object.defineProperty(exports,"PeerIdentityStateSchema",{enumerable:!0,get:function(){return z.PeerIdentityStateSchema}});Object.defineProperty(exports,"PeerTransportStateSchema",{enumerable:!0,get:function(){return z.PeerTransportStateSchema}});Object.defineProperty(exports,"PeerMutationKindSchema",{enumerable:!0,get:function(){return z.PeerMutationKindSchema}});Object.defineProperty(exports,"LegacyPeerRuntimeShapeSchema",{enumerable:!0,get:function(){return z.LegacyPeerRuntimeShapeSchema}});Object.defineProperty(exports,"PeerStateSnapshotSchema",{enumerable:!0,get:function(){return z.PeerStateSnapshotSchema}});Object.defineProperty(exports,"derivePeerStateFromLegacyStatus",{enumerable:!0,get:function(){return z.derivePeerStateFromLegacyStatus}});Object.defineProperty(exports,"isValidPeerStateCombination",{enumerable:!0,get:function(){return z.isValidPeerStateCombination}});Object.defineProperty(exports,"isValidPeerIdentityTransition",{enumerable:!0,get:function(){return z.isValidPeerIdentityTransition}});Object.defineProperty(exports,"isValidPeerTransportTransition",{enumerable:!0,get:function(){return z.isValidPeerTransportTransition}});Object.defineProperty(exports,"comparePeerMutationPrecedence",{enumerable:!0,get:function(){return z.comparePeerMutationPrecedence}});var E=ee();Object.defineProperty(exports,"canRecordPendingPair",{enumerable:!0,get:function(){return E.canRecordPendingPair}});Object.defineProperty(exports,"canCommitVerifiedPair",{enumerable:!0,get:function(){return E.canCommitVerifiedPair}});Object.defineProperty(exports,"canRefreshEndpoint",{enumerable:!0,get:function(){return E.canRefreshEndpoint}});Object.defineProperty(exports,"canHeartbeat",{enumerable:!0,get:function(){return E.canHeartbeat}});Object.defineProperty(exports,"canAttemptBestEffortTransport",{enumerable:!0,get:function(){return E.canAttemptBestEffortTransport}});Object.defineProperty(exports,"canAttemptDurableDelivery",{enumerable:!0,get:function(){return E.canAttemptDurableDelivery}});Object.defineProperty(exports,"canMutateTrustedState",{enumerable:!0,get:function(){return E.canMutateTrustedState}});var H=ne();Object.defineProperty(exports,"canonicalizeAuthoritativeDirectEndpoint",{enumerable:!0,get:function(){return H.canonicalizeAuthoritativeDirectEndpoint}});Object.defineProperty(exports,"isLoopbackDirectEndpointHost",{enumerable:!0,get:function(){return H.isLoopbackDirectEndpointHost}});var T=te();Object.defineProperty(exports,"StaleOwnerError",{enumerable:!0,get:function(){return T.StaleOwnerError}});Object.defineProperty(exports,"ensureOwnerEpochTable",{enumerable:!0,get:function(){return T.ensureOwnerEpochTable}});Object.defineProperty(exports,"claimDbOwnerEpoch",{enumerable:!0,get:function(){return T.claimDbOwnerEpoch}});Object.defineProperty(exports,"assertDbOwnership",{enumerable:!0,get:function(){return T.assertDbOwnership}});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aria-cli/tools",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
"vscode-languageserver-protocol": "^3.17.5",
|
|
32
32
|
"zod": "^4.3.6",
|
|
33
33
|
"zod-to-json-schema": "^3.25.1",
|
|
34
|
-
"@aria-cli/fastripgrep": "1.0.
|
|
34
|
+
"@aria-cli/fastripgrep": "1.0.14",
|
|
35
35
|
"@aria-cli/search": "0.1.0",
|
|
36
|
-
"@aria-cli/types": "1.0.
|
|
36
|
+
"@aria-cli/types": "1.0.14"
|
|
37
37
|
},
|
|
38
38
|
"optionalDependencies": {
|
|
39
|
-
"@aria-cli/cli": "1.0.
|
|
39
|
+
"@aria-cli/cli": "1.0.14"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@types/jsdom": "^28.0.0",
|
|
@@ -44,11 +44,13 @@
|
|
|
44
44
|
"@types/turndown": "^5.0.6",
|
|
45
45
|
"typescript": "^5.9.3",
|
|
46
46
|
"vitest": "^4.0.18",
|
|
47
|
-
"@aria-cli/memoria": "1.0.
|
|
47
|
+
"@aria-cli/memoria": "1.0.14"
|
|
48
48
|
},
|
|
49
49
|
"files": [
|
|
50
50
|
"dist/",
|
|
51
|
-
"dist-cjs/"
|
|
51
|
+
"dist-cjs/",
|
|
52
|
+
"!**/*.map",
|
|
53
|
+
"!**/*.tsbuildinfo"
|
|
52
54
|
],
|
|
53
55
|
"scripts": {
|
|
54
56
|
"dev": "tsc --watch",
|