@vibesdotdev/kernel-rpc 0.0.0-stage → 1.0.0-rc.2
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/LICENSE +18 -0
- package/README.md +237 -2
- package/dist/cli/daemon/control/runtime.daemon.restart.descriptor.d.ts +9 -0
- package/dist/cli/daemon/control/runtime.daemon.restart.descriptor.d.ts.map +1 -0
- package/dist/cli/daemon/control/runtime.daemon.restart.descriptor.js +25 -0
- package/dist/cli/daemon/control/runtime.daemon.restart.descriptor.js.map +1 -0
- package/dist/cli/daemon/control/runtime.daemon.restart.impl.consumer.d.ts +13 -0
- package/dist/cli/daemon/control/runtime.daemon.restart.impl.consumer.d.ts.map +1 -0
- package/dist/cli/daemon/control/runtime.daemon.restart.impl.consumer.js +36 -0
- package/dist/cli/daemon/control/runtime.daemon.restart.impl.consumer.js.map +1 -0
- package/dist/cli/daemon/control/runtime.daemon.start.descriptor.d.ts +9 -0
- package/dist/cli/daemon/control/runtime.daemon.start.descriptor.d.ts.map +1 -0
- package/dist/cli/daemon/control/runtime.daemon.start.descriptor.js +22 -0
- package/dist/cli/daemon/control/runtime.daemon.start.descriptor.js.map +1 -0
- package/dist/cli/daemon/control/runtime.daemon.start.impl.consumer.d.ts +13 -0
- package/dist/cli/daemon/control/runtime.daemon.start.impl.consumer.d.ts.map +1 -0
- package/dist/cli/daemon/control/runtime.daemon.start.impl.consumer.js +61 -0
- package/dist/cli/daemon/control/runtime.daemon.start.impl.consumer.js.map +1 -0
- package/dist/cli/daemon/control/runtime.daemon.stop.descriptor.d.ts +9 -0
- package/dist/cli/daemon/control/runtime.daemon.stop.descriptor.d.ts.map +1 -0
- package/dist/cli/daemon/control/runtime.daemon.stop.descriptor.js +24 -0
- package/dist/cli/daemon/control/runtime.daemon.stop.descriptor.js.map +1 -0
- package/dist/cli/daemon/control/runtime.daemon.stop.impl.consumer.d.ts +14 -0
- package/dist/cli/daemon/control/runtime.daemon.stop.impl.consumer.d.ts.map +1 -0
- package/dist/cli/daemon/control/runtime.daemon.stop.impl.consumer.js +41 -0
- package/dist/cli/daemon/control/runtime.daemon.stop.impl.consumer.js.map +1 -0
- package/dist/cli/daemon/runtime.daemon.cli-group.descriptor.d.ts +9 -0
- package/dist/cli/daemon/runtime.daemon.cli-group.descriptor.d.ts.map +1 -0
- package/dist/cli/daemon/runtime.daemon.cli-group.descriptor.js +17 -0
- package/dist/cli/daemon/runtime.daemon.cli-group.descriptor.js.map +1 -0
- package/dist/cli/daemon/runtime.daemon.serve.descriptor.d.ts +10 -0
- package/dist/cli/daemon/runtime.daemon.serve.descriptor.d.ts.map +1 -0
- package/dist/cli/daemon/runtime.daemon.serve.descriptor.js +23 -0
- package/dist/cli/daemon/runtime.daemon.serve.descriptor.js.map +1 -0
- package/dist/cli/daemon/runtime.daemon.serve.impl.consumer.d.ts +22 -0
- package/dist/cli/daemon/runtime.daemon.serve.impl.consumer.d.ts.map +1 -0
- package/dist/cli/daemon/runtime.daemon.serve.impl.consumer.js +68 -0
- package/dist/cli/daemon/runtime.daemon.serve.impl.consumer.js.map +1 -0
- package/dist/cli/daemon/runtime.daemon.status.descriptor.d.ts +9 -0
- package/dist/cli/daemon/runtime.daemon.status.descriptor.d.ts.map +1 -0
- package/dist/cli/daemon/runtime.daemon.status.descriptor.js +24 -0
- package/dist/cli/daemon/runtime.daemon.status.descriptor.js.map +1 -0
- package/dist/cli/daemon/runtime.daemon.status.impl.consumer.d.ts +12 -0
- package/dist/cli/daemon/runtime.daemon.status.impl.consumer.d.ts.map +1 -0
- package/dist/cli/daemon/runtime.daemon.status.impl.consumer.js +110 -0
- package/dist/cli/daemon/runtime.daemon.status.impl.consumer.js.map +1 -0
- package/dist/cli/discovery/runtime.doctor.descriptor.d.ts +10 -0
- package/dist/cli/discovery/runtime.doctor.descriptor.d.ts.map +1 -0
- package/dist/cli/discovery/runtime.doctor.descriptor.js +29 -0
- package/dist/cli/discovery/runtime.doctor.descriptor.js.map +1 -0
- package/dist/cli/discovery/runtime.doctor.impl.consumer.d.ts +18 -0
- package/dist/cli/discovery/runtime.doctor.impl.consumer.d.ts.map +1 -0
- package/dist/cli/discovery/runtime.doctor.impl.consumer.js +129 -0
- package/dist/cli/discovery/runtime.doctor.impl.consumer.js.map +1 -0
- package/dist/cli/discovery/runtime.query.descriptor.d.ts +10 -0
- package/dist/cli/discovery/runtime.query.descriptor.d.ts.map +1 -0
- package/dist/cli/discovery/runtime.query.descriptor.js +39 -0
- package/dist/cli/discovery/runtime.query.descriptor.js.map +1 -0
- package/dist/cli/discovery/runtime.query.impl.consumer.d.ts +7 -0
- package/dist/cli/discovery/runtime.query.impl.consumer.d.ts.map +1 -0
- package/dist/cli/discovery/runtime.query.impl.consumer.js +105 -0
- package/dist/cli/discovery/runtime.query.impl.consumer.js.map +1 -0
- package/dist/cli/discovery/runtime.status.descriptor.d.ts +9 -0
- package/dist/cli/discovery/runtime.status.descriptor.d.ts.map +1 -0
- package/dist/cli/discovery/runtime.status.descriptor.js +24 -0
- package/dist/cli/discovery/runtime.status.descriptor.js.map +1 -0
- package/dist/cli/discovery/runtime.status.impl.consumer.d.ts +7 -0
- package/dist/cli/discovery/runtime.status.impl.consumer.d.ts.map +1 -0
- package/dist/cli/discovery/runtime.status.impl.consumer.js +121 -0
- package/dist/cli/discovery/runtime.status.impl.consumer.js.map +1 -0
- package/dist/cli/discovery/status-format.d.ts +19 -0
- package/dist/cli/discovery/status-format.d.ts.map +1 -0
- package/dist/cli/discovery/status-format.js +54 -0
- package/dist/cli/discovery/status-format.js.map +1 -0
- package/dist/cli/plugin.d.ts +3 -0
- package/dist/cli/plugin.d.ts.map +1 -0
- package/dist/cli/plugin.js +42 -0
- package/dist/cli/plugin.js.map +1 -0
- package/dist/cli/runtime.cli-group.descriptor.d.ts +10 -0
- package/dist/cli/runtime.cli-group.descriptor.d.ts.map +1 -0
- package/dist/cli/runtime.cli-group.descriptor.js +17 -0
- package/dist/cli/runtime.cli-group.descriptor.js.map +1 -0
- package/dist/cli/worker/_logging.d.ts +11 -0
- package/dist/cli/worker/_logging.d.ts.map +1 -0
- package/dist/cli/worker/_logging.js +40 -0
- package/dist/cli/worker/_logging.js.map +1 -0
- package/dist/cli/worker/daemon-execution.worker.entry.d.ts +51 -0
- package/dist/cli/worker/daemon-execution.worker.entry.d.ts.map +1 -0
- package/dist/cli/worker/daemon-execution.worker.entry.js +220 -0
- package/dist/cli/worker/daemon-execution.worker.entry.js.map +1 -0
- package/dist/core/descriptor-wire/serialize.d.ts +9 -0
- package/dist/core/descriptor-wire/serialize.d.ts.map +1 -0
- package/dist/core/descriptor-wire/serialize.js +88 -0
- package/dist/core/descriptor-wire/serialize.js.map +1 -0
- package/dist/core/helper.d.ts +42 -0
- package/dist/core/helper.d.ts.map +1 -0
- package/dist/core/helper.js +125 -0
- package/dist/core/helper.js.map +1 -0
- package/dist/core/kinds/rpc.kind.d.ts +48 -0
- package/dist/core/kinds/rpc.kind.d.ts.map +1 -0
- package/dist/core/kinds/rpc.kind.js +27 -0
- package/dist/core/kinds/rpc.kind.js.map +1 -0
- package/dist/core/lifecycle-repeat.d.ts +11 -0
- package/dist/core/lifecycle-repeat.d.ts.map +1 -0
- package/dist/core/lifecycle-repeat.js +59 -0
- package/dist/core/lifecycle-repeat.js.map +1 -0
- package/dist/core/protocol/lifecycle/attempt.d.ts +23 -0
- package/dist/core/protocol/lifecycle/attempt.d.ts.map +1 -0
- package/dist/core/protocol/lifecycle/attempt.js +41 -0
- package/dist/core/protocol/lifecycle/attempt.js.map +1 -0
- package/dist/core/protocol/lifecycle/binding-close.d.ts +54 -0
- package/dist/core/protocol/lifecycle/binding-close.d.ts.map +1 -0
- package/dist/core/protocol/lifecycle/binding-close.js +137 -0
- package/dist/core/protocol/lifecycle/binding-close.js.map +1 -0
- package/dist/core/protocol/lifecycle/channel-close.d.ts +39 -0
- package/dist/core/protocol/lifecycle/channel-close.d.ts.map +1 -0
- package/dist/core/protocol/lifecycle/channel-close.js +75 -0
- package/dist/core/protocol/lifecycle/channel-close.js.map +1 -0
- package/dist/core/protocol/lifecycle/channel-end.d.ts +53 -0
- package/dist/core/protocol/lifecycle/channel-end.d.ts.map +1 -0
- package/dist/core/protocol/lifecycle/channel-end.js +71 -0
- package/dist/core/protocol/lifecycle/channel-end.js.map +1 -0
- package/dist/core/protocol/lifecycle/connect-attempt.d.ts +12 -0
- package/dist/core/protocol/lifecycle/connect-attempt.d.ts.map +1 -0
- package/dist/core/protocol/lifecycle/connect-attempt.js +31 -0
- package/dist/core/protocol/lifecycle/connect-attempt.js.map +1 -0
- package/dist/core/protocol/lifecycle/connector.d.ts +29 -0
- package/dist/core/protocol/lifecycle/connector.d.ts.map +1 -0
- package/dist/core/protocol/lifecycle/connector.js +168 -0
- package/dist/core/protocol/lifecycle/connector.js.map +1 -0
- package/dist/core/protocol/lifecycle/credited-events.d.ts +11 -0
- package/dist/core/protocol/lifecycle/credited-events.d.ts.map +1 -0
- package/dist/core/protocol/lifecycle/credited-events.js +109 -0
- package/dist/core/protocol/lifecycle/credited-events.js.map +1 -0
- package/dist/core/protocol/lifecycle/leg-failures.d.ts +37 -0
- package/dist/core/protocol/lifecycle/leg-failures.d.ts.map +1 -0
- package/dist/core/protocol/lifecycle/leg-failures.js +115 -0
- package/dist/core/protocol/lifecycle/leg-failures.js.map +1 -0
- package/dist/core/protocol/lifecycle/lifecycle-owned.d.ts +15 -0
- package/dist/core/protocol/lifecycle/lifecycle-owned.d.ts.map +1 -0
- package/dist/core/protocol/lifecycle/lifecycle-owned.js +32 -0
- package/dist/core/protocol/lifecycle/lifecycle-owned.js.map +1 -0
- package/dist/core/protocol/lifecycle/stream-credits.d.ts +41 -0
- package/dist/core/protocol/lifecycle/stream-credits.d.ts.map +1 -0
- package/dist/core/protocol/lifecycle/stream-credits.js +160 -0
- package/dist/core/protocol/lifecycle/stream-credits.js.map +1 -0
- package/dist/core/protocol/references/advertisement.d.ts +22 -0
- package/dist/core/protocol/references/advertisement.d.ts.map +1 -0
- package/dist/core/protocol/references/advertisement.js +76 -0
- package/dist/core/protocol/references/advertisement.js.map +1 -0
- package/dist/core/protocol/references/caller-input.d.ts +44 -0
- package/dist/core/protocol/references/caller-input.d.ts.map +1 -0
- package/dist/core/protocol/references/caller-input.js +67 -0
- package/dist/core/protocol/references/caller-input.js.map +1 -0
- package/dist/core/protocol/references/channel-ids.d.ts +23 -0
- package/dist/core/protocol/references/channel-ids.d.ts.map +1 -0
- package/dist/core/protocol/references/channel-ids.js +35 -0
- package/dist/core/protocol/references/channel-ids.js.map +1 -0
- package/dist/core/protocol/references/consumer.d.ts +11 -0
- package/dist/core/protocol/references/consumer.d.ts.map +1 -0
- package/dist/core/protocol/references/consumer.js +134 -0
- package/dist/core/protocol/references/consumer.js.map +1 -0
- package/dist/core/protocol/references/descriptor-input.d.ts +15 -0
- package/dist/core/protocol/references/descriptor-input.d.ts.map +1 -0
- package/dist/core/protocol/references/descriptor-input.js +25 -0
- package/dist/core/protocol/references/descriptor-input.js.map +1 -0
- package/dist/core/protocol/references/dispatch.d.ts +24 -0
- package/dist/core/protocol/references/dispatch.d.ts.map +1 -0
- package/dist/core/protocol/references/dispatch.js +130 -0
- package/dist/core/protocol/references/dispatch.js.map +1 -0
- package/dist/core/protocol/references/function-callbacks.d.ts +19 -0
- package/dist/core/protocol/references/function-callbacks.d.ts.map +1 -0
- package/dist/core/protocol/references/function-callbacks.js +84 -0
- package/dist/core/protocol/references/function-callbacks.js.map +1 -0
- package/dist/core/protocol/references/projection-consumer.d.ts +12 -0
- package/dist/core/protocol/references/projection-consumer.d.ts.map +1 -0
- package/dist/core/protocol/references/projection-consumer.js +43 -0
- package/dist/core/protocol/references/projection-consumer.js.map +1 -0
- package/dist/core/protocol/references/ref-table.d.ts +33 -0
- package/dist/core/protocol/references/ref-table.d.ts.map +1 -0
- package/dist/core/protocol/references/ref-table.js +136 -0
- package/dist/core/protocol/references/ref-table.js.map +1 -0
- package/dist/core/protocol/references/root-methods.d.ts +14 -0
- package/dist/core/protocol/references/root-methods.d.ts.map +1 -0
- package/dist/core/protocol/references/root-methods.js +33 -0
- package/dist/core/protocol/references/root-methods.js.map +1 -0
- package/dist/core/protocol/transport/failure-describer.d.ts +56 -0
- package/dist/core/protocol/transport/failure-describer.d.ts.map +1 -0
- package/dist/core/protocol/transport/failure-describer.js +157 -0
- package/dist/core/protocol/transport/failure-describer.js.map +1 -0
- package/dist/core/protocol/transport/fetch-failure.d.ts +9 -0
- package/dist/core/protocol/transport/fetch-failure.d.ts.map +1 -0
- package/dist/core/protocol/transport/fetch-failure.js +45 -0
- package/dist/core/protocol/transport/fetch-failure.js.map +1 -0
- package/dist/core/protocol/transport/local-attestation.d.ts +67 -0
- package/dist/core/protocol/transport/local-attestation.d.ts.map +1 -0
- package/dist/core/protocol/transport/local-attestation.js +109 -0
- package/dist/core/protocol/transport/local-attestation.js.map +1 -0
- package/dist/core/protocol/transport/projection-close.d.ts +12 -0
- package/dist/core/protocol/transport/projection-close.d.ts.map +1 -0
- package/dist/core/protocol/transport/projection-close.js +47 -0
- package/dist/core/protocol/transport/projection-close.js.map +1 -0
- package/dist/core/protocol/transport/socket-connect-failure.d.ts +13 -0
- package/dist/core/protocol/transport/socket-connect-failure.d.ts.map +1 -0
- package/dist/core/protocol/transport/socket-connect-failure.js +42 -0
- package/dist/core/protocol/transport/socket-connect-failure.js.map +1 -0
- package/dist/core/protocol/transport/sse.d.ts +26 -0
- package/dist/core/protocol/transport/sse.d.ts.map +1 -0
- package/dist/core/protocol/transport/sse.js +89 -0
- package/dist/core/protocol/transport/sse.js.map +1 -0
- package/dist/core/protocol/wire/frame.d.ts +34 -0
- package/dist/core/protocol/wire/frame.d.ts.map +1 -0
- package/dist/core/protocol/wire/frame.js +131 -0
- package/dist/core/protocol/wire/frame.js.map +1 -0
- package/dist/core/protocol/wire/inline-value.d.ts +27 -0
- package/dist/core/protocol/wire/inline-value.d.ts.map +1 -0
- package/dist/core/protocol/wire/inline-value.js +114 -0
- package/dist/core/protocol/wire/inline-value.js.map +1 -0
- package/dist/core/protocol/wire/json-wire.d.ts +7 -0
- package/dist/core/protocol/wire/json-wire.d.ts.map +1 -0
- package/dist/core/protocol/wire/json-wire.js +58 -0
- package/dist/core/protocol/wire/json-wire.js.map +1 -0
- package/dist/core/protocol/wire/limits.d.ts +23 -0
- package/dist/core/protocol/wire/limits.d.ts.map +1 -0
- package/dist/core/protocol/wire/limits.js +23 -0
- package/dist/core/protocol/wire/limits.js.map +1 -0
- package/dist/core/protocol/wire/rpc-data.d.ts +15 -0
- package/dist/core/protocol/wire/rpc-data.d.ts.map +1 -0
- package/dist/core/protocol/wire/rpc-data.js +66 -0
- package/dist/core/protocol/wire/rpc-data.js.map +1 -0
- package/dist/core/protocol/wire/schemas.d.ts +14 -0
- package/dist/core/protocol/wire/schemas.d.ts.map +1 -0
- package/dist/core/protocol/wire/schemas.js +13 -0
- package/dist/core/protocol/wire/schemas.js.map +1 -0
- package/dist/core/protocol/wire/value-kinds.d.ts +26 -0
- package/dist/core/protocol/wire/value-kinds.d.ts.map +1 -0
- package/dist/core/protocol/wire/value-kinds.js +41 -0
- package/dist/core/protocol/wire/value-kinds.js.map +1 -0
- package/dist/core/protocol/wire/verbs.d.ts +94 -0
- package/dist/core/protocol/wire/verbs.d.ts.map +1 -0
- package/dist/core/protocol/wire/verbs.js +171 -0
- package/dist/core/protocol/wire/verbs.js.map +1 -0
- package/dist/core/protocol/wire/wire-dates.d.ts +8 -0
- package/dist/core/protocol/wire/wire-dates.d.ts.map +1 -0
- package/dist/core/protocol/wire/wire-dates.js +64 -0
- package/dist/core/protocol/wire/wire-dates.js.map +1 -0
- package/dist/core/protocol/wire/wire-value.d.ts +31 -0
- package/dist/core/protocol/wire/wire-value.d.ts.map +1 -0
- package/dist/core/protocol/wire/wire-value.js +72 -0
- package/dist/core/protocol/wire/wire-value.js.map +1 -0
- package/dist/core/runtime-rpc.plugin.d.ts +7 -0
- package/dist/core/runtime-rpc.plugin.d.ts.map +1 -0
- package/dist/core/runtime-rpc.plugin.js +22 -0
- package/dist/core/runtime-rpc.plugin.js.map +1 -0
- package/dist/core/utils/exec.d.ts +2 -0
- package/dist/core/utils/exec.d.ts.map +1 -0
- package/dist/core/utils/exec.js +2 -0
- package/dist/core/utils/exec.js.map +1 -0
- package/dist/core/utils/http-serve.d.ts +13 -0
- package/dist/core/utils/http-serve.d.ts.map +1 -0
- package/dist/core/utils/http-serve.js +46 -0
- package/dist/core/utils/http-serve.js.map +1 -0
- package/dist/daemon/auth/cors.d.ts +7 -0
- package/dist/daemon/auth/cors.d.ts.map +1 -0
- package/dist/daemon/auth/cors.js +12 -0
- package/dist/daemon/auth/cors.js.map +1 -0
- package/dist/daemon/auth/ingress/body.d.ts +6 -0
- package/dist/daemon/auth/ingress/body.d.ts.map +1 -0
- package/dist/daemon/auth/ingress/body.js +19 -0
- package/dist/daemon/auth/ingress/body.js.map +1 -0
- package/dist/daemon/auth/ingress/finalize.d.ts +2 -0
- package/dist/daemon/auth/ingress/finalize.d.ts.map +1 -0
- package/dist/daemon/auth/ingress/finalize.js +40 -0
- package/dist/daemon/auth/ingress/finalize.js.map +1 -0
- package/dist/daemon/auth/ingress/json.d.ts +4 -0
- package/dist/daemon/auth/ingress/json.d.ts.map +1 -0
- package/dist/daemon/auth/ingress/json.js +23 -0
- package/dist/daemon/auth/ingress/json.js.map +1 -0
- package/dist/daemon/auth/ingress/nonce.d.ts +4 -0
- package/dist/daemon/auth/ingress/nonce.d.ts.map +1 -0
- package/dist/daemon/auth/ingress/nonce.js +50 -0
- package/dist/daemon/auth/ingress/nonce.js.map +1 -0
- package/dist/daemon/auth/ingress/pair.d.ts +10 -0
- package/dist/daemon/auth/ingress/pair.d.ts.map +1 -0
- package/dist/daemon/auth/ingress/pair.js +42 -0
- package/dist/daemon/auth/ingress/pair.js.map +1 -0
- package/dist/daemon/auth/ingress/rpc.d.ts +3 -0
- package/dist/daemon/auth/ingress/rpc.d.ts.map +1 -0
- package/dist/daemon/auth/ingress/rpc.js +15 -0
- package/dist/daemon/auth/ingress/rpc.js.map +1 -0
- package/dist/daemon/auth/pairing-binding.d.ts +44 -0
- package/dist/daemon/auth/pairing-binding.d.ts.map +1 -0
- package/dist/daemon/auth/pairing-binding.js +66 -0
- package/dist/daemon/auth/pairing-binding.js.map +1 -0
- package/dist/daemon/auth/redact.d.ts +3 -0
- package/dist/daemon/auth/redact.d.ts.map +1 -0
- package/dist/daemon/auth/redact.js +3 -0
- package/dist/daemon/auth/redact.js.map +1 -0
- package/dist/daemon/auth/tcp-dispatch.d.ts +6 -0
- package/dist/daemon/auth/tcp-dispatch.d.ts.map +1 -0
- package/dist/daemon/auth/tcp-dispatch.js +41 -0
- package/dist/daemon/auth/tcp-dispatch.js.map +1 -0
- package/dist/daemon/auth/tcp-handler.d.ts +22 -0
- package/dist/daemon/auth/tcp-handler.d.ts.map +1 -0
- package/dist/daemon/auth/tcp-handler.js +61 -0
- package/dist/daemon/auth/tcp-handler.js.map +1 -0
- package/dist/daemon/client/contracts1/arguments.d.ts +3 -0
- package/dist/daemon/client/contracts1/arguments.d.ts.map +1 -0
- package/dist/daemon/client/contracts1/arguments.js +17 -0
- package/dist/daemon/client/contracts1/arguments.js.map +1 -0
- package/dist/daemon/client/contracts1/connection.d.ts +51 -0
- package/dist/daemon/client/contracts1/connection.d.ts.map +1 -0
- package/dist/daemon/client/contracts1/connection.js +158 -0
- package/dist/daemon/client/contracts1/connection.js.map +1 -0
- package/dist/daemon/client/contracts1/connectivity.d.ts +28 -0
- package/dist/daemon/client/contracts1/connectivity.d.ts.map +1 -0
- package/dist/daemon/client/contracts1/connectivity.js +72 -0
- package/dist/daemon/client/contracts1/connectivity.js.map +1 -0
- package/dist/daemon/client/contracts1/index.consumer.d.ts +13 -0
- package/dist/daemon/client/contracts1/index.consumer.d.ts.map +1 -0
- package/dist/daemon/client/contracts1/index.consumer.js +10 -0
- package/dist/daemon/client/contracts1/index.consumer.js.map +1 -0
- package/dist/daemon/client/contracts1/paths.d.ts +8 -0
- package/dist/daemon/client/contracts1/paths.d.ts.map +1 -0
- package/dist/daemon/client/contracts1/paths.js +17 -0
- package/dist/daemon/client/contracts1/paths.js.map +1 -0
- package/dist/daemon/client/contracts1/reclaim.d.ts +5 -0
- package/dist/daemon/client/contracts1/reclaim.d.ts.map +1 -0
- package/dist/daemon/client/contracts1/reclaim.js +10 -0
- package/dist/daemon/client/contracts1/reclaim.js.map +1 -0
- package/dist/daemon/client/contracts1/responses.d.ts +10 -0
- package/dist/daemon/client/contracts1/responses.d.ts.map +1 -0
- package/dist/daemon/client/contracts1/responses.js +108 -0
- package/dist/daemon/client/contracts1/responses.js.map +1 -0
- package/dist/daemon/client/contracts1/restart.d.ts +69 -0
- package/dist/daemon/client/contracts1/restart.d.ts.map +1 -0
- package/dist/daemon/client/contracts1/restart.js +181 -0
- package/dist/daemon/client/contracts1/restart.js.map +1 -0
- package/dist/daemon/client/contracts1/supervised-lifecycle.d.ts +28 -0
- package/dist/daemon/client/contracts1/supervised-lifecycle.d.ts.map +1 -0
- package/dist/daemon/client/contracts1/supervised-lifecycle.js +96 -0
- package/dist/daemon/client/contracts1/supervised-lifecycle.js.map +1 -0
- package/dist/daemon/client/contracts2/stop.d.ts +6 -0
- package/dist/daemon/client/contracts2/stop.d.ts.map +1 -0
- package/dist/daemon/client/contracts2/stop.js +41 -0
- package/dist/daemon/client/contracts2/stop.js.map +1 -0
- package/dist/daemon/client/contracts2/unix-client.d.ts +24 -0
- package/dist/daemon/client/contracts2/unix-client.d.ts.map +1 -0
- package/dist/daemon/client/contracts2/unix-client.js +84 -0
- package/dist/daemon/client/contracts2/unix-client.js.map +1 -0
- package/dist/daemon/client/contracts2/wait.d.ts +22 -0
- package/dist/daemon/client/contracts2/wait.d.ts.map +1 -0
- package/dist/daemon/client/contracts2/wait.js +37 -0
- package/dist/daemon/client/contracts2/wait.js.map +1 -0
- package/dist/daemon/commands/argv/options.d.ts +5 -0
- package/dist/daemon/commands/argv/options.d.ts.map +1 -0
- package/dist/daemon/commands/argv/options.js +93 -0
- package/dist/daemon/commands/argv/options.js.map +1 -0
- package/dist/daemon/commands/argv/values.d.ts +8 -0
- package/dist/daemon/commands/argv/values.d.ts.map +1 -0
- package/dist/daemon/commands/argv/values.js +25 -0
- package/dist/daemon/commands/argv/values.js.map +1 -0
- package/dist/daemon/commands/command-argv.d.ts +30 -0
- package/dist/daemon/commands/command-argv.d.ts.map +1 -0
- package/dist/daemon/commands/command-argv.js +115 -0
- package/dist/daemon/commands/command-argv.js.map +1 -0
- package/dist/daemon/commands/data/query.d.ts +12 -0
- package/dist/daemon/commands/data/query.d.ts.map +1 -0
- package/dist/daemon/commands/data/query.js +85 -0
- package/dist/daemon/commands/data/query.js.map +1 -0
- package/dist/daemon/commands/data/read.d.ts +12 -0
- package/dist/daemon/commands/data/read.d.ts.map +1 -0
- package/dist/daemon/commands/data/read.js +156 -0
- package/dist/daemon/commands/data/read.js.map +1 -0
- package/dist/daemon/commands/data/resolve.d.ts +11 -0
- package/dist/daemon/commands/data/resolve.d.ts.map +1 -0
- package/dist/daemon/commands/data/resolve.js +73 -0
- package/dist/daemon/commands/data/resolve.js.map +1 -0
- package/dist/daemon/commands/data/write.d.ts +7 -0
- package/dist/daemon/commands/data/write.d.ts.map +1 -0
- package/dist/daemon/commands/data/write.js +126 -0
- package/dist/daemon/commands/data/write.js.map +1 -0
- package/dist/daemon/commands/doctor.d.ts +11 -0
- package/dist/daemon/commands/doctor.d.ts.map +1 -0
- package/dist/daemon/commands/doctor.js +43 -0
- package/dist/daemon/commands/doctor.js.map +1 -0
- package/dist/daemon/commands/health.d.ts +22 -0
- package/dist/daemon/commands/health.d.ts.map +1 -0
- package/dist/daemon/commands/health.js +28 -0
- package/dist/daemon/commands/health.js.map +1 -0
- package/dist/daemon/commands/invoke/command.d.ts +23 -0
- package/dist/daemon/commands/invoke/command.d.ts.map +1 -0
- package/dist/daemon/commands/invoke/command.js +108 -0
- package/dist/daemon/commands/invoke/command.js.map +1 -0
- package/dist/daemon/commands/invoke/logger.d.ts +12 -0
- package/dist/daemon/commands/invoke/logger.d.ts.map +1 -0
- package/dist/daemon/commands/invoke/logger.js +40 -0
- package/dist/daemon/commands/invoke/logger.js.map +1 -0
- package/dist/daemon/commands/invoke/tool.d.ts +15 -0
- package/dist/daemon/commands/invoke/tool.d.ts.map +1 -0
- package/dist/daemon/commands/invoke/tool.js +93 -0
- package/dist/daemon/commands/invoke/tool.js.map +1 -0
- package/dist/daemon/commands/invoke.d.ts +31 -0
- package/dist/daemon/commands/invoke.d.ts.map +1 -0
- package/dist/daemon/commands/invoke.js +100 -0
- package/dist/daemon/commands/invoke.js.map +1 -0
- package/dist/daemon/commands/subscribe.d.ts +16 -0
- package/dist/daemon/commands/subscribe.d.ts.map +1 -0
- package/dist/daemon/commands/subscribe.js +108 -0
- package/dist/daemon/commands/subscribe.js.map +1 -0
- package/dist/daemon/commands/subscription-cleanup.d.ts +4 -0
- package/dist/daemon/commands/subscription-cleanup.d.ts.map +1 -0
- package/dist/daemon/commands/subscription-cleanup.js +32 -0
- package/dist/daemon/commands/subscription-cleanup.js.map +1 -0
- package/dist/daemon/hosting/config/load.d.ts +5 -0
- package/dist/daemon/hosting/config/load.d.ts.map +1 -0
- package/dist/daemon/hosting/config/load.js +12 -0
- package/dist/daemon/hosting/config/load.js.map +1 -0
- package/dist/daemon/hosting/config/runtime-rpc.config.descriptor.d.ts +45 -0
- package/dist/daemon/hosting/config/runtime-rpc.config.descriptor.d.ts.map +1 -0
- package/dist/daemon/hosting/config/runtime-rpc.config.descriptor.js +33 -0
- package/dist/daemon/hosting/config/runtime-rpc.config.descriptor.js.map +1 -0
- package/dist/daemon/hosting/daemon-host/host-hot-reload.consumer.d.ts +5 -0
- package/dist/daemon/hosting/daemon-host/host-hot-reload.consumer.d.ts.map +1 -0
- package/dist/daemon/hosting/daemon-host/host-hot-reload.consumer.js +15 -0
- package/dist/daemon/hosting/daemon-host/host-hot-reload.consumer.js.map +1 -0
- package/dist/daemon/hosting/daemon-host/hot-plugin-module.consumer.d.ts +19 -0
- package/dist/daemon/hosting/daemon-host/hot-plugin-module.consumer.d.ts.map +1 -0
- package/dist/daemon/hosting/daemon-host/hot-plugin-module.consumer.js +16 -0
- package/dist/daemon/hosting/daemon-host/hot-plugin-module.consumer.js.map +1 -0
- package/dist/daemon/hosting/daemon-host/hot-reload.consumer.d.ts +2 -0
- package/dist/daemon/hosting/daemon-host/hot-reload.consumer.d.ts.map +1 -0
- package/dist/daemon/hosting/daemon-host/hot-reload.consumer.js +2 -0
- package/dist/daemon/hosting/daemon-host/hot-reload.consumer.js.map +1 -0
- package/dist/daemon/hosting/daemon-host/index.d.ts +15 -0
- package/dist/daemon/hosting/daemon-host/index.d.ts.map +1 -0
- package/dist/daemon/hosting/daemon-host/index.js +12 -0
- package/dist/daemon/hosting/daemon-host/index.js.map +1 -0
- package/dist/daemon/hosting/daemon-host/resolve-plugin-host.d.ts +4 -0
- package/dist/daemon/hosting/daemon-host/resolve-plugin-host.d.ts.map +1 -0
- package/dist/daemon/hosting/daemon-host/resolve-plugin-host.js +5 -0
- package/dist/daemon/hosting/daemon-host/resolve-plugin-host.js.map +1 -0
- package/dist/daemon/hosting/execution/daemon-execution-host.consumer.d.ts +14 -0
- package/dist/daemon/hosting/execution/daemon-execution-host.consumer.d.ts.map +1 -0
- package/dist/daemon/hosting/execution/daemon-execution-host.consumer.js +216 -0
- package/dist/daemon/hosting/execution/daemon-execution-host.consumer.js.map +1 -0
- package/dist/daemon/hosting/execution/execution-boot.d.ts +24 -0
- package/dist/daemon/hosting/execution/execution-boot.d.ts.map +1 -0
- package/dist/daemon/hosting/execution/execution-boot.js +130 -0
- package/dist/daemon/hosting/execution/execution-boot.js.map +1 -0
- package/dist/daemon/hosting/execution/execution-failure.d.ts +33 -0
- package/dist/daemon/hosting/execution/execution-failure.d.ts.map +1 -0
- package/dist/daemon/hosting/execution/execution-failure.js +94 -0
- package/dist/daemon/hosting/execution/execution-failure.js.map +1 -0
- package/dist/daemon/hosting/execution/execution-host.schemas.d.ts +7 -0
- package/dist/daemon/hosting/execution/execution-host.schemas.d.ts.map +1 -0
- package/dist/daemon/hosting/execution/execution-host.schemas.js +6 -0
- package/dist/daemon/hosting/execution/execution-host.schemas.js.map +1 -0
- package/dist/daemon/hosting/host/host-hot-reload.consumer.d.ts +3 -0
- package/dist/daemon/hosting/host/host-hot-reload.consumer.d.ts.map +1 -0
- package/dist/daemon/hosting/host/host-hot-reload.consumer.js +3 -0
- package/dist/daemon/hosting/host/host-hot-reload.consumer.js.map +1 -0
- package/dist/daemon/hosting/host/hot-plugin-module.consumer.d.ts +3 -0
- package/dist/daemon/hosting/host/hot-plugin-module.consumer.d.ts.map +1 -0
- package/dist/daemon/hosting/host/hot-plugin-module.consumer.js +3 -0
- package/dist/daemon/hosting/host/hot-plugin-module.consumer.js.map +1 -0
- package/dist/daemon/hosting/host/hot-reload.consumer.d.ts +3 -0
- package/dist/daemon/hosting/host/hot-reload.consumer.d.ts.map +1 -0
- package/dist/daemon/hosting/host/hot-reload.consumer.js +3 -0
- package/dist/daemon/hosting/host/hot-reload.consumer.js.map +1 -0
- package/dist/daemon/hosting/host/index.d.ts +3 -0
- package/dist/daemon/hosting/host/index.d.ts.map +1 -0
- package/dist/daemon/hosting/host/index.js +3 -0
- package/dist/daemon/hosting/host/index.js.map +1 -0
- package/dist/daemon/hosting/host/resolve-plugin-host.d.ts +3 -0
- package/dist/daemon/hosting/host/resolve-plugin-host.d.ts.map +1 -0
- package/dist/daemon/hosting/host/resolve-plugin-host.js +3 -0
- package/dist/daemon/hosting/host/resolve-plugin-host.js.map +1 -0
- package/dist/daemon/hosting/logging/runtime-daemon.logger.descriptor.d.ts +7 -0
- package/dist/daemon/hosting/logging/runtime-daemon.logger.descriptor.d.ts.map +1 -0
- package/dist/daemon/hosting/logging/runtime-daemon.logger.descriptor.js +16 -0
- package/dist/daemon/hosting/logging/runtime-daemon.logger.descriptor.js.map +1 -0
- package/dist/daemon/hosting/logging/runtime-daemon.output.descriptor.d.ts +9 -0
- package/dist/daemon/hosting/logging/runtime-daemon.output.descriptor.d.ts.map +1 -0
- package/dist/daemon/hosting/logging/runtime-daemon.output.descriptor.js +19 -0
- package/dist/daemon/hosting/logging/runtime-daemon.output.descriptor.js.map +1 -0
- package/dist/daemon/hosting/plugin.d.ts +9 -0
- package/dist/daemon/hosting/plugin.d.ts.map +1 -0
- package/dist/daemon/hosting/plugin.js +63 -0
- package/dist/daemon/hosting/plugin.js.map +1 -0
- package/dist/daemon/hosting/process/daemon-role.d.ts +17 -0
- package/dist/daemon/hosting/process/daemon-role.d.ts.map +1 -0
- package/dist/daemon/hosting/process/daemon-role.js +18 -0
- package/dist/daemon/hosting/process/daemon-role.js.map +1 -0
- package/dist/daemon/hosting/process/daemon.consumer.d.ts +10 -0
- package/dist/daemon/hosting/process/daemon.consumer.d.ts.map +1 -0
- package/dist/daemon/hosting/process/daemon.consumer.js +8 -0
- package/dist/daemon/hosting/process/daemon.consumer.js.map +1 -0
- package/dist/daemon/hosting/process/reclaim.consumer.d.ts +12 -0
- package/dist/daemon/hosting/process/reclaim.consumer.d.ts.map +1 -0
- package/dist/daemon/hosting/process/reclaim.consumer.js +34 -0
- package/dist/daemon/hosting/process/reclaim.consumer.js.map +1 -0
- package/dist/daemon/hosting/process/runtime-config.d.ts +22 -0
- package/dist/daemon/hosting/process/runtime-config.d.ts.map +1 -0
- package/dist/daemon/hosting/process/runtime-config.js +37 -0
- package/dist/daemon/hosting/process/runtime-config.js.map +1 -0
- package/dist/daemon/hosting/process/runtime-daemon-supervisor.kind.d.ts +4 -0
- package/dist/daemon/hosting/process/runtime-daemon-supervisor.kind.d.ts.map +1 -0
- package/dist/daemon/hosting/process/runtime-daemon-supervisor.kind.js +40 -0
- package/dist/daemon/hosting/process/runtime-daemon-supervisor.kind.js.map +1 -0
- package/dist/daemon/hosting/process/runtime-daemon.process.descriptor.d.ts +43 -0
- package/dist/daemon/hosting/process/runtime-daemon.process.descriptor.d.ts.map +1 -0
- package/dist/daemon/hosting/process/runtime-daemon.process.descriptor.js +56 -0
- package/dist/daemon/hosting/process/runtime-daemon.process.descriptor.js.map +1 -0
- package/dist/daemon/hosting/process/runtime-process-autostart.descriptor.d.ts +12 -0
- package/dist/daemon/hosting/process/runtime-process-autostart.descriptor.d.ts.map +1 -0
- package/dist/daemon/hosting/process/runtime-process-autostart.descriptor.js +12 -0
- package/dist/daemon/hosting/process/runtime-process-autostart.descriptor.js.map +1 -0
- package/dist/daemon/hosting/process/runtime-process-autostart.impl.consumer.d.ts +6 -0
- package/dist/daemon/hosting/process/runtime-process-autostart.impl.consumer.d.ts.map +1 -0
- package/dist/daemon/hosting/process/runtime-process-autostart.impl.consumer.js +88 -0
- package/dist/daemon/hosting/process/runtime-process-autostart.impl.consumer.js.map +1 -0
- package/dist/daemon/hosting/process/spawn.consumer.d.ts +42 -0
- package/dist/daemon/hosting/process/spawn.consumer.d.ts.map +1 -0
- package/dist/daemon/hosting/process/spawn.consumer.js +69 -0
- package/dist/daemon/hosting/process/spawn.consumer.js.map +1 -0
- package/dist/daemon/hosting/process/start-timeout.d.ts +11 -0
- package/dist/daemon/hosting/process/start-timeout.d.ts.map +1 -0
- package/dist/daemon/hosting/process/start-timeout.js +13 -0
- package/dist/daemon/hosting/process/start-timeout.js.map +1 -0
- package/dist/daemon/hosting/socket/paths.consumer.d.ts +11 -0
- package/dist/daemon/hosting/socket/paths.consumer.d.ts.map +1 -0
- package/dist/daemon/hosting/socket/paths.consumer.js +11 -0
- package/dist/daemon/hosting/socket/paths.consumer.js.map +1 -0
- package/dist/daemon/hosting/socket/runtime-daemon-endpoint.impl.consumer.d.ts +28 -0
- package/dist/daemon/hosting/socket/runtime-daemon-endpoint.impl.consumer.d.ts.map +1 -0
- package/dist/daemon/hosting/socket/runtime-daemon-endpoint.impl.consumer.js +17 -0
- package/dist/daemon/hosting/socket/runtime-daemon-endpoint.impl.consumer.js.map +1 -0
- package/dist/daemon/hosting/socket/runtime-daemon.socket-path.d.ts +59 -0
- package/dist/daemon/hosting/socket/runtime-daemon.socket-path.d.ts.map +1 -0
- package/dist/daemon/hosting/socket/runtime-daemon.socket-path.js +72 -0
- package/dist/daemon/hosting/socket/runtime-daemon.socket-path.js.map +1 -0
- package/dist/daemon/pairing/client.consumer.d.ts +11 -0
- package/dist/daemon/pairing/client.consumer.d.ts.map +1 -0
- package/dist/daemon/pairing/client.consumer.js +73 -0
- package/dist/daemon/pairing/client.consumer.js.map +1 -0
- package/dist/daemon/pairing/contexts/runtime-machine-identity.context.descriptor.d.ts +47 -0
- package/dist/daemon/pairing/contexts/runtime-machine-identity.context.descriptor.d.ts.map +1 -0
- package/dist/daemon/pairing/contexts/runtime-machine-identity.context.descriptor.js +24 -0
- package/dist/daemon/pairing/contexts/runtime-machine-identity.context.descriptor.js.map +1 -0
- package/dist/daemon/pairing/contexts/runtime-machine-identity.context.impl.consumer.d.ts +17 -0
- package/dist/daemon/pairing/contexts/runtime-machine-identity.context.impl.consumer.d.ts.map +1 -0
- package/dist/daemon/pairing/contexts/runtime-machine-identity.context.impl.consumer.js +11 -0
- package/dist/daemon/pairing/contexts/runtime-machine-identity.context.impl.consumer.js.map +1 -0
- package/dist/daemon/pairing/contexts/runtime-machines.context.descriptor.d.ts +38 -0
- package/dist/daemon/pairing/contexts/runtime-machines.context.descriptor.d.ts.map +1 -0
- package/dist/daemon/pairing/contexts/runtime-machines.context.descriptor.js +15 -0
- package/dist/daemon/pairing/contexts/runtime-machines.context.descriptor.js.map +1 -0
- package/dist/daemon/pairing/contexts/runtime-machines.context.impl.consumer.d.ts +17 -0
- package/dist/daemon/pairing/contexts/runtime-machines.context.impl.consumer.d.ts.map +1 -0
- package/dist/daemon/pairing/contexts/runtime-machines.context.impl.consumer.js +11 -0
- package/dist/daemon/pairing/contexts/runtime-machines.context.impl.consumer.js.map +1 -0
- package/dist/daemon/pairing/index.d.ts +10 -0
- package/dist/daemon/pairing/index.d.ts.map +1 -0
- package/dist/daemon/pairing/index.js +6 -0
- package/dist/daemon/pairing/index.js.map +1 -0
- package/dist/daemon/pairing/json-file-store.consumer.d.ts +25 -0
- package/dist/daemon/pairing/json-file-store.consumer.d.ts.map +1 -0
- package/dist/daemon/pairing/json-file-store.consumer.js +139 -0
- package/dist/daemon/pairing/json-file-store.consumer.js.map +1 -0
- package/dist/daemon/pairing/machine-identity.consumer.d.ts +9 -0
- package/dist/daemon/pairing/machine-identity.consumer.d.ts.map +1 -0
- package/dist/daemon/pairing/machine-identity.consumer.js +44 -0
- package/dist/daemon/pairing/machine-identity.consumer.js.map +1 -0
- package/dist/daemon/pairing/machines.consumer.d.ts +36 -0
- package/dist/daemon/pairing/machines.consumer.d.ts.map +1 -0
- package/dist/daemon/pairing/machines.consumer.js +118 -0
- package/dist/daemon/pairing/machines.consumer.js.map +1 -0
- package/dist/daemon/pairing/paired-clients.consumer.d.ts +26 -0
- package/dist/daemon/pairing/paired-clients.consumer.d.ts.map +1 -0
- package/dist/daemon/pairing/paired-clients.consumer.js +72 -0
- package/dist/daemon/pairing/paired-clients.consumer.js.map +1 -0
- package/dist/daemon/pairing/pairing.d.ts +76 -0
- package/dist/daemon/pairing/pairing.d.ts.map +1 -0
- package/dist/daemon/pairing/pairing.js +141 -0
- package/dist/daemon/pairing/pairing.js.map +1 -0
- package/dist/daemon/pairing/types.d.ts +3 -0
- package/dist/daemon/pairing/types.d.ts.map +1 -0
- package/dist/daemon/pairing/types.js +2 -0
- package/dist/daemon/pairing/types.js.map +1 -0
- package/dist/daemon/protocol/schemas.d.ts +3 -0
- package/dist/daemon/protocol/schemas.d.ts.map +1 -0
- package/dist/daemon/protocol/schemas.js +3 -0
- package/dist/daemon/protocol/schemas.js.map +1 -0
- package/dist/daemon/runtime/configuration.d.ts +9 -0
- package/dist/daemon/runtime/configuration.d.ts.map +1 -0
- package/dist/daemon/runtime/configuration.js +49 -0
- package/dist/daemon/runtime/configuration.js.map +1 -0
- package/dist/daemon/runtime/coordinator.d.ts +10 -0
- package/dist/daemon/runtime/coordinator.d.ts.map +1 -0
- package/dist/daemon/runtime/coordinator.js +13 -0
- package/dist/daemon/runtime/coordinator.js.map +1 -0
- package/dist/daemon/runtime/helpers.d.ts +20 -0
- package/dist/daemon/runtime/helpers.d.ts.map +1 -0
- package/dist/daemon/runtime/helpers.js +48 -0
- package/dist/daemon/runtime/helpers.js.map +1 -0
- package/dist/daemon/runtime/io/endpoint.d.ts +12 -0
- package/dist/daemon/runtime/io/endpoint.d.ts.map +1 -0
- package/dist/daemon/runtime/io/endpoint.js +70 -0
- package/dist/daemon/runtime/io/endpoint.js.map +1 -0
- package/dist/daemon/runtime/io/execution.d.ts +4 -0
- package/dist/daemon/runtime/io/execution.d.ts.map +1 -0
- package/dist/daemon/runtime/io/execution.js +118 -0
- package/dist/daemon/runtime/io/execution.js.map +1 -0
- package/dist/daemon/runtime/io/host.d.ts +16 -0
- package/dist/daemon/runtime/io/host.d.ts.map +1 -0
- package/dist/daemon/runtime/io/host.js +70 -0
- package/dist/daemon/runtime/io/host.js.map +1 -0
- package/dist/daemon/runtime/io/http.d.ts +4 -0
- package/dist/daemon/runtime/io/http.d.ts.map +1 -0
- package/dist/daemon/runtime/io/http.js +91 -0
- package/dist/daemon/runtime/io/http.js.map +1 -0
- package/dist/daemon/runtime/io/paths.d.ts +5 -0
- package/dist/daemon/runtime/io/paths.d.ts.map +1 -0
- package/dist/daemon/runtime/io/paths.js +55 -0
- package/dist/daemon/runtime/io/paths.js.map +1 -0
- package/dist/daemon/runtime/io/pid.d.ts +5 -0
- package/dist/daemon/runtime/io/pid.d.ts.map +1 -0
- package/dist/daemon/runtime/io/pid.js +77 -0
- package/dist/daemon/runtime/io/pid.js.map +1 -0
- package/dist/daemon/runtime/lifecycle/reload.d.ts +4 -0
- package/dist/daemon/runtime/lifecycle/reload.d.ts.map +1 -0
- package/dist/daemon/runtime/lifecycle/reload.js +25 -0
- package/dist/daemon/runtime/lifecycle/reload.js.map +1 -0
- package/dist/daemon/runtime/lifecycle/shutdown.d.ts +6 -0
- package/dist/daemon/runtime/lifecycle/shutdown.d.ts.map +1 -0
- package/dist/daemon/runtime/lifecycle/shutdown.js +81 -0
- package/dist/daemon/runtime/lifecycle/shutdown.js.map +1 -0
- package/dist/daemon/runtime/lifecycle/startup.d.ts +3 -0
- package/dist/daemon/runtime/lifecycle/startup.d.ts.map +1 -0
- package/dist/daemon/runtime/lifecycle/startup.js +113 -0
- package/dist/daemon/runtime/lifecycle/startup.js.map +1 -0
- package/dist/daemon/runtime/main.d.ts +3 -0
- package/dist/daemon/runtime/main.d.ts.map +1 -0
- package/dist/daemon/runtime/main.js +97 -0
- package/dist/daemon/runtime/main.js.map +1 -0
- package/dist/daemon/runtime/state.d.ts +55 -0
- package/dist/daemon/runtime/state.d.ts.map +1 -0
- package/dist/daemon/runtime/state.js +83 -0
- package/dist/daemon/runtime/state.js.map +1 -0
- package/dist/daemon/services/api/command-handler.contracts.d.ts +8 -0
- package/dist/daemon/services/api/command-handler.contracts.d.ts.map +1 -0
- package/dist/daemon/services/api/command-handler.contracts.js +8 -0
- package/dist/daemon/services/api/command-handler.contracts.js.map +1 -0
- package/dist/daemon/services/api/command-handler.d.ts +52 -0
- package/dist/daemon/services/api/command-handler.d.ts.map +1 -0
- package/dist/daemon/services/api/command-handler.js +79 -0
- package/dist/daemon/services/api/command-handler.js.map +1 -0
- package/dist/daemon/services/api/errors.d.ts +36 -0
- package/dist/daemon/services/api/errors.d.ts.map +1 -0
- package/dist/daemon/services/api/errors.js +71 -0
- package/dist/daemon/services/api/errors.js.map +1 -0
- package/dist/daemon/services/api/rpc-root.d.ts +41 -0
- package/dist/daemon/services/api/rpc-root.d.ts.map +1 -0
- package/dist/daemon/services/api/rpc-root.js +95 -0
- package/dist/daemon/services/api/rpc-root.js.map +1 -0
- package/dist/daemon/services/contracts.d.ts +6 -0
- package/dist/daemon/services/contracts.d.ts.map +1 -0
- package/dist/daemon/services/contracts.js +3 -0
- package/dist/daemon/services/contracts.js.map +1 -0
- package/dist/daemon/services/health.d.ts +20 -0
- package/dist/daemon/services/health.d.ts.map +1 -0
- package/dist/daemon/services/health.js +56 -0
- package/dist/daemon/services/health.js.map +1 -0
- package/dist/daemon/subscriptions/clients.d.ts +57 -0
- package/dist/daemon/subscriptions/clients.d.ts.map +1 -0
- package/dist/daemon/subscriptions/clients.js +136 -0
- package/dist/daemon/subscriptions/clients.js.map +1 -0
- package/dist/daemon/subscriptions/config-watcher.d.ts +11 -0
- package/dist/daemon/subscriptions/config-watcher.d.ts.map +1 -0
- package/dist/daemon/subscriptions/config-watcher.js +17 -0
- package/dist/daemon/subscriptions/config-watcher.js.map +1 -0
- package/dist/daemon/subscriptions/manager.d.ts +41 -0
- package/dist/daemon/subscriptions/manager.d.ts.map +1 -0
- package/dist/daemon/subscriptions/manager.js +73 -0
- package/dist/daemon/subscriptions/manager.js.map +1 -0
- package/dist/daemon/subscriptions/manifest-watcher.d.ts +30 -0
- package/dist/daemon/subscriptions/manifest-watcher.d.ts.map +1 -0
- package/dist/daemon/subscriptions/manifest-watcher.js +100 -0
- package/dist/daemon/subscriptions/manifest-watcher.js.map +1 -0
- package/dist/daemon/subscriptions/storage-watcher.d.ts +11 -0
- package/dist/daemon/subscriptions/storage-watcher.d.ts.map +1 -0
- package/dist/daemon/subscriptions/storage-watcher.js +16 -0
- package/dist/daemon/subscriptions/storage-watcher.js.map +1 -0
- package/dist/docs/lifecycle.docs.descriptor.d.ts +4 -0
- package/dist/docs/lifecycle.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/lifecycle.docs.descriptor.js +91 -0
- package/dist/docs/lifecycle.docs.descriptor.js.map +1 -0
- package/dist/docs/plugin.d.ts +3 -0
- package/dist/docs/plugin.d.ts.map +1 -0
- package/dist/docs/plugin.js +25 -0
- package/dist/docs/plugin.js.map +1 -0
- package/dist/docs/runtime-rpc.docs.descriptor.d.ts +9 -0
- package/dist/docs/runtime-rpc.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/runtime-rpc.docs.descriptor.js +184 -0
- package/dist/docs/runtime-rpc.docs.descriptor.js.map +1 -0
- package/dist/docs/system.docs.descriptor.d.ts +4 -0
- package/dist/docs/system.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/system.docs.descriptor.js +115 -0
- package/dist/docs/system.docs.descriptor.js.map +1 -0
- package/dist/execution/execution.client.impl.d.ts +8 -0
- package/dist/execution/execution.client.impl.d.ts.map +1 -0
- package/dist/execution/execution.client.impl.js +12 -0
- package/dist/execution/execution.client.impl.js.map +1 -0
- package/dist/execution/execution.plugin.d.ts +4 -0
- package/dist/execution/execution.plugin.d.ts.map +1 -0
- package/dist/execution/execution.plugin.js +20 -0
- package/dist/execution/execution.plugin.js.map +1 -0
- package/dist/execution/index.d.ts +5 -0
- package/dist/execution/index.d.ts.map +1 -0
- package/dist/execution/index.js +4 -0
- package/dist/execution/index.js.map +1 -0
- package/dist/execution/wire-process.d.ts +10 -0
- package/dist/execution/wire-process.d.ts.map +1 -0
- package/dist/execution/wire-process.js +467 -0
- package/dist/execution/wire-process.js.map +1 -0
- package/dist/index.d.ts +34 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +47 -0
- package/dist/index.js.map +1 -0
- package/dist/schemas/contracts/cli/_logging.d.ts +5 -0
- package/dist/schemas/contracts/cli/_logging.d.ts.map +1 -0
- package/dist/schemas/contracts/cli/_logging.js +2 -0
- package/dist/schemas/contracts/cli/_logging.js.map +1 -0
- package/dist/schemas/contracts/cli/daemon-execution.worker.entry.d.ts +236 -0
- package/dist/schemas/contracts/cli/daemon-execution.worker.entry.d.ts.map +1 -0
- package/dist/schemas/contracts/cli/daemon-execution.worker.entry.js +18 -0
- package/dist/schemas/contracts/cli/daemon-execution.worker.entry.js.map +1 -0
- package/dist/schemas/contracts/cli/runtime.daemon.restart.impl.consumer.d.ts +5 -0
- package/dist/schemas/contracts/cli/runtime.daemon.restart.impl.consumer.d.ts.map +1 -0
- package/dist/schemas/contracts/cli/runtime.daemon.restart.impl.consumer.js +5 -0
- package/dist/schemas/contracts/cli/runtime.daemon.restart.impl.consumer.js.map +1 -0
- package/dist/schemas/contracts/cli/runtime.daemon.status.impl.consumer.d.ts +5 -0
- package/dist/schemas/contracts/cli/runtime.daemon.status.impl.consumer.d.ts.map +1 -0
- package/dist/schemas/contracts/cli/runtime.daemon.status.impl.consumer.js +5 -0
- package/dist/schemas/contracts/cli/runtime.daemon.status.impl.consumer.js.map +1 -0
- package/dist/schemas/contracts/cli/runtime.daemon.stop.impl.consumer.d.ts +5 -0
- package/dist/schemas/contracts/cli/runtime.daemon.stop.impl.consumer.d.ts.map +1 -0
- package/dist/schemas/contracts/cli/runtime.daemon.stop.impl.consumer.js +5 -0
- package/dist/schemas/contracts/cli/runtime.daemon.stop.impl.consumer.js.map +1 -0
- package/dist/schemas/contracts/cli/runtime.doctor.impl.consumer.d.ts +6 -0
- package/dist/schemas/contracts/cli/runtime.doctor.impl.consumer.d.ts.map +1 -0
- package/dist/schemas/contracts/cli/runtime.doctor.impl.consumer.js +6 -0
- package/dist/schemas/contracts/cli/runtime.doctor.impl.consumer.js.map +1 -0
- package/dist/schemas/contracts/cli/runtime.query.impl.consumer.d.ts +10 -0
- package/dist/schemas/contracts/cli/runtime.query.impl.consumer.d.ts.map +1 -0
- package/dist/schemas/contracts/cli/runtime.query.impl.consumer.js +10 -0
- package/dist/schemas/contracts/cli/runtime.query.impl.consumer.js.map +1 -0
- package/dist/schemas/contracts/cli/runtime.status.impl.consumer.d.ts +5 -0
- package/dist/schemas/contracts/cli/runtime.status.impl.consumer.d.ts.map +1 -0
- package/dist/schemas/contracts/cli/runtime.status.impl.consumer.js +5 -0
- package/dist/schemas/contracts/cli/runtime.status.impl.consumer.js.map +1 -0
- package/dist/schemas/contracts/core/helper.d.ts +55 -0
- package/dist/schemas/contracts/core/helper.d.ts.map +1 -0
- package/dist/schemas/contracts/core/helper.js +14 -0
- package/dist/schemas/contracts/core/helper.js.map +1 -0
- package/dist/schemas/contracts/core/kinds/rpc.kind.d.ts +138 -0
- package/dist/schemas/contracts/core/kinds/rpc.kind.d.ts.map +1 -0
- package/dist/schemas/contracts/core/kinds/rpc.kind.js +81 -0
- package/dist/schemas/contracts/core/kinds/rpc.kind.js.map +1 -0
- package/dist/schemas/contracts/core/lifecycle-repeat.d.ts +6 -0
- package/dist/schemas/contracts/core/lifecycle-repeat.d.ts.map +1 -0
- package/dist/schemas/contracts/core/lifecycle-repeat.js +2 -0
- package/dist/schemas/contracts/core/lifecycle-repeat.js.map +1 -0
- package/dist/schemas/contracts/core/utils/http-serve.d.ts +16 -0
- package/dist/schemas/contracts/core/utils/http-serve.d.ts.map +1 -0
- package/dist/schemas/contracts/core/utils/http-serve.js +2 -0
- package/dist/schemas/contracts/core/utils/http-serve.js.map +1 -0
- package/dist/schemas/contracts/daemon/auth/capabilities.d.ts +4 -0
- package/dist/schemas/contracts/daemon/auth/capabilities.d.ts.map +1 -0
- package/dist/schemas/contracts/daemon/auth/capabilities.js +2 -0
- package/dist/schemas/contracts/daemon/auth/capabilities.js.map +1 -0
- package/dist/schemas/contracts/daemon/client/connection.d.ts +9 -0
- package/dist/schemas/contracts/daemon/client/connection.d.ts.map +1 -0
- package/dist/schemas/contracts/daemon/client/connection.js +3 -0
- package/dist/schemas/contracts/daemon/client/connection.js.map +1 -0
- package/dist/schemas/contracts/daemon/command-handler.d.ts +23 -0
- package/dist/schemas/contracts/daemon/command-handler.d.ts.map +1 -0
- package/dist/schemas/contracts/daemon/command-handler.js +2 -0
- package/dist/schemas/contracts/daemon/command-handler.js.map +1 -0
- package/dist/schemas/contracts/daemon/commands/argv/options.d.ts +2 -0
- package/dist/schemas/contracts/daemon/commands/argv/options.d.ts.map +1 -0
- package/dist/schemas/contracts/daemon/commands/argv/options.js +3 -0
- package/dist/schemas/contracts/daemon/commands/argv/options.js.map +1 -0
- package/dist/schemas/contracts/daemon/commands/argv/values.d.ts +4 -0
- package/dist/schemas/contracts/daemon/commands/argv/values.d.ts.map +1 -0
- package/dist/schemas/contracts/daemon/commands/argv/values.js +5 -0
- package/dist/schemas/contracts/daemon/commands/argv/values.js.map +1 -0
- package/dist/schemas/contracts/daemon/commands/doctor.d.ts +9 -0
- package/dist/schemas/contracts/daemon/commands/doctor.d.ts.map +1 -0
- package/dist/schemas/contracts/daemon/commands/doctor.js +9 -0
- package/dist/schemas/contracts/daemon/commands/doctor.js.map +1 -0
- package/dist/schemas/contracts/daemon/commands/query.d.ts +5 -0
- package/dist/schemas/contracts/daemon/commands/query.d.ts.map +1 -0
- package/dist/schemas/contracts/daemon/commands/query.js +3 -0
- package/dist/schemas/contracts/daemon/commands/query.js.map +1 -0
- package/dist/schemas/contracts/daemon/commands/read.d.ts +34 -0
- package/dist/schemas/contracts/daemon/commands/read.d.ts.map +1 -0
- package/dist/schemas/contracts/daemon/commands/read.js +23 -0
- package/dist/schemas/contracts/daemon/commands/read.js.map +1 -0
- package/dist/schemas/contracts/daemon/commands/resolve.d.ts +5 -0
- package/dist/schemas/contracts/daemon/commands/resolve.d.ts.map +1 -0
- package/dist/schemas/contracts/daemon/commands/resolve.js +5 -0
- package/dist/schemas/contracts/daemon/commands/resolve.js.map +1 -0
- package/dist/schemas/contracts/daemon/commands/subscribe.d.ts +20 -0
- package/dist/schemas/contracts/daemon/commands/subscribe.d.ts.map +1 -0
- package/dist/schemas/contracts/daemon/commands/subscribe.js +10 -0
- package/dist/schemas/contracts/daemon/commands/subscribe.js.map +1 -0
- package/dist/schemas/contracts/daemon/commands/write.d.ts +44 -0
- package/dist/schemas/contracts/daemon/commands/write.d.ts.map +1 -0
- package/dist/schemas/contracts/daemon/commands/write.js +19 -0
- package/dist/schemas/contracts/daemon/commands/write.js.map +1 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/config/load.d.ts +3 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/config/load.d.ts.map +1 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/config/load.js +2 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/config/load.js.map +1 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/config/runtime-rpc.config.descriptor.d.ts +7 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/config/runtime-rpc.config.descriptor.d.ts.map +1 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/config/runtime-rpc.config.descriptor.js +6 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/config/runtime-rpc.config.descriptor.js.map +1 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/daemon-execution-host.consumer.d.ts +20 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/daemon-execution-host.consumer.d.ts.map +1 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/daemon-execution-host.consumer.js +5 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/daemon-execution-host.consumer.js.map +1 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/daemon-host/hot-plugin-module.consumer.d.ts +19 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/daemon-host/hot-plugin-module.consumer.d.ts.map +1 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/daemon-host/hot-plugin-module.consumer.js +2 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/daemon-host/hot-plugin-module.consumer.js.map +1 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/daemon.consumer.d.ts +98 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/daemon.consumer.d.ts.map +1 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/daemon.consumer.js +6 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/daemon.consumer.js.map +1 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/execution-host.schemas.d.ts +894 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/execution-host.schemas.d.ts.map +1 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/execution-host.schemas.js +81 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/execution-host.schemas.js.map +1 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/host/hot-plugin-module.consumer.d.ts +19 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/host/hot-plugin-module.consumer.d.ts.map +1 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/host/hot-plugin-module.consumer.js +2 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/host/hot-plugin-module.consumer.js.map +1 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/reclaim.consumer.d.ts +3 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/reclaim.consumer.d.ts.map +1 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/reclaim.consumer.js +2 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/reclaim.consumer.js.map +1 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/runtime-config.d.ts +45 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/runtime-config.d.ts.map +1 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/runtime-config.js +28 -0
- package/dist/schemas/contracts/daemon/hosting/contracts1/runtime-config.js.map +1 -0
- package/dist/schemas/contracts/daemon/hosting/contracts2/runtime-daemon-endpoint.impl.consumer.d.ts +6 -0
- package/dist/schemas/contracts/daemon/hosting/contracts2/runtime-daemon-endpoint.impl.consumer.d.ts.map +1 -0
- package/dist/schemas/contracts/daemon/hosting/contracts2/runtime-daemon-endpoint.impl.consumer.js +2 -0
- package/dist/schemas/contracts/daemon/hosting/contracts2/runtime-daemon-endpoint.impl.consumer.js.map +1 -0
- package/dist/schemas/contracts/daemon/hosting/contracts2/runtime-daemon.socket-path.d.ts +9 -0
- package/dist/schemas/contracts/daemon/hosting/contracts2/runtime-daemon.socket-path.d.ts.map +1 -0
- package/dist/schemas/contracts/daemon/hosting/contracts2/runtime-daemon.socket-path.js +3 -0
- package/dist/schemas/contracts/daemon/hosting/contracts2/runtime-daemon.socket-path.js.map +1 -0
- package/dist/schemas/contracts/daemon/hosting/contracts2/spawn.consumer.d.ts +3 -0
- package/dist/schemas/contracts/daemon/hosting/contracts2/spawn.consumer.d.ts.map +1 -0
- package/dist/schemas/contracts/daemon/hosting/contracts2/spawn.consumer.js +2 -0
- package/dist/schemas/contracts/daemon/hosting/contracts2/spawn.consumer.js.map +1 -0
- package/dist/schemas/contracts/daemon/rpc-root.d.ts +3 -0
- package/dist/schemas/contracts/daemon/rpc-root.d.ts.map +1 -0
- package/dist/schemas/contracts/daemon/rpc-root.js +4 -0
- package/dist/schemas/contracts/daemon/rpc-root.js.map +1 -0
- package/dist/schemas/contracts/daemon/runtime/helpers.d.ts +12 -0
- package/dist/schemas/contracts/daemon/runtime/helpers.d.ts.map +1 -0
- package/dist/schemas/contracts/daemon/runtime/helpers.js +4 -0
- package/dist/schemas/contracts/daemon/runtime/helpers.js.map +1 -0
- package/dist/schemas/contracts/daemon/services/health.d.ts +17 -0
- package/dist/schemas/contracts/daemon/services/health.d.ts.map +1 -0
- package/dist/schemas/contracts/daemon/services/health.js +2 -0
- package/dist/schemas/contracts/daemon/services/health.js.map +1 -0
- package/dist/schemas/contracts/daemon/subscriptions/manager.d.ts +16 -0
- package/dist/schemas/contracts/daemon/subscriptions/manager.d.ts.map +1 -0
- package/dist/schemas/contracts/daemon/subscriptions/manager.js +2 -0
- package/dist/schemas/contracts/daemon/subscriptions/manager.js.map +1 -0
- package/dist/schemas/contracts/pairing/client.consumer.d.ts +31 -0
- package/dist/schemas/contracts/pairing/client.consumer.d.ts.map +1 -0
- package/dist/schemas/contracts/pairing/client.consumer.js +11 -0
- package/dist/schemas/contracts/pairing/client.consumer.js.map +1 -0
- package/dist/schemas/contracts/pairing/json-file-store.consumer.d.ts +11 -0
- package/dist/schemas/contracts/pairing/json-file-store.consumer.d.ts.map +1 -0
- package/dist/schemas/contracts/pairing/json-file-store.consumer.js +2 -0
- package/dist/schemas/contracts/pairing/json-file-store.consumer.js.map +1 -0
- package/dist/schemas/contracts/pairing/machine-identity.consumer.d.ts +12 -0
- package/dist/schemas/contracts/pairing/machine-identity.consumer.d.ts.map +1 -0
- package/dist/schemas/contracts/pairing/machine-identity.consumer.js +6 -0
- package/dist/schemas/contracts/pairing/machine-identity.consumer.js.map +1 -0
- package/dist/schemas/contracts/pairing/runtime-machine-identity.context.impl.consumer.d.ts +10 -0
- package/dist/schemas/contracts/pairing/runtime-machine-identity.context.impl.consumer.d.ts.map +1 -0
- package/dist/schemas/contracts/pairing/runtime-machine-identity.context.impl.consumer.js +2 -0
- package/dist/schemas/contracts/pairing/runtime-machine-identity.context.impl.consumer.js.map +1 -0
- package/dist/schemas/contracts/pairing/runtime-machines.context.impl.consumer.d.ts +6 -0
- package/dist/schemas/contracts/pairing/runtime-machines.context.impl.consumer.d.ts.map +1 -0
- package/dist/schemas/contracts/pairing/runtime-machines.context.impl.consumer.js +2 -0
- package/dist/schemas/contracts/pairing/runtime-machines.context.impl.consumer.js.map +1 -0
- package/dist/schemas/contracts/protocol/failure-describer.d.ts +12 -0
- package/dist/schemas/contracts/protocol/failure-describer.d.ts.map +1 -0
- package/dist/schemas/contracts/protocol/failure-describer.js +10 -0
- package/dist/schemas/contracts/protocol/failure-describer.js.map +1 -0
- package/dist/schemas/contracts/protocol/fetch-failure.d.ts +2 -0
- package/dist/schemas/contracts/protocol/fetch-failure.d.ts.map +1 -0
- package/dist/schemas/contracts/protocol/fetch-failure.js +2 -0
- package/dist/schemas/contracts/protocol/fetch-failure.js.map +1 -0
- package/dist/schemas/contracts/protocol/lifecycle/attempt.d.ts +9 -0
- package/dist/schemas/contracts/protocol/lifecycle/attempt.d.ts.map +1 -0
- package/dist/schemas/contracts/protocol/lifecycle/attempt.js +2 -0
- package/dist/schemas/contracts/protocol/lifecycle/attempt.js.map +1 -0
- package/dist/schemas/contracts/protocol/lifecycle/binding-close.d.ts +9 -0
- package/dist/schemas/contracts/protocol/lifecycle/binding-close.d.ts.map +1 -0
- package/dist/schemas/contracts/protocol/lifecycle/binding-close.js +4 -0
- package/dist/schemas/contracts/protocol/lifecycle/binding-close.js.map +1 -0
- package/dist/schemas/contracts/protocol/lifecycle/channel-close.d.ts +40 -0
- package/dist/schemas/contracts/protocol/lifecycle/channel-close.d.ts.map +1 -0
- package/dist/schemas/contracts/protocol/lifecycle/channel-close.js +14 -0
- package/dist/schemas/contracts/protocol/lifecycle/channel-close.js.map +1 -0
- package/dist/schemas/contracts/protocol/lifecycle/connector.d.ts +55 -0
- package/dist/schemas/contracts/protocol/lifecycle/connector.d.ts.map +1 -0
- package/dist/schemas/contracts/protocol/lifecycle/connector.js +2 -0
- package/dist/schemas/contracts/protocol/lifecycle/connector.js.map +1 -0
- package/dist/schemas/contracts/protocol/lifecycle/stream-credits.d.ts +18 -0
- package/dist/schemas/contracts/protocol/lifecycle/stream-credits.d.ts.map +1 -0
- package/dist/schemas/contracts/protocol/lifecycle/stream-credits.js +2 -0
- package/dist/schemas/contracts/protocol/lifecycle/stream-credits.js.map +1 -0
- package/dist/schemas/contracts/protocol/local-attestation.d.ts +29 -0
- package/dist/schemas/contracts/protocol/local-attestation.d.ts.map +1 -0
- package/dist/schemas/contracts/protocol/local-attestation.js +9 -0
- package/dist/schemas/contracts/protocol/local-attestation.js.map +1 -0
- package/dist/schemas/contracts/protocol/references/advertisement.d.ts +20 -0
- package/dist/schemas/contracts/protocol/references/advertisement.d.ts.map +1 -0
- package/dist/schemas/contracts/protocol/references/advertisement.js +2 -0
- package/dist/schemas/contracts/protocol/references/advertisement.js.map +1 -0
- package/dist/schemas/contracts/protocol/references/caller-input.d.ts +56 -0
- package/dist/schemas/contracts/protocol/references/caller-input.d.ts.map +1 -0
- package/dist/schemas/contracts/protocol/references/caller-input.js +57 -0
- package/dist/schemas/contracts/protocol/references/caller-input.js.map +1 -0
- package/dist/schemas/contracts/protocol/references/consumer.d.ts +57 -0
- package/dist/schemas/contracts/protocol/references/consumer.d.ts.map +1 -0
- package/dist/schemas/contracts/protocol/references/consumer.js +5 -0
- package/dist/schemas/contracts/protocol/references/consumer.js.map +1 -0
- package/dist/schemas/contracts/protocol/references/descriptor-input.d.ts +7 -0
- package/dist/schemas/contracts/protocol/references/descriptor-input.d.ts.map +1 -0
- package/dist/schemas/contracts/protocol/references/descriptor-input.js +2 -0
- package/dist/schemas/contracts/protocol/references/descriptor-input.js.map +1 -0
- package/dist/schemas/contracts/protocol/references/dispatch.d.ts +72 -0
- package/dist/schemas/contracts/protocol/references/dispatch.d.ts.map +1 -0
- package/dist/schemas/contracts/protocol/references/dispatch.js +5 -0
- package/dist/schemas/contracts/protocol/references/dispatch.js.map +1 -0
- package/dist/schemas/contracts/protocol/references/ref-table.d.ts +66 -0
- package/dist/schemas/contracts/protocol/references/ref-table.d.ts.map +1 -0
- package/dist/schemas/contracts/protocol/references/ref-table.js +3 -0
- package/dist/schemas/contracts/protocol/references/ref-table.js.map +1 -0
- package/dist/schemas/contracts/protocol/wire/frame.d.ts +26 -0
- package/dist/schemas/contracts/protocol/wire/frame.d.ts.map +1 -0
- package/dist/schemas/contracts/protocol/wire/frame.js +8 -0
- package/dist/schemas/contracts/protocol/wire/frame.js.map +1 -0
- package/dist/schemas/contracts/protocol/wire/limits.d.ts +2 -0
- package/dist/schemas/contracts/protocol/wire/limits.d.ts.map +1 -0
- package/dist/schemas/contracts/protocol/wire/limits.js +2 -0
- package/dist/schemas/contracts/protocol/wire/limits.js.map +1 -0
- package/dist/schemas/contracts/protocol/wire/reason.d.ts +5 -0
- package/dist/schemas/contracts/protocol/wire/reason.d.ts.map +1 -0
- package/dist/schemas/contracts/protocol/wire/reason.js +5 -0
- package/dist/schemas/contracts/protocol/wire/reason.js.map +1 -0
- package/dist/schemas/contracts/protocol/wire/rpc-data.d.ts +11 -0
- package/dist/schemas/contracts/protocol/wire/rpc-data.d.ts.map +1 -0
- package/dist/schemas/contracts/protocol/wire/rpc-data.js +2 -0
- package/dist/schemas/contracts/protocol/wire/rpc-data.js.map +1 -0
- package/dist/schemas/contracts/protocol/wire/schemas.d.ts +177 -0
- package/dist/schemas/contracts/protocol/wire/schemas.d.ts.map +1 -0
- package/dist/schemas/contracts/protocol/wire/schemas.js +83 -0
- package/dist/schemas/contracts/protocol/wire/schemas.js.map +1 -0
- package/dist/schemas/contracts/protocol/wire/verbs.d.ts +35 -0
- package/dist/schemas/contracts/protocol/wire/verbs.d.ts.map +1 -0
- package/dist/schemas/contracts/protocol/wire/verbs.js +11 -0
- package/dist/schemas/contracts/protocol/wire/verbs.js.map +1 -0
- package/dist/schemas/contracts/protocol/wire/wire-value.d.ts +27 -0
- package/dist/schemas/contracts/protocol/wire/wire-value.d.ts.map +1 -0
- package/dist/schemas/contracts/protocol/wire/wire-value.js +2 -0
- package/dist/schemas/contracts/protocol/wire/wire-value.js.map +1 -0
- package/dist/schemas/contracts/transports/cef/cef-transport.impl.d.ts +21 -0
- package/dist/schemas/contracts/transports/cef/cef-transport.impl.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/cef/cef-transport.impl.js +10 -0
- package/dist/schemas/contracts/transports/cef/cef-transport.impl.js.map +1 -0
- package/dist/schemas/contracts/transports/cef/cef.rpc.descriptor.d.ts +6 -0
- package/dist/schemas/contracts/transports/cef/cef.rpc.descriptor.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/cef/cef.rpc.descriptor.js +4 -0
- package/dist/schemas/contracts/transports/cef/cef.rpc.descriptor.js.map +1 -0
- package/dist/schemas/contracts/transports/cef/contracts.d.ts +191 -0
- package/dist/schemas/contracts/transports/cef/contracts.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/cef/contracts.js +97 -0
- package/dist/schemas/contracts/transports/cef/contracts.js.map +1 -0
- package/dist/schemas/contracts/transports/cef/global-host.d.ts +3 -0
- package/dist/schemas/contracts/transports/cef/global-host.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/cef/global-host.js +3 -0
- package/dist/schemas/contracts/transports/cef/global-host.js.map +1 -0
- package/dist/schemas/contracts/transports/cef/mount.d.ts +15 -0
- package/dist/schemas/contracts/transports/cef/mount.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/cef/mount.js +2 -0
- package/dist/schemas/contracts/transports/cef/mount.js.map +1 -0
- package/dist/schemas/contracts/transports/cef/runtime-rpc-cef.plugin.d.ts +96 -0
- package/dist/schemas/contracts/transports/cef/runtime-rpc-cef.plugin.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/cef/runtime-rpc-cef.plugin.js +14 -0
- package/dist/schemas/contracts/transports/cef/runtime-rpc-cef.plugin.js.map +1 -0
- package/dist/schemas/contracts/transports/http/auth/cors.d.ts +9 -0
- package/dist/schemas/contracts/transports/http/auth/cors.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/http/auth/cors.js +2 -0
- package/dist/schemas/contracts/transports/http/auth/cors.js.map +1 -0
- package/dist/schemas/contracts/transports/http/auth/credential.d.ts +3 -0
- package/dist/schemas/contracts/transports/http/auth/credential.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/http/auth/credential.js +2 -0
- package/dist/schemas/contracts/transports/http/auth/credential.js.map +1 -0
- package/dist/schemas/contracts/transports/http/auth/nonces.d.ts +20 -0
- package/dist/schemas/contracts/transports/http/auth/nonces.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/http/auth/nonces.js +2 -0
- package/dist/schemas/contracts/transports/http/auth/nonces.js.map +1 -0
- package/dist/schemas/contracts/transports/http/auth/redact.d.ts +5 -0
- package/dist/schemas/contracts/transports/http/auth/redact.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/http/auth/redact.js +2 -0
- package/dist/schemas/contracts/transports/http/auth/redact.js.map +1 -0
- package/dist/schemas/contracts/transports/http/auth/token-registry.d.ts +13 -0
- package/dist/schemas/contracts/transports/http/auth/token-registry.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/http/auth/token-registry.js +2 -0
- package/dist/schemas/contracts/transports/http/auth/token-registry.js.map +1 -0
- package/dist/schemas/contracts/transports/http/descriptors/http.rpc.descriptor.d.ts +12 -0
- package/dist/schemas/contracts/transports/http/descriptors/http.rpc.descriptor.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/http/descriptors/http.rpc.descriptor.js +5 -0
- package/dist/schemas/contracts/transports/http/descriptors/http.rpc.descriptor.js.map +1 -0
- package/dist/schemas/contracts/transports/http/http-connection.d.ts +27 -0
- package/dist/schemas/contracts/transports/http/http-connection.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/http/http-connection.js +2 -0
- package/dist/schemas/contracts/transports/http/http-connection.js.map +1 -0
- package/dist/schemas/contracts/transports/http/http-listen-session.d.ts +47 -0
- package/dist/schemas/contracts/transports/http/http-listen-session.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/http/http-listen-session.js +3 -0
- package/dist/schemas/contracts/transports/http/http-listen-session.js.map +1 -0
- package/dist/schemas/contracts/transports/http/http-listen.d.ts +50 -0
- package/dist/schemas/contracts/transports/http/http-listen.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/http/http-listen.js +14 -0
- package/dist/schemas/contracts/transports/http/http-listen.js.map +1 -0
- package/dist/schemas/contracts/transports/http/http-transport.impl.d.ts +130 -0
- package/dist/schemas/contracts/transports/http/http-transport.impl.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/http/http-transport.impl.js +33 -0
- package/dist/schemas/contracts/transports/http/http-transport.impl.js.map +1 -0
- package/dist/schemas/contracts/transports/http/projection-mount.d.ts +43 -0
- package/dist/schemas/contracts/transports/http/projection-mount.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/http/projection-mount.js +14 -0
- package/dist/schemas/contracts/transports/http/projection-mount.js.map +1 -0
- package/dist/schemas/contracts/transports/http/runtime-rpc-http.plugin.d.ts +79 -0
- package/dist/schemas/contracts/transports/http/runtime-rpc-http.plugin.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/http/runtime-rpc-http.plugin.js +5 -0
- package/dist/schemas/contracts/transports/http/runtime-rpc-http.plugin.js.map +1 -0
- package/dist/schemas/contracts/transports/http/wire.d.ts +29 -0
- package/dist/schemas/contracts/transports/http/wire.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/http/wire.js +23 -0
- package/dist/schemas/contracts/transports/http/wire.js.map +1 -0
- package/dist/schemas/contracts/transports/messageport/contracts.d.ts +88 -0
- package/dist/schemas/contracts/transports/messageport/contracts.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/messageport/contracts.js +9 -0
- package/dist/schemas/contracts/transports/messageport/contracts.js.map +1 -0
- package/dist/schemas/contracts/transports/messageport/descriptors/messageport.rpc.descriptor.d.ts +6 -0
- package/dist/schemas/contracts/transports/messageport/descriptors/messageport.rpc.descriptor.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/messageport/descriptors/messageport.rpc.descriptor.js +4 -0
- package/dist/schemas/contracts/transports/messageport/descriptors/messageport.rpc.descriptor.js.map +1 -0
- package/dist/schemas/contracts/transports/messageport/messageport-listener.d.ts +78 -0
- package/dist/schemas/contracts/transports/messageport/messageport-listener.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/messageport/messageport-listener.js +23 -0
- package/dist/schemas/contracts/transports/messageport/messageport-listener.js.map +1 -0
- package/dist/schemas/contracts/transports/messageport/runtime-rpc-messageport.plugin.d.ts +78 -0
- package/dist/schemas/contracts/transports/messageport/runtime-rpc-messageport.plugin.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/messageport/runtime-rpc-messageport.plugin.js +4 -0
- package/dist/schemas/contracts/transports/messageport/runtime-rpc-messageport.plugin.js.map +1 -0
- package/dist/schemas/contracts/transports/relay/descriptors/relay.rpc.descriptor.d.ts +13 -0
- package/dist/schemas/contracts/transports/relay/descriptors/relay.rpc.descriptor.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/relay/descriptors/relay.rpc.descriptor.js +5 -0
- package/dist/schemas/contracts/transports/relay/descriptors/relay.rpc.descriptor.js.map +1 -0
- package/dist/schemas/contracts/transports/relay/relay-connection.d.ts +45 -0
- package/dist/schemas/contracts/transports/relay/relay-connection.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/relay/relay-connection.js +2 -0
- package/dist/schemas/contracts/transports/relay/relay-connection.js.map +1 -0
- package/dist/schemas/contracts/transports/relay/relay-listen-session.d.ts +29 -0
- package/dist/schemas/contracts/transports/relay/relay-listen-session.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/relay/relay-listen-session.js +3 -0
- package/dist/schemas/contracts/transports/relay/relay-listen-session.js.map +1 -0
- package/dist/schemas/contracts/transports/relay/relay-server.d.ts +41 -0
- package/dist/schemas/contracts/transports/relay/relay-server.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/relay/relay-server.js +5 -0
- package/dist/schemas/contracts/transports/relay/relay-server.js.map +1 -0
- package/dist/schemas/contracts/transports/relay/relay-transport.impl.d.ts +118 -0
- package/dist/schemas/contracts/transports/relay/relay-transport.impl.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/relay/relay-transport.impl.js +24 -0
- package/dist/schemas/contracts/transports/relay/relay-transport.impl.js.map +1 -0
- package/dist/schemas/contracts/transports/relay/testing/fake-broker.d.ts +55 -0
- package/dist/schemas/contracts/transports/relay/testing/fake-broker.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/relay/testing/fake-broker.js +25 -0
- package/dist/schemas/contracts/transports/relay/testing/fake-broker.js.map +1 -0
- package/dist/schemas/contracts/transports/relay/wire.d.ts +450 -0
- package/dist/schemas/contracts/transports/relay/wire.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/relay/wire.js +58 -0
- package/dist/schemas/contracts/transports/relay/wire.js.map +1 -0
- package/dist/schemas/contracts/transports/tauri/contracts.d.ts +162 -0
- package/dist/schemas/contracts/transports/tauri/contracts.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/tauri/contracts.js +74 -0
- package/dist/schemas/contracts/transports/tauri/contracts.js.map +1 -0
- package/dist/schemas/contracts/transports/tauri/runtime-rpc-tauri.plugin.d.ts +13 -0
- package/dist/schemas/contracts/transports/tauri/runtime-rpc-tauri.plugin.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/tauri/runtime-rpc-tauri.plugin.js +4 -0
- package/dist/schemas/contracts/transports/tauri/runtime-rpc-tauri.plugin.js.map +1 -0
- package/dist/schemas/contracts/transports/tauri/tauri-transport.impl.d.ts +24 -0
- package/dist/schemas/contracts/transports/tauri/tauri-transport.impl.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/tauri/tauri-transport.impl.js +15 -0
- package/dist/schemas/contracts/transports/tauri/tauri-transport.impl.js.map +1 -0
- package/dist/schemas/contracts/transports/tauri/tauri.rpc.descriptor.d.ts +14 -0
- package/dist/schemas/contracts/transports/tauri/tauri.rpc.descriptor.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/tauri/tauri.rpc.descriptor.js +4 -0
- package/dist/schemas/contracts/transports/tauri/tauri.rpc.descriptor.js.map +1 -0
- package/dist/schemas/contracts/transports/tcp/descriptors/tcp.rpc.descriptor.d.ts +7 -0
- package/dist/schemas/contracts/transports/tcp/descriptors/tcp.rpc.descriptor.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/tcp/descriptors/tcp.rpc.descriptor.js +4 -0
- package/dist/schemas/contracts/transports/tcp/descriptors/tcp.rpc.descriptor.js.map +1 -0
- package/dist/schemas/contracts/transports/tcp/runtime-rpc-tcp.plugin.d.ts +78 -0
- package/dist/schemas/contracts/transports/tcp/runtime-rpc-tcp.plugin.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/tcp/runtime-rpc-tcp.plugin.js +5 -0
- package/dist/schemas/contracts/transports/tcp/runtime-rpc-tcp.plugin.js.map +1 -0
- package/dist/schemas/contracts/transports/tcp/tcp-transport.impl.d.ts +43 -0
- package/dist/schemas/contracts/transports/tcp/tcp-transport.impl.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/tcp/tcp-transport.impl.js +24 -0
- package/dist/schemas/contracts/transports/tcp/tcp-transport.impl.js.map +1 -0
- package/dist/schemas/contracts/transports/unix/descriptors/unix.rpc.descriptor.d.ts +6 -0
- package/dist/schemas/contracts/transports/unix/descriptors/unix.rpc.descriptor.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/unix/descriptors/unix.rpc.descriptor.js +4 -0
- package/dist/schemas/contracts/transports/unix/descriptors/unix.rpc.descriptor.js.map +1 -0
- package/dist/schemas/contracts/transports/unix/in-process.transport.d.ts +61 -0
- package/dist/schemas/contracts/transports/unix/in-process.transport.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/unix/in-process.transport.js +6 -0
- package/dist/schemas/contracts/transports/unix/in-process.transport.js.map +1 -0
- package/dist/schemas/contracts/transports/unix/runtime-rpc-unix.plugin.d.ts +79 -0
- package/dist/schemas/contracts/transports/unix/runtime-rpc-unix.plugin.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/unix/runtime-rpc-unix.plugin.js +5 -0
- package/dist/schemas/contracts/transports/unix/runtime-rpc-unix.plugin.js.map +1 -0
- package/dist/schemas/contracts/transports/unix/socket-codec.d.ts +109 -0
- package/dist/schemas/contracts/transports/unix/socket-codec.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/unix/socket-codec.js +7 -0
- package/dist/schemas/contracts/transports/unix/socket-codec.js.map +1 -0
- package/dist/schemas/contracts/transports/unix/socket-handshake.d.ts +25 -0
- package/dist/schemas/contracts/transports/unix/socket-handshake.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/unix/socket-handshake.js +10 -0
- package/dist/schemas/contracts/transports/unix/socket-handshake.js.map +1 -0
- package/dist/schemas/contracts/transports/unix/socket-listener.d.ts +41 -0
- package/dist/schemas/contracts/transports/unix/socket-listener.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/unix/socket-listener.js +3 -0
- package/dist/schemas/contracts/transports/unix/socket-listener.js.map +1 -0
- package/dist/schemas/contracts/transports/unix/unix-transport.impl.d.ts +42 -0
- package/dist/schemas/contracts/transports/unix/unix-transport.impl.d.ts.map +1 -0
- package/dist/schemas/contracts/transports/unix/unix-transport.impl.js +23 -0
- package/dist/schemas/contracts/transports/unix/unix-transport.impl.js.map +1 -0
- package/dist/schemas/daemon/daemon-client.d.ts +193 -0
- package/dist/schemas/daemon/daemon-client.d.ts.map +1 -0
- package/dist/schemas/daemon/daemon-client.js +62 -0
- package/dist/schemas/daemon/daemon-client.js.map +1 -0
- package/dist/schemas/daemon/daemon-http.d.ts +34 -0
- package/dist/schemas/daemon/daemon-http.d.ts.map +1 -0
- package/dist/schemas/daemon/daemon-http.js +24 -0
- package/dist/schemas/daemon/daemon-http.js.map +1 -0
- package/dist/schemas/daemon/daemon-protocol.d.ts +78 -0
- package/dist/schemas/daemon/daemon-protocol.d.ts.map +1 -0
- package/dist/schemas/daemon/daemon-protocol.js +72 -0
- package/dist/schemas/daemon/daemon-protocol.js.map +1 -0
- package/dist/schemas/daemon/daemon-response.d.ts +42 -0
- package/dist/schemas/daemon/daemon-response.d.ts.map +1 -0
- package/dist/schemas/daemon/daemon-response.js +30 -0
- package/dist/schemas/daemon/daemon-response.js.map +1 -0
- package/dist/schemas/daemon/daemon-runtime.d.ts +5 -0
- package/dist/schemas/daemon/daemon-runtime.d.ts.map +1 -0
- package/dist/schemas/daemon/daemon-runtime.js +2 -0
- package/dist/schemas/daemon/daemon-runtime.js.map +1 -0
- package/dist/schemas/daemon/daemon-supervisor.d.ts +163 -0
- package/dist/schemas/daemon/daemon-supervisor.d.ts.map +1 -0
- package/dist/schemas/daemon/daemon-supervisor.js +113 -0
- package/dist/schemas/daemon/daemon-supervisor.js.map +1 -0
- package/dist/schemas/daemon/daemon-watchers.d.ts +18 -0
- package/dist/schemas/daemon/daemon-watchers.d.ts.map +1 -0
- package/dist/schemas/daemon/daemon-watchers.js +12 -0
- package/dist/schemas/daemon/daemon-watchers.js.map +1 -0
- package/dist/schemas/descriptor-wire.d.ts +14 -0
- package/dist/schemas/descriptor-wire.d.ts.map +1 -0
- package/dist/schemas/descriptor-wire.js +24 -0
- package/dist/schemas/descriptor-wire.js.map +1 -0
- package/dist/schemas/execution/wire-process.d.ts +17 -0
- package/dist/schemas/execution/wire-process.d.ts.map +1 -0
- package/dist/schemas/execution/wire-process.js +22 -0
- package/dist/schemas/execution/wire-process.js.map +1 -0
- package/dist/schemas/invoke-support.d.ts +16 -0
- package/dist/schemas/invoke-support.d.ts.map +1 -0
- package/dist/schemas/invoke-support.js +16 -0
- package/dist/schemas/invoke-support.js.map +1 -0
- package/dist/schemas/invoke.d.ts +54 -0
- package/dist/schemas/invoke.d.ts.map +1 -0
- package/dist/schemas/invoke.js +23 -0
- package/dist/schemas/invoke.js.map +1 -0
- package/dist/schemas/pairing.d.ts +118 -0
- package/dist/schemas/pairing.d.ts.map +1 -0
- package/dist/schemas/pairing.js +24 -0
- package/dist/schemas/pairing.js.map +1 -0
- package/dist/transports/cef/contracts1/cef-bounds.d.ts +3 -0
- package/dist/transports/cef/contracts1/cef-bounds.d.ts.map +1 -0
- package/dist/transports/cef/contracts1/cef-bounds.js +10 -0
- package/dist/transports/cef/contracts1/cef-bounds.js.map +1 -0
- package/dist/transports/cef/contracts1/cef-channel.d.ts +33 -0
- package/dist/transports/cef/contracts1/cef-channel.d.ts.map +1 -0
- package/dist/transports/cef/contracts1/cef-channel.js +129 -0
- package/dist/transports/cef/contracts1/cef-channel.js.map +1 -0
- package/dist/transports/cef/contracts1/cef-connection.d.ts +23 -0
- package/dist/transports/cef/contracts1/cef-connection.d.ts.map +1 -0
- package/dist/transports/cef/contracts1/cef-connection.js +207 -0
- package/dist/transports/cef/contracts1/cef-connection.js.map +1 -0
- package/dist/transports/cef/contracts1/cef-streams.d.ts +55 -0
- package/dist/transports/cef/contracts1/cef-streams.d.ts.map +1 -0
- package/dist/transports/cef/contracts1/cef-streams.js +160 -0
- package/dist/transports/cef/contracts1/cef-streams.js.map +1 -0
- package/dist/transports/cef/contracts1/cef-transport.impl.d.ts +16 -0
- package/dist/transports/cef/contracts1/cef-transport.impl.d.ts.map +1 -0
- package/dist/transports/cef/contracts1/cef-transport.impl.js +63 -0
- package/dist/transports/cef/contracts1/cef-transport.impl.js.map +1 -0
- package/dist/transports/cef/contracts1/cef.rpc.descriptor.d.ts +5 -0
- package/dist/transports/cef/contracts1/cef.rpc.descriptor.d.ts.map +1 -0
- package/dist/transports/cef/contracts1/cef.rpc.descriptor.js +18 -0
- package/dist/transports/cef/contracts1/cef.rpc.descriptor.js.map +1 -0
- package/dist/transports/cef/contracts1/contracts.d.ts +35 -0
- package/dist/transports/cef/contracts1/contracts.d.ts.map +1 -0
- package/dist/transports/cef/contracts1/contracts.js +29 -0
- package/dist/transports/cef/contracts1/contracts.js.map +1 -0
- package/dist/transports/cef/contracts2/global-host.d.ts +17 -0
- package/dist/transports/cef/contracts2/global-host.d.ts.map +1 -0
- package/dist/transports/cef/contracts2/global-host.js +65 -0
- package/dist/transports/cef/contracts2/global-host.js.map +1 -0
- package/dist/transports/cef/contracts2/index.d.ts +8 -0
- package/dist/transports/cef/contracts2/index.d.ts.map +1 -0
- package/dist/transports/cef/contracts2/index.js +8 -0
- package/dist/transports/cef/contracts2/index.js.map +1 -0
- package/dist/transports/cef/contracts2/mount.d.ts +7 -0
- package/dist/transports/cef/contracts2/mount.d.ts.map +1 -0
- package/dist/transports/cef/contracts2/mount.js +63 -0
- package/dist/transports/cef/contracts2/mount.js.map +1 -0
- package/dist/transports/cef/contracts2/projection-controller.d.ts +39 -0
- package/dist/transports/cef/contracts2/projection-controller.d.ts.map +1 -0
- package/dist/transports/cef/contracts2/projection-controller.js +129 -0
- package/dist/transports/cef/contracts2/projection-controller.js.map +1 -0
- package/dist/transports/cef/contracts2/runtime-rpc-cef.plugin.d.ts +13 -0
- package/dist/transports/cef/contracts2/runtime-rpc-cef.plugin.d.ts.map +1 -0
- package/dist/transports/cef/contracts2/runtime-rpc-cef.plugin.js +79 -0
- package/dist/transports/cef/contracts2/runtime-rpc-cef.plugin.js.map +1 -0
- package/dist/transports/http/auth/cors.d.ts +25 -0
- package/dist/transports/http/auth/cors.d.ts.map +1 -0
- package/dist/transports/http/auth/cors.js +81 -0
- package/dist/transports/http/auth/cors.js.map +1 -0
- package/dist/transports/http/auth/credential.d.ts +11 -0
- package/dist/transports/http/auth/credential.d.ts.map +1 -0
- package/dist/transports/http/auth/credential.js +38 -0
- package/dist/transports/http/auth/credential.js.map +1 -0
- package/dist/transports/http/auth/nonces.d.ts +31 -0
- package/dist/transports/http/auth/nonces.d.ts.map +1 -0
- package/dist/transports/http/auth/nonces.js +70 -0
- package/dist/transports/http/auth/nonces.js.map +1 -0
- package/dist/transports/http/auth/redact.d.ts +17 -0
- package/dist/transports/http/auth/redact.d.ts.map +1 -0
- package/dist/transports/http/auth/redact.js +60 -0
- package/dist/transports/http/auth/redact.js.map +1 -0
- package/dist/transports/http/auth/token-registry.d.ts +22 -0
- package/dist/transports/http/auth/token-registry.d.ts.map +1 -0
- package/dist/transports/http/auth/token-registry.js +30 -0
- package/dist/transports/http/auth/token-registry.js.map +1 -0
- package/dist/transports/http/consumer/connect-http.d.ts +8 -0
- package/dist/transports/http/consumer/connect-http.d.ts.map +1 -0
- package/dist/transports/http/consumer/connect-http.js +137 -0
- package/dist/transports/http/consumer/connect-http.js.map +1 -0
- package/dist/transports/http/consumer/http-channel.d.ts +51 -0
- package/dist/transports/http/consumer/http-channel.d.ts.map +1 -0
- package/dist/transports/http/consumer/http-channel.js +173 -0
- package/dist/transports/http/consumer/http-channel.js.map +1 -0
- package/dist/transports/http/consumer/http-connection.d.ts +57 -0
- package/dist/transports/http/consumer/http-connection.d.ts.map +1 -0
- package/dist/transports/http/consumer/http-connection.js +268 -0
- package/dist/transports/http/consumer/http-connection.js.map +1 -0
- package/dist/transports/http/consumer/http-headers.d.ts +3 -0
- package/dist/transports/http/consumer/http-headers.d.ts.map +1 -0
- package/dist/transports/http/consumer/http-headers.js +5 -0
- package/dist/transports/http/consumer/http-headers.js.map +1 -0
- package/dist/transports/http/daemon-endpoints.consumer.plugin.d.ts +4 -0
- package/dist/transports/http/daemon-endpoints.consumer.plugin.d.ts.map +1 -0
- package/dist/transports/http/daemon-endpoints.consumer.plugin.js +41 -0
- package/dist/transports/http/daemon-endpoints.consumer.plugin.js.map +1 -0
- package/dist/transports/http/descriptors/http.rpc.descriptor.d.ts +6 -0
- package/dist/transports/http/descriptors/http.rpc.descriptor.d.ts.map +1 -0
- package/dist/transports/http/descriptors/http.rpc.descriptor.js +34 -0
- package/dist/transports/http/descriptors/http.rpc.descriptor.js.map +1 -0
- package/dist/transports/http/endpoints/daemon-endpoint.kind.d.ts +6 -0
- package/dist/transports/http/endpoints/daemon-endpoint.kind.d.ts.map +1 -0
- package/dist/transports/http/endpoints/daemon-endpoint.kind.js +26 -0
- package/dist/transports/http/endpoints/daemon-endpoint.kind.js.map +1 -0
- package/dist/transports/http/endpoints/health.descriptor.d.ts +29 -0
- package/dist/transports/http/endpoints/health.descriptor.d.ts.map +1 -0
- package/dist/transports/http/endpoints/health.descriptor.js +13 -0
- package/dist/transports/http/endpoints/health.descriptor.js.map +1 -0
- package/dist/transports/http/endpoints/health.impl.consumer.d.ts +3 -0
- package/dist/transports/http/endpoints/health.impl.consumer.d.ts.map +1 -0
- package/dist/transports/http/endpoints/health.impl.consumer.js +24 -0
- package/dist/transports/http/endpoints/health.impl.consumer.js.map +1 -0
- package/dist/transports/http/endpoints/index.d.ts +5 -0
- package/dist/transports/http/endpoints/index.d.ts.map +1 -0
- package/dist/transports/http/endpoints/index.js +5 -0
- package/dist/transports/http/endpoints/index.js.map +1 -0
- package/dist/transports/http/endpoints/mcp.descriptor.d.ts +29 -0
- package/dist/transports/http/endpoints/mcp.descriptor.d.ts.map +1 -0
- package/dist/transports/http/endpoints/mcp.descriptor.js +13 -0
- package/dist/transports/http/endpoints/mcp.descriptor.js.map +1 -0
- package/dist/transports/http/endpoints/mcp.impl.consumer.d.ts +3 -0
- package/dist/transports/http/endpoints/mcp.impl.consumer.d.ts.map +1 -0
- package/dist/transports/http/endpoints/mcp.impl.consumer.js +16 -0
- package/dist/transports/http/endpoints/mcp.impl.consumer.js.map +1 -0
- package/dist/transports/http/http-implementation.d.ts +14 -0
- package/dist/transports/http/http-implementation.d.ts.map +1 -0
- package/dist/transports/http/http-implementation.js +26 -0
- package/dist/transports/http/http-implementation.js.map +1 -0
- package/dist/transports/http/index.d.ts +34 -0
- package/dist/transports/http/index.d.ts.map +1 -0
- package/dist/transports/http/index.js +39 -0
- package/dist/transports/http/index.js.map +1 -0
- package/dist/transports/http/listener/body.d.ts +8 -0
- package/dist/transports/http/listener/body.d.ts.map +1 -0
- package/dist/transports/http/listener/body.js +52 -0
- package/dist/transports/http/listener/body.js.map +1 -0
- package/dist/transports/http/listener/http-bindings.d.ts +82 -0
- package/dist/transports/http/listener/http-bindings.d.ts.map +1 -0
- package/dist/transports/http/listener/http-bindings.js +234 -0
- package/dist/transports/http/listener/http-bindings.js.map +1 -0
- package/dist/transports/http/listener/http-listen-session.d.ts +43 -0
- package/dist/transports/http/listener/http-listen-session.d.ts.map +1 -0
- package/dist/transports/http/listener/http-listen-session.js +123 -0
- package/dist/transports/http/listener/http-listen-session.js.map +1 -0
- package/dist/transports/http/listener/http-listen.d.ts +8 -0
- package/dist/transports/http/listener/http-listen.d.ts.map +1 -0
- package/dist/transports/http/listener/http-listen.js +62 -0
- package/dist/transports/http/listener/http-listen.js.map +1 -0
- package/dist/transports/http/listener/http-sessions.d.ts +59 -0
- package/dist/transports/http/listener/http-sessions.d.ts.map +1 -0
- package/dist/transports/http/listener/http-sessions.js +186 -0
- package/dist/transports/http/listener/http-sessions.js.map +1 -0
- package/dist/transports/http/listener/http-transport.impl.d.ts +36 -0
- package/dist/transports/http/listener/http-transport.impl.d.ts.map +1 -0
- package/dist/transports/http/listener/http-transport.impl.js +188 -0
- package/dist/transports/http/listener/http-transport.impl.js.map +1 -0
- package/dist/transports/http/listener/projection-mount.d.ts +9 -0
- package/dist/transports/http/listener/projection-mount.d.ts.map +1 -0
- package/dist/transports/http/listener/projection-mount.js +78 -0
- package/dist/transports/http/listener/projection-mount.js.map +1 -0
- package/dist/transports/http/listener/projection-owner.d.ts +6 -0
- package/dist/transports/http/listener/projection-owner.d.ts.map +1 -0
- package/dist/transports/http/listener/projection-owner.js +85 -0
- package/dist/transports/http/listener/projection-owner.js.map +1 -0
- package/dist/transports/http/listener/reverse-response.d.ts +4 -0
- package/dist/transports/http/listener/reverse-response.d.ts.map +1 -0
- package/dist/transports/http/listener/reverse-response.js +27 -0
- package/dist/transports/http/listener/reverse-response.js.map +1 -0
- package/dist/transports/http/listener/stream-response.d.ts +3 -0
- package/dist/transports/http/listener/stream-response.d.ts.map +1 -0
- package/dist/transports/http/listener/stream-response.js +52 -0
- package/dist/transports/http/listener/stream-response.js.map +1 -0
- package/dist/transports/http/runtime-rpc-http.plugin.d.ts +41 -0
- package/dist/transports/http/runtime-rpc-http.plugin.d.ts.map +1 -0
- package/dist/transports/http/runtime-rpc-http.plugin.js +70 -0
- package/dist/transports/http/runtime-rpc-http.plugin.js.map +1 -0
- package/dist/transports/http/schemas/daemon-endpoint.d.ts +83 -0
- package/dist/transports/http/schemas/daemon-endpoint.d.ts.map +1 -0
- package/dist/transports/http/schemas/daemon-endpoint.js +32 -0
- package/dist/transports/http/schemas/daemon-endpoint.js.map +1 -0
- package/dist/transports/http/wire.d.ts +52 -0
- package/dist/transports/http/wire.d.ts.map +1 -0
- package/dist/transports/http/wire.js +62 -0
- package/dist/transports/http/wire.js.map +1 -0
- package/dist/transports/messageport/applet-callbacks.d.ts +10 -0
- package/dist/transports/messageport/applet-callbacks.d.ts.map +1 -0
- package/dist/transports/messageport/applet-callbacks.js +11 -0
- package/dist/transports/messageport/applet-callbacks.js.map +1 -0
- package/dist/transports/messageport/connection/contracts.d.ts +41 -0
- package/dist/transports/messageport/connection/contracts.d.ts.map +1 -0
- package/dist/transports/messageport/connection/contracts.js +46 -0
- package/dist/transports/messageport/connection/contracts.js.map +1 -0
- package/dist/transports/messageport/connection/messageport-inbox.d.ts +37 -0
- package/dist/transports/messageport/connection/messageport-inbox.d.ts.map +1 -0
- package/dist/transports/messageport/connection/messageport-inbox.js +122 -0
- package/dist/transports/messageport/connection/messageport-inbox.js.map +1 -0
- package/dist/transports/messageport/descriptors/messageport.rpc.descriptor.d.ts +12 -0
- package/dist/transports/messageport/descriptors/messageport.rpc.descriptor.d.ts.map +1 -0
- package/dist/transports/messageport/descriptors/messageport.rpc.descriptor.js +25 -0
- package/dist/transports/messageport/descriptors/messageport.rpc.descriptor.js.map +1 -0
- package/dist/transports/messageport/docs/runtime-rpc-messageport.docs.descriptor.d.ts +4 -0
- package/dist/transports/messageport/docs/runtime-rpc-messageport.docs.descriptor.d.ts.map +1 -0
- package/dist/transports/messageport/docs/runtime-rpc-messageport.docs.descriptor.js +63 -0
- package/dist/transports/messageport/docs/runtime-rpc-messageport.docs.descriptor.js.map +1 -0
- package/dist/transports/messageport/index.d.ts +16 -0
- package/dist/transports/messageport/index.d.ts.map +1 -0
- package/dist/transports/messageport/index.js +16 -0
- package/dist/transports/messageport/index.js.map +1 -0
- package/dist/transports/messageport/messageport-connection.d.ts +9 -0
- package/dist/transports/messageport/messageport-connection.d.ts.map +1 -0
- package/dist/transports/messageport/messageport-connection.js +82 -0
- package/dist/transports/messageport/messageport-connection.js.map +1 -0
- package/dist/transports/messageport/messageport-listener.d.ts +14 -0
- package/dist/transports/messageport/messageport-listener.d.ts.map +1 -0
- package/dist/transports/messageport/messageport-listener.js +162 -0
- package/dist/transports/messageport/messageport-listener.js.map +1 -0
- package/dist/transports/messageport/runtime-rpc-messageport.plugin.d.ts +8 -0
- package/dist/transports/messageport/runtime-rpc-messageport.plugin.d.ts.map +1 -0
- package/dist/transports/messageport/runtime-rpc-messageport.plugin.js +38 -0
- package/dist/transports/messageport/runtime-rpc-messageport.plugin.js.map +1 -0
- package/dist/transports/relay/consumer/relay-channel.d.ts +48 -0
- package/dist/transports/relay/consumer/relay-channel.d.ts.map +1 -0
- package/dist/transports/relay/consumer/relay-channel.js +179 -0
- package/dist/transports/relay/consumer/relay-channel.js.map +1 -0
- package/dist/transports/relay/consumer/relay-connection.d.ts +36 -0
- package/dist/transports/relay/consumer/relay-connection.d.ts.map +1 -0
- package/dist/transports/relay/consumer/relay-connection.js +190 -0
- package/dist/transports/relay/consumer/relay-connection.js.map +1 -0
- package/dist/transports/relay/consumer/relay-exchange.d.ts +49 -0
- package/dist/transports/relay/consumer/relay-exchange.d.ts.map +1 -0
- package/dist/transports/relay/consumer/relay-exchange.js +189 -0
- package/dist/transports/relay/consumer/relay-exchange.js.map +1 -0
- package/dist/transports/relay/consumer/relay-headers.d.ts +4 -0
- package/dist/transports/relay/consumer/relay-headers.d.ts.map +1 -0
- package/dist/transports/relay/consumer/relay-headers.js +6 -0
- package/dist/transports/relay/consumer/relay-headers.js.map +1 -0
- package/dist/transports/relay/descriptors/relay.rpc.descriptor.d.ts +6 -0
- package/dist/transports/relay/descriptors/relay.rpc.descriptor.d.ts.map +1 -0
- package/dist/transports/relay/descriptors/relay.rpc.descriptor.js +31 -0
- package/dist/transports/relay/descriptors/relay.rpc.descriptor.js.map +1 -0
- package/dist/transports/relay/index.d.ts +28 -0
- package/dist/transports/relay/index.d.ts.map +1 -0
- package/dist/transports/relay/index.js +38 -0
- package/dist/transports/relay/index.js.map +1 -0
- package/dist/transports/relay/listener/consumer-table.d.ts +17 -0
- package/dist/transports/relay/listener/consumer-table.d.ts.map +1 -0
- package/dist/transports/relay/listener/consumer-table.js +9 -0
- package/dist/transports/relay/listener/consumer-table.js.map +1 -0
- package/dist/transports/relay/listener/relay-adapter.d.ts +15 -0
- package/dist/transports/relay/listener/relay-adapter.d.ts.map +1 -0
- package/dist/transports/relay/listener/relay-adapter.js +81 -0
- package/dist/transports/relay/listener/relay-adapter.js.map +1 -0
- package/dist/transports/relay/listener/relay-consumers.d.ts +72 -0
- package/dist/transports/relay/listener/relay-consumers.d.ts.map +1 -0
- package/dist/transports/relay/listener/relay-consumers.js +193 -0
- package/dist/transports/relay/listener/relay-consumers.js.map +1 -0
- package/dist/transports/relay/listener/relay-listen-session.d.ts +27 -0
- package/dist/transports/relay/listener/relay-listen-session.d.ts.map +1 -0
- package/dist/transports/relay/listener/relay-listen-session.js +207 -0
- package/dist/transports/relay/listener/relay-listen-session.js.map +1 -0
- package/dist/transports/relay/listener/reverse-proxy.d.ts +7 -0
- package/dist/transports/relay/listener/reverse-proxy.d.ts.map +1 -0
- package/dist/transports/relay/listener/reverse-proxy.js +106 -0
- package/dist/transports/relay/listener/reverse-proxy.js.map +1 -0
- package/dist/transports/relay/relay-rpc-loader.d.ts +9 -0
- package/dist/transports/relay/relay-rpc-loader.d.ts.map +1 -0
- package/dist/transports/relay/relay-rpc-loader.js +30 -0
- package/dist/transports/relay/relay-rpc-loader.js.map +1 -0
- package/dist/transports/relay/relay-server.d.ts +58 -0
- package/dist/transports/relay/relay-server.d.ts.map +1 -0
- package/dist/transports/relay/relay-server.js +86 -0
- package/dist/transports/relay/relay-server.js.map +1 -0
- package/dist/transports/relay/relay-transport.impl.d.ts +35 -0
- package/dist/transports/relay/relay-transport.impl.d.ts.map +1 -0
- package/dist/transports/relay/relay-transport.impl.js +177 -0
- package/dist/transports/relay/relay-transport.impl.js.map +1 -0
- package/dist/transports/relay/testing/broker-routing.d.ts +40 -0
- package/dist/transports/relay/testing/broker-routing.d.ts.map +1 -0
- package/dist/transports/relay/testing/broker-routing.js +136 -0
- package/dist/transports/relay/testing/broker-routing.js.map +1 -0
- package/dist/transports/relay/testing/broker-socket.d.ts +41 -0
- package/dist/transports/relay/testing/broker-socket.d.ts.map +1 -0
- package/dist/transports/relay/testing/broker-socket.js +62 -0
- package/dist/transports/relay/testing/broker-socket.js.map +1 -0
- package/dist/transports/relay/testing/fake-broker.d.ts +13 -0
- package/dist/transports/relay/testing/fake-broker.d.ts.map +1 -0
- package/dist/transports/relay/testing/fake-broker.js +197 -0
- package/dist/transports/relay/testing/fake-broker.js.map +1 -0
- package/dist/transports/relay/testing/index.d.ts +16 -0
- package/dist/transports/relay/testing/index.d.ts.map +1 -0
- package/dist/transports/relay/testing/index.js +16 -0
- package/dist/transports/relay/testing/index.js.map +1 -0
- package/dist/transports/relay/wire.d.ts +35 -0
- package/dist/transports/relay/wire.d.ts.map +1 -0
- package/dist/transports/relay/wire.js +84 -0
- package/dist/transports/relay/wire.js.map +1 -0
- package/dist/transports/tauri/contracts1/contracts.d.ts +11 -0
- package/dist/transports/tauri/contracts1/contracts.d.ts.map +1 -0
- package/dist/transports/tauri/contracts1/contracts.js +7 -0
- package/dist/transports/tauri/contracts1/contracts.js.map +1 -0
- package/dist/transports/tauri/contracts1/docs/runtime-rpc-tauri.docs.descriptor.d.ts +4 -0
- package/dist/transports/tauri/contracts1/docs/runtime-rpc-tauri.docs.descriptor.d.ts.map +1 -0
- package/dist/transports/tauri/contracts1/docs/runtime-rpc-tauri.docs.descriptor.js +80 -0
- package/dist/transports/tauri/contracts1/docs/runtime-rpc-tauri.docs.descriptor.js.map +1 -0
- package/dist/transports/tauri/contracts1/index.d.ts +6 -0
- package/dist/transports/tauri/contracts1/index.d.ts.map +1 -0
- package/dist/transports/tauri/contracts1/index.js +6 -0
- package/dist/transports/tauri/contracts1/index.js.map +1 -0
- package/dist/transports/tauri/contracts1/runtime-rpc-tauri.plugin.d.ts +7 -0
- package/dist/transports/tauri/contracts1/runtime-rpc-tauri.plugin.d.ts.map +1 -0
- package/dist/transports/tauri/contracts1/runtime-rpc-tauri.plugin.js +37 -0
- package/dist/transports/tauri/contracts1/runtime-rpc-tauri.plugin.js.map +1 -0
- package/dist/transports/tauri/contracts1/tauri-bounds.d.ts +3 -0
- package/dist/transports/tauri/contracts1/tauri-bounds.d.ts.map +1 -0
- package/dist/transports/tauri/contracts1/tauri-bounds.js +10 -0
- package/dist/transports/tauri/contracts1/tauri-bounds.js.map +1 -0
- package/dist/transports/tauri/contracts1/tauri-channel.d.ts +27 -0
- package/dist/transports/tauri/contracts1/tauri-channel.d.ts.map +1 -0
- package/dist/transports/tauri/contracts1/tauri-channel.js +111 -0
- package/dist/transports/tauri/contracts1/tauri-channel.js.map +1 -0
- package/dist/transports/tauri/contracts1/tauri-connection.d.ts +22 -0
- package/dist/transports/tauri/contracts1/tauri-connection.d.ts.map +1 -0
- package/dist/transports/tauri/contracts1/tauri-connection.js +168 -0
- package/dist/transports/tauri/contracts1/tauri-connection.js.map +1 -0
- package/dist/transports/tauri/contracts2/tauri-streams.d.ts +38 -0
- package/dist/transports/tauri/contracts2/tauri-streams.d.ts.map +1 -0
- package/dist/transports/tauri/contracts2/tauri-streams.js +110 -0
- package/dist/transports/tauri/contracts2/tauri-streams.js.map +1 -0
- package/dist/transports/tauri/contracts2/tauri-transport.impl.d.ts +16 -0
- package/dist/transports/tauri/contracts2/tauri-transport.impl.d.ts.map +1 -0
- package/dist/transports/tauri/contracts2/tauri-transport.impl.js +46 -0
- package/dist/transports/tauri/contracts2/tauri-transport.impl.js.map +1 -0
- package/dist/transports/tauri/contracts2/tauri.rpc.descriptor.d.ts +6 -0
- package/dist/transports/tauri/contracts2/tauri.rpc.descriptor.d.ts.map +1 -0
- package/dist/transports/tauri/contracts2/tauri.rpc.descriptor.js +20 -0
- package/dist/transports/tauri/contracts2/tauri.rpc.descriptor.js.map +1 -0
- package/dist/transports/tcp/connect-tcp.d.ts +12 -0
- package/dist/transports/tcp/connect-tcp.d.ts.map +1 -0
- package/dist/transports/tcp/connect-tcp.js +51 -0
- package/dist/transports/tcp/connect-tcp.js.map +1 -0
- package/dist/transports/tcp/descriptors/tcp.rpc.descriptor.d.ts +10 -0
- package/dist/transports/tcp/descriptors/tcp.rpc.descriptor.d.ts.map +1 -0
- package/dist/transports/tcp/descriptors/tcp.rpc.descriptor.js +24 -0
- package/dist/transports/tcp/descriptors/tcp.rpc.descriptor.js.map +1 -0
- package/dist/transports/tcp/index.d.ts +13 -0
- package/dist/transports/tcp/index.d.ts.map +1 -0
- package/dist/transports/tcp/index.js +13 -0
- package/dist/transports/tcp/index.js.map +1 -0
- package/dist/transports/tcp/runtime-rpc-tcp.plugin.d.ts +8 -0
- package/dist/transports/tcp/runtime-rpc-tcp.plugin.d.ts.map +1 -0
- package/dist/transports/tcp/runtime-rpc-tcp.plugin.js +37 -0
- package/dist/transports/tcp/runtime-rpc-tcp.plugin.js.map +1 -0
- package/dist/transports/tcp/tcp-transport.impl.d.ts +25 -0
- package/dist/transports/tcp/tcp-transport.impl.d.ts.map +1 -0
- package/dist/transports/tcp/tcp-transport.impl.js +103 -0
- package/dist/transports/tcp/tcp-transport.impl.js.map +1 -0
- package/dist/transports/unix/codec/record-parser.d.ts +28 -0
- package/dist/transports/unix/codec/record-parser.d.ts.map +1 -0
- package/dist/transports/unix/codec/record-parser.js +119 -0
- package/dist/transports/unix/codec/record-parser.js.map +1 -0
- package/dist/transports/unix/codec/socket-codec.d.ts +57 -0
- package/dist/transports/unix/codec/socket-codec.d.ts.map +1 -0
- package/dist/transports/unix/codec/socket-codec.js +122 -0
- package/dist/transports/unix/codec/socket-codec.js.map +1 -0
- package/dist/transports/unix/codec/socket-writer.d.ts +16 -0
- package/dist/transports/unix/codec/socket-writer.d.ts.map +1 -0
- package/dist/transports/unix/codec/socket-writer.js +69 -0
- package/dist/transports/unix/codec/socket-writer.js.map +1 -0
- package/dist/transports/unix/consumer/connect-unix.d.ts +12 -0
- package/dist/transports/unix/consumer/connect-unix.d.ts.map +1 -0
- package/dist/transports/unix/consumer/connect-unix.js +51 -0
- package/dist/transports/unix/consumer/connect-unix.js.map +1 -0
- package/dist/transports/unix/consumer/socket-channel.d.ts +45 -0
- package/dist/transports/unix/consumer/socket-channel.d.ts.map +1 -0
- package/dist/transports/unix/consumer/socket-channel.js +125 -0
- package/dist/transports/unix/consumer/socket-channel.js.map +1 -0
- package/dist/transports/unix/consumer/socket-connection.d.ts +42 -0
- package/dist/transports/unix/consumer/socket-connection.d.ts.map +1 -0
- package/dist/transports/unix/consumer/socket-connection.js +221 -0
- package/dist/transports/unix/consumer/socket-connection.js.map +1 -0
- package/dist/transports/unix/descriptors/unix.rpc.descriptor.d.ts +17 -0
- package/dist/transports/unix/descriptors/unix.rpc.descriptor.d.ts.map +1 -0
- package/dist/transports/unix/descriptors/unix.rpc.descriptor.js +31 -0
- package/dist/transports/unix/descriptors/unix.rpc.descriptor.js.map +1 -0
- package/dist/transports/unix/in-process/in-process-channel.d.ts +11 -0
- package/dist/transports/unix/in-process/in-process-channel.d.ts.map +1 -0
- package/dist/transports/unix/in-process/in-process-channel.js +126 -0
- package/dist/transports/unix/in-process/in-process-channel.js.map +1 -0
- package/dist/transports/unix/in-process/in-process.transport.d.ts +13 -0
- package/dist/transports/unix/in-process/in-process.transport.d.ts.map +1 -0
- package/dist/transports/unix/in-process/in-process.transport.js +119 -0
- package/dist/transports/unix/in-process/in-process.transport.js.map +1 -0
- package/dist/transports/unix/index.d.ts +25 -0
- package/dist/transports/unix/index.d.ts.map +1 -0
- package/dist/transports/unix/index.js +29 -0
- package/dist/transports/unix/index.js.map +1 -0
- package/dist/transports/unix/listener/socket-bindings.d.ts +38 -0
- package/dist/transports/unix/listener/socket-bindings.d.ts.map +1 -0
- package/dist/transports/unix/listener/socket-bindings.js +187 -0
- package/dist/transports/unix/listener/socket-bindings.js.map +1 -0
- package/dist/transports/unix/listener/socket-listener.d.ts +21 -0
- package/dist/transports/unix/listener/socket-listener.d.ts.map +1 -0
- package/dist/transports/unix/listener/socket-listener.js +202 -0
- package/dist/transports/unix/listener/socket-listener.js.map +1 -0
- package/dist/transports/unix/listener/socket-state.d.ts +140 -0
- package/dist/transports/unix/listener/socket-state.d.ts.map +1 -0
- package/dist/transports/unix/listener/socket-state.js +102 -0
- package/dist/transports/unix/listener/socket-state.js.map +1 -0
- package/dist/transports/unix/runtime-rpc-unix.plugin.d.ts +8 -0
- package/dist/transports/unix/runtime-rpc-unix.plugin.d.ts.map +1 -0
- package/dist/transports/unix/runtime-rpc-unix.plugin.js +37 -0
- package/dist/transports/unix/runtime-rpc-unix.plugin.js.map +1 -0
- package/dist/transports/unix/socket-handshake.d.ts +23 -0
- package/dist/transports/unix/socket-handshake.d.ts.map +1 -0
- package/dist/transports/unix/socket-handshake.js +156 -0
- package/dist/transports/unix/socket-handshake.js.map +1 -0
- package/dist/transports/unix/unix-transport.impl.d.ts +31 -0
- package/dist/transports/unix/unix-transport.impl.d.ts.map +1 -0
- package/dist/transports/unix/unix-transport.impl.js +103 -0
- package/dist/transports/unix/unix-transport.impl.js.map +1 -0
- package/package.json +315 -4
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @vibesdotdev/kernel-rpc/unix
|
|
3
|
+
*
|
|
4
|
+
* The in-process + unix-socket transport for the `runtime/rpc` kind (PHASE 3).
|
|
5
|
+
*
|
|
6
|
+
* - in-process: two connection ends wired directly (no socket) — the substrate
|
|
7
|
+
* the no-leak acceptance bar validates against FIRST.
|
|
8
|
+
* - unix: `connect()`/`listen()` over the runtime socket capability
|
|
9
|
+
* (`@vibesdotdev/kernel/socket`: a Unix domain socket, or a named pipe on
|
|
10
|
+
* Windows), using the shared length-prefixed codec.
|
|
11
|
+
*
|
|
12
|
+
* Both run arriving invokes through L1's invoke pipeline (`authz → friction`) via
|
|
13
|
+
* the protocol's `dispatchRequest`. This is the rebuilt listen side that subsumes
|
|
14
|
+
* `runtime-surface-daemon`'s hardcoded `POST /rpc` router — built fresh, not
|
|
15
|
+
* adopted.
|
|
16
|
+
*/
|
|
17
|
+
// In-process transport (acceptance substrate)
|
|
18
|
+
export { connectInProcess } from "./in-process/in-process.transport.js";
|
|
19
|
+
// Unix-socket transport
|
|
20
|
+
export { connectUnix, createUnixRpcImplementation, listenUnix } from "./unix-transport.impl.js";
|
|
21
|
+
// Socket internals (shared with tcp)
|
|
22
|
+
export { BackpressureWriter, REC, RecordParser, encodeMessage, encodeStreamClose, encodeStreamData, wrapNodeSocket } from "./codec/socket-codec.js";
|
|
23
|
+
export { SocketConnection } from "./consumer/socket-connection.js";
|
|
24
|
+
export { RPC_CONNECTION_CLOSED, SocketListenerSession } from "./listener/socket-listener.js";
|
|
25
|
+
export { dialSocketSession } from "./socket-handshake.js";
|
|
26
|
+
// Descriptor + plugin
|
|
27
|
+
export { LOCAL_DAEMON_RPC_ID, createUnixRpcDescriptor } from "./descriptors/unix.rpc.descriptor.js";
|
|
28
|
+
export { createRuntimeRpcUnixPlugin, default, runtimeRpcUnixPlugin } from "./runtime-rpc-unix.plugin.js";
|
|
29
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/transports/unix/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,8CAA8C;AAC9C,OAAO,EACP,gBAAgB,EAEf,MAAM,sCAAsC,CAAC;AAE9C,wBAAwB;AACxB,OAAO,EACP,WAAW,EAAE,2BAA2B,EAAE,UAAU,EAEnD,MAAM,0BAA0B,CAAC;AAElC,qCAAqC;AACrC,OAAO,EACP,kBAAkB,EAAE,GAAG,EAAE,YAAY,EAAE,aAAa,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,cAAc,EAExG,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EACP,qBAAqB,EAAE,qBAAqB,EAE3C,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACP,iBAAiB,EAGhB,MAAM,uBAAuB,CAAC;AAE/B,sBAAsB;AACtB,OAAO,EACP,mBAAmB,EACnB,uBAAuB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACP,0BAA0B,EAAE,OAAO,EAAE,oBAAoB,EAExD,MAAM,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { CapabilityError } from '@vibesdotdev/kernel';
|
|
2
|
+
import { dispatchRequest, type RpcRequest, type RpcResponse } from '@vibesdotdev/kernel-rpc';
|
|
3
|
+
import { type StreamEnding } from '../../../core/protocol/wire/frame.ts';
|
|
4
|
+
import { encodeMessage, type DuplexSocket, type DecodedRecord } from '../codec/socket-codec.ts';
|
|
5
|
+
import { SocketState, type OwnerChannel } from './socket-state.ts';
|
|
6
|
+
export { UNGOVERNED_CREDIT, creditsUnnegotiated, type ConsumerCallback, type OwnerChannel } from './socket-state.ts';
|
|
7
|
+
export declare abstract class SocketBindings extends SocketState {
|
|
8
|
+
/** Bind the native socket used by writes and owned shutdown. */
|
|
9
|
+
attach(socket: DuplexSocket): void;
|
|
10
|
+
/** The root ref id the consumer should target (sent at handshake). */
|
|
11
|
+
get root(): string;
|
|
12
|
+
protected dispatch(req: RpcRequest): Promise<void>;
|
|
13
|
+
/**
|
|
14
|
+
* Encode the answer to one request. A result past the record ceiling the consumer accepts is answered with the
|
|
15
|
+
* typed `rpc-message-too-large` refusal instead: sent, its header would end the whole connection on the
|
|
16
|
+
* consumer's parser, failing every other call on it and reporting the request as a connection close.
|
|
17
|
+
*/
|
|
18
|
+
protected encodeAnswer(response: RpcResponse): Uint8Array;
|
|
19
|
+
/**
|
|
20
|
+
* The owner ended the channel: send its CLOSE frame (carrying a typed ending where credits were negotiated)
|
|
21
|
+
* and forget it. `teardown` also closes the binding, when this end, not the owner, ended it.
|
|
22
|
+
*/
|
|
23
|
+
protected endChannel(channelId: string, ending?: StreamEnding, teardown?: boolean): void;
|
|
24
|
+
protected closeChannel(channelId: string): void;
|
|
25
|
+
/** Release the binding's subscriptions; an unsubscribe that throws is kept typed for close(). */
|
|
26
|
+
protected unsubscribe(channelId: string, channel: OwnerChannel): void;
|
|
27
|
+
protected write(data: Uint8Array): void;
|
|
28
|
+
/** Free retained refs and channels, join admitted receives and binding closes, then reject with any kept typed failure. */
|
|
29
|
+
close(): Promise<void>;
|
|
30
|
+
/** {@link close}, resolving to the typed failure instead of rejecting. */
|
|
31
|
+
shutdown(): Promise<CapabilityError | null>;
|
|
32
|
+
/** Owner-side ref-table size — the leak assertion reads this. */
|
|
33
|
+
get tableSize(): number;
|
|
34
|
+
protected abstract encode(message: Parameters<typeof encodeMessage>[0]): Uint8Array;
|
|
35
|
+
protected abstract onRecord(record: DecodedRecord): Promise<void>;
|
|
36
|
+
protected abstract dispatchForward(req: RpcRequest): Promise<Awaited<ReturnType<typeof dispatchRequest>>>;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=socket-bindings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"socket-bindings.d.ts","sourceRoot":"","sources":["../../../../src/transports/unix/listener/socket-bindings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAA0B,eAAe,EAAY,KAAK,UAAU,EAAE,KAAK,WAAW,EAAkB,MAAM,yBAAyB,CAAC;AAI/I,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAEzE,OAAO,EAAE,aAAa,EAA8E,KAAK,YAAY,EAAE,KAAK,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAE5K,OAAO,EAAE,WAAW,EAAuB,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACxF,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,KAAK,gBAAgB,EAAE,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAErH,8BAAsB,cAAe,SAAQ,WAAW;IACxD,gEAAgE;IAC/D,MAAM,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI;IAKnC,sEAAsE;IACrE,IAAI,IAAI,IAAI,MAAM,CAEjB;cAEc,QAAQ,CAAC,GAAG,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC;IAoDxD;;;;WAII;IACH,SAAS,CAAC,YAAY,CAAC,QAAQ,EAAE,WAAW,GAAG,UAAU;IAM1D;;;WAGI;IACH,SAAS,CAAC,UAAU,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,YAAY,EAAE,QAAQ,UAAQ,GAAG,IAAI;IASvF,SAAS,CAAC,YAAY,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAS/C,iGAAiG;IAChG,SAAS,CAAC,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,GAAG,IAAI;IAOtE,SAAS,CAAC,KAAK,CAAC,IAAI,EAAE,UAAU,GAAG,IAAI;IASvC,2HAA2H;IAC1H,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAMvB,0EAA0E;IACzE,QAAQ,IAAI,OAAO,CAAC,eAAe,GAAG,IAAI,CAAC;IAsC5C,iEAAiE;IAChE,IAAI,SAAS,IAAI,MAAM,CAEtB;IAEF,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC,GAAG,UAAU;IAEnF,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC;IAEjE,SAAS,CAAC,QAAQ,CAAC,eAAe,CAAC,GAAG,EAAE,UAAU,GAAG,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,CAAC;CACxG"}
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { CapabilityError } from '@vibesdotdev/kernel';
|
|
2
|
+
import { RPC_ERROR, decodeValue, dispatchRequest, rpcError } from '@vibesdotdev/kernel-rpc';
|
|
3
|
+
import { attempt, attemptAsync } from "../../../core/protocol/lifecycle/attempt.js";
|
|
4
|
+
import { connectionCloseFailure } from "../../../core/protocol/lifecycle/binding-close.js";
|
|
5
|
+
import { isCreditGovernedOpen } from "../../../core/protocol/references/dispatch.js";
|
|
6
|
+
import {} from "../../../core/protocol/wire/frame.js";
|
|
7
|
+
import { toRpcError } from "../../../core/protocol/wire/verbs.js";
|
|
8
|
+
import { encodeMessage, encodeStreamClose, encodeStreamData, exceedsRecordCeiling, messageTooLarge } from "../codec/socket-codec.js";
|
|
9
|
+
import { RPC_CONNECTION_CLOSED } from "./socket-listener.js";
|
|
10
|
+
import { SocketState, creditsUnnegotiated } from "./socket-state.js";
|
|
11
|
+
export { UNGOVERNED_CREDIT, creditsUnnegotiated } from "./socket-state.js";
|
|
12
|
+
export class SocketBindings extends SocketState {
|
|
13
|
+
/** Bind the native socket used by writes and owned shutdown. */
|
|
14
|
+
attach(socket) {
|
|
15
|
+
this.socket = socket;
|
|
16
|
+
}
|
|
17
|
+
/** The root ref id the consumer should target (sent at handshake). */
|
|
18
|
+
get root() {
|
|
19
|
+
return this.rootRef;
|
|
20
|
+
}
|
|
21
|
+
async dispatch(req) {
|
|
22
|
+
const forward = this.target.forward;
|
|
23
|
+
const local = req.verb === 'invoke' && req.targetRef === this.rootRef && forward?.localMethods?.includes(req.method);
|
|
24
|
+
const { response, binding } = await (forward && !local ? this.dispatchForward(req) : dispatchRequest(req, {
|
|
25
|
+
table: this.table,
|
|
26
|
+
pipeline: this.target.pipeline,
|
|
27
|
+
remotePeer: this.remotePeer,
|
|
28
|
+
decodeArgs: (wire) => wire.map((w) => decodeValue(w, this.proxyFactory)),
|
|
29
|
+
classifyResult: this.target.classifyResult,
|
|
30
|
+
bindChannel: this.target.bindChannel,
|
|
31
|
+
kindOf: this.target.kindOf ?? (() => 'runtime/rpc'),
|
|
32
|
+
streamCredits: this.creditsNegotiated
|
|
33
|
+
}));
|
|
34
|
+
// A credit-governed channel (forwarded or local) opens only where this connection negotiated credits.
|
|
35
|
+
if (binding && req.verb === 'stream' && !response.error && isCreditGovernedOpen(response) && !this.creditsNegotiated) {
|
|
36
|
+
this.closes.keep(binding, req.id);
|
|
37
|
+
if (!this.closed)
|
|
38
|
+
this.write(this.encode({ id: req.id, error: creditsUnnegotiated(req.channel) }));
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
// A refused open that still made a binding: close it, keep any failure, and answer the refusal.
|
|
42
|
+
if (binding && req.verb === 'stream' && response.error) {
|
|
43
|
+
this.closes.keep(binding, req.id);
|
|
44
|
+
if (!this.closed)
|
|
45
|
+
this.write(this.encode(response));
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
if (this.closed) {
|
|
49
|
+
if (binding && req.verb === 'stream')
|
|
50
|
+
this.closes.keep(binding, req.id);
|
|
51
|
+
// An admitted invoke may have encoded a ref after the first table clear.
|
|
52
|
+
this.table.clear();
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
if (binding && req.verb === 'stream') {
|
|
56
|
+
// Wire the binding to the socket under the channelId (the stream req id).
|
|
57
|
+
const channelId = req.id;
|
|
58
|
+
const channel = { binding };
|
|
59
|
+
this.channels.set(channelId, channel);
|
|
60
|
+
const unsub = binding.onData(data => {
|
|
61
|
+
if (!this.closed)
|
|
62
|
+
this.write(encodeStreamData(channelId, data));
|
|
63
|
+
});
|
|
64
|
+
if (this.channels.get(channelId) !== channel) {
|
|
65
|
+
unsub();
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
channel.unsub = unsub;
|
|
69
|
+
// The owner's end: its CLOSE frame follows the channel's last DATA frame.
|
|
70
|
+
const unsubEnd = binding.onEnd?.((ending) => this.endChannel(channelId, ending));
|
|
71
|
+
if (this.channels.get(channelId) !== channel)
|
|
72
|
+
unsubEnd?.();
|
|
73
|
+
else
|
|
74
|
+
channel.unsubEnd = unsubEnd;
|
|
75
|
+
}
|
|
76
|
+
if (!this.closed)
|
|
77
|
+
this.write(this.encodeAnswer(response));
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Encode the answer to one request. A result past the record ceiling the consumer accepts is answered with the
|
|
81
|
+
* typed `rpc-message-too-large` refusal instead: sent, its header would end the whole connection on the
|
|
82
|
+
* consumer's parser, failing every other call on it and reporting the request as a connection close.
|
|
83
|
+
*/
|
|
84
|
+
encodeAnswer(response) {
|
|
85
|
+
const encoded = this.encode(response);
|
|
86
|
+
if (!exceedsRecordCeiling(encoded))
|
|
87
|
+
return encoded;
|
|
88
|
+
return this.encode({ id: response.id, error: toRpcError(messageTooLarge()) });
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* The owner ended the channel: send its CLOSE frame (carrying a typed ending where credits were negotiated)
|
|
92
|
+
* and forget it. `teardown` also closes the binding, when this end, not the owner, ended it.
|
|
93
|
+
*/
|
|
94
|
+
endChannel(channelId, ending, teardown = false) {
|
|
95
|
+
const channel = this.channels.get(channelId);
|
|
96
|
+
if (!channel)
|
|
97
|
+
return;
|
|
98
|
+
this.channels.delete(channelId);
|
|
99
|
+
this.unsubscribe(channelId, channel);
|
|
100
|
+
if (teardown)
|
|
101
|
+
this.closes.keep(channel.binding, channelId);
|
|
102
|
+
if (!this.closed)
|
|
103
|
+
this.write(encodeStreamClose(channelId, this.creditsNegotiated ? ending : undefined));
|
|
104
|
+
}
|
|
105
|
+
closeChannel(channelId) {
|
|
106
|
+
const channel = this.channels.get(channelId);
|
|
107
|
+
if (!channel)
|
|
108
|
+
return;
|
|
109
|
+
this.channels.delete(channelId);
|
|
110
|
+
this.unsubscribe(channelId, channel);
|
|
111
|
+
// A failure is kept for close().
|
|
112
|
+
this.closes.keep(channel.binding, channelId);
|
|
113
|
+
}
|
|
114
|
+
/** Release the binding's subscriptions; an unsubscribe that throws is kept typed for close(). */
|
|
115
|
+
unsubscribe(channelId, channel) {
|
|
116
|
+
for (const unsubscribe of [channel.unsub, channel.unsubEnd]) {
|
|
117
|
+
const released = attempt(() => unsubscribe?.());
|
|
118
|
+
if (!released.ok)
|
|
119
|
+
this.closes.keepFailure(channelId, released.failure);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
write(data) {
|
|
123
|
+
const written = attempt(() => this.socket?.write(data));
|
|
124
|
+
if (written.ok)
|
|
125
|
+
return;
|
|
126
|
+
// A socket that refuses a write is dead: keep why for the close outcome,
|
|
127
|
+
// and fail the connection closed (once).
|
|
128
|
+
this.closes.keepError(connectionCloseFailure(this.remotePeer.connectionId, written.failure));
|
|
129
|
+
if (!this.closed)
|
|
130
|
+
void this.shutdown();
|
|
131
|
+
}
|
|
132
|
+
/** Free retained refs and channels, join admitted receives and binding closes, then reject with any kept typed failure. */
|
|
133
|
+
close() {
|
|
134
|
+
return this.shutdown().then((failure) => {
|
|
135
|
+
if (failure)
|
|
136
|
+
throw failure;
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
/** {@link close}, resolving to the typed failure instead of rejecting. */
|
|
140
|
+
shutdown() {
|
|
141
|
+
if (this.closing)
|
|
142
|
+
return this.closing;
|
|
143
|
+
const outcome = Promise.withResolvers();
|
|
144
|
+
this.closing = outcome.promise;
|
|
145
|
+
this.closed = true;
|
|
146
|
+
// Every invoke still running for this connection is told its peer is gone.
|
|
147
|
+
this.connection.abort(new CapabilityError('The RPC connection closed.', 'CANCELLED', {
|
|
148
|
+
reason: RPC_CONNECTION_CLOSED,
|
|
149
|
+
details: { connectionId: this.remotePeer.connectionId }
|
|
150
|
+
}));
|
|
151
|
+
for (const [id, answer] of this.reverseAnswers)
|
|
152
|
+
answer.resolve({ id, error: rpcError(RPC_ERROR.DISCONNECTED, 'Socket admission closed.') });
|
|
153
|
+
this.reverseAnswers.clear();
|
|
154
|
+
for (const channelId of this.channels.keys()) {
|
|
155
|
+
// `write` never throws: a dead socket is already a kept outcome.
|
|
156
|
+
this.write(encodeStreamClose(channelId));
|
|
157
|
+
this.closeChannel(channelId);
|
|
158
|
+
}
|
|
159
|
+
// Hard-disconnect teardown: clear the WHOLE table — the root AND every entry the consumer never got to `release` (returned sessions/handles, passed callbacks) — so nothing the connection retained leaks past it.
|
|
160
|
+
this.table.seal();
|
|
161
|
+
// A socket that refuses its end: kept typed for the close outcome.
|
|
162
|
+
const ended = attempt(() => this.socket?.end());
|
|
163
|
+
if (!ended.ok)
|
|
164
|
+
this.closes.keepError(connectionCloseFailure(this.remotePeer.connectionId, ended.failure));
|
|
165
|
+
const pendingForward = this.forwarded;
|
|
166
|
+
const forwardedClose = pendingForward ? attemptAsync(async () => { await (await pendingForward).close(); }) : Promise.resolve({ ok: true, value: undefined });
|
|
167
|
+
void forwardedClose.then(async (closed) => {
|
|
168
|
+
if (!closed.ok)
|
|
169
|
+
this.closes.keepError(connectionCloseFailure(this.remotePeer.connectionId, closed.failure));
|
|
170
|
+
const receiveFailure = await this.received.settle();
|
|
171
|
+
const references = await attemptAsync(() => this.table.drain());
|
|
172
|
+
if (!references.ok)
|
|
173
|
+
this.closes.keepError(connectionCloseFailure(this.remotePeer.connectionId, references.failure));
|
|
174
|
+
// Late admitted dispatches may still hand back a binding to close.
|
|
175
|
+
const closeFailure = await this.closes.settle();
|
|
176
|
+
outcome.resolve(receiveFailure && closeFailure
|
|
177
|
+
? connectionCloseFailure(this.remotePeer.connectionId, new AggregateError([receiveFailure, closeFailure], 'The receive operation and socket cleanup failed.'))
|
|
178
|
+
: receiveFailure ?? closeFailure);
|
|
179
|
+
});
|
|
180
|
+
return this.closing;
|
|
181
|
+
}
|
|
182
|
+
/** Owner-side ref-table size — the leak assertion reads this. */
|
|
183
|
+
get tableSize() {
|
|
184
|
+
return this.table.size;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
//# sourceMappingURL=socket-bindings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"socket-bindings.js","sourceRoot":"","sources":["../../../../src/transports/unix/listener/socket-bindings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,eAAe,EAAE,QAAQ,EAAqD,MAAM,yBAAyB,CAAC;AAC/I,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAAE,sBAAsB,EAAE,MAAM,mDAAmD,CAAC;AAC3F,OAAO,EAAE,oBAAoB,EAAE,MAAM,+CAA+C,CAAC;AACrF,OAAO,EAAqB,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,eAAe,EAAyC,MAAM,0BAA0B,CAAC;AAC5K,OAAO,EAAE,qBAAqB,EAAE,MAAM,sB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
|
2
|
+
export type { ConnectionRootFactory, ListenTarget, RpcListenConnection, SocketForwardTarget } from "../../../schemas/contracts/transports/unix/socket-listener.ts";
|
|
3
|
+
import { RPC_ERROR, asRefId, dispatchRequest, rpcError, type RpcConnection, type RpcRequest } from '@vibesdotdev/kernel-rpc';
|
|
4
|
+
import type { WireCapabilities } from '../../../core/protocol/wire/schemas.ts';
|
|
5
|
+
import { encodeMessage, type DecodedRecord } from '../codec/socket-codec.ts';
|
|
6
|
+
/** The reason a closed connection's signal carries. */
|
|
7
|
+
export declare const RPC_CONNECTION_CLOSED = "rpc-connection-closed";
|
|
8
|
+
/** One accepted connection's owner-side handler. */
|
|
9
|
+
export declare class SocketListenerSession extends SocketBindings {
|
|
10
|
+
/** The wire capabilities this connection advertises at its handshake, or none. */
|
|
11
|
+
get advertisedWire(): WireCapabilities | undefined;
|
|
12
|
+
/** Encode a message with this connection's negotiated wire capability. */
|
|
13
|
+
protected encode(message: Parameters<typeof encodeMessage>[0]): Uint8Array;
|
|
14
|
+
feed(chunk: Uint8Array): void;
|
|
15
|
+
protected onRecord(record: DecodedRecord): Promise<void>;
|
|
16
|
+
protected handleRequest(req: RpcRequest): Promise<void>;
|
|
17
|
+
protected forwardConnection(): Promise<RpcConnection>;
|
|
18
|
+
protected dispatchForward(req: RpcRequest): Promise<Awaited<ReturnType<typeof dispatchRequest>>>;
|
|
19
|
+
}
|
|
20
|
+
export { RPC_ERROR, asRefId, rpcError };
|
|
21
|
+
//# sourceMappingURL=socket-listener.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"socket-listener.d.ts","sourceRoot":"","sources":["../../../../src/transports/unix/listener/socket-listener.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,sBAAsB,CAAC;AACzE,YAAY,EAAE,qBAAqB,EAAE,YAAY,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,+DAA+D,CAAC;AAMnK,OAAO,EACP,SAAS,EACT,OAAO,EACP,eAAe,EACf,QAAQ,EACR,KAAK,aAAa,EAClB,KAAK,UAAU,EAGd,MAAM,yBAAyB,CAAC;AAYjC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAI/E,OAAO,EACP,aAAa,EAEb,KAAK,aAAa,EACjB,MAAM,0BAA0B,CAAC;AAElC,uDAAuD;AACvD,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAE7D,oDAAoD;AACpD,qBAAa,qBAAsB,SAAQ,cAAc;IACzD,kFAAkF;IACjF,IAAI,cAAc,IAAI,gBAAgB,GAAG,SAAS,CAKjD;IAEF,0EAA0E;IACzE,SAAS,CAAC,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC,GAAG,UAAU;IAI3E,IAAI,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;cAQb,QAAQ,CAAC,MAAM,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC;cA8D9C,aAAa,CAAC,GAAG,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC;IAa7D,SAAS,CAAC,iBAAiB,IAAI,OAAO,CAAC,aAAa,CAAC;cAwBrC,eAAe,CAAC,GAAG,EAAE,UAAU,GAAG,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,CAAC;CA8BrG;AAED,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import { SocketBindings, UNGOVERNED_CREDIT } from "./socket-bindings.js";
|
|
2
|
+
/** Socket listener (owner side) — accepts a duplex socket connection, advertises the root ref, and runs every arriving `RpcRequest` through L1's invoke pipeline */
|
|
3
|
+
import { CapabilityError } from '@vibesdotdev/kernel';
|
|
4
|
+
import { RPC_ERROR, asRefId, dispatchRequest, rpcError } from '@vibesdotdev/kernel-rpc';
|
|
5
|
+
import { attempt, attemptAsync, settled } from "../../../core/protocol/lifecycle/attempt.js";
|
|
6
|
+
import { connectionCloseFailure } from "../../../core/protocol/lifecycle/binding-close.js";
|
|
7
|
+
import { channelIdInUse } from "../../../core/protocol/references/channel-ids.js";
|
|
8
|
+
import { CREDIT_GOVERNED_OPEN } from "../../../core/protocol/references/dispatch.js";
|
|
9
|
+
import { LOCAL_ATTESTED_SOURCE, attestedCallerInvalid, isSocketAttestationRecord, validateAttestedCaller } from "../../../core/protocol/transport/local-attestation.js";
|
|
10
|
+
import { endingOfFailure } from "../../../core/protocol/wire/frame.js";
|
|
11
|
+
import { RpcDeclaredCallerSchema } from "../../../core/protocol/wire/schemas.js";
|
|
12
|
+
import { toRpcError } from "../../../core/protocol/wire/verbs.js";
|
|
13
|
+
import { MESSAGEPORT_RPC_DEFAULT_REQUEST_DEADLINE_MS } from "../../messageport/connection/contracts.js";
|
|
14
|
+
import { encodeMessage, isSocketWireRecord } from "../codec/socket-codec.js";
|
|
15
|
+
/** The reason a closed connection's signal carries. */
|
|
16
|
+
export const RPC_CONNECTION_CLOSED = 'rpc-connection-closed';
|
|
17
|
+
/** One accepted connection's owner-side handler. */
|
|
18
|
+
export class SocketListenerSession extends SocketBindings {
|
|
19
|
+
/** The wire capabilities this connection advertises at its handshake, or none. */
|
|
20
|
+
get advertisedWire() {
|
|
21
|
+
if (this.wireDates && this.wireStreamCredits)
|
|
22
|
+
return { dates: true, streamCredits: true };
|
|
23
|
+
if (this.wireDates)
|
|
24
|
+
return { dates: true };
|
|
25
|
+
if (this.wireStreamCredits)
|
|
26
|
+
return { streamCredits: true };
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
/** Encode a message with this connection's negotiated wire capability. */
|
|
30
|
+
encode(message) {
|
|
31
|
+
return encodeMessage(message, this.datesNegotiated);
|
|
32
|
+
}
|
|
33
|
+
feed(chunk) {
|
|
34
|
+
if (this.closed)
|
|
35
|
+
return;
|
|
36
|
+
const pushed = attempt(() => this.parser.push(chunk));
|
|
37
|
+
if (pushed.ok)
|
|
38
|
+
return;
|
|
39
|
+
this.closes.keepError(connectionCloseFailure(this.remotePeer.connectionId, pushed.failure));
|
|
40
|
+
void this.shutdown();
|
|
41
|
+
}
|
|
42
|
+
async onRecord(record) {
|
|
43
|
+
if (this.closed)
|
|
44
|
+
return;
|
|
45
|
+
if (record.kind !== 'msg') {
|
|
46
|
+
const channel = this.channels.get(record.channelId);
|
|
47
|
+
if (!channel)
|
|
48
|
+
return;
|
|
49
|
+
if (record.kind === 'stream-credit') {
|
|
50
|
+
// A grant for a channel that is not credit-governed ends it, typed.
|
|
51
|
+
if (!channel.binding.demand)
|
|
52
|
+
this.endChannel(record.channelId, UNGOVERNED_CREDIT, true);
|
|
53
|
+
else
|
|
54
|
+
channel.binding.demand(record.credits);
|
|
55
|
+
}
|
|
56
|
+
else if (record.kind === 'stream-data') {
|
|
57
|
+
if (record.payload.length > 0)
|
|
58
|
+
channel.binding.write(record.payload);
|
|
59
|
+
}
|
|
60
|
+
else
|
|
61
|
+
this.closeChannel(record.channelId);
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
// A JSON message: either a request from the consumer, or a response to a callback the owner invoked.
|
|
65
|
+
if (isSocketWireRecord(record.message)) {
|
|
66
|
+
const wanted = record.message.wire;
|
|
67
|
+
if (!this.wireWindow || (wanted.dates && !this.wireDates) || (wanted.streamCredits && !this.wireStreamCredits)) {
|
|
68
|
+
this.write(this.encode({
|
|
69
|
+
id: 'wire',
|
|
70
|
+
error: toRpcError(new CapabilityError('This connection did not advertise that wire capability, or its opt-in window closed.', 'INVALID_INPUT', {
|
|
71
|
+
reason: 'rpc-wire-capability-refused',
|
|
72
|
+
retryable: false
|
|
73
|
+
}))
|
|
74
|
+
}));
|
|
75
|
+
void this.shutdown();
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
this.wireWindow = false;
|
|
79
|
+
this.datesNegotiated = wanted.dates === true;
|
|
80
|
+
this.creditsNegotiated = wanted.streamCredits === true;
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
if (isSocketAttestationRecord(record.message)) {
|
|
84
|
+
if (!this.attestationWindow)
|
|
85
|
+
return;
|
|
86
|
+
this.attestationWindow = false;
|
|
87
|
+
const { secret, caller: declared } = record.message.attest;
|
|
88
|
+
if (!this.attestation?.verify(secret))
|
|
89
|
+
return;
|
|
90
|
+
const fields = RpcDeclaredCallerSchema.safeParse(declared);
|
|
91
|
+
const admitted = fields.success
|
|
92
|
+
? attempt(() => validateAttestedCaller(fields.data, 'socket-record'))
|
|
93
|
+
: { ok: false, failure: attestedCallerInvalid(undefined, 'socket-record') };
|
|
94
|
+
if (!admitted.ok) {
|
|
95
|
+
// Fail closed: a verified secret with a malformed declared identity is
|
|
96
|
+
// refused typed, and the session is shut down before any request runs.
|
|
97
|
+
this.write(this.encode({ id: 'attest', error: toRpcError(admitted.failure) }));
|
|
98
|
+
void this.shutdown();
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
this.remotePeer = { ...this.remotePeer, verified: { source: LOCAL_ATTESTED_SOURCE, caller: admitted.value } };
|
|
102
|
+
return;
|
|
103
|
+
}
|
|
104
|
+
const message = record.message;
|
|
105
|
+
if (!('verb' in message)) {
|
|
106
|
+
if ('id' in message)
|
|
107
|
+
this.reverseAnswers.get(message.id)?.resolve(message);
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
this.attestationWindow = false;
|
|
111
|
+
this.wireWindow = false;
|
|
112
|
+
await this.handleRequest(message);
|
|
113
|
+
}
|
|
114
|
+
async handleRequest(req) {
|
|
115
|
+
if (req.verb !== 'stream')
|
|
116
|
+
return this.dispatch(req);
|
|
117
|
+
if (!this.channelClaims.claim(req.id)) {
|
|
118
|
+
if (!this.closed)
|
|
119
|
+
this.write(this.encode(channelIdInUse(req.id)));
|
|
120
|
+
return;
|
|
121
|
+
}
|
|
122
|
+
try {
|
|
123
|
+
await this.dispatch(req);
|
|
124
|
+
}
|
|
125
|
+
finally {
|
|
126
|
+
this.channelClaims.release(req.id);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
forwardConnection() {
|
|
130
|
+
if (this.forwarded)
|
|
131
|
+
return this.forwarded;
|
|
132
|
+
const forward = this.target.forward;
|
|
133
|
+
if (!forward)
|
|
134
|
+
throw new Error('A forwarded connection requires its owner handoff.');
|
|
135
|
+
const peer = Object.freeze({ ...this.remotePeer, verified: this.remotePeer.verified === undefined ? undefined : Object.freeze({
|
|
136
|
+
source: this.remotePeer.verified.source, caller: Object.freeze({ ...this.remotePeer.verified.caller })
|
|
137
|
+
}) });
|
|
138
|
+
this.forwarded = forward.connect(peer).then(async (connection) => {
|
|
139
|
+
if (this.closed) {
|
|
140
|
+
await connection.close();
|
|
141
|
+
throw new Error('Socket admission closed during execution handoff.');
|
|
142
|
+
}
|
|
143
|
+
connection.onRequest?.(async (request) => {
|
|
144
|
+
if (this.closed)
|
|
145
|
+
return { id: request.id, error: rpcError(RPC_ERROR.DISCONNECTED, 'Socket admission closed.') };
|
|
146
|
+
const answer = Promise.withResolvers();
|
|
147
|
+
this.reverseAnswers.set(request.id, answer);
|
|
148
|
+
try {
|
|
149
|
+
this.write(this.encode(request));
|
|
150
|
+
return await forward.lifecycle.wait(() => answer.promise, { timeoutMs: MESSAGEPORT_RPC_DEFAULT_REQUEST_DEADLINE_MS, reason: 'rpc-forward-callback' });
|
|
151
|
+
}
|
|
152
|
+
finally {
|
|
153
|
+
this.reverseAnswers.delete(request.id);
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
void connection.closed.then(() => this.shutdown());
|
|
157
|
+
return connection;
|
|
158
|
+
});
|
|
159
|
+
return this.forwarded;
|
|
160
|
+
}
|
|
161
|
+
async dispatchForward(req) {
|
|
162
|
+
const handled = await attemptAsync(async () => {
|
|
163
|
+
const connection = await this.forwardConnection();
|
|
164
|
+
if (req.verb === 'stream') {
|
|
165
|
+
const channel = await connection.openStream(req.ref === this.rootRef ? connection.rootRef : req.ref, req.channel);
|
|
166
|
+
const grant = channel.grant?.bind(channel);
|
|
167
|
+
const binding = {
|
|
168
|
+
write: data => channel.write(data), onData: handler => channel.onData(handler),
|
|
169
|
+
onEnd: handler => {
|
|
170
|
+
let subscribed = true;
|
|
171
|
+
void settled(channel.ended).then(ended => {
|
|
172
|
+
if (ended.ok) {
|
|
173
|
+
if (subscribed)
|
|
174
|
+
handler();
|
|
175
|
+
return;
|
|
176
|
+
}
|
|
177
|
+
// The upstream owner's typed ending crosses this hop as itself; anything else is this hop's close failure.
|
|
178
|
+
const ending = ended.failure instanceof Error ? endingOfFailure(ended.failure) : undefined;
|
|
179
|
+
if (ending) {
|
|
180
|
+
if (subscribed)
|
|
181
|
+
handler(ending);
|
|
182
|
+
}
|
|
183
|
+
else
|
|
184
|
+
this.closes.keepFailure(req.id, ended.failure);
|
|
185
|
+
});
|
|
186
|
+
return () => { subscribed = false; };
|
|
187
|
+
},
|
|
188
|
+
async close() { await channel.close(); }
|
|
189
|
+
};
|
|
190
|
+
// A credit-governed channel stays end to end: this hop relays each grant upstream and never grants on its own.
|
|
191
|
+
if (channel.creditGoverned && grant)
|
|
192
|
+
binding.demand = credits => grant(credits);
|
|
193
|
+
return { response: channel.creditGoverned ? { id: req.id, result: CREDIT_GOVERNED_OPEN } : { id: req.id }, binding };
|
|
194
|
+
}
|
|
195
|
+
const forwarded = 'targetRef' in req && req.targetRef === this.rootRef ? { ...req, targetRef: connection.rootRef } : req;
|
|
196
|
+
return { response: await connection.send(forwarded) };
|
|
197
|
+
});
|
|
198
|
+
return handled.ok ? handled.value : { response: { id: req.id, error: toRpcError(handled.failure) } };
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
export { RPC_ERROR, asRefId, rpcError };
|
|
202
|
+
//# sourceMappingURL=socket-listener.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"socket-listener.js","sourceRoot":"","sources":["../../../../src/transports/unix/listener/socket-listener.ts"],"names":[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