@vibesdotdev/host-bun 0.0.0-stage → 1.0.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +18 -0
- package/README.md +222 -2
- package/dist/applet-serve-host/applet-serve-host.impl.bun.d.ts +6 -0
- package/dist/applet-serve-host/applet-serve-host.impl.bun.d.ts.map +1 -0
- package/dist/applet-serve-host/applet-serve-host.impl.bun.js +80 -0
- package/dist/applet-serve-host/applet-serve-host.impl.bun.js.map +1 -0
- package/dist/applet-serve-host/applet-serve-host.plugin.d.ts +22 -0
- package/dist/applet-serve-host/applet-serve-host.plugin.d.ts.map +1 -0
- package/dist/applet-serve-host/applet-serve-host.plugin.js +42 -0
- package/dist/applet-serve-host/applet-serve-host.plugin.js.map +1 -0
- package/dist/applet-serve-host/index.d.ts +7 -0
- package/dist/applet-serve-host/index.d.ts.map +1 -0
- package/dist/applet-serve-host/index.js +7 -0
- package/dist/applet-serve-host/index.js.map +1 -0
- package/dist/applet-serve-host/stylesheet.compiler.d.ts +7 -0
- package/dist/applet-serve-host/stylesheet.compiler.d.ts.map +1 -0
- package/dist/applet-serve-host/stylesheet.compiler.js +63 -0
- package/dist/applet-serve-host/stylesheet.compiler.js.map +1 -0
- package/dist/atlas-migrations/register-atlas-host-migrations.d.ts +21 -0
- package/dist/atlas-migrations/register-atlas-host-migrations.d.ts.map +1 -0
- package/dist/atlas-migrations/register-atlas-host-migrations.js +148 -0
- package/dist/atlas-migrations/register-atlas-host-migrations.js.map +1 -0
- package/dist/buffered-capture.d.ts +4 -0
- package/dist/buffered-capture.d.ts.map +1 -0
- package/dist/buffered-capture.impl.bun.d.ts +18 -0
- package/dist/buffered-capture.impl.bun.d.ts.map +1 -0
- package/dist/buffered-capture.impl.bun.js +148 -0
- package/dist/buffered-capture.impl.bun.js.map +1 -0
- package/dist/buffered-capture.js +5 -0
- package/dist/buffered-capture.js.map +1 -0
- package/dist/bun-environment.impl.bun.d.ts +231 -0
- package/dist/bun-environment.impl.bun.d.ts.map +1 -0
- package/dist/bun-environment.impl.bun.js +352 -0
- package/dist/bun-environment.impl.bun.js.map +1 -0
- package/dist/cache-redis/cache-redis-connector.impl.bun.d.ts +20 -0
- package/dist/cache-redis/cache-redis-connector.impl.bun.d.ts.map +1 -0
- package/dist/cache-redis/cache-redis-connector.impl.bun.js +30 -0
- package/dist/cache-redis/cache-redis-connector.impl.bun.js.map +1 -0
- package/dist/cache-redis/cache-redis-connector.plugin.d.ts +21 -0
- package/dist/cache-redis/cache-redis-connector.plugin.d.ts.map +1 -0
- package/dist/cache-redis/cache-redis-connector.plugin.js +32 -0
- package/dist/cache-redis/cache-redis-connector.plugin.js.map +1 -0
- package/dist/cli-checkout.impl.bun.d.ts +13 -0
- package/dist/cli-checkout.impl.bun.d.ts.map +1 -0
- package/dist/cli-checkout.impl.bun.js +26 -0
- package/dist/cli-checkout.impl.bun.js.map +1 -0
- package/dist/docs/runtime-environment-bun.docs.descriptor.d.ts +19 -0
- package/dist/docs/runtime-environment-bun.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/runtime-environment-bun.docs.descriptor.js +116 -0
- package/dist/docs/runtime-environment-bun.docs.descriptor.js.map +1 -0
- package/dist/filesystem/adapter.impl.bun.d.ts +15 -0
- package/dist/filesystem/adapter.impl.bun.d.ts.map +1 -0
- package/dist/filesystem/adapter.impl.bun.js +11 -0
- package/dist/filesystem/adapter.impl.bun.js.map +1 -0
- package/dist/filesystem/host-primitives.impl.bun.d.ts +12 -0
- package/dist/filesystem/host-primitives.impl.bun.d.ts.map +1 -0
- package/dist/filesystem/host-primitives.impl.bun.js +96 -0
- package/dist/filesystem/host-primitives.impl.bun.js.map +1 -0
- package/dist/filesystem/register.d.ts +12 -0
- package/dist/filesystem/register.d.ts.map +1 -0
- package/dist/filesystem/register.js +6 -0
- package/dist/filesystem/register.js.map +1 -0
- package/dist/filesystem/rooted-exclusive.impl.bun.d.ts +4 -0
- package/dist/filesystem/rooted-exclusive.impl.bun.d.ts.map +1 -0
- package/dist/filesystem/rooted-exclusive.impl.bun.js +135 -0
- package/dist/filesystem/rooted-exclusive.impl.bun.js.map +1 -0
- package/dist/held-launch/abi.impl.bun.d.ts +175 -0
- package/dist/held-launch/abi.impl.bun.d.ts.map +1 -0
- package/dist/held-launch/abi.impl.bun.js +476 -0
- package/dist/held-launch/abi.impl.bun.js.map +1 -0
- package/dist/held-launch/execution.impl.bun.d.ts +48 -0
- package/dist/held-launch/execution.impl.bun.d.ts.map +1 -0
- package/dist/held-launch/execution.impl.bun.js +375 -0
- package/dist/held-launch/execution.impl.bun.js.map +1 -0
- package/dist/held-launch/library.impl.bun.d.ts +23 -0
- package/dist/held-launch/library.impl.bun.d.ts.map +1 -0
- package/dist/held-launch/library.impl.bun.js +178 -0
- package/dist/held-launch/library.impl.bun.js.map +1 -0
- package/dist/held-launch/schemas.d.ts +10 -0
- package/dist/held-launch/schemas.d.ts.map +1 -0
- package/dist/held-launch/schemas.js +3 -0
- package/dist/held-launch/schemas.js.map +1 -0
- package/dist/held-launch/streams.impl.bun.d.ts +38 -0
- package/dist/held-launch/streams.impl.bun.d.ts.map +1 -0
- package/dist/held-launch/streams.impl.bun.js +183 -0
- package/dist/held-launch/streams.impl.bun.js.map +1 -0
- package/dist/host-channel.impl.bun.d.ts +25 -0
- package/dist/host-channel.impl.bun.d.ts.map +1 -0
- package/dist/host-channel.impl.bun.js +40 -0
- package/dist/host-channel.impl.bun.js.map +1 -0
- package/dist/host-client.impl.bun.d.ts +31 -0
- package/dist/host-client.impl.bun.d.ts.map +1 -0
- package/dist/host-client.impl.bun.js +39 -0
- package/dist/host-client.impl.bun.js.map +1 -0
- package/dist/host-credentials.d.ts +38 -0
- package/dist/host-credentials.d.ts.map +1 -0
- package/dist/host-credentials.js +44 -0
- package/dist/host-credentials.js.map +1 -0
- package/dist/host-loader.impl.bun.d.ts +12 -0
- package/dist/host-loader.impl.bun.d.ts.map +1 -0
- package/dist/host-loader.impl.bun.js +83 -0
- package/dist/host-loader.impl.bun.js.map +1 -0
- package/dist/host-signal.impl.bun.d.ts +11 -0
- package/dist/host-signal.impl.bun.d.ts.map +1 -0
- package/dist/host-signal.impl.bun.js +28 -0
- package/dist/host-signal.impl.bun.js.map +1 -0
- package/dist/http-listener.impl.bun.d.ts +8 -0
- package/dist/http-listener.impl.bun.d.ts.map +1 -0
- package/dist/http-listener.impl.bun.js +44 -0
- package/dist/http-listener.impl.bun.js.map +1 -0
- package/dist/index.d.ts +38 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +314 -0
- package/dist/index.js.map +1 -0
- package/dist/local-execution.impl.bun.d.ts +47 -0
- package/dist/local-execution.impl.bun.d.ts.map +1 -0
- package/dist/local-execution.impl.bun.js +150 -0
- package/dist/local-execution.impl.bun.js.map +1 -0
- package/dist/logging/file-host.impl.bun.d.ts +4 -0
- package/dist/logging/file-host.impl.bun.d.ts.map +1 -0
- package/dist/logging/file-host.impl.bun.js +36 -0
- package/dist/logging/file-host.impl.bun.js.map +1 -0
- package/dist/logging/logging.plugin.d.ts +12 -0
- package/dist/logging/logging.plugin.d.ts.map +1 -0
- package/dist/logging/logging.plugin.js +20 -0
- package/dist/logging/logging.plugin.js.map +1 -0
- package/dist/native/held-launch/aarch64-apple-darwin/libvibes_held_launch.dylib +0 -0
- package/dist/native/held-launch/aarch64-apple-darwin/manifest.json +237 -0
- package/dist/native/held-launch/aarch64-apple-darwin/vibes-held-launch +0 -0
- package/dist/native/held-launch/aarch64-unknown-linux-gnu/libvibes_held_launch.so +0 -0
- package/dist/native/held-launch/aarch64-unknown-linux-gnu/manifest.json +237 -0
- package/dist/native/held-launch/aarch64-unknown-linux-gnu/vibes-held-launch +0 -0
- package/dist/native/held-launch/x86_64-apple-darwin/libvibes_held_launch.dylib +0 -0
- package/dist/native/held-launch/x86_64-apple-darwin/manifest.json +237 -0
- package/dist/native/held-launch/x86_64-apple-darwin/vibes-held-launch +0 -0
- package/dist/native/held-launch/x86_64-unknown-linux-gnu/libvibes_held_launch.so +0 -0
- package/dist/native/held-launch/x86_64-unknown-linux-gnu/manifest.json +237 -0
- package/dist/native/held-launch/x86_64-unknown-linux-gnu/vibes-held-launch +0 -0
- package/dist/native-image.consumer.plugin.d.ts +4 -0
- package/dist/native-image.consumer.plugin.d.ts.map +1 -0
- package/dist/native-image.consumer.plugin.js +14 -0
- package/dist/native-image.consumer.plugin.js.map +1 -0
- package/dist/native-image.d.ts +79 -0
- package/dist/native-image.d.ts.map +1 -0
- package/dist/native-image.impl.consumer.d.ts +15 -0
- package/dist/native-image.impl.consumer.d.ts.map +1 -0
- package/dist/native-image.impl.consumer.js +86 -0
- package/dist/native-image.impl.consumer.js.map +1 -0
- package/dist/native-image.js +19 -0
- package/dist/native-image.js.map +1 -0
- package/dist/native-library.consumer.plugin.d.ts +6 -0
- package/dist/native-library.consumer.plugin.d.ts.map +1 -0
- package/dist/native-library.consumer.plugin.js +33 -0
- package/dist/native-library.consumer.plugin.js.map +1 -0
- package/dist/native-library.impl.consumer.d.ts +14 -0
- package/dist/native-library.impl.consumer.d.ts.map +1 -0
- package/dist/native-library.impl.consumer.js +46 -0
- package/dist/native-library.impl.consumer.js.map +1 -0
- package/dist/native-network/index.d.ts +3 -0
- package/dist/native-network/index.d.ts.map +1 -0
- package/dist/native-network/index.js +3 -0
- package/dist/native-network/index.js.map +1 -0
- package/dist/native-network/native-host.d.ts +4 -0
- package/dist/native-network/native-host.d.ts.map +1 -0
- package/dist/native-network/native-host.js +14 -0
- package/dist/native-network/native-host.js.map +1 -0
- package/dist/native-network/native-network.descriptor.d.ts +4 -0
- package/dist/native-network/native-network.descriptor.d.ts.map +1 -0
- package/dist/native-network/native-network.descriptor.js +11 -0
- package/dist/native-network/native-network.descriptor.js.map +1 -0
- package/dist/native-network/native-network.impl.bun.d.ts +19 -0
- package/dist/native-network/native-network.impl.bun.d.ts.map +1 -0
- package/dist/native-network/native-network.impl.bun.js +190 -0
- package/dist/native-network/native-network.impl.bun.js.map +1 -0
- package/dist/native-network/native-network.plugin.d.ts +6 -0
- package/dist/native-network/native-network.plugin.d.ts.map +1 -0
- package/dist/native-network/native-network.plugin.js +27 -0
- package/dist/native-network/native-network.plugin.js.map +1 -0
- package/dist/package-plugins/index.d.ts +11 -0
- package/dist/package-plugins/index.d.ts.map +1 -0
- package/dist/package-plugins/index.js +11 -0
- package/dist/package-plugins/index.js.map +1 -0
- package/dist/package-plugins/package-plugins.capability.bun.d.ts +11 -0
- package/dist/package-plugins/package-plugins.capability.bun.d.ts.map +1 -0
- package/dist/package-plugins/package-plugins.capability.bun.js +14 -0
- package/dist/package-plugins/package-plugins.capability.bun.js.map +1 -0
- package/dist/package-plugins/primitives.impl.bun.d.ts +11 -0
- package/dist/package-plugins/primitives.impl.bun.d.ts.map +1 -0
- package/dist/package-plugins/primitives.impl.bun.js +32 -0
- package/dist/package-plugins/primitives.impl.bun.js.map +1 -0
- package/dist/package-plugins/read-admission.impl.bun.d.ts +11 -0
- package/dist/package-plugins/read-admission.impl.bun.d.ts.map +1 -0
- package/dist/package-plugins/read-admission.impl.bun.js +224 -0
- package/dist/package-plugins/read-admission.impl.bun.js.map +1 -0
- package/dist/package-plugins/schemas.d.ts +28 -0
- package/dist/package-plugins/schemas.d.ts.map +1 -0
- package/dist/package-plugins/schemas.js +3 -0
- package/dist/package-plugins/schemas.js.map +1 -0
- package/dist/process/launch-artifacts.impl.bun.d.ts +11 -0
- package/dist/process/launch-artifacts.impl.bun.d.ts.map +1 -0
- package/dist/process/launch-artifacts.impl.bun.js +25 -0
- package/dist/process/launch-artifacts.impl.bun.js.map +1 -0
- package/dist/process/process-probe.impl.bun.d.ts +15 -0
- package/dist/process/process-probe.impl.bun.d.ts.map +1 -0
- package/dist/process/process-probe.impl.bun.js +35 -0
- package/dist/process/process-probe.impl.bun.js.map +1 -0
- package/dist/process/runtime-process.impl.bun.d.ts +20 -0
- package/dist/process/runtime-process.impl.bun.d.ts.map +1 -0
- package/dist/process/runtime-process.impl.bun.js +42 -0
- package/dist/process/runtime-process.impl.bun.js.map +1 -0
- package/dist/process/schemas.d.ts +9 -0
- package/dist/process/schemas.d.ts.map +1 -0
- package/dist/process/schemas.js +3 -0
- package/dist/process/schemas.js.map +1 -0
- package/dist/process/spawn.impl.bun.d.ts +31 -0
- package/dist/process/spawn.impl.bun.d.ts.map +1 -0
- package/dist/process/spawn.impl.bun.js +66 -0
- package/dist/process/spawn.impl.bun.js.map +1 -0
- package/dist/process/which.impl.bun.d.ts +16 -0
- package/dist/process/which.impl.bun.d.ts.map +1 -0
- package/dist/process/which.impl.bun.js +25 -0
- package/dist/process/which.impl.bun.js.map +1 -0
- package/dist/pty.adapter.impl.bun.d.ts +17 -0
- package/dist/pty.adapter.impl.bun.d.ts.map +1 -0
- package/dist/pty.adapter.impl.bun.js +102 -0
- package/dist/pty.adapter.impl.bun.js.map +1 -0
- package/dist/pty.darwin.impl.bun.d.ts +11 -0
- package/dist/pty.darwin.impl.bun.d.ts.map +1 -0
- package/dist/pty.darwin.impl.bun.js +200 -0
- package/dist/pty.darwin.impl.bun.js.map +1 -0
- package/dist/pty.node-host.impl.bun.d.ts +10 -0
- package/dist/pty.node-host.impl.bun.d.ts.map +1 -0
- package/dist/pty.node-host.impl.bun.js +42 -0
- package/dist/pty.node-host.impl.bun.js.map +1 -0
- package/dist/resolution-root.impl.bun.d.ts +170 -0
- package/dist/resolution-root.impl.bun.d.ts.map +1 -0
- package/dist/resolution-root.impl.bun.js +373 -0
- package/dist/resolution-root.impl.bun.js.map +1 -0
- package/dist/restricted-execute.darwin.impl.bun.d.ts +19 -0
- package/dist/restricted-execute.darwin.impl.bun.d.ts.map +1 -0
- package/dist/restricted-execute.darwin.impl.bun.js +459 -0
- package/dist/restricted-execute.darwin.impl.bun.js.map +1 -0
- package/dist/runtime-plugin-host/daemon-execution.worker-shim.bun.d.ts +2 -0
- package/dist/runtime-plugin-host/daemon-execution.worker-shim.bun.d.ts.map +1 -0
- package/dist/runtime-plugin-host/daemon-execution.worker-shim.bun.js +31 -0
- package/dist/runtime-plugin-host/daemon-execution.worker-shim.bun.js.map +1 -0
- package/dist/runtime-plugin-host/host-hot-reload.consumer.d.ts +20 -0
- package/dist/runtime-plugin-host/host-hot-reload.consumer.d.ts.map +1 -0
- package/dist/runtime-plugin-host/host-hot-reload.consumer.js +236 -0
- package/dist/runtime-plugin-host/host-hot-reload.consumer.js.map +1 -0
- package/dist/runtime-plugin-host/hot-plugin-build.worker.consumer.d.ts +2 -0
- package/dist/runtime-plugin-host/hot-plugin-build.worker.consumer.d.ts.map +1 -0
- package/dist/runtime-plugin-host/hot-plugin-build.worker.consumer.js +66 -0
- package/dist/runtime-plugin-host/hot-plugin-build.worker.consumer.js.map +1 -0
- package/dist/runtime-plugin-host/hot-plugin-module.consumer.d.ts +45 -0
- package/dist/runtime-plugin-host/hot-plugin-module.consumer.d.ts.map +1 -0
- package/dist/runtime-plugin-host/hot-plugin-module.consumer.js +490 -0
- package/dist/runtime-plugin-host/hot-plugin-module.consumer.js.map +1 -0
- package/dist/runtime-plugin-host/hot-reload.consumer.d.ts +83 -0
- package/dist/runtime-plugin-host/hot-reload.consumer.d.ts.map +1 -0
- package/dist/runtime-plugin-host/hot-reload.consumer.js +168 -0
- package/dist/runtime-plugin-host/hot-reload.consumer.js.map +1 -0
- package/dist/runtime-plugin-host/reclaim.impl.bun.d.ts +37 -0
- package/dist/runtime-plugin-host/reclaim.impl.bun.d.ts.map +1 -0
- package/dist/runtime-plugin-host/reclaim.impl.bun.js +159 -0
- package/dist/runtime-plugin-host/reclaim.impl.bun.js.map +1 -0
- package/dist/runtime-plugin-host/runtime-plugin-host.impl.bun.d.ts +4 -0
- package/dist/runtime-plugin-host/runtime-plugin-host.impl.bun.d.ts.map +1 -0
- package/dist/runtime-plugin-host/runtime-plugin-host.impl.bun.js +181 -0
- package/dist/runtime-plugin-host/runtime-plugin-host.impl.bun.js.map +1 -0
- package/dist/runtime-plugin-host/runtime-plugin-host.plugin.d.ts +17 -0
- package/dist/runtime-plugin-host/runtime-plugin-host.plugin.d.ts.map +1 -0
- package/dist/runtime-plugin-host/runtime-plugin-host.plugin.js +36 -0
- package/dist/runtime-plugin-host/runtime-plugin-host.plugin.js.map +1 -0
- package/dist/runtime-plugin-host/runtime-thread.impl.bun.d.ts +53 -0
- package/dist/runtime-plugin-host/runtime-thread.impl.bun.d.ts.map +1 -0
- package/dist/runtime-plugin-host/runtime-thread.impl.bun.js +249 -0
- package/dist/runtime-plugin-host/runtime-thread.impl.bun.js.map +1 -0
- package/dist/runtime-plugin-host/runtime-thread.shim.bun.d.ts +2 -0
- package/dist/runtime-plugin-host/runtime-thread.shim.bun.d.ts.map +1 -0
- package/dist/runtime-plugin-host/runtime-thread.shim.bun.js +56 -0
- package/dist/runtime-plugin-host/runtime-thread.shim.bun.js.map +1 -0
- package/dist/runtime-plugin-host/schemas.d.ts +437 -0
- package/dist/runtime-plugin-host/schemas.d.ts.map +1 -0
- package/dist/runtime-plugin-host/schemas.js +54 -0
- package/dist/runtime-plugin-host/schemas.js.map +1 -0
- package/dist/runtime-plugin-host/source-watcher.consumer.d.ts +109 -0
- package/dist/runtime-plugin-host/source-watcher.consumer.d.ts.map +1 -0
- package/dist/runtime-plugin-host/source-watcher.consumer.js +383 -0
- package/dist/runtime-plugin-host/source-watcher.consumer.js.map +1 -0
- package/dist/schemas/environment.d.ts +197 -0
- package/dist/schemas/environment.d.ts.map +1 -0
- package/dist/schemas/environment.js +7 -0
- package/dist/schemas/environment.js.map +1 -0
- package/dist/schemas/host-resources.d.ts +85 -0
- package/dist/schemas/host-resources.d.ts.map +1 -0
- package/dist/schemas/host-resources.js +22 -0
- package/dist/schemas/host-resources.js.map +1 -0
- package/dist/schemas/native-image.d.ts +128 -0
- package/dist/schemas/native-image.d.ts.map +1 -0
- package/dist/schemas/native-image.js +45 -0
- package/dist/schemas/native-image.js.map +1 -0
- package/dist/schemas/native-network.d.ts +56 -0
- package/dist/schemas/native-network.d.ts.map +1 -0
- package/dist/schemas/native-network.js +55 -0
- package/dist/schemas/native-network.js.map +1 -0
- package/dist/schemas/restricted-execute.d.ts +40 -0
- package/dist/schemas/restricted-execute.d.ts.map +1 -0
- package/dist/schemas/restricted-execute.js +14 -0
- package/dist/schemas/restricted-execute.js.map +1 -0
- package/dist/schemas/runtime-socket.d.ts +8 -0
- package/dist/schemas/runtime-socket.d.ts.map +1 -0
- package/dist/schemas/runtime-socket.js +7 -0
- package/dist/schemas/runtime-socket.js.map +1 -0
- package/dist/schemas/self-spawn.d.ts +11 -0
- package/dist/schemas/self-spawn.d.ts.map +1 -0
- package/dist/schemas/self-spawn.js +3 -0
- package/dist/schemas/self-spawn.js.map +1 -0
- package/dist/schemas/standard-output.d.ts +6 -0
- package/dist/schemas/standard-output.d.ts.map +1 -0
- package/dist/schemas/standard-output.js +2 -0
- package/dist/schemas/standard-output.js.map +1 -0
- package/dist/schemas/telemetry.d.ts +25 -0
- package/dist/schemas/telemetry.d.ts.map +1 -0
- package/dist/schemas/telemetry.js +10 -0
- package/dist/schemas/telemetry.js.map +1 -0
- package/dist/schemas/test-environment.d.ts +27 -0
- package/dist/schemas/test-environment.d.ts.map +1 -0
- package/dist/schemas/test-environment.js +2 -0
- package/dist/schemas/test-environment.js.map +1 -0
- package/dist/serve-stall-start.d.ts +8 -0
- package/dist/serve-stall-start.d.ts.map +1 -0
- package/dist/serve-stall-start.js +88 -0
- package/dist/serve-stall-start.js.map +1 -0
- package/dist/serve-stall.d.ts +11 -0
- package/dist/serve-stall.d.ts.map +1 -0
- package/dist/serve-stall.js +19 -0
- package/dist/serve-stall.js.map +1 -0
- package/dist/serve-stall.plugin.d.ts +10 -0
- package/dist/serve-stall.plugin.d.ts.map +1 -0
- package/dist/serve-stall.plugin.js +34 -0
- package/dist/serve-stall.plugin.js.map +1 -0
- package/dist/services/account-home.d.ts +39 -0
- package/dist/services/account-home.d.ts.map +1 -0
- package/dist/services/account-home.js +152 -0
- package/dist/services/account-home.js.map +1 -0
- package/dist/services/cli-process-host.d.ts +50 -0
- package/dist/services/cli-process-host.d.ts.map +1 -0
- package/dist/services/cli-process-host.js +88 -0
- package/dist/services/cli-process-host.js.map +1 -0
- package/dist/services/compatibility-host.impl.bun.d.ts +4 -0
- package/dist/services/compatibility-host.impl.bun.d.ts.map +1 -0
- package/dist/services/compatibility-host.impl.bun.js +24 -0
- package/dist/services/compatibility-host.impl.bun.js.map +1 -0
- package/dist/services/executable-identity.impl.bun.d.ts +164 -0
- package/dist/services/executable-identity.impl.bun.d.ts.map +1 -0
- package/dist/services/executable-identity.impl.bun.js +73 -0
- package/dist/services/executable-identity.impl.bun.js.map +1 -0
- package/dist/services/fatal-signals.impl.bun.d.ts +15 -0
- package/dist/services/fatal-signals.impl.bun.d.ts.map +1 -0
- package/dist/services/fatal-signals.impl.bun.js +61 -0
- package/dist/services/fatal-signals.impl.bun.js.map +1 -0
- package/dist/services/graph-freshness.impl.bun.d.ts +108 -0
- package/dist/services/graph-freshness.impl.bun.d.ts.map +1 -0
- package/dist/services/graph-freshness.impl.bun.js +49 -0
- package/dist/services/graph-freshness.impl.bun.js.map +1 -0
- package/dist/services/host-identity.capability.bun.d.ts +10 -0
- package/dist/services/host-identity.capability.bun.d.ts.map +1 -0
- package/dist/services/host-identity.capability.bun.js +27 -0
- package/dist/services/host-identity.capability.bun.js.map +1 -0
- package/dist/services/host-identity.impl.bun.d.ts +53 -0
- package/dist/services/host-identity.impl.bun.d.ts.map +1 -0
- package/dist/services/host-identity.impl.bun.js +76 -0
- package/dist/services/host-identity.impl.bun.js.map +1 -0
- package/dist/services/host-resources.impl.bun.d.ts +49 -0
- package/dist/services/host-resources.impl.bun.d.ts.map +1 -0
- package/dist/services/host-resources.impl.bun.js +144 -0
- package/dist/services/host-resources.impl.bun.js.map +1 -0
- package/dist/services/http-fetch.impl.bun.d.ts +10 -0
- package/dist/services/http-fetch.impl.bun.d.ts.map +1 -0
- package/dist/services/http-fetch.impl.bun.js +38 -0
- package/dist/services/http-fetch.impl.bun.js.map +1 -0
- package/dist/services/output-plane.impl.bun.d.ts +6 -0
- package/dist/services/output-plane.impl.bun.d.ts.map +1 -0
- package/dist/services/output-plane.impl.bun.js +26 -0
- package/dist/services/output-plane.impl.bun.js.map +1 -0
- package/dist/services/process-action-lifetime.consumer.d.ts +47 -0
- package/dist/services/process-action-lifetime.consumer.d.ts.map +1 -0
- package/dist/services/process-action-lifetime.consumer.js +68 -0
- package/dist/services/process-action-lifetime.consumer.js.map +1 -0
- package/dist/services/process-view.impl.bun.d.ts +18 -0
- package/dist/services/process-view.impl.bun.d.ts.map +1 -0
- package/dist/services/process-view.impl.bun.js +17 -0
- package/dist/services/process-view.impl.bun.js.map +1 -0
- package/dist/services/runtime-host-signals.impl.bun.d.ts +8 -0
- package/dist/services/runtime-host-signals.impl.bun.d.ts.map +1 -0
- package/dist/services/runtime-host-signals.impl.bun.js +29 -0
- package/dist/services/runtime-host-signals.impl.bun.js.map +1 -0
- package/dist/services/runtime-http-listener.impl.bun.d.ts +14 -0
- package/dist/services/runtime-http-listener.impl.bun.d.ts.map +1 -0
- package/dist/services/runtime-http-listener.impl.bun.js +463 -0
- package/dist/services/runtime-http-listener.impl.bun.js.map +1 -0
- package/dist/services/runtime-path.impl.bun.d.ts +16 -0
- package/dist/services/runtime-path.impl.bun.d.ts.map +1 -0
- package/dist/services/runtime-path.impl.bun.js +34 -0
- package/dist/services/runtime-path.impl.bun.js.map +1 -0
- package/dist/services/runtime-scoped-values.impl.bun.d.ts +4 -0
- package/dist/services/runtime-scoped-values.impl.bun.d.ts.map +1 -0
- package/dist/services/runtime-scoped-values.impl.bun.js +7 -0
- package/dist/services/runtime-scoped-values.impl.bun.js.map +1 -0
- package/dist/services/runtime-socket-datagram.impl.bun.d.ts +15 -0
- package/dist/services/runtime-socket-datagram.impl.bun.d.ts.map +1 -0
- package/dist/services/runtime-socket-datagram.impl.bun.js +19 -0
- package/dist/services/runtime-socket-datagram.impl.bun.js.map +1 -0
- package/dist/services/runtime-socket.impl.bun.d.ts +20 -0
- package/dist/services/runtime-socket.impl.bun.d.ts.map +1 -0
- package/dist/services/runtime-socket.impl.bun.js +47 -0
- package/dist/services/runtime-socket.impl.bun.js.map +1 -0
- package/dist/services/runtime-stdio.impl.bun.d.ts +11 -0
- package/dist/services/runtime-stdio.impl.bun.d.ts.map +1 -0
- package/dist/services/runtime-stdio.impl.bun.js +37 -0
- package/dist/services/runtime-stdio.impl.bun.js.map +1 -0
- package/dist/services/self-spawn.impl.bun.d.ts +39 -0
- package/dist/services/self-spawn.impl.bun.d.ts.map +1 -0
- package/dist/services/self-spawn.impl.bun.js +58 -0
- package/dist/services/self-spawn.impl.bun.js.map +1 -0
- package/dist/services/standard-output.d.ts +100 -0
- package/dist/services/standard-output.d.ts.map +1 -0
- package/dist/services/standard-output.js +35 -0
- package/dist/services/standard-output.js.map +1 -0
- package/dist/services/user-environment.impl.bun.d.ts +19 -0
- package/dist/services/user-environment.impl.bun.d.ts.map +1 -0
- package/dist/services/user-environment.impl.bun.js +117 -0
- package/dist/services/user-environment.impl.bun.js.map +1 -0
- package/dist/services/workspace-env.d.ts +30 -0
- package/dist/services/workspace-env.d.ts.map +1 -0
- package/dist/services/workspace-env.js +45 -0
- package/dist/services/workspace-env.js.map +1 -0
- package/dist/services/workspace-root-probe.impl.bun.d.ts +14 -0
- package/dist/services/workspace-root-probe.impl.bun.d.ts.map +1 -0
- package/dist/services/workspace-root-probe.impl.bun.js +27 -0
- package/dist/services/workspace-root-probe.impl.bun.js.map +1 -0
- package/dist/session-members.impl.bun.d.ts +22 -0
- package/dist/session-members.impl.bun.d.ts.map +1 -0
- package/dist/session-members.impl.bun.js +74 -0
- package/dist/session-members.impl.bun.js.map +1 -0
- package/dist/sqlite-driver/index.d.ts +7 -0
- package/dist/sqlite-driver/index.d.ts.map +1 -0
- package/dist/sqlite-driver/index.js +7 -0
- package/dist/sqlite-driver/index.js.map +1 -0
- package/dist/sqlite-driver/sqlite-driver.impl.bun.d.ts +6 -0
- package/dist/sqlite-driver/sqlite-driver.impl.bun.d.ts.map +1 -0
- package/dist/sqlite-driver/sqlite-driver.impl.bun.js +269 -0
- package/dist/sqlite-driver/sqlite-driver.impl.bun.js.map +1 -0
- package/dist/sqlite-driver/sqlite-driver.plugin.d.ts +22 -0
- package/dist/sqlite-driver/sqlite-driver.plugin.d.ts.map +1 -0
- package/dist/sqlite-driver/sqlite-driver.plugin.js +44 -0
- package/dist/sqlite-driver/sqlite-driver.plugin.js.map +1 -0
- package/dist/telemetry/telemetry.d.ts +34 -0
- package/dist/telemetry/telemetry.d.ts.map +1 -0
- package/dist/telemetry/telemetry.js +2 -0
- package/dist/telemetry/telemetry.js.map +1 -0
- package/dist/telemetry/telemetry.plugin.d.ts +4 -0
- package/dist/telemetry/telemetry.plugin.d.ts.map +1 -0
- package/dist/telemetry/telemetry.plugin.js +78 -0
- package/dist/telemetry/telemetry.plugin.js.map +1 -0
- package/dist/terminal-pty-bridge.impl.bun.d.ts +31 -0
- package/dist/terminal-pty-bridge.impl.bun.d.ts.map +1 -0
- package/dist/terminal-pty-bridge.impl.bun.js +333 -0
- package/dist/terminal-pty-bridge.impl.bun.js.map +1 -0
- package/dist/test-tooling/lazy-environment.impl.bun.d.ts +16 -0
- package/dist/test-tooling/lazy-environment.impl.bun.d.ts.map +1 -0
- package/dist/test-tooling/lazy-environment.impl.bun.js +36 -0
- package/dist/test-tooling/lazy-environment.impl.bun.js.map +1 -0
- package/dist/test-tooling/starttls-refusal.d.ts +7 -0
- package/dist/test-tooling/starttls-refusal.d.ts.map +1 -0
- package/dist/test-tooling/starttls-refusal.js +50 -0
- package/dist/test-tooling/starttls-refusal.js.map +1 -0
- package/dist/test-tooling/svelte-client-preload.impl.bun.d.ts +2 -0
- package/dist/test-tooling/svelte-client-preload.impl.bun.d.ts.map +1 -0
- package/dist/test-tooling/svelte-client-preload.impl.bun.js +4 -0
- package/dist/test-tooling/svelte-client-preload.impl.bun.js.map +1 -0
- package/dist/test-tooling/svelte-compiler.impl.bun.d.ts +10 -0
- package/dist/test-tooling/svelte-compiler.impl.bun.d.ts.map +1 -0
- package/dist/test-tooling/svelte-compiler.impl.bun.js +33 -0
- package/dist/test-tooling/svelte-compiler.impl.bun.js.map +1 -0
- package/dist/test-tooling/svelte-server-preload.impl.bun.d.ts +2 -0
- package/dist/test-tooling/svelte-server-preload.impl.bun.d.ts.map +1 -0
- package/dist/test-tooling/svelte-server-preload.impl.bun.js +4 -0
- package/dist/test-tooling/svelte-server-preload.impl.bun.js.map +1 -0
- package/dist/test-tooling/test-environment.impl.bun.d.ts +45 -0
- package/dist/test-tooling/test-environment.impl.bun.d.ts.map +1 -0
- package/dist/test-tooling/test-environment.impl.bun.js +163 -0
- package/dist/test-tooling/test-environment.impl.bun.js.map +1 -0
- package/dist/test-tooling/test-process-root.impl.bun.d.ts +4 -0
- package/dist/test-tooling/test-process-root.impl.bun.d.ts.map +1 -0
- package/dist/test-tooling/test-process-root.impl.bun.js +65 -0
- package/dist/test-tooling/test-process-root.impl.bun.js.map +1 -0
- package/dist/test-tooling/unix-http.impl.bun.d.ts +28 -0
- package/dist/test-tooling/unix-http.impl.bun.d.ts.map +1 -0
- package/dist/test-tooling/unix-http.impl.bun.js +181 -0
- package/dist/test-tooling/unix-http.impl.bun.js.map +1 -0
- package/dist/transpiler/transpiler.plugin.d.ts +10 -0
- package/dist/transpiler/transpiler.plugin.d.ts.map +1 -0
- package/dist/transpiler/transpiler.plugin.js +18 -0
- package/dist/transpiler/transpiler.plugin.js.map +1 -0
- package/native/held-launch/Cargo.toml +23 -0
- package/native/held-launch/abi-manifest.json +234 -0
- package/native/held-launch/src/bin/vibes-held-launch.rs +35 -0
- package/native/held-launch/src/events.rs +99 -0
- package/native/held-launch/src/lib.rs +528 -0
- package/native/held-launch/symbols.golden +21 -0
- package/package.json +313 -4
- package/resources/restricted-supervisor.impl.bun.d.mts +3 -0
- package/resources/restricted-supervisor.impl.bun.mjs +49 -0
- package/resources/serve-stall-watch.impl.bun.d.mts +3 -0
- package/resources/serve-stall-watch.impl.bun.mjs +51 -0
package/package.json
CHANGED
|
@@ -1,6 +1,315 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibesdotdev/host-bun",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
"version": "1.0.0-rc.3",
|
|
4
|
+
"dependencies": {
|
|
5
|
+
"@tailwindcss/oxide": "^4.3.3",
|
|
6
|
+
"tailwindcss": "^4.3.3",
|
|
7
|
+
"@lydell/node-pty": "1.2.0-beta.15",
|
|
8
|
+
"@vibesdotdev/filesystem": "^1.0.0-rc.3",
|
|
9
|
+
"@vibesdotdev/localdb": "^1.0.0-rc.3",
|
|
10
|
+
"@vibesdotdev/logging": "^1.0.0-rc.5",
|
|
11
|
+
"@vibesdotdev/paths": "^1.0.0-rc.3",
|
|
12
|
+
"@vibesdotdev/shared": "^1.0.0-rc.4",
|
|
13
|
+
"@vibesdotdev/execution-local": "^1.0.0-rc.3",
|
|
14
|
+
"@vibesdotdev/workspace-schemas": "^1.0.0-rc.2",
|
|
15
|
+
"cross-spawn": "^7.0.6",
|
|
16
|
+
"zod": "^4.6.7",
|
|
17
|
+
"ssh2": "^1.17.0",
|
|
18
|
+
"ws-real": "npm:ws@^8.21.3",
|
|
19
|
+
"@types/ssh2": "^1.15.6",
|
|
20
|
+
"@types/ws": "^8.18.2",
|
|
21
|
+
"@types/ws-real": "npm:@types/ws@^8.18.1"
|
|
22
|
+
},
|
|
23
|
+
"peerDependencies": {
|
|
24
|
+
"@vibesdotdev/kernel": "^1.0.0-rc.0",
|
|
25
|
+
"svelte": "^5.57.2"
|
|
26
|
+
},
|
|
27
|
+
"main": "./dist/index.js",
|
|
28
|
+
"exports": {
|
|
29
|
+
"./native-library/plugin": {
|
|
30
|
+
"bun": "./dist/native-library.consumer.plugin.js",
|
|
31
|
+
"types": "./dist/native-library.consumer.plugin.d.ts",
|
|
32
|
+
"import": "./dist/native-library.consumer.plugin.js",
|
|
33
|
+
"default": "./dist/native-library.consumer.plugin.js"
|
|
34
|
+
},
|
|
35
|
+
"./native/held-launch/abi": "./native/held-launch/abi-manifest.json",
|
|
36
|
+
"./native/held-launch/aarch64-apple-darwin": "./dist/native/held-launch/aarch64-apple-darwin/manifest.json",
|
|
37
|
+
"./native/held-launch/x86_64-apple-darwin": "./dist/native/held-launch/x86_64-apple-darwin/manifest.json",
|
|
38
|
+
"./native/held-launch/aarch64-unknown-linux-gnu": "./dist/native/held-launch/aarch64-unknown-linux-gnu/manifest.json",
|
|
39
|
+
"./native/held-launch/x86_64-unknown-linux-gnu": "./dist/native/held-launch/x86_64-unknown-linux-gnu/manifest.json",
|
|
40
|
+
".": {
|
|
41
|
+
"bun": "./dist/index.js",
|
|
42
|
+
"types": "./dist/index.d.ts",
|
|
43
|
+
"import": "./dist/index.js",
|
|
44
|
+
"default": "./dist/index.js"
|
|
45
|
+
},
|
|
46
|
+
"./*": {
|
|
47
|
+
"bun": "./dist/*.js",
|
|
48
|
+
"types": "./dist/*.d.ts",
|
|
49
|
+
"import": "./dist/*.js",
|
|
50
|
+
"default": "./dist/*.js"
|
|
51
|
+
},
|
|
52
|
+
"./loader": {
|
|
53
|
+
"bun": "./dist/host-loader.impl.bun.js",
|
|
54
|
+
"types": "./dist/host-loader.impl.bun.d.ts",
|
|
55
|
+
"import": "./dist/host-loader.impl.bun.js",
|
|
56
|
+
"default": "./dist/host-loader.impl.bun.js"
|
|
57
|
+
},
|
|
58
|
+
"./package-plugins": {
|
|
59
|
+
"bun": "./dist/package-plugins/index.js",
|
|
60
|
+
"types": "./dist/package-plugins/index.d.ts",
|
|
61
|
+
"import": "./dist/package-plugins/index.js",
|
|
62
|
+
"default": "./dist/package-plugins/index.js"
|
|
63
|
+
},
|
|
64
|
+
"./local-execution": {
|
|
65
|
+
"bun": "./dist/local-execution.impl.bun.js",
|
|
66
|
+
"types": "./dist/local-execution.impl.bun.d.ts",
|
|
67
|
+
"import": "./dist/local-execution.impl.bun.js",
|
|
68
|
+
"default": "./dist/local-execution.impl.bun.js"
|
|
69
|
+
},
|
|
70
|
+
"./http-listener": {
|
|
71
|
+
"bun": "./dist/http-listener.impl.bun.js",
|
|
72
|
+
"types": "./dist/http-listener.impl.bun.d.ts",
|
|
73
|
+
"import": "./dist/http-listener.impl.bun.js",
|
|
74
|
+
"default": "./dist/http-listener.impl.bun.js"
|
|
75
|
+
},
|
|
76
|
+
"./terminal-pty-bridge": {
|
|
77
|
+
"bun": "./dist/terminal-pty-bridge.impl.bun.js",
|
|
78
|
+
"types": "./dist/terminal-pty-bridge.impl.bun.d.ts",
|
|
79
|
+
"import": "./dist/terminal-pty-bridge.impl.bun.js",
|
|
80
|
+
"default": "./dist/terminal-pty-bridge.impl.bun.js"
|
|
81
|
+
},
|
|
82
|
+
"./buffered-capture": {
|
|
83
|
+
"bun": "./dist/buffered-capture.js",
|
|
84
|
+
"types": "./dist/buffered-capture.d.ts",
|
|
85
|
+
"import": "./dist/buffered-capture.js",
|
|
86
|
+
"default": "./dist/buffered-capture.js"
|
|
87
|
+
},
|
|
88
|
+
"./services/runtime-path": {
|
|
89
|
+
"bun": "./dist/services/runtime-path.impl.bun.js",
|
|
90
|
+
"types": "./dist/services/runtime-path.impl.bun.d.ts",
|
|
91
|
+
"import": "./dist/services/runtime-path.impl.bun.js",
|
|
92
|
+
"default": "./dist/services/runtime-path.impl.bun.js"
|
|
93
|
+
},
|
|
94
|
+
"./services/runtime-socket": {
|
|
95
|
+
"bun": "./dist/services/runtime-socket.impl.bun.js",
|
|
96
|
+
"types": "./dist/services/runtime-socket.impl.bun.d.ts",
|
|
97
|
+
"import": "./dist/services/runtime-socket.impl.bun.js",
|
|
98
|
+
"default": "./dist/services/runtime-socket.impl.bun.js"
|
|
99
|
+
},
|
|
100
|
+
"./services/standard-output": {
|
|
101
|
+
"bun": "./dist/services/standard-output.js",
|
|
102
|
+
"types": "./dist/services/standard-output.d.ts",
|
|
103
|
+
"import": "./dist/services/standard-output.js",
|
|
104
|
+
"default": "./dist/services/standard-output.js"
|
|
105
|
+
},
|
|
106
|
+
"./services/cli-process-host": {
|
|
107
|
+
"bun": "./dist/services/cli-process-host.js",
|
|
108
|
+
"types": "./dist/services/cli-process-host.d.ts",
|
|
109
|
+
"import": "./dist/services/cli-process-host.js",
|
|
110
|
+
"default": "./dist/services/cli-process-host.js"
|
|
111
|
+
},
|
|
112
|
+
"./services/self-spawn": {
|
|
113
|
+
"bun": "./dist/services/self-spawn.impl.bun.js",
|
|
114
|
+
"types": "./dist/services/self-spawn.impl.bun.d.ts",
|
|
115
|
+
"import": "./dist/services/self-spawn.impl.bun.js",
|
|
116
|
+
"default": "./dist/services/self-spawn.impl.bun.js"
|
|
117
|
+
},
|
|
118
|
+
"./services/workspace-env": {
|
|
119
|
+
"bun": "./dist/services/workspace-env.js",
|
|
120
|
+
"types": "./dist/services/workspace-env.d.ts",
|
|
121
|
+
"import": "./dist/services/workspace-env.js",
|
|
122
|
+
"default": "./dist/services/workspace-env.js"
|
|
123
|
+
},
|
|
124
|
+
"./services/process-action-lifetime": {
|
|
125
|
+
"bun": "./dist/services/process-action-lifetime.consumer.js",
|
|
126
|
+
"types": "./dist/services/process-action-lifetime.consumer.d.ts",
|
|
127
|
+
"import": "./dist/services/process-action-lifetime.consumer.js",
|
|
128
|
+
"default": "./dist/services/process-action-lifetime.consumer.js"
|
|
129
|
+
},
|
|
130
|
+
"./services/user-environment": {
|
|
131
|
+
"bun": "./dist/services/user-environment.impl.bun.js",
|
|
132
|
+
"types": "./dist/services/user-environment.impl.bun.d.ts",
|
|
133
|
+
"import": "./dist/services/user-environment.impl.bun.js",
|
|
134
|
+
"default": "./dist/services/user-environment.impl.bun.js"
|
|
135
|
+
},
|
|
136
|
+
"./services/host-identity": {
|
|
137
|
+
"bun": "./dist/services/host-identity.impl.bun.js",
|
|
138
|
+
"types": "./dist/services/host-identity.impl.bun.d.ts",
|
|
139
|
+
"import": "./dist/services/host-identity.impl.bun.js",
|
|
140
|
+
"default": "./dist/services/host-identity.impl.bun.js"
|
|
141
|
+
},
|
|
142
|
+
"./services/graph-freshness": {
|
|
143
|
+
"bun": "./dist/services/graph-freshness.impl.bun.js",
|
|
144
|
+
"types": "./dist/services/graph-freshness.impl.bun.d.ts",
|
|
145
|
+
"import": "./dist/services/graph-freshness.impl.bun.js",
|
|
146
|
+
"default": "./dist/services/graph-freshness.impl.bun.js"
|
|
147
|
+
},
|
|
148
|
+
"./services/executable-identity": {
|
|
149
|
+
"bun": "./dist/services/executable-identity.impl.bun.js",
|
|
150
|
+
"types": "./dist/services/executable-identity.impl.bun.d.ts",
|
|
151
|
+
"import": "./dist/services/executable-identity.impl.bun.js",
|
|
152
|
+
"default": "./dist/services/executable-identity.impl.bun.js"
|
|
153
|
+
},
|
|
154
|
+
"./host-credentials": {
|
|
155
|
+
"bun": "./dist/host-credentials.js",
|
|
156
|
+
"types": "./dist/host-credentials.d.ts",
|
|
157
|
+
"import": "./dist/host-credentials.js",
|
|
158
|
+
"default": "./dist/host-credentials.js"
|
|
159
|
+
},
|
|
160
|
+
"./test-tooling/svelte-compiler": {
|
|
161
|
+
"bun": "./dist/test-tooling/svelte-compiler.impl.bun.js",
|
|
162
|
+
"types": "./dist/test-tooling/svelte-compiler.impl.bun.d.ts",
|
|
163
|
+
"import": "./dist/test-tooling/svelte-compiler.impl.bun.js",
|
|
164
|
+
"default": "./dist/test-tooling/svelte-compiler.impl.bun.js"
|
|
165
|
+
},
|
|
166
|
+
"./test-tooling/svelte-client-preload": {
|
|
167
|
+
"bun": "./dist/test-tooling/svelte-client-preload.impl.bun.js",
|
|
168
|
+
"types": "./dist/test-tooling/svelte-client-preload.impl.bun.d.ts",
|
|
169
|
+
"import": "./dist/test-tooling/svelte-client-preload.impl.bun.js",
|
|
170
|
+
"default": "./dist/test-tooling/svelte-client-preload.impl.bun.js"
|
|
171
|
+
},
|
|
172
|
+
"./test-tooling/svelte-server-preload": {
|
|
173
|
+
"bun": "./dist/test-tooling/svelte-server-preload.impl.bun.js",
|
|
174
|
+
"types": "./dist/test-tooling/svelte-server-preload.impl.bun.d.ts",
|
|
175
|
+
"import": "./dist/test-tooling/svelte-server-preload.impl.bun.js",
|
|
176
|
+
"default": "./dist/test-tooling/svelte-server-preload.impl.bun.js"
|
|
177
|
+
},
|
|
178
|
+
"./test-tooling/unix-http": {
|
|
179
|
+
"bun": "./dist/test-tooling/unix-http.impl.bun.js",
|
|
180
|
+
"types": "./dist/test-tooling/unix-http.impl.bun.d.ts",
|
|
181
|
+
"import": "./dist/test-tooling/unix-http.impl.bun.js",
|
|
182
|
+
"default": "./dist/test-tooling/unix-http.impl.bun.js"
|
|
183
|
+
},
|
|
184
|
+
"./test-tooling/lazy-environment": {
|
|
185
|
+
"bun": "./dist/test-tooling/lazy-environment.impl.bun.js",
|
|
186
|
+
"types": "./dist/test-tooling/lazy-environment.impl.bun.d.ts",
|
|
187
|
+
"import": "./dist/test-tooling/lazy-environment.impl.bun.js",
|
|
188
|
+
"default": "./dist/test-tooling/lazy-environment.impl.bun.js"
|
|
189
|
+
},
|
|
190
|
+
"./native-image": {
|
|
191
|
+
"bun": "./dist/native-image.js",
|
|
192
|
+
"types": "./dist/native-image.d.ts",
|
|
193
|
+
"import": "./dist/native-image.js",
|
|
194
|
+
"default": "./dist/native-image.js"
|
|
195
|
+
},
|
|
196
|
+
"./native-image/plugin": {
|
|
197
|
+
"bun": "./dist/native-image.consumer.plugin.js",
|
|
198
|
+
"types": "./dist/native-image.consumer.plugin.d.ts",
|
|
199
|
+
"import": "./dist/native-image.consumer.plugin.js",
|
|
200
|
+
"default": "./dist/native-image.consumer.plugin.js"
|
|
201
|
+
},
|
|
202
|
+
"./native-network": {
|
|
203
|
+
"bun": "./dist/native-network/index.js",
|
|
204
|
+
"types": "./dist/native-network/index.d.ts",
|
|
205
|
+
"import": "./dist/native-network/index.js",
|
|
206
|
+
"default": "./dist/native-network/index.js"
|
|
207
|
+
},
|
|
208
|
+
"./native-network/plugin": {
|
|
209
|
+
"bun": "./dist/native-network/native-network.plugin.js",
|
|
210
|
+
"types": "./dist/native-network/native-network.plugin.d.ts",
|
|
211
|
+
"import": "./dist/native-network/native-network.plugin.js",
|
|
212
|
+
"default": "./dist/native-network/native-network.plugin.js"
|
|
213
|
+
},
|
|
214
|
+
"./runtime-plugin-host/runtime-thread.shim.bun": {
|
|
215
|
+
"bun": "./dist/runtime-plugin-host/runtime-thread.shim.bun.js",
|
|
216
|
+
"types": "./dist/runtime-plugin-host/runtime-thread.shim.bun.d.ts",
|
|
217
|
+
"import": "./dist/runtime-plugin-host/runtime-thread.shim.bun.js",
|
|
218
|
+
"default": "./dist/runtime-plugin-host/runtime-thread.shim.bun.js"
|
|
219
|
+
},
|
|
220
|
+
"./runtime-plugin-host/daemon-execution.worker-shim.bun": {
|
|
221
|
+
"bun": "./dist/runtime-plugin-host/daemon-execution.worker-shim.bun.js",
|
|
222
|
+
"types": "./dist/runtime-plugin-host/daemon-execution.worker-shim.bun.d.ts",
|
|
223
|
+
"import": "./dist/runtime-plugin-host/daemon-execution.worker-shim.bun.js",
|
|
224
|
+
"default": "./dist/runtime-plugin-host/daemon-execution.worker-shim.bun.js"
|
|
225
|
+
},
|
|
226
|
+
"./cli-checkout": {
|
|
227
|
+
"bun": "./dist/cli-checkout.impl.bun.js",
|
|
228
|
+
"types": "./dist/cli-checkout.impl.bun.d.ts",
|
|
229
|
+
"import": "./dist/cli-checkout.impl.bun.js",
|
|
230
|
+
"default": "./dist/cli-checkout.impl.bun.js"
|
|
231
|
+
},
|
|
232
|
+
"./resolution-root": {
|
|
233
|
+
"bun": "./dist/resolution-root.impl.bun.js",
|
|
234
|
+
"types": "./dist/resolution-root.impl.bun.d.ts",
|
|
235
|
+
"import": "./dist/resolution-root.impl.bun.js",
|
|
236
|
+
"default": "./dist/resolution-root.impl.bun.js"
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
"files": [
|
|
240
|
+
"dist",
|
|
241
|
+
"README.md",
|
|
242
|
+
"LICENSE",
|
|
243
|
+
"resources",
|
|
244
|
+
"native/held-launch",
|
|
245
|
+
"!dist/**/__tests__/**",
|
|
246
|
+
"!dist/**/__stubs__/**",
|
|
247
|
+
"!dist/**/*.test.js",
|
|
248
|
+
"!dist/**/*.test.js.map",
|
|
249
|
+
"!dist/**/*.test.d.ts",
|
|
250
|
+
"!dist/**/*.test.d.ts.map",
|
|
251
|
+
"!dist/**/*.spec.js",
|
|
252
|
+
"!dist/**/*.spec.js.map",
|
|
253
|
+
"!dist/**/*.spec.d.ts",
|
|
254
|
+
"!dist/**/*.spec.d.ts.map",
|
|
255
|
+
"!dist/**/*.tsbuildinfo",
|
|
256
|
+
"!dist/native-build/**",
|
|
257
|
+
"!dist/.compile-inputs.json",
|
|
258
|
+
"!dist/.native-core-inputs.json",
|
|
259
|
+
"!native/held-launch/tests/**"
|
|
260
|
+
],
|
|
261
|
+
"scripts": {
|
|
262
|
+
"lint": "node ../node_modules/@vibesdotdev/internal-oxlint-toolchain/ratchet.mjs .",
|
|
263
|
+
"build:native:prepare": "bun --bun scripts/build-native.ts prepare",
|
|
264
|
+
"build:native": "bun --bun scripts/build.ts native",
|
|
265
|
+
"build:native:stage": "bun --bun scripts/build-native.ts stage",
|
|
266
|
+
"build": "bun --bun scripts/build.ts",
|
|
267
|
+
"check": "bun --bun tsc -p tsconfig.json --noEmit && bun --bun tsc -p tsconfig.check.json",
|
|
268
|
+
"prepack": "bun --bun scripts/check-compiled.ts",
|
|
269
|
+
"test:prepare": "bun --bun scripts/prepare-test-artifacts.ts",
|
|
270
|
+
"test:native": "bun --bun scripts/test-native.ts",
|
|
271
|
+
"test": "bun run test:prepare && bun test src",
|
|
272
|
+
"test:restricted": "bun test src/__tests__/restricted-execution.test.ts"
|
|
273
|
+
},
|
|
274
|
+
"repository": {
|
|
275
|
+
"type": "git",
|
|
276
|
+
"url": "ssh://git@git.vibes.dev/vibesdotdev/framework.git",
|
|
277
|
+
"directory": "host-bun"
|
|
278
|
+
},
|
|
279
|
+
"publishConfig": {
|
|
280
|
+
"registry": "https://packages.vibes.dev",
|
|
281
|
+
"access": "public"
|
|
282
|
+
},
|
|
283
|
+
"vibes": {
|
|
284
|
+
"visibility": "public",
|
|
285
|
+
"registry": {
|
|
286
|
+
"repositoryId": "4b1374d4-6830-4bfd-98e3-de66416368a8",
|
|
287
|
+
"directory": "host-bun"
|
|
288
|
+
},
|
|
289
|
+
"publishLoadRuntime": "bun",
|
|
290
|
+
"handedRuntimeLogging": true,
|
|
291
|
+
"host": true
|
|
292
|
+
},
|
|
293
|
+
"type": "module",
|
|
294
|
+
"types": "./dist/index.d.ts",
|
|
295
|
+
"license": "MIT",
|
|
296
|
+
"description": "Bun environment bindings for Vibes runtime surfaces.",
|
|
297
|
+
"homepage": "https://docs.vibes.dev/runtime-environment-bun",
|
|
298
|
+
"bugs": {
|
|
299
|
+
"url": "https://docs.vibes.dev/runtime-environment-bun#support"
|
|
300
|
+
},
|
|
301
|
+
"peerDependenciesMeta": {
|
|
302
|
+
"@vibesdotdev/kernel": {
|
|
303
|
+
"optional": false
|
|
304
|
+
},
|
|
305
|
+
"svelte": {
|
|
306
|
+
"optional": true
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
"gitHead": "f1ff526c235b10c970497738beb16b0651c428c8",
|
|
310
|
+
"_vibes_source": {
|
|
311
|
+
"repo": "ssh://git@git.vibes.dev/vibesdotdev/framework.git",
|
|
312
|
+
"sha": "f1ff526c235b10c970497738beb16b0651c428c8",
|
|
313
|
+
"workspaceDigest": "sha256:8f1afef704f26185aa4986e1ebaebf930ade1b755d7a1265ffc545e8d0f2c6a1"
|
|
314
|
+
}
|
|
315
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
// Fixed native-boundary resource. No caller program, env or profile enters argv.
|
|
2
|
+
// fd4 carries the admitted request; fd3 reports launch, and neither reaches the child.
|
|
3
|
+
// A launch failure crosses fd3 as a phase marker and the errno category only, never
|
|
4
|
+
// the message, which can quote request or environment bytes.
|
|
5
|
+
import { readFileSync, writeSync, closeSync } from 'node:fs';
|
|
6
|
+
import { spawn } from 'node:child_process';
|
|
7
|
+
import { constants } from 'node:os';
|
|
8
|
+
|
|
9
|
+
const status = (text) => { writeSync(3, text); closeSync(3); };
|
|
10
|
+
|
|
11
|
+
// The one decision point: every launch failure is returned here with the phase it happened in.
|
|
12
|
+
async function launch() {
|
|
13
|
+
let phase = 'supervisor';
|
|
14
|
+
try {
|
|
15
|
+
const request = JSON.parse(readFileSync(4, 'utf8'));
|
|
16
|
+
closeSync(4);
|
|
17
|
+
// From here a failure is the target's: spawn may throw synchronously or report asynchronously.
|
|
18
|
+
phase = 'target';
|
|
19
|
+
const child = spawn(request.command, request.args, {
|
|
20
|
+
cwd: request.cwd, env: request.env, shell: false,
|
|
21
|
+
stdio: ['ignore', 'inherit', 'inherit']
|
|
22
|
+
});
|
|
23
|
+
// Exit immediately on the leader's exit. The outer owner then kills any
|
|
24
|
+
// remaining members of this process group before draining inherited pipes.
|
|
25
|
+
child.once('exit', (code, signal) => {
|
|
26
|
+
const signalNumber = signal ? constants.signals[signal] : undefined;
|
|
27
|
+
process.exit(code ?? (signalNumber === undefined ? 125 : 128 + signalNumber));
|
|
28
|
+
});
|
|
29
|
+
await new Promise((resolve, reject) => {
|
|
30
|
+
child.once('spawn', resolve);
|
|
31
|
+
child.once('error', (error) => reject(error));
|
|
32
|
+
});
|
|
33
|
+
status('restricted-execution-ready\n');
|
|
34
|
+
return null;
|
|
35
|
+
} catch (error) {
|
|
36
|
+
return { phase, error };
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
const failure = await launch();
|
|
41
|
+
if (failure) {
|
|
42
|
+
const code = /^[A-Z][A-Z0-9_]{0,63}$/.test(failure.error?.code ?? '') ? failure.error.code : 'UNKNOWN';
|
|
43
|
+
const marker = failure.phase === 'target' ? 'restricted-target-spawn-failed' : 'restricted-supervisor-failed';
|
|
44
|
+
status(`${marker}:${code}\n`);
|
|
45
|
+
process.exit(125);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export default undefined;
|
|
49
|
+
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/** Embedded by the host, so a compiled executable needs no adjacent source file. */
|
|
2
|
+
import { closeSync, fstatSync, openSync, readFileSync } from 'node:fs';
|
|
3
|
+
|
|
4
|
+
function ownedHeartbeat(options) {
|
|
5
|
+
// This is a direct child of the serve process. After that parent exits,
|
|
6
|
+
// reparenting disarms the watch even if its numeric PID is reused.
|
|
7
|
+
if (process.ppid !== options.pid) return { state: 'lost' };
|
|
8
|
+
let fd;
|
|
9
|
+
try {
|
|
10
|
+
fd = openSync(options.pidFile, 'r');
|
|
11
|
+
const stat = fstatSync(fd);
|
|
12
|
+
const body = readFileSync(fd, 'utf8').trim();
|
|
13
|
+
if (!stat.isFile()) return { state: 'lost' };
|
|
14
|
+
const expected = String(options.pid);
|
|
15
|
+
// The singleton refresh truncates before writing. A prefix of our PID
|
|
16
|
+
// (including the empty prefix) cannot prove ownership loss. Its body
|
|
17
|
+
// has no delimiter with which to distinguish a partial write from a
|
|
18
|
+
// shorter PID, so leave that observation unresolved and never signal.
|
|
19
|
+
if (body !== expected && (expected.startsWith(body) || !/^[1-9][0-9]*$/.test(body))) {
|
|
20
|
+
return { state: 'pending' };
|
|
21
|
+
}
|
|
22
|
+
if (body !== expected) return { state: 'lost' };
|
|
23
|
+
return { state: 'owned', ageMs: Date.now() - stat.mtimeMs };
|
|
24
|
+
} catch (error) {
|
|
25
|
+
if (error instanceof Error && 'code' in error && error.code === 'ENOENT') return { state: 'lost' };
|
|
26
|
+
throw error;
|
|
27
|
+
} finally {
|
|
28
|
+
if (fd !== undefined) closeSync(fd);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export async function runServeStallWatch(options) {
|
|
33
|
+
if (ownedHeartbeat(options).state === 'lost') throw new Error('serve-stall-ownership-lost');
|
|
34
|
+
process.stdout.write('serve-stall-ready\n');
|
|
35
|
+
for (;;) {
|
|
36
|
+
const heartbeat = ownedHeartbeat(options);
|
|
37
|
+
if (heartbeat.state === 'lost') return;
|
|
38
|
+
if (heartbeat.state === 'owned' && Number.isFinite(heartbeat.ageMs) && heartbeat.ageMs > options.budgetMs) {
|
|
39
|
+
// Read ownership again at the signalling boundary; a fresh heartbeat
|
|
40
|
+
// or superseding pidfile must disarm this observation.
|
|
41
|
+
const confirmed = ownedHeartbeat(options);
|
|
42
|
+
if (confirmed.state === 'lost') return;
|
|
43
|
+
if (confirmed.state === 'owned' && confirmed.ageMs > options.budgetMs && process.ppid === options.pid) {
|
|
44
|
+
if (options.mode === 'report') process.stdout.write(`stall ${confirmed.ageMs}\n`);
|
|
45
|
+
else process.kill(options.pid, 'SIGKILL');
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
await Bun.sleep(options.pollMs);
|
|
50
|
+
}
|
|
51
|
+
}
|