@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.
Files changed (68) hide show
  1. package/README.md +4 -0
  2. package/dist/cli.js +3011 -97
  3. package/dist/cli.js.map +7 -1
  4. package/dist/executor/detect.d.ts +1 -1
  5. package/dist/executor/docker-executor.d.ts +1 -1
  6. package/dist/executor/docker-sandbox-executor.d.ts +1 -1
  7. package/dist/executor/fargate-executor.d.ts +1 -1
  8. package/dist/executor/firecracker-executor.d.ts +1 -1
  9. package/dist/executor/index.d.ts +1 -1
  10. package/dist/executor/lambda-microvm-executor.d.ts +1 -1
  11. package/dist/executor/mock-executor.d.ts +1 -1
  12. package/dist/executor/qemu-executor.d.ts +1 -1
  13. package/dist/executor/remote-executor.d.ts +1 -1
  14. package/dist/executor/types.d.ts +1 -1
  15. package/dist/images.d.ts +1 -1
  16. package/dist/index.js +3005 -29
  17. package/dist/index.js.map +7 -1
  18. package/dist/vendor/builder-types/access.d.ts +25 -0
  19. package/dist/vendor/builder-types/access.d.ts.map +1 -0
  20. package/dist/vendor/builder-types/events.d.ts +80 -0
  21. package/dist/vendor/builder-types/events.d.ts.map +1 -0
  22. package/dist/vendor/builder-types/index.d.ts +11 -0
  23. package/dist/vendor/builder-types/index.d.ts.map +1 -0
  24. package/dist/vendor/builder-types/release.d.ts +49 -0
  25. package/dist/vendor/builder-types/release.d.ts.map +1 -0
  26. package/dist/vendor/builder-types/vm.d.ts +101 -0
  27. package/dist/vendor/builder-types/vm.d.ts.map +1 -0
  28. package/dist/vendor/builder-types/worker.d.ts +25 -0
  29. package/dist/vendor/builder-types/worker.d.ts.map +1 -0
  30. package/package.json +15 -6
  31. package/dist/config.js +0 -144
  32. package/dist/config.js.map +0 -1
  33. package/dist/console-relays.js +0 -46
  34. package/dist/console-relays.js.map +0 -1
  35. package/dist/executor/detect.js +0 -184
  36. package/dist/executor/detect.js.map +0 -1
  37. package/dist/executor/docker-executor.js +0 -331
  38. package/dist/executor/docker-executor.js.map +0 -1
  39. package/dist/executor/docker-sandbox-executor.js +0 -343
  40. package/dist/executor/docker-sandbox-executor.js.map +0 -1
  41. package/dist/executor/fargate-executor.js +0 -293
  42. package/dist/executor/fargate-executor.js.map +0 -1
  43. package/dist/executor/firecracker-executor.js +0 -352
  44. package/dist/executor/firecracker-executor.js.map +0 -1
  45. package/dist/executor/index.js +0 -166
  46. package/dist/executor/index.js.map +0 -1
  47. package/dist/executor/lambda-microvm-executor.js +0 -211
  48. package/dist/executor/lambda-microvm-executor.js.map +0 -1
  49. package/dist/executor/mock-executor.js +0 -198
  50. package/dist/executor/mock-executor.js.map +0 -1
  51. package/dist/executor/mock-executor.test.js +0 -81
  52. package/dist/executor/mock-executor.test.js.map +0 -1
  53. package/dist/executor/qemu-executor.js +0 -383
  54. package/dist/executor/qemu-executor.js.map +0 -1
  55. package/dist/executor/reattach-utils.js +0 -11
  56. package/dist/executor/reattach-utils.js.map +0 -1
  57. package/dist/executor/remote-executor.js +0 -125
  58. package/dist/executor/remote-executor.js.map +0 -1
  59. package/dist/executor/types.js +0 -3
  60. package/dist/executor/types.js.map +0 -1
  61. package/dist/images.js +0 -163
  62. package/dist/images.js.map +0 -1
  63. package/dist/services/serial-relay.js +0 -74
  64. package/dist/services/serial-relay.js.map +0 -1
  65. package/dist/services/vnc-relay.js +0 -101
  66. package/dist/services/vnc-relay.js.map +0 -1
  67. package/dist/socket-client.js +0 -119
  68. package/dist/socket-client.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { type VmEngine } from '@multiplayer-app/builder-types';
1
+ import { type VmEngine } from '../vendor/builder-types/index';
2
2
  import type { WorkerConfig } from '../config';
3
3
  export interface EngineProbe {
4
4
  engine: VmEngine;
@@ -1,4 +1,4 @@
1
- import type { ProxyRequestDescriptor, ProxyResponseDescriptor, VmExecRequest, VmExecResult, VmFileWrite, VmRecord, VmWriteFilesResult } from '@multiplayer-app/builder-types';
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 '@multiplayer-app/builder-types';
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 '@multiplayer-app/builder-types';
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 '@multiplayer-app/builder-types';
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;
@@ -1,4 +1,4 @@
1
- import type { ProxyRequestDescriptor, ProxyResponseDescriptor, VmEngine, VmExecRequest, VmExecResult, VmFileWrite, VmRecord, VmWriteFilesResult } from '@multiplayer-app/builder-types';
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 '@multiplayer-app/builder-types';
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 '@multiplayer-app/builder-types';
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 '@multiplayer-app/builder-types';
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 '@multiplayer-app/builder-types';
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;
@@ -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 '@multiplayer-app/builder-types';
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 '@multiplayer-app/builder-types';
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. */