@multiplayer-app/sandbox 2.0.0-wip-yjs-state-changes.0 → 3.0.0-wip-yjs-state-changes.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 +4 -0
- package/dist/cli.js +3011 -97
- package/dist/cli.js.map +7 -1
- package/dist/executor/detect.d.ts +1 -1
- package/dist/executor/docker-executor.d.ts +1 -1
- package/dist/executor/docker-sandbox-executor.d.ts +1 -1
- package/dist/executor/fargate-executor.d.ts +1 -1
- package/dist/executor/firecracker-executor.d.ts +1 -1
- package/dist/executor/index.d.ts +1 -1
- package/dist/executor/lambda-microvm-executor.d.ts +1 -1
- package/dist/executor/mock-executor.d.ts +1 -1
- package/dist/executor/qemu-executor.d.ts +1 -1
- package/dist/executor/remote-executor.d.ts +1 -1
- package/dist/executor/types.d.ts +1 -1
- package/dist/images.d.ts +1 -1
- package/dist/index.js +3005 -29
- package/dist/index.js.map +7 -1
- package/dist/vendor/builder-types/access.d.ts +25 -0
- package/dist/vendor/builder-types/access.d.ts.map +1 -0
- package/dist/vendor/builder-types/events.d.ts +80 -0
- package/dist/vendor/builder-types/events.d.ts.map +1 -0
- package/dist/vendor/builder-types/index.d.ts +11 -0
- package/dist/vendor/builder-types/index.d.ts.map +1 -0
- package/dist/vendor/builder-types/release.d.ts +49 -0
- package/dist/vendor/builder-types/release.d.ts.map +1 -0
- package/dist/vendor/builder-types/vm.d.ts +101 -0
- package/dist/vendor/builder-types/vm.d.ts.map +1 -0
- package/dist/vendor/builder-types/worker.d.ts +25 -0
- package/dist/vendor/builder-types/worker.d.ts.map +1 -0
- package/package.json +15 -6
- package/dist/config.js +0 -144
- package/dist/config.js.map +0 -1
- package/dist/console-relays.js +0 -46
- package/dist/console-relays.js.map +0 -1
- package/dist/executor/detect.js +0 -184
- package/dist/executor/detect.js.map +0 -1
- package/dist/executor/docker-executor.js +0 -331
- package/dist/executor/docker-executor.js.map +0 -1
- package/dist/executor/docker-sandbox-executor.js +0 -343
- package/dist/executor/docker-sandbox-executor.js.map +0 -1
- package/dist/executor/fargate-executor.js +0 -293
- package/dist/executor/fargate-executor.js.map +0 -1
- package/dist/executor/firecracker-executor.js +0 -352
- package/dist/executor/firecracker-executor.js.map +0 -1
- package/dist/executor/index.js +0 -166
- package/dist/executor/index.js.map +0 -1
- package/dist/executor/lambda-microvm-executor.js +0 -211
- package/dist/executor/lambda-microvm-executor.js.map +0 -1
- package/dist/executor/mock-executor.js +0 -198
- package/dist/executor/mock-executor.js.map +0 -1
- package/dist/executor/mock-executor.test.js +0 -81
- package/dist/executor/mock-executor.test.js.map +0 -1
- package/dist/executor/qemu-executor.js +0 -383
- package/dist/executor/qemu-executor.js.map +0 -1
- package/dist/executor/reattach-utils.js +0 -11
- package/dist/executor/reattach-utils.js.map +0 -1
- package/dist/executor/remote-executor.js +0 -125
- package/dist/executor/remote-executor.js.map +0 -1
- package/dist/executor/types.js +0 -3
- package/dist/executor/types.js.map +0 -1
- package/dist/images.js +0 -163
- package/dist/images.js.map +0 -1
- package/dist/services/serial-relay.js +0 -74
- package/dist/services/serial-relay.js.map +0 -1
- package/dist/services/vnc-relay.js +0 -101
- package/dist/services/vnc-relay.js.map +0 -1
- package/dist/socket-client.js +0 -119
- package/dist/socket-client.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ProxyRequestDescriptor, ProxyResponseDescriptor, VmExecRequest, VmExecResult, VmFileWrite, VmRecord, VmWriteFilesResult } from '
|
|
1
|
+
import type { ProxyRequestDescriptor, ProxyResponseDescriptor, VmExecRequest, VmExecResult, VmFileWrite, VmRecord, VmWriteFilesResult } from '../vendor/builder-types/index';
|
|
2
2
|
import type { DockerWorkerConfig } from '../config';
|
|
3
3
|
import type { Executor, VmHandle, VmSpec } from './types';
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ProxyRequestDescriptor, ProxyResponseDescriptor, VmExecRequest, VmExecResult, VmFileWrite, VmRecord, VmWriteFilesResult } from '
|
|
1
|
+
import type { ProxyRequestDescriptor, ProxyResponseDescriptor, VmExecRequest, VmExecResult, VmFileWrite, VmRecord, VmWriteFilesResult } from '../vendor/builder-types/index';
|
|
2
2
|
import type { DockerSandboxWorkerConfig } from '../config';
|
|
3
3
|
import type { Executor, VmHandle, VmSpec } from './types';
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ProxyRequestDescriptor, ProxyResponseDescriptor, VmRecord, VmStack } from '
|
|
1
|
+
import type { ProxyRequestDescriptor, ProxyResponseDescriptor, VmRecord, VmStack } from '../vendor/builder-types/index';
|
|
2
2
|
import type { Executor, VmHandle, VmSpec } from './types';
|
|
3
3
|
export interface FargateConfig {
|
|
4
4
|
region?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ProxyRequestDescriptor, ProxyResponseDescriptor, VmRecord } from '
|
|
1
|
+
import type { ProxyRequestDescriptor, ProxyResponseDescriptor, VmRecord } from '../vendor/builder-types/index';
|
|
2
2
|
import type { Executor, SerialSource, VmHandle, VmSpec } from './types';
|
|
3
3
|
export interface FirecrackerConfig {
|
|
4
4
|
bin?: string;
|
package/dist/executor/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ProxyRequestDescriptor, ProxyResponseDescriptor, VmEngine, VmExecRequest, VmExecResult, VmFileWrite, VmRecord, VmWriteFilesResult } from '
|
|
1
|
+
import type { ProxyRequestDescriptor, ProxyResponseDescriptor, VmEngine, VmExecRequest, VmExecResult, VmFileWrite, VmRecord, VmWriteFilesResult } from '../vendor/builder-types/index';
|
|
2
2
|
import type { Executor, SerialSource, VmHandle, VmSpec } from './types';
|
|
3
3
|
import type { WorkerConfig } from '../config';
|
|
4
4
|
export type { Executor, SerialSource, VmHandle, VmSpec } from './types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ProxyRequestDescriptor, ProxyResponseDescriptor, VmRecord, VmStack } from '
|
|
1
|
+
import type { ProxyRequestDescriptor, ProxyResponseDescriptor, VmRecord, VmStack } from '../vendor/builder-types/index';
|
|
2
2
|
import type { Executor, VmHandle, VmSpec } from './types';
|
|
3
3
|
export interface LambdaMicrovmConfig {
|
|
4
4
|
region?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ProxyRequestDescriptor, ProxyResponseDescriptor, VmExecRequest, VmExecResult, VmFileWrite, VmWriteFilesResult } from '
|
|
1
|
+
import type { ProxyRequestDescriptor, ProxyResponseDescriptor, VmExecRequest, VmExecResult, VmFileWrite, VmWriteFilesResult } from '../vendor/builder-types/index';
|
|
2
2
|
import type { Executor, VmHandle, VmSpec } from './types';
|
|
3
3
|
export declare class MockExecutor implements Executor {
|
|
4
4
|
private readonly vms;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ProxyRequestDescriptor, ProxyResponseDescriptor, VmRecord } from '
|
|
1
|
+
import type { ProxyRequestDescriptor, ProxyResponseDescriptor, VmRecord } from '../vendor/builder-types/index';
|
|
2
2
|
import type { Executor, VmHandle, VmSpec } from './types';
|
|
3
3
|
export interface QemuConfig {
|
|
4
4
|
bin?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ProxyRequestDescriptor, ProxyResponseDescriptor, VmRecord } from '
|
|
1
|
+
import type { ProxyRequestDescriptor, ProxyResponseDescriptor, VmRecord } from '../vendor/builder-types/index';
|
|
2
2
|
import type { Executor, VmHandle, VmSpec } from './types';
|
|
3
3
|
export interface RemoteExecutorConfig {
|
|
4
4
|
agentUrl: string;
|
package/dist/executor/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ChildProcess } from 'child_process';
|
|
2
|
-
import type { ProxyRequestDescriptor, ProxyResponseDescriptor, VmEngine, VmExecRequest, VmExecResult, VmFileWrite, VmRecord, VmResources, VmStack, VmWriteFilesResult } from '
|
|
2
|
+
import type { ProxyRequestDescriptor, ProxyResponseDescriptor, VmEngine, VmExecRequest, VmExecResult, VmFileWrite, VmRecord, VmResources, VmStack, VmWriteFilesResult } from '../vendor/builder-types/index';
|
|
3
3
|
/** Where a VM's serial console can be reached: a TCP port (QEMU) or the hypervisor process stdio (Firecracker). */
|
|
4
4
|
export type SerialSource = {
|
|
5
5
|
type: 'tcp';
|
package/dist/images.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type VmStack } from '
|
|
1
|
+
import { type VmStack } from './vendor/builder-types/index';
|
|
2
2
|
/** Files that make up one stack's base image (built by scripts/setup-vm-images.sh). */
|
|
3
3
|
export declare const IMAGE_FILES: readonly ["vmlinuz", "initramfs.img"];
|
|
4
4
|
/** Normalize Node's process.arch to the uname-style names used in image paths. */
|