@mysten-incubation/devstack 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -3
- package/dashboard-ui/assets/grpc-a4usE3Nk.js +3 -0
- package/dashboard-ui/assets/index-B82Bh84P.css +1 -0
- package/dashboard-ui/assets/index-CRYJ4pru.js +1277 -0
- package/dashboard-ui/index.html +2 -2
- package/dist/api/define-capabilities.d.mts +1 -20
- package/dist/api/define-capabilities.mjs +15 -22
- package/dist/api/define-capabilities.mjs.map +1 -1
- package/dist/api/define-devstack-with.d.mts +7 -1
- package/dist/api/define-devstack-with.mjs.map +1 -1
- package/dist/api/define-devstack.mjs.map +1 -1
- package/dist/api/define-plugin.d.mts +2 -1
- package/dist/api/inference-network.d.mts +31 -17
- package/dist/api/inference-network.mjs +40 -43
- package/dist/api/inference-network.mjs.map +1 -1
- package/dist/api/load-config.mjs +88 -0
- package/dist/api/load-config.mjs.map +1 -0
- package/dist/api/mode-narrowed-factory.d.mts +1 -1
- package/dist/api/mode-narrowed-factory.mjs.map +1 -1
- package/dist/api/run-stack-internal.mjs +202 -0
- package/dist/api/run-stack-internal.mjs.map +1 -0
- package/dist/api/run-stack.d.mts +82 -31
- package/dist/api/run-stack.mjs +22 -141
- package/dist/api/run-stack.mjs.map +1 -1
- package/dist/build-integrations/dapp-kit/index.d.mts +61 -0
- package/dist/build-integrations/dapp-kit/index.mjs +58 -0
- package/dist/build-integrations/dapp-kit/index.mjs.map +1 -0
- package/dist/build-integrations/playwright/config.d.mts +1 -30
- package/dist/build-integrations/playwright/config.mjs +1 -27
- package/dist/build-integrations/playwright/config.mjs.map +1 -1
- package/dist/build-integrations/playwright/errors.d.mts +4 -7
- package/dist/build-integrations/playwright/errors.mjs.map +1 -1
- package/dist/build-integrations/playwright/global-setup.d.mts +42 -71
- package/dist/build-integrations/playwright/global-setup.mjs +142 -218
- package/dist/build-integrations/playwright/global-setup.mjs.map +1 -1
- package/dist/build-integrations/playwright/index.d.mts +2 -2
- package/dist/build-integrations/playwright/index.mjs +2 -2
- package/dist/build-integrations/playwright/stack-context.d.mts +3 -1
- package/dist/build-integrations/playwright/stack-context.mjs +4 -2
- package/dist/build-integrations/playwright/stack-context.mjs.map +1 -1
- package/dist/build-integrations/playwright/wallet-context.mjs +44 -19
- package/dist/build-integrations/playwright/wallet-context.mjs.map +1 -1
- package/dist/build-integrations/runtime/cold-start-url.mjs.map +1 -1
- package/dist/build-integrations/runtime/conventional-routes.mjs.map +1 -1
- package/dist/build-integrations/runtime/dapp-kit-slot.mjs.map +1 -1
- package/dist/build-integrations/runtime/discover.d.mts +6 -4
- package/dist/build-integrations/runtime/discover.mjs +15 -4
- package/dist/build-integrations/runtime/discover.mjs.map +1 -1
- package/dist/build-integrations/runtime/endpoint-registry.mjs.map +1 -1
- package/dist/build-integrations/runtime/errors.mjs.map +1 -1
- package/dist/build-integrations/runtime/read-stack-context.mjs +3 -3
- package/dist/build-integrations/runtime/read-stack-context.mjs.map +1 -1
- package/dist/build-integrations/runtime/resolve-discovery-env.d.mts +23 -7
- package/dist/build-integrations/runtime/resolve-discovery-env.mjs +25 -12
- package/dist/build-integrations/runtime/resolve-discovery-env.mjs.map +1 -1
- package/dist/build-integrations/runtime/stack-context.d.mts +2 -2
- package/dist/build-integrations/vite/index.d.mts +84 -19
- package/dist/build-integrations/vite/index.mjs +203 -28
- package/dist/build-integrations/vite/index.mjs.map +1 -1
- package/dist/build-integrations/vitest/config.d.mts +20 -2
- package/dist/build-integrations/vitest/config.mjs +16 -4
- package/dist/build-integrations/vitest/config.mjs.map +1 -1
- package/dist/build-integrations/vitest/env.d.mts +18 -10
- package/dist/build-integrations/vitest/env.mjs +11 -10
- package/dist/build-integrations/vitest/env.mjs.map +1 -1
- package/dist/build-integrations/vitest/errors.d.mts +7 -11
- package/dist/build-integrations/vitest/errors.mjs +3 -4
- package/dist/build-integrations/vitest/errors.mjs.map +1 -1
- package/dist/build-integrations/vitest/global-setup.d.mts +35 -0
- package/dist/build-integrations/vitest/global-setup.mjs +156 -0
- package/dist/build-integrations/vitest/global-setup.mjs.map +1 -0
- package/dist/build-integrations/vitest/index.d.mts +3 -2
- package/dist/build-integrations/vitest/index.mjs +3 -2
- package/dist/build-integrations/vitest/setup.mjs +2 -2
- package/dist/build-integrations/vitest/setup.mjs.map +1 -1
- package/dist/build-integrations/vitest/stack-context.d.mts +5 -3
- package/dist/build-integrations/vitest/stack-context.mjs +3 -2
- package/dist/build-integrations/vitest/stack-context.mjs.map +1 -1
- package/dist/cli/bail.mjs.map +1 -1
- package/dist/cli/doctor-probes.mjs +1 -3
- package/dist/cli/doctor-probes.mjs.map +1 -1
- package/dist/cli/main.d.mts +23 -1
- package/dist/cli/main.mjs +63 -8
- package/dist/cli/main.mjs.map +1 -1
- package/dist/cli/prune-direct.mjs.map +1 -1
- package/dist/cli/snapshot-reader.mjs.map +1 -1
- package/dist/cli/up-lifecycle.mjs.map +1 -1
- package/dist/cli/wirings/apply.mjs +28 -21
- package/dist/cli/wirings/apply.mjs.map +1 -1
- package/dist/cli/wirings/codegen.mjs +108 -0
- package/dist/cli/wirings/codegen.mjs.map +1 -0
- package/dist/cli/wirings/config-loader.mjs +12 -62
- package/dist/cli/wirings/config-loader.mjs.map +1 -1
- package/dist/cli/wirings/dump-ids.mjs +86 -0
- package/dist/cli/wirings/dump-ids.mjs.map +1 -0
- package/dist/cli/wirings/engine-command.mjs +1 -1
- package/dist/cli/wirings/engine-command.mjs.map +1 -1
- package/dist/cli/wirings/identity.mjs +2 -2
- package/dist/cli/wirings/identity.mjs.map +1 -1
- package/dist/cli/wirings/provide-file-system.mjs.map +1 -1
- package/dist/cli/wirings/read-devstack-version.mjs +17 -0
- package/dist/cli/wirings/read-devstack-version.mjs.map +1 -0
- package/dist/cli/wirings/snapshot.mjs +27 -34
- package/dist/cli/wirings/snapshot.mjs.map +1 -1
- package/dist/cli/wirings/up-ipc.mjs +147 -0
- package/dist/cli/wirings/up-ipc.mjs.map +1 -0
- package/dist/cli/wirings/up.mjs +218 -198
- package/dist/cli/wirings/up.mjs.map +1 -1
- package/dist/cli/wirings/wipe.mjs +1 -1
- package/dist/cli/wirings/wipe.mjs.map +1 -1
- package/dist/contracts/chain-probe.d.mts +1 -1
- package/dist/contracts/chain-probe.mjs +1 -1
- package/dist/contracts/chain-probe.mjs.map +1 -1
- package/dist/contracts/codegenable.d.mts +60 -6
- package/dist/contracts/codegenable.mjs +28 -0
- package/dist/contracts/codegenable.mjs.map +1 -0
- package/dist/contracts/config-bindings.mjs +162 -0
- package/dist/contracts/config-bindings.mjs.map +1 -0
- package/dist/contracts/container-runtime.d.mts +23 -17
- package/dist/contracts/plugin-expander.mjs.map +1 -1
- package/dist/contracts/snapshotable.d.mts +5 -7
- package/dist/contracts/wallet-protocol.d.mts +2 -5
- package/dist/contracts/wallet-protocol.mjs +2 -5
- package/dist/contracts/wallet-protocol.mjs.map +1 -1
- package/dist/index.d.mts +21 -26
- package/dist/index.mjs +8 -9
- package/dist/orchestrators/boot.d.mts +28 -0
- package/dist/orchestrators/boot.mjs +440 -0
- package/dist/orchestrators/boot.mjs.map +1 -0
- package/dist/orchestrators/codegen/bindings.d.mts +13 -1
- package/dist/orchestrators/codegen/bindings.mjs +23 -9
- package/dist/orchestrators/codegen/bindings.mjs.map +1 -1
- package/dist/orchestrators/codegen/config-runtime.mjs +208 -0
- package/dist/orchestrators/codegen/config-runtime.mjs.map +1 -0
- package/dist/orchestrators/codegen/emit.mjs +1 -1
- package/dist/orchestrators/codegen/emit.mjs.map +1 -1
- package/dist/orchestrators/codegen/errors.mjs +21 -1
- package/dist/orchestrators/codegen/errors.mjs.map +1 -1
- package/dist/orchestrators/codegen/format.mjs +2 -0
- package/dist/orchestrators/codegen/format.mjs.map +1 -1
- package/dist/orchestrators/codegen/gitignore.mjs +30 -11
- package/dist/orchestrators/codegen/gitignore.mjs.map +1 -1
- package/dist/orchestrators/codegen/id-config.mjs +107 -0
- package/dist/orchestrators/codegen/id-config.mjs.map +1 -0
- package/dist/orchestrators/codegen/output-location.mjs +23 -32
- package/dist/orchestrators/codegen/output-location.mjs.map +1 -1
- package/dist/orchestrators/codegen/paths.mjs +8 -1
- package/dist/orchestrators/codegen/paths.mjs.map +1 -1
- package/dist/orchestrators/codegen/permissions.mjs.map +1 -1
- package/dist/orchestrators/codegen/service.mjs +286 -58
- package/dist/orchestrators/codegen/service.mjs.map +1 -1
- package/dist/orchestrators/layers.mjs +31 -0
- package/dist/orchestrators/layers.mjs.map +1 -0
- package/dist/orchestrators/lifecycle-prune/errors.mjs.map +1 -1
- package/dist/orchestrators/lifecycle-prune/index.mjs +8 -10
- package/dist/orchestrators/lifecycle-prune/index.mjs.map +1 -1
- package/dist/orchestrators/network-options.d.mts +52 -0
- package/dist/orchestrators/network-options.mjs +43 -0
- package/dist/orchestrators/network-options.mjs.map +1 -0
- package/dist/orchestrators/router/cleanup.mjs.map +1 -1
- package/dist/orchestrators/router/cors.mjs.map +1 -1
- package/dist/orchestrators/router/entrypoints.mjs.map +1 -1
- package/dist/orchestrators/router/errors.mjs.map +1 -1
- package/dist/orchestrators/router/file-provider.mjs.map +1 -1
- package/dist/orchestrators/router/hostname.mjs.map +1 -1
- package/dist/orchestrators/router/profile.mjs +1 -1
- package/dist/orchestrators/router/profile.mjs.map +1 -1
- package/dist/orchestrators/router/service.d.mts +2 -2
- package/dist/orchestrators/router/service.mjs +12 -27
- package/dist/orchestrators/router/service.mjs.map +1 -1
- package/dist/orchestrators/router/traefik-container.mjs +1 -1
- package/dist/orchestrators/router/traefik-container.mjs.map +1 -1
- package/dist/orchestrators/snapshot/capture.mjs +171 -195
- package/dist/orchestrators/snapshot/capture.mjs.map +1 -1
- package/dist/orchestrators/snapshot/descriptor.d.mts +1 -1
- package/dist/orchestrators/snapshot/descriptor.mjs +53 -11
- package/dist/orchestrators/snapshot/descriptor.mjs.map +1 -1
- package/dist/orchestrators/snapshot/identity-guard.mjs +3 -5
- package/dist/orchestrators/snapshot/identity-guard.mjs.map +1 -1
- package/dist/orchestrators/snapshot/image-bundle-tags.mjs +32 -101
- package/dist/orchestrators/snapshot/image-bundle-tags.mjs.map +1 -1
- package/dist/orchestrators/snapshot/index.mjs +1 -4
- package/dist/orchestrators/snapshot/integrity.mjs.map +1 -1
- package/dist/orchestrators/snapshot/interrupted-restore.mjs +116 -0
- package/dist/orchestrators/snapshot/interrupted-restore.mjs.map +1 -0
- package/dist/orchestrators/snapshot/phase-error.mjs.map +1 -1
- package/dist/orchestrators/snapshot/prune.mjs +40 -31
- package/dist/orchestrators/snapshot/prune.mjs.map +1 -1
- package/dist/orchestrators/snapshot/restore.mjs +221 -196
- package/dist/orchestrators/snapshot/restore.mjs.map +1 -1
- package/dist/orchestrators/snapshot/service.mjs +72 -62
- package/dist/orchestrators/snapshot/service.mjs.map +1 -1
- package/dist/orchestrators/snapshot/wipe.mjs +67 -56
- package/dist/orchestrators/snapshot/wipe.mjs.map +1 -1
- package/dist/plugins/account/codegen.mjs +3 -0
- package/dist/plugins/account/codegen.mjs.map +1 -1
- package/dist/plugins/account/errors.d.mts +2 -2
- package/dist/plugins/account/errors.mjs +1 -4
- package/dist/plugins/account/errors.mjs.map +1 -1
- package/dist/plugins/account/funding.mjs +3 -27
- package/dist/plugins/account/funding.mjs.map +1 -1
- package/dist/plugins/account/index.d.mts +3 -8
- package/dist/plugins/account/index.mjs +71 -35
- package/dist/plugins/account/index.mjs.map +1 -1
- package/dist/plugins/account/keypair.d.mts +8 -7
- package/dist/plugins/account/keypair.mjs +5 -18
- package/dist/plugins/account/keypair.mjs.map +1 -1
- package/dist/plugins/account/lease.mjs.map +1 -1
- package/dist/plugins/account/registry.d.mts +1 -46
- package/dist/plugins/account/registry.mjs.map +1 -1
- package/dist/plugins/account/service.d.mts +43 -34
- package/dist/plugins/account/service.mjs +9 -54
- package/dist/plugins/account/service.mjs.map +1 -1
- package/dist/plugins/account/snapshot.mjs.map +1 -1
- package/dist/plugins/account/variants/ephemeral.mjs.map +1 -1
- package/dist/plugins/account/variants/impersonate.mjs.map +1 -1
- package/dist/plugins/account/variants/signer.mjs.map +1 -1
- package/dist/plugins/action/discriminator.mjs.map +1 -1
- package/dist/plugins/action/errors.mjs +1 -4
- package/dist/plugins/action/errors.mjs.map +1 -1
- package/dist/plugins/action/execute.mjs +3 -4
- package/dist/plugins/action/execute.mjs.map +1 -1
- package/dist/plugins/action/index.d.mts +2 -2
- package/dist/plugins/action/index.mjs +7 -11
- package/dist/plugins/action/index.mjs.map +1 -1
- package/dist/plugins/action/service.d.mts +5 -7
- package/dist/plugins/action/service.mjs +2 -16
- package/dist/plugins/action/service.mjs.map +1 -1
- package/dist/plugins/coin/address-resolution.mjs.map +1 -1
- package/dist/plugins/coin/codegen.mjs +97 -16
- package/dist/plugins/coin/codegen.mjs.map +1 -1
- package/dist/plugins/coin/discovery.mjs.map +1 -1
- package/dist/plugins/coin/errors.mjs +1 -4
- package/dist/plugins/coin/errors.mjs.map +1 -1
- package/dist/plugins/coin/index.d.mts +4 -34
- package/dist/plugins/coin/index.mjs +47 -28
- package/dist/plugins/coin/index.mjs.map +1 -1
- package/dist/plugins/coin/metadata.d.mts +1 -0
- package/dist/plugins/coin/metadata.mjs +8 -9
- package/dist/plugins/coin/metadata.mjs.map +1 -1
- package/dist/plugins/coin/mint.mjs +7 -21
- package/dist/plugins/coin/mint.mjs.map +1 -1
- package/dist/plugins/coin/registry.mjs +33 -20
- package/dist/plugins/coin/registry.mjs.map +1 -1
- package/dist/plugins/coin/service.d.mts +1 -1
- package/dist/plugins/coin/service.mjs +1 -8
- package/dist/plugins/coin/service.mjs.map +1 -1
- package/dist/plugins/coin/snapshot.mjs.map +1 -1
- package/dist/plugins/coin/type-strings.mjs.map +1 -1
- package/dist/plugins/dashboard/domain.mjs +106 -167
- package/dist/plugins/dashboard/domain.mjs.map +1 -1
- package/dist/plugins/dashboard/index.mjs +13 -13
- package/dist/plugins/dashboard/index.mjs.map +1 -1
- package/dist/plugins/dashboard/origin-policy.mjs +3 -3
- package/dist/plugins/dashboard/origin-policy.mjs.map +1 -1
- package/dist/plugins/dashboard/routable.mjs.map +1 -1
- package/dist/plugins/dashboard/schema/builder.mjs.map +1 -1
- package/dist/plugins/dashboard/schema/enums.mjs.map +1 -1
- package/dist/plugins/dashboard/schema/root.mjs +23 -44
- package/dist/plugins/dashboard/schema/root.mjs.map +1 -1
- package/dist/plugins/dashboard/schema/types.mjs +37 -91
- package/dist/plugins/dashboard/schema/types.mjs.map +1 -1
- package/dist/plugins/dashboard/schema.mjs.map +1 -1
- package/dist/plugins/dashboard/server.mjs.map +1 -1
- package/dist/plugins/deepbook/codegen.d.mts +12 -11
- package/dist/plugins/deepbook/codegen.mjs +108 -11
- package/dist/plugins/deepbook/codegen.mjs.map +1 -1
- package/dist/plugins/deepbook/deploy.mjs +7 -14
- package/dist/plugins/deepbook/deploy.mjs.map +1 -1
- package/dist/plugins/deepbook/errors.mjs +4 -2
- package/dist/plugins/deepbook/errors.mjs.map +1 -1
- package/dist/plugins/deepbook/faucet-strategy.mjs +4 -10
- package/dist/plugins/deepbook/faucet-strategy.mjs.map +1 -1
- package/dist/plugins/deepbook/hash.mjs.map +1 -1
- package/dist/plugins/deepbook/index.d.mts +38 -34
- package/dist/plugins/deepbook/index.mjs +133 -64
- package/dist/plugins/deepbook/index.mjs.map +1 -1
- package/dist/plugins/deepbook/plugin-key.mjs.map +1 -1
- package/dist/plugins/deepbook/pyth/index.mjs +4 -8
- package/dist/plugins/deepbook/pyth/index.mjs.map +1 -1
- package/dist/plugins/deepbook/snapshot.mjs +0 -1
- package/dist/plugins/deepbook/snapshot.mjs.map +1 -1
- package/dist/plugins/deepbook/type-strings.mjs.map +1 -1
- package/dist/plugins/deepbook/types.d.mts +2 -1
- package/dist/plugins/deepbook/types.mjs.map +1 -1
- package/dist/plugins/faucet/dispatcher.d.mts +3 -3
- package/dist/plugins/faucet/dispatcher.mjs.map +1 -1
- package/dist/plugins/faucet/errors.mjs.map +1 -1
- package/dist/plugins/faucet/http.mjs +2 -10
- package/dist/plugins/faucet/http.mjs.map +1 -1
- package/dist/plugins/faucet/index.mjs +0 -1
- package/dist/plugins/faucet/index.mjs.map +1 -1
- package/dist/plugins/host-service/errors.d.mts +1 -3
- package/dist/plugins/host-service/errors.mjs +1 -2
- package/dist/plugins/host-service/errors.mjs.map +1 -1
- package/dist/plugins/host-service/index.d.mts +1 -2
- package/dist/plugins/host-service/index.mjs +11 -11
- package/dist/plugins/host-service/index.mjs.map +1 -1
- package/dist/plugins/host-service/routable.mjs.map +1 -1
- package/dist/plugins/host-service/service.mjs +13 -13
- package/dist/plugins/host-service/service.mjs.map +1 -1
- package/dist/plugins/internal/acquire-on-chain-artifact.mjs.map +1 -1
- package/dist/plugins/internal/codegen-helpers.mjs +2 -0
- package/dist/plugins/internal/codegen-helpers.mjs.map +1 -1
- package/dist/plugins/internal/funding-failure-error.mjs.map +1 -1
- package/dist/plugins/{postgres → internal/postgres-sidecar}/connection.mjs +1 -1
- package/dist/plugins/internal/postgres-sidecar/connection.mjs.map +1 -0
- package/dist/plugins/{postgres → internal/postgres-sidecar}/db-ensure.mjs +30 -16
- package/dist/plugins/internal/postgres-sidecar/db-ensure.mjs.map +1 -0
- package/dist/plugins/internal/postgres-sidecar/errors.mjs +21 -0
- package/dist/plugins/internal/postgres-sidecar/errors.mjs.map +1 -0
- package/dist/{substrate/runtime/scoped-multimap → plugins/internal/postgres-sidecar}/index.mjs +1 -0
- package/dist/plugins/internal/postgres-sidecar/service.mjs +121 -0
- package/dist/plugins/internal/postgres-sidecar/service.mjs.map +1 -0
- package/dist/plugins/package/build.mjs +2 -2
- package/dist/plugins/package/build.mjs.map +1 -1
- package/dist/plugins/package/codegen.d.mts +7 -14
- package/dist/plugins/package/codegen.mjs +187 -59
- package/dist/plugins/package/codegen.mjs.map +1 -1
- package/dist/plugins/package/dep-resolution.mjs +51 -3
- package/dist/plugins/package/dep-resolution.mjs.map +1 -1
- package/dist/plugins/package/errors.mjs +1 -4
- package/dist/plugins/package/errors.mjs.map +1 -1
- package/dist/plugins/package/git-source.d.mts +18 -0
- package/dist/plugins/package/git-source.mjs +119 -0
- package/dist/plugins/package/git-source.mjs.map +1 -0
- package/dist/plugins/package/index.d.mts +28 -19
- package/dist/plugins/package/index.mjs +107 -32
- package/dist/plugins/package/index.mjs.map +1 -1
- package/dist/plugins/package/mode-known.mjs +2 -2
- package/dist/plugins/package/mode-known.mjs.map +1 -1
- package/dist/plugins/package/mode-local.mjs +18 -35
- package/dist/plugins/package/mode-local.mjs.map +1 -1
- package/dist/plugins/package/publish-executor.mjs +13 -8
- package/dist/plugins/package/publish-executor.mjs.map +1 -1
- package/dist/plugins/package/publish-output.d.mts +1 -11
- package/dist/plugins/package/publish-output.mjs +1 -9
- package/dist/plugins/package/publish-output.mjs.map +1 -1
- package/dist/plugins/package/registry.d.mts +1 -1
- package/dist/plugins/package/registry.mjs +26 -14
- package/dist/plugins/package/registry.mjs.map +1 -1
- package/dist/plugins/package/service.mjs.map +1 -1
- package/dist/plugins/package/snapshot.mjs.map +1 -1
- package/dist/plugins/router-entrypoints.mjs +1 -3
- package/dist/plugins/router-entrypoints.mjs.map +1 -1
- package/dist/plugins/seal/bootstrap-assets/cargo-image.mjs +1 -2
- package/dist/plugins/seal/bootstrap-assets/cargo-image.mjs.map +1 -1
- package/dist/plugins/seal/bootstrap-assets/source-fetch.mjs +1 -6
- package/dist/plugins/seal/bootstrap-assets/source-fetch.mjs.map +1 -1
- package/dist/plugins/seal/codegen.d.mts +1 -5
- package/dist/plugins/seal/codegen.mjs +83 -12
- package/dist/plugins/seal/codegen.mjs.map +1 -1
- package/dist/plugins/seal/config-render.mjs +2 -6
- package/dist/plugins/seal/config-render.mjs.map +1 -1
- package/dist/plugins/seal/deploy.mjs +18 -29
- package/dist/plugins/seal/deploy.mjs.map +1 -1
- package/dist/plugins/seal/errors.d.mts +4 -5
- package/dist/plugins/seal/errors.mjs +1 -8
- package/dist/plugins/seal/errors.mjs.map +1 -1
- package/dist/plugins/seal/index.d.mts +7 -28
- package/dist/plugins/seal/index.mjs +69 -47
- package/dist/plugins/seal/index.mjs.map +1 -1
- package/dist/plugins/seal/key-manager.mjs.map +1 -1
- package/dist/plugins/seal/key-server.mjs +1 -6
- package/dist/plugins/seal/key-server.mjs.map +1 -1
- package/dist/plugins/seal/keygen.mjs +2 -3
- package/dist/plugins/seal/keygen.mjs.map +1 -1
- package/dist/plugins/seal/mode/fork-known.mjs.map +1 -1
- package/dist/plugins/seal/mode/live.mjs +1 -1
- package/dist/plugins/seal/mode/live.mjs.map +1 -1
- package/dist/plugins/seal/mode/local-keygen.mjs +4 -10
- package/dist/plugins/seal/mode/local-keygen.mjs.map +1 -1
- package/dist/plugins/seal/plugin-key.mjs.map +1 -1
- package/dist/plugins/seal/registry-publish.mjs.map +1 -1
- package/dist/plugins/seal/routable.mjs.map +1 -1
- package/dist/plugins/seal/service.mjs.map +1 -1
- package/dist/plugins/seal/snapshot.mjs +1 -2
- package/dist/plugins/seal/snapshot.mjs.map +1 -1
- package/dist/plugins/sui/auto-tick.mjs +5 -5
- package/dist/plugins/sui/auto-tick.mjs.map +1 -1
- package/dist/plugins/sui/chain-build-container.mjs +2 -2
- package/dist/plugins/sui/chain-build-container.mjs.map +1 -1
- package/dist/plugins/sui/chain-probe.mjs +4 -4
- package/dist/plugins/sui/chain-probe.mjs.map +1 -1
- package/dist/plugins/sui/codegen.d.mts +9 -7
- package/dist/plugins/sui/codegen.mjs +49 -46
- package/dist/plugins/sui/codegen.mjs.map +1 -1
- package/dist/plugins/sui/errors.d.mts +1 -1
- package/dist/plugins/sui/errors.mjs +1 -9
- package/dist/plugins/sui/errors.mjs.map +1 -1
- package/dist/{substrate/runtime/sui-execute → plugins/sui/exec}/index.d.mts +1 -1
- package/dist/{substrate/runtime/sui-execute → plugins/sui/exec}/index.mjs +3 -7
- package/dist/plugins/sui/exec/index.mjs.map +1 -0
- package/dist/{substrate/runtime/sui-execute → plugins/sui/exec}/sign-and-dispatch.mjs +1 -1
- package/dist/plugins/sui/exec/sign-and-dispatch.mjs.map +1 -0
- package/dist/plugins/sui/fork-faucet-strategy.mjs +2 -6
- package/dist/plugins/sui/fork-faucet-strategy.mjs.map +1 -1
- package/dist/plugins/sui/fork-orchestration.mjs +13 -23
- package/dist/plugins/sui/fork-orchestration.mjs.map +1 -1
- package/dist/plugins/sui/fork-transaction.mjs.map +1 -1
- package/dist/plugins/sui/index.d.mts +34 -83
- package/dist/plugins/sui/index.mjs +200 -68
- package/dist/plugins/sui/index.mjs.map +1 -1
- package/dist/{substrate/runtime/sui-ledger → plugins/sui/ledger}/object-ref.mjs +1 -1
- package/dist/plugins/sui/ledger/object-ref.mjs.map +1 -0
- package/dist/plugins/sui/local-faucet-strategy.mjs +1 -5
- package/dist/plugins/sui/local-faucet-strategy.mjs.map +1 -1
- package/dist/plugins/sui/log-attrs.mjs +11 -0
- package/dist/plugins/sui/log-attrs.mjs.map +1 -0
- package/dist/plugins/sui/mode/external.mjs +4 -12
- package/dist/plugins/sui/mode/external.mjs.map +1 -1
- package/dist/plugins/sui/mode/fork.mjs +19 -16
- package/dist/plugins/sui/mode/fork.mjs.map +1 -1
- package/dist/plugins/sui/mode/live.mjs +4 -17
- package/dist/plugins/sui/mode/live.mjs.map +1 -1
- package/dist/plugins/sui/mode/local.d.mts +1 -0
- package/dist/plugins/sui/mode/local.mjs +203 -61
- package/dist/plugins/sui/mode/local.mjs.map +1 -1
- package/dist/plugins/sui/mode/shared-boot.mjs +18 -23
- package/dist/plugins/sui/mode/shared-boot.mjs.map +1 -1
- package/dist/plugins/sui/mode/shared.d.mts +6 -7
- package/dist/plugins/sui/mode/shared.mjs.map +1 -1
- package/dist/plugins/sui/mode/spec.d.mts +23 -6
- package/dist/{substrate/runtime/sui-move-build → plugins/sui/move}/index.mjs +28 -30
- package/dist/plugins/sui/move/index.mjs.map +1 -0
- package/dist/plugins/sui/move-summary-runner.mjs +8 -4
- package/dist/plugins/sui/move-summary-runner.mjs.map +1 -1
- package/dist/{substrate/network.d.mts → plugins/sui/network-config.d.mts} +11 -10
- package/dist/plugins/sui/network-resolver.d.mts +6 -6
- package/dist/plugins/sui/routable.mjs.map +1 -1
- package/dist/plugins/sui/service.mjs +10 -6
- package/dist/plugins/sui/service.mjs.map +1 -1
- package/dist/plugins/sui/snapshot.mjs +10 -5
- package/dist/plugins/sui/snapshot.mjs.map +1 -1
- package/dist/plugins/wallet/codegen.d.mts +8 -6
- package/dist/plugins/wallet/codegen.mjs +4 -10
- package/dist/plugins/wallet/codegen.mjs.map +1 -1
- package/dist/plugins/wallet/errors.mjs +1 -4
- package/dist/plugins/wallet/errors.mjs.map +1 -1
- package/dist/plugins/wallet/index.d.mts +3 -6
- package/dist/plugins/wallet/index.mjs +16 -21
- package/dist/plugins/wallet/index.mjs.map +1 -1
- package/dist/plugins/wallet/origin-policy.mjs +3 -3
- package/dist/plugins/wallet/origin-policy.mjs.map +1 -1
- package/dist/plugins/wallet/pairing.mjs +6 -24
- package/dist/plugins/wallet/pairing.mjs.map +1 -1
- package/dist/plugins/wallet/protocol.mjs.map +1 -1
- package/dist/plugins/wallet/routable.mjs.map +1 -1
- package/dist/plugins/wallet/server.mjs +17 -24
- package/dist/plugins/wallet/server.mjs.map +1 -1
- package/dist/plugins/wallet/service.d.mts +2 -2
- package/dist/plugins/wallet/service.mjs +4 -15
- package/dist/plugins/wallet/service.mjs.map +1 -1
- package/dist/plugins/wallet/snapshot.mjs.map +1 -1
- package/dist/plugins/walrus/bootstrap-assets/cargo-image.mjs +1 -5
- package/dist/plugins/walrus/bootstrap-assets/cargo-image.mjs.map +1 -1
- package/dist/plugins/walrus/codegen.d.mts +2 -13
- package/dist/plugins/walrus/codegen.mjs +93 -28
- package/dist/plugins/walrus/codegen.mjs.map +1 -1
- package/dist/plugins/walrus/deploy-paths.mjs +2 -3
- package/dist/plugins/walrus/deploy-paths.mjs.map +1 -1
- package/dist/plugins/walrus/deploy.mjs +26 -19
- package/dist/plugins/walrus/deploy.mjs.map +1 -1
- package/dist/plugins/walrus/errors.mjs +1 -8
- package/dist/plugins/walrus/errors.mjs.map +1 -1
- package/dist/plugins/walrus/faucet-strategy.mjs +15 -1
- package/dist/plugins/walrus/faucet-strategy.mjs.map +1 -1
- package/dist/plugins/walrus/index.d.mts +13 -44
- package/dist/plugins/walrus/index.mjs +119 -122
- package/dist/plugins/walrus/index.mjs.map +1 -1
- package/dist/plugins/walrus/mode/known-deploy.mjs +6 -6
- package/dist/plugins/walrus/mode/known-deploy.mjs.map +1 -1
- package/dist/plugins/walrus/mode/local-cluster.d.mts +2 -2
- package/dist/plugins/walrus/mode/local-cluster.mjs +2 -10
- package/dist/plugins/walrus/mode/local-cluster.mjs.map +1 -1
- package/dist/plugins/walrus/plugin-key.mjs.map +1 -1
- package/dist/plugins/walrus/registry-publish.mjs.map +1 -1
- package/dist/plugins/walrus/routable.mjs.map +1 -1
- package/dist/plugins/walrus/service.mjs.map +1 -1
- package/dist/plugins/walrus/snapshot.mjs +3 -3
- package/dist/plugins/walrus/snapshot.mjs.map +1 -1
- package/dist/plugins/walrus/storage-nodes.mjs +53 -14
- package/dist/plugins/walrus/storage-nodes.mjs.map +1 -1
- package/dist/plugins/walrus/wal-swap.mjs +4 -8
- package/dist/plugins/walrus/wal-swap.mjs.map +1 -1
- package/dist/primitives/artifact-publisher.mjs.map +1 -1
- package/dist/primitives/cache.d.mts +1 -1
- package/dist/runtime/docker/client.mjs +47 -3
- package/dist/runtime/docker/client.mjs.map +1 -1
- package/dist/runtime/docker/container.mjs +37 -57
- package/dist/runtime/docker/container.mjs.map +1 -1
- package/dist/runtime/docker/errors.mjs.map +1 -1
- package/dist/runtime/docker/exec.mjs +2 -2
- package/dist/runtime/docker/exec.mjs.map +1 -1
- package/dist/runtime/docker/image.mjs +10 -11
- package/dist/runtime/docker/image.mjs.map +1 -1
- package/dist/runtime/docker/index.mjs +0 -1
- package/dist/runtime/docker/inspect-and-decode.mjs.map +1 -1
- package/dist/runtime/docker/inventory.mjs +9 -9
- package/dist/runtime/docker/inventory.mjs.map +1 -1
- package/dist/runtime/docker/labels.mjs +12 -1
- package/dist/runtime/docker/labels.mjs.map +1 -1
- package/dist/runtime/docker/network.mjs +6 -6
- package/dist/runtime/docker/network.mjs.map +1 -1
- package/dist/runtime/docker/render-run-args.mjs.map +1 -1
- package/dist/runtime/docker/service.mjs +31 -45
- package/dist/runtime/docker/service.mjs.map +1 -1
- package/dist/runtime/docker/sweep.mjs +14 -64
- package/dist/runtime/docker/sweep.mjs.map +1 -1
- package/dist/runtime/docker/volume.mjs +1 -1
- package/dist/runtime/docker/volume.mjs.map +1 -1
- package/dist/runtime/docker/wrap.mjs +14 -2
- package/dist/runtime/docker/wrap.mjs.map +1 -1
- package/dist/substrate/brand.d.mts +2 -5
- package/dist/substrate/brand.mjs +3 -2
- package/dist/substrate/brand.mjs.map +1 -1
- package/dist/substrate/cross-process.mjs +2 -16
- package/dist/substrate/cross-process.mjs.map +1 -1
- package/dist/substrate/event-time.mjs +0 -2
- package/dist/substrate/event-time.mjs.map +1 -1
- package/dist/substrate/events.d.mts +46 -16
- package/dist/substrate/identity.d.mts +11 -5
- package/dist/substrate/manifest.d.mts +33 -26
- package/dist/substrate/manifest.mjs +8 -3
- package/dist/substrate/manifest.mjs.map +1 -1
- package/dist/substrate/options.d.mts +33 -4
- package/dist/substrate/plugin-ctx.d.mts +70 -0
- package/dist/substrate/plugin-ctx.mjs +66 -0
- package/dist/substrate/plugin-ctx.mjs.map +1 -0
- package/dist/substrate/plugin.d.mts +46 -38
- package/dist/substrate/plugin.mjs +13 -9
- package/dist/substrate/plugin.mjs.map +1 -1
- package/dist/substrate/projection.d.mts +1 -1
- package/dist/substrate/runtime/atomic-write.mjs +3 -4
- package/dist/substrate/runtime/atomic-write.mjs.map +1 -1
- package/dist/substrate/runtime/cache/schema.mjs.map +1 -1
- package/dist/substrate/runtime/cache/service.mjs +50 -20
- package/dist/substrate/runtime/cache/service.mjs.map +1 -1
- package/dist/substrate/runtime/config-validation.mjs.map +1 -1
- package/dist/substrate/runtime/control-plane/domain.mjs +34 -12
- package/dist/substrate/runtime/control-plane/domain.mjs.map +1 -1
- package/dist/substrate/runtime/control-plane/service.mjs.map +1 -1
- package/dist/substrate/runtime/cross-process/command-channel/channel.mjs +14 -17
- package/dist/substrate/runtime/cross-process/command-channel/channel.mjs.map +1 -1
- package/dist/substrate/runtime/cross-process/command-channel/file-channel.mjs.map +1 -1
- package/dist/substrate/runtime/cross-process/command-channel/protocol.mjs.map +1 -1
- package/dist/substrate/runtime/cross-process/command-channel/runtime-control-lock.mjs.map +1 -1
- package/dist/substrate/runtime/cross-process/index.mjs +0 -2
- package/dist/substrate/runtime/cross-process/live-clock.mjs +1 -1
- package/dist/substrate/runtime/cross-process/live-clock.mjs.map +1 -1
- package/dist/substrate/runtime/cross-process/liveness.mjs +11 -18
- package/dist/substrate/runtime/cross-process/liveness.mjs.map +1 -1
- package/dist/substrate/runtime/cross-process/reclaim-stale-file.mjs +2 -2
- package/dist/substrate/runtime/cross-process/reclaim-stale-file.mjs.map +1 -1
- package/dist/substrate/runtime/cross-process/roster.mjs +17 -127
- package/dist/substrate/runtime/cross-process/roster.mjs.map +1 -1
- package/dist/substrate/runtime/cross-process/self-pid.mjs.map +1 -1
- package/dist/substrate/runtime/cross-process/stack-lock.mjs +29 -28
- package/dist/substrate/runtime/cross-process/stack-lock.mjs.map +1 -1
- package/dist/substrate/runtime/current-plugin.mjs.map +1 -1
- package/dist/substrate/runtime/errors.mjs +1 -13
- package/dist/substrate/runtime/errors.mjs.map +1 -1
- package/dist/substrate/runtime/format-unknown-error.mjs.map +1 -1
- package/dist/substrate/runtime/host-bind-mount-owner.mjs.map +1 -1
- package/dist/substrate/runtime/host-gateway.mjs.map +1 -1
- package/dist/substrate/runtime/host-tree-tar/index.mjs +15 -163
- package/dist/substrate/runtime/host-tree-tar/index.mjs.map +1 -1
- package/dist/substrate/runtime/http-probe.d.mts +1 -3
- package/dist/substrate/runtime/http-probe.mjs.map +1 -1
- package/dist/substrate/runtime/index.mjs +1 -6
- package/dist/substrate/runtime/lease-broker/service.mjs +5 -23
- package/dist/substrate/runtime/lease-broker/service.mjs.map +1 -1
- package/dist/substrate/runtime/lifecycle/dep-graph.mjs +3 -3
- package/dist/substrate/runtime/lifecycle/dep-graph.mjs.map +1 -1
- package/dist/substrate/runtime/lifecycle/graph-input-id.d.mts +1 -0
- package/dist/substrate/runtime/lifecycle/graph-input-id.mjs +133 -0
- package/dist/substrate/runtime/lifecycle/graph-input-id.mjs.map +1 -0
- package/dist/substrate/runtime/lifecycle/index.mjs +2 -2
- package/dist/substrate/runtime/lifecycle/plugin-registry.d.mts +1 -1
- package/dist/substrate/runtime/lifecycle/plugin-registry.mjs +22 -1
- package/dist/substrate/runtime/lifecycle/plugin-registry.mjs.map +1 -1
- package/dist/substrate/runtime/lifecycle/ready-gate.mjs +2 -15
- package/dist/substrate/runtime/lifecycle/ready-gate.mjs.map +1 -1
- package/dist/substrate/runtime/lifecycle/selective-restart.mjs +29 -25
- package/dist/substrate/runtime/lifecycle/selective-restart.mjs.map +1 -1
- package/dist/substrate/runtime/lifecycle/signals.mjs +1 -1
- package/dist/substrate/runtime/lifecycle/signals.mjs.map +1 -1
- package/dist/substrate/runtime/lifecycle/state-machine.mjs.map +1 -1
- package/dist/substrate/runtime/lifecycle/watch-attribution.d.mts +1 -1
- package/dist/substrate/runtime/lifecycle/watch-attribution.mjs +0 -1
- package/dist/substrate/runtime/lifecycle/watch-attribution.mjs.map +1 -1
- package/dist/substrate/runtime/managed-container.d.mts +5 -1
- package/dist/substrate/runtime/managed-container.mjs +8 -10
- package/dist/substrate/runtime/managed-container.mjs.map +1 -1
- package/dist/substrate/runtime/manifest/manifest.mjs +8 -30
- package/dist/substrate/runtime/manifest/manifest.mjs.map +1 -1
- package/dist/substrate/runtime/mode-errors.d.mts +1 -2
- package/dist/substrate/runtime/mode-errors.mjs.map +1 -1
- package/dist/substrate/runtime/observability/cascade-formatter.mjs +1 -11
- package/dist/substrate/runtime/observability/cascade-formatter.mjs.map +1 -1
- package/dist/substrate/runtime/observability/ignore-with-log.mjs.map +1 -1
- package/dist/substrate/runtime/observability/index.d.mts +1 -1
- package/dist/substrate/runtime/observability/index.mjs +4 -6
- package/dist/substrate/runtime/observability/log-attrs.mjs +46 -0
- package/dist/substrate/runtime/observability/log-attrs.mjs.map +1 -0
- package/dist/substrate/runtime/observability/log-store.mjs.map +1 -1
- package/dist/substrate/runtime/observability/logger.mjs +3 -3
- package/dist/substrate/runtime/observability/logger.mjs.map +1 -1
- package/dist/substrate/runtime/observability/output-truncate.mjs.map +1 -1
- package/dist/substrate/runtime/observability/pretty-error.mjs.map +1 -1
- package/dist/substrate/runtime/observability/process-lines.mjs.map +1 -1
- package/dist/substrate/runtime/observability/redaction.mjs.map +1 -1
- package/dist/substrate/runtime/observability/subprocess-capture.mjs +2 -2
- package/dist/substrate/runtime/observability/subprocess-capture.mjs.map +1 -1
- package/dist/substrate/runtime/passthrough-or-wrap.mjs.map +1 -1
- package/dist/substrate/runtime/paths.mjs +27 -9
- package/dist/substrate/runtime/paths.mjs.map +1 -1
- package/dist/substrate/runtime/phase-preserving-produce.mjs.map +1 -1
- package/dist/substrate/runtime/port-broker/service.mjs +10 -27
- package/dist/substrate/runtime/port-broker/service.mjs.map +1 -1
- package/dist/substrate/runtime/post-acquire-tasks.mjs.map +1 -1
- package/dist/substrate/runtime/probes.d.mts +2 -3
- package/dist/substrate/runtime/probes.mjs.map +1 -1
- package/dist/substrate/runtime/process-supervisor.mjs.map +1 -1
- package/dist/substrate/runtime/projection/operational-endpoints.mjs.map +1 -1
- package/dist/substrate/runtime/projection/state-ref.mjs.map +1 -1
- package/dist/substrate/runtime/projection/update.mjs +87 -11
- package/dist/substrate/runtime/projection/update.mjs.map +1 -1
- package/dist/substrate/runtime/random-suffix.mjs.map +1 -1
- package/dist/substrate/runtime/reconcile/fs-plan.mjs +146 -0
- package/dist/substrate/runtime/reconcile/fs-plan.mjs.map +1 -0
- package/dist/substrate/runtime/reconcile/graph.mjs +19 -0
- package/dist/substrate/runtime/reconcile/graph.mjs.map +1 -0
- package/dist/substrate/runtime/reconcile/index.mjs +5 -0
- package/dist/substrate/runtime/reconcile/label.mjs +41 -0
- package/dist/substrate/runtime/reconcile/label.mjs.map +1 -0
- package/dist/substrate/runtime/reconcile/spec.mjs +15 -0
- package/dist/substrate/runtime/reconcile/spec.mjs.map +1 -0
- package/dist/substrate/runtime/retry-policy.d.mts +2 -3
- package/dist/substrate/runtime/retry-policy.mjs.map +1 -1
- package/dist/substrate/runtime/routed-url.mjs.map +1 -1
- package/dist/substrate/runtime/runtime-decode.mjs.map +1 -1
- package/dist/substrate/runtime/scoped-http-server.mjs.map +1 -1
- package/dist/substrate/runtime/stage-and-swap/index.mjs +49 -12
- package/dist/substrate/runtime/stage-and-swap/index.mjs.map +1 -1
- package/dist/substrate/runtime/strategy-registry/chain-keyed-strategy-for.mjs.map +1 -1
- package/dist/substrate/runtime/strategy-registry/chain-probe-for.mjs.map +1 -1
- package/dist/substrate/runtime/strategy-registry/service.mjs +29 -17
- package/dist/substrate/runtime/strategy-registry/service.mjs.map +1 -1
- package/dist/substrate/runtime/subnet-broker.mjs.map +1 -1
- package/dist/substrate/runtime/supervisor/acquire-node.mjs +188 -56
- package/dist/substrate/runtime/supervisor/acquire-node.mjs.map +1 -1
- package/dist/substrate/runtime/supervisor/background-tasks.mjs +79 -65
- package/dist/substrate/runtime/supervisor/background-tasks.mjs.map +1 -1
- package/dist/substrate/runtime/supervisor/command-loop.mjs +82 -23
- package/dist/substrate/runtime/supervisor/command-loop.mjs.map +1 -1
- package/dist/substrate/runtime/supervisor/contribution-dispatcher.mjs +16 -0
- package/dist/substrate/runtime/supervisor/contribution-dispatcher.mjs.map +1 -0
- package/dist/substrate/runtime/supervisor/errors.mjs +11 -2
- package/dist/substrate/runtime/supervisor/errors.mjs.map +1 -1
- package/dist/substrate/runtime/supervisor/index.mjs +2 -0
- package/dist/substrate/runtime/supervisor/shutdown.mjs +6 -6
- package/dist/substrate/runtime/supervisor/shutdown.mjs.map +1 -1
- package/dist/substrate/runtime/supervisor/start-supervisor.mjs +60 -70
- package/dist/substrate/runtime/supervisor/start-supervisor.mjs.map +1 -1
- package/dist/substrate/runtime/supervisor/state.d.mts +1 -1
- package/dist/substrate/runtime/supervisor/state.mjs +1 -1
- package/dist/substrate/runtime/supervisor/state.mjs.map +1 -1
- package/dist/substrate/runtime/supervisor/teardown.mjs +10 -9
- package/dist/substrate/runtime/supervisor/teardown.mjs.map +1 -1
- package/dist/substrate/runtime/supervisor/wiring.mjs +6 -20
- package/dist/substrate/runtime/supervisor/wiring.mjs.map +1 -1
- package/dist/substrate/runtime/tar/reader.mjs +216 -0
- package/dist/substrate/runtime/tar/reader.mjs.map +1 -0
- package/dist/substrate/runtime/typed-env.mjs.map +1 -1
- package/dist/substrate/versioned-doc-schema.mjs.map +1 -1
- package/dist/substrate/versioned-doc-sync.mjs +5 -5
- package/dist/substrate/versioned-doc-sync.mjs.map +1 -1
- package/dist/surfaces/cli/command-tree.mjs +49 -7
- package/dist/surfaces/cli/command-tree.mjs.map +1 -1
- package/dist/surfaces/cli/commands/config.mjs +1 -1
- package/dist/surfaces/cli/commands/config.mjs.map +1 -1
- package/dist/surfaces/cli/commands/confirm-node.mjs.map +1 -1
- package/dist/surfaces/cli/commands/confirm.mjs.map +1 -1
- package/dist/surfaces/cli/commands/doctor.mjs +1 -1
- package/dist/surfaces/cli/commands/doctor.mjs.map +1 -1
- package/dist/surfaces/cli/commands/prune-picker-entry.mjs.map +1 -1
- package/dist/surfaces/cli/commands/prune-picker.mjs.map +1 -1
- package/dist/surfaces/cli/commands/prune.mjs +1 -1
- package/dist/surfaces/cli/commands/prune.mjs.map +1 -1
- package/dist/surfaces/cli/commands/snapshot.mjs +1 -1
- package/dist/surfaces/cli/commands/snapshot.mjs.map +1 -1
- package/dist/surfaces/cli/commands/status.mjs +1 -1
- package/dist/surfaces/cli/commands/status.mjs.map +1 -1
- package/dist/surfaces/cli/commands/supervisor-presence.mjs.map +1 -1
- package/dist/surfaces/cli/commands/wipe.mjs +3 -4
- package/dist/surfaces/cli/commands/wipe.mjs.map +1 -1
- package/dist/surfaces/cli/envelope.mjs.map +1 -1
- package/dist/surfaces/cli/errors.mjs.map +1 -1
- package/dist/surfaces/cli/flags.mjs.map +1 -1
- package/dist/surfaces/cli/index.mjs +45 -14
- package/dist/surfaces/cli/index.mjs.map +1 -1
- package/dist/surfaces/cli/output.mjs.map +1 -1
- package/dist/surfaces/cli/sysexits.mjs.map +1 -1
- package/dist/surfaces/tui/app.mjs +0 -21
- package/dist/surfaces/tui/app.mjs.map +1 -1
- package/dist/surfaces/tui/dashboard.mjs +0 -48
- package/dist/surfaces/tui/dashboard.mjs.map +1 -1
- package/dist/surfaces/tui/display-derivation.mjs +80 -16
- package/dist/surfaces/tui/display-derivation.mjs.map +1 -1
- package/dist/surfaces/tui/errors.mjs.map +1 -1
- package/dist/surfaces/tui/event-log.mjs +0 -9
- package/dist/surfaces/tui/event-log.mjs.map +1 -1
- package/dist/surfaces/tui/heartbeat.mjs.map +1 -1
- package/dist/surfaces/tui/index.mjs +2 -2
- package/dist/surfaces/tui/index.mjs.map +1 -1
- package/dist/surfaces/tui/input.mjs.map +1 -1
- package/dist/surfaces/tui/mode-detect.mjs.map +1 -1
- package/dist/surfaces/tui/mount-ink.mjs.map +1 -1
- package/dist/surfaces/tui/plain-renderer.mjs +26 -19
- package/dist/surfaces/tui/plain-renderer.mjs.map +1 -1
- package/dist/surfaces/tui/resource-table.mjs +8 -10
- package/dist/surfaces/tui/resource-table.mjs.map +1 -1
- package/images/postgres/Dockerfile +0 -1
- package/images/sui/Dockerfile +27 -54
- package/images/sui/entrypoint.sh +17 -179
- package/package.json +23 -15
- package/dashboard-ui/assets/index-Bmi1UtAg.js +0 -1356
- package/dashboard-ui/assets/index-D5EShVt4.js +0 -3
- package/dashboard-ui/assets/index-Deml9drg.css +0 -1
- package/dist/api/plugin-errors.d.mts +0 -7
- package/dist/api/plugin-errors.mjs +0 -10
- package/dist/api/plugin-errors.mjs.map +0 -1
- package/dist/cli/wirings/build-verb-layers.mjs +0 -42
- package/dist/cli/wirings/build-verb-layers.mjs.map +0 -1
- package/dist/contracts/capability-decl.d.mts +0 -40
- package/dist/orchestrators/built-in-plugin-layers.mjs +0 -54
- package/dist/orchestrators/built-in-plugin-layers.mjs.map +0 -1
- package/dist/orchestrators/run.mjs +0 -91
- package/dist/orchestrators/run.mjs.map +0 -1
- package/dist/orchestrators/runtime-composition.d.mts +0 -10
- package/dist/orchestrators/runtime-composition.mjs +0 -252
- package/dist/orchestrators/runtime-composition.mjs.map +0 -1
- package/dist/orchestrators/snapshot/capture-command.d.mts +0 -1
- package/dist/orchestrators/snapshot/capture-command.mjs +0 -25
- package/dist/orchestrators/snapshot/capture-command.mjs.map +0 -1
- package/dist/orchestrators/snapshot/pending-marker.mjs +0 -99
- package/dist/orchestrators/snapshot/pending-marker.mjs.map +0 -1
- package/dist/orchestrators/snapshot/recover-pending.mjs +0 -223
- package/dist/orchestrators/snapshot/recover-pending.mjs.map +0 -1
- package/dist/orchestrators/snapshot/state-document.d.mts +0 -1
- package/dist/orchestrators/snapshot/state-document.mjs +0 -58
- package/dist/orchestrators/snapshot/state-document.mjs.map +0 -1
- package/dist/plugins/account/spans.mjs +0 -16
- package/dist/plugins/account/spans.mjs.map +0 -1
- package/dist/plugins/account/variants/env.mjs +0 -24
- package/dist/plugins/account/variants/env.mjs.map +0 -1
- package/dist/plugins/account/variants/inline.mjs +0 -13
- package/dist/plugins/account/variants/inline.mjs.map +0 -1
- package/dist/plugins/account/variants/keystore.mjs +0 -91
- package/dist/plugins/account/variants/keystore.mjs.map +0 -1
- package/dist/plugins/action/spans.mjs +0 -11
- package/dist/plugins/action/spans.mjs.map +0 -1
- package/dist/plugins/coin/spans.mjs +0 -20
- package/dist/plugins/coin/spans.mjs.map +0 -1
- package/dist/plugins/deepbook/spans.mjs +0 -18
- package/dist/plugins/deepbook/spans.mjs.map +0 -1
- package/dist/plugins/faucet/spans.mjs +0 -12
- package/dist/plugins/faucet/spans.mjs.map +0 -1
- package/dist/plugins/package/spans.mjs +0 -14
- package/dist/plugins/package/spans.mjs.map +0 -1
- package/dist/plugins/postgres/codegen.mjs +0 -42
- package/dist/plugins/postgres/codegen.mjs.map +0 -1
- package/dist/plugins/postgres/connection.d.mts +0 -33
- package/dist/plugins/postgres/connection.mjs.map +0 -1
- package/dist/plugins/postgres/db-ensure.mjs.map +0 -1
- package/dist/plugins/postgres/errors.d.mts +0 -60
- package/dist/plugins/postgres/errors.mjs +0 -29
- package/dist/plugins/postgres/errors.mjs.map +0 -1
- package/dist/plugins/postgres/index.d.mts +0 -37
- package/dist/plugins/postgres/index.mjs +0 -68
- package/dist/plugins/postgres/index.mjs.map +0 -1
- package/dist/plugins/postgres/routable.mjs +0 -33
- package/dist/plugins/postgres/routable.mjs.map +0 -1
- package/dist/plugins/postgres/service.d.mts +0 -50
- package/dist/plugins/postgres/service.mjs +0 -179
- package/dist/plugins/postgres/service.mjs.map +0 -1
- package/dist/plugins/postgres/snapshot.mjs +0 -32
- package/dist/plugins/postgres/snapshot.mjs.map +0 -1
- package/dist/plugins/postgres/spans.mjs +0 -11
- package/dist/plugins/postgres/spans.mjs.map +0 -1
- package/dist/plugins/seal/spans.mjs +0 -18
- package/dist/plugins/seal/spans.mjs.map +0 -1
- package/dist/plugins/sui/spans.mjs +0 -17
- package/dist/plugins/sui/spans.mjs.map +0 -1
- package/dist/plugins/wallet/spans.mjs +0 -22
- package/dist/plugins/wallet/spans.mjs.map +0 -1
- package/dist/plugins/walrus/registry-publish.d.mts +0 -24
- package/dist/plugins/walrus/spans.mjs +0 -18
- package/dist/plugins/walrus/spans.mjs.map +0 -1
- package/dist/runtime/docker/logs.d.mts +0 -1
- package/dist/runtime/docker/logs.mjs +0 -34
- package/dist/runtime/docker/logs.mjs.map +0 -1
- package/dist/substrate/runtime/artifact-publisher/index.mjs +0 -86
- package/dist/substrate/runtime/artifact-publisher/index.mjs.map +0 -1
- package/dist/substrate/runtime/capability-sinks/index.d.mts +0 -1
- package/dist/substrate/runtime/capability-sinks/index.mjs +0 -3
- package/dist/substrate/runtime/capability-sinks/layer.d.mts +0 -1
- package/dist/substrate/runtime/capability-sinks/layer.mjs +0 -31
- package/dist/substrate/runtime/capability-sinks/layer.mjs.map +0 -1
- package/dist/substrate/runtime/capability-sinks/service.d.mts +0 -95
- package/dist/substrate/runtime/capability-sinks/service.mjs +0 -69
- package/dist/substrate/runtime/capability-sinks/service.mjs.map +0 -1
- package/dist/substrate/runtime/cross-process/lock.d.mts +0 -1
- package/dist/substrate/runtime/cross-process/lock.mjs +0 -23
- package/dist/substrate/runtime/cross-process/lock.mjs.map +0 -1
- package/dist/substrate/runtime/cross-process/snapshot-reservation.mjs +0 -113
- package/dist/substrate/runtime/cross-process/snapshot-reservation.mjs.map +0 -1
- package/dist/substrate/runtime/lifecycle/lifecycle-fact.mjs +0 -31
- package/dist/substrate/runtime/lifecycle/lifecycle-fact.mjs.map +0 -1
- package/dist/substrate/runtime/observability/formatter-registry.d.mts +0 -1
- package/dist/substrate/runtime/observability/formatter-registry.mjs +0 -48
- package/dist/substrate/runtime/observability/formatter-registry.mjs.map +0 -1
- package/dist/substrate/runtime/observability/span-store.d.mts +0 -1
- package/dist/substrate/runtime/observability/span-store.mjs +0 -110
- package/dist/substrate/runtime/observability/span-store.mjs.map +0 -1
- package/dist/substrate/runtime/observability/spans.d.mts +0 -1
- package/dist/substrate/runtime/observability/spans.mjs +0 -87
- package/dist/substrate/runtime/observability/spans.mjs.map +0 -1
- package/dist/substrate/runtime/projection/index.mjs +0 -4
- package/dist/substrate/runtime/projection/persisted.mjs +0 -213
- package/dist/substrate/runtime/projection/persisted.mjs.map +0 -1
- package/dist/substrate/runtime/scoped-multimap/service.mjs +0 -52
- package/dist/substrate/runtime/scoped-multimap/service.mjs.map +0 -1
- package/dist/substrate/runtime/scoped-ref-map/index.mjs +0 -2
- package/dist/substrate/runtime/scoped-ref-map/service.mjs +0 -83
- package/dist/substrate/runtime/scoped-ref-map/service.mjs.map +0 -1
- package/dist/substrate/runtime/state-store/index.mjs +0 -3
- package/dist/substrate/runtime/state-store/schema.d.mts +0 -1
- package/dist/substrate/runtime/state-store/schema.mjs +0 -41
- package/dist/substrate/runtime/state-store/schema.mjs.map +0 -1
- package/dist/substrate/runtime/state-store/service.d.mts +0 -1
- package/dist/substrate/runtime/state-store/service.mjs +0 -145
- package/dist/substrate/runtime/state-store/service.mjs.map +0 -1
- package/dist/substrate/runtime/sui-execute/index.mjs.map +0 -1
- package/dist/substrate/runtime/sui-execute/sign-and-dispatch.mjs.map +0 -1
- package/dist/substrate/runtime/sui-ledger/object-ref.mjs.map +0 -1
- package/dist/substrate/runtime/sui-move-build/index.mjs.map +0 -1
- package/dist/substrate/runtime/supervisor/dispatch-contributions.mjs +0 -151
- package/dist/substrate/runtime/supervisor/dispatch-contributions.mjs.map +0 -1
- package/dist/substrate/state-store.d.mts +0 -1
- /package/dist/orchestrators/{snapshot/pending-marker.d.mts → codegen/id-config.d.mts} +0 -0
- /package/dist/orchestrators/snapshot/{recover-pending.d.mts → interrupted-restore.d.mts} +0 -0
- /package/dist/{substrate/runtime/sui-execute → plugins/sui/exec}/sign-and-dispatch.d.mts +0 -0
- /package/dist/plugins/{postgres/snapshot.d.mts → sui/ledger/object-ref.d.mts} +0 -0
- /package/dist/{substrate/runtime/sui-move-build → plugins/sui/move}/index.d.mts +0 -0
- /package/dist/substrate/runtime/{state-store/index.d.mts → reconcile/graph.d.mts} +0 -0
- /package/dist/substrate/runtime/{cross-process/snapshot-reservation.d.mts → supervisor/contribution-dispatcher.d.mts} +0 -0
|
@@ -76,6 +76,9 @@ interface EnsureContainerSpec {
|
|
|
76
76
|
* with RocksDB/WAL-backed data should request enough time to flush
|
|
77
77
|
* cleanly; the runtime default is 10 seconds. */
|
|
78
78
|
readonly stopGraceSeconds?: number;
|
|
79
|
+
/** Optional signal for the scope finalizer's `docker stop` call.
|
|
80
|
+
* Omit to use Docker's image/default stop signal. */
|
|
81
|
+
readonly stopSignal?: string;
|
|
79
82
|
/** How published host ports participate in existing-container
|
|
80
83
|
* reconciliation. Default `exact` treats a binding mismatch as
|
|
81
84
|
* config drift. `adopt-existing` lets a same-name, image-matching
|
|
@@ -154,6 +157,17 @@ interface ContainerHandle {
|
|
|
154
157
|
readonly status: 'running' | 'exited' | 'paused' | 'created';
|
|
155
158
|
readonly ips: ReadonlyArray<string>;
|
|
156
159
|
readonly ports?: ReadonlyArray<ContainerPortPublish>;
|
|
160
|
+
/** The container's last recorded exit code, surfaced from
|
|
161
|
+
* `InspectFacts.exitCode` whenever Docker supplied a `State` (so a
|
|
162
|
+
* running container or one that exited cleanly reports `0`; only a
|
|
163
|
+
* container whose inspect omitted `State` entirely — an indeterminate
|
|
164
|
+
* lifecycle — leaves this absent). Lets callers distinguish a clean exit
|
|
165
|
+
* from a SIGKILL/OOM `137` — the only code the runtime's `decideRunAction`
|
|
166
|
+
* recreates an `on-failure` container on. Sui's indexer-db sidecar keys
|
|
167
|
+
* its `configHash` on `present + 137` (a validator crash-recreate ⇒
|
|
168
|
+
* re-genesis incoming) so it resets rather than resuming stale rows
|
|
169
|
+
* against a brand-new chain. */
|
|
170
|
+
readonly lastExitCode?: number;
|
|
157
171
|
}
|
|
158
172
|
/** Captured stdout/stderr/exit code from a one-shot `exec` invocation
|
|
159
173
|
* inside a running container. */
|
|
@@ -193,10 +207,8 @@ interface ContainerRuntime {
|
|
|
193
207
|
readonly ensureContainer: (spec: EnsureContainerSpec) => Effect.Effect<ContainerHandle, ContainerRuntimeError, Scope.Scope>;
|
|
194
208
|
/** Run a one-shot command inside a running container and capture
|
|
195
209
|
* its output. The runtime does NOT promote a non-zero exit to
|
|
196
|
-
* failure — the caller is the policy holder
|
|
197
|
-
*
|
|
198
|
-
* `createdb` as a typed plugin error). Only daemon-level failures
|
|
199
|
-
* (no such container, daemon unreachable) surface as
|
|
210
|
+
* failure — the caller is the policy holder. Only daemon-level
|
|
211
|
+
* failures (no such container, daemon unreachable) surface as
|
|
200
212
|
* `ContainerRuntimeError`. */
|
|
201
213
|
readonly exec: (handle: ContainerHandle, argv: ReadonlyArray<string>, opts?: ExecOptions) => Effect.Effect<ExecResult, ContainerRuntimeError>;
|
|
202
214
|
/** Run a one-shot `docker run --rm` container and capture stdout +
|
|
@@ -206,19 +218,10 @@ interface ContainerRuntime {
|
|
|
206
218
|
* scope close to catch containers that survived a foreground kill. */
|
|
207
219
|
readonly runOneShot: (spec: OneShotSpec) => Effect.Effect<ExecResult, ContainerRuntimeError, Scope.Scope>;
|
|
208
220
|
readonly inspectByLabels: (labels: ContainerLabelTuple) => Effect.Effect<ReadonlyArray<ContainerHandle>, ContainerRuntimeError>;
|
|
209
|
-
readonly followLogs: (handle: ContainerHandle) => Stream.Stream<string, ContainerRuntimeError>;
|
|
210
|
-
/** Pause a running container. Snapshot capture uses this to establish
|
|
211
|
-
* one stack-wide quiescence window before any artifact is written. */
|
|
212
|
-
readonly pause: (handle: ContainerHandle) => Effect.Effect<void, ContainerRuntimeError>;
|
|
213
221
|
/** Commit a container's writable layer to a snapshot image. Running
|
|
214
222
|
* containers are paused first; paused, exited, and created
|
|
215
223
|
* containers are already quiescent and are committed as-is. */
|
|
216
224
|
readonly pauseAndCommit: (handle: ContainerHandle) => Effect.Effect<TaggedImageRef, ContainerRuntimeError>;
|
|
217
|
-
/** Stream an image's bytes as if produced by `docker save <ref>`.
|
|
218
|
-
* Used by the snapshot orchestrator to persist committed images to
|
|
219
|
-
* tar files; consumers compose with a file-write sink so large
|
|
220
|
-
* images don't materialise in memory. */
|
|
221
|
-
readonly saveImage: (ref: ImageRef, opts?: SaveImageOptions) => Stream.Stream<Uint8Array, ContainerRuntimeError>;
|
|
222
225
|
/** Stream a deduplicated `docker save <ref...>` bundle. Snapshot
|
|
223
226
|
* capture uses this for multi-container stacks so shared base layers
|
|
224
227
|
* are written once per snapshot instead of once per container. */
|
|
@@ -237,11 +240,14 @@ interface ContainerRuntime {
|
|
|
237
240
|
* ownership of cleanup via `removeAfterSave`. Missing refs are
|
|
238
241
|
* treated as already-cleaned. */
|
|
239
242
|
readonly removeImage: (ref: ImageRef) => Effect.Effect<void, ContainerRuntimeError>;
|
|
240
|
-
|
|
243
|
+
/** Resolve a ref (tag or digest) to the image id/digest it currently
|
|
244
|
+
* points at, or `null` when the ref does not exist on-host. Snapshot
|
|
245
|
+
* capture-resume uses this to identify the layer a name resolved to
|
|
246
|
+
* BEFORE a retag (the soon-to-be-superseded layer) and the layer it
|
|
247
|
+
* resolves to AFTER (the freshly-committed one), so the orphaned
|
|
248
|
+
* previous layer can be GC'd without touching the live tag. */
|
|
249
|
+
readonly inspectImageDigest: (ref: string) => Effect.Effect<string | null, ContainerRuntimeError>;
|
|
241
250
|
readonly stop: (handle: ContainerHandle, grace: Duration.Duration) => Effect.Effect<void, ContainerRuntimeError>;
|
|
242
|
-
/** Boot-time orphan cleanup. This is container-only and skips names
|
|
243
|
-
* still present in the cross-process claim ledger. */
|
|
244
|
-
readonly sweepOrphans: (labelMatch: Partial<ContainerLabelTuple>) => Effect.Effect<number, ContainerRuntimeError>;
|
|
245
251
|
/** Force-remove managed containers matching the partial label tuple,
|
|
246
252
|
* regardless of claim-ledger entries. Wipe uses this for explicit
|
|
247
253
|
* teardown; restore uses it before the next `ensureContainer`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-expander.mjs","names":[],"sources":["../../src/contracts/plugin-expander.ts"],"sourcesContent":["// PluginExpander — compose-time plugin-rewrite contract.\n//\n// Some plugins cannot know their final `dependsOn` tuple at their\n// factory's call site because the relevant members are introduced\n// LATER (positionally, to `defineDevstack(...)`). The wallet's\n// `accounts: 'all'` mode is the canonical case: the wallet's hard\n// ordering edge against every account member is required, but the\n// wallet factory has no view of which accounts the user passes in.\n//\n// The fix is a compose-time rewrite: the plugin returns a PLACEHOLDER\n// member carrying an expander hook at a substrate-owned well-known\n// symbol; the composer detects the symbol, calls the expander with the\n// full member tuple, and substitutes the result. This module owns\n// that symbol + expander shape so the composer does not import any\n// plugin module to perform the rewrite.\n//\n// Architecture (Plugin-author surface = user-surface): any plugin\n// — built-in or custom — that needs this rewrite attaches the same\n// substrate-owned symbol with the same expander shape. The composer\n// dispatches uniformly; no per-plugin special-case lives in\n// `api/define-devstack.ts`.\n//\n// Note: this is a COMPOSE-TIME hook, distinct from the runtime\n//
|
|
1
|
+
{"version":3,"file":"plugin-expander.mjs","names":[],"sources":["../../src/contracts/plugin-expander.ts"],"sourcesContent":["// PluginExpander — compose-time plugin-rewrite contract.\n//\n// Some plugins cannot know their final `dependsOn` tuple at their\n// factory's call site because the relevant members are introduced\n// LATER (positionally, to `defineDevstack(...)`). The wallet's\n// `accounts: 'all'` mode is the canonical case: the wallet's hard\n// ordering edge against every account member is required, but the\n// wallet factory has no view of which accounts the user passes in.\n//\n// The fix is a compose-time rewrite: the plugin returns a PLACEHOLDER\n// member carrying an expander hook at a substrate-owned well-known\n// symbol; the composer detects the symbol, calls the expander with the\n// full member tuple, and substitutes the result. This module owns\n// that symbol + expander shape so the composer does not import any\n// plugin module to perform the rewrite.\n//\n// Architecture (Plugin-author surface = user-surface): any plugin\n// — built-in or custom — that needs this rewrite attaches the same\n// substrate-owned symbol with the same expander shape. The composer\n// dispatches uniformly; no per-plugin special-case lives in\n// `api/define-devstack.ts`.\n//\n// Note: this is a COMPOSE-TIME hook, distinct from the runtime\n// contribution-dispatch path (the ContributionDispatcher). Contribution\n// dispatch fires AFTER plugin acquire; expanders run BEFORE the\n// supervisor sees the member list at all. Both surfaces are\n// substrate-owned but they fire at different times.\n\nimport type { AnyPlugin } from '../substrate/plugin.ts';\n\n/** Globally registered symbol the composer probes for on every\n * member. `Symbol.for(...)` avoids leaking a `unique symbol` identity\n * into inferred Stack types (TS2742). */\nexport const PLUGIN_EXPANDER: symbol = Symbol.for('@devstack/contracts/plugin-expander');\n\n/** Compose-time expander closure. Receives the FULL composed-member\n * tuple (post-dependency-closure expansion) and returns the member\n * the composer should substitute for the placeholder. The substrate\n * treats the closure opaquely — plugin authors interpret `members`\n * through whatever filter matches their domain (the wallet picks\n * members whose id starts with `account/`; a hypothetical role-based\n * expander would pick members by `role` or by capability). */\nexport type PluginExpander = (members: ReadonlyArray<AnyPlugin>) => AnyPlugin;\n\n/** Read the expander hook from a member. Returns `undefined` when no\n * hook is attached — the composer leaves the member alone in that\n * case. */\nexport const readPluginExpander = (member: AnyPlugin): PluginExpander | undefined => {\n\tconst slot = (member as unknown as Record<symbol, unknown>)[PLUGIN_EXPANDER];\n\treturn typeof slot === 'function' ? (slot as PluginExpander) : undefined;\n};\n\n/** Attach an expander hook to a placeholder member. The symbol is\n * written as a value-level property only — plugin factories MUST NOT\n * surface the hook on the member's TS return type or the symbol\n * identity leaks into inferred Stack types. */\nexport const attachPluginExpander = (placeholder: AnyPlugin, expander: PluginExpander): void => {\n\t(placeholder as unknown as Record<symbol, unknown>)[PLUGIN_EXPANDER] = expander;\n};\n\n/**\n * Run every registered expander once. Iterates the member tuple, finds\n * placeholders carrying a `PluginExpander`, and substitutes each with\n * the expander's resolved member. Members without a hook pass through\n * unchanged.\n *\n * Returns the input array verbatim (zero allocation) when no member\n * carries an expander — the explicit-tuple path remains the common case.\n *\n * **Single-pass contract.** This pass is single-shot: it scans the input\n * tuple once and substitutes in place. If an expander returns a member\n * that ITSELF carries `PLUGIN_EXPANDER`, that nested expander does NOT\n * fire — `runPluginExpanders` does not recurse. The composer is\n * responsible for re-invoking both `runPluginExpanders` and\n * `expandPluginDependencies` until fixed-point (typically: run expanders,\n * then re-run dependency closure so the now-resolved edges fold into the\n * member tuple; loop until neither pass produces a change). Keeping this\n * module ignorant of fixpoint policy means the substrate decides how\n * many iterations are allowed and what counts as convergence.\n */\nexport const runPluginExpanders = (members: ReadonlyArray<AnyPlugin>): ReadonlyArray<AnyPlugin> => {\n\tlet hasAny = false;\n\tfor (const m of members) {\n\t\tif (readPluginExpander(m) !== undefined) {\n\t\t\thasAny = true;\n\t\t\tbreak;\n\t\t}\n\t}\n\tif (!hasAny) return members;\n\n\treturn members.map((m) => {\n\t\tconst expand = readPluginExpander(m);\n\t\treturn expand === undefined ? m : expand(members);\n\t});\n};\n\n/** True when the placeholder + replacement form an expansion pair —\n * same id, at least one side carries the expander hook. Used by the\n * composer's duplicate-provider check to allow the \"placeholder + its\n * expanded form\" pair (both share an id by construction). */\nexport const isPluginExpanderPair = (a: AnyPlugin, b: AnyPlugin): boolean =>\n\ta.id === b.id && (readPluginExpander(a) !== undefined || readPluginExpander(b) !== undefined);\n"],"mappings":";;;;AAiCA,MAAa,kBAA0B,OAAO,IAAI,qCAAqC;;;;AAcvF,MAAa,sBAAsB,WAAkD;CACpF,MAAM,OAAQ,OAA8C;CAC5D,OAAO,OAAO,SAAS,aAAc,OAA0B,KAAA;AAChE;;;;;AAMA,MAAa,wBAAwB,aAAwB,aAAmC;CAC/F,YAAoD,mBAAmB;AACxE;;;;;;;;;;;;;;;;;;;;;AAsBA,MAAa,sBAAsB,YAAgE;CAClG,IAAI,SAAS;CACb,KAAK,MAAM,KAAK,SACf,IAAI,mBAAmB,CAAC,MAAM,KAAA,GAAW;EACxC,SAAS;EACT;CACD;CAED,IAAI,CAAC,QAAQ,OAAO;CAEpB,OAAO,QAAQ,KAAK,MAAM;EACzB,MAAM,SAAS,mBAAmB,CAAC;EACnC,OAAO,WAAW,KAAA,IAAY,IAAI,OAAO,OAAO;CACjD,CAAC;AACF;;;;;AAMA,MAAa,wBAAwB,GAAc,MAClD,EAAE,OAAO,EAAE,OAAO,mBAAmB,CAAC,MAAM,KAAA,KAAa,mBAAmB,CAAC,MAAM,KAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Effect
|
|
1
|
+
import { Effect } from "effect";
|
|
2
2
|
|
|
3
3
|
//#region src/contracts/snapshotable.d.ts
|
|
4
4
|
/** Label tuple identifying managed containers. The orchestrator
|
|
@@ -20,7 +20,7 @@ type IdentityContributionValue = string | number | boolean | null | ReadonlyArra
|
|
|
20
20
|
* use a string-literal `kind` and JSON-serializable values; see the
|
|
21
21
|
* top-of-file convention section. The `[field]` index signature is
|
|
22
22
|
* permissive so existing payloads with `ReadonlyArray<string>` or
|
|
23
|
-
* nested object fields
|
|
23
|
+
* nested object fields typecheck without
|
|
24
24
|
* per-plugin schema duplication. */
|
|
25
25
|
interface IdentityContributionShape {
|
|
26
26
|
readonly kind: string;
|
|
@@ -37,12 +37,10 @@ interface SnapshotableDecl {
|
|
|
37
37
|
* + file-path rules. */
|
|
38
38
|
readonly subtrees: ReadonlyArray<string>;
|
|
39
39
|
/** Managed containers identified by label tuples — orchestrator
|
|
40
|
-
* is name-blind.
|
|
40
|
+
* is name-blind. The capture bounce gracefully `docker stop`s each
|
|
41
|
+
* (RocksDB/WAL flush) before commit, so no separate quiescence hook
|
|
42
|
+
* is needed — the graceful stop IS the flush. */
|
|
41
43
|
readonly managedContainers?: ReadonlyArray<ContainerLabelTuple>;
|
|
42
|
-
/** Quiescence hook: how to make state consistent before commit.
|
|
43
|
-
* Default is "pause container"; postgres / RocksDB declare
|
|
44
|
-
* longer grace. */
|
|
45
|
-
readonly quiesce?: Effect.Effect<void, never, Scope.Scope>;
|
|
46
44
|
/** Pre-restore hook: contribute to the identity guard. The returned
|
|
47
45
|
* object is JSON-stringified to derive a stable comparison string.
|
|
48
46
|
* See `IdentityContributionShape` + the top-of-file convention
|
|
@@ -2,10 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Canonical path constants under the `/api/v1/devstack/*` prefix.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
* unimplemented"): the legacy server declared four `FORK_*` path
|
|
7
|
-
* constants whose handlers never landed. Per "no compat for never-
|
|
8
|
-
* cases", we drop them from the wire protocol entirely — when the
|
|
5
|
+
* The wire protocol carries no fork-control (`FORK_*`) routes. When the
|
|
9
6
|
* fork-control surface is wired, those routes will be added (and the
|
|
10
7
|
* dev-wallet adapter shipped together). No half-done stubs.
|
|
11
8
|
*/
|
|
@@ -33,7 +30,7 @@ declare const WALLET_TOKEN_HEX_LENGTH: 32;
|
|
|
33
30
|
* the manifest under `endpoints['wallet-app']`; downstream consumers
|
|
34
31
|
* (codegen, TUI, doctor) read it by this key.
|
|
35
32
|
*
|
|
36
|
-
*
|
|
33
|
+
* A stable key so downstream consumers don't break. */
|
|
37
34
|
declare const WALLET_ENDPOINT_NAME: "wallet-app";
|
|
38
35
|
/** Conventional short endpoint key for the wallet plugin. Matches the
|
|
39
36
|
* substrate's `EndpointKey` brand. Build integrations (Playwright,
|
|
@@ -2,10 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Canonical path constants under the `/api/v1/devstack/*` prefix.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
* unimplemented"): the legacy server declared four `FORK_*` path
|
|
7
|
-
* constants whose handlers never landed. Per "no compat for never-
|
|
8
|
-
* cases", we drop them from the wire protocol entirely — when the
|
|
5
|
+
* The wire protocol carries no fork-control (`FORK_*`) routes. When the
|
|
9
6
|
* fork-control surface is wired, those routes will be added (and the
|
|
10
7
|
* dev-wallet adapter shipped together). No half-done stubs.
|
|
11
8
|
*/
|
|
@@ -32,7 +29,7 @@ const WALLET_TOKEN_HEX_LENGTH = 32;
|
|
|
32
29
|
* the manifest under `endpoints['wallet-app']`; downstream consumers
|
|
33
30
|
* (codegen, TUI, doctor) read it by this key.
|
|
34
31
|
*
|
|
35
|
-
*
|
|
32
|
+
* A stable key so downstream consumers don't break. */
|
|
36
33
|
const WALLET_ENDPOINT_NAME = "wallet-app";
|
|
37
34
|
/** Conventional short endpoint key for the wallet plugin. Matches the
|
|
38
35
|
* substrate's `EndpointKey` brand. Build integrations (Playwright,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wallet-protocol.mjs","names":[],"sources":["../../src/contracts/wallet-protocol.ts"],"sourcesContent":["// Wallet wire-protocol constants — name-blind substrate contract.\n//\n// These are the PURE wire-protocol invariants shared across layers:\n// HTTP path strings, the protocol prefix gate, header/token constants,\n// and the canonical routed-endpoint name/key. They carry no runtime,\n// Effect, or service dependencies — only string/number literals.\n//\n// Lifted here (ARCHITECTURE.md § Layer table) because L5 build\n// integrations (`build-integrations/runtime/wallet-paths.ts` and the\n// Playwright/vitest helpers) need them but MUST NOT import L2 plugin\n// modules — there is no L5→L0–L3 carve-out. STYLE_GUIDE §7: shared\n// cross-layer shapes that no single layer should own live in\n// `src/contracts/`; plugin barrels re-export for ergonomics.\n//\n// One decl per file, no `contracts/index.ts` barrel (STYLE_GUIDE §8 /\n// §199): package-internal callers import this module directly; the\n// public root barrel re-exports the wallet-plugin barrel, which in\n// turn re-exports from here, so the public value/type identity is\n// unchanged.\n//\n// The wallet plugin's `protocol.ts` / `routable.ts` re-export these so\n// plugin-internal callers keep their current import sites. The Schema-\n// based request/response envelopes stay in `protocol.ts` (they drag in\n// `effect`'s Schema runtime and are not needed by the L5 surfaces).\n\n// ----------------------------------------------------------------------\n// Path constants\n// ----------------------------------------------------------------------\n\n/**\n * Canonical path constants under the `/api/v1/devstack/*` prefix.\n *\n *
|
|
1
|
+
{"version":3,"file":"wallet-protocol.mjs","names":[],"sources":["../../src/contracts/wallet-protocol.ts"],"sourcesContent":["// Wallet wire-protocol constants — name-blind substrate contract.\n//\n// These are the PURE wire-protocol invariants shared across layers:\n// HTTP path strings, the protocol prefix gate, header/token constants,\n// and the canonical routed-endpoint name/key. They carry no runtime,\n// Effect, or service dependencies — only string/number literals.\n//\n// Lifted here (ARCHITECTURE.md § Layer table) because L5 build\n// integrations (`build-integrations/runtime/wallet-paths.ts` and the\n// Playwright/vitest helpers) need them but MUST NOT import L2 plugin\n// modules — there is no L5→L0–L3 carve-out. STYLE_GUIDE §7: shared\n// cross-layer shapes that no single layer should own live in\n// `src/contracts/`; plugin barrels re-export for ergonomics.\n//\n// One decl per file, no `contracts/index.ts` barrel (STYLE_GUIDE §8 /\n// §199): package-internal callers import this module directly; the\n// public root barrel re-exports the wallet-plugin barrel, which in\n// turn re-exports from here, so the public value/type identity is\n// unchanged.\n//\n// The wallet plugin's `protocol.ts` / `routable.ts` re-export these so\n// plugin-internal callers keep their current import sites. The Schema-\n// based request/response envelopes stay in `protocol.ts` (they drag in\n// `effect`'s Schema runtime and are not needed by the L5 surfaces).\n\n// ----------------------------------------------------------------------\n// Path constants\n// ----------------------------------------------------------------------\n\n/**\n * Canonical path constants under the `/api/v1/devstack/*` prefix.\n *\n * The wire protocol carries no fork-control (`FORK_*`) routes. When the\n * fork-control surface is wired, those routes will be added (and the\n * dev-wallet adapter shipped together). No half-done stubs.\n */\nexport const WalletHttpPath = {\n\tHEALTH: '/api/v1/devstack/health',\n\tACCOUNTS: '/api/v1/devstack/accounts',\n\tSIGN_TRANSACTION: '/api/v1/devstack/sign-transaction',\n\tSIGN_PERSONAL_MESSAGE: '/api/v1/devstack/sign-personal-message',\n} as const;\n\nexport type WalletHttpPathValue = (typeof WalletHttpPath)[keyof typeof WalletHttpPath];\n\n/** Prefix gate: ANY path under this prefix is treated as protocol traffic\n * (and subject to mandatory Origin + bearer); anything else is a flat\n * 404. */\nexport const WALLET_PROTOCOL_PREFIX = '/api/v1/devstack/' as const;\n\n// ----------------------------------------------------------------------\n// Header / token constants (shared so the dev-wallet adapter doesn't\n// open-code the same strings).\n// ----------------------------------------------------------------------\n\nexport const WALLET_AUTH_HEADER = 'authorization' as const;\nexport const WALLET_BEARER_PREFIX = 'Bearer ' as const;\n\n/** URL-fragment key the pair-URL carries the token under\n * (`<wallet-url>/#token=<32-hex>`). Fragments are not sent to the\n * server, so the token never appears in access logs / referrers. */\nexport const WALLET_TOKEN_FRAGMENT_KEY = 'token' as const;\n\n/** Constant carried token byte length (16 random bytes → 32 hex chars).\n * The on-disk token file is rejected + re-minted if it doesn't match. */\nexport const WALLET_TOKEN_HEX_LENGTH = 32 as const;\n\n// ----------------------------------------------------------------------\n// Routed-endpoint identity\n// ----------------------------------------------------------------------\n\n/** Canonical endpoint name. The router orchestrator surfaces this in\n * the manifest under `endpoints['wallet-app']`; downstream consumers\n * (codegen, TUI, doctor) read it by this key.\n *\n * A stable key so downstream consumers don't break. */\nexport const WALLET_ENDPOINT_NAME = 'wallet-app' as const;\n\n/** Conventional short endpoint key for the wallet plugin. Matches the\n * substrate's `EndpointKey` brand. Build integrations (Playwright,\n * vitest helpers) and the conventional-routes alias table look the\n * endpoint up under this key; the substrate's alias resolver folds\n * `'wallet'` → `WALLET_ENDPOINT_NAME` (`'wallet-app'`) before\n * consulting the manifest.\n *\n * Paired with the canonical name so both stay in lockstep when the\n * plugin's HTTP server is renamed; the L5 conventional-routes table\n * consumes the same constant so there is exactly one source of\n * truth. */\nexport const WALLET_ENDPOINT_KEY = 'wallet' as const;\n"],"mappings":";;;;;;;;AAoCA,MAAa,iBAAiB;CAC7B,QAAQ;CACR,UAAU;CACV,kBAAkB;CAClB,uBAAuB;AACxB;;;;AAOA,MAAa,yBAAyB;AAOtC,MAAa,qBAAqB;AAClC,MAAa,uBAAuB;;;;AAKpC,MAAa,4BAA4B;;;AAIzC,MAAa,0BAA0B;;;;;;AAWvC,MAAa,uBAAuB;;;;;;;;;;;;AAapC,MAAa,sBAAsB"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,29 +1,31 @@
|
|
|
1
1
|
import { ManifestExtras, ManifestExtrasContext, ManifestExtrasInput, ManifestExtrasInvalid, ManifestExtrasLookupError } from "./substrate/manifest.mjs";
|
|
2
2
|
import { runtime_decode_d_exports } from "./substrate/runtime/runtime-decode.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { AppName, Brand, ChainId, ContentHash, EndpointKey, StackName, appName, chainId, contentHash, endpointKey, stackName } from "./substrate/brand.mjs";
|
|
3
|
+
import { AppName, Brand, ContentHash, EndpointKey, StackName, appName, contentHash, endpointKey, stackName } from "./substrate/brand.mjs";
|
|
5
4
|
import { LifecycleStatus, PhaseNarration, PluginRole } from "./substrate/lifecycle.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { ContainerLabelTuple, SnapshotableDecl } from "./contracts/snapshotable.mjs";
|
|
9
|
-
import { StrategyContributorDecl, StrategyFor } from "./contracts/strategy-contributor.mjs";
|
|
10
|
-
import { CapabilityDecl, CapabilityKind, CapabilityPayloadFor, DevstackCapabilityRegistry, ExactCapabilityPayload } from "./contracts/capability-decl.mjs";
|
|
11
|
-
import { AnyPlugin, AnyResourceRef, DependencyInput, DependencyList, Plugin, PluginErrorContribution, PluginSpec, ResolvedDependencies, ResourceIdOf, ResourceRef, ResourceValueOf, defineId, definePlugin, resource } from "./substrate/plugin.mjs";
|
|
12
|
-
import { DevstackNetworkModeRegistry, NetworkConfig, NetworkMode } from "./substrate/network.mjs";
|
|
5
|
+
import { CodegenEmitContext, CodegenEmitDone, CodegenableDecl } from "./contracts/codegenable.mjs";
|
|
6
|
+
import { AnyPlugin, AnyResourceRef, DependencyInput, DependencyList, Plugin, PluginSpec, ResolvedDependencies, ResourceIdOf, ResourceRef, ResourceValueOf, defineId, definePlugin, resource } from "./substrate/plugin.mjs";
|
|
13
7
|
import { DevstackOptions } from "./substrate/options.mjs";
|
|
14
8
|
import { Stack, defineDevstack } from "./api/define-devstack.mjs";
|
|
9
|
+
import { DEFAULT_DEVSTACK_NETWORK, DEFAULT_STACK_NAME, DEVSTACK_NETWORK_NAMES, DevstackNetworkName, DevstackNetworkParseError, LOCAL_NETWORK_NAME, ParsedDevstackNetwork, ResolveNetworkOptions, ResolveStateDirOptions, ResolvedDevstackNetwork, chainIdForNetwork, networkNameFromChain, parseDevstackNetwork, parseDevstackNetworkName, resolveAppName, resolveNetwork, resolveNetworkSync, resolveStackName, resolveStateDir } from "./api/inference-network.mjs";
|
|
10
|
+
import { DevstackNetworkModeRegistry, NetworkConfig, NetworkMode } from "./plugins/sui/network-config.mjs";
|
|
15
11
|
import { BuildCtx, DevstackOptionsWith, defineDevstackWith } from "./api/define-devstack-with.mjs";
|
|
16
|
-
import {
|
|
12
|
+
import { ContainerLabelTuple, SnapshotableDecl } from "./contracts/snapshotable.mjs";
|
|
17
13
|
import { ContainerHandle, ContainerRuntime, ContainerRuntimeError, ImageRef, LoadedImageBundle, TaggedImageRef } from "./contracts/container-runtime.mjs";
|
|
18
14
|
import { IdentityContext } from "./substrate/runtime/paths.mjs";
|
|
19
15
|
import { ContainerRuntimeService } from "./runtime/docker/service.mjs";
|
|
16
|
+
import { DevstackRoutableUpstreamRegistry, DispatchId, EntrypointDecl, RoutableDecl, RoutableHttpDecl, RoutableTcpDecl, RoutableUpstream, RoutableUpstreamKind } from "./contracts/routable.mjs";
|
|
20
17
|
import { http_probe_d_exports } from "./substrate/runtime/http-probe.mjs";
|
|
18
|
+
import { StrategyContributorDecl, StrategyFor } from "./contracts/strategy-contributor.mjs";
|
|
19
|
+
import { ChainProbe, ChainProbeError, ChainProbeMode } from "./contracts/chain-probe.mjs";
|
|
21
20
|
import { LogLevel, LogLine, LogPayload, Logger, LoggerShape, TagBuffer } from "./substrate/runtime/observability/logger.mjs";
|
|
21
|
+
import { RedactionRule, redaction_d_exports } from "./substrate/runtime/observability/redaction.mjs";
|
|
22
22
|
import { process_lines_d_exports } from "./substrate/runtime/observability/process-lines.mjs";
|
|
23
|
+
import { ProjectionDecl, ProjectionEvent } from "./contracts/projection.mjs";
|
|
24
|
+
import { PackageBindings } from "./orchestrators/codegen/bindings.mjs";
|
|
25
|
+
import { ResolvedKnownPackage, ResolvedLocalPackage } from "./plugins/package/registry.mjs";
|
|
23
26
|
import { BootError, RunHandle, RunStackIdentityOptions, RunStackOptions, runStack } from "./api/run-stack.mjs";
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import { DEFAULT_DEVSTACK_NETWORK, DEFAULT_STACK_NAME, DEVSTACK_NETWORK_NAMES, DevstackNetworkName, DevstackNetworkParseError, ParsedDevstackNetwork, ResolveNetworkOptions, ResolveStateDirOptions, ResolvedDevstackNetwork, parseDevstackNetwork, parseDevstackNetworkName, resolveAppName, resolveNetwork, resolveNetworkSync, resolveStackName, resolveStateDir } from "./api/inference-network.mjs";
|
|
27
|
+
import { projection } from "./api/define-capabilities.mjs";
|
|
28
|
+
import { PluginContext, PluginCtx } from "./substrate/plugin-ctx.mjs";
|
|
27
29
|
import { FactoriesByMode, FactoriesFor, ModeNamespace, defineModeNamespace } from "./api/mode-narrowed-factory.mjs";
|
|
28
30
|
import { config_validation_d_exports } from "./substrate/runtime/config-validation.mjs";
|
|
29
31
|
import { managed_container_d_exports } from "./substrate/runtime/managed-container.mjs";
|
|
@@ -31,14 +33,13 @@ import { process_supervisor_d_exports } from "./substrate/runtime/process-superv
|
|
|
31
33
|
import { probes_d_exports } from "./substrate/runtime/probes.mjs";
|
|
32
34
|
import { retry_policy_d_exports } from "./substrate/runtime/retry-policy.mjs";
|
|
33
35
|
import { Renderer, RendererError } from "./contracts/renderer.mjs";
|
|
34
|
-
import {
|
|
36
|
+
import { ForkUnsupportedError, SuiCliError, SuiConfigError, SuiError, SuiPluginError } from "./plugins/sui/errors.mjs";
|
|
35
37
|
import { FaucetBodyError, FaucetConfigError, FaucetError, FaucetExhausted, FaucetUnreachable } from "./plugins/faucet/errors.mjs";
|
|
36
38
|
import { FaucetStrategy } from "./plugins/faucet/dispatcher.mjs";
|
|
37
39
|
import { FaucetStrategyContribution, defineFaucetStrategy } from "./plugins/faucet/index.mjs";
|
|
38
|
-
import { ForkUnsupportedError, SuiCliError, SuiConfigError, SuiError, SuiPluginError } from "./plugins/sui/errors.mjs";
|
|
39
40
|
import { SuiForkOptions, SuiLiveOptions, SuiLocalOptions, SuiLocalRpcOptions, SuiOptions } from "./plugins/sui/mode/spec.mjs";
|
|
40
41
|
import { ResolvedSuiNetwork } from "./plugins/sui/network-resolver.mjs";
|
|
41
|
-
import {
|
|
42
|
+
import { SuiNetworkConfigEntry } from "./plugins/sui/codegen.mjs";
|
|
42
43
|
import { sui, suiFor } from "./plugins/sui/index.mjs";
|
|
43
44
|
import { AccountAcquireError, AccountAcquirePhase, AccountError, AccountSignError, AccountSignPhase, AccountVariantKind } from "./plugins/account/errors.mjs";
|
|
44
45
|
import { AccountOptions, AccountValue, TxResult } from "./plugins/account/service.mjs";
|
|
@@ -47,10 +48,6 @@ import { AccountBindings } from "./plugins/account/codegen.mjs";
|
|
|
47
48
|
import { ResolvedKeypair, SignatureScheme } from "./plugins/account/keypair.mjs";
|
|
48
49
|
import { SyntheticImpersonationSigner } from "./plugins/account/variants/impersonate.mjs";
|
|
49
50
|
import { account } from "./plugins/account/index.mjs";
|
|
50
|
-
import { ResolvedKnownPackage, ResolvedLocalPackage } from "./plugins/package/registry.mjs";
|
|
51
|
-
import { PublishError } from "./plugins/package/errors.mjs";
|
|
52
|
-
import { PackageBindings } from "./plugins/package/codegen.mjs";
|
|
53
|
-
import { KnownPackageOptions, KnownPackageResolved, LocalPackageOptions, LocalPackageResolved, PackageCapture, PackageResolved, PublisherAccountMember, knownPackage, localPackage } from "./plugins/package/index.mjs";
|
|
54
51
|
import { CoinError, CoinPhase } from "./plugins/coin/errors.mjs";
|
|
55
52
|
import { isBareCoinType, validateBareCoinType } from "./plugins/coin/metadata.mjs";
|
|
56
53
|
import { BUILTIN_COINS, BuiltinCoinName, ResolvedCoin } from "./plugins/coin/address-resolution.mjs";
|
|
@@ -58,6 +55,8 @@ import { CoinAddressForm, CoinValue } from "./plugins/coin/service.mjs";
|
|
|
58
55
|
import { CoinBindings } from "./plugins/coin/codegen.mjs";
|
|
59
56
|
import { DiscoveredCoin } from "./plugins/coin/discovery.mjs";
|
|
60
57
|
import { PackageMember, coin } from "./plugins/coin/index.mjs";
|
|
58
|
+
import { PublishError } from "./plugins/package/errors.mjs";
|
|
59
|
+
import { KnownPackageOptions, KnownPackageResolved, LocalPackageOptions, LocalPackageResolved, PackageCapture, PackageResolved, PublisherAccountMember, knownPackage, localPackage } from "./plugins/package/index.mjs";
|
|
61
60
|
import { WalletBootError, WalletBootPhase, WalletError, WalletRequestError, WalletRequestPhase } from "./plugins/wallet/errors.mjs";
|
|
62
61
|
import { WalletAccountMember, WalletOptions, WalletValue } from "./plugins/wallet/service.mjs";
|
|
63
62
|
import { wallet } from "./plugins/wallet/index.mjs";
|
|
@@ -65,10 +64,6 @@ import { DashboardOptions, DashboardValue, dashboard } from "./plugins/dashboard
|
|
|
65
64
|
import { HostServiceError } from "./plugins/host-service/errors.mjs";
|
|
66
65
|
import { HOST_SERVICE_PORT_TOKEN, HostServiceOptions, HostServiceReadyProbe, HostServiceValue } from "./plugins/host-service/service.mjs";
|
|
67
66
|
import { hostService } from "./plugins/host-service/index.mjs";
|
|
68
|
-
import { DatabaseCreateFailed, PostgresConfigError, PostgresConnectionTimeout, PostgresError, PostgresPhase, PostgresPluginError } from "./plugins/postgres/errors.mjs";
|
|
69
|
-
import { Postgres, PostgresServiceOptions } from "./plugins/postgres/service.mjs";
|
|
70
|
-
import { PostgresConnectionBindings, PostgresConnectionParts } from "./plugins/postgres/connection.mjs";
|
|
71
|
-
import { PostgresPluginOptions, postgres } from "./plugins/postgres/index.mjs";
|
|
72
67
|
import { ActionError, ActionPhase } from "./plugins/action/errors.mjs";
|
|
73
68
|
import { ActionReceipt } from "./plugins/action/service.mjs";
|
|
74
69
|
import { ActionBuildContext } from "./plugins/action/build-context.mjs";
|
|
@@ -85,6 +80,6 @@ import { SealBindings } from "./plugins/seal/codegen.mjs";
|
|
|
85
80
|
import { SealCommonOptions, SealForkKnownOptions, SealLiveOptions, SealLocalKeygenOptions, SealOptions, seal, sealFor } from "./plugins/seal/index.mjs";
|
|
86
81
|
import { DeepbookConfigError, DeepbookError, DeepbookPhase, DeepbookPluginError } from "./plugins/deepbook/errors.mjs";
|
|
87
82
|
import { AccountMemberAlias, CoinMemberAlias, DEEP_PRICE_FEED_ID, DeepbookPackageMember, DeepbookPool, DeepbookPoolCoin, DeepbookPoolSeedLiquidity, DeepbookPoolSeedOrder, DeepbookPoolSpec, SUI_PRICE_FEED_ID, USDC_PRICE_FEED_ID, pythPriceFeedId } from "./plugins/deepbook/types.mjs";
|
|
88
|
-
import { DeepbookBindings
|
|
83
|
+
import { DeepbookBindings } from "./plugins/deepbook/codegen.mjs";
|
|
89
84
|
import { DeepbookCommonOptions, DeepbookKnownNetwork, DeepbookKnownOptions, DeepbookOptions, DeepbookOverrideOptions, DeepbookResolved, deepbookCore, deepbookFor } from "./plugins/deepbook/index.mjs";
|
|
90
|
-
export { type AccountAcquireError, type AccountAcquirePhase, type AccountBindings, type AccountError, type AccountFunding, type AccountFundingCoinValue, type AccountFundingEntry, type AccountFundingRequest, type AccountFundingResult, type AccountFundingStrategy, type AccountMemberAlias, type AccountOptions, type AccountSignError, type AccountSignPhase, type AccountValue, type AccountVariantKind, type ActionBuildContext, type ActionError, type ActionOptions, type ActionPhase, type ActionReceipt, type ActionUpstreamRef, type AnyPlugin, type AnyResourceRef, type AppName, BUILTIN_COINS, type BootError, type Brand, type BuildCtx, type BuiltinCoinName, type
|
|
85
|
+
export { type AccountAcquireError, type AccountAcquirePhase, type AccountBindings, type AccountError, type AccountFunding, type AccountFundingCoinValue, type AccountFundingEntry, type AccountFundingRequest, type AccountFundingResult, type AccountFundingStrategy, type AccountMemberAlias, type AccountOptions, type AccountSignError, type AccountSignPhase, type AccountValue, type AccountVariantKind, type ActionBuildContext, type ActionError, type ActionOptions, type ActionPhase, type ActionReceipt, type ActionUpstreamRef, type AnyPlugin, type AnyResourceRef, type AppName, BUILTIN_COINS, type BootError, type Brand, type BuildCtx, type BuiltinCoinName, type ChainProbe, type ChainProbeError, type ChainProbeMode, type CodegenEmitContext, type CodegenEmitDone, type CodegenableDecl, type CoinAddressForm, type CoinBindings, type CoinError, type CoinMember, type CoinMemberAlias, type CoinPhase, type CoinValue, config_validation_d_exports as ConfigValidation, type ContainerHandle, type ContainerLabelTuple, type ContainerRuntime, type ContainerRuntimeError, ContainerRuntimeService, type ContentHash, type CrossCuttingFundingEntry, type CrossCuttingFundingProvider, DEEP_PRICE_FEED_ID, DEFAULT_DEVSTACK_NETWORK, DEFAULT_EPHEMERAL_FUND_MIST, DEFAULT_STACK_NAME, DEVSTACK_NETWORK_NAMES, type DashboardOptions, type DashboardValue, type DeepbookBindings, type DeepbookCommonOptions, type DeepbookConfigError, type DeepbookError, type DeepbookKnownNetwork, type DeepbookKnownOptions, type DeepbookOptions, type DeepbookOverrideOptions, type DeepbookPackageMember, type DeepbookPhase, type DeepbookPluginError, type DeepbookPool, type DeepbookPoolCoin, type DeepbookPoolSeedLiquidity, type DeepbookPoolSeedOrder, type DeepbookPoolSpec, type DeepbookResolved, type DependencyInput, type DependencyList, type DevstackNetworkModeRegistry, type DevstackNetworkName, DevstackNetworkParseError, type DevstackOptions, type DevstackOptionsWith, type DevstackRoutableUpstreamRegistry, type DiscoveredCoin, type DispatchId, type EndpointKey, type EntrypointDecl, type FactoriesByMode, type FactoriesFor, type FaucetBodyError, type FaucetConfigError, type FaucetError, type FaucetExhausted, type FaucetStrategy, type FaucetStrategyContribution, type FaucetUnreachable, type ForkUnsupportedError, HOST_SERVICE_PORT_TOKEN, type HostServiceError, type HostServiceOptions, type HostServiceReadyProbe, type HostServiceValue, http_probe_d_exports as HttpProbes, IdentityContext, type ImageRef, type KnownPackageOptions, type KnownPackageResolved, LOCAL_NETWORK_NAME, type LifecycleStatus, type LoadedImageBundle, type LocalPackageOptions, type LocalPackageResolved, type LogLevel, type LogLine, type LogPayload, Logger, type LoggerShape, managed_container_d_exports as ManagedContainers, type ManifestExtras, type ManifestExtrasContext, type ManifestExtrasInput, ManifestExtrasInvalid, ManifestExtrasLookupError, type ModeNamespace, type NetworkConfig, type NetworkMode, type PackageBindings, type PackageCapture, type PackageMember, type PackageResolved, type ParsedDevstackNetwork, type PhaseNarration, type Plugin, PluginContext, type PluginCtx, type PluginRole, type PluginSpec, probes_d_exports as Probes, process_lines_d_exports as ProcessLines, process_supervisor_d_exports as ProcessSupervisor, type ProjectionDecl, type ProjectionEvent, type PublishError, type PublisherAccountMember, redaction_d_exports as Redaction, type RedactionRule, type Renderer, type RendererError, type ResolveNetworkOptions, type ResolveStateDirOptions, type ResolvedCoin, type ResolvedDependencies, type ResolvedDevstackNetwork, type ResolvedKeypair, type ResolvedKnownPackage, type ResolvedLocalPackage, type ResolvedSuiNetwork, type ResourceIdOf, type ResourceRef, type ResourceValueOf, retry_policy_d_exports as RetryPolicy, type RoutableDecl, type RoutableHttpDecl, type RoutableTcpDecl, type RoutableUpstream, type RoutableUpstreamKind, type RunHandle, type RunStackIdentityOptions, type RunStackOptions, runtime_decode_d_exports as RuntimeDecode, SUI_FULL_COIN_TYPE, SUI_PRICE_FEED_ID, type SealError as SealAcquireError, type SealAnyError, type SealBindings, type SealCommonOptions, type SealConfigError, type SealError, type SealForkKnownOptions, type SealKeyServer, type SealKeyServerEntry, type SealKnownResolved, type SealLiveOptions, type SealLocalKeygenOptions, type SealLocalKeygenResolved, type SealOptions, type SealResolved, type SignatureScheme, type SnapshotableDecl, type Stack, type StackName, type StrategyContributorDecl, type StrategyFor, type SuiCliError, type SuiConfigError, type SuiError, type SuiForkOptions, type SuiFundingEntry, type SuiLiveOptions, type SuiLocalOptions, type SuiLocalRpcOptions, type SuiNetworkConfigEntry, type SuiOptions, type SuiPluginError, type SyntheticImpersonationSigner, type TagBuffer, type TaggedImageRef, type TxResult, USDC_PRICE_FEED_ID, type WalCoinValue, type WalletAccountMember, type WalletBootError, type WalletBootPhase, type WalletError, type WalletOptions, type WalletRequestError, type WalletRequestPhase, type WalletValue, type WalrusBindings, type WalrusConfigError, type WalrusError, type WalrusKnownDeploymentOptions, type WalrusKnownNetwork, type WalrusLocalClusterOptions, type WalrusNodeBinding, type WalrusPhase, type WalrusPluginError, type WalrusResolved, type WalrusStorageNode, account, action, appName, chainIdForNetwork, coin, contentHash, dashboard, deepbookCore as deepbook, deepbookFor, defineDevstack, defineDevstackWith, defineFaucetStrategy, defineId, defineModeNamespace, definePlugin, endpointKey, hostService, isBareCoinType, knownPackage, localPackage, networkNameFromChain, parseDevstackNetwork, parseDevstackNetworkName, projection, pythPriceFeedId, resolveAppName, resolveNetwork, resolveNetworkSync, resolveStackName, resolveStateDir, resource, runStack, seal, sealFor, stackName, sui, suiFor, validateBareCoinType, walCoin, wallet, walrus, walrusFor };
|
package/dist/index.mjs
CHANGED
|
@@ -2,43 +2,42 @@ import { defineId, definePlugin, resource } from "./substrate/plugin.mjs";
|
|
|
2
2
|
import "./api/define-plugin.mjs";
|
|
3
3
|
import { defineDevstack } from "./api/define-devstack.mjs";
|
|
4
4
|
import { defineDevstackWith } from "./api/define-devstack-with.mjs";
|
|
5
|
-
import { appName,
|
|
6
|
-
import { IdentityContext } from "./substrate/runtime/paths.mjs";
|
|
7
|
-
import { redaction_exports } from "./substrate/runtime/observability/redaction.mjs";
|
|
5
|
+
import { appName, contentHash, endpointKey, stackName } from "./substrate/brand.mjs";
|
|
8
6
|
import { runtime_decode_exports } from "./substrate/runtime/runtime-decode.mjs";
|
|
9
7
|
import { Logger } from "./substrate/runtime/observability/logger.mjs";
|
|
8
|
+
import { redaction_exports } from "./substrate/runtime/observability/redaction.mjs";
|
|
10
9
|
import { process_lines_exports } from "./substrate/runtime/observability/process-lines.mjs";
|
|
11
10
|
import "./substrate/runtime/observability/index.mjs";
|
|
11
|
+
import { IdentityContext } from "./substrate/runtime/paths.mjs";
|
|
12
12
|
import { probes_exports } from "./substrate/runtime/probes.mjs";
|
|
13
13
|
import { retry_policy_exports } from "./substrate/runtime/retry-policy.mjs";
|
|
14
14
|
import { ContainerRuntimeService } from "./runtime/docker/service.mjs";
|
|
15
15
|
import { process_supervisor_exports } from "./substrate/runtime/process-supervisor.mjs";
|
|
16
|
+
import { PluginContext } from "./substrate/plugin-ctx.mjs";
|
|
16
17
|
import { http_probe_exports } from "./substrate/runtime/http-probe.mjs";
|
|
17
18
|
import { managed_container_exports } from "./substrate/runtime/managed-container.mjs";
|
|
18
19
|
import { config_validation_exports } from "./substrate/runtime/config-validation.mjs";
|
|
19
20
|
import { ManifestExtrasInvalid, ManifestExtrasLookupError } from "./substrate/manifest.mjs";
|
|
20
|
-
import { DEFAULT_DEVSTACK_NETWORK, DEFAULT_STACK_NAME, DEVSTACK_NETWORK_NAMES, DevstackNetworkParseError, parseDevstackNetwork, parseDevstackNetworkName, resolveAppName, resolveNetwork, resolveNetworkSync, resolveStackName, resolveStateDir } from "./api/inference-network.mjs";
|
|
21
|
+
import { DEFAULT_DEVSTACK_NETWORK, DEFAULT_STACK_NAME, DEVSTACK_NETWORK_NAMES, DevstackNetworkParseError, LOCAL_NETWORK_NAME, chainIdForNetwork, networkNameFromChain, parseDevstackNetwork, parseDevstackNetworkName, resolveAppName, resolveNetwork, resolveNetworkSync, resolveStackName, resolveStateDir } from "./api/inference-network.mjs";
|
|
21
22
|
import { runStack } from "./api/run-stack.mjs";
|
|
22
|
-
import {
|
|
23
|
-
import { pluginErrorContributions } from "./api/plugin-errors.mjs";
|
|
23
|
+
import { projection } from "./api/define-capabilities.mjs";
|
|
24
24
|
import { defineModeNamespace } from "./api/mode-narrowed-factory.mjs";
|
|
25
25
|
import "./substrate/runtime/container-runtime.mjs";
|
|
26
26
|
import { defineFaucetStrategy } from "./plugins/faucet/index.mjs";
|
|
27
27
|
import { sui, suiFor } from "./plugins/sui/index.mjs";
|
|
28
28
|
import { DEFAULT_EPHEMERAL_FUND_MIST, SUI_FULL_COIN_TYPE } from "./plugins/account/funding.mjs";
|
|
29
29
|
import { account } from "./plugins/account/index.mjs";
|
|
30
|
-
import { knownPackage, localPackage } from "./plugins/package/index.mjs";
|
|
31
30
|
import { isBareCoinType, validateBareCoinType } from "./plugins/coin/metadata.mjs";
|
|
32
31
|
import { BUILTIN_COINS } from "./plugins/coin/address-resolution.mjs";
|
|
33
32
|
import { coin } from "./plugins/coin/index.mjs";
|
|
33
|
+
import { knownPackage, localPackage } from "./plugins/package/index.mjs";
|
|
34
34
|
import { HOST_SERVICE_PORT_TOKEN } from "./plugins/host-service/service.mjs";
|
|
35
35
|
import { hostService } from "./plugins/host-service/index.mjs";
|
|
36
36
|
import { wallet } from "./plugins/wallet/index.mjs";
|
|
37
37
|
import { dashboard } from "./plugins/dashboard/index.mjs";
|
|
38
|
-
import { postgres } from "./plugins/postgres/index.mjs";
|
|
39
38
|
import { action } from "./plugins/action/index.mjs";
|
|
40
39
|
import { walCoin, walrus, walrusFor } from "./plugins/walrus/index.mjs";
|
|
41
40
|
import { seal, sealFor } from "./plugins/seal/index.mjs";
|
|
42
41
|
import { DEEP_PRICE_FEED_ID, SUI_PRICE_FEED_ID, USDC_PRICE_FEED_ID, pythPriceFeedId } from "./plugins/deepbook/types.mjs";
|
|
43
42
|
import { deepbookCore, deepbookFor } from "./plugins/deepbook/index.mjs";
|
|
44
|
-
export { BUILTIN_COINS, config_validation_exports as ConfigValidation, ContainerRuntimeService, DEEP_PRICE_FEED_ID, DEFAULT_DEVSTACK_NETWORK, DEFAULT_EPHEMERAL_FUND_MIST, DEFAULT_STACK_NAME, DEVSTACK_NETWORK_NAMES, DevstackNetworkParseError, HOST_SERVICE_PORT_TOKEN, http_probe_exports as HttpProbes, IdentityContext, Logger, managed_container_exports as ManagedContainers, ManifestExtrasInvalid, ManifestExtrasLookupError, probes_exports as Probes, process_lines_exports as ProcessLines, process_supervisor_exports as ProcessSupervisor, redaction_exports as Redaction, retry_policy_exports as RetryPolicy, runtime_decode_exports as RuntimeDecode, SUI_FULL_COIN_TYPE, SUI_PRICE_FEED_ID, USDC_PRICE_FEED_ID, account, action, appName,
|
|
43
|
+
export { BUILTIN_COINS, config_validation_exports as ConfigValidation, ContainerRuntimeService, DEEP_PRICE_FEED_ID, DEFAULT_DEVSTACK_NETWORK, DEFAULT_EPHEMERAL_FUND_MIST, DEFAULT_STACK_NAME, DEVSTACK_NETWORK_NAMES, DevstackNetworkParseError, HOST_SERVICE_PORT_TOKEN, http_probe_exports as HttpProbes, IdentityContext, LOCAL_NETWORK_NAME, Logger, managed_container_exports as ManagedContainers, ManifestExtrasInvalid, ManifestExtrasLookupError, PluginContext, probes_exports as Probes, process_lines_exports as ProcessLines, process_supervisor_exports as ProcessSupervisor, redaction_exports as Redaction, retry_policy_exports as RetryPolicy, runtime_decode_exports as RuntimeDecode, SUI_FULL_COIN_TYPE, SUI_PRICE_FEED_ID, USDC_PRICE_FEED_ID, account, action, appName, chainIdForNetwork, coin, contentHash, dashboard, deepbookCore as deepbook, deepbookFor, defineDevstack, defineDevstackWith, defineFaucetStrategy, defineId, defineModeNamespace, definePlugin, endpointKey, hostService, isBareCoinType, knownPackage, localPackage, networkNameFromChain, parseDevstackNetwork, parseDevstackNetworkName, projection, pythPriceFeedId, resolveAppName, resolveNetwork, resolveNetworkSync, resolveStackName, resolveStateDir, resource, runStack, seal, sealFor, stackName, sui, suiFor, validateBareCoinType, walCoin, wallet, walrus, walrusFor };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Context, Effect, FileSystem, Layer, Scope, SubscriptionRef } from "effect";
|
|
2
|
+
import { ChildProcessSpawner } from "effect/unstable/process/ChildProcessSpawner";
|
|
3
|
+
|
|
4
|
+
//#region src/orchestrators/boot.d.ts
|
|
5
|
+
interface ProductionCodegenOptions {
|
|
6
|
+
readonly appRoot?: string;
|
|
7
|
+
/** Resolved absolute path to the dev-only + secret `generated-extras`
|
|
8
|
+
* tree for this stack, threaded into `CodegenRoot.extrasDir` and
|
|
9
|
+
* recorded in the manifest as `codegen.extrasDir` for the
|
|
10
|
+
* `@devstack-dev` Vite alias. This is the ONLY tree boot's codegen
|
|
11
|
+
* writes (`emitExtras`); boot never emits the committed `src/generated`
|
|
12
|
+
* tree, so it pins no live `outputDir` — the `CodegenRoot.outputDir`
|
|
13
|
+
* the production path carries is an unwritten default. The committed
|
|
14
|
+
* tree is owned solely by the stack-free `codegen` verb (wired
|
|
15
|
+
* separately, where it resolves its own output path). */
|
|
16
|
+
readonly extrasDir?: string;
|
|
17
|
+
/** Forwarded verbatim to `@mysten/codegen`'s
|
|
18
|
+
* `generateFromPackageSummary` via `layerMystenMoveCodegen` — see
|
|
19
|
+
* `DevstackOptions['codegen']` for the full contract. Default `false`
|
|
20
|
+
* (`@mysten/codegen`'s own default): phantom-only structs render as
|
|
21
|
+
* consts with the phantom placeholder baked into `.name`; `true`
|
|
22
|
+
* renders them as factories whose required type arguments compose a
|
|
23
|
+
* fully-qualified type tag. */
|
|
24
|
+
readonly includePhantomTypeParameters?: boolean;
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
27
|
+
export { ProductionCodegenOptions };
|
|
28
|
+
//# sourceMappingURL=boot.d.mts.map
|