windows-development-sandbox 1.4.3 → 1.5.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/.sandbox-config.example.json +1 -2
- package/README.md +9 -9
- package/config.example.json +159 -7
- package/dist/api.d.ts +2 -2
- package/dist/api.js +2 -2
- package/dist/cli/args.d.ts +15 -0
- package/dist/cli/args.js +24 -1
- package/dist/cli/commands/accounts.js +27 -26
- package/dist/cli/commands/agent-commands.d.ts +1 -1
- package/dist/cli/commands/agent-commands.js +10 -35
- package/dist/cli/commands/context.d.ts +6 -0
- package/dist/cli/commands/data/clean.d.ts +1 -13
- package/dist/cli/commands/data/clean.js +13 -98
- package/dist/cli/commands/data/index.js +4 -5
- package/dist/cli/commands/index.d.ts +2 -1
- package/dist/cli/commands/index.js +2 -1
- package/dist/cli/commands/launch/first-start.d.ts +1 -1
- package/dist/cli/commands/launch/first-start.js +1 -1
- package/dist/cli/commands/launch/launch.d.ts +3 -0
- package/dist/cli/commands/launch/launch.js +68 -6
- package/dist/cli/commands/launch/prepare.d.ts +2 -2
- package/dist/cli/commands/launch/prepare.js +1 -2
- package/dist/cli/commands/launch/resume-offer.d.ts +8 -0
- package/dist/cli/commands/launch/resume-offer.js +41 -0
- package/dist/cli/commands/maintenance/doctor.js +2 -48
- package/dist/cli/commands/maintenance/host-claude.d.ts +3 -0
- package/dist/cli/commands/maintenance/host-claude.js +11 -1
- package/dist/cli/commands/maintenance/index.d.ts +2 -0
- package/dist/cli/commands/maintenance/index.js +2 -0
- package/dist/cli/commands/maintenance/logs.js +8 -28
- package/dist/cli/commands/maintenance/migrate.d.ts +13 -0
- package/dist/cli/commands/maintenance/migrate.js +55 -0
- package/dist/cli/commands/maintenance/update.d.ts +22 -0
- package/dist/cli/commands/maintenance/update.js +106 -0
- package/dist/cli/commands/maintenance/watch.js +5 -1
- package/dist/cli/commands/projects/here.d.ts +3 -1
- package/dist/cli/commands/projects/here.js +24 -7
- package/dist/cli/commands/projects/projects.d.ts +0 -12
- package/dist/cli/commands/projects/projects.js +42 -102
- package/dist/cli/commands/projects/restart.d.ts +2 -12
- package/dist/cli/commands/projects/restart.js +10 -53
- package/dist/cli/commands/registry.js +5 -1
- package/dist/cli/commands/repair/index.d.ts +0 -3
- package/dist/cli/commands/repair/index.js +4 -37
- package/dist/cli/commands/resume.d.ts +2 -0
- package/dist/cli/commands/resume.js +61 -0
- package/dist/cli/commands/sessions/attach.d.ts +1 -1
- package/dist/cli/commands/sessions/attach.js +13 -14
- package/dist/cli/commands/sessions/control.d.ts +1 -1
- package/dist/cli/commands/sessions/control.js +23 -19
- package/dist/cli/commands/sessions/exec.d.ts +2 -2
- package/dist/cli/commands/sessions/exec.js +14 -14
- package/dist/cli/commands/sessions/list.d.ts +1 -14
- package/dist/cli/commands/sessions/list.js +19 -39
- package/dist/cli/commands/sessions/reopen.d.ts +36 -0
- package/dist/cli/commands/sessions/reopen.js +99 -0
- package/dist/cli/commands/sessions/status.d.ts +1 -1
- package/dist/cli/commands/sessions/status.js +37 -97
- package/dist/cli/commands/sessions/window.d.ts +1 -1
- package/dist/cli/commands/sessions/window.js +7 -7
- package/dist/cli/commands/setup/facts.js +2 -12
- package/dist/cli/commands/setup/index.js +10 -25
- package/dist/cli/commands/shared-use.d.ts +29 -0
- package/dist/cli/commands/shared-use.js +69 -0
- package/dist/cli/index.js +13 -2
- package/dist/cli/manifest.d.ts +182 -1
- package/dist/cli/manifest.js +80 -5
- package/dist/cli/menu/apps.d.ts +26 -15
- package/dist/cli/menu/apps.js +83 -114
- package/dist/cli/menu/command-form.d.ts +5 -0
- package/dist/cli/menu/command-form.js +44 -27
- package/dist/cli/menu/menu.d.ts +7 -12
- package/dist/cli/menu/menu.js +81 -96
- package/dist/cli/menu/pages/accounts-page.d.ts +29 -0
- package/dist/cli/menu/pages/accounts-page.js +168 -0
- package/dist/cli/menu/pages/apps-page.d.ts +26 -0
- package/dist/cli/menu/pages/apps-page.js +75 -0
- package/dist/cli/menu/pages/list-page.d.ts +42 -0
- package/dist/cli/menu/pages/list-page.js +65 -0
- package/dist/cli/menu/pages/maintenance-page.d.ts +76 -0
- package/dist/cli/menu/pages/maintenance-page.js +483 -0
- package/dist/cli/menu/pages/sandbox-page.d.ts +32 -0
- package/dist/cli/menu/pages/sandbox-page.js +273 -0
- package/dist/cli/menu/pages/scopes.d.ts +9 -0
- package/dist/cli/menu/pages/scopes.js +15 -0
- package/dist/cli/menu/pages/sessions-page.d.ts +20 -0
- package/dist/cli/menu/pages/sessions-page.js +94 -0
- package/dist/cli/menu/pages/settings-page.d.ts +31 -0
- package/dist/cli/menu/pages/settings-page.js +207 -0
- package/dist/cli/menu/pages/start-page.d.ts +43 -0
- package/dist/cli/menu/pages/start-page.js +192 -0
- package/dist/cli/menu/settings/categories.js +9 -2
- package/dist/cli/menu/settings/collections/collection-editor.d.ts +2 -2
- package/dist/cli/menu/settings/collections/collection-editor.js +9 -25
- package/dist/cli/menu/settings/config-file.d.ts +9 -0
- package/dist/cli/menu/settings/config-file.js +18 -7
- package/dist/cli/menu/settings/draft.d.ts +26 -0
- package/dist/cli/menu/settings/draft.js +67 -0
- package/dist/cli/menu/settings/editor-actions.d.ts +0 -1
- package/dist/cli/menu/settings/editor-actions.js +0 -1
- package/dist/cli/menu/settings/index.d.ts +2 -2
- package/dist/cli/menu/settings/index.js +1 -1
- package/dist/cli/menu/settings/object-editor.js +8 -28
- package/dist/cli/menu/shell.d.ts +54 -0
- package/dist/cli/menu/shell.js +109 -0
- package/dist/cli/services/accounts-service.d.ts +44 -0
- package/dist/cli/services/accounts-service.js +115 -0
- package/dist/cli/services/agent-commands-service.d.ts +22 -0
- package/dist/cli/services/agent-commands-service.js +44 -0
- package/dist/cli/services/data-service.d.ts +43 -0
- package/dist/cli/services/data-service.js +66 -0
- package/dist/cli/services/data-targets.d.ts +13 -0
- package/dist/cli/services/data-targets.js +67 -0
- package/dist/cli/services/databases-service.d.ts +27 -0
- package/dist/cli/services/databases-service.js +57 -0
- package/dist/cli/services/health-service.d.ts +28 -0
- package/dist/cli/services/health-service.js +120 -0
- package/dist/cli/services/index.d.ts +12 -0
- package/dist/cli/services/index.js +12 -0
- package/dist/cli/services/logs-service.d.ts +25 -0
- package/dist/cli/services/logs-service.js +54 -0
- package/dist/cli/services/migrate-service.d.ts +29 -0
- package/dist/cli/services/migrate-service.js +43 -0
- package/dist/cli/services/projects-service.d.ts +56 -0
- package/dist/cli/services/projects-service.js +111 -0
- package/dist/cli/services/sandbox-service.d.ts +78 -0
- package/dist/cli/services/sandbox-service.js +125 -0
- package/dist/cli/services/sessions-service.d.ts +42 -0
- package/dist/cli/services/sessions-service.js +81 -0
- package/dist/cli/services/update-service.d.ts +74 -0
- package/dist/cli/services/update-service.js +185 -0
- package/dist/cli/tui/app.d.ts +13 -0
- package/dist/cli/tui/app.js +37 -3
- package/dist/cli/tui/dialogs/overlay.d.ts +34 -0
- package/dist/cli/tui/dialogs/overlay.js +104 -0
- package/dist/cli/tui/frame.d.ts +13 -4
- package/dist/cli/tui/frame.js +10 -8
- package/dist/cli/tui/index.d.ts +5 -2
- package/dist/cli/tui/index.js +3 -0
- package/dist/cli/tui/key-bar.d.ts +5 -0
- package/dist/cli/tui/key-bar.js +22 -0
- package/dist/cli/tui/list/list-screen.d.ts +9 -0
- package/dist/cli/tui/list/list-screen.js +62 -22
- package/dist/cli/tui/list/list-types.d.ts +12 -1
- package/dist/cli/tui/tab-bar.d.ts +9 -0
- package/dist/cli/tui/tab-bar.js +33 -0
- package/dist/cli/tui/text.js +4 -1
- package/dist/core/config/defaults.js +77 -7
- package/dist/core/config/index.d.ts +1 -1
- package/dist/core/config/index.js +1 -1
- package/dist/core/config/loader.d.ts +13 -9
- package/dist/core/config/loader.js +61 -20
- package/dist/core/detect/databases.d.ts +2 -2
- package/dist/core/detect/databases.js +4 -4
- package/dist/core/detect/pwsh.d.ts +4 -4
- package/dist/core/detect/pwsh.js +11 -11
- package/dist/core/detect/toolchains.d.ts +7 -4
- package/dist/core/detect/toolchains.js +15 -6
- package/dist/core/detect/versions.d.ts +22 -14
- package/dist/core/detect/versions.js +43 -29
- package/dist/core/disk.d.ts +13 -7
- package/dist/core/disk.js +18 -12
- package/dist/core/local-config/file.d.ts +1 -1
- package/dist/core/local-config/file.js +2 -2
- package/dist/core/local-config/overrides.d.ts +7 -7
- package/dist/core/local-config/overrides.js +20 -18
- package/dist/core/local-config/policy.d.ts +2 -2
- package/dist/core/local-config/policy.js +5 -3
- package/dist/core/local-config/trust.d.ts +6 -6
- package/dist/core/local-config/trust.js +16 -8
- package/dist/core/package-info.d.ts +1 -1
- package/dist/core/package-info.js +2 -2
- package/dist/core/prompt.d.ts +2 -2
- package/dist/core/prompt.js +6 -5
- package/dist/core/run/guest-workspace.d.ts +6 -2
- package/dist/core/run/guest-workspace.js +4 -1
- package/dist/core/run/resolve-run.d.ts +5 -2
- package/dist/core/run/resolve-run.js +6 -3
- package/dist/core/run/versions.d.ts +3 -3
- package/dist/core/run/versions.js +4 -4
- package/dist/core/safe-paths.d.ts +6 -3
- package/dist/core/safe-paths.js +8 -5
- package/dist/core/schema/common.d.ts +3 -3
- package/dist/core/schema/common.js +9 -3
- package/dist/core/schema/config.d.ts +29 -10
- package/dist/core/schema/config.js +4 -1
- package/dist/core/schema/databases.d.ts +1 -1
- package/dist/core/schema/databases.js +4 -2
- package/dist/core/schema/harness.d.ts +14 -0
- package/dist/core/schema/harness.js +25 -0
- package/dist/core/schema/json-schema.d.ts +2 -2
- package/dist/core/schema/json-schema.js +10 -8
- package/dist/core/schema/resume.d.ts +11 -0
- package/dist/core/schema/resume.js +12 -0
- package/dist/core/schema/sandbox.d.ts +3 -0
- package/dist/core/schema/sandbox.js +5 -0
- package/dist/core/schema/toolchains.d.ts +3 -3
- package/dist/core/schema/toolchains.js +7 -5
- package/dist/core/types.d.ts +20 -3
- package/dist/core/util/errors.d.ts +1 -1
- package/dist/core/util/errors.js +3 -1
- package/dist/core/util/fs.d.ts +7 -7
- package/dist/core/util/fs.js +16 -12
- package/dist/core/util/index.d.ts +2 -2
- package/dist/core/util/index.js +2 -2
- package/dist/core/util/jsonc.d.ts +2 -2
- package/dist/core/util/jsonc.js +9 -4
- package/dist/core/util/links.d.ts +3 -3
- package/dist/core/util/links.js +6 -6
- package/dist/core/util/paths.d.ts +8 -6
- package/dist/core/util/paths.js +19 -13
- package/dist/core/util/process.d.ts +7 -11
- package/dist/core/util/process.js +8 -49
- package/dist/core/util/text.d.ts +6 -4
- package/dist/core/util/text.js +17 -4
- package/dist/guest/agents/agent-installer.d.ts +21 -10
- package/dist/guest/agents/agent-installer.js +76 -59
- package/dist/guest/agents/profile-links.d.ts +5 -0
- package/dist/guest/agents/profile-links.js +27 -0
- package/dist/guest/apps/shortcuts.d.ts +1 -1
- package/dist/guest/apps/shortcuts.js +11 -20
- package/dist/guest/audit/parse.d.ts +1 -1
- package/dist/guest/audit/parse.js +2 -2
- package/dist/guest/audit/process-audit.d.ts +2 -2
- package/dist/guest/audit/process-audit.js +4 -4
- package/dist/guest/boot/boot-env.d.ts +2 -2
- package/dist/guest/boot/boot-env.js +4 -4
- package/dist/guest/boot/boot.d.ts +18 -1
- package/dist/guest/boot/boot.js +168 -119
- package/dist/guest/boot/guide.d.ts +4 -4
- package/dist/guest/boot/guide.js +44 -40
- package/dist/guest/boot/project-env.d.ts +1 -1
- package/dist/guest/boot/project-env.js +2 -2
- package/dist/guest/boot/project-status.d.ts +2 -2
- package/dist/guest/boot/project-status.js +5 -3
- package/dist/guest/daemon/daemon.d.ts +7 -1
- package/dist/guest/daemon/daemon.js +48 -42
- package/dist/guest/daemon/exec.d.ts +3 -3
- package/dist/guest/daemon/exec.js +10 -6
- package/dist/guest/daemon/idle-shutdown.d.ts +8 -1
- package/dist/guest/daemon/idle-shutdown.js +26 -14
- package/dist/guest/daemon/project-provisioner.d.ts +17 -8
- package/dist/guest/daemon/project-provisioner.js +68 -58
- package/dist/guest/daemon/relays.d.ts +1 -1
- package/dist/guest/daemon/relays.js +2 -2
- package/dist/guest/daemon/sessions.d.ts +30 -8
- package/dist/guest/daemon/sessions.js +170 -105
- package/dist/guest/daemon/state.d.ts +5 -14
- package/dist/guest/daemon/state.js +16 -13
- package/dist/guest/entries/daemon.js +2 -2
- package/dist/guest/entries/db.js +4 -2
- package/dist/guest/git/decision.d.ts +1 -1
- package/dist/guest/git/decision.js +2 -2
- package/dist/guest/network/addresses.d.ts +1 -1
- package/dist/guest/network/addresses.js +6 -4
- package/dist/guest/network/allow-only.d.ts +2 -2
- package/dist/guest/network/allow-only.js +4 -4
- package/dist/guest/network/firewall.d.ts +2 -2
- package/dist/guest/network/firewall.js +12 -12
- package/dist/guest/runtime/csc.d.ts +13 -3
- package/dist/guest/runtime/csc.js +28 -11
- package/dist/guest/runtime/fs.d.ts +2 -2
- package/dist/guest/runtime/fs.js +5 -3
- package/dist/guest/runtime/log.d.ts +2 -2
- package/dist/guest/runtime/log.js +4 -4
- package/dist/guest/runtime/ports.d.ts +6 -4
- package/dist/guest/runtime/ports.js +22 -16
- package/dist/guest/runtime/process.d.ts +17 -9
- package/dist/guest/runtime/process.js +38 -14
- package/dist/guest/runtime/project-context.d.ts +3 -3
- package/dist/guest/runtime/project-context.js +9 -3
- package/dist/guest/sessions/cmdline.d.ts +3 -3
- package/dist/guest/sessions/cmdline.js +10 -6
- package/dist/guest/sessions/conversation.d.ts +5 -0
- package/dist/guest/sessions/conversation.js +38 -0
- package/dist/guest/sessions/pty-host.d.ts +5 -5
- package/dist/guest/sessions/pty-host.js +17 -10
- package/dist/guest/sessions/viewer.d.ts +1 -1
- package/dist/guest/sessions/viewer.js +2 -2
- package/dist/guest/setup/claude-mem.d.ts +2 -2
- package/dist/guest/setup/claude-mem.js +9 -6
- package/dist/guest/setup/claude-profile.d.ts +2 -2
- package/dist/guest/setup/claude-profile.js +5 -5
- package/dist/guest/setup/desktop.d.ts +1 -1
- package/dist/guest/setup/desktop.js +4 -13
- package/dist/guest/setup/environment.d.ts +3 -3
- package/dist/guest/setup/environment.js +26 -33
- package/dist/guest/setup/git-identity.d.ts +1 -1
- package/dist/guest/setup/git-identity.js +2 -2
- package/dist/guest/setup/git-rules.d.ts +1 -1
- package/dist/guest/setup/git-rules.js +2 -2
- package/dist/guest/setup/hooks.d.ts +3 -3
- package/dist/guest/setup/hooks.js +10 -8
- package/dist/guest/setup/managed-policy.d.ts +2 -2
- package/dist/guest/setup/managed-policy.js +5 -3
- package/dist/guest/toolchains/native/mesa.js +2 -2
- package/dist/guest/toolchains/native/rust-extras.d.ts +2 -2
- package/dist/guest/toolchains/native/rust-extras.js +4 -4
- package/dist/guest/toolchains/native/vcruntime.js +2 -10
- package/dist/guest/toolchains/plan.js +8 -3
- package/dist/guest/toolchains/tools/cli.js +3 -3
- package/dist/guest/toolchains/tools/vscode.js +4 -9
- package/dist/host/agent-commands/commands.d.ts +4 -4
- package/dist/host/agent-commands/commands.js +12 -8
- package/dist/host/agent-commands/forwarders.d.ts +2 -2
- package/dist/host/agent-commands/forwarders.js +14 -12
- package/dist/host/agent-commands/reconcile.d.ts +1 -1
- package/dist/host/agent-commands/reconcile.js +4 -4
- package/dist/host/agent-commands/user-path.d.ts +5 -2
- package/dist/host/agent-commands/user-path.js +15 -23
- package/dist/host/audit/collect.d.ts +2 -2
- package/dist/host/audit/collect.js +6 -2
- package/dist/host/audit/log.d.ts +1 -1
- package/dist/host/audit/log.js +2 -2
- package/dist/host/channel/attach.d.ts +4 -4
- package/dist/host/channel/attach.js +8 -8
- package/dist/host/channel/channel.d.ts +3 -1
- package/dist/host/channel/channel.js +3 -1
- package/dist/host/install/index.d.ts +4 -0
- package/dist/host/install/index.js +4 -0
- package/dist/host/install/install-record.d.ts +19 -0
- package/dist/host/install/install-record.js +28 -0
- package/dist/host/install/layout.d.ts +29 -0
- package/dist/host/install/layout.js +111 -0
- package/dist/host/install/scheduled-task.d.ts +10 -0
- package/dist/host/install/scheduled-task.js +40 -0
- package/dist/host/install/shims.d.ts +10 -0
- package/dist/host/install/shims.js +55 -0
- package/dist/host/launch/index.d.ts +1 -1
- package/dist/host/launch/index.js +1 -1
- package/dist/host/launch/mappings.js +4 -2
- package/dist/host/launch/pc-scan.js +8 -1
- package/dist/host/launch/project-scan.d.ts +2 -0
- package/dist/host/launch/project-scan.js +15 -0
- package/dist/host/launch/session-file.js +2 -0
- package/dist/host/launch/toolchains.js +12 -2
- package/dist/host/launch/wsb-file.js +1 -1
- package/dist/host/life/crash-report.d.ts +3 -1
- package/dist/host/life/crash-report.js +4 -2
- package/dist/host/life/index.d.ts +1 -0
- package/dist/host/life/index.js +1 -0
- package/dist/host/life/keep-awake.d.ts +3 -2
- package/dist/host/life/keep-awake.js +10 -7
- package/dist/host/life/life-record.d.ts +1 -1
- package/dist/host/life/life-record.js +3 -4
- package/dist/host/life/session-ledger.d.ts +65 -0
- package/dist/host/life/session-ledger.js +163 -0
- package/dist/host/life/stop-events.d.ts +4 -4
- package/dist/host/life/stop-events.js +14 -12
- package/dist/host/life/windows-update.d.ts +1 -1
- package/dist/host/life/windows-update.js +7 -5
- package/dist/host/migrate/backup.d.ts +15 -0
- package/dist/host/migrate/backup.js +92 -0
- package/dist/host/migrate/index.d.ts +5 -0
- package/dist/host/migrate/index.js +4 -0
- package/dist/host/migrate/marker.d.ts +21 -0
- package/dist/host/migrate/marker.js +49 -0
- package/dist/host/migrate/migration.d.ts +26 -0
- package/dist/host/migrate/migration.js +3 -0
- package/dist/host/migrate/migrations/config-file.d.ts +8 -0
- package/dist/host/migrate/migrations/config-file.js +28 -0
- package/dist/host/migrate/migrations/follow-machine-storage.d.ts +2 -0
- package/dist/host/migrate/migrations/follow-machine-storage.js +36 -0
- package/dist/host/migrate/migrations/unpin-config-defaults.d.ts +2 -0
- package/dist/host/migrate/migrations/unpin-config-defaults.js +41 -0
- package/dist/host/migrate/registry.d.ts +2 -0
- package/dist/host/migrate/registry.js +3 -0
- package/dist/host/migrate/runner.d.ts +21 -0
- package/dist/host/migrate/runner.js +67 -0
- package/dist/host/migrate/snapshots.d.ts +6 -0
- package/dist/host/migrate/snapshots.js +2200 -0
- package/dist/host/native.d.ts +8 -3
- package/dist/host/native.js +56 -6
- package/dist/host/network/port-forward.d.ts +4 -4
- package/dist/host/network/port-forward.js +11 -5
- package/dist/host/profile/accounts.d.ts +1 -0
- package/dist/host/profile/accounts.js +13 -0
- package/dist/host/profile/agent-accounts.d.ts +29 -0
- package/dist/host/profile/agent-accounts.js +169 -0
- package/dist/host/profile/index.d.ts +1 -0
- package/dist/host/profile/index.js +1 -0
- package/dist/host/profile/personalize.js +25 -22
- package/dist/host/projects/mapper.d.ts +1 -1
- package/dist/host/projects/mapper.js +2 -2
- package/dist/host/projects/registry.d.ts +11 -0
- package/dist/host/projects/registry.js +28 -0
- package/dist/host/sandbox/doctor.d.ts +1 -1
- package/dist/host/sandbox/doctor.js +2 -2
- package/dist/host/sandbox/host-claude.d.ts +4 -1
- package/dist/host/sandbox/host-claude.js +24 -3
- package/dist/host/sandbox/platform.d.ts +9 -7
- package/dist/host/sandbox/platform.js +29 -17
- package/dist/host/sandbox/probe.d.ts +1 -1
- package/dist/host/sandbox/probe.js +2 -2
- package/dist/host/sandbox/window.d.ts +2 -2
- package/dist/host/sandbox/window.js +36 -56
- package/dist/host/sandbox/wsb-cli.d.ts +10 -10
- package/dist/host/sandbox/wsb-cli.js +30 -18
- package/dist/host/sharing/acl.d.ts +30 -0
- package/dist/host/sharing/acl.js +65 -0
- package/dist/host/sharing/active-record.d.ts +27 -0
- package/dist/host/sharing/active-record.js +70 -0
- package/dist/host/sharing/borrow.d.ts +11 -0
- package/dist/host/sharing/borrow.js +20 -0
- package/dist/host/sharing/current.d.ts +11 -0
- package/dist/host/sharing/current.js +37 -0
- package/dist/host/sharing/index.d.ts +8 -0
- package/dist/host/sharing/index.js +10 -0
- package/dist/host/sharing/lifecycle.d.ts +26 -0
- package/dist/host/sharing/lifecycle.js +79 -0
- package/dist/host/sharing/machine-paths.d.ts +6 -0
- package/dist/host/sharing/machine-paths.js +13 -0
- package/dist/host/sharing/owner.d.ts +28 -0
- package/dist/host/sharing/owner.js +73 -0
- package/dist/host/sharing/rules.d.ts +39 -0
- package/dist/host/sharing/rules.js +60 -0
- package/dist/host/storage/cleanup.d.ts +4 -3
- package/dist/host/storage/cleanup.js +16 -13
- package/dist/host/storage/state-files.d.ts +1 -1
- package/dist/host/test-guard.d.ts +2 -2
- package/dist/host/test-guard.js +6 -5
- package/dist/host/tools/conpty.d.ts +2 -2
- package/dist/host/tools/conpty.js +5 -3
- package/dist/host/tools/windows-terminal.d.ts +6 -6
- package/dist/host/tools/windows-terminal.js +12 -8
- package/dist/host/update/decision.d.ts +29 -0
- package/dist/host/update/decision.js +32 -0
- package/dist/host/update/index.d.ts +6 -0
- package/dist/host/update/index.js +6 -0
- package/dist/host/update/notice.d.ts +11 -0
- package/dist/host/update/notice.js +28 -0
- package/dist/host/update/release-source.d.ts +32 -0
- package/dist/host/update/release-source.js +79 -0
- package/dist/host/update/update-lock.d.ts +7 -0
- package/dist/host/update/update-lock.js +48 -0
- package/dist/host/update/update-state.d.ts +24 -0
- package/dist/host/update/update-state.js +24 -0
- package/dist/host/update/updater.d.ts +62 -0
- package/dist/host/update/updater.js +241 -0
- package/dist/host/workspace-view/active-views.d.ts +2 -2
- package/dist/host/workspace-view/active-views.js +13 -9
- package/dist/host/workspace-view/plan.d.ts +3 -3
- package/dist/host/workspace-view/plan.js +7 -5
- package/dist/host/workspace-view/rules.d.ts +3 -1
- package/dist/host/workspace-view/rules.js +3 -1
- package/dist/host/workspace-view/view-state.d.ts +3 -3
- package/dist/host/workspace-view/view-state.js +6 -6
- package/dist/runtime/daemon.js +1542 -1181
- package/dist/runtime/db.js +482 -362
- package/dist/runtime/gitguard.js +2 -2
- package/dist/runtime/main.js +1424 -1229
- package/dist/runtime/netproxy.js +292 -203
- package/dist/runtime/view.js +255 -199
- package/dist/selftest/accounts.test.js +9 -9
- package/dist/selftest/agent-commands.test.js +8 -8
- package/dist/selftest/channel.test.js +58 -52
- package/dist/selftest/cli.test.js +67 -108
- package/dist/selftest/cmdline.test.js +4 -3
- package/dist/selftest/data.test.js +37 -19
- package/dist/selftest/detect.test.js +43 -28
- package/dist/selftest/generate.test.js +39 -37
- package/dist/selftest/git-access.test.js +2 -1
- package/dist/selftest/guest-boot.test.js +40 -38
- package/dist/selftest/host-sim.test.js +3 -0
- package/dist/selftest/hostile-input.test.js +2 -0
- package/dist/selftest/index.d.ts +3 -3
- package/dist/selftest/index.js +37 -9
- package/dist/selftest/install.test.d.ts +2 -0
- package/dist/selftest/install.test.js +49 -0
- package/dist/selftest/live-daemon.test.js +17 -17
- package/dist/selftest/live-git.test.js +3 -3
- package/dist/selftest/live-network.test.js +51 -2
- package/dist/selftest/live-projects.test.js +25 -21
- package/dist/selftest/live-terminal.test.js +34 -22
- package/dist/selftest/local-config.test.js +37 -38
- package/dist/selftest/menu-screens.d.ts +2 -0
- package/dist/selftest/menu-screens.js +224 -0
- package/dist/selftest/menu.test.d.ts +2 -0
- package/dist/selftest/menu.test.js +149 -0
- package/dist/selftest/migrate.test.d.ts +2 -0
- package/dist/selftest/migrate.test.js +194 -0
- package/dist/selftest/mirror.test.js +51 -82
- package/dist/selftest/network.test.js +5 -5
- package/dist/selftest/personalization.test.js +15 -16
- package/dist/selftest/projects.test.js +241 -228
- package/dist/selftest/repo-guard.test.js +34 -32
- package/dist/selftest/resume.test.d.ts +2 -0
- package/dist/selftest/resume.test.js +175 -0
- package/dist/selftest/secrets.test.js +2 -2
- package/dist/selftest/setup.test.js +33 -25
- package/dist/selftest/shared-use.test.d.ts +2 -0
- package/dist/selftest/shared-use.test.js +116 -0
- package/dist/selftest/sharing.test.d.ts +2 -0
- package/dist/selftest/sharing.test.js +201 -0
- package/dist/selftest/support/fixtures.d.ts +24 -7
- package/dist/selftest/support/fixtures.js +45 -32
- package/dist/selftest/support/harness.d.ts +1 -1
- package/dist/selftest/support/harness.js +2 -2
- package/dist/selftest/support/live.d.ts +18 -12
- package/dist/selftest/support/live.js +27 -16
- package/dist/selftest/support/releases.d.ts +15 -0
- package/dist/selftest/support/releases.js +73 -0
- package/dist/selftest/sync.test.js +65 -63
- package/dist/selftest/toolchains.test.js +86 -99
- package/dist/selftest/update-service.test.d.ts +2 -0
- package/dist/selftest/update-service.test.js +188 -0
- package/dist/selftest/update.test.d.ts +2 -0
- package/dist/selftest/update.test.js +172 -0
- package/dist/selftest/workspace-view.test.js +21 -16
- package/dist/selftest/workspace.test.js +9 -8
- package/dist/shared/apps/catalogue.d.ts +8 -3
- package/dist/shared/apps/catalogue.js +3 -1
- package/dist/shared/apps/selection.d.ts +3 -3
- package/dist/shared/apps/selection.js +7 -5
- package/dist/shared/channel/schema.d.ts +38 -9
- package/dist/shared/channel/schema.js +2 -0
- package/dist/shared/download/archive.d.ts +4 -4
- package/dist/shared/download/archive.js +11 -17
- package/dist/shared/download/downloader.d.ts +4 -1
- package/dist/shared/download/downloader.js +2 -1
- package/dist/shared/download/github.d.ts +7 -5
- package/dist/shared/download/github.js +13 -10
- package/dist/shared/download/http.d.ts +3 -3
- package/dist/shared/download/http.js +8 -4
- package/dist/shared/download/spawn.d.ts +2 -1
- package/dist/shared/download/spawn.js +7 -5
- package/dist/shared/io/json.d.ts +4 -4
- package/dist/shared/io/json.js +9 -7
- package/dist/shared/io/safe-remove.d.ts +2 -2
- package/dist/shared/io/safe-remove.js +20 -17
- package/dist/shared/network/firewall-rules.d.ts +19 -13
- package/dist/shared/network/firewall-rules.js +31 -23
- package/dist/shared/network/policy.d.ts +4 -4
- package/dist/shared/network/policy.js +15 -11
- package/dist/shared/paths/agent-profile.d.ts +9 -0
- package/dist/shared/paths/agent-profile.js +21 -0
- package/dist/shared/paths/claude-paths.d.ts +7 -6
- package/dist/shared/paths/claude-paths.js +19 -14
- package/dist/shared/paths/conversation.d.ts +23 -0
- package/dist/shared/paths/conversation.js +25 -0
- package/dist/shared/paths/guest-paths.d.ts +12 -12
- package/dist/shared/paths/guest-paths.js +26 -22
- package/dist/shared/paths/index.d.ts +2 -0
- package/dist/shared/paths/index.js +2 -0
- package/dist/shared/paths/projects.d.ts +24 -19
- package/dist/shared/paths/projects.js +37 -24
- package/dist/shared/pty/client.d.ts +3 -3
- package/dist/shared/pty/client.js +6 -6
- package/dist/shared/pty/console-input.d.ts +1 -1
- package/dist/shared/pty/console-input.js +11 -42
- package/dist/shared/pty/output-filter.d.ts +4 -1
- package/dist/shared/pty/output-filter.js +4 -1
- package/dist/shared/pty/protocol.d.ts +7 -5
- package/dist/shared/pty/protocol.js +11 -9
- package/dist/shared/pty/terminal.d.ts +8 -5
- package/dist/shared/pty/terminal.js +12 -6
- package/dist/shared/scripts.d.ts +4 -0
- package/dist/shared/scripts.js +26 -0
- package/dist/shared/system.d.ts +11 -1
- package/dist/shared/system.js +15 -1
- package/dist/shared/test-guard.d.ts +3 -3
- package/dist/shared/test-guard.js +15 -9
- package/dist/sync/claude-mem.d.ts +2 -2
- package/dist/sync/claude-mem.js +10 -7
- package/dist/sync/history.d.ts +4 -4
- package/dist/sync/history.js +9 -6
- package/dist/sync/sync-cycle.d.ts +4 -4
- package/dist/sync/sync-cycle.js +6 -6
- package/dist/sync/sync-state.d.ts +3 -3
- package/dist/sync/sync-state.js +9 -3
- package/dist/sync/watcher.d.ts +42 -2
- package/dist/sync/watcher.js +199 -98
- package/native/{power.cs → csharp/HostTools/KeepAwake.cs} +2 -1
- package/native/csharp/HostTools/Program.cs +227 -0
- package/native/csharp/HostTools/UserPath.cs +74 -0
- package/native/csharp/HostTools/Window.cs +143 -0
- package/native/scripts/capture-look.ps1 +22 -0
- package/native/scripts/check-syntax.ps1 +14 -0
- package/native/scripts/edit-user-path.ps1 +11 -0
- package/native/scripts/hide-window.ps1 +8 -0
- package/native/{keep-awake.ps1 → scripts/keep-awake.ps1} +2 -2
- package/native/scripts/run-elevated.ps1 +12 -0
- package/native/scripts/sandbox-probe.ps1 +15 -0
- package/native/scripts/set-folder-access.ps1 +44 -0
- package/native/scripts/set-update-task.ps1 +43 -0
- package/native/scripts/show-window.ps1 +13 -0
- package/native/{stop-events.ps1 → scripts/stop-events.ps1} +1 -1
- package/node_modules/@inquirer/ansi/LICENSE +22 -0
- package/node_modules/@inquirer/ansi/README.md +89 -0
- package/node_modules/@inquirer/ansi/dist/commonjs/index.d.ts +14 -0
- package/node_modules/@inquirer/ansi/dist/commonjs/index.js +28 -0
- package/node_modules/@inquirer/ansi/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/ansi/dist/esm/index.d.ts +14 -0
- package/node_modules/@inquirer/ansi/dist/esm/index.js +21 -0
- package/node_modules/@inquirer/ansi/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/ansi/package.json +97 -0
- package/node_modules/@inquirer/checkbox/LICENSE +22 -0
- package/node_modules/@inquirer/checkbox/README.md +188 -0
- package/node_modules/@inquirer/checkbox/dist/commonjs/index.d.ts +57 -0
- package/node_modules/@inquirer/checkbox/dist/commonjs/index.js +209 -0
- package/node_modules/@inquirer/checkbox/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/checkbox/dist/esm/index.d.ts +57 -0
- package/node_modules/@inquirer/checkbox/dist/esm/index.js +202 -0
- package/node_modules/@inquirer/checkbox/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/checkbox/package.json +113 -0
- package/node_modules/@inquirer/confirm/LICENSE +22 -0
- package/node_modules/@inquirer/confirm/README.md +92 -0
- package/node_modules/@inquirer/confirm/dist/commonjs/index.d.ts +10 -0
- package/node_modules/@inquirer/confirm/dist/commonjs/index.js +50 -0
- package/node_modules/@inquirer/confirm/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/confirm/dist/esm/index.d.ts +10 -0
- package/node_modules/@inquirer/confirm/dist/esm/index.js +48 -0
- package/node_modules/@inquirer/confirm/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/confirm/package.json +110 -0
- package/node_modules/@inquirer/core/LICENSE +22 -0
- package/node_modules/@inquirer/core/README.md +383 -0
- package/node_modules/@inquirer/core/dist/commonjs/index.d.ts +13 -0
- package/node_modules/@inquirer/core/dist/commonjs/index.js +46 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/Separator.d.ts +10 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/Separator.js +28 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/create-prompt.d.ts +4 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/create-prompt.js +156 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/errors.d.ts +20 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/errors.js +29 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/hook-engine.d.ts +23 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/hook-engine.js +118 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/key.d.ts +12 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/key.js +29 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/make-theme.d.ts +3 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/make-theme.js +33 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/pagination/use-pagination.d.ts +16 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/pagination/use-pagination.js +124 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/promise-polyfill.d.ts +7 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/promise-polyfill.js +18 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/screen-manager.d.ts +14 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/screen-manager.js +82 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/theme.d.ts +155 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/theme.js +27 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-effect.d.ts +2 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-effect.js +14 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-keypress.d.ts +3 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-keypress.js +23 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-memo.d.ts +1 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-memo.js +17 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-prefix.d.ts +5 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-prefix.js +38 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-ref.d.ts +6 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-ref.js +7 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-state.d.ts +4 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/use-state.js +23 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/utils.d.ts +13 -0
- package/node_modules/@inquirer/core/dist/commonjs/lib/utils.js +32 -0
- package/node_modules/@inquirer/core/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/core/dist/esm/index.d.ts +13 -0
- package/node_modules/@inquirer/core/dist/esm/index.js +12 -0
- package/node_modules/@inquirer/core/dist/esm/lib/Separator.d.ts +10 -0
- package/node_modules/@inquirer/core/dist/esm/lib/Separator.js +21 -0
- package/node_modules/@inquirer/core/dist/esm/lib/create-prompt.d.ts +4 -0
- package/node_modules/@inquirer/core/dist/esm/lib/create-prompt.js +117 -0
- package/node_modules/@inquirer/core/dist/esm/lib/errors.d.ts +20 -0
- package/node_modules/@inquirer/core/dist/esm/lib/errors.js +21 -0
- package/node_modules/@inquirer/core/dist/esm/lib/hook-engine.d.ts +23 -0
- package/node_modules/@inquirer/core/dist/esm/lib/hook-engine.js +110 -0
- package/node_modules/@inquirer/core/dist/esm/lib/key.d.ts +12 -0
- package/node_modules/@inquirer/core/dist/esm/lib/key.js +19 -0
- package/node_modules/@inquirer/core/dist/esm/lib/make-theme.d.ts +3 -0
- package/node_modules/@inquirer/core/dist/esm/lib/make-theme.js +30 -0
- package/node_modules/@inquirer/core/dist/esm/lib/pagination/use-pagination.d.ts +16 -0
- package/node_modules/@inquirer/core/dist/esm/lib/pagination/use-pagination.js +121 -0
- package/node_modules/@inquirer/core/dist/esm/lib/promise-polyfill.d.ts +7 -0
- package/node_modules/@inquirer/core/dist/esm/lib/promise-polyfill.js +14 -0
- package/node_modules/@inquirer/core/dist/esm/lib/screen-manager.d.ts +14 -0
- package/node_modules/@inquirer/core/dist/esm/lib/screen-manager.js +79 -0
- package/node_modules/@inquirer/core/dist/esm/lib/theme.d.ts +155 -0
- package/node_modules/@inquirer/core/dist/esm/lib/theme.js +21 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-effect.d.ts +2 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-effect.js +11 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-keypress.d.ts +3 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-keypress.js +20 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-memo.d.ts +1 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-memo.js +14 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-prefix.d.ts +5 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-prefix.js +35 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-ref.d.ts +6 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-ref.js +4 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-state.d.ts +4 -0
- package/node_modules/@inquirer/core/dist/esm/lib/use-state.js +20 -0
- package/node_modules/@inquirer/core/dist/esm/lib/utils.d.ts +13 -0
- package/node_modules/@inquirer/core/dist/esm/lib/utils.js +25 -0
- package/node_modules/@inquirer/core/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/core/package.json +119 -0
- package/node_modules/@inquirer/editor/LICENSE +22 -0
- package/node_modules/@inquirer/editor/README.md +101 -0
- package/node_modules/@inquirer/editor/dist/commonjs/index.d.ts +17 -0
- package/node_modules/@inquirer/editor/dist/commonjs/index.js +76 -0
- package/node_modules/@inquirer/editor/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/editor/dist/esm/index.d.ts +17 -0
- package/node_modules/@inquirer/editor/dist/esm/index.js +74 -0
- package/node_modules/@inquirer/editor/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/editor/package.json +111 -0
- package/node_modules/@inquirer/expand/LICENSE +22 -0
- package/node_modules/@inquirer/expand/README.md +141 -0
- package/node_modules/@inquirer/expand/dist/commonjs/index.d.ts +25 -0
- package/node_modules/@inquirer/expand/dist/commonjs/index.js +115 -0
- package/node_modules/@inquirer/expand/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/expand/dist/esm/index.d.ts +25 -0
- package/node_modules/@inquirer/expand/dist/esm/index.js +108 -0
- package/node_modules/@inquirer/expand/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/expand/package.json +111 -0
- package/node_modules/@inquirer/external-editor/LICENSE +22 -0
- package/node_modules/@inquirer/external-editor/README.md +154 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/errors/CreateFileError.d.ts +10 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/errors/CreateFileError.js +17 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/errors/LaunchEditorError.d.ts +10 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/errors/LaunchEditorError.js +17 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/errors/ReadFileError.d.ts +10 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/errors/ReadFileError.js +17 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/errors/RemoveFileError.d.ts +10 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/errors/RemoveFileError.js +17 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/index.d.ts +39 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/index.js +203 -0
- package/node_modules/@inquirer/external-editor/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/external-editor/dist/esm/errors/CreateFileError.d.ts +10 -0
- package/node_modules/@inquirer/external-editor/dist/esm/errors/CreateFileError.js +13 -0
- package/node_modules/@inquirer/external-editor/dist/esm/errors/LaunchEditorError.d.ts +10 -0
- package/node_modules/@inquirer/external-editor/dist/esm/errors/LaunchEditorError.js +13 -0
- package/node_modules/@inquirer/external-editor/dist/esm/errors/ReadFileError.d.ts +10 -0
- package/node_modules/@inquirer/external-editor/dist/esm/errors/ReadFileError.js +13 -0
- package/node_modules/@inquirer/external-editor/dist/esm/errors/RemoveFileError.d.ts +10 -0
- package/node_modules/@inquirer/external-editor/dist/esm/errors/RemoveFileError.js +13 -0
- package/node_modules/@inquirer/external-editor/dist/esm/index.d.ts +39 -0
- package/node_modules/@inquirer/external-editor/dist/esm/index.js +191 -0
- package/node_modules/@inquirer/external-editor/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/external-editor/package.json +115 -0
- package/node_modules/@inquirer/figures/LICENSE +22 -0
- package/node_modules/@inquirer/figures/dist/commonjs/index.d.ts +275 -0
- package/node_modules/@inquirer/figures/dist/commonjs/index.js +321 -0
- package/node_modules/@inquirer/figures/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/figures/dist/esm/index.d.ts +275 -0
- package/node_modules/@inquirer/figures/dist/esm/index.js +314 -0
- package/node_modules/@inquirer/figures/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/figures/package.json +98 -0
- package/node_modules/@inquirer/input/LICENSE +22 -0
- package/node_modules/@inquirer/input/README.md +101 -0
- package/node_modules/@inquirer/input/dist/commonjs/index.d.ts +20 -0
- package/node_modules/@inquirer/input/dist/commonjs/index.js +99 -0
- package/node_modules/@inquirer/input/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/input/dist/esm/index.d.ts +20 -0
- package/node_modules/@inquirer/input/dist/esm/index.js +97 -0
- package/node_modules/@inquirer/input/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/input/package.json +110 -0
- package/node_modules/@inquirer/number/LICENSE +22 -0
- package/node_modules/@inquirer/number/README.md +95 -0
- package/node_modules/@inquirer/number/dist/commonjs/index.d.ts +15 -0
- package/node_modules/@inquirer/number/dist/commonjs/index.js +96 -0
- package/node_modules/@inquirer/number/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/number/dist/esm/index.d.ts +15 -0
- package/node_modules/@inquirer/number/dist/esm/index.js +94 -0
- package/node_modules/@inquirer/number/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/number/package.json +110 -0
- package/node_modules/@inquirer/password/LICENSE +22 -0
- package/node_modules/@inquirer/password/README.md +93 -0
- package/node_modules/@inquirer/password/dist/commonjs/index.d.ts +10 -0
- package/node_modules/@inquirer/password/dist/commonjs/index.js +57 -0
- package/node_modules/@inquirer/password/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/password/dist/esm/index.d.ts +10 -0
- package/node_modules/@inquirer/password/dist/esm/index.js +55 -0
- package/node_modules/@inquirer/password/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/password/package.json +111 -0
- package/node_modules/@inquirer/prompts/LICENSE +22 -0
- package/node_modules/@inquirer/prompts/README.md +528 -0
- package/node_modules/@inquirer/prompts/dist/commonjs/index.d.ts +10 -0
- package/node_modules/@inquirer/prompts/dist/commonjs/index.js +27 -0
- package/node_modules/@inquirer/prompts/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/prompts/dist/esm/index.d.ts +10 -0
- package/node_modules/@inquirer/prompts/dist/esm/index.js +10 -0
- package/node_modules/@inquirer/prompts/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/prompts/package.json +120 -0
- package/node_modules/@inquirer/rawlist/LICENSE +22 -0
- package/node_modules/@inquirer/rawlist/README.md +124 -0
- package/node_modules/@inquirer/rawlist/dist/commonjs/index.d.ts +18 -0
- package/node_modules/@inquirer/rawlist/dist/commonjs/index.js +132 -0
- package/node_modules/@inquirer/rawlist/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/rawlist/dist/esm/index.d.ts +18 -0
- package/node_modules/@inquirer/rawlist/dist/esm/index.js +125 -0
- package/node_modules/@inquirer/rawlist/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/rawlist/package.json +111 -0
- package/node_modules/@inquirer/search/LICENSE +22 -0
- package/node_modules/@inquirer/search/README.md +212 -0
- package/node_modules/@inquirer/search/dist/commonjs/index.d.ts +40 -0
- package/node_modules/@inquirer/search/dist/commonjs/index.js +206 -0
- package/node_modules/@inquirer/search/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/search/dist/esm/index.d.ts +40 -0
- package/node_modules/@inquirer/search/dist/esm/index.js +199 -0
- package/node_modules/@inquirer/search/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/search/package.json +112 -0
- package/node_modules/@inquirer/select/LICENSE +22 -0
- package/node_modules/@inquirer/select/README.md +181 -0
- package/node_modules/@inquirer/select/dist/commonjs/index.d.ts +40 -0
- package/node_modules/@inquirer/select/dist/commonjs/index.js +194 -0
- package/node_modules/@inquirer/select/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/select/dist/esm/index.d.ts +40 -0
- package/node_modules/@inquirer/select/dist/esm/index.js +187 -0
- package/node_modules/@inquirer/select/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/select/package.json +113 -0
- package/node_modules/@inquirer/type/LICENSE +22 -0
- package/node_modules/@inquirer/type/dist/commonjs/index.d.ts +2 -0
- package/node_modules/@inquirer/type/dist/commonjs/index.js +18 -0
- package/node_modules/@inquirer/type/dist/commonjs/inquirer.d.ts +38 -0
- package/node_modules/@inquirer/type/dist/commonjs/inquirer.js +2 -0
- package/node_modules/@inquirer/type/dist/commonjs/package.json +3 -0
- package/node_modules/@inquirer/type/dist/commonjs/utils.d.ts +29 -0
- package/node_modules/@inquirer/type/dist/commonjs/utils.js +3 -0
- package/node_modules/@inquirer/type/dist/esm/index.d.ts +2 -0
- package/node_modules/@inquirer/type/dist/esm/index.js +2 -0
- package/node_modules/@inquirer/type/dist/esm/inquirer.d.ts +38 -0
- package/node_modules/@inquirer/type/dist/esm/inquirer.js +1 -0
- package/node_modules/@inquirer/type/dist/esm/package.json +3 -0
- package/node_modules/@inquirer/type/dist/esm/utils.d.ts +29 -0
- package/node_modules/@inquirer/type/dist/esm/utils.js +2 -0
- package/node_modules/@inquirer/type/package.json +106 -0
- package/node_modules/ansi-regex/index.d.ts +37 -0
- package/node_modules/ansi-regex/index.js +10 -0
- package/node_modules/ansi-regex/license +9 -0
- package/node_modules/ansi-regex/package.json +55 -0
- package/node_modules/ansi-regex/readme.md +78 -0
- package/node_modules/ansi-styles/index.d.ts +345 -0
- package/node_modules/ansi-styles/index.js +163 -0
- package/node_modules/ansi-styles/license +9 -0
- package/node_modules/ansi-styles/package.json +56 -0
- package/node_modules/ansi-styles/readme.md +152 -0
- package/node_modules/chardet/LICENSE +19 -0
- package/node_modules/chardet/README.md +135 -0
- package/node_modules/chardet/lib/encoding/ascii.d.ts +6 -0
- package/node_modules/chardet/lib/encoding/ascii.js +23 -0
- package/node_modules/chardet/lib/encoding/ascii.js.map +1 -0
- package/node_modules/chardet/lib/encoding/index.d.ts +14 -0
- package/node_modules/chardet/lib/encoding/index.js +3 -0
- package/node_modules/chardet/lib/encoding/index.js.map +1 -0
- package/node_modules/chardet/lib/encoding/iso2022.d.ts +23 -0
- package/node_modules/chardet/lib/encoding/iso2022.js +114 -0
- package/node_modules/chardet/lib/encoding/iso2022.js.map +1 -0
- package/node_modules/chardet/lib/encoding/mbcs.d.ts +50 -0
- package/node_modules/chardet/lib/encoding/mbcs.js +347 -0
- package/node_modules/chardet/lib/encoding/mbcs.js.map +1 -0
- package/node_modules/chardet/lib/encoding/sbcs.d.ts +94 -0
- package/node_modules/chardet/lib/encoding/sbcs.js +935 -0
- package/node_modules/chardet/lib/encoding/sbcs.js.map +1 -0
- package/node_modules/chardet/lib/encoding/unicode.d.ts +27 -0
- package/node_modules/chardet/lib/encoding/unicode.js +109 -0
- package/node_modules/chardet/lib/encoding/unicode.js.map +1 -0
- package/node_modules/chardet/lib/encoding/utf8.d.ts +6 -0
- package/node_modules/chardet/lib/encoding/utf8.js +72 -0
- package/node_modules/chardet/lib/encoding/utf8.js.map +1 -0
- package/node_modules/chardet/lib/fs/browser.d.ts +2 -0
- package/node_modules/chardet/lib/fs/browser.js +6 -0
- package/node_modules/chardet/lib/fs/browser.js.map +1 -0
- package/node_modules/chardet/lib/fs/node.d.ts +2 -0
- package/node_modules/chardet/lib/fs/node.js +11 -0
- package/node_modules/chardet/lib/fs/node.js.map +1 -0
- package/node_modules/chardet/lib/index.d.ts +20 -0
- package/node_modules/chardet/lib/index.js +177 -0
- package/node_modules/chardet/lib/index.js.map +1 -0
- package/node_modules/chardet/lib/match.d.ts +9 -0
- package/node_modules/chardet/lib/match.js +8 -0
- package/node_modules/chardet/lib/match.js.map +1 -0
- package/node_modules/chardet/lib/utils.d.ts +1 -0
- package/node_modules/chardet/lib/utils.js +10 -0
- package/node_modules/chardet/lib/utils.js.map +1 -0
- package/node_modules/chardet/package.json +100 -0
- package/node_modules/cli-width/LICENSE +13 -0
- package/node_modules/cli-width/README.md +71 -0
- package/node_modules/cli-width/index.d.ts +13 -0
- package/node_modules/cli-width/index.js +49 -0
- package/node_modules/cli-width/package.json +40 -0
- package/node_modules/color-convert/CHANGELOG.md +54 -0
- package/node_modules/color-convert/LICENSE +21 -0
- package/node_modules/color-convert/README.md +68 -0
- package/node_modules/color-convert/conversions.js +839 -0
- package/node_modules/color-convert/index.js +81 -0
- package/node_modules/color-convert/package.json +48 -0
- package/node_modules/color-convert/route.js +97 -0
- package/node_modules/color-name/LICENSE +8 -0
- package/node_modules/color-name/README.md +11 -0
- package/node_modules/color-name/index.js +152 -0
- package/node_modules/color-name/package.json +28 -0
- package/node_modules/commander/LICENSE +22 -0
- package/node_modules/commander/Readme.md +1176 -0
- package/node_modules/commander/esm.mjs +16 -0
- package/node_modules/commander/index.js +24 -0
- package/node_modules/commander/lib/argument.js +150 -0
- package/node_modules/commander/lib/command.js +2777 -0
- package/node_modules/commander/lib/error.js +39 -0
- package/node_modules/commander/lib/help.js +747 -0
- package/node_modules/commander/lib/option.js +380 -0
- package/node_modules/commander/lib/suggestSimilar.js +101 -0
- package/node_modules/commander/package-support.json +19 -0
- package/node_modules/commander/package.json +82 -0
- package/node_modules/commander/typings/esm.d.mts +3 -0
- package/node_modules/commander/typings/index.d.ts +1113 -0
- package/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
- package/node_modules/emoji-regex/README.md +73 -0
- package/node_modules/emoji-regex/es2015/index.js +6 -0
- package/node_modules/emoji-regex/es2015/text.js +6 -0
- package/node_modules/emoji-regex/index.d.ts +23 -0
- package/node_modules/emoji-regex/index.js +6 -0
- package/node_modules/emoji-regex/package.json +50 -0
- package/node_modules/emoji-regex/text.js +6 -0
- package/node_modules/iconv-lite/LICENSE +21 -0
- package/node_modules/iconv-lite/README.md +138 -0
- package/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
- package/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
- package/node_modules/iconv-lite/encodings/index.js +23 -0
- package/node_modules/iconv-lite/encodings/internal.js +218 -0
- package/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
- package/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- package/node_modules/iconv-lite/encodings/sbcs-data.js +180 -0
- package/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- package/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- package/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- package/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- package/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- package/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- package/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
- package/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- package/node_modules/iconv-lite/encodings/utf16.js +187 -0
- package/node_modules/iconv-lite/encodings/utf32.js +314 -0
- package/node_modules/iconv-lite/encodings/utf7.js +283 -0
- package/node_modules/iconv-lite/lib/bom-handling.js +48 -0
- package/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
- package/node_modules/iconv-lite/lib/index.d.ts +129 -0
- package/node_modules/iconv-lite/lib/index.js +182 -0
- package/node_modules/iconv-lite/lib/streams.js +105 -0
- package/node_modules/iconv-lite/package.json +70 -0
- package/node_modules/iconv-lite/types/encodings.d.ts +425 -0
- package/node_modules/ignore/LICENSE-MIT +21 -0
- package/node_modules/ignore/README.md +501 -0
- package/node_modules/ignore/index.d.ts +81 -0
- package/node_modules/ignore/index.js +1566 -0
- package/node_modules/ignore/legacy.js +1346 -0
- package/node_modules/ignore/package.json +93 -0
- package/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
- package/node_modules/is-fullwidth-code-point/index.js +50 -0
- package/node_modules/is-fullwidth-code-point/license +9 -0
- package/node_modules/is-fullwidth-code-point/package.json +42 -0
- package/node_modules/is-fullwidth-code-point/readme.md +39 -0
- package/node_modules/jsonc-parser/CHANGELOG.md +76 -0
- package/node_modules/jsonc-parser/LICENSE.md +21 -0
- package/node_modules/jsonc-parser/README.md +364 -0
- package/node_modules/jsonc-parser/SECURITY.md +41 -0
- package/node_modules/jsonc-parser/lib/esm/impl/edit.js +185 -0
- package/node_modules/jsonc-parser/lib/esm/impl/format.js +261 -0
- package/node_modules/jsonc-parser/lib/esm/impl/parser.js +659 -0
- package/node_modules/jsonc-parser/lib/esm/impl/scanner.js +443 -0
- package/node_modules/jsonc-parser/lib/esm/impl/string-intern.js +29 -0
- package/node_modules/jsonc-parser/lib/esm/main.d.ts +351 -0
- package/node_modules/jsonc-parser/lib/esm/main.js +178 -0
- package/node_modules/jsonc-parser/lib/umd/impl/edit.js +201 -0
- package/node_modules/jsonc-parser/lib/umd/impl/format.js +275 -0
- package/node_modules/jsonc-parser/lib/umd/impl/parser.js +682 -0
- package/node_modules/jsonc-parser/lib/umd/impl/scanner.js +456 -0
- package/node_modules/jsonc-parser/lib/umd/impl/string-intern.js +42 -0
- package/node_modules/jsonc-parser/lib/umd/main.d.ts +351 -0
- package/node_modules/jsonc-parser/lib/umd/main.js +194 -0
- package/node_modules/jsonc-parser/package.json +37 -0
- package/node_modules/lodash/LICENSE +47 -0
- package/node_modules/lodash/README.md +39 -0
- package/node_modules/lodash/_DataView.js +7 -0
- package/node_modules/lodash/_Hash.js +32 -0
- package/node_modules/lodash/_LazyWrapper.js +28 -0
- package/node_modules/lodash/_ListCache.js +32 -0
- package/node_modules/lodash/_LodashWrapper.js +22 -0
- package/node_modules/lodash/_Map.js +7 -0
- package/node_modules/lodash/_MapCache.js +32 -0
- package/node_modules/lodash/_Promise.js +7 -0
- package/node_modules/lodash/_Set.js +7 -0
- package/node_modules/lodash/_SetCache.js +27 -0
- package/node_modules/lodash/_Stack.js +27 -0
- package/node_modules/lodash/_Symbol.js +6 -0
- package/node_modules/lodash/_Uint8Array.js +6 -0
- package/node_modules/lodash/_WeakMap.js +7 -0
- package/node_modules/lodash/_apply.js +21 -0
- package/node_modules/lodash/_arrayAggregator.js +22 -0
- package/node_modules/lodash/_arrayEach.js +22 -0
- package/node_modules/lodash/_arrayEachRight.js +21 -0
- package/node_modules/lodash/_arrayEvery.js +23 -0
- package/node_modules/lodash/_arrayFilter.js +25 -0
- package/node_modules/lodash/_arrayIncludes.js +17 -0
- package/node_modules/lodash/_arrayIncludesWith.js +22 -0
- package/node_modules/lodash/_arrayLikeKeys.js +49 -0
- package/node_modules/lodash/_arrayMap.js +21 -0
- package/node_modules/lodash/_arrayPush.js +20 -0
- package/node_modules/lodash/_arrayReduce.js +26 -0
- package/node_modules/lodash/_arrayReduceRight.js +24 -0
- package/node_modules/lodash/_arraySample.js +15 -0
- package/node_modules/lodash/_arraySampleSize.js +17 -0
- package/node_modules/lodash/_arrayShuffle.js +15 -0
- package/node_modules/lodash/_arraySome.js +23 -0
- package/node_modules/lodash/_asciiSize.js +12 -0
- package/node_modules/lodash/_asciiToArray.js +12 -0
- package/node_modules/lodash/_asciiWords.js +15 -0
- package/node_modules/lodash/_assignMergeValue.js +20 -0
- package/node_modules/lodash/_assignValue.js +28 -0
- package/node_modules/lodash/_assocIndexOf.js +21 -0
- package/node_modules/lodash/_baseAggregator.js +21 -0
- package/node_modules/lodash/_baseAssign.js +17 -0
- package/node_modules/lodash/_baseAssignIn.js +17 -0
- package/node_modules/lodash/_baseAssignValue.js +25 -0
- package/node_modules/lodash/_baseAt.js +23 -0
- package/node_modules/lodash/_baseClamp.js +22 -0
- package/node_modules/lodash/_baseClone.js +166 -0
- package/node_modules/lodash/_baseConforms.js +18 -0
- package/node_modules/lodash/_baseConformsTo.js +27 -0
- package/node_modules/lodash/_baseCreate.js +30 -0
- package/node_modules/lodash/_baseDelay.js +21 -0
- package/node_modules/lodash/_baseDifference.js +67 -0
- package/node_modules/lodash/_baseEach.js +14 -0
- package/node_modules/lodash/_baseEachRight.js +14 -0
- package/node_modules/lodash/_baseEvery.js +21 -0
- package/node_modules/lodash/_baseExtremum.js +32 -0
- package/node_modules/lodash/_baseFill.js +32 -0
- package/node_modules/lodash/_baseFilter.js +21 -0
- package/node_modules/lodash/_baseFindIndex.js +24 -0
- package/node_modules/lodash/_baseFindKey.js +23 -0
- package/node_modules/lodash/_baseFlatten.js +38 -0
- package/node_modules/lodash/_baseFor.js +16 -0
- package/node_modules/lodash/_baseForOwn.js +16 -0
- package/node_modules/lodash/_baseForOwnRight.js +16 -0
- package/node_modules/lodash/_baseForRight.js +15 -0
- package/node_modules/lodash/_baseFunctions.js +19 -0
- package/node_modules/lodash/_baseGet.js +24 -0
- package/node_modules/lodash/_baseGetAllKeys.js +20 -0
- package/node_modules/lodash/_baseGetTag.js +28 -0
- package/node_modules/lodash/_baseGt.js +14 -0
- package/node_modules/lodash/_baseHas.js +19 -0
- package/node_modules/lodash/_baseHasIn.js +13 -0
- package/node_modules/lodash/_baseInRange.js +18 -0
- package/node_modules/lodash/_baseIndexOf.js +20 -0
- package/node_modules/lodash/_baseIndexOfWith.js +23 -0
- package/node_modules/lodash/_baseIntersection.js +74 -0
- package/node_modules/lodash/_baseInverter.js +21 -0
- package/node_modules/lodash/_baseInvoke.js +24 -0
- package/node_modules/lodash/_baseIsArguments.js +18 -0
- package/node_modules/lodash/_baseIsArrayBuffer.js +17 -0
- package/node_modules/lodash/_baseIsDate.js +18 -0
- package/node_modules/lodash/_baseIsEqual.js +28 -0
- package/node_modules/lodash/_baseIsEqualDeep.js +83 -0
- package/node_modules/lodash/_baseIsMap.js +18 -0
- package/node_modules/lodash/_baseIsMatch.js +62 -0
- package/node_modules/lodash/_baseIsNaN.js +12 -0
- package/node_modules/lodash/_baseIsNative.js +47 -0
- package/node_modules/lodash/_baseIsRegExp.js +18 -0
- package/node_modules/lodash/_baseIsSet.js +18 -0
- package/node_modules/lodash/_baseIsTypedArray.js +60 -0
- package/node_modules/lodash/_baseIteratee.js +31 -0
- package/node_modules/lodash/_baseKeys.js +30 -0
- package/node_modules/lodash/_baseKeysIn.js +33 -0
- package/node_modules/lodash/_baseLodash.js +10 -0
- package/node_modules/lodash/_baseLt.js +14 -0
- package/node_modules/lodash/_baseMap.js +22 -0
- package/node_modules/lodash/_baseMatches.js +22 -0
- package/node_modules/lodash/_baseMatchesProperty.js +33 -0
- package/node_modules/lodash/_baseMean.js +20 -0
- package/node_modules/lodash/_baseMerge.js +42 -0
- package/node_modules/lodash/_baseMergeDeep.js +94 -0
- package/node_modules/lodash/_baseNth.js +20 -0
- package/node_modules/lodash/_baseOrderBy.js +49 -0
- package/node_modules/lodash/_basePick.js +19 -0
- package/node_modules/lodash/_basePickBy.js +30 -0
- package/node_modules/lodash/_baseProperty.js +14 -0
- package/node_modules/lodash/_basePropertyDeep.js +16 -0
- package/node_modules/lodash/_basePropertyOf.js +14 -0
- package/node_modules/lodash/_basePullAll.js +51 -0
- package/node_modules/lodash/_basePullAt.js +37 -0
- package/node_modules/lodash/_baseRandom.js +18 -0
- package/node_modules/lodash/_baseRange.js +28 -0
- package/node_modules/lodash/_baseReduce.js +23 -0
- package/node_modules/lodash/_baseRepeat.js +35 -0
- package/node_modules/lodash/_baseRest.js +17 -0
- package/node_modules/lodash/_baseSample.js +15 -0
- package/node_modules/lodash/_baseSampleSize.js +18 -0
- package/node_modules/lodash/_baseSet.js +51 -0
- package/node_modules/lodash/_baseSetData.js +17 -0
- package/node_modules/lodash/_baseSetToString.js +22 -0
- package/node_modules/lodash/_baseShuffle.js +15 -0
- package/node_modules/lodash/_baseSlice.js +31 -0
- package/node_modules/lodash/_baseSome.js +22 -0
- package/node_modules/lodash/_baseSortBy.js +21 -0
- package/node_modules/lodash/_baseSortedIndex.js +42 -0
- package/node_modules/lodash/_baseSortedIndexBy.js +67 -0
- package/node_modules/lodash/_baseSortedUniq.js +30 -0
- package/node_modules/lodash/_baseSum.js +24 -0
- package/node_modules/lodash/_baseTimes.js +20 -0
- package/node_modules/lodash/_baseToNumber.js +24 -0
- package/node_modules/lodash/_baseToPairs.js +18 -0
- package/node_modules/lodash/_baseToString.js +37 -0
- package/node_modules/lodash/_baseTrim.js +19 -0
- package/node_modules/lodash/_baseUnary.js +14 -0
- package/node_modules/lodash/_baseUniq.js +72 -0
- package/node_modules/lodash/_baseUnset.js +52 -0
- package/node_modules/lodash/_baseUpdate.js +18 -0
- package/node_modules/lodash/_baseValues.js +19 -0
- package/node_modules/lodash/_baseWhile.js +26 -0
- package/node_modules/lodash/_baseWrapperValue.js +25 -0
- package/node_modules/lodash/_baseXor.js +36 -0
- package/node_modules/lodash/_baseZipObject.js +23 -0
- package/node_modules/lodash/_cacheHas.js +13 -0
- package/node_modules/lodash/_castArrayLikeObject.js +14 -0
- package/node_modules/lodash/_castFunction.js +14 -0
- package/node_modules/lodash/_castPath.js +21 -0
- package/node_modules/lodash/_castRest.js +14 -0
- package/node_modules/lodash/_castSlice.js +18 -0
- package/node_modules/lodash/_charsEndIndex.js +19 -0
- package/node_modules/lodash/_charsStartIndex.js +20 -0
- package/node_modules/lodash/_cloneArrayBuffer.js +16 -0
- package/node_modules/lodash/_cloneBuffer.js +35 -0
- package/node_modules/lodash/_cloneDataView.js +16 -0
- package/node_modules/lodash/_cloneRegExp.js +17 -0
- package/node_modules/lodash/_cloneSymbol.js +18 -0
- package/node_modules/lodash/_cloneTypedArray.js +16 -0
- package/node_modules/lodash/_compareAscending.js +41 -0
- package/node_modules/lodash/_compareMultiple.js +44 -0
- package/node_modules/lodash/_composeArgs.js +39 -0
- package/node_modules/lodash/_composeArgsRight.js +41 -0
- package/node_modules/lodash/_copyArray.js +20 -0
- package/node_modules/lodash/_copyObject.js +40 -0
- package/node_modules/lodash/_copySymbols.js +16 -0
- package/node_modules/lodash/_copySymbolsIn.js +16 -0
- package/node_modules/lodash/_coreJsData.js +6 -0
- package/node_modules/lodash/_countHolders.js +21 -0
- package/node_modules/lodash/_createAggregator.js +23 -0
- package/node_modules/lodash/_createAssigner.js +37 -0
- package/node_modules/lodash/_createBaseEach.js +32 -0
- package/node_modules/lodash/_createBaseFor.js +25 -0
- package/node_modules/lodash/_createBind.js +28 -0
- package/node_modules/lodash/_createCaseFirst.js +33 -0
- package/node_modules/lodash/_createCompounder.js +24 -0
- package/node_modules/lodash/_createCtor.js +37 -0
- package/node_modules/lodash/_createCurry.js +46 -0
- package/node_modules/lodash/_createFind.js +25 -0
- package/node_modules/lodash/_createFlow.js +78 -0
- package/node_modules/lodash/_createHybrid.js +92 -0
- package/node_modules/lodash/_createInverter.js +17 -0
- package/node_modules/lodash/_createMathOperation.js +38 -0
- package/node_modules/lodash/_createOver.js +27 -0
- package/node_modules/lodash/_createPadding.js +33 -0
- package/node_modules/lodash/_createPartial.js +43 -0
- package/node_modules/lodash/_createRange.js +30 -0
- package/node_modules/lodash/_createRecurry.js +56 -0
- package/node_modules/lodash/_createRelationalOperation.js +20 -0
- package/node_modules/lodash/_createRound.js +35 -0
- package/node_modules/lodash/_createSet.js +19 -0
- package/node_modules/lodash/_createToPairs.js +30 -0
- package/node_modules/lodash/_createWrap.js +106 -0
- package/node_modules/lodash/_customDefaultsAssignIn.js +29 -0
- package/node_modules/lodash/_customDefaultsMerge.js +28 -0
- package/node_modules/lodash/_customOmitClone.js +16 -0
- package/node_modules/lodash/_deburrLetter.js +71 -0
- package/node_modules/lodash/_defineProperty.js +11 -0
- package/node_modules/lodash/_equalArrays.js +84 -0
- package/node_modules/lodash/_equalByTag.js +112 -0
- package/node_modules/lodash/_equalObjects.js +90 -0
- package/node_modules/lodash/_escapeHtmlChar.js +21 -0
- package/node_modules/lodash/_escapeStringChar.js +22 -0
- package/node_modules/lodash/_flatRest.js +16 -0
- package/node_modules/lodash/_freeGlobal.js +4 -0
- package/node_modules/lodash/_getAllKeys.js +16 -0
- package/node_modules/lodash/_getAllKeysIn.js +17 -0
- package/node_modules/lodash/_getData.js +15 -0
- package/node_modules/lodash/_getFuncName.js +31 -0
- package/node_modules/lodash/_getHolder.js +13 -0
- package/node_modules/lodash/_getMapData.js +18 -0
- package/node_modules/lodash/_getMatchData.js +24 -0
- package/node_modules/lodash/_getNative.js +17 -0
- package/node_modules/lodash/_getPrototype.js +6 -0
- package/node_modules/lodash/_getRawTag.js +46 -0
- package/node_modules/lodash/_getSymbols.js +30 -0
- package/node_modules/lodash/_getSymbolsIn.js +25 -0
- package/node_modules/lodash/_getTag.js +58 -0
- package/node_modules/lodash/_getValue.js +13 -0
- package/node_modules/lodash/_getView.js +33 -0
- package/node_modules/lodash/_getWrapDetails.js +17 -0
- package/node_modules/lodash/_hasPath.js +39 -0
- package/node_modules/lodash/_hasUnicode.js +26 -0
- package/node_modules/lodash/_hasUnicodeWord.js +15 -0
- package/node_modules/lodash/_hashClear.js +15 -0
- package/node_modules/lodash/_hashDelete.js +17 -0
- package/node_modules/lodash/_hashGet.js +30 -0
- package/node_modules/lodash/_hashHas.js +23 -0
- package/node_modules/lodash/_hashSet.js +23 -0
- package/node_modules/lodash/_initCloneArray.js +26 -0
- package/node_modules/lodash/_initCloneByTag.js +77 -0
- package/node_modules/lodash/_initCloneObject.js +18 -0
- package/node_modules/lodash/_insertWrapDetails.js +23 -0
- package/node_modules/lodash/_isFlattenable.js +20 -0
- package/node_modules/lodash/_isIndex.js +25 -0
- package/node_modules/lodash/_isIterateeCall.js +30 -0
- package/node_modules/lodash/_isKey.js +29 -0
- package/node_modules/lodash/_isKeyable.js +15 -0
- package/node_modules/lodash/_isLaziable.js +28 -0
- package/node_modules/lodash/_isMaskable.js +14 -0
- package/node_modules/lodash/_isMasked.js +20 -0
- package/node_modules/lodash/_isPrototype.js +18 -0
- package/node_modules/lodash/_isStrictComparable.js +15 -0
- package/node_modules/lodash/_iteratorToArray.js +18 -0
- package/node_modules/lodash/_lazyClone.js +23 -0
- package/node_modules/lodash/_lazyReverse.js +23 -0
- package/node_modules/lodash/_lazyValue.js +69 -0
- package/node_modules/lodash/_listCacheClear.js +13 -0
- package/node_modules/lodash/_listCacheDelete.js +35 -0
- package/node_modules/lodash/_listCacheGet.js +19 -0
- package/node_modules/lodash/_listCacheHas.js +16 -0
- package/node_modules/lodash/_listCacheSet.js +26 -0
- package/node_modules/lodash/_mapCacheClear.js +21 -0
- package/node_modules/lodash/_mapCacheDelete.js +18 -0
- package/node_modules/lodash/_mapCacheGet.js +16 -0
- package/node_modules/lodash/_mapCacheHas.js +16 -0
- package/node_modules/lodash/_mapCacheSet.js +22 -0
- package/node_modules/lodash/_mapToArray.js +18 -0
- package/node_modules/lodash/_matchesStrictComparable.js +20 -0
- package/node_modules/lodash/_memoizeCapped.js +26 -0
- package/node_modules/lodash/_mergeData.js +90 -0
- package/node_modules/lodash/_metaMap.js +6 -0
- package/node_modules/lodash/_nativeCreate.js +6 -0
- package/node_modules/lodash/_nativeKeys.js +6 -0
- package/node_modules/lodash/_nativeKeysIn.js +20 -0
- package/node_modules/lodash/_nodeUtil.js +30 -0
- package/node_modules/lodash/_objectToString.js +22 -0
- package/node_modules/lodash/_overArg.js +15 -0
- package/node_modules/lodash/_overRest.js +36 -0
- package/node_modules/lodash/_parent.js +16 -0
- package/node_modules/lodash/_reEscape.js +4 -0
- package/node_modules/lodash/_reEvaluate.js +4 -0
- package/node_modules/lodash/_reInterpolate.js +4 -0
- package/node_modules/lodash/_realNames.js +4 -0
- package/node_modules/lodash/_reorder.js +29 -0
- package/node_modules/lodash/_replaceHolders.js +29 -0
- package/node_modules/lodash/_root.js +9 -0
- package/node_modules/lodash/_safeGet.js +21 -0
- package/node_modules/lodash/_setCacheAdd.js +19 -0
- package/node_modules/lodash/_setCacheHas.js +14 -0
- package/node_modules/lodash/_setData.js +20 -0
- package/node_modules/lodash/_setToArray.js +18 -0
- package/node_modules/lodash/_setToPairs.js +18 -0
- package/node_modules/lodash/_setToString.js +14 -0
- package/node_modules/lodash/_setWrapToString.js +21 -0
- package/node_modules/lodash/_shortOut.js +37 -0
- package/node_modules/lodash/_shuffleSelf.js +28 -0
- package/node_modules/lodash/_stackClear.js +15 -0
- package/node_modules/lodash/_stackDelete.js +18 -0
- package/node_modules/lodash/_stackGet.js +14 -0
- package/node_modules/lodash/_stackHas.js +14 -0
- package/node_modules/lodash/_stackSet.js +34 -0
- package/node_modules/lodash/_strictIndexOf.js +23 -0
- package/node_modules/lodash/_strictLastIndexOf.js +21 -0
- package/node_modules/lodash/_stringSize.js +18 -0
- package/node_modules/lodash/_stringToArray.js +18 -0
- package/node_modules/lodash/_stringToPath.js +27 -0
- package/node_modules/lodash/_toKey.js +21 -0
- package/node_modules/lodash/_toSource.js +26 -0
- package/node_modules/lodash/_trimmedEndIndex.js +19 -0
- package/node_modules/lodash/_unescapeHtmlChar.js +21 -0
- package/node_modules/lodash/_unicodeSize.js +44 -0
- package/node_modules/lodash/_unicodeToArray.js +40 -0
- package/node_modules/lodash/_unicodeWords.js +69 -0
- package/node_modules/lodash/_updateWrapDetails.js +46 -0
- package/node_modules/lodash/_wrapperClone.js +23 -0
- package/node_modules/lodash/add.js +22 -0
- package/node_modules/lodash/after.js +42 -0
- package/node_modules/lodash/array.js +67 -0
- package/node_modules/lodash/ary.js +29 -0
- package/node_modules/lodash/assign.js +58 -0
- package/node_modules/lodash/assignIn.js +40 -0
- package/node_modules/lodash/assignInWith.js +38 -0
- package/node_modules/lodash/assignWith.js +37 -0
- package/node_modules/lodash/at.js +23 -0
- package/node_modules/lodash/attempt.js +35 -0
- package/node_modules/lodash/before.js +40 -0
- package/node_modules/lodash/bind.js +57 -0
- package/node_modules/lodash/bindAll.js +41 -0
- package/node_modules/lodash/bindKey.js +68 -0
- package/node_modules/lodash/camelCase.js +29 -0
- package/node_modules/lodash/capitalize.js +23 -0
- package/node_modules/lodash/castArray.js +44 -0
- package/node_modules/lodash/ceil.js +26 -0
- package/node_modules/lodash/chain.js +38 -0
- package/node_modules/lodash/chunk.js +50 -0
- package/node_modules/lodash/clamp.js +39 -0
- package/node_modules/lodash/clone.js +36 -0
- package/node_modules/lodash/cloneDeep.js +29 -0
- package/node_modules/lodash/cloneDeepWith.js +40 -0
- package/node_modules/lodash/cloneWith.js +42 -0
- package/node_modules/lodash/collection.js +30 -0
- package/node_modules/lodash/commit.js +33 -0
- package/node_modules/lodash/compact.js +31 -0
- package/node_modules/lodash/concat.js +43 -0
- package/node_modules/lodash/cond.js +60 -0
- package/node_modules/lodash/conforms.js +35 -0
- package/node_modules/lodash/conformsTo.js +32 -0
- package/node_modules/lodash/constant.js +26 -0
- package/node_modules/lodash/core.js +3877 -0
- package/node_modules/lodash/core.min.js +30 -0
- package/node_modules/lodash/countBy.js +40 -0
- package/node_modules/lodash/create.js +43 -0
- package/node_modules/lodash/curry.js +57 -0
- package/node_modules/lodash/curryRight.js +54 -0
- package/node_modules/lodash/date.js +3 -0
- package/node_modules/lodash/debounce.js +191 -0
- package/node_modules/lodash/deburr.js +45 -0
- package/node_modules/lodash/defaultTo.js +25 -0
- package/node_modules/lodash/defaults.js +64 -0
- package/node_modules/lodash/defaultsDeep.js +30 -0
- package/node_modules/lodash/defer.js +26 -0
- package/node_modules/lodash/delay.js +28 -0
- package/node_modules/lodash/difference.js +33 -0
- package/node_modules/lodash/differenceBy.js +44 -0
- package/node_modules/lodash/differenceWith.js +40 -0
- package/node_modules/lodash/divide.js +22 -0
- package/node_modules/lodash/drop.js +38 -0
- package/node_modules/lodash/dropRight.js +39 -0
- package/node_modules/lodash/dropRightWhile.js +45 -0
- package/node_modules/lodash/dropWhile.js +45 -0
- package/node_modules/lodash/each.js +1 -0
- package/node_modules/lodash/eachRight.js +1 -0
- package/node_modules/lodash/endsWith.js +43 -0
- package/node_modules/lodash/entries.js +1 -0
- package/node_modules/lodash/entriesIn.js +1 -0
- package/node_modules/lodash/eq.js +37 -0
- package/node_modules/lodash/escape.js +43 -0
- package/node_modules/lodash/escapeRegExp.js +32 -0
- package/node_modules/lodash/every.js +56 -0
- package/node_modules/lodash/extend.js +1 -0
- package/node_modules/lodash/extendWith.js +1 -0
- package/node_modules/lodash/fill.js +45 -0
- package/node_modules/lodash/filter.js +52 -0
- package/node_modules/lodash/find.js +42 -0
- package/node_modules/lodash/findIndex.js +55 -0
- package/node_modules/lodash/findKey.js +44 -0
- package/node_modules/lodash/findLast.js +25 -0
- package/node_modules/lodash/findLastIndex.js +59 -0
- package/node_modules/lodash/findLastKey.js +44 -0
- package/node_modules/lodash/first.js +1 -0
- package/node_modules/lodash/flatMap.js +29 -0
- package/node_modules/lodash/flatMapDeep.js +31 -0
- package/node_modules/lodash/flatMapDepth.js +31 -0
- package/node_modules/lodash/flatten.js +22 -0
- package/node_modules/lodash/flattenDeep.js +25 -0
- package/node_modules/lodash/flattenDepth.js +33 -0
- package/node_modules/lodash/flip.js +28 -0
- package/node_modules/lodash/floor.js +26 -0
- package/node_modules/lodash/flow.js +27 -0
- package/node_modules/lodash/flowRight.js +26 -0
- package/node_modules/lodash/forEach.js +41 -0
- package/node_modules/lodash/forEachRight.js +31 -0
- package/node_modules/lodash/forIn.js +39 -0
- package/node_modules/lodash/forInRight.js +37 -0
- package/node_modules/lodash/forOwn.js +36 -0
- package/node_modules/lodash/forOwnRight.js +34 -0
- package/node_modules/lodash/fp/F.js +1 -0
- package/node_modules/lodash/fp/T.js +1 -0
- package/node_modules/lodash/fp/__.js +1 -0
- package/node_modules/lodash/fp/_baseConvert.js +569 -0
- package/node_modules/lodash/fp/_convertBrowser.js +18 -0
- package/node_modules/lodash/fp/_falseOptions.js +7 -0
- package/node_modules/lodash/fp/_mapping.js +358 -0
- package/node_modules/lodash/fp/_util.js +16 -0
- package/node_modules/lodash/fp/add.js +5 -0
- package/node_modules/lodash/fp/after.js +5 -0
- package/node_modules/lodash/fp/all.js +1 -0
- package/node_modules/lodash/fp/allPass.js +1 -0
- package/node_modules/lodash/fp/always.js +1 -0
- package/node_modules/lodash/fp/any.js +1 -0
- package/node_modules/lodash/fp/anyPass.js +1 -0
- package/node_modules/lodash/fp/apply.js +1 -0
- package/node_modules/lodash/fp/array.js +2 -0
- package/node_modules/lodash/fp/ary.js +5 -0
- package/node_modules/lodash/fp/assign.js +5 -0
- package/node_modules/lodash/fp/assignAll.js +5 -0
- package/node_modules/lodash/fp/assignAllWith.js +5 -0
- package/node_modules/lodash/fp/assignIn.js +5 -0
- package/node_modules/lodash/fp/assignInAll.js +5 -0
- package/node_modules/lodash/fp/assignInAllWith.js +5 -0
- package/node_modules/lodash/fp/assignInWith.js +5 -0
- package/node_modules/lodash/fp/assignWith.js +5 -0
- package/node_modules/lodash/fp/assoc.js +1 -0
- package/node_modules/lodash/fp/assocPath.js +1 -0
- package/node_modules/lodash/fp/at.js +5 -0
- package/node_modules/lodash/fp/attempt.js +5 -0
- package/node_modules/lodash/fp/before.js +5 -0
- package/node_modules/lodash/fp/bind.js +5 -0
- package/node_modules/lodash/fp/bindAll.js +5 -0
- package/node_modules/lodash/fp/bindKey.js +5 -0
- package/node_modules/lodash/fp/camelCase.js +5 -0
- package/node_modules/lodash/fp/capitalize.js +5 -0
- package/node_modules/lodash/fp/castArray.js +5 -0
- package/node_modules/lodash/fp/ceil.js +5 -0
- package/node_modules/lodash/fp/chain.js +5 -0
- package/node_modules/lodash/fp/chunk.js +5 -0
- package/node_modules/lodash/fp/clamp.js +5 -0
- package/node_modules/lodash/fp/clone.js +5 -0
- package/node_modules/lodash/fp/cloneDeep.js +5 -0
- package/node_modules/lodash/fp/cloneDeepWith.js +5 -0
- package/node_modules/lodash/fp/cloneWith.js +5 -0
- package/node_modules/lodash/fp/collection.js +2 -0
- package/node_modules/lodash/fp/commit.js +5 -0
- package/node_modules/lodash/fp/compact.js +5 -0
- package/node_modules/lodash/fp/complement.js +1 -0
- package/node_modules/lodash/fp/compose.js +1 -0
- package/node_modules/lodash/fp/concat.js +5 -0
- package/node_modules/lodash/fp/cond.js +5 -0
- package/node_modules/lodash/fp/conforms.js +1 -0
- package/node_modules/lodash/fp/conformsTo.js +5 -0
- package/node_modules/lodash/fp/constant.js +5 -0
- package/node_modules/lodash/fp/contains.js +1 -0
- package/node_modules/lodash/fp/convert.js +18 -0
- package/node_modules/lodash/fp/countBy.js +5 -0
- package/node_modules/lodash/fp/create.js +5 -0
- package/node_modules/lodash/fp/curry.js +5 -0
- package/node_modules/lodash/fp/curryN.js +5 -0
- package/node_modules/lodash/fp/curryRight.js +5 -0
- package/node_modules/lodash/fp/curryRightN.js +5 -0
- package/node_modules/lodash/fp/date.js +2 -0
- package/node_modules/lodash/fp/debounce.js +5 -0
- package/node_modules/lodash/fp/deburr.js +5 -0
- package/node_modules/lodash/fp/defaultTo.js +5 -0
- package/node_modules/lodash/fp/defaults.js +5 -0
- package/node_modules/lodash/fp/defaultsAll.js +5 -0
- package/node_modules/lodash/fp/defaultsDeep.js +5 -0
- package/node_modules/lodash/fp/defaultsDeepAll.js +5 -0
- package/node_modules/lodash/fp/defer.js +5 -0
- package/node_modules/lodash/fp/delay.js +5 -0
- package/node_modules/lodash/fp/difference.js +5 -0
- package/node_modules/lodash/fp/differenceBy.js +5 -0
- package/node_modules/lodash/fp/differenceWith.js +5 -0
- package/node_modules/lodash/fp/dissoc.js +1 -0
- package/node_modules/lodash/fp/dissocPath.js +1 -0
- package/node_modules/lodash/fp/divide.js +5 -0
- package/node_modules/lodash/fp/drop.js +5 -0
- package/node_modules/lodash/fp/dropLast.js +1 -0
- package/node_modules/lodash/fp/dropLastWhile.js +1 -0
- package/node_modules/lodash/fp/dropRight.js +5 -0
- package/node_modules/lodash/fp/dropRightWhile.js +5 -0
- package/node_modules/lodash/fp/dropWhile.js +5 -0
- package/node_modules/lodash/fp/each.js +1 -0
- package/node_modules/lodash/fp/eachRight.js +1 -0
- package/node_modules/lodash/fp/endsWith.js +5 -0
- package/node_modules/lodash/fp/entries.js +1 -0
- package/node_modules/lodash/fp/entriesIn.js +1 -0
- package/node_modules/lodash/fp/eq.js +5 -0
- package/node_modules/lodash/fp/equals.js +1 -0
- package/node_modules/lodash/fp/escape.js +5 -0
- package/node_modules/lodash/fp/escapeRegExp.js +5 -0
- package/node_modules/lodash/fp/every.js +5 -0
- package/node_modules/lodash/fp/extend.js +1 -0
- package/node_modules/lodash/fp/extendAll.js +1 -0
- package/node_modules/lodash/fp/extendAllWith.js +1 -0
- package/node_modules/lodash/fp/extendWith.js +1 -0
- package/node_modules/lodash/fp/fill.js +5 -0
- package/node_modules/lodash/fp/filter.js +5 -0
- package/node_modules/lodash/fp/find.js +5 -0
- package/node_modules/lodash/fp/findFrom.js +5 -0
- package/node_modules/lodash/fp/findIndex.js +5 -0
- package/node_modules/lodash/fp/findIndexFrom.js +5 -0
- package/node_modules/lodash/fp/findKey.js +5 -0
- package/node_modules/lodash/fp/findLast.js +5 -0
- package/node_modules/lodash/fp/findLastFrom.js +5 -0
- package/node_modules/lodash/fp/findLastIndex.js +5 -0
- package/node_modules/lodash/fp/findLastIndexFrom.js +5 -0
- package/node_modules/lodash/fp/findLastKey.js +5 -0
- package/node_modules/lodash/fp/first.js +1 -0
- package/node_modules/lodash/fp/flatMap.js +5 -0
- package/node_modules/lodash/fp/flatMapDeep.js +5 -0
- package/node_modules/lodash/fp/flatMapDepth.js +5 -0
- package/node_modules/lodash/fp/flatten.js +5 -0
- package/node_modules/lodash/fp/flattenDeep.js +5 -0
- package/node_modules/lodash/fp/flattenDepth.js +5 -0
- package/node_modules/lodash/fp/flip.js +5 -0
- package/node_modules/lodash/fp/floor.js +5 -0
- package/node_modules/lodash/fp/flow.js +5 -0
- package/node_modules/lodash/fp/flowRight.js +5 -0
- package/node_modules/lodash/fp/forEach.js +5 -0
- package/node_modules/lodash/fp/forEachRight.js +5 -0
- package/node_modules/lodash/fp/forIn.js +5 -0
- package/node_modules/lodash/fp/forInRight.js +5 -0
- package/node_modules/lodash/fp/forOwn.js +5 -0
- package/node_modules/lodash/fp/forOwnRight.js +5 -0
- package/node_modules/lodash/fp/fromPairs.js +5 -0
- package/node_modules/lodash/fp/function.js +2 -0
- package/node_modules/lodash/fp/functions.js +5 -0
- package/node_modules/lodash/fp/functionsIn.js +5 -0
- package/node_modules/lodash/fp/get.js +5 -0
- package/node_modules/lodash/fp/getOr.js +5 -0
- package/node_modules/lodash/fp/groupBy.js +5 -0
- package/node_modules/lodash/fp/gt.js +5 -0
- package/node_modules/lodash/fp/gte.js +5 -0
- package/node_modules/lodash/fp/has.js +5 -0
- package/node_modules/lodash/fp/hasIn.js +5 -0
- package/node_modules/lodash/fp/head.js +5 -0
- package/node_modules/lodash/fp/identical.js +1 -0
- package/node_modules/lodash/fp/identity.js +5 -0
- package/node_modules/lodash/fp/inRange.js +5 -0
- package/node_modules/lodash/fp/includes.js +5 -0
- package/node_modules/lodash/fp/includesFrom.js +5 -0
- package/node_modules/lodash/fp/indexBy.js +1 -0
- package/node_modules/lodash/fp/indexOf.js +5 -0
- package/node_modules/lodash/fp/indexOfFrom.js +5 -0
- package/node_modules/lodash/fp/init.js +1 -0
- package/node_modules/lodash/fp/initial.js +5 -0
- package/node_modules/lodash/fp/intersection.js +5 -0
- package/node_modules/lodash/fp/intersectionBy.js +5 -0
- package/node_modules/lodash/fp/intersectionWith.js +5 -0
- package/node_modules/lodash/fp/invert.js +5 -0
- package/node_modules/lodash/fp/invertBy.js +5 -0
- package/node_modules/lodash/fp/invertObj.js +1 -0
- package/node_modules/lodash/fp/invoke.js +5 -0
- package/node_modules/lodash/fp/invokeArgs.js +5 -0
- package/node_modules/lodash/fp/invokeArgsMap.js +5 -0
- package/node_modules/lodash/fp/invokeMap.js +5 -0
- package/node_modules/lodash/fp/isArguments.js +5 -0
- package/node_modules/lodash/fp/isArray.js +5 -0
- package/node_modules/lodash/fp/isArrayBuffer.js +5 -0
- package/node_modules/lodash/fp/isArrayLike.js +5 -0
- package/node_modules/lodash/fp/isArrayLikeObject.js +5 -0
- package/node_modules/lodash/fp/isBoolean.js +5 -0
- package/node_modules/lodash/fp/isBuffer.js +5 -0
- package/node_modules/lodash/fp/isDate.js +5 -0
- package/node_modules/lodash/fp/isElement.js +5 -0
- package/node_modules/lodash/fp/isEmpty.js +5 -0
- package/node_modules/lodash/fp/isEqual.js +5 -0
- package/node_modules/lodash/fp/isEqualWith.js +5 -0
- package/node_modules/lodash/fp/isError.js +5 -0
- package/node_modules/lodash/fp/isFinite.js +5 -0
- package/node_modules/lodash/fp/isFunction.js +5 -0
- package/node_modules/lodash/fp/isInteger.js +5 -0
- package/node_modules/lodash/fp/isLength.js +5 -0
- package/node_modules/lodash/fp/isMap.js +5 -0
- package/node_modules/lodash/fp/isMatch.js +5 -0
- package/node_modules/lodash/fp/isMatchWith.js +5 -0
- package/node_modules/lodash/fp/isNaN.js +5 -0
- package/node_modules/lodash/fp/isNative.js +5 -0
- package/node_modules/lodash/fp/isNil.js +5 -0
- package/node_modules/lodash/fp/isNull.js +5 -0
- package/node_modules/lodash/fp/isNumber.js +5 -0
- package/node_modules/lodash/fp/isObject.js +5 -0
- package/node_modules/lodash/fp/isObjectLike.js +5 -0
- package/node_modules/lodash/fp/isPlainObject.js +5 -0
- package/node_modules/lodash/fp/isRegExp.js +5 -0
- package/node_modules/lodash/fp/isSafeInteger.js +5 -0
- package/node_modules/lodash/fp/isSet.js +5 -0
- package/node_modules/lodash/fp/isString.js +5 -0
- package/node_modules/lodash/fp/isSymbol.js +5 -0
- package/node_modules/lodash/fp/isTypedArray.js +5 -0
- package/node_modules/lodash/fp/isUndefined.js +5 -0
- package/node_modules/lodash/fp/isWeakMap.js +5 -0
- package/node_modules/lodash/fp/isWeakSet.js +5 -0
- package/node_modules/lodash/fp/iteratee.js +5 -0
- package/node_modules/lodash/fp/join.js +5 -0
- package/node_modules/lodash/fp/juxt.js +1 -0
- package/node_modules/lodash/fp/kebabCase.js +5 -0
- package/node_modules/lodash/fp/keyBy.js +5 -0
- package/node_modules/lodash/fp/keys.js +5 -0
- package/node_modules/lodash/fp/keysIn.js +5 -0
- package/node_modules/lodash/fp/lang.js +2 -0
- package/node_modules/lodash/fp/last.js +5 -0
- package/node_modules/lodash/fp/lastIndexOf.js +5 -0
- package/node_modules/lodash/fp/lastIndexOfFrom.js +5 -0
- package/node_modules/lodash/fp/lowerCase.js +5 -0
- package/node_modules/lodash/fp/lowerFirst.js +5 -0
- package/node_modules/lodash/fp/lt.js +5 -0
- package/node_modules/lodash/fp/lte.js +5 -0
- package/node_modules/lodash/fp/map.js +5 -0
- package/node_modules/lodash/fp/mapKeys.js +5 -0
- package/node_modules/lodash/fp/mapValues.js +5 -0
- package/node_modules/lodash/fp/matches.js +1 -0
- package/node_modules/lodash/fp/matchesProperty.js +5 -0
- package/node_modules/lodash/fp/math.js +2 -0
- package/node_modules/lodash/fp/max.js +5 -0
- package/node_modules/lodash/fp/maxBy.js +5 -0
- package/node_modules/lodash/fp/mean.js +5 -0
- package/node_modules/lodash/fp/meanBy.js +5 -0
- package/node_modules/lodash/fp/memoize.js +5 -0
- package/node_modules/lodash/fp/merge.js +5 -0
- package/node_modules/lodash/fp/mergeAll.js +5 -0
- package/node_modules/lodash/fp/mergeAllWith.js +5 -0
- package/node_modules/lodash/fp/mergeWith.js +5 -0
- package/node_modules/lodash/fp/method.js +5 -0
- package/node_modules/lodash/fp/methodOf.js +5 -0
- package/node_modules/lodash/fp/min.js +5 -0
- package/node_modules/lodash/fp/minBy.js +5 -0
- package/node_modules/lodash/fp/mixin.js +5 -0
- package/node_modules/lodash/fp/multiply.js +5 -0
- package/node_modules/lodash/fp/nAry.js +1 -0
- package/node_modules/lodash/fp/negate.js +5 -0
- package/node_modules/lodash/fp/next.js +5 -0
- package/node_modules/lodash/fp/noop.js +5 -0
- package/node_modules/lodash/fp/now.js +5 -0
- package/node_modules/lodash/fp/nth.js +5 -0
- package/node_modules/lodash/fp/nthArg.js +5 -0
- package/node_modules/lodash/fp/number.js +2 -0
- package/node_modules/lodash/fp/object.js +2 -0
- package/node_modules/lodash/fp/omit.js +5 -0
- package/node_modules/lodash/fp/omitAll.js +1 -0
- package/node_modules/lodash/fp/omitBy.js +5 -0
- package/node_modules/lodash/fp/once.js +5 -0
- package/node_modules/lodash/fp/orderBy.js +5 -0
- package/node_modules/lodash/fp/over.js +5 -0
- package/node_modules/lodash/fp/overArgs.js +5 -0
- package/node_modules/lodash/fp/overEvery.js +5 -0
- package/node_modules/lodash/fp/overSome.js +5 -0
- package/node_modules/lodash/fp/pad.js +5 -0
- package/node_modules/lodash/fp/padChars.js +5 -0
- package/node_modules/lodash/fp/padCharsEnd.js +5 -0
- package/node_modules/lodash/fp/padCharsStart.js +5 -0
- package/node_modules/lodash/fp/padEnd.js +5 -0
- package/node_modules/lodash/fp/padStart.js +5 -0
- package/node_modules/lodash/fp/parseInt.js +5 -0
- package/node_modules/lodash/fp/partial.js +5 -0
- package/node_modules/lodash/fp/partialRight.js +5 -0
- package/node_modules/lodash/fp/partition.js +5 -0
- package/node_modules/lodash/fp/path.js +1 -0
- package/node_modules/lodash/fp/pathEq.js +1 -0
- package/node_modules/lodash/fp/pathOr.js +1 -0
- package/node_modules/lodash/fp/paths.js +1 -0
- package/node_modules/lodash/fp/pick.js +5 -0
- package/node_modules/lodash/fp/pickAll.js +1 -0
- package/node_modules/lodash/fp/pickBy.js +5 -0
- package/node_modules/lodash/fp/pipe.js +1 -0
- package/node_modules/lodash/fp/placeholder.js +6 -0
- package/node_modules/lodash/fp/plant.js +5 -0
- package/node_modules/lodash/fp/pluck.js +1 -0
- package/node_modules/lodash/fp/prop.js +1 -0
- package/node_modules/lodash/fp/propEq.js +1 -0
- package/node_modules/lodash/fp/propOr.js +1 -0
- package/node_modules/lodash/fp/property.js +1 -0
- package/node_modules/lodash/fp/propertyOf.js +5 -0
- package/node_modules/lodash/fp/props.js +1 -0
- package/node_modules/lodash/fp/pull.js +5 -0
- package/node_modules/lodash/fp/pullAll.js +5 -0
- package/node_modules/lodash/fp/pullAllBy.js +5 -0
- package/node_modules/lodash/fp/pullAllWith.js +5 -0
- package/node_modules/lodash/fp/pullAt.js +5 -0
- package/node_modules/lodash/fp/random.js +5 -0
- package/node_modules/lodash/fp/range.js +5 -0
- package/node_modules/lodash/fp/rangeRight.js +5 -0
- package/node_modules/lodash/fp/rangeStep.js +5 -0
- package/node_modules/lodash/fp/rangeStepRight.js +5 -0
- package/node_modules/lodash/fp/rearg.js +5 -0
- package/node_modules/lodash/fp/reduce.js +5 -0
- package/node_modules/lodash/fp/reduceRight.js +5 -0
- package/node_modules/lodash/fp/reject.js +5 -0
- package/node_modules/lodash/fp/remove.js +5 -0
- package/node_modules/lodash/fp/repeat.js +5 -0
- package/node_modules/lodash/fp/replace.js +5 -0
- package/node_modules/lodash/fp/rest.js +5 -0
- package/node_modules/lodash/fp/restFrom.js +5 -0
- package/node_modules/lodash/fp/result.js +5 -0
- package/node_modules/lodash/fp/reverse.js +5 -0
- package/node_modules/lodash/fp/round.js +5 -0
- package/node_modules/lodash/fp/sample.js +5 -0
- package/node_modules/lodash/fp/sampleSize.js +5 -0
- package/node_modules/lodash/fp/seq.js +2 -0
- package/node_modules/lodash/fp/set.js +5 -0
- package/node_modules/lodash/fp/setWith.js +5 -0
- package/node_modules/lodash/fp/shuffle.js +5 -0
- package/node_modules/lodash/fp/size.js +5 -0
- package/node_modules/lodash/fp/slice.js +5 -0
- package/node_modules/lodash/fp/snakeCase.js +5 -0
- package/node_modules/lodash/fp/some.js +5 -0
- package/node_modules/lodash/fp/sortBy.js +5 -0
- package/node_modules/lodash/fp/sortedIndex.js +5 -0
- package/node_modules/lodash/fp/sortedIndexBy.js +5 -0
- package/node_modules/lodash/fp/sortedIndexOf.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndex.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndexBy.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndexOf.js +5 -0
- package/node_modules/lodash/fp/sortedUniq.js +5 -0
- package/node_modules/lodash/fp/sortedUniqBy.js +5 -0
- package/node_modules/lodash/fp/split.js +5 -0
- package/node_modules/lodash/fp/spread.js +5 -0
- package/node_modules/lodash/fp/spreadFrom.js +5 -0
- package/node_modules/lodash/fp/startCase.js +5 -0
- package/node_modules/lodash/fp/startsWith.js +5 -0
- package/node_modules/lodash/fp/string.js +2 -0
- package/node_modules/lodash/fp/stubArray.js +5 -0
- package/node_modules/lodash/fp/stubFalse.js +5 -0
- package/node_modules/lodash/fp/stubObject.js +5 -0
- package/node_modules/lodash/fp/stubString.js +5 -0
- package/node_modules/lodash/fp/stubTrue.js +5 -0
- package/node_modules/lodash/fp/subtract.js +5 -0
- package/node_modules/lodash/fp/sum.js +5 -0
- package/node_modules/lodash/fp/sumBy.js +5 -0
- package/node_modules/lodash/fp/symmetricDifference.js +1 -0
- package/node_modules/lodash/fp/symmetricDifferenceBy.js +1 -0
- package/node_modules/lodash/fp/symmetricDifferenceWith.js +1 -0
- package/node_modules/lodash/fp/tail.js +5 -0
- package/node_modules/lodash/fp/take.js +5 -0
- package/node_modules/lodash/fp/takeLast.js +1 -0
- package/node_modules/lodash/fp/takeLastWhile.js +1 -0
- package/node_modules/lodash/fp/takeRight.js +5 -0
- package/node_modules/lodash/fp/takeRightWhile.js +5 -0
- package/node_modules/lodash/fp/takeWhile.js +5 -0
- package/node_modules/lodash/fp/tap.js +5 -0
- package/node_modules/lodash/fp/template.js +5 -0
- package/node_modules/lodash/fp/templateSettings.js +5 -0
- package/node_modules/lodash/fp/throttle.js +5 -0
- package/node_modules/lodash/fp/thru.js +5 -0
- package/node_modules/lodash/fp/times.js +5 -0
- package/node_modules/lodash/fp/toArray.js +5 -0
- package/node_modules/lodash/fp/toFinite.js +5 -0
- package/node_modules/lodash/fp/toInteger.js +5 -0
- package/node_modules/lodash/fp/toIterator.js +5 -0
- package/node_modules/lodash/fp/toJSON.js +5 -0
- package/node_modules/lodash/fp/toLength.js +5 -0
- package/node_modules/lodash/fp/toLower.js +5 -0
- package/node_modules/lodash/fp/toNumber.js +5 -0
- package/node_modules/lodash/fp/toPairs.js +5 -0
- package/node_modules/lodash/fp/toPairsIn.js +5 -0
- package/node_modules/lodash/fp/toPath.js +5 -0
- package/node_modules/lodash/fp/toPlainObject.js +5 -0
- package/node_modules/lodash/fp/toSafeInteger.js +5 -0
- package/node_modules/lodash/fp/toString.js +5 -0
- package/node_modules/lodash/fp/toUpper.js +5 -0
- package/node_modules/lodash/fp/transform.js +5 -0
- package/node_modules/lodash/fp/trim.js +5 -0
- package/node_modules/lodash/fp/trimChars.js +5 -0
- package/node_modules/lodash/fp/trimCharsEnd.js +5 -0
- package/node_modules/lodash/fp/trimCharsStart.js +5 -0
- package/node_modules/lodash/fp/trimEnd.js +5 -0
- package/node_modules/lodash/fp/trimStart.js +5 -0
- package/node_modules/lodash/fp/truncate.js +5 -0
- package/node_modules/lodash/fp/unapply.js +1 -0
- package/node_modules/lodash/fp/unary.js +5 -0
- package/node_modules/lodash/fp/unescape.js +5 -0
- package/node_modules/lodash/fp/union.js +5 -0
- package/node_modules/lodash/fp/unionBy.js +5 -0
- package/node_modules/lodash/fp/unionWith.js +5 -0
- package/node_modules/lodash/fp/uniq.js +5 -0
- package/node_modules/lodash/fp/uniqBy.js +5 -0
- package/node_modules/lodash/fp/uniqWith.js +5 -0
- package/node_modules/lodash/fp/uniqueId.js +5 -0
- package/node_modules/lodash/fp/unnest.js +1 -0
- package/node_modules/lodash/fp/unset.js +5 -0
- package/node_modules/lodash/fp/unzip.js +5 -0
- package/node_modules/lodash/fp/unzipWith.js +5 -0
- package/node_modules/lodash/fp/update.js +5 -0
- package/node_modules/lodash/fp/updateWith.js +5 -0
- package/node_modules/lodash/fp/upperCase.js +5 -0
- package/node_modules/lodash/fp/upperFirst.js +5 -0
- package/node_modules/lodash/fp/useWith.js +1 -0
- package/node_modules/lodash/fp/util.js +2 -0
- package/node_modules/lodash/fp/value.js +5 -0
- package/node_modules/lodash/fp/valueOf.js +5 -0
- package/node_modules/lodash/fp/values.js +5 -0
- package/node_modules/lodash/fp/valuesIn.js +5 -0
- package/node_modules/lodash/fp/where.js +1 -0
- package/node_modules/lodash/fp/whereEq.js +1 -0
- package/node_modules/lodash/fp/without.js +5 -0
- package/node_modules/lodash/fp/words.js +5 -0
- package/node_modules/lodash/fp/wrap.js +5 -0
- package/node_modules/lodash/fp/wrapperAt.js +5 -0
- package/node_modules/lodash/fp/wrapperChain.js +5 -0
- package/node_modules/lodash/fp/wrapperLodash.js +5 -0
- package/node_modules/lodash/fp/wrapperReverse.js +5 -0
- package/node_modules/lodash/fp/wrapperValue.js +5 -0
- package/node_modules/lodash/fp/xor.js +5 -0
- package/node_modules/lodash/fp/xorBy.js +5 -0
- package/node_modules/lodash/fp/xorWith.js +5 -0
- package/node_modules/lodash/fp/zip.js +5 -0
- package/node_modules/lodash/fp/zipAll.js +5 -0
- package/node_modules/lodash/fp/zipObj.js +1 -0
- package/node_modules/lodash/fp/zipObject.js +5 -0
- package/node_modules/lodash/fp/zipObjectDeep.js +5 -0
- package/node_modules/lodash/fp/zipWith.js +5 -0
- package/node_modules/lodash/fp.js +2 -0
- package/node_modules/lodash/fromPairs.js +30 -0
- package/node_modules/lodash/function.js +25 -0
- package/node_modules/lodash/functions.js +31 -0
- package/node_modules/lodash/functionsIn.js +31 -0
- package/node_modules/lodash/get.js +33 -0
- package/node_modules/lodash/groupBy.js +41 -0
- package/node_modules/lodash/gt.js +29 -0
- package/node_modules/lodash/gte.js +30 -0
- package/node_modules/lodash/has.js +35 -0
- package/node_modules/lodash/hasIn.js +34 -0
- package/node_modules/lodash/head.js +23 -0
- package/node_modules/lodash/identity.js +21 -0
- package/node_modules/lodash/inRange.js +55 -0
- package/node_modules/lodash/includes.js +53 -0
- package/node_modules/lodash/index.js +1 -0
- package/node_modules/lodash/indexOf.js +42 -0
- package/node_modules/lodash/initial.js +22 -0
- package/node_modules/lodash/intersection.js +30 -0
- package/node_modules/lodash/intersectionBy.js +45 -0
- package/node_modules/lodash/intersectionWith.js +41 -0
- package/node_modules/lodash/invert.js +42 -0
- package/node_modules/lodash/invertBy.js +56 -0
- package/node_modules/lodash/invoke.js +24 -0
- package/node_modules/lodash/invokeMap.js +41 -0
- package/node_modules/lodash/isArguments.js +36 -0
- package/node_modules/lodash/isArray.js +26 -0
- package/node_modules/lodash/isArrayBuffer.js +27 -0
- package/node_modules/lodash/isArrayLike.js +33 -0
- package/node_modules/lodash/isArrayLikeObject.js +33 -0
- package/node_modules/lodash/isBoolean.js +29 -0
- package/node_modules/lodash/isBuffer.js +38 -0
- package/node_modules/lodash/isDate.js +27 -0
- package/node_modules/lodash/isElement.js +25 -0
- package/node_modules/lodash/isEmpty.js +77 -0
- package/node_modules/lodash/isEqual.js +35 -0
- package/node_modules/lodash/isEqualWith.js +41 -0
- package/node_modules/lodash/isError.js +36 -0
- package/node_modules/lodash/isFinite.js +36 -0
- package/node_modules/lodash/isFunction.js +37 -0
- package/node_modules/lodash/isInteger.js +33 -0
- package/node_modules/lodash/isLength.js +35 -0
- package/node_modules/lodash/isMap.js +27 -0
- package/node_modules/lodash/isMatch.js +36 -0
- package/node_modules/lodash/isMatchWith.js +41 -0
- package/node_modules/lodash/isNaN.js +38 -0
- package/node_modules/lodash/isNative.js +40 -0
- package/node_modules/lodash/isNil.js +25 -0
- package/node_modules/lodash/isNull.js +22 -0
- package/node_modules/lodash/isNumber.js +38 -0
- package/node_modules/lodash/isObject.js +31 -0
- package/node_modules/lodash/isObjectLike.js +29 -0
- package/node_modules/lodash/isPlainObject.js +62 -0
- package/node_modules/lodash/isRegExp.js +27 -0
- package/node_modules/lodash/isSafeInteger.js +37 -0
- package/node_modules/lodash/isSet.js +27 -0
- package/node_modules/lodash/isString.js +30 -0
- package/node_modules/lodash/isSymbol.js +29 -0
- package/node_modules/lodash/isTypedArray.js +27 -0
- package/node_modules/lodash/isUndefined.js +22 -0
- package/node_modules/lodash/isWeakMap.js +28 -0
- package/node_modules/lodash/isWeakSet.js +28 -0
- package/node_modules/lodash/iteratee.js +53 -0
- package/node_modules/lodash/join.js +26 -0
- package/node_modules/lodash/kebabCase.js +28 -0
- package/node_modules/lodash/keyBy.js +36 -0
- package/node_modules/lodash/keys.js +37 -0
- package/node_modules/lodash/keysIn.js +32 -0
- package/node_modules/lodash/lang.js +58 -0
- package/node_modules/lodash/last.js +20 -0
- package/node_modules/lodash/lastIndexOf.js +46 -0
- package/node_modules/lodash/lodash.js +17259 -0
- package/node_modules/lodash/lodash.min.js +136 -0
- package/node_modules/lodash/lowerCase.js +27 -0
- package/node_modules/lodash/lowerFirst.js +22 -0
- package/node_modules/lodash/lt.js +29 -0
- package/node_modules/lodash/lte.js +30 -0
- package/node_modules/lodash/map.js +53 -0
- package/node_modules/lodash/mapKeys.js +36 -0
- package/node_modules/lodash/mapValues.js +43 -0
- package/node_modules/lodash/matches.js +46 -0
- package/node_modules/lodash/matchesProperty.js +44 -0
- package/node_modules/lodash/math.js +17 -0
- package/node_modules/lodash/max.js +29 -0
- package/node_modules/lodash/maxBy.js +34 -0
- package/node_modules/lodash/mean.js +22 -0
- package/node_modules/lodash/meanBy.js +31 -0
- package/node_modules/lodash/memoize.js +73 -0
- package/node_modules/lodash/merge.js +39 -0
- package/node_modules/lodash/mergeWith.js +39 -0
- package/node_modules/lodash/method.js +34 -0
- package/node_modules/lodash/methodOf.js +33 -0
- package/node_modules/lodash/min.js +29 -0
- package/node_modules/lodash/minBy.js +34 -0
- package/node_modules/lodash/mixin.js +74 -0
- package/node_modules/lodash/multiply.js +22 -0
- package/node_modules/lodash/negate.js +40 -0
- package/node_modules/lodash/next.js +35 -0
- package/node_modules/lodash/noop.js +17 -0
- package/node_modules/lodash/now.js +23 -0
- package/node_modules/lodash/nth.js +29 -0
- package/node_modules/lodash/nthArg.js +32 -0
- package/node_modules/lodash/number.js +5 -0
- package/node_modules/lodash/object.js +49 -0
- package/node_modules/lodash/omit.js +57 -0
- package/node_modules/lodash/omitBy.js +29 -0
- package/node_modules/lodash/once.js +25 -0
- package/node_modules/lodash/orderBy.js +47 -0
- package/node_modules/lodash/over.js +24 -0
- package/node_modules/lodash/overArgs.js +61 -0
- package/node_modules/lodash/overEvery.js +34 -0
- package/node_modules/lodash/overSome.js +37 -0
- package/node_modules/lodash/package.json +19 -0
- package/node_modules/lodash/pad.js +49 -0
- package/node_modules/lodash/padEnd.js +39 -0
- package/node_modules/lodash/padStart.js +39 -0
- package/node_modules/lodash/parseInt.js +43 -0
- package/node_modules/lodash/partial.js +50 -0
- package/node_modules/lodash/partialRight.js +49 -0
- package/node_modules/lodash/partition.js +43 -0
- package/node_modules/lodash/pick.js +25 -0
- package/node_modules/lodash/pickBy.js +37 -0
- package/node_modules/lodash/plant.js +48 -0
- package/node_modules/lodash/property.js +32 -0
- package/node_modules/lodash/propertyOf.js +30 -0
- package/node_modules/lodash/pull.js +29 -0
- package/node_modules/lodash/pullAll.js +29 -0
- package/node_modules/lodash/pullAllBy.js +33 -0
- package/node_modules/lodash/pullAllWith.js +32 -0
- package/node_modules/lodash/pullAt.js +43 -0
- package/node_modules/lodash/random.js +91 -0
- package/node_modules/lodash/range.js +46 -0
- package/node_modules/lodash/rangeRight.js +41 -0
- package/node_modules/lodash/rearg.js +33 -0
- package/node_modules/lodash/reduce.js +51 -0
- package/node_modules/lodash/reduceRight.js +36 -0
- package/node_modules/lodash/reject.js +46 -0
- package/node_modules/lodash/remove.js +53 -0
- package/node_modules/lodash/repeat.js +37 -0
- package/node_modules/lodash/replace.js +29 -0
- package/node_modules/lodash/rest.js +40 -0
- package/node_modules/lodash/result.js +56 -0
- package/node_modules/lodash/reverse.js +34 -0
- package/node_modules/lodash/round.js +26 -0
- package/node_modules/lodash/sample.js +24 -0
- package/node_modules/lodash/sampleSize.js +37 -0
- package/node_modules/lodash/seq.js +16 -0
- package/node_modules/lodash/set.js +35 -0
- package/node_modules/lodash/setWith.js +32 -0
- package/node_modules/lodash/shuffle.js +25 -0
- package/node_modules/lodash/size.js +46 -0
- package/node_modules/lodash/slice.js +37 -0
- package/node_modules/lodash/snakeCase.js +28 -0
- package/node_modules/lodash/some.js +51 -0
- package/node_modules/lodash/sortBy.js +48 -0
- package/node_modules/lodash/sortedIndex.js +24 -0
- package/node_modules/lodash/sortedIndexBy.js +33 -0
- package/node_modules/lodash/sortedIndexOf.js +31 -0
- package/node_modules/lodash/sortedLastIndex.js +25 -0
- package/node_modules/lodash/sortedLastIndexBy.js +33 -0
- package/node_modules/lodash/sortedLastIndexOf.js +31 -0
- package/node_modules/lodash/sortedUniq.js +24 -0
- package/node_modules/lodash/sortedUniqBy.js +26 -0
- package/node_modules/lodash/split.js +52 -0
- package/node_modules/lodash/spread.js +63 -0
- package/node_modules/lodash/startCase.js +29 -0
- package/node_modules/lodash/startsWith.js +39 -0
- package/node_modules/lodash/string.js +33 -0
- package/node_modules/lodash/stubArray.js +23 -0
- package/node_modules/lodash/stubFalse.js +18 -0
- package/node_modules/lodash/stubObject.js +23 -0
- package/node_modules/lodash/stubString.js +18 -0
- package/node_modules/lodash/stubTrue.js +18 -0
- package/node_modules/lodash/subtract.js +22 -0
- package/node_modules/lodash/sum.js +24 -0
- package/node_modules/lodash/sumBy.js +33 -0
- package/node_modules/lodash/tail.js +22 -0
- package/node_modules/lodash/take.js +37 -0
- package/node_modules/lodash/takeRight.js +39 -0
- package/node_modules/lodash/takeRightWhile.js +45 -0
- package/node_modules/lodash/takeWhile.js +45 -0
- package/node_modules/lodash/tap.js +29 -0
- package/node_modules/lodash/template.js +284 -0
- package/node_modules/lodash/templateSettings.js +71 -0
- package/node_modules/lodash/throttle.js +69 -0
- package/node_modules/lodash/thru.js +28 -0
- package/node_modules/lodash/times.js +51 -0
- package/node_modules/lodash/toArray.js +58 -0
- package/node_modules/lodash/toFinite.js +42 -0
- package/node_modules/lodash/toInteger.js +36 -0
- package/node_modules/lodash/toIterator.js +23 -0
- package/node_modules/lodash/toJSON.js +1 -0
- package/node_modules/lodash/toLength.js +38 -0
- package/node_modules/lodash/toLower.js +28 -0
- package/node_modules/lodash/toNumber.js +64 -0
- package/node_modules/lodash/toPairs.js +30 -0
- package/node_modules/lodash/toPairsIn.js +30 -0
- package/node_modules/lodash/toPath.js +33 -0
- package/node_modules/lodash/toPlainObject.js +32 -0
- package/node_modules/lodash/toSafeInteger.js +37 -0
- package/node_modules/lodash/toString.js +28 -0
- package/node_modules/lodash/toUpper.js +28 -0
- package/node_modules/lodash/transform.js +65 -0
- package/node_modules/lodash/trim.js +47 -0
- package/node_modules/lodash/trimEnd.js +41 -0
- package/node_modules/lodash/trimStart.js +43 -0
- package/node_modules/lodash/truncate.js +111 -0
- package/node_modules/lodash/unary.js +22 -0
- package/node_modules/lodash/unescape.js +34 -0
- package/node_modules/lodash/union.js +26 -0
- package/node_modules/lodash/unionBy.js +39 -0
- package/node_modules/lodash/unionWith.js +34 -0
- package/node_modules/lodash/uniq.js +25 -0
- package/node_modules/lodash/uniqBy.js +31 -0
- package/node_modules/lodash/uniqWith.js +28 -0
- package/node_modules/lodash/uniqueId.js +28 -0
- package/node_modules/lodash/unset.js +34 -0
- package/node_modules/lodash/unzip.js +45 -0
- package/node_modules/lodash/unzipWith.js +39 -0
- package/node_modules/lodash/update.js +35 -0
- package/node_modules/lodash/updateWith.js +33 -0
- package/node_modules/lodash/upperCase.js +27 -0
- package/node_modules/lodash/upperFirst.js +22 -0
- package/node_modules/lodash/util.js +34 -0
- package/node_modules/lodash/value.js +1 -0
- package/node_modules/lodash/valueOf.js +1 -0
- package/node_modules/lodash/values.js +34 -0
- package/node_modules/lodash/valuesIn.js +32 -0
- package/node_modules/lodash/without.js +31 -0
- package/node_modules/lodash/words.js +35 -0
- package/node_modules/lodash/wrap.js +30 -0
- package/node_modules/lodash/wrapperAt.js +48 -0
- package/node_modules/lodash/wrapperChain.js +34 -0
- package/node_modules/lodash/wrapperLodash.js +147 -0
- package/node_modules/lodash/wrapperReverse.js +44 -0
- package/node_modules/lodash/wrapperValue.js +21 -0
- package/node_modules/lodash/xor.js +28 -0
- package/node_modules/lodash/xorBy.js +39 -0
- package/node_modules/lodash/xorWith.js +34 -0
- package/node_modules/lodash/zip.js +22 -0
- package/node_modules/lodash/zipObject.js +24 -0
- package/node_modules/lodash/zipObjectDeep.js +23 -0
- package/node_modules/lodash/zipWith.js +32 -0
- package/node_modules/mute-stream/LICENSE +15 -0
- package/node_modules/mute-stream/README.md +68 -0
- package/node_modules/mute-stream/lib/index.js +142 -0
- package/node_modules/mute-stream/package.json +54 -0
- package/node_modules/safer-buffer/LICENSE +21 -0
- package/node_modules/safer-buffer/Porting-Buffer.md +268 -0
- package/node_modules/safer-buffer/Readme.md +156 -0
- package/node_modules/safer-buffer/dangerous.js +58 -0
- package/node_modules/safer-buffer/package.json +34 -0
- package/node_modules/safer-buffer/safer.js +77 -0
- package/node_modules/safer-buffer/tests.js +406 -0
- package/node_modules/signal-exit/LICENSE.txt +16 -0
- package/node_modules/signal-exit/README.md +74 -0
- package/node_modules/signal-exit/dist/cjs/browser.d.ts +12 -0
- package/node_modules/signal-exit/dist/cjs/browser.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/cjs/browser.js +10 -0
- package/node_modules/signal-exit/dist/cjs/browser.js.map +1 -0
- package/node_modules/signal-exit/dist/cjs/index.d.ts +48 -0
- package/node_modules/signal-exit/dist/cjs/index.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/cjs/index.js +279 -0
- package/node_modules/signal-exit/dist/cjs/index.js.map +1 -0
- package/node_modules/signal-exit/dist/cjs/package.json +3 -0
- package/node_modules/signal-exit/dist/cjs/signals.d.ts +29 -0
- package/node_modules/signal-exit/dist/cjs/signals.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/cjs/signals.js +42 -0
- package/node_modules/signal-exit/dist/cjs/signals.js.map +1 -0
- package/node_modules/signal-exit/dist/mjs/browser.d.ts +12 -0
- package/node_modules/signal-exit/dist/mjs/browser.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/mjs/browser.js +4 -0
- package/node_modules/signal-exit/dist/mjs/browser.js.map +1 -0
- package/node_modules/signal-exit/dist/mjs/index.d.ts +48 -0
- package/node_modules/signal-exit/dist/mjs/index.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/mjs/index.js +275 -0
- package/node_modules/signal-exit/dist/mjs/index.js.map +1 -0
- package/node_modules/signal-exit/dist/mjs/package.json +3 -0
- package/node_modules/signal-exit/dist/mjs/signals.d.ts +29 -0
- package/node_modules/signal-exit/dist/mjs/signals.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/mjs/signals.js +39 -0
- package/node_modules/signal-exit/dist/mjs/signals.js.map +1 -0
- package/node_modules/signal-exit/package.json +106 -0
- package/node_modules/string-width/index.d.ts +29 -0
- package/node_modules/string-width/index.js +47 -0
- package/node_modules/string-width/license +9 -0
- package/node_modules/string-width/package.json +56 -0
- package/node_modules/string-width/readme.md +50 -0
- package/node_modules/strip-ansi/index.d.ts +17 -0
- package/node_modules/strip-ansi/index.js +4 -0
- package/node_modules/strip-ansi/license +9 -0
- package/node_modules/strip-ansi/package.json +54 -0
- package/node_modules/strip-ansi/readme.md +46 -0
- package/node_modules/wrap-ansi/index.js +186 -0
- package/node_modules/wrap-ansi/license +9 -0
- package/node_modules/wrap-ansi/package.json +61 -0
- package/node_modules/wrap-ansi/readme.md +97 -0
- package/node_modules/yoctocolors-cjs/index.d.ts +94 -0
- package/node_modules/yoctocolors-cjs/index.js +98 -0
- package/node_modules/yoctocolors-cjs/license +9 -0
- package/node_modules/yoctocolors-cjs/package.json +67 -0
- package/node_modules/yoctocolors-cjs/readme.md +130 -0
- package/node_modules/zod/LICENSE +21 -0
- package/node_modules/zod/README.md +218 -0
- package/node_modules/zod/compile.cjs +96 -0
- package/node_modules/zod/compile.d.cts +1 -0
- package/node_modules/zod/compile.d.ts +1 -0
- package/node_modules/zod/compile.js +52 -0
- package/node_modules/zod/index.cjs +52 -0
- package/node_modules/zod/index.d.cts +3 -0
- package/node_modules/zod/index.d.ts +3 -0
- package/node_modules/zod/index.js +7 -0
- package/node_modules/zod/locales/index.cjs +36 -0
- package/node_modules/zod/locales/index.d.cts +1 -0
- package/node_modules/zod/locales/index.d.ts +1 -0
- package/node_modules/zod/locales/index.js +1 -0
- package/node_modules/zod/locales/package.json +7 -0
- package/node_modules/zod/mini/index.cjs +51 -0
- package/node_modules/zod/mini/index.d.cts +3 -0
- package/node_modules/zod/mini/index.d.ts +3 -0
- package/node_modules/zod/mini/index.js +3 -0
- package/node_modules/zod/mini/package.json +7 -0
- package/node_modules/zod/package.json +147 -0
- package/node_modules/zod/src/compile.ts +56 -0
- package/node_modules/zod/src/index.ts +7 -0
- package/node_modules/zod/src/locales/index.ts +1 -0
- package/node_modules/zod/src/mini/index.ts +3 -0
- package/node_modules/zod/src/v3/ZodError.ts +340 -0
- package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/node_modules/zod/src/v3/errors.ts +13 -0
- package/node_modules/zod/src/v3/external.ts +6 -0
- package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/node_modules/zod/src/v3/index.ts +4 -0
- package/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
- package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/node_modules/zod/src/v3/tests/error.test.ts +586 -0
- package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
- package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/node_modules/zod/src/v3/tests/intersection.test.ts +128 -0
- package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/node_modules/zod/src/v3/tests/language-server.test.ts +206 -0
- package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
- package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object.test.ts +431 -0
- package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/readonly.test.ts +114 -0
- package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/node_modules/zod/src/v3/tests/string.test.ts +922 -0
- package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/node_modules/zod/src/v3/types.ts +5138 -0
- package/node_modules/zod/src/v4/classic/checks.ts +33 -0
- package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/node_modules/zod/src/v4/classic/compat.ts +78 -0
- package/node_modules/zod/src/v4/classic/deep-partial.ts +76 -0
- package/node_modules/zod/src/v4/classic/errors.ts +97 -0
- package/node_modules/zod/src/v4/classic/external.ts +57 -0
- package/node_modules/zod/src/v4/classic/from-json-schema.ts +944 -0
- package/node_modules/zod/src/v4/classic/in-out.ts +45 -0
- package/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/node_modules/zod/src/v4/classic/iso.ts +20 -0
- package/node_modules/zod/src/v4/classic/parse.ts +88 -0
- package/node_modules/zod/src/v4/classic/schemas.ts +2937 -0
- package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/apply.test.ts +86 -0
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +402 -0
- package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +89 -0
- package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
- package/node_modules/zod/src/v4/classic/tests/catch.test.ts +604 -0
- package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +572 -0
- package/node_modules/zod/src/v4/classic/tests/codec.test.ts +704 -0
- package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
- package/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +76 -0
- package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +985 -0
- package/node_modules/zod/src/v4/classic/tests/date.test.ts +92 -0
- package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +316 -0
- package/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +380 -0
- package/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/default.test.ts +455 -0
- package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
- package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +221 -0
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +942 -0
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +305 -0
- package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +917 -0
- package/node_modules/zod/src/v4/classic/tests/error.test.ts +1108 -0
- package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
- package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
- package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +1467 -0
- package/node_modules/zod/src/v4/classic/tests/function.test.ts +391 -0
- package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/hash.test.ts +67 -0
- package/node_modules/zod/src/v4/classic/tests/iban.test.ts +81 -0
- package/node_modules/zod/src/v4/classic/tests/in-out.test.ts +159 -0
- package/node_modules/zod/src/v4/classic/tests/index.test.ts +958 -0
- package/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +319 -0
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +127 -0
- package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +334 -0
- package/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +215 -0
- package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +39 -0
- package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
- package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +262 -0
- package/node_modules/zod/src/v4/classic/tests/literal.test.ts +128 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +342 -0
- package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
- package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/node_modules/zod/src/v4/classic/tests/number.test.ts +401 -0
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +1006 -0
- package/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +235 -0
- package/node_modules/zod/src/v4/classic/tests/optional.test.ts +366 -0
- package/node_modules/zod/src/v4/classic/tests/partial.test.ts +497 -0
- package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
- package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
- package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +144 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +44 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
- package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/node_modules/zod/src/v4/classic/tests/properties.test.ts +141 -0
- package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +184 -0
- package/node_modules/zod/src/v4/classic/tests/record.test.ts +885 -0
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +707 -0
- package/node_modules/zod/src/v4/classic/tests/redos.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/refine.test.ts +693 -0
- package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +190 -0
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +153 -0
- package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +1440 -0
- package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +124 -0
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +812 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +4733 -0
- package/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +511 -0
- package/node_modules/zod/src/v4/classic/tests/union.test.ts +310 -0
- package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
- package/node_modules/zod/src/v4/classic/tests/validate.test.ts +645 -0
- package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/node_modules/zod/src/v4/core/api.ts +1875 -0
- package/node_modules/zod/src/v4/core/checks.ts +1266 -0
- package/node_modules/zod/src/v4/core/compile.ts +2313 -0
- package/node_modules/zod/src/v4/core/core.ts +230 -0
- package/node_modules/zod/src/v4/core/doc.ts +52 -0
- package/node_modules/zod/src/v4/core/errors.ts +543 -0
- package/node_modules/zod/src/v4/core/index.ts +19 -0
- package/node_modules/zod/src/v4/core/json-schema-generator.ts +131 -0
- package/node_modules/zod/src/v4/core/json-schema-processors.ts +934 -0
- package/node_modules/zod/src/v4/core/json-schema.ts +148 -0
- package/node_modules/zod/src/v4/core/memoizer.ts +331 -0
- package/node_modules/zod/src/v4/core/parse.ts +309 -0
- package/node_modules/zod/src/v4/core/regexes.ts +217 -0
- package/node_modules/zod/src/v4/core/registries.ts +105 -0
- package/node_modules/zod/src/v4/core/schemas.ts +5192 -0
- package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
- package/node_modules/zod/src/v4/core/tests/cached.test.ts +54 -0
- package/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +1004 -0
- package/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +445 -0
- package/node_modules/zod/src/v4/core/tests/compile-global.test.ts +89 -0
- package/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +26 -0
- package/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +34 -0
- package/node_modules/zod/src/v4/core/tests/compile.test.ts +2036 -0
- package/node_modules/zod/src/v4/core/tests/email-regex.test.ts +140 -0
- package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
- package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +214 -0
- package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +180 -0
- package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
- package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
- package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
- package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +42 -0
- package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +85 -0
- package/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +69 -0
- package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
- package/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
- package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
- package/node_modules/zod/src/v4/core/tests/treeshake.test.ts +51 -0
- package/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +133 -0
- package/node_modules/zod/src/v4/core/to-json-schema.ts +857 -0
- package/node_modules/zod/src/v4/core/util.ts +1280 -0
- package/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/node_modules/zod/src/v4/core/visit.ts +193 -0
- package/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/node_modules/zod/src/v4/index.ts +4 -0
- package/node_modules/zod/src/v4/locales/ar.ts +120 -0
- package/node_modules/zod/src/v4/locales/az.ts +116 -0
- package/node_modules/zod/src/v4/locales/be.ts +188 -0
- package/node_modules/zod/src/v4/locales/bg.ts +133 -0
- package/node_modules/zod/src/v4/locales/bn.ts +123 -0
- package/node_modules/zod/src/v4/locales/ca.ts +121 -0
- package/node_modules/zod/src/v4/locales/ckb.ts +140 -0
- package/node_modules/zod/src/v4/locales/cs.ts +123 -0
- package/node_modules/zod/src/v4/locales/da.ts +128 -0
- package/node_modules/zod/src/v4/locales/de.ts +121 -0
- package/node_modules/zod/src/v4/locales/el.ts +124 -0
- package/node_modules/zod/src/v4/locales/en.ts +136 -0
- package/node_modules/zod/src/v4/locales/eo.ts +123 -0
- package/node_modules/zod/src/v4/locales/es.ts +145 -0
- package/node_modules/zod/src/v4/locales/fa.ts +131 -0
- package/node_modules/zod/src/v4/locales/fi.ts +126 -0
- package/node_modules/zod/src/v4/locales/fr-CA.ts +121 -0
- package/node_modules/zod/src/v4/locales/fr.ts +139 -0
- package/node_modules/zod/src/v4/locales/gu.ts +123 -0
- package/node_modules/zod/src/v4/locales/he.ts +253 -0
- package/node_modules/zod/src/v4/locales/hi.ts +126 -0
- package/node_modules/zod/src/v4/locales/hr.ts +135 -0
- package/node_modules/zod/src/v4/locales/hu.ts +122 -0
- package/node_modules/zod/src/v4/locales/hy.ts +175 -0
- package/node_modules/zod/src/v4/locales/id.ts +120 -0
- package/node_modules/zod/src/v4/locales/index.ts +63 -0
- package/node_modules/zod/src/v4/locales/is.ts +124 -0
- package/node_modules/zod/src/v4/locales/it.ts +121 -0
- package/node_modules/zod/src/v4/locales/ja.ts +119 -0
- package/node_modules/zod/src/v4/locales/ka.ts +128 -0
- package/node_modules/zod/src/v4/locales/kh.ts +7 -0
- package/node_modules/zod/src/v4/locales/km.ts +124 -0
- package/node_modules/zod/src/v4/locales/kn.ts +126 -0
- package/node_modules/zod/src/v4/locales/ko.ts +126 -0
- package/node_modules/zod/src/v4/locales/lt.ts +243 -0
- package/node_modules/zod/src/v4/locales/mk.ts +123 -0
- package/node_modules/zod/src/v4/locales/ms.ts +120 -0
- package/node_modules/zod/src/v4/locales/ne.ts +128 -0
- package/node_modules/zod/src/v4/locales/nl.ts +126 -0
- package/node_modules/zod/src/v4/locales/nn.ts +121 -0
- package/node_modules/zod/src/v4/locales/no.ts +121 -0
- package/node_modules/zod/src/v4/locales/ota.ts +122 -0
- package/node_modules/zod/src/v4/locales/pl.ts +123 -0
- package/node_modules/zod/src/v4/locales/ps.ts +131 -0
- package/node_modules/zod/src/v4/locales/pt-BR.ts +161 -0
- package/node_modules/zod/src/v4/locales/pt.ts +159 -0
- package/node_modules/zod/src/v4/locales/ro.ts +132 -0
- package/node_modules/zod/src/v4/locales/ru.ts +188 -0
- package/node_modules/zod/src/v4/locales/sk.ts +123 -0
- package/node_modules/zod/src/v4/locales/sl.ts +123 -0
- package/node_modules/zod/src/v4/locales/sv.ts +124 -0
- package/node_modules/zod/src/v4/locales/ta.ts +123 -0
- package/node_modules/zod/src/v4/locales/tg.ts +135 -0
- package/node_modules/zod/src/v4/locales/th.ts +124 -0
- package/node_modules/zod/src/v4/locales/tk.ts +113 -0
- package/node_modules/zod/src/v4/locales/tr.ts +116 -0
- package/node_modules/zod/src/v4/locales/ua.ts +7 -0
- package/node_modules/zod/src/v4/locales/uk.ts +122 -0
- package/node_modules/zod/src/v4/locales/ur.ts +124 -0
- package/node_modules/zod/src/v4/locales/uz.ts +120 -0
- package/node_modules/zod/src/v4/locales/vi.ts +122 -0
- package/node_modules/zod/src/v4/locales/yo.ts +129 -0
- package/node_modules/zod/src/v4/locales/zh-CN.ts +121 -0
- package/node_modules/zod/src/v4/locales/zh-TW.ts +120 -0
- package/node_modules/zod/src/v4/mini/checks.ts +33 -0
- package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
- package/node_modules/zod/src/v4/mini/deep-partial.ts +73 -0
- package/node_modules/zod/src/v4/mini/external.ts +52 -0
- package/node_modules/zod/src/v4/mini/in-out.ts +45 -0
- package/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/node_modules/zod/src/v4/mini/iso.ts +66 -0
- package/node_modules/zod/src/v4/mini/parse.ts +16 -0
- package/node_modules/zod/src/v4/mini/schemas.ts +2051 -0
- package/node_modules/zod/src/v4/mini/tests/apply.test.ts +57 -0
- package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +190 -0
- package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
- package/node_modules/zod/src/v4/mini/tests/checks.test.ts +158 -0
- package/node_modules/zod/src/v4/mini/tests/codec.test.ts +582 -0
- package/node_modules/zod/src/v4/mini/tests/computed.test.ts +30 -0
- package/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +84 -0
- package/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +54 -0
- package/node_modules/zod/src/v4/mini/tests/error.test.ts +41 -0
- package/node_modules/zod/src/v4/mini/tests/functions.test.ts +14 -0
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +1146 -0
- package/node_modules/zod/src/v4/mini/tests/number.test.ts +109 -0
- package/node_modules/zod/src/v4/mini/tests/object.test.ts +292 -0
- package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +341 -0
- package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +396 -0
- package/node_modules/zod/src/v4-mini/index.ts +3 -0
- package/node_modules/zod/v3/ZodError.cjs +167 -0
- package/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/node_modules/zod/v3/ZodError.js +143 -0
- package/node_modules/zod/v3/errors.cjs +36 -0
- package/node_modules/zod/v3/errors.d.cts +5 -0
- package/node_modules/zod/v3/errors.d.ts +5 -0
- package/node_modules/zod/v3/errors.js +9 -0
- package/node_modules/zod/v3/external.cjs +41 -0
- package/node_modules/zod/v3/external.d.cts +6 -0
- package/node_modules/zod/v3/external.d.ts +6 -0
- package/node_modules/zod/v3/external.js +6 -0
- package/node_modules/zod/v3/helpers/enumUtil.cjs +21 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/node_modules/zod/v3/helpers/errorUtil.cjs +28 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/node_modules/zod/v3/helpers/parseUtil.cjs +143 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/node_modules/zod/v3/helpers/partialUtil.cjs +21 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/node_modules/zod/v3/helpers/typeAliases.cjs +21 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/node_modules/zod/v3/helpers/util.cjs +156 -0
- package/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/node_modules/zod/v3/helpers/util.js +133 -0
- package/node_modules/zod/v3/index.cjs +52 -0
- package/node_modules/zod/v3/index.d.cts +4 -0
- package/node_modules/zod/v3/index.d.ts +4 -0
- package/node_modules/zod/v3/index.js +4 -0
- package/node_modules/zod/v3/locales/en.cjs +112 -0
- package/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/node_modules/zod/v3/locales/en.js +109 -0
- package/node_modules/zod/v3/package.json +7 -0
- package/node_modules/zod/v3/standard-schema.cjs +21 -0
- package/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/node_modules/zod/v3/standard-schema.js +1 -0
- package/node_modules/zod/v3/types.cjs +3798 -0
- package/node_modules/zod/v3/types.d.cts +1034 -0
- package/node_modules/zod/v3/types.d.ts +1034 -0
- package/node_modules/zod/v3/types.js +3697 -0
- package/node_modules/zod/v4/classic/checks.cjs +53 -0
- package/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/node_modules/zod/v4/classic/checks.js +1 -0
- package/node_modules/zod/v4/classic/coerce.cjs +66 -0
- package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/node_modules/zod/v4/classic/coerce.js +17 -0
- package/node_modules/zod/v4/classic/compat.cjs +80 -0
- package/node_modules/zod/v4/classic/compat.d.cts +48 -0
- package/node_modules/zod/v4/classic/compat.d.ts +48 -0
- package/node_modules/zod/v4/classic/compat.js +31 -0
- package/node_modules/zod/v4/classic/deep-partial.cjs +58 -0
- package/node_modules/zod/v4/classic/deep-partial.d.cts +14 -0
- package/node_modules/zod/v4/classic/deep-partial.d.ts +14 -0
- package/node_modules/zod/v4/classic/deep-partial.js +13 -0
- package/node_modules/zod/v4/classic/errors.cjs +102 -0
- package/node_modules/zod/v4/classic/errors.d.cts +29 -0
- package/node_modules/zod/v4/classic/errors.d.ts +29 -0
- package/node_modules/zod/v4/classic/errors.js +57 -0
- package/node_modules/zod/v4/classic/external.cjs +97 -0
- package/node_modules/zod/v4/classic/external.d.cts +19 -0
- package/node_modules/zod/v4/classic/external.d.ts +19 -0
- package/node_modules/zod/v4/classic/external.js +17 -0
- package/node_modules/zod/v4/classic/from-json-schema.cjs +926 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.js +881 -0
- package/node_modules/zod/v4/classic/in-out.cjs +82 -0
- package/node_modules/zod/v4/classic/in-out.d.cts +8 -0
- package/node_modules/zod/v4/classic/in-out.d.ts +8 -0
- package/node_modules/zod/v4/classic/in-out.js +36 -0
- package/node_modules/zod/v4/classic/index.cjs +52 -0
- package/node_modules/zod/v4/classic/index.d.cts +3 -0
- package/node_modules/zod/v4/classic/index.d.ts +3 -0
- package/node_modules/zod/v4/classic/index.js +4 -0
- package/node_modules/zod/v4/classic/iso.cjs +68 -0
- package/node_modules/zod/v4/classic/iso.d.cts +7 -0
- package/node_modules/zod/v4/classic/iso.d.ts +7 -0
- package/node_modules/zod/v4/classic/iso.js +15 -0
- package/node_modules/zod/v4/classic/package.json +7 -0
- package/node_modules/zod/v4/classic/parse.cjs +63 -0
- package/node_modules/zod/v4/classic/parse.d.cts +44 -0
- package/node_modules/zod/v4/classic/parse.d.ts +44 -0
- package/node_modules/zod/v4/classic/parse.js +16 -0
- package/node_modules/zod/v4/classic/schemas.cjs +1676 -0
- package/node_modules/zod/v4/classic/schemas.d.cts +816 -0
- package/node_modules/zod/v4/classic/schemas.d.ts +816 -0
- package/node_modules/zod/v4/classic/schemas.js +1535 -0
- package/node_modules/zod/v4/core/api.cjs +1269 -0
- package/node_modules/zod/v4/core/api.d.cts +335 -0
- package/node_modules/zod/v4/core/api.d.ts +335 -0
- package/node_modules/zod/v4/core/api.js +1107 -0
- package/node_modules/zod/v4/core/checks.cjs +561 -0
- package/node_modules/zod/v4/core/checks.d.cts +294 -0
- package/node_modules/zod/v4/core/checks.d.ts +294 -0
- package/node_modules/zod/v4/core/checks.js +516 -0
- package/node_modules/zod/v4/core/compile.cjs +1908 -0
- package/node_modules/zod/v4/core/compile.d.cts +65 -0
- package/node_modules/zod/v4/core/compile.d.ts +65 -0
- package/node_modules/zod/v4/core/compile.js +1858 -0
- package/node_modules/zod/v4/core/core.cjs +167 -0
- package/node_modules/zod/v4/core/core.d.cts +82 -0
- package/node_modules/zod/v4/core/core.d.ts +82 -0
- package/node_modules/zod/v4/core/core.js +141 -0
- package/node_modules/zod/v4/core/doc.cjs +61 -0
- package/node_modules/zod/v4/core/doc.d.cts +16 -0
- package/node_modules/zod/v4/core/doc.d.ts +16 -0
- package/node_modules/zod/v4/core/doc.js +38 -0
- package/node_modules/zod/v4/core/errors.cjs +317 -0
- package/node_modules/zod/v4/core/errors.d.cts +225 -0
- package/node_modules/zod/v4/core/errors.d.ts +225 -0
- package/node_modules/zod/v4/core/errors.js +267 -0
- package/node_modules/zod/v4/core/index.cjs +70 -0
- package/node_modules/zod/v4/core/index.d.cts +19 -0
- package/node_modules/zod/v4/core/index.d.ts +19 -0
- package/node_modules/zod/v4/core/index.js +19 -0
- package/node_modules/zod/v4/core/json-schema-generator.cjs +122 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.js +99 -0
- package/node_modules/zod/v4/core/json-schema-processors.cjs +929 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.cts +65 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.ts +65 -0
- package/node_modules/zod/v4/core/json-schema-processors.js +843 -0
- package/node_modules/zod/v4/core/json-schema.cjs +21 -0
- package/node_modules/zod/v4/core/json-schema.d.cts +89 -0
- package/node_modules/zod/v4/core/json-schema.d.ts +89 -0
- package/node_modules/zod/v4/core/json-schema.js +1 -0
- package/node_modules/zod/v4/core/memoizer.cjs +360 -0
- package/node_modules/zod/v4/core/memoizer.d.cts +15 -0
- package/node_modules/zod/v4/core/memoizer.d.ts +15 -0
- package/node_modules/zod/v4/core/memoizer.js +311 -0
- package/node_modules/zod/v4/core/package.json +7 -0
- package/node_modules/zod/v4/core/parse.cjs +233 -0
- package/node_modules/zod/v4/core/parse.d.cts +52 -0
- package/node_modules/zod/v4/core/parse.d.ts +52 -0
- package/node_modules/zod/v4/core/parse.js +175 -0
- package/node_modules/zod/v4/core/regexes.cjs +209 -0
- package/node_modules/zod/v4/core/regexes.d.cts +90 -0
- package/node_modules/zod/v4/core/regexes.d.ts +90 -0
- package/node_modules/zod/v4/core/regexes.js +156 -0
- package/node_modules/zod/v4/core/registries.cjs +75 -0
- package/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/node_modules/zod/v4/core/registries.js +51 -0
- package/node_modules/zod/v4/core/schemas.cjs +2669 -0
- package/node_modules/zod/v4/core/schemas.d.cts +1273 -0
- package/node_modules/zod/v4/core/schemas.d.ts +1273 -0
- package/node_modules/zod/v4/core/schemas.js +2606 -0
- package/node_modules/zod/v4/core/standard-schema.cjs +21 -0
- package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
- package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
- package/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/node_modules/zod/v4/core/to-json-schema.cjs +681 -0
- package/node_modules/zod/v4/core/to-json-schema.d.cts +154 -0
- package/node_modules/zod/v4/core/to-json-schema.d.ts +154 -0
- package/node_modules/zod/v4/core/to-json-schema.js +651 -0
- package/node_modules/zod/v4/core/util.cjs +949 -0
- package/node_modules/zod/v4/core/util.d.cts +278 -0
- package/node_modules/zod/v4/core/util.d.ts +278 -0
- package/node_modules/zod/v4/core/util.js +859 -0
- package/node_modules/zod/v4/core/versions.cjs +27 -0
- package/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/node_modules/zod/v4/core/versions.js +5 -0
- package/node_modules/zod/v4/core/visit.cjs +214 -0
- package/node_modules/zod/v4/core/visit.d.cts +30 -0
- package/node_modules/zod/v4/core/visit.d.ts +30 -0
- package/node_modules/zod/v4/core/visit.js +169 -0
- package/node_modules/zod/v4/index.cjs +51 -0
- package/node_modules/zod/v4/index.d.cts +3 -0
- package/node_modules/zod/v4/index.d.ts +3 -0
- package/node_modules/zod/v4/index.js +4 -0
- package/node_modules/zod/v4/locales/ar.cjs +138 -0
- package/node_modules/zod/v4/locales/ar.d.cts +5 -0
- package/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/node_modules/zod/v4/locales/ar.js +111 -0
- package/node_modules/zod/v4/locales/az.cjs +137 -0
- package/node_modules/zod/v4/locales/az.d.cts +5 -0
- package/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/node_modules/zod/v4/locales/az.js +110 -0
- package/node_modules/zod/v4/locales/be.cjs +195 -0
- package/node_modules/zod/v4/locales/be.d.cts +5 -0
- package/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/node_modules/zod/v4/locales/be.js +168 -0
- package/node_modules/zod/v4/locales/bg.cjs +152 -0
- package/node_modules/zod/v4/locales/bg.d.cts +5 -0
- package/node_modules/zod/v4/locales/bg.d.ts +4 -0
- package/node_modules/zod/v4/locales/bg.js +125 -0
- package/node_modules/zod/v4/locales/bn.cjs +140 -0
- package/node_modules/zod/v4/locales/bn.d.cts +5 -0
- package/node_modules/zod/v4/locales/bn.d.ts +4 -0
- package/node_modules/zod/v4/locales/bn.js +113 -0
- package/node_modules/zod/v4/locales/ca.cjs +139 -0
- package/node_modules/zod/v4/locales/ca.d.cts +5 -0
- package/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/node_modules/zod/v4/locales/ca.js +112 -0
- package/node_modules/zod/v4/locales/ckb.cjs +160 -0
- package/node_modules/zod/v4/locales/ckb.d.cts +5 -0
- package/node_modules/zod/v4/locales/ckb.d.ts +4 -0
- package/node_modules/zod/v4/locales/ckb.js +133 -0
- package/node_modules/zod/v4/locales/cs.cjs +143 -0
- package/node_modules/zod/v4/locales/cs.d.cts +5 -0
- package/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/node_modules/zod/v4/locales/cs.js +116 -0
- package/node_modules/zod/v4/locales/da.cjs +147 -0
- package/node_modules/zod/v4/locales/da.d.cts +5 -0
- package/node_modules/zod/v4/locales/da.d.ts +4 -0
- package/node_modules/zod/v4/locales/da.js +120 -0
- package/node_modules/zod/v4/locales/de.cjs +140 -0
- package/node_modules/zod/v4/locales/de.d.cts +5 -0
- package/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/node_modules/zod/v4/locales/de.js +113 -0
- package/node_modules/zod/v4/locales/el.cjs +139 -0
- package/node_modules/zod/v4/locales/el.d.cts +5 -0
- package/node_modules/zod/v4/locales/el.d.ts +4 -0
- package/node_modules/zod/v4/locales/el.js +112 -0
- package/node_modules/zod/v4/locales/en.cjs +152 -0
- package/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/node_modules/zod/v4/locales/en.d.ts +4 -0
- package/node_modules/zod/v4/locales/en.js +125 -0
- package/node_modules/zod/v4/locales/eo.cjs +141 -0
- package/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/node_modules/zod/v4/locales/eo.d.ts +4 -0
- package/node_modules/zod/v4/locales/eo.js +114 -0
- package/node_modules/zod/v4/locales/es.cjs +163 -0
- package/node_modules/zod/v4/locales/es.d.cts +5 -0
- package/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/node_modules/zod/v4/locales/es.js +136 -0
- package/node_modules/zod/v4/locales/fa.cjs +146 -0
- package/node_modules/zod/v4/locales/fa.d.cts +5 -0
- package/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/node_modules/zod/v4/locales/fa.js +119 -0
- package/node_modules/zod/v4/locales/fi.cjs +144 -0
- package/node_modules/zod/v4/locales/fi.d.cts +5 -0
- package/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/node_modules/zod/v4/locales/fi.js +117 -0
- package/node_modules/zod/v4/locales/fr-CA.cjs +139 -0
- package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr-CA.js +112 -0
- package/node_modules/zod/v4/locales/fr.cjs +156 -0
- package/node_modules/zod/v4/locales/fr.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr.js +129 -0
- package/node_modules/zod/v4/locales/gu.cjs +140 -0
- package/node_modules/zod/v4/locales/gu.d.cts +5 -0
- package/node_modules/zod/v4/locales/gu.d.ts +4 -0
- package/node_modules/zod/v4/locales/gu.js +113 -0
- package/node_modules/zod/v4/locales/he.cjs +248 -0
- package/node_modules/zod/v4/locales/he.d.cts +5 -0
- package/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/node_modules/zod/v4/locales/he.js +221 -0
- package/node_modules/zod/v4/locales/hi.cjs +138 -0
- package/node_modules/zod/v4/locales/hi.d.cts +5 -0
- package/node_modules/zod/v4/locales/hi.d.ts +4 -0
- package/node_modules/zod/v4/locales/hi.js +111 -0
- package/node_modules/zod/v4/locales/hr.cjs +153 -0
- package/node_modules/zod/v4/locales/hr.d.cts +5 -0
- package/node_modules/zod/v4/locales/hr.d.ts +4 -0
- package/node_modules/zod/v4/locales/hr.js +126 -0
- package/node_modules/zod/v4/locales/hu.cjs +140 -0
- package/node_modules/zod/v4/locales/hu.d.cts +5 -0
- package/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/node_modules/zod/v4/locales/hu.js +113 -0
- package/node_modules/zod/v4/locales/hy.cjs +185 -0
- package/node_modules/zod/v4/locales/hy.d.cts +5 -0
- package/node_modules/zod/v4/locales/hy.d.ts +4 -0
- package/node_modules/zod/v4/locales/hy.js +158 -0
- package/node_modules/zod/v4/locales/id.cjs +138 -0
- package/node_modules/zod/v4/locales/id.d.cts +5 -0
- package/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/node_modules/zod/v4/locales/id.js +111 -0
- package/node_modules/zod/v4/locales/index.cjs +152 -0
- package/node_modules/zod/v4/locales/index.d.cts +63 -0
- package/node_modules/zod/v4/locales/index.d.ts +63 -0
- package/node_modules/zod/v4/locales/index.js +63 -0
- package/node_modules/zod/v4/locales/is.cjs +141 -0
- package/node_modules/zod/v4/locales/is.d.cts +5 -0
- package/node_modules/zod/v4/locales/is.d.ts +4 -0
- package/node_modules/zod/v4/locales/is.js +114 -0
- package/node_modules/zod/v4/locales/it.cjs +140 -0
- package/node_modules/zod/v4/locales/it.d.cts +5 -0
- package/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/node_modules/zod/v4/locales/it.js +113 -0
- package/node_modules/zod/v4/locales/ja.cjs +139 -0
- package/node_modules/zod/v4/locales/ja.d.cts +5 -0
- package/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/node_modules/zod/v4/locales/ja.js +112 -0
- package/node_modules/zod/v4/locales/ka.cjs +144 -0
- package/node_modules/zod/v4/locales/ka.d.cts +5 -0
- package/node_modules/zod/v4/locales/ka.d.ts +4 -0
- package/node_modules/zod/v4/locales/ka.js +117 -0
- package/node_modules/zod/v4/locales/kh.cjs +12 -0
- package/node_modules/zod/v4/locales/kh.d.cts +5 -0
- package/node_modules/zod/v4/locales/kh.d.ts +5 -0
- package/node_modules/zod/v4/locales/kh.js +5 -0
- package/node_modules/zod/v4/locales/km.cjs +142 -0
- package/node_modules/zod/v4/locales/km.d.cts +5 -0
- package/node_modules/zod/v4/locales/km.d.ts +4 -0
- package/node_modules/zod/v4/locales/km.js +115 -0
- package/node_modules/zod/v4/locales/kn.cjs +143 -0
- package/node_modules/zod/v4/locales/kn.d.cts +5 -0
- package/node_modules/zod/v4/locales/kn.d.ts +4 -0
- package/node_modules/zod/v4/locales/kn.js +116 -0
- package/node_modules/zod/v4/locales/ko.cjs +143 -0
- package/node_modules/zod/v4/locales/ko.d.cts +5 -0
- package/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/node_modules/zod/v4/locales/ko.js +116 -0
- package/node_modules/zod/v4/locales/lt.cjs +234 -0
- package/node_modules/zod/v4/locales/lt.d.cts +5 -0
- package/node_modules/zod/v4/locales/lt.d.ts +4 -0
- package/node_modules/zod/v4/locales/lt.js +207 -0
- package/node_modules/zod/v4/locales/mk.cjs +141 -0
- package/node_modules/zod/v4/locales/mk.d.cts +5 -0
- package/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/node_modules/zod/v4/locales/mk.js +114 -0
- package/node_modules/zod/v4/locales/ms.cjs +139 -0
- package/node_modules/zod/v4/locales/ms.d.cts +5 -0
- package/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/node_modules/zod/v4/locales/ms.js +112 -0
- package/node_modules/zod/v4/locales/ne.cjs +138 -0
- package/node_modules/zod/v4/locales/ne.d.cts +5 -0
- package/node_modules/zod/v4/locales/ne.d.ts +4 -0
- package/node_modules/zod/v4/locales/ne.js +111 -0
- package/node_modules/zod/v4/locales/nl.cjs +142 -0
- package/node_modules/zod/v4/locales/nl.d.cts +5 -0
- package/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/node_modules/zod/v4/locales/nl.js +115 -0
- package/node_modules/zod/v4/locales/nn.cjs +140 -0
- package/node_modules/zod/v4/locales/nn.d.cts +5 -0
- package/node_modules/zod/v4/locales/nn.d.ts +4 -0
- package/node_modules/zod/v4/locales/nn.js +113 -0
- package/node_modules/zod/v4/locales/no.cjs +140 -0
- package/node_modules/zod/v4/locales/no.d.cts +5 -0
- package/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/node_modules/zod/v4/locales/no.js +113 -0
- package/node_modules/zod/v4/locales/ota.cjs +141 -0
- package/node_modules/zod/v4/locales/ota.d.cts +5 -0
- package/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/node_modules/zod/v4/locales/ota.js +114 -0
- package/node_modules/zod/v4/locales/package.json +7 -0
- package/node_modules/zod/v4/locales/pl.cjs +141 -0
- package/node_modules/zod/v4/locales/pl.d.cts +5 -0
- package/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/node_modules/zod/v4/locales/pl.js +114 -0
- package/node_modules/zod/v4/locales/ps.cjs +146 -0
- package/node_modules/zod/v4/locales/ps.d.cts +5 -0
- package/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/node_modules/zod/v4/locales/ps.js +119 -0
- package/node_modules/zod/v4/locales/pt-BR.cjs +170 -0
- package/node_modules/zod/v4/locales/pt-BR.d.cts +5 -0
- package/node_modules/zod/v4/locales/pt-BR.d.ts +4 -0
- package/node_modules/zod/v4/locales/pt-BR.js +143 -0
- package/node_modules/zod/v4/locales/pt.cjs +169 -0
- package/node_modules/zod/v4/locales/pt.d.cts +5 -0
- package/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/node_modules/zod/v4/locales/pt.js +142 -0
- package/node_modules/zod/v4/locales/ro.cjs +149 -0
- package/node_modules/zod/v4/locales/ro.d.cts +5 -0
- package/node_modules/zod/v4/locales/ro.d.ts +4 -0
- package/node_modules/zod/v4/locales/ro.js +122 -0
- package/node_modules/zod/v4/locales/ru.cjs +195 -0
- package/node_modules/zod/v4/locales/ru.d.cts +5 -0
- package/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/node_modules/zod/v4/locales/ru.js +168 -0
- package/node_modules/zod/v4/locales/sk.cjs +143 -0
- package/node_modules/zod/v4/locales/sk.d.cts +5 -0
- package/node_modules/zod/v4/locales/sk.d.ts +4 -0
- package/node_modules/zod/v4/locales/sk.js +116 -0
- package/node_modules/zod/v4/locales/sl.cjs +141 -0
- package/node_modules/zod/v4/locales/sl.d.cts +5 -0
- package/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/node_modules/zod/v4/locales/sl.js +114 -0
- package/node_modules/zod/v4/locales/sv.cjs +142 -0
- package/node_modules/zod/v4/locales/sv.d.cts +5 -0
- package/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/node_modules/zod/v4/locales/sv.js +115 -0
- package/node_modules/zod/v4/locales/ta.cjs +142 -0
- package/node_modules/zod/v4/locales/ta.d.cts +5 -0
- package/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/node_modules/zod/v4/locales/ta.js +115 -0
- package/node_modules/zod/v4/locales/tg.cjs +144 -0
- package/node_modules/zod/v4/locales/tg.d.cts +5 -0
- package/node_modules/zod/v4/locales/tg.d.ts +4 -0
- package/node_modules/zod/v4/locales/tg.js +117 -0
- package/node_modules/zod/v4/locales/th.cjs +142 -0
- package/node_modules/zod/v4/locales/th.d.cts +5 -0
- package/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/node_modules/zod/v4/locales/th.js +115 -0
- package/node_modules/zod/v4/locales/tk.cjs +134 -0
- package/node_modules/zod/v4/locales/tk.d.cts +5 -0
- package/node_modules/zod/v4/locales/tk.d.ts +4 -0
- package/node_modules/zod/v4/locales/tk.js +107 -0
- package/node_modules/zod/v4/locales/tr.cjs +137 -0
- package/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/node_modules/zod/v4/locales/tr.d.ts +4 -0
- package/node_modules/zod/v4/locales/tr.js +110 -0
- package/node_modules/zod/v4/locales/ua.cjs +12 -0
- package/node_modules/zod/v4/locales/ua.d.cts +5 -0
- package/node_modules/zod/v4/locales/ua.d.ts +5 -0
- package/node_modules/zod/v4/locales/ua.js +5 -0
- package/node_modules/zod/v4/locales/uk.cjs +140 -0
- package/node_modules/zod/v4/locales/uk.d.cts +5 -0
- package/node_modules/zod/v4/locales/uk.d.ts +4 -0
- package/node_modules/zod/v4/locales/uk.js +113 -0
- package/node_modules/zod/v4/locales/ur.cjs +142 -0
- package/node_modules/zod/v4/locales/ur.d.cts +5 -0
- package/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/node_modules/zod/v4/locales/ur.js +115 -0
- package/node_modules/zod/v4/locales/uz.cjs +140 -0
- package/node_modules/zod/v4/locales/uz.d.cts +5 -0
- package/node_modules/zod/v4/locales/uz.d.ts +4 -0
- package/node_modules/zod/v4/locales/uz.js +113 -0
- package/node_modules/zod/v4/locales/vi.cjs +140 -0
- package/node_modules/zod/v4/locales/vi.d.cts +5 -0
- package/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/node_modules/zod/v4/locales/vi.js +113 -0
- package/node_modules/zod/v4/locales/yo.cjs +139 -0
- package/node_modules/zod/v4/locales/yo.d.cts +5 -0
- package/node_modules/zod/v4/locales/yo.d.ts +4 -0
- package/node_modules/zod/v4/locales/yo.js +112 -0
- package/node_modules/zod/v4/locales/zh-CN.cjs +141 -0
- package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-CN.js +114 -0
- package/node_modules/zod/v4/locales/zh-TW.cjs +139 -0
- package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-TW.js +112 -0
- package/node_modules/zod/v4/mini/checks.cjs +54 -0
- package/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/node_modules/zod/v4/mini/checks.js +1 -0
- package/node_modules/zod/v4/mini/coerce.cjs +71 -0
- package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/node_modules/zod/v4/mini/coerce.js +22 -0
- package/node_modules/zod/v4/mini/deep-partial.cjs +58 -0
- package/node_modules/zod/v4/mini/deep-partial.d.cts +14 -0
- package/node_modules/zod/v4/mini/deep-partial.d.ts +14 -0
- package/node_modules/zod/v4/mini/deep-partial.js +13 -0
- package/node_modules/zod/v4/mini/external.cjs +95 -0
- package/node_modules/zod/v4/mini/external.d.cts +16 -0
- package/node_modules/zod/v4/mini/external.d.ts +16 -0
- package/node_modules/zod/v4/mini/external.js +16 -0
- package/node_modules/zod/v4/mini/in-out.cjs +82 -0
- package/node_modules/zod/v4/mini/in-out.d.cts +8 -0
- package/node_modules/zod/v4/mini/in-out.d.ts +8 -0
- package/node_modules/zod/v4/mini/in-out.js +36 -0
- package/node_modules/zod/v4/mini/index.cjs +51 -0
- package/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/node_modules/zod/v4/mini/index.js +3 -0
- package/node_modules/zod/v4/mini/iso.cjs +83 -0
- package/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/node_modules/zod/v4/mini/iso.js +34 -0
- package/node_modules/zod/v4/mini/package.json +7 -0
- package/node_modules/zod/v4/mini/parse.cjs +37 -0
- package/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/node_modules/zod/v4/mini/parse.js +1 -0
- package/node_modules/zod/v4/mini/schemas.cjs +1147 -0
- package/node_modules/zod/v4/mini/schemas.d.cts +480 -0
- package/node_modules/zod/v4/mini/schemas.d.ts +480 -0
- package/node_modules/zod/v4/mini/schemas.js +1002 -0
- package/node_modules/zod/v4/package.json +7 -0
- package/node_modules/zod/v4-mini/index.cjs +51 -0
- package/node_modules/zod/v4-mini/index.d.cts +3 -0
- package/node_modules/zod/v4-mini/index.d.ts +3 -0
- package/node_modules/zod/v4-mini/index.js +3 -0
- package/node_modules/zod/v4-mini/package.json +7 -0
- package/package.json +9 -1
- package/sandbox/boot/bootstrap/drives.ps1 +29 -0
- package/sandbox/boot/bootstrap/files.ps1 +49 -0
- package/sandbox/boot/bootstrap/runner.ps1 +87 -0
- package/sandbox/boot/bootstrap/status.ps1 +8 -0
- package/sandbox/boot/bootstrap.ps1 +91 -0
- package/sandbox/{logon.cmd → boot/logon.cmd} +11 -5
- package/sandbox/{cargoshim.cs → csharp/CargoShim.cs} +28 -7
- package/sandbox/csharp/Desktop.cs +33 -0
- package/sandbox/{gitshim.cs → csharp/GitShim.cs} +15 -3
- package/sandbox/{linkgate.cs → csharp/LinkGate.cs} +15 -5
- package/sandbox/{openssl.cs → csharp/OpenSsl.cs} +18 -4
- package/sandbox/csharp/PtyHost.cs +1327 -0
- package/sandbox/csharp/SandboxTools/CpuCap.cs +134 -0
- package/sandbox/csharp/SandboxTools/MemoryLog.cs +157 -0
- package/sandbox/csharp/SandboxTools/PageFile.cs +72 -0
- package/sandbox/csharp/SandboxTools/Program.cs +153 -0
- package/sandbox/csharp/VsWhere.cs +145 -0
- package/sandbox/csharp/VtInput.cs +63 -0
- package/sandbox/scripts/enable-vt-input.ps1 +9 -0
- package/sandbox/scripts/expand-archive.ps1 +9 -0
- package/sandbox/scripts/get-gpu-names.ps1 +5 -0
- package/sandbox/scripts/get-signer.ps1 +8 -0
- package/sandbox/scripts/link-profile-dirs.ps1 +35 -0
- package/sandbox/scripts/new-shortcuts.ps1 +15 -0
- package/sandbox/scripts/set-desktop.ps1 +16 -0
- package/sandbox/scripts/set-dns-servers.ps1 +8 -0
- package/sandbox/scripts/set-machine-environment.ps1 +29 -0
- package/schemas/config.schema.json +108 -6
- package/schemas/sandbox-config.schema.json +30 -6
- package/dist/cli/menu/home.d.ts +0 -22
- package/dist/cli/menu/home.js +0 -72
- package/dist/cli/menu/settings/settings-editor.d.ts +0 -30
- package/dist/cli/menu/settings/settings-editor.js +0 -176
- package/sandbox/bootstrap.ps1 +0 -258
- package/sandbox/cpucap.cs +0 -33
- package/sandbox/cpucap.ps1 +0 -20
- package/sandbox/memlog.ps1 +0 -43
- package/sandbox/pagefile.cs +0 -31
- package/sandbox/pagefile.ps1 +0 -21
- package/sandbox/ptyhost.cs +0 -769
- package/sandbox/vswhere.cs +0 -83
- /package/sandbox/{trust.cmd → boot/trust.cmd} +0 -0
package/dist/runtime/db.js
CHANGED
|
@@ -1363,11 +1363,11 @@ var require_lodash = __commonJS({
|
|
|
1363
1363
|
return isFunction(object2[key]);
|
|
1364
1364
|
});
|
|
1365
1365
|
}
|
|
1366
|
-
function baseGet(object2,
|
|
1367
|
-
|
|
1368
|
-
var index = 0, length =
|
|
1366
|
+
function baseGet(object2, path22) {
|
|
1367
|
+
path22 = castPath(path22, object2);
|
|
1368
|
+
var index = 0, length = path22.length;
|
|
1369
1369
|
while (object2 != null && index < length) {
|
|
1370
|
-
object2 = object2[toKey(
|
|
1370
|
+
object2 = object2[toKey(path22[index++])];
|
|
1371
1371
|
}
|
|
1372
1372
|
return index && index == length ? object2 : undefined2;
|
|
1373
1373
|
}
|
|
@@ -1431,10 +1431,10 @@ var require_lodash = __commonJS({
|
|
|
1431
1431
|
});
|
|
1432
1432
|
return accumulator;
|
|
1433
1433
|
}
|
|
1434
|
-
function baseInvoke(object2,
|
|
1435
|
-
|
|
1436
|
-
object2 = parent(object2,
|
|
1437
|
-
var func = object2 == null ? object2 : object2[toKey(last(
|
|
1434
|
+
function baseInvoke(object2, path22, args) {
|
|
1435
|
+
path22 = castPath(path22, object2);
|
|
1436
|
+
object2 = parent(object2, path22);
|
|
1437
|
+
var func = object2 == null ? object2 : object2[toKey(last(path22))];
|
|
1438
1438
|
return func == null ? undefined2 : apply(func, object2, args);
|
|
1439
1439
|
}
|
|
1440
1440
|
function baseIsArguments(value) {
|
|
@@ -1590,13 +1590,13 @@ var require_lodash = __commonJS({
|
|
|
1590
1590
|
return object2 === source || baseIsMatch(object2, source, matchData);
|
|
1591
1591
|
};
|
|
1592
1592
|
}
|
|
1593
|
-
function baseMatchesProperty(
|
|
1594
|
-
if (isKey(
|
|
1595
|
-
return matchesStrictComparable(toKey(
|
|
1593
|
+
function baseMatchesProperty(path22, srcValue) {
|
|
1594
|
+
if (isKey(path22) && isStrictComparable(srcValue)) {
|
|
1595
|
+
return matchesStrictComparable(toKey(path22), srcValue);
|
|
1596
1596
|
}
|
|
1597
1597
|
return function(object2) {
|
|
1598
|
-
var objValue = get(object2,
|
|
1599
|
-
return objValue === undefined2 && objValue === srcValue ? hasIn(object2,
|
|
1598
|
+
var objValue = get(object2, path22);
|
|
1599
|
+
return objValue === undefined2 && objValue === srcValue ? hasIn(object2, path22) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
|
|
1600
1600
|
};
|
|
1601
1601
|
}
|
|
1602
1602
|
function baseMerge(object2, source, srcIndex, customizer, stack) {
|
|
@@ -1693,23 +1693,23 @@ var require_lodash = __commonJS({
|
|
|
1693
1693
|
});
|
|
1694
1694
|
}
|
|
1695
1695
|
function basePick(object2, paths) {
|
|
1696
|
-
return basePickBy(object2, paths, function(value,
|
|
1697
|
-
return hasIn(object2,
|
|
1696
|
+
return basePickBy(object2, paths, function(value, path22) {
|
|
1697
|
+
return hasIn(object2, path22);
|
|
1698
1698
|
});
|
|
1699
1699
|
}
|
|
1700
1700
|
function basePickBy(object2, paths, predicate) {
|
|
1701
1701
|
var index = -1, length = paths.length, result2 = {};
|
|
1702
1702
|
while (++index < length) {
|
|
1703
|
-
var
|
|
1704
|
-
if (predicate(value,
|
|
1705
|
-
baseSet(result2, castPath(
|
|
1703
|
+
var path22 = paths[index], value = baseGet(object2, path22);
|
|
1704
|
+
if (predicate(value, path22)) {
|
|
1705
|
+
baseSet(result2, castPath(path22, object2), value);
|
|
1706
1706
|
}
|
|
1707
1707
|
}
|
|
1708
1708
|
return result2;
|
|
1709
1709
|
}
|
|
1710
|
-
function basePropertyDeep(
|
|
1710
|
+
function basePropertyDeep(path22) {
|
|
1711
1711
|
return function(object2) {
|
|
1712
|
-
return baseGet(object2,
|
|
1712
|
+
return baseGet(object2, path22);
|
|
1713
1713
|
};
|
|
1714
1714
|
}
|
|
1715
1715
|
function basePullAll(array2, values2, iteratee2, comparator) {
|
|
@@ -1783,14 +1783,14 @@ var require_lodash = __commonJS({
|
|
|
1783
1783
|
var array2 = values(collection);
|
|
1784
1784
|
return shuffleSelf(array2, baseClamp(n, 0, array2.length));
|
|
1785
1785
|
}
|
|
1786
|
-
function baseSet(object2,
|
|
1786
|
+
function baseSet(object2, path22, value, customizer) {
|
|
1787
1787
|
if (!isObject2(object2)) {
|
|
1788
1788
|
return object2;
|
|
1789
1789
|
}
|
|
1790
|
-
|
|
1791
|
-
var index = -1, length =
|
|
1790
|
+
path22 = castPath(path22, object2);
|
|
1791
|
+
var index = -1, length = path22.length, lastIndex = length - 1, nested = object2;
|
|
1792
1792
|
while (nested != null && ++index < length) {
|
|
1793
|
-
var key = toKey(
|
|
1793
|
+
var key = toKey(path22[index]), newValue = value;
|
|
1794
1794
|
if (key === "__proto__" || key === "constructor" || key === "prototype") {
|
|
1795
1795
|
return object2;
|
|
1796
1796
|
}
|
|
@@ -1798,7 +1798,7 @@ var require_lodash = __commonJS({
|
|
|
1798
1798
|
var objValue = nested[key];
|
|
1799
1799
|
newValue = customizer ? customizer(objValue, key, nested) : undefined2;
|
|
1800
1800
|
if (newValue === undefined2) {
|
|
1801
|
-
newValue = isObject2(objValue) ? objValue : isIndex(
|
|
1801
|
+
newValue = isObject2(objValue) ? objValue : isIndex(path22[index + 1]) ? [] : {};
|
|
1802
1802
|
}
|
|
1803
1803
|
}
|
|
1804
1804
|
assignValue(nested, key, newValue);
|
|
@@ -1964,14 +1964,14 @@ var require_lodash = __commonJS({
|
|
|
1964
1964
|
}
|
|
1965
1965
|
return result2;
|
|
1966
1966
|
}
|
|
1967
|
-
function baseUnset(object2,
|
|
1968
|
-
|
|
1969
|
-
var index = -1, length =
|
|
1967
|
+
function baseUnset(object2, path22) {
|
|
1968
|
+
path22 = castPath(path22, object2);
|
|
1969
|
+
var index = -1, length = path22.length;
|
|
1970
1970
|
if (!length) {
|
|
1971
1971
|
return true;
|
|
1972
1972
|
}
|
|
1973
1973
|
while (++index < length) {
|
|
1974
|
-
var key = toKey(
|
|
1974
|
+
var key = toKey(path22[index]);
|
|
1975
1975
|
if (key === "__proto__" && !hasOwnProperty.call(object2, "__proto__")) {
|
|
1976
1976
|
return false;
|
|
1977
1977
|
}
|
|
@@ -1979,11 +1979,11 @@ var require_lodash = __commonJS({
|
|
|
1979
1979
|
return false;
|
|
1980
1980
|
}
|
|
1981
1981
|
}
|
|
1982
|
-
var obj = parent(object2,
|
|
1983
|
-
return obj == null || delete obj[toKey(last(
|
|
1982
|
+
var obj = parent(object2, path22);
|
|
1983
|
+
return obj == null || delete obj[toKey(last(path22))];
|
|
1984
1984
|
}
|
|
1985
|
-
function baseUpdate(object2,
|
|
1986
|
-
return baseSet(object2,
|
|
1985
|
+
function baseUpdate(object2, path22, updater, customizer) {
|
|
1986
|
+
return baseSet(object2, path22, updater(baseGet(object2, path22)), customizer);
|
|
1987
1987
|
}
|
|
1988
1988
|
function baseWhile(array2, predicate, isDrop, fromRight) {
|
|
1989
1989
|
var length = array2.length, index = fromRight ? length : -1;
|
|
@@ -2866,11 +2866,11 @@ var require_lodash = __commonJS({
|
|
|
2866
2866
|
var match = source.match(reWrapDetails);
|
|
2867
2867
|
return match ? match[1].split(reSplitDetails) : [];
|
|
2868
2868
|
}
|
|
2869
|
-
function hasPath(object2,
|
|
2870
|
-
|
|
2871
|
-
var index = -1, length =
|
|
2869
|
+
function hasPath(object2, path22, hasFunc) {
|
|
2870
|
+
path22 = castPath(path22, object2);
|
|
2871
|
+
var index = -1, length = path22.length, result2 = false;
|
|
2872
2872
|
while (++index < length) {
|
|
2873
|
-
var key = toKey(
|
|
2873
|
+
var key = toKey(path22[index]);
|
|
2874
2874
|
if (!(result2 = object2 != null && hasFunc(object2, key))) {
|
|
2875
2875
|
break;
|
|
2876
2876
|
}
|
|
@@ -3072,8 +3072,8 @@ var require_lodash = __commonJS({
|
|
|
3072
3072
|
return apply(func, this, otherArgs);
|
|
3073
3073
|
};
|
|
3074
3074
|
}
|
|
3075
|
-
function parent(object2,
|
|
3076
|
-
return
|
|
3075
|
+
function parent(object2, path22) {
|
|
3076
|
+
return path22.length < 2 ? object2 : baseGet(object2, baseSlice(path22, 0, -1));
|
|
3077
3077
|
}
|
|
3078
3078
|
function reorder(array2, indexes) {
|
|
3079
3079
|
var arrLength = array2.length, length = nativeMin(indexes.length, arrLength), oldArray = copyArray(array2);
|
|
@@ -3708,10 +3708,10 @@ var require_lodash = __commonJS({
|
|
|
3708
3708
|
}
|
|
3709
3709
|
return isString(collection) ? fromIndex <= length && collection.indexOf(value, fromIndex) > -1 : !!length && baseIndexOf(collection, value, fromIndex) > -1;
|
|
3710
3710
|
}
|
|
3711
|
-
var invokeMap = baseRest(function(collection,
|
|
3712
|
-
var index = -1, isFunc = typeof
|
|
3711
|
+
var invokeMap = baseRest(function(collection, path22, args) {
|
|
3712
|
+
var index = -1, isFunc = typeof path22 == "function", result2 = isArrayLike(collection) ? Array2(collection.length) : [];
|
|
3713
3713
|
baseEach(collection, function(value) {
|
|
3714
|
-
result2[++index] = isFunc ? apply(
|
|
3714
|
+
result2[++index] = isFunc ? apply(path22, value, args) : baseInvoke(value, path22, args);
|
|
3715
3715
|
});
|
|
3716
3716
|
return result2;
|
|
3717
3717
|
});
|
|
@@ -4363,15 +4363,15 @@ var require_lodash = __commonJS({
|
|
|
4363
4363
|
function functionsIn(object2) {
|
|
4364
4364
|
return object2 == null ? [] : baseFunctions(object2, keysIn(object2));
|
|
4365
4365
|
}
|
|
4366
|
-
function get(object2,
|
|
4367
|
-
var result2 = object2 == null ? undefined2 : baseGet(object2,
|
|
4366
|
+
function get(object2, path22, defaultValue) {
|
|
4367
|
+
var result2 = object2 == null ? undefined2 : baseGet(object2, path22);
|
|
4368
4368
|
return result2 === undefined2 ? defaultValue : result2;
|
|
4369
4369
|
}
|
|
4370
|
-
function has(object2,
|
|
4371
|
-
return object2 != null && hasPath(object2,
|
|
4370
|
+
function has(object2, path22) {
|
|
4371
|
+
return object2 != null && hasPath(object2, path22, baseHas);
|
|
4372
4372
|
}
|
|
4373
|
-
function hasIn(object2,
|
|
4374
|
-
return object2 != null && hasPath(object2,
|
|
4373
|
+
function hasIn(object2, path22) {
|
|
4374
|
+
return object2 != null && hasPath(object2, path22, baseHasIn);
|
|
4375
4375
|
}
|
|
4376
4376
|
var invert = createInverter(function(result2, value, key) {
|
|
4377
4377
|
if (value != null && typeof value.toString != "function") {
|
|
@@ -4424,10 +4424,10 @@ var require_lodash = __commonJS({
|
|
|
4424
4424
|
return result2;
|
|
4425
4425
|
}
|
|
4426
4426
|
var isDeep = false;
|
|
4427
|
-
paths = arrayMap(paths, function(
|
|
4428
|
-
|
|
4429
|
-
isDeep || (isDeep =
|
|
4430
|
-
return
|
|
4427
|
+
paths = arrayMap(paths, function(path22) {
|
|
4428
|
+
path22 = castPath(path22, object2);
|
|
4429
|
+
isDeep || (isDeep = path22.length > 1);
|
|
4430
|
+
return path22;
|
|
4431
4431
|
});
|
|
4432
4432
|
copyObject(object2, getAllKeysIn(object2), result2);
|
|
4433
4433
|
if (isDeep) {
|
|
@@ -4453,19 +4453,19 @@ var require_lodash = __commonJS({
|
|
|
4453
4453
|
return [prop];
|
|
4454
4454
|
});
|
|
4455
4455
|
predicate = getIteratee(predicate);
|
|
4456
|
-
return basePickBy(object2, props, function(value,
|
|
4457
|
-
return predicate(value,
|
|
4456
|
+
return basePickBy(object2, props, function(value, path22) {
|
|
4457
|
+
return predicate(value, path22[0]);
|
|
4458
4458
|
});
|
|
4459
4459
|
}
|
|
4460
|
-
function result(object2,
|
|
4461
|
-
|
|
4462
|
-
var index = -1, length =
|
|
4460
|
+
function result(object2, path22, defaultValue) {
|
|
4461
|
+
path22 = castPath(path22, object2);
|
|
4462
|
+
var index = -1, length = path22.length;
|
|
4463
4463
|
if (!length) {
|
|
4464
4464
|
length = 1;
|
|
4465
4465
|
object2 = undefined2;
|
|
4466
4466
|
}
|
|
4467
4467
|
while (++index < length) {
|
|
4468
|
-
var value = object2 == null ? undefined2 : object2[toKey(
|
|
4468
|
+
var value = object2 == null ? undefined2 : object2[toKey(path22[index])];
|
|
4469
4469
|
if (value === undefined2) {
|
|
4470
4470
|
index = length;
|
|
4471
4471
|
value = defaultValue;
|
|
@@ -4474,12 +4474,12 @@ var require_lodash = __commonJS({
|
|
|
4474
4474
|
}
|
|
4475
4475
|
return object2;
|
|
4476
4476
|
}
|
|
4477
|
-
function set2(object2,
|
|
4478
|
-
return object2 == null ? object2 : baseSet(object2,
|
|
4477
|
+
function set2(object2, path22, value) {
|
|
4478
|
+
return object2 == null ? object2 : baseSet(object2, path22, value);
|
|
4479
4479
|
}
|
|
4480
|
-
function setWith(object2,
|
|
4480
|
+
function setWith(object2, path22, value, customizer) {
|
|
4481
4481
|
customizer = typeof customizer == "function" ? customizer : undefined2;
|
|
4482
|
-
return object2 == null ? object2 : baseSet(object2,
|
|
4482
|
+
return object2 == null ? object2 : baseSet(object2, path22, value, customizer);
|
|
4483
4483
|
}
|
|
4484
4484
|
var toPairs = createToPairs(keys);
|
|
4485
4485
|
var toPairsIn = createToPairs(keysIn);
|
|
@@ -4501,15 +4501,15 @@ var require_lodash = __commonJS({
|
|
|
4501
4501
|
});
|
|
4502
4502
|
return accumulator;
|
|
4503
4503
|
}
|
|
4504
|
-
function unset(object2,
|
|
4505
|
-
return object2 == null ? true : baseUnset(object2,
|
|
4504
|
+
function unset(object2, path22) {
|
|
4505
|
+
return object2 == null ? true : baseUnset(object2, path22);
|
|
4506
4506
|
}
|
|
4507
|
-
function update(object2,
|
|
4508
|
-
return object2 == null ? object2 : baseUpdate(object2,
|
|
4507
|
+
function update(object2, path22, updater) {
|
|
4508
|
+
return object2 == null ? object2 : baseUpdate(object2, path22, castFunction(updater));
|
|
4509
4509
|
}
|
|
4510
|
-
function updateWith(object2,
|
|
4510
|
+
function updateWith(object2, path22, updater, customizer) {
|
|
4511
4511
|
customizer = typeof customizer == "function" ? customizer : undefined2;
|
|
4512
|
-
return object2 == null ? object2 : baseUpdate(object2,
|
|
4512
|
+
return object2 == null ? object2 : baseUpdate(object2, path22, castFunction(updater), customizer);
|
|
4513
4513
|
}
|
|
4514
4514
|
function values(object2) {
|
|
4515
4515
|
return object2 == null ? [] : baseValues(object2, keys(object2));
|
|
@@ -4895,17 +4895,17 @@ var require_lodash = __commonJS({
|
|
|
4895
4895
|
function matches(source) {
|
|
4896
4896
|
return baseMatches(baseClone(source, CLONE_DEEP_FLAG));
|
|
4897
4897
|
}
|
|
4898
|
-
function matchesProperty(
|
|
4899
|
-
return baseMatchesProperty(
|
|
4898
|
+
function matchesProperty(path22, srcValue) {
|
|
4899
|
+
return baseMatchesProperty(path22, baseClone(srcValue, CLONE_DEEP_FLAG));
|
|
4900
4900
|
}
|
|
4901
|
-
var method = baseRest(function(
|
|
4901
|
+
var method = baseRest(function(path22, args) {
|
|
4902
4902
|
return function(object2) {
|
|
4903
|
-
return baseInvoke(object2,
|
|
4903
|
+
return baseInvoke(object2, path22, args);
|
|
4904
4904
|
};
|
|
4905
4905
|
});
|
|
4906
4906
|
var methodOf = baseRest(function(object2, args) {
|
|
4907
|
-
return function(
|
|
4908
|
-
return baseInvoke(object2,
|
|
4907
|
+
return function(path22) {
|
|
4908
|
+
return baseInvoke(object2, path22, args);
|
|
4909
4909
|
};
|
|
4910
4910
|
});
|
|
4911
4911
|
function mixin(object2, source, options) {
|
|
@@ -4952,12 +4952,12 @@ var require_lodash = __commonJS({
|
|
|
4952
4952
|
var over = createOver(arrayMap);
|
|
4953
4953
|
var overEvery = createOver(arrayEvery);
|
|
4954
4954
|
var overSome = createOver(arraySome);
|
|
4955
|
-
function property(
|
|
4956
|
-
return isKey(
|
|
4955
|
+
function property(path22) {
|
|
4956
|
+
return isKey(path22) ? baseProperty(toKey(path22)) : basePropertyDeep(path22);
|
|
4957
4957
|
}
|
|
4958
4958
|
function propertyOf(object2) {
|
|
4959
|
-
return function(
|
|
4960
|
-
return object2 == null ? undefined2 : baseGet(object2,
|
|
4959
|
+
return function(path22) {
|
|
4960
|
+
return object2 == null ? undefined2 : baseGet(object2, path22);
|
|
4961
4961
|
};
|
|
4962
4962
|
}
|
|
4963
4963
|
var range = createRange();
|
|
@@ -5410,12 +5410,12 @@ var require_lodash = __commonJS({
|
|
|
5410
5410
|
LazyWrapper.prototype.findLast = function(predicate) {
|
|
5411
5411
|
return this.reverse().find(predicate);
|
|
5412
5412
|
};
|
|
5413
|
-
LazyWrapper.prototype.invokeMap = baseRest(function(
|
|
5414
|
-
if (typeof
|
|
5413
|
+
LazyWrapper.prototype.invokeMap = baseRest(function(path22, args) {
|
|
5414
|
+
if (typeof path22 == "function") {
|
|
5415
5415
|
return new LazyWrapper(this);
|
|
5416
5416
|
}
|
|
5417
5417
|
return this.map(function(value) {
|
|
5418
|
-
return baseInvoke(value,
|
|
5418
|
+
return baseInvoke(value, path22, args);
|
|
5419
5419
|
});
|
|
5420
5420
|
});
|
|
5421
5421
|
LazyWrapper.prototype.reject = function(predicate) {
|
|
@@ -5532,10 +5532,41 @@ var require_lodash = __commonJS({
|
|
|
5532
5532
|
});
|
|
5533
5533
|
|
|
5534
5534
|
// src/core/util/errors.ts
|
|
5535
|
-
|
|
5535
|
+
function errMsg(e) {
|
|
5536
|
+
return e instanceof Error ? e.message : String(e);
|
|
5537
|
+
}
|
|
5538
|
+
|
|
5539
|
+
// src/shared/system.ts
|
|
5540
|
+
import path from "node:path";
|
|
5541
|
+
var systemRoot = () => process.env.SystemRoot ?? process.env.WINDIR ?? "C:\\Windows";
|
|
5542
|
+
function system32(exe) {
|
|
5543
|
+
return path.join(systemRoot(), "System32", exe);
|
|
5544
|
+
}
|
|
5545
|
+
var SYSTEM = {
|
|
5546
|
+
cmd: () => system32("cmd.exe"),
|
|
5547
|
+
powershell: () => system32("WindowsPowerShell\\v1.0\\powershell.exe"),
|
|
5548
|
+
tasklist: () => system32("tasklist.exe"),
|
|
5549
|
+
whoami: () => system32("whoami.exe"),
|
|
5550
|
+
icacls: () => system32("icacls.exe"),
|
|
5551
|
+
tar: () => system32("tar.exe"),
|
|
5552
|
+
reg: () => system32("reg.exe"),
|
|
5553
|
+
netsh: () => system32("netsh.exe"),
|
|
5554
|
+
netstat: () => system32("NETSTAT.EXE"),
|
|
5555
|
+
route: () => system32("ROUTE.EXE"),
|
|
5556
|
+
ipconfig: () => system32("ipconfig.exe"),
|
|
5557
|
+
robocopy: () => system32("Robocopy.exe"),
|
|
5558
|
+
shutdown: () => system32("shutdown.exe"),
|
|
5559
|
+
dism: () => system32("Dism.exe"),
|
|
5560
|
+
msiexec: () => system32("msiexec.exe"),
|
|
5561
|
+
/** The .NET Framework C# compiler that ships with Windows (C# 5). */
|
|
5562
|
+
csc: () => path.join(systemRoot(), "Microsoft.NET", "Framework64", "v4.0.30319", "csc.exe")
|
|
5563
|
+
};
|
|
5564
|
+
function dropInheritedModulePath(env = process.env) {
|
|
5565
|
+
delete env.PSModulePath;
|
|
5566
|
+
}
|
|
5536
5567
|
|
|
5537
5568
|
// src/guest/databases/sbx-db.ts
|
|
5538
|
-
import
|
|
5569
|
+
import fs19 from "node:fs";
|
|
5539
5570
|
|
|
5540
5571
|
// node_modules/zod/v4/classic/external.js
|
|
5541
5572
|
var external_exports = {};
|
|
@@ -6353,10 +6384,10 @@ function mergeDefs(...defs) {
|
|
|
6353
6384
|
function cloneDef(schema) {
|
|
6354
6385
|
return mergeDefs(schema._zod.def);
|
|
6355
6386
|
}
|
|
6356
|
-
function getElementAtPath(obj,
|
|
6357
|
-
if (!
|
|
6387
|
+
function getElementAtPath(obj, path22) {
|
|
6388
|
+
if (!path22)
|
|
6358
6389
|
return obj;
|
|
6359
|
-
return
|
|
6390
|
+
return path22.reduce((acc, key) => acc?.[key], obj);
|
|
6360
6391
|
}
|
|
6361
6392
|
function promiseAllObject(promisesObj) {
|
|
6362
6393
|
const keys = Object.keys(promisesObj);
|
|
@@ -6696,11 +6727,11 @@ function explicitlyAborted(x, startIndex = 0) {
|
|
|
6696
6727
|
}
|
|
6697
6728
|
return false;
|
|
6698
6729
|
}
|
|
6699
|
-
function prefixIssues(
|
|
6730
|
+
function prefixIssues(path22, issues) {
|
|
6700
6731
|
return issues.map((iss) => {
|
|
6701
6732
|
var _a3;
|
|
6702
6733
|
(_a3 = iss).path ?? (_a3.path = []);
|
|
6703
|
-
iss.path.unshift(
|
|
6734
|
+
iss.path.unshift(path22);
|
|
6704
6735
|
return iss;
|
|
6705
6736
|
});
|
|
6706
6737
|
}
|
|
@@ -7150,16 +7181,16 @@ function flattenError(error62, mapper = (issue2) => issue2.message) {
|
|
|
7150
7181
|
}
|
|
7151
7182
|
function formatError(error62, mapper = (issue2) => issue2.message) {
|
|
7152
7183
|
const fieldErrors = { _errors: [] };
|
|
7153
|
-
const processError = (error63,
|
|
7184
|
+
const processError = (error63, path22 = []) => {
|
|
7154
7185
|
for (const issue2 of error63.issues) {
|
|
7155
7186
|
if (issue2.code === "invalid_union" && issue2.errors.length) {
|
|
7156
|
-
issue2.errors.map((issues) => processError({ issues }, [...
|
|
7187
|
+
issue2.errors.map((issues) => processError({ issues }, [...path22, ...issue2.path]));
|
|
7157
7188
|
} else if (issue2.code === "invalid_key") {
|
|
7158
|
-
processError({ issues: issue2.issues }, [...
|
|
7189
|
+
processError({ issues: issue2.issues }, [...path22, ...issue2.path]);
|
|
7159
7190
|
} else if (issue2.code === "invalid_element") {
|
|
7160
|
-
processError({ issues: issue2.issues }, [...
|
|
7191
|
+
processError({ issues: issue2.issues }, [...path22, ...issue2.path]);
|
|
7161
7192
|
} else {
|
|
7162
|
-
const fullpath = [...
|
|
7193
|
+
const fullpath = [...path22, ...issue2.path];
|
|
7163
7194
|
if (fullpath.length === 0) {
|
|
7164
7195
|
fieldErrors._errors.push(mapper(issue2));
|
|
7165
7196
|
} else {
|
|
@@ -7198,17 +7229,17 @@ function formatError(error62, mapper = (issue2) => issue2.message) {
|
|
|
7198
7229
|
}
|
|
7199
7230
|
function treeifyError(error62, mapper = (issue2) => issue2.message) {
|
|
7200
7231
|
const result = { errors: [] };
|
|
7201
|
-
const processError = (error63,
|
|
7232
|
+
const processError = (error63, path22 = []) => {
|
|
7202
7233
|
var _a3;
|
|
7203
7234
|
for (const issue2 of error63.issues) {
|
|
7204
7235
|
if (issue2.code === "invalid_union" && issue2.errors.length) {
|
|
7205
|
-
issue2.errors.map((issues) => processError({ issues }, [...
|
|
7236
|
+
issue2.errors.map((issues) => processError({ issues }, [...path22, ...issue2.path]));
|
|
7206
7237
|
} else if (issue2.code === "invalid_key") {
|
|
7207
|
-
processError({ issues: issue2.issues }, [...
|
|
7238
|
+
processError({ issues: issue2.issues }, [...path22, ...issue2.path]);
|
|
7208
7239
|
} else if (issue2.code === "invalid_element") {
|
|
7209
|
-
processError({ issues: issue2.issues }, [...
|
|
7240
|
+
processError({ issues: issue2.issues }, [...path22, ...issue2.path]);
|
|
7210
7241
|
} else {
|
|
7211
|
-
const fullpath = [...
|
|
7242
|
+
const fullpath = [...path22, ...issue2.path];
|
|
7212
7243
|
if (fullpath.length === 0) {
|
|
7213
7244
|
result.errors.push(mapper(issue2));
|
|
7214
7245
|
continue;
|
|
@@ -7247,8 +7278,8 @@ function treeifyError(error62, mapper = (issue2) => issue2.message) {
|
|
|
7247
7278
|
}
|
|
7248
7279
|
function toDotPath(_path) {
|
|
7249
7280
|
const segs = [];
|
|
7250
|
-
const
|
|
7251
|
-
for (const seg of
|
|
7281
|
+
const path22 = _path.map((seg) => typeof seg === "object" ? seg.key : seg);
|
|
7282
|
+
for (const seg of path22) {
|
|
7252
7283
|
if (typeof seg === "number")
|
|
7253
7284
|
segs.push(`[${seg}]`);
|
|
7254
7285
|
else if (typeof seg === "symbol")
|
|
@@ -24350,13 +24381,13 @@ function resolveRef(ref, ctx) {
|
|
|
24350
24381
|
if (!ref.startsWith("#")) {
|
|
24351
24382
|
throw new Error("External $ref is not supported, only local refs (#/...) are allowed");
|
|
24352
24383
|
}
|
|
24353
|
-
const
|
|
24354
|
-
if (
|
|
24384
|
+
const path22 = ref.slice(1).split("/").filter(Boolean);
|
|
24385
|
+
if (path22.length === 0) {
|
|
24355
24386
|
return ctx.rootSchema;
|
|
24356
24387
|
}
|
|
24357
24388
|
const defsKey = ctx.version === "draft-2020-12" ? "$defs" : "definitions";
|
|
24358
|
-
if (
|
|
24359
|
-
const key =
|
|
24389
|
+
if (path22[0] === defsKey) {
|
|
24390
|
+
const key = path22[1] === void 0 ? void 0 : decodeJSONPointerSegment(path22[1]);
|
|
24360
24391
|
if (!key || !ctx.defs[key]) {
|
|
24361
24392
|
throw new Error(`Reference not found: ${ref}`);
|
|
24362
24393
|
}
|
|
@@ -25210,7 +25241,7 @@ var RESERVED_GUEST = /^C:\\(?:Windows|Program Files|Program Files \(x86\)|Progra
|
|
|
25210
25241
|
var MIRROR_LETTER = /^[D-Z]$/;
|
|
25211
25242
|
var DRIVE_PATH = /^([A-Za-z]):\\(.*)$/;
|
|
25212
25243
|
var BAD_CHARS = /[<>:"|?*/\x00-\x1f]/;
|
|
25213
|
-
|
|
25244
|
+
function isValidGuestPath(guest) {
|
|
25214
25245
|
const m = DRIVE_PATH.exec(guest);
|
|
25215
25246
|
if (!m) return false;
|
|
25216
25247
|
const letter = m[1].toUpperCase();
|
|
@@ -25220,7 +25251,7 @@ var isValidGuestPath = (guest) => {
|
|
|
25220
25251
|
return false;
|
|
25221
25252
|
if (letter === "C") return !RESERVED_GUEST.test("C:\\" + rest);
|
|
25222
25253
|
return MIRROR_LETTER.test(letter);
|
|
25223
|
-
}
|
|
25254
|
+
}
|
|
25224
25255
|
|
|
25225
25256
|
// src/core/schema/common.ts
|
|
25226
25257
|
var GuestPathSchema = external_exports.string().refine(
|
|
@@ -25229,23 +25260,31 @@ var GuestPathSchema = external_exports.string().refine(
|
|
|
25229
25260
|
);
|
|
25230
25261
|
var NameSchema = external_exports.string().regex(/^[A-Za-z0-9_-]+$/, "letters, numbers, - and _ only");
|
|
25231
25262
|
var StringsSchema = external_exports.array(external_exports.string());
|
|
25232
|
-
|
|
25263
|
+
function toggle(description) {
|
|
25264
|
+
return external_exports.strictObject({ enabled: external_exports.boolean().describe(description) });
|
|
25265
|
+
}
|
|
25233
25266
|
var SchemaRefSchema = external_exports.string().describe("Path or URL of the JSON Schema for editor autocomplete and docs.");
|
|
25234
25267
|
var GitAccessSchema = external_exports.enum(["full", "readonly", "none"]).describe(
|
|
25235
25268
|
"full: normal git. readonly: status/log/diff/show/blame only (no commit, push, checkout, ...). none: no git at all; .git is hidden from the agent."
|
|
25236
25269
|
);
|
|
25237
25270
|
var EnabledSchema = external_exports.union([external_exports.boolean(), external_exports.literal("auto")]);
|
|
25238
|
-
|
|
25239
|
-
|
|
25271
|
+
function enabled(what, markers) {
|
|
25272
|
+
return EnabledSchema.describe(what + ' true, false, or "auto" = only when the project has ' + markers + ".");
|
|
25273
|
+
}
|
|
25274
|
+
function Packages(what, example) {
|
|
25275
|
+
return StringsSchema.describe(what + ", installed once and kept (e.g. " + example + ").");
|
|
25276
|
+
}
|
|
25240
25277
|
|
|
25241
25278
|
// src/core/schema/config.ts
|
|
25242
25279
|
var import_lodash = __toESM(require_lodash(), 1);
|
|
25243
25280
|
|
|
25244
25281
|
// src/core/schema/databases.ts
|
|
25245
25282
|
var PortSchema = external_exports.number().int().min(1024).max(65535);
|
|
25246
|
-
|
|
25247
|
-
|
|
25248
|
-
)
|
|
25283
|
+
function dbEnabled(name) {
|
|
25284
|
+
return EnabledSchema.describe(
|
|
25285
|
+
name + ': true, false, or "auto" = only when the project needs it (found from compose files, dependencies of every language, Prisma/ORM config and connection strings).'
|
|
25286
|
+
);
|
|
25287
|
+
}
|
|
25249
25288
|
var DatabasesSchema = external_exports.strictObject({
|
|
25250
25289
|
postgres: external_exports.strictObject({
|
|
25251
25290
|
enabled: dbEnabled("PostgreSQL (with psql, pg_dump). User postgres, no password, localhost only"),
|
|
@@ -25284,6 +25323,17 @@ var DatabasesSchema = external_exports.strictObject({
|
|
|
25284
25323
|
});
|
|
25285
25324
|
|
|
25286
25325
|
// src/core/schema/harness.ts
|
|
25326
|
+
var SubfolderSchema = external_exports.string().regex(/^(?!.*(^|[\\/])\.\.([\\/]|$))[A-Za-z0-9._ -]+([\\/][A-Za-z0-9._ -]+)*$/, "a plain relative folder");
|
|
25327
|
+
var HarnessHomeSchema = external_exports.strictObject({
|
|
25328
|
+
env: external_exports.record(external_exports.string().regex(/^[A-Za-z_][A-Za-z0-9_]*$/), SubfolderSchema).describe("Environment variable -> folder (below the sandbox state folder) the agent keeps its data in."),
|
|
25329
|
+
profileDirs: external_exports.array(SubfolderSchema.refine((d) => !d.split(/[\\/]/).includes("."), "a plain relative folder")).max(8).optional().describe(
|
|
25330
|
+
"Folders below the sandbox's user profile (e.g. .qwen, .config/opencode) the agent keeps its data in: each becomes a link to state\\<agent>\\profile\\<folder>, so it survives between sandboxes."
|
|
25331
|
+
),
|
|
25332
|
+
loginFiles: external_exports.array(SubfolderSchema).describe("Files that make up the login, relative to the agent's own state folder (state\\<agent>)."),
|
|
25333
|
+
hostDir: external_exports.string().optional().describe(
|
|
25334
|
+
"The agent's own folder on this PC (e.g. ~/.codex): loginFiles are read from it to save this PC's login."
|
|
25335
|
+
)
|
|
25336
|
+
});
|
|
25287
25337
|
var HarnessSchema = external_exports.strictObject({
|
|
25288
25338
|
hostExecutable: external_exports.string().optional().describe("Executable copied from this PC when installed here (e.g. claude.exe)."),
|
|
25289
25339
|
hostDir: external_exports.string().optional().describe('Folder of hostExecutable on this PC, or "auto" to search PATH and ~/.local/bin.'),
|
|
@@ -25293,10 +25343,19 @@ var HarnessSchema = external_exports.strictObject({
|
|
|
25293
25343
|
uvBin: external_exports.string().optional().describe("Command the uv package provides."),
|
|
25294
25344
|
arguments: StringsSchema.describe("Arguments always passed to the agent."),
|
|
25295
25345
|
environment: external_exports.record(external_exports.string(), external_exports.string()).describe("Environment variables for the agent."),
|
|
25346
|
+
home: HarnessHomeSchema.optional().describe(
|
|
25347
|
+
"Where its login lives inside the sandbox; leave out when the agent cannot be pointed at a folder (then its login is not kept between sandboxes)."
|
|
25348
|
+
),
|
|
25296
25349
|
resumeArguments: StringsSchema.optional().describe(
|
|
25297
25350
|
"Arguments used when the agent is restarted in place (e.g. after an account switch) so it resumes the conversation."
|
|
25351
|
+
),
|
|
25352
|
+
resumeOneArguments: StringsSchema.optional().describe(
|
|
25353
|
+
"Arguments that reopen one conversation, with {id} where its id goes (claude: --resume {id}). Used instead of resumeArguments when the conversation of a session is known."
|
|
25298
25354
|
)
|
|
25299
|
-
}).refine(
|
|
25355
|
+
}).refine(
|
|
25356
|
+
(h) => !h.resumeOneArguments || h.resumeOneArguments.some((a) => a.includes("{id}")),
|
|
25357
|
+
"needs {id} in resumeOneArguments"
|
|
25358
|
+
).refine((h) => h.hostExecutable || h.npmPackage || h.uvPackage, "needs hostExecutable, npmPackage or uvPackage").refine((h) => !h.uvPackage || h.uvBin, "needs uvBin when uvPackage is set").refine((h) => !h.npmPackage || h.npmBin, "needs npmBin when npmPackage is set");
|
|
25300
25359
|
|
|
25301
25360
|
// src/core/schema/profile.ts
|
|
25302
25361
|
var SecretsSchema = external_exports.strictObject({
|
|
@@ -25385,6 +25444,11 @@ var SandboxSchema = external_exports.strictObject({
|
|
|
25385
25444
|
"Keep this PC from sleeping while a sandbox runs, so agents left working overnight keep going (the screen may still turn off; closing a laptop lid still sleeps it)."
|
|
25386
25445
|
)
|
|
25387
25446
|
});
|
|
25447
|
+
var SharingSchema = external_exports.strictObject({
|
|
25448
|
+
otherUsers: external_exports.boolean().describe(
|
|
25449
|
+
"Let other Windows users of this PC use a sandbox you start: list its sessions, attach, run commands and stop it. They use the agent logins inside it, and history goes to your account."
|
|
25450
|
+
)
|
|
25451
|
+
});
|
|
25388
25452
|
var PortSchema2 = external_exports.number().int().min(1).max(65535);
|
|
25389
25453
|
var HostEntrySchema = external_exports.string().max(253).regex(
|
|
25390
25454
|
/^(@developer|(\*\.)?([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+)$/,
|
|
@@ -25585,8 +25649,18 @@ var ToolchainsSchema = external_exports.strictObject({
|
|
|
25585
25649
|
'`openssl` on PATH, from the copy Git for Windows ships (its mingw64\\bin is not put on PATH, so it cannot shadow MinGW\'s gcc). "auto" = on.'
|
|
25586
25650
|
)
|
|
25587
25651
|
}).describe("Small portable command-line tools from their GitHub releases, installed once into tools\\cli."),
|
|
25588
|
-
bun:
|
|
25589
|
-
|
|
25652
|
+
bun: external_exports.strictObject({
|
|
25653
|
+
enabled: enabled(
|
|
25654
|
+
"Bun (JavaScript runtime and package manager; claude-mem needs it).",
|
|
25655
|
+
"bun.lock, bun.lockb or bunfig.toml"
|
|
25656
|
+
)
|
|
25657
|
+
}),
|
|
25658
|
+
uv: external_exports.strictObject({
|
|
25659
|
+
enabled: enabled(
|
|
25660
|
+
"uv (fast Python package and tool manager; claude-mem needs it for its search index).",
|
|
25661
|
+
"uv.lock, a [tool.uv] pyproject.toml, toolchains.python.tools, or an agent installed with uv"
|
|
25662
|
+
)
|
|
25663
|
+
}),
|
|
25590
25664
|
vcRuntime: toggle(
|
|
25591
25665
|
"Microsoft Visual C++ runtime for tools that need it (a real installer, so it runs on every boot, ~15 s). PHP installs it regardless."
|
|
25592
25666
|
),
|
|
@@ -25599,8 +25673,8 @@ var ToolchainsSchema = external_exports.strictObject({
|
|
|
25599
25673
|
)
|
|
25600
25674
|
}),
|
|
25601
25675
|
vscode: external_exports.strictObject({
|
|
25602
|
-
enabled:
|
|
25603
|
-
|
|
25676
|
+
enabled: EnabledSchema.describe(
|
|
25677
|
+
'Portable VS Code inside the sandbox (code on PATH, desktop shortcut); its settings and extensions persist. true, false, or "auto" = when VS Code is installed on this PC.'
|
|
25604
25678
|
),
|
|
25605
25679
|
setup: external_exports.boolean().describe(
|
|
25606
25680
|
"Point VS Code at the sandbox's own tools (JDK, Python, Go, compilers, .NET, Git, PowerShell 7 and Git Bash terminals) and install the language extensions for the toolchains in use."
|
|
@@ -26386,6 +26460,17 @@ var ProjectsSchema = external_exports.strictObject({
|
|
|
26386
26460
|
)
|
|
26387
26461
|
});
|
|
26388
26462
|
|
|
26463
|
+
// src/core/schema/resume.ts
|
|
26464
|
+
var RESUME_SESSIONS = ["ask", "always", "afterCrash", "never"];
|
|
26465
|
+
var ResumeSchema = external_exports.strictObject({
|
|
26466
|
+
sessions: external_exports.enum(RESUME_SESSIONS).describe(
|
|
26467
|
+
'When a sandbox starts after one that had agent sessions: "ask" lists them and asks whether to reopen them (without a terminal it prints the command sandbox resume), "always" reopens them, "afterCrash" reopens them only when the last sandbox ended unexpectedly, "never" leaves it to sandbox resume. Terminal tabs you opened yourself in the sandbox are never reopened.'
|
|
26468
|
+
),
|
|
26469
|
+
restartAfterCrash: external_exports.boolean().describe(
|
|
26470
|
+
"When the sandbox ends because Windows Sandbox crashed or ran out of memory, start it again by itself and reopen its sessions (at most 3 times in 6 hours)."
|
|
26471
|
+
)
|
|
26472
|
+
});
|
|
26473
|
+
|
|
26389
26474
|
// src/core/schema/config.ts
|
|
26390
26475
|
var ConfigSchema = external_exports.strictObject({
|
|
26391
26476
|
$schema: SchemaRefSchema.optional(),
|
|
@@ -26396,6 +26481,7 @@ var ConfigSchema = external_exports.strictObject({
|
|
|
26396
26481
|
audit: AuditSchema,
|
|
26397
26482
|
mappings: external_exports.array(MappingSchema).describe("Extra folders from this PC."),
|
|
26398
26483
|
sandbox: SandboxSchema,
|
|
26484
|
+
sharing: SharingSchema,
|
|
26399
26485
|
storage: external_exports.strictObject({
|
|
26400
26486
|
root: external_exports.string().min(1).describe("Where everything is kept on this PC (tools, databases, logins, launches)."),
|
|
26401
26487
|
persistAgentState: external_exports.boolean().describe("Keep agent logins and history between sandboxes."),
|
|
@@ -26424,7 +26510,8 @@ var ConfigSchema = external_exports.strictObject({
|
|
|
26424
26510
|
hooks: external_exports.strictObject({ failFast: external_exports.boolean().describe("Stop when a hook script fails.") }),
|
|
26425
26511
|
projects: ProjectsSchema.describe(
|
|
26426
26512
|
"Several projects in one sandbox: folders of projects mapped at every start, and adding folders while it runs."
|
|
26427
|
-
)
|
|
26513
|
+
),
|
|
26514
|
+
resume: ResumeSchema.describe("Reopening the sessions of the last sandbox when a new one starts.")
|
|
26428
26515
|
}).refine((c) => c.harnesses[c.defaultHarness] !== void 0, {
|
|
26429
26516
|
message: "defaultHarness must be one of the configured harnesses",
|
|
26430
26517
|
path: ["defaultHarness"]
|
|
@@ -26572,6 +26659,8 @@ var SessionStatusSchema = external_exports.object({
|
|
|
26572
26659
|
message: Text(),
|
|
26573
26660
|
updatedAt: TimeSchema,
|
|
26574
26661
|
startedAt: TimeSchema,
|
|
26662
|
+
/** The agent's own conversation this session is in (Claude: the file name of its .jsonl), once known. */
|
|
26663
|
+
conversation: Text(128).optional(),
|
|
26575
26664
|
exitCode: external_exports.number().int().optional(),
|
|
26576
26665
|
attach: AttachEndpointSchema.optional()
|
|
26577
26666
|
});
|
|
@@ -26587,20 +26676,22 @@ var ProjectStatusSchema = external_exports.object({
|
|
|
26587
26676
|
|
|
26588
26677
|
// src/guest/runtime/ports.ts
|
|
26589
26678
|
import net from "node:net";
|
|
26590
|
-
|
|
26591
|
-
|
|
26592
|
-
socket.
|
|
26593
|
-
|
|
26679
|
+
function portOpen(port) {
|
|
26680
|
+
return new Promise((resolve) => {
|
|
26681
|
+
const socket = net.connect({ host: "127.0.0.1", port }, () => {
|
|
26682
|
+
socket.destroy();
|
|
26683
|
+
resolve(true);
|
|
26684
|
+
});
|
|
26685
|
+
socket.once("error", () => resolve(false));
|
|
26594
26686
|
});
|
|
26595
|
-
|
|
26596
|
-
|
|
26597
|
-
var waitForPort = async (port, seconds) => {
|
|
26687
|
+
}
|
|
26688
|
+
async function waitForPort(port, seconds) {
|
|
26598
26689
|
for (const end = Date.now() + seconds * 1e3; Date.now() < end; ) {
|
|
26599
26690
|
if (await portOpen(port)) return true;
|
|
26600
26691
|
await new Promise((r) => setTimeout(r, 300));
|
|
26601
26692
|
}
|
|
26602
26693
|
return false;
|
|
26603
|
-
}
|
|
26694
|
+
}
|
|
26604
26695
|
|
|
26605
26696
|
// src/guest/databases/names.ts
|
|
26606
26697
|
var DATABASE_NAMES = {
|
|
@@ -26613,67 +26704,71 @@ var DATABASE_NAMES = {
|
|
|
26613
26704
|
};
|
|
26614
26705
|
|
|
26615
26706
|
// src/guest/runtime/paths.ts
|
|
26616
|
-
import
|
|
26707
|
+
import path6 from "node:path";
|
|
26617
26708
|
|
|
26618
26709
|
// src/shared/channel/run-dir.ts
|
|
26619
26710
|
import fs4 from "node:fs";
|
|
26620
|
-
import
|
|
26711
|
+
import path5 from "node:path";
|
|
26621
26712
|
|
|
26622
26713
|
// src/shared/io/json.ts
|
|
26623
26714
|
import fs2 from "node:fs";
|
|
26624
|
-
import
|
|
26715
|
+
import path3 from "node:path";
|
|
26625
26716
|
|
|
26626
26717
|
// src/shared/test-guard.ts
|
|
26627
26718
|
import fs from "node:fs";
|
|
26628
26719
|
import os from "node:os";
|
|
26629
|
-
import
|
|
26630
|
-
|
|
26720
|
+
import path2 from "node:path";
|
|
26721
|
+
function selfTestRunning() {
|
|
26722
|
+
return process.env.AGENT_SANDBOX_SELFTEST === "1";
|
|
26723
|
+
}
|
|
26631
26724
|
var canonical = (p) => {
|
|
26632
26725
|
let rest = "";
|
|
26633
|
-
let current =
|
|
26726
|
+
let current = path2.resolve(p);
|
|
26634
26727
|
for (; ; ) {
|
|
26635
26728
|
try {
|
|
26636
|
-
return
|
|
26729
|
+
return path2.join(fs.realpathSync.native(current), rest).toLowerCase();
|
|
26637
26730
|
} catch {
|
|
26638
|
-
const parent =
|
|
26639
|
-
if (parent === current) return
|
|
26640
|
-
rest =
|
|
26731
|
+
const parent = path2.dirname(current);
|
|
26732
|
+
if (parent === current) return path2.resolve(p).toLowerCase();
|
|
26733
|
+
rest = path2.join(path2.basename(current), rest);
|
|
26641
26734
|
current = parent;
|
|
26642
26735
|
}
|
|
26643
26736
|
}
|
|
26644
26737
|
};
|
|
26645
|
-
|
|
26738
|
+
function testWriteRefusal(target) {
|
|
26646
26739
|
if (!selfTestRunning()) return null;
|
|
26647
26740
|
const temp = canonical(os.tmpdir());
|
|
26648
26741
|
const t = canonical(target);
|
|
26649
|
-
return t === temp || t.startsWith(temp +
|
|
26650
|
-
}
|
|
26651
|
-
|
|
26742
|
+
return t === temp || t.startsWith(temp + path2.sep) ? null : "The self-test refused to change " + target + ": it only works in temp folders, so it can never change this PC.";
|
|
26743
|
+
}
|
|
26744
|
+
function assertTestWritable(target) {
|
|
26652
26745
|
const refusal = testWriteRefusal(target);
|
|
26653
26746
|
if (refusal) throw new Error(refusal);
|
|
26654
|
-
}
|
|
26747
|
+
}
|
|
26655
26748
|
|
|
26656
26749
|
// src/shared/io/json.ts
|
|
26657
26750
|
var MAX_MESSAGE_BYTES = 8 * 1024 * 1024;
|
|
26658
|
-
|
|
26751
|
+
function readJsonFile(file2) {
|
|
26659
26752
|
try {
|
|
26660
26753
|
if (fs2.statSync(file2).size > MAX_MESSAGE_BYTES) return null;
|
|
26661
26754
|
return JSON.parse(fs2.readFileSync(file2, "utf8").replace(/^\uFEFF/, ""));
|
|
26662
26755
|
} catch {
|
|
26663
26756
|
return null;
|
|
26664
26757
|
}
|
|
26665
|
-
}
|
|
26666
|
-
|
|
26758
|
+
}
|
|
26759
|
+
function readValid(schema, file2) {
|
|
26667
26760
|
const parsed = schema.safeParse(readJsonFile(file2));
|
|
26668
26761
|
return parsed.success ? parsed.data : null;
|
|
26669
|
-
}
|
|
26762
|
+
}
|
|
26670
26763
|
var pause = (ms) => {
|
|
26671
26764
|
Atomics.wait(new Int32Array(new SharedArrayBuffer(4)), 0, 0, ms);
|
|
26672
26765
|
};
|
|
26673
|
-
|
|
26674
|
-
|
|
26766
|
+
function writeJsonAtomic(file2, value) {
|
|
26767
|
+
return writeFileAtomic(file2, JSON.stringify(value, null, 2) + "\n");
|
|
26768
|
+
}
|
|
26769
|
+
function writeFileAtomic(file2, text) {
|
|
26675
26770
|
assertTestWritable(file2);
|
|
26676
|
-
fs2.mkdirSync(
|
|
26771
|
+
fs2.mkdirSync(path3.dirname(file2), { recursive: true });
|
|
26677
26772
|
const temp = file2 + "." + process.pid + "-" + Math.random().toString(36).slice(2) + ".tmp";
|
|
26678
26773
|
fs2.writeFileSync(temp, text, { encoding: "utf8", flag: "wx" });
|
|
26679
26774
|
for (let attempt = 1; ; attempt++) {
|
|
@@ -26689,25 +26784,26 @@ var writeFileAtomic = (file2, text) => {
|
|
|
26689
26784
|
pause(50 * attempt);
|
|
26690
26785
|
}
|
|
26691
26786
|
}
|
|
26692
|
-
}
|
|
26787
|
+
}
|
|
26693
26788
|
|
|
26694
26789
|
// src/shared/io/safe-remove.ts
|
|
26695
26790
|
import fs3 from "node:fs";
|
|
26696
26791
|
import os2 from "node:os";
|
|
26697
|
-
import
|
|
26698
|
-
var norm = (p) =>
|
|
26792
|
+
import path4 from "node:path";
|
|
26793
|
+
var norm = (p) => path4.resolve(p).replace(/[\\/]+$/, "").toLowerCase();
|
|
26699
26794
|
var isAncestorOrSame = (parent, child) => {
|
|
26700
26795
|
const a = norm(parent);
|
|
26701
26796
|
const b = norm(child);
|
|
26702
|
-
return a === b || b.startsWith(a +
|
|
26797
|
+
return a === b || b.startsWith(a + path4.sep);
|
|
26703
26798
|
};
|
|
26799
|
+
var depthBelow = (parent, child) => path4.relative(norm(parent), norm(child)).split(path4.sep).filter(Boolean).length;
|
|
26704
26800
|
var protectedFolders = () => [
|
|
26705
26801
|
os2.homedir(),
|
|
26706
26802
|
process.env.USERPROFILE,
|
|
26707
26803
|
process.env.APPDATA,
|
|
26708
26804
|
process.env.LOCALAPPDATA,
|
|
26709
|
-
|
|
26710
|
-
|
|
26805
|
+
path4.join(os2.homedir(), "Documents"),
|
|
26806
|
+
path4.join(os2.homedir(), "Desktop"),
|
|
26711
26807
|
process.env.SystemRoot,
|
|
26712
26808
|
process.env.WINDIR,
|
|
26713
26809
|
process.env.ProgramFiles,
|
|
@@ -26716,28 +26812,24 @@ var protectedFolders = () => [
|
|
|
26716
26812
|
"C:\\Users",
|
|
26717
26813
|
"C:\\Windows"
|
|
26718
26814
|
].filter((p) => typeof p === "string" && p.trim() !== "");
|
|
26719
|
-
var
|
|
26720
|
-
|
|
26721
|
-
|
|
26722
|
-
|
|
26723
|
-
|
|
26724
|
-
"C:\\Windows",
|
|
26725
|
-
"C:\\Program Files",
|
|
26726
|
-
"C:\\Program Files (x86)"
|
|
26727
|
-
].filter((p) => typeof p === "string" && p.trim() !== "");
|
|
26728
|
-
var removeRefusal = (target, root) => {
|
|
26729
|
-
if (!target || !path3.isAbsolute(target) || !root || !path3.isAbsolute(root)) return "not an absolute path";
|
|
26815
|
+
var present = (paths) => paths.filter((p) => typeof p === "string" && p.trim() !== "");
|
|
26816
|
+
var windowsFolders = () => present([process.env.SystemRoot, process.env.WINDIR, "C:\\Windows"]);
|
|
26817
|
+
var programFolders = () => present([process.env.ProgramFiles, process.env["ProgramFiles(x86)"], "C:\\Program Files", "C:\\Program Files (x86)"]);
|
|
26818
|
+
function removeRefusal(target, root) {
|
|
26819
|
+
if (!target || !path4.isAbsolute(target) || !root || !path4.isAbsolute(root)) return "not an absolute path";
|
|
26730
26820
|
if (/^[\\/]{2}[?.][\\/]/.test(target) || /^[\\/]{2}[?.][\\/]/.test(root)) return "a device path (\\\\?\\ or \\\\.\\)";
|
|
26731
26821
|
const t = norm(target);
|
|
26732
|
-
if (t === norm(
|
|
26822
|
+
if (t === norm(path4.parse(t).root)) return "a drive root";
|
|
26733
26823
|
const hit = protectedFolders().find((p) => isAncestorOrSame(t, p));
|
|
26734
26824
|
if (hit) return "it is, or contains, " + hit;
|
|
26735
|
-
const
|
|
26736
|
-
if (
|
|
26737
|
-
|
|
26825
|
+
const windows = windowsFolders().find((p) => isAncestorOrSame(p, t));
|
|
26826
|
+
if (windows) return "it is inside " + windows;
|
|
26827
|
+
const program = programFolders().find((p) => isAncestorOrSame(p, t));
|
|
26828
|
+
if (program && !(isAncestorOrSame(program, root) && depthBelow(program, root) >= 2)) return "it is inside " + program;
|
|
26829
|
+
if (!t.startsWith(norm(root) + path4.sep)) return "it is not inside " + root;
|
|
26738
26830
|
return null;
|
|
26739
|
-
}
|
|
26740
|
-
|
|
26831
|
+
}
|
|
26832
|
+
function safeRemove(target, root) {
|
|
26741
26833
|
const refusal = removeRefusal(target, root);
|
|
26742
26834
|
if (refusal) throw new Error("Refusing to delete " + target + ": " + refusal);
|
|
26743
26835
|
assertTestWritable(target);
|
|
@@ -26756,7 +26848,7 @@ var safeRemove = (target, root) => {
|
|
|
26756
26848
|
return;
|
|
26757
26849
|
}
|
|
26758
26850
|
fs3.rmSync(target, { recursive: true, force: true, maxRetries: 2 });
|
|
26759
|
-
}
|
|
26851
|
+
}
|
|
26760
26852
|
|
|
26761
26853
|
// src/shared/channel/run-dir.ts
|
|
26762
26854
|
function safeId(id) {
|
|
@@ -26768,9 +26860,9 @@ var scan = (schema, dir) => {
|
|
|
26768
26860
|
const invalid = [];
|
|
26769
26861
|
for (const name of fs4.readdirSync(dir)) {
|
|
26770
26862
|
if (name.endsWith(".tmp")) continue;
|
|
26771
|
-
const message = /^[A-Za-z0-9_-]{1,64}\.json$/.test(name) ? readValid(schema,
|
|
26863
|
+
const message = /^[A-Za-z0-9_-]{1,64}\.json$/.test(name) ? readValid(schema, path5.join(dir, name)) : null;
|
|
26772
26864
|
if (message) valid.push(message);
|
|
26773
|
-
else invalid.push(
|
|
26865
|
+
else invalid.push(path5.join(dir, name));
|
|
26774
26866
|
}
|
|
26775
26867
|
return { valid, invalid };
|
|
26776
26868
|
};
|
|
@@ -26784,25 +26876,25 @@ var RunDir = class {
|
|
|
26784
26876
|
/** audit.processes: programs the sandbox started, in small .jsonl files the host takes in and deletes. */
|
|
26785
26877
|
auditDir;
|
|
26786
26878
|
constructor(dataDir2) {
|
|
26787
|
-
this.root =
|
|
26788
|
-
this.sandboxFile =
|
|
26789
|
-
this.requestsDir =
|
|
26790
|
-
this.responsesDir =
|
|
26791
|
-
this.sessionsDir =
|
|
26792
|
-
this.projectsDir =
|
|
26793
|
-
this.auditDir =
|
|
26879
|
+
this.root = path5.join(dataDir2, "run");
|
|
26880
|
+
this.sandboxFile = path5.join(this.root, "sandbox.json");
|
|
26881
|
+
this.requestsDir = path5.join(this.root, "requests");
|
|
26882
|
+
this.responsesDir = path5.join(this.root, "responses");
|
|
26883
|
+
this.sessionsDir = path5.join(this.root, "sessions");
|
|
26884
|
+
this.projectsDir = path5.join(this.root, "projects");
|
|
26885
|
+
this.auditDir = path5.join(this.root, "audit");
|
|
26794
26886
|
}
|
|
26795
26887
|
requestFile(id) {
|
|
26796
|
-
return
|
|
26888
|
+
return path5.join(this.requestsDir, safeId(id) + ".json");
|
|
26797
26889
|
}
|
|
26798
26890
|
responseFile(id) {
|
|
26799
|
-
return
|
|
26891
|
+
return path5.join(this.responsesDir, safeId(id) + ".json");
|
|
26800
26892
|
}
|
|
26801
26893
|
sessionFile(id) {
|
|
26802
|
-
return
|
|
26894
|
+
return path5.join(this.sessionsDir, safeId(id) + ".json");
|
|
26803
26895
|
}
|
|
26804
26896
|
projectFile(name) {
|
|
26805
|
-
return
|
|
26897
|
+
return path5.join(this.projectsDir, safeId(name) + ".json");
|
|
26806
26898
|
}
|
|
26807
26899
|
readSandboxStatus() {
|
|
26808
26900
|
return readValid(SandboxStatusSchema, this.sandboxFile);
|
|
@@ -26835,15 +26927,15 @@ var launchDir = process.env.AGENT_LAUNCH_DIR ?? "C:\\AgentLaunch";
|
|
|
26835
26927
|
var dataDir = process.env.AGENT_DATA_DIR ?? "C:\\AgentData";
|
|
26836
26928
|
var hostToolsDir = process.env.AGENT_HOST_TOOLS_DIR ?? "C:\\HostTools";
|
|
26837
26929
|
var localDir = process.env.AGENT_LOCAL_DIR ?? "C:\\nvm";
|
|
26838
|
-
var toolsDir =
|
|
26839
|
-
var logsDir =
|
|
26930
|
+
var toolsDir = path6.join(dataDir, "tools");
|
|
26931
|
+
var logsDir = path6.join(dataDir, "logs");
|
|
26840
26932
|
var run = new RunDir(dataDir);
|
|
26841
26933
|
|
|
26842
26934
|
// src/guest/runtime/log.ts
|
|
26843
26935
|
import fs5 from "node:fs";
|
|
26844
|
-
import
|
|
26936
|
+
import path7 from "node:path";
|
|
26845
26937
|
fs5.mkdirSync(logsDir, { recursive: true });
|
|
26846
|
-
var logFile =
|
|
26938
|
+
var logFile = path7.join(
|
|
26847
26939
|
logsDir,
|
|
26848
26940
|
(process.env.AGENT_LOG_PREFIX ?? "guest") + "-" + (/* @__PURE__ */ new Date()).toISOString().replace(/[:.]/g, "-") + ".log"
|
|
26849
26941
|
);
|
|
@@ -26853,25 +26945,25 @@ var append = (line) => {
|
|
|
26853
26945
|
} catch {
|
|
26854
26946
|
}
|
|
26855
26947
|
};
|
|
26856
|
-
|
|
26948
|
+
function log(message) {
|
|
26857
26949
|
console.log(message);
|
|
26858
26950
|
append(message);
|
|
26859
|
-
}
|
|
26860
|
-
|
|
26951
|
+
}
|
|
26952
|
+
function warn(message) {
|
|
26861
26953
|
console.warn("\x1B[33mWARNING: " + message + "\x1B[0m");
|
|
26862
26954
|
append("WARNING: " + message);
|
|
26863
|
-
}
|
|
26955
|
+
}
|
|
26864
26956
|
|
|
26865
26957
|
// src/guest/runtime/project-context.ts
|
|
26866
26958
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
26867
26959
|
|
|
26868
26960
|
// src/guest/runtime/session.ts
|
|
26869
|
-
import
|
|
26870
|
-
import
|
|
26961
|
+
import fs9 from "node:fs";
|
|
26962
|
+
import path11 from "node:path";
|
|
26871
26963
|
|
|
26872
26964
|
// src/shared/download/http.ts
|
|
26873
26965
|
var USER_AGENT = "windows-development-sandbox";
|
|
26874
|
-
|
|
26966
|
+
async function fetchRetry(url2, init = {}, attempts = 5, timeoutMs = 6e4) {
|
|
26875
26967
|
let last;
|
|
26876
26968
|
for (let i = 1; i <= attempts; i++) {
|
|
26877
26969
|
try {
|
|
@@ -26889,81 +26981,89 @@ var fetchRetry = async (url2, init = {}, attempts = 5, timeoutMs = 6e4) => {
|
|
|
26889
26981
|
if (i < attempts) await new Promise((r) => setTimeout(r, 3e3));
|
|
26890
26982
|
}
|
|
26891
26983
|
throw last instanceof Error ? last : new Error(String(last));
|
|
26892
|
-
}
|
|
26893
|
-
|
|
26894
|
-
|
|
26984
|
+
}
|
|
26985
|
+
async function fetchJson(url2) {
|
|
26986
|
+
return await (await fetchRetry(url2, { headers: { Accept: "application/json" } }, 2, 2e4)).json();
|
|
26987
|
+
}
|
|
26988
|
+
async function fetchText(url2) {
|
|
26989
|
+
return await (await fetchRetry(url2)).text();
|
|
26990
|
+
}
|
|
26895
26991
|
|
|
26896
26992
|
// src/shared/download/archive.ts
|
|
26897
|
-
import
|
|
26898
|
-
import
|
|
26993
|
+
import fs7 from "node:fs";
|
|
26994
|
+
import path9 from "node:path";
|
|
26899
26995
|
import crypto from "node:crypto";
|
|
26900
26996
|
|
|
26901
|
-
// src/shared/
|
|
26902
|
-
import
|
|
26903
|
-
|
|
26904
|
-
|
|
26905
|
-
var
|
|
26906
|
-
|
|
26907
|
-
|
|
26908
|
-
|
|
26909
|
-
|
|
26910
|
-
|
|
26911
|
-
|
|
26912
|
-
|
|
26913
|
-
|
|
26914
|
-
|
|
26915
|
-
|
|
26916
|
-
|
|
26917
|
-
|
|
26918
|
-
|
|
26919
|
-
|
|
26997
|
+
// src/shared/scripts.ts
|
|
26998
|
+
import fs6 from "node:fs";
|
|
26999
|
+
import path8 from "node:path";
|
|
27000
|
+
import { fileURLToPath } from "node:url";
|
|
27001
|
+
var HERE = path8.dirname(fileURLToPath(import.meta.url));
|
|
27002
|
+
function sandboxScriptsDir() {
|
|
27003
|
+
const candidates = [path8.resolve(HERE, "..", "sandbox"), path8.resolve(HERE, "..", "..", "sandbox")];
|
|
27004
|
+
return candidates.find((dir) => fs6.existsSync(path8.join(dir, "boot", "bootstrap.ps1"))) ?? candidates[candidates.length - 1];
|
|
27005
|
+
}
|
|
27006
|
+
function scriptArgs(name, args = []) {
|
|
27007
|
+
return [
|
|
27008
|
+
"-NoLogo",
|
|
27009
|
+
"-NoProfile",
|
|
27010
|
+
"-NonInteractive",
|
|
27011
|
+
"-ExecutionPolicy",
|
|
27012
|
+
"Bypass",
|
|
27013
|
+
"-File",
|
|
27014
|
+
path8.join(sandboxScriptsDir(), "scripts", name),
|
|
27015
|
+
...args
|
|
27016
|
+
];
|
|
27017
|
+
}
|
|
26920
27018
|
|
|
26921
27019
|
// src/shared/download/spawn.ts
|
|
26922
27020
|
import { spawn } from "node:child_process";
|
|
26923
|
-
|
|
26924
|
-
|
|
26925
|
-
|
|
26926
|
-
|
|
26927
|
-
|
|
27021
|
+
function spawnAsync(file2, args, options = {}) {
|
|
27022
|
+
return new Promise((resolve, reject) => {
|
|
27023
|
+
const child = spawn(file2, args, { stdio: "ignore", windowsHide: true, ...options });
|
|
27024
|
+
child.once("error", reject);
|
|
27025
|
+
child.once("close", (code) => resolve(code ?? -1));
|
|
27026
|
+
});
|
|
27027
|
+
}
|
|
26928
27028
|
|
|
26929
27029
|
// src/shared/download/archive.ts
|
|
26930
|
-
|
|
26931
|
-
|
|
26932
|
-
|
|
26933
|
-
|
|
26934
|
-
|
|
26935
|
-
};
|
|
26936
|
-
|
|
26937
|
-
|
|
27030
|
+
function stagingFolder(destination) {
|
|
27031
|
+
return destination + ".staging-" + crypto.randomBytes(3).toString("hex");
|
|
27032
|
+
}
|
|
27033
|
+
function moveIntoPlace(work, destination) {
|
|
27034
|
+
safeRemove(destination, path9.dirname(destination));
|
|
27035
|
+
fs7.mkdirSync(path9.dirname(destination), { recursive: true });
|
|
27036
|
+
fs7.renameSync(work, destination);
|
|
27037
|
+
}
|
|
27038
|
+
async function extractArchive(archive, destination, members2 = []) {
|
|
27039
|
+
fs7.mkdirSync(destination, { recursive: true });
|
|
26938
27040
|
let status = await spawnAsync(SYSTEM.tar(), ["-xf", archive, "-C", destination, ...members2]);
|
|
26939
27041
|
if (status !== 0 && /\.(zip|nupkg)$/i.test(archive)) {
|
|
26940
27042
|
const zip = archive.endsWith(".zip") ? archive : archive + ".zip";
|
|
26941
|
-
if (zip !== archive)
|
|
26942
|
-
status = await spawnAsync(
|
|
26943
|
-
|
|
26944
|
-
"-
|
|
26945
|
-
|
|
26946
|
-
"Expand-Archive -LiteralPath '" + zip.replace(/'/g, "''") + "' -DestinationPath '" + destination.replace(/'/g, "''") + "' -Force"
|
|
26947
|
-
]);
|
|
27043
|
+
if (zip !== archive) fs7.copyFileSync(archive, zip);
|
|
27044
|
+
status = await spawnAsync(
|
|
27045
|
+
SYSTEM.powershell(),
|
|
27046
|
+
scriptArgs("expand-archive.ps1", ["-Archive", zip, "-Destination", destination])
|
|
27047
|
+
);
|
|
26948
27048
|
}
|
|
26949
27049
|
if (status !== 0) throw new Error("Could not extract " + archive);
|
|
26950
|
-
}
|
|
26951
|
-
|
|
26952
|
-
if (maxDepth < 0 || !
|
|
26953
|
-
const entries =
|
|
27050
|
+
}
|
|
27051
|
+
function findFile(root, name, maxDepth = 4) {
|
|
27052
|
+
if (maxDepth < 0 || !fs7.existsSync(root)) return null;
|
|
27053
|
+
const entries = fs7.readdirSync(root, { withFileTypes: true });
|
|
26954
27054
|
for (const entry of entries)
|
|
26955
|
-
if (entry.isFile() && entry.name.toLowerCase() === name.toLowerCase()) return
|
|
27055
|
+
if (entry.isFile() && entry.name.toLowerCase() === name.toLowerCase()) return path9.join(root, entry.name);
|
|
26956
27056
|
for (const entry of entries)
|
|
26957
27057
|
if (entry.isDirectory()) {
|
|
26958
|
-
const found = findFile(
|
|
27058
|
+
const found = findFile(path9.join(root, entry.name), name, maxDepth - 1);
|
|
26959
27059
|
if (found) return found;
|
|
26960
27060
|
}
|
|
26961
27061
|
return null;
|
|
26962
|
-
}
|
|
27062
|
+
}
|
|
26963
27063
|
|
|
26964
27064
|
// src/shared/download/downloader.ts
|
|
26965
|
-
import
|
|
26966
|
-
import
|
|
27065
|
+
import fs8 from "node:fs";
|
|
27066
|
+
import path10 from "node:path";
|
|
26967
27067
|
import crypto2 from "node:crypto";
|
|
26968
27068
|
import { Readable, Transform } from "node:stream";
|
|
26969
27069
|
import { pipeline } from "node:stream/promises";
|
|
@@ -26984,12 +27084,12 @@ var Downloader = class {
|
|
|
26984
27084
|
const sums = typeof expected === "string" || expected === null ? { sha256: expected } : expected;
|
|
26985
27085
|
if (this.requireChecksum && !sums.sha256?.trim() && !sums.sha512?.trim()) {
|
|
26986
27086
|
throw new Error(
|
|
26987
|
-
"Refusing to download " +
|
|
27087
|
+
"Refusing to download " + path10.basename(destination) + " (" + url2 + "): no checksum is published for it, and downloads.requireChecksum is on. Turn that setting off to allow downloads that cannot be verified."
|
|
26988
27088
|
);
|
|
26989
27089
|
}
|
|
26990
27090
|
const response = await fetchRetry(url2, {}, 3, 20 * 60 * 1e3);
|
|
26991
27091
|
if (!response.body) throw new Error("Empty response for " + url2);
|
|
26992
|
-
|
|
27092
|
+
fs8.mkdirSync(path10.dirname(destination), { recursive: true });
|
|
26993
27093
|
const checks = ["sha256", "sha512"].flatMap((kind) => {
|
|
26994
27094
|
const want = sums[kind]?.trim().toLowerCase();
|
|
26995
27095
|
return want ? [{ want, hash: crypto2.createHash(kind) }] : [];
|
|
@@ -27019,12 +27119,12 @@ var Downloader = class {
|
|
|
27019
27119
|
});
|
|
27020
27120
|
const partial2 = destination + ".part";
|
|
27021
27121
|
try {
|
|
27022
|
-
await pipeline(Readable.fromWeb(response.body), tap,
|
|
27122
|
+
await pipeline(Readable.fromWeb(response.body), tap, fs8.createWriteStream(partial2));
|
|
27023
27123
|
if (checks.some((c) => c.hash.digest("hex") !== c.want)) throw new Error("Checksum mismatch for " + url2);
|
|
27024
|
-
|
|
27025
|
-
|
|
27124
|
+
fs8.rmSync(destination, { force: true });
|
|
27125
|
+
fs8.renameSync(partial2, destination);
|
|
27026
27126
|
} finally {
|
|
27027
|
-
|
|
27127
|
+
fs8.rmSync(partial2, { force: true });
|
|
27028
27128
|
}
|
|
27029
27129
|
}
|
|
27030
27130
|
/**
|
|
@@ -27034,21 +27134,21 @@ var Downloader = class {
|
|
|
27034
27134
|
async archive(url2, destination, options = {}) {
|
|
27035
27135
|
const work = stagingFolder(destination);
|
|
27036
27136
|
try {
|
|
27037
|
-
const archive =
|
|
27137
|
+
const archive = path10.join(work, options.fileName ?? path10.basename(new URL(url2).pathname));
|
|
27038
27138
|
await this.file(url2, archive, { sha256: options.sha256, sha512: options.sha512 });
|
|
27039
|
-
const extracted =
|
|
27139
|
+
const extracted = path10.join(work, "x");
|
|
27040
27140
|
await extractArchive(archive, extracted, options.members);
|
|
27041
27141
|
let root = extracted;
|
|
27042
27142
|
if (options.locate) {
|
|
27043
27143
|
const found = findFile(extracted, options.locate);
|
|
27044
27144
|
if (!found) throw new Error(options.locate + " not found in " + url2);
|
|
27045
|
-
root =
|
|
27046
|
-
for (let i = 0; i < (options.up ?? 0) &&
|
|
27047
|
-
root =
|
|
27145
|
+
root = path10.dirname(found);
|
|
27146
|
+
for (let i = 0; i < (options.up ?? 0) && path10.dirname(root).startsWith(extracted); i++)
|
|
27147
|
+
root = path10.dirname(root);
|
|
27048
27148
|
}
|
|
27049
27149
|
moveIntoPlace(root, destination);
|
|
27050
27150
|
} finally {
|
|
27051
|
-
safeRemove(work,
|
|
27151
|
+
safeRemove(work, path10.dirname(work));
|
|
27052
27152
|
}
|
|
27053
27153
|
}
|
|
27054
27154
|
};
|
|
@@ -27060,7 +27160,7 @@ var toAsset = (asset) => ({
|
|
|
27060
27160
|
name: asset.name,
|
|
27061
27161
|
sha256: asset.digest?.startsWith("sha256:") ? asset.digest.slice(7) : null
|
|
27062
27162
|
});
|
|
27063
|
-
|
|
27163
|
+
async function githubAsset(repo, pattern, searchOlder = false) {
|
|
27064
27164
|
let latest;
|
|
27065
27165
|
try {
|
|
27066
27166
|
latest = await fetchJson("https://api.github.com/repos/" + repo + "/releases/latest");
|
|
@@ -27082,26 +27182,26 @@ var githubAsset = async (repo, pattern, searchOlder = false) => {
|
|
|
27082
27182
|
throw new Error(
|
|
27083
27183
|
"No asset matching " + pattern + " in the " + (searchOlder ? "stable" : "latest") + " " + repo + " release(s)"
|
|
27084
27184
|
);
|
|
27085
|
-
}
|
|
27086
|
-
|
|
27185
|
+
}
|
|
27186
|
+
function parseReleasePage(html) {
|
|
27087
27187
|
const links = [...html.matchAll(/href="(\/[^"]+\/releases\/download\/[^"]+)"/g)];
|
|
27088
27188
|
return links.map((link, i) => {
|
|
27089
27189
|
const digest = /sha256:([0-9a-f]{64})/.exec(html.slice(link.index, links[i + 1]?.index ?? html.length))?.[1] ?? null;
|
|
27090
27190
|
return { url: "https://github.com" + link[1], name: decodeURIComponent(link[1].split("/").pop()), sha256: digest };
|
|
27091
27191
|
});
|
|
27092
|
-
}
|
|
27093
|
-
|
|
27192
|
+
}
|
|
27193
|
+
async function latestGithubTag(repo) {
|
|
27094
27194
|
const latest = await fetchRetry("https://github.com/" + repo + "/releases/latest", {}, 2, 2e4);
|
|
27095
27195
|
const tag = decodeURIComponent(latest.url.split("/releases/tag/")[1] ?? "");
|
|
27096
27196
|
return tag || Promise.reject(new Error("Could not find the latest release of " + repo));
|
|
27097
|
-
}
|
|
27098
|
-
|
|
27197
|
+
}
|
|
27198
|
+
function parseReleaseTags(html, repo) {
|
|
27099
27199
|
const escaped = repo.replace(/[.*+?^${}()|[\]\\/]/g, "\\$&");
|
|
27100
27200
|
const tags = [...html.matchAll(new RegExp('href="/' + escaped + '/releases/tag/([^"?#]+)"', "gi"))].map(
|
|
27101
27201
|
(m) => decodeURIComponent(m[1])
|
|
27102
27202
|
);
|
|
27103
27203
|
return [...new Set(tags)];
|
|
27104
|
-
}
|
|
27204
|
+
}
|
|
27105
27205
|
var OLDER_RELEASES = 10;
|
|
27106
27206
|
var githubAssetFromPage = async (repo, pattern, searchOlder) => {
|
|
27107
27207
|
const assetsOf = async (tag) => parseReleasePage(
|
|
@@ -27126,17 +27226,21 @@ var githubAssetFromPage = async (repo, pattern, searchOlder) => {
|
|
|
27126
27226
|
|
|
27127
27227
|
// src/guest/runtime/session.ts
|
|
27128
27228
|
var session = JSON.parse(
|
|
27129
|
-
|
|
27229
|
+
fs9.readFileSync(path11.join(launchDir, "session.json"), "utf8").replace(/^\uFEFF/, "")
|
|
27130
27230
|
);
|
|
27131
27231
|
downloader.requireChecksum = session.downloads?.requireChecksum === true;
|
|
27132
27232
|
var workspace = process.env.AGENT_WORKSPACE ?? session.workspace;
|
|
27133
|
-
var stateDir =
|
|
27134
|
-
var claudeDir =
|
|
27233
|
+
var stateDir = path11.join(dataDir, session.persistAgentState ? "state" : "state-session");
|
|
27234
|
+
var claudeDir = path11.join(stateDir, "claude");
|
|
27135
27235
|
|
|
27136
27236
|
// src/guest/runtime/project-context.ts
|
|
27137
27237
|
var store = new AsyncLocalStorage();
|
|
27138
|
-
|
|
27139
|
-
|
|
27238
|
+
function projectWorkspace() {
|
|
27239
|
+
return store.getStore()?.workspace ?? workspace;
|
|
27240
|
+
}
|
|
27241
|
+
function duringSession() {
|
|
27242
|
+
return store.getStore()?.duringSession ?? false;
|
|
27243
|
+
}
|
|
27140
27244
|
|
|
27141
27245
|
// src/guest/databases/database-server.ts
|
|
27142
27246
|
import { spawnSync } from "node:child_process";
|
|
@@ -27166,56 +27270,72 @@ var DatabaseServer = class {
|
|
|
27166
27270
|
};
|
|
27167
27271
|
|
|
27168
27272
|
// src/guest/databases/dynamodb.ts
|
|
27169
|
-
import
|
|
27170
|
-
import
|
|
27273
|
+
import fs17 from "node:fs";
|
|
27274
|
+
import path17 from "node:path";
|
|
27171
27275
|
import { spawn as spawn3 } from "node:child_process";
|
|
27172
27276
|
|
|
27173
27277
|
// src/guest/runtime/process.ts
|
|
27174
|
-
import
|
|
27278
|
+
import fs10 from "node:fs";
|
|
27279
|
+
import os3 from "node:os";
|
|
27280
|
+
import path12 from "node:path";
|
|
27175
27281
|
import { spawnSync as spawnSync2 } from "node:child_process";
|
|
27176
|
-
|
|
27282
|
+
function exec(file2, args, options = {}) {
|
|
27177
27283
|
const result = spawnSync2(file2, args, { stdio: "inherit", windowsHide: true, ...options });
|
|
27178
27284
|
if (result.error) throw result.error;
|
|
27179
27285
|
if (result.status !== 0)
|
|
27180
|
-
throw new Error(
|
|
27181
|
-
}
|
|
27182
|
-
|
|
27286
|
+
throw new Error(path12.basename(file2) + " " + args.slice(0, 3).join(" ") + " failed with exit code " + result.status);
|
|
27287
|
+
}
|
|
27288
|
+
async function execAsync(file2, args, options = {}) {
|
|
27183
27289
|
const code = await spawnAsync(file2, args, { stdio: "inherit", ...options });
|
|
27184
27290
|
if (code !== 0)
|
|
27185
|
-
throw new Error(
|
|
27186
|
-
}
|
|
27187
|
-
|
|
27291
|
+
throw new Error(path12.basename(file2) + " " + args.slice(0, 3).join(" ") + " failed with exit code " + code);
|
|
27292
|
+
}
|
|
27293
|
+
function runScript(name, args = []) {
|
|
27294
|
+
exec(SYSTEM.powershell(), scriptArgs(name, args));
|
|
27295
|
+
}
|
|
27296
|
+
function runScriptWithJson(name, param, data, args = []) {
|
|
27297
|
+
const dir = fs10.mkdtempSync(path12.join(os3.tmpdir(), "sbx-"));
|
|
27298
|
+
const file2 = path12.join(dir, "input.json");
|
|
27299
|
+
try {
|
|
27300
|
+
fs10.writeFileSync(file2, JSON.stringify(data), "utf8");
|
|
27301
|
+
runScript(name, ["-" + param, file2, ...args]);
|
|
27302
|
+
} finally {
|
|
27303
|
+
fs10.rmSync(dir, { recursive: true, force: true });
|
|
27304
|
+
}
|
|
27305
|
+
}
|
|
27188
27306
|
|
|
27189
27307
|
// src/guest/runtime/fs.ts
|
|
27190
|
-
import
|
|
27191
|
-
|
|
27192
|
-
|
|
27193
|
-
|
|
27308
|
+
import fs11 from "node:fs";
|
|
27309
|
+
function exists(p) {
|
|
27310
|
+
return fs11.existsSync(p);
|
|
27311
|
+
}
|
|
27312
|
+
function mkdirp(p) {
|
|
27313
|
+
fs11.mkdirSync(p, { recursive: true });
|
|
27194
27314
|
return p;
|
|
27195
|
-
}
|
|
27315
|
+
}
|
|
27196
27316
|
|
|
27197
27317
|
// src/guest/toolchains/languages/java.ts
|
|
27198
|
-
import
|
|
27199
|
-
import
|
|
27318
|
+
import fs15 from "node:fs";
|
|
27319
|
+
import path15 from "node:path";
|
|
27200
27320
|
|
|
27201
27321
|
// src/guest/toolchains/tool-env.ts
|
|
27202
|
-
import
|
|
27322
|
+
import path13 from "node:path";
|
|
27203
27323
|
function emptyEnv() {
|
|
27204
27324
|
return { vars: {}, prepend: [], append: [], summary: [] };
|
|
27205
27325
|
}
|
|
27206
27326
|
var arch = process.arch === "arm64" ? "arm64" : "x64";
|
|
27207
27327
|
function tool(...parts) {
|
|
27208
|
-
return
|
|
27328
|
+
return path13.join(toolsDir, ...parts);
|
|
27209
27329
|
}
|
|
27210
27330
|
|
|
27211
27331
|
// src/guest/toolchains/version-cache.ts
|
|
27212
|
-
import
|
|
27332
|
+
import fs13 from "node:fs";
|
|
27213
27333
|
|
|
27214
27334
|
// src/guest/toolchains/state-file.ts
|
|
27215
|
-
import
|
|
27335
|
+
import fs12 from "node:fs";
|
|
27216
27336
|
function readState(file2, schema, empty) {
|
|
27217
27337
|
try {
|
|
27218
|
-
return schema.safeParse(JSON.parse(
|
|
27338
|
+
return schema.safeParse(JSON.parse(fs12.readFileSync(file2, "utf8").replace(/^\uFEFF/, ""))).data ?? empty;
|
|
27219
27339
|
} catch {
|
|
27220
27340
|
return empty;
|
|
27221
27341
|
}
|
|
@@ -27250,7 +27370,7 @@ var VersionCache = class {
|
|
|
27250
27370
|
return cached2.value;
|
|
27251
27371
|
try {
|
|
27252
27372
|
const value = await resolve();
|
|
27253
|
-
|
|
27373
|
+
fs13.mkdirSync(toolsDir, { recursive: true });
|
|
27254
27374
|
writeJsonAtomic(this.file(), { ...this.remembered(), [key]: { value, at: Date.now() } });
|
|
27255
27375
|
return value;
|
|
27256
27376
|
} catch (e) {
|
|
@@ -27277,20 +27397,22 @@ function resolveCached(key, resolve) {
|
|
|
27277
27397
|
}
|
|
27278
27398
|
|
|
27279
27399
|
// src/guest/toolchains/detect.ts
|
|
27280
|
-
import
|
|
27281
|
-
import
|
|
27400
|
+
import fs14 from "node:fs";
|
|
27401
|
+
import path14 from "node:path";
|
|
27282
27402
|
|
|
27283
27403
|
// src/core/detect/versions.ts
|
|
27284
|
-
|
|
27285
|
-
|
|
27286
|
-
)
|
|
27287
|
-
|
|
27404
|
+
function specFromVersionFile(text) {
|
|
27405
|
+
return /(\d+(?:\.\d+){0,2})/.exec(
|
|
27406
|
+
text.split(/\r?\n/).map((l) => l.replace(/#.*$/, "").trim()).find(Boolean) ?? ""
|
|
27407
|
+
)?.[1] ?? null;
|
|
27408
|
+
}
|
|
27409
|
+
function javaMajorFrom(text, sdkmanrc = false) {
|
|
27288
27410
|
const line = sdkmanrc ? /^\s*java\s*=\s*(.+)$/m.exec(text)?.[1] : text;
|
|
27289
27411
|
const spec = line ? specFromVersionFile(line) : null;
|
|
27290
27412
|
if (!spec) return null;
|
|
27291
27413
|
const [major, minor] = spec.split(".");
|
|
27292
27414
|
return major === "1" && minor ? minor : major;
|
|
27293
|
-
}
|
|
27415
|
+
}
|
|
27294
27416
|
|
|
27295
27417
|
// src/core/detect/toolchains.ts
|
|
27296
27418
|
var MARKERS = {
|
|
@@ -27338,6 +27460,10 @@ var MARKERS = {
|
|
|
27338
27460
|
ruby: ["Gemfile", "*.gemspec", ".ruby-version", "*.rb"],
|
|
27339
27461
|
php: ["composer.json", "artisan", ".php-version", "*.php"],
|
|
27340
27462
|
deno: ["deno.json", "deno.jsonc", "deno.lock"],
|
|
27463
|
+
bun: ["bun.lock", "bun.lockb", "bunfig.toml"],
|
|
27464
|
+
uv: ["uv.lock"],
|
|
27465
|
+
// VS Code is decided from this PC (hints are not needed): see decideToolchains.
|
|
27466
|
+
vscode: [],
|
|
27341
27467
|
// Windows PowerShell 5.1 runs any .ps1: PowerShell 7 is decided from script contents (hints.pwsh) or this PC.
|
|
27342
27468
|
pwsh: []
|
|
27343
27469
|
};
|
|
@@ -27347,9 +27473,9 @@ var PROJECT_FILES = [.../* @__PURE__ */ new Set([...Object.values(MARKERS).flat(
|
|
|
27347
27473
|
// src/guest/toolchains/detect.ts
|
|
27348
27474
|
function versionFromFiles(files, parse3 = (t) => specFromVersionFile(t)) {
|
|
27349
27475
|
for (const name of files) {
|
|
27350
|
-
const file2 =
|
|
27476
|
+
const file2 = path14.join(projectWorkspace(), name);
|
|
27351
27477
|
if (!exists(file2)) continue;
|
|
27352
|
-
const spec = parse3(
|
|
27478
|
+
const spec = parse3(fs14.readFileSync(file2, "utf8"), name);
|
|
27353
27479
|
if (spec) return { spec, source: name };
|
|
27354
27480
|
}
|
|
27355
27481
|
return null;
|
|
@@ -27381,7 +27507,7 @@ var setupJdk = async (env, config2) => {
|
|
|
27381
27507
|
const { major, source } = await javaMajor(config2);
|
|
27382
27508
|
const release = await resolveCached("java:" + major, async () => (await temurin(major)).release_name);
|
|
27383
27509
|
const home = tool("java", release.replace(/[^A-Za-z0-9.-]/g, "_"));
|
|
27384
|
-
if (!exists(
|
|
27510
|
+
if (!exists(path15.join(home, "bin", "java.exe"))) {
|
|
27385
27511
|
const asset = await temurin(major);
|
|
27386
27512
|
log("Downloading Java " + release + " (JDK, ~200 MB once) ...");
|
|
27387
27513
|
await downloader.archive(asset.binary.package.link, home, {
|
|
@@ -27391,42 +27517,42 @@ var setupJdk = async (env, config2) => {
|
|
|
27391
27517
|
});
|
|
27392
27518
|
}
|
|
27393
27519
|
env.vars.JAVA_HOME = home;
|
|
27394
|
-
env.prepend.push(
|
|
27520
|
+
env.prepend.push(path15.join(home, "bin"));
|
|
27395
27521
|
env.summary.push("java: " + release + " (Temurin, from " + source + ")");
|
|
27396
27522
|
};
|
|
27397
27523
|
async function ensureJdk() {
|
|
27398
27524
|
const root = tool("java");
|
|
27399
|
-
const installed = exists(root) ?
|
|
27400
|
-
if (installed.length) return
|
|
27525
|
+
const installed = exists(root) ? fs15.readdirSync(root).filter((d) => exists(path15.join(root, d, "bin", "java.exe"))).sort((a, b) => b.localeCompare(a, void 0, { numeric: true })) : [];
|
|
27526
|
+
if (installed.length) return path15.join(root, installed[0]);
|
|
27401
27527
|
const scratch = emptyEnv();
|
|
27402
27528
|
await setupJdk(scratch, { enabled: true, version: "lts", maven: false, gradle: false });
|
|
27403
27529
|
return scratch.vars.JAVA_HOME;
|
|
27404
27530
|
}
|
|
27405
27531
|
|
|
27406
27532
|
// src/guest/databases/server.ts
|
|
27407
|
-
import
|
|
27408
|
-
import
|
|
27533
|
+
import fs16 from "node:fs";
|
|
27534
|
+
import path16 from "node:path";
|
|
27409
27535
|
import { spawn as spawn2 } from "node:child_process";
|
|
27410
27536
|
function dataFor(name) {
|
|
27411
|
-
return
|
|
27537
|
+
return path16.join(dataDir, "databases", name);
|
|
27412
27538
|
}
|
|
27413
27539
|
async function startServer(name, exe, args, port) {
|
|
27414
27540
|
if (await portOpen(port)) throw new Error("port " + port + " is already in use (change databases." + name + ".port)");
|
|
27415
|
-
const logFile2 =
|
|
27416
|
-
const out =
|
|
27541
|
+
const logFile2 = path16.join(logsDir, name + ".log");
|
|
27542
|
+
const out = fs16.openSync(logFile2, "a");
|
|
27417
27543
|
spawn2(exe, args, { detached: true, stdio: ["ignore", out, out], windowsHide: true }).unref();
|
|
27418
|
-
|
|
27544
|
+
fs16.closeSync(out);
|
|
27419
27545
|
if (!await waitForPort(port, 60))
|
|
27420
27546
|
throw new Error(name + " did not start listening on port " + port + "; see " + logFile2);
|
|
27421
27547
|
}
|
|
27422
27548
|
async function clearStaleLocks(dir, files, port) {
|
|
27423
27549
|
if (await portOpen(port)) return;
|
|
27424
|
-
for (const f of files)
|
|
27550
|
+
for (const f of files) fs16.rmSync(path16.join(dir, f), { force: true });
|
|
27425
27551
|
}
|
|
27426
27552
|
async function createOnce(data, marker, create) {
|
|
27427
|
-
if (exists(
|
|
27553
|
+
if (exists(path16.join(data, marker))) return;
|
|
27428
27554
|
const existed = exists(data);
|
|
27429
|
-
mkdirp(
|
|
27555
|
+
mkdirp(path16.dirname(data));
|
|
27430
27556
|
try {
|
|
27431
27557
|
await create();
|
|
27432
27558
|
} catch (e) {
|
|
@@ -27450,9 +27576,9 @@ var DynamoServer = class extends DatabaseServer {
|
|
|
27450
27576
|
* local endpoint up from AWS_ENDPOINT_URL_DYNAMODB, with dummy credentials (real ones never reach the sandbox).
|
|
27451
27577
|
*/
|
|
27452
27578
|
async start(env, plan) {
|
|
27453
|
-
const java =
|
|
27579
|
+
const java = path17.join(await ensureJdk(), "bin", "java.exe");
|
|
27454
27580
|
const home = tool("dynamodb-local");
|
|
27455
|
-
if (!exists(
|
|
27581
|
+
if (!exists(path17.join(home, "DynamoDBLocal.jar"))) {
|
|
27456
27582
|
log("Downloading DynamoDB Local (~60 MB once) ...");
|
|
27457
27583
|
const sha256 = (await fetchText(DYNAMO_ZIP + ".sha256")).trim().split(/\s+/)[0];
|
|
27458
27584
|
await downloader.archive(DYNAMO_ZIP, home, {
|
|
@@ -27466,9 +27592,9 @@ var DynamoServer = class extends DatabaseServer {
|
|
|
27466
27592
|
"dynamodb",
|
|
27467
27593
|
java,
|
|
27468
27594
|
[
|
|
27469
|
-
"-Djava.library.path=" +
|
|
27595
|
+
"-Djava.library.path=" + path17.join(home, "DynamoDBLocal_lib"),
|
|
27470
27596
|
"-jar",
|
|
27471
|
-
|
|
27597
|
+
path17.join(home, "DynamoDBLocal.jar"),
|
|
27472
27598
|
"-sharedDb",
|
|
27473
27599
|
"-dbPath",
|
|
27474
27600
|
data,
|
|
@@ -27492,10 +27618,10 @@ var DynamoServer = class extends DatabaseServer {
|
|
|
27492
27618
|
);
|
|
27493
27619
|
if (!plan.adminPort) return;
|
|
27494
27620
|
const prefix = tool("dynamodb-admin");
|
|
27495
|
-
const script =
|
|
27621
|
+
const script = path17.join(prefix, "node_modules", "dynamodb-admin", "dist", "dynamodb-admin.js");
|
|
27496
27622
|
if (!exists(script)) {
|
|
27497
27623
|
log("Installing dynamodb-admin, the DynamoDB web UI (~20 MB once) ...");
|
|
27498
|
-
const npmCli =
|
|
27624
|
+
const npmCli = path17.join(path17.dirname(process.execPath), "node_modules", "npm", "bin", "npm-cli.js");
|
|
27499
27625
|
await execAsync(
|
|
27500
27626
|
process.execPath,
|
|
27501
27627
|
[npmCli, "install", "--global", "--prefix", prefix, "dynamodb-admin", "--no-fund", "--no-audit"],
|
|
@@ -27508,15 +27634,15 @@ var DynamoServer = class extends DatabaseServer {
|
|
|
27508
27634
|
);
|
|
27509
27635
|
return;
|
|
27510
27636
|
}
|
|
27511
|
-
const out =
|
|
27637
|
+
const out = fs17.openSync(path17.join(logsDir, "dynamodb-admin.log"), "a");
|
|
27512
27638
|
spawn3(
|
|
27513
27639
|
process.execPath,
|
|
27514
27640
|
[script, "--port", String(plan.adminPort), "--dynamo-endpoint", endpoint, "--skip-default-credentials"],
|
|
27515
27641
|
{ detached: true, stdio: ["ignore", out, out], windowsHide: true, env: { ...process.env, ...aws } }
|
|
27516
27642
|
).unref();
|
|
27517
|
-
|
|
27643
|
+
fs17.closeSync(out);
|
|
27518
27644
|
if (!await waitForPort(plan.adminPort, 30))
|
|
27519
|
-
throw new Error("dynamodb-admin did not start; see " +
|
|
27645
|
+
throw new Error("dynamodb-admin did not start; see " + path17.join(logsDir, "dynamodb-admin.log"));
|
|
27520
27646
|
env.summary.push(
|
|
27521
27647
|
"dynamodb-admin: http://localhost:" + plan.adminPort + " (browse and edit tables in the sandbox's browser)"
|
|
27522
27648
|
);
|
|
@@ -27524,7 +27650,7 @@ var DynamoServer = class extends DatabaseServer {
|
|
|
27524
27650
|
};
|
|
27525
27651
|
|
|
27526
27652
|
// src/guest/databases/mongodb.ts
|
|
27527
|
-
import
|
|
27653
|
+
import path18 from "node:path";
|
|
27528
27654
|
|
|
27529
27655
|
// src/guest/toolchains/install.ts
|
|
27530
27656
|
async function installFromGithub(repo, pattern, o) {
|
|
@@ -27553,13 +27679,13 @@ var MongoServer = class extends DatabaseServer {
|
|
|
27553
27679
|
};
|
|
27554
27680
|
const version2 = await resolveCached("mongodb:" + plan.version, async () => (await find2()).version);
|
|
27555
27681
|
const home = tool("mongodb", version2);
|
|
27556
|
-
if (!exists(
|
|
27682
|
+
if (!exists(path18.join(home, "bin", "mongod.exe"))) {
|
|
27557
27683
|
const { archive } = await find2();
|
|
27558
27684
|
log("Downloading MongoDB " + version2 + " (~400 MB once) ...");
|
|
27559
27685
|
await downloader.archive(archive.url, home, { sha256: archive.sha256, locate: "mongod.exe", up: 1 });
|
|
27560
27686
|
}
|
|
27561
27687
|
const shell = tool("mongosh");
|
|
27562
|
-
if (!exists(
|
|
27688
|
+
if (!exists(path18.join(shell, "mongosh.exe"))) {
|
|
27563
27689
|
await installFromGithub("mongodb-js/mongosh", /^mongosh-[\d.]+-win32-x64\.zip$/, {
|
|
27564
27690
|
dest: shell,
|
|
27565
27691
|
what: "mongosh, the MongoDB shell (~50 MB once)",
|
|
@@ -27570,17 +27696,17 @@ var MongoServer = class extends DatabaseServer {
|
|
|
27570
27696
|
await clearStaleLocks(data, ["mongod.lock"], plan.port);
|
|
27571
27697
|
await startServer(
|
|
27572
27698
|
"mongodb",
|
|
27573
|
-
|
|
27699
|
+
path18.join(home, "bin", "mongod.exe"),
|
|
27574
27700
|
["--dbpath", data, "--bind_ip", "127.0.0.1", "--port", String(plan.port)],
|
|
27575
27701
|
plan.port
|
|
27576
27702
|
);
|
|
27577
|
-
env.prepend.push(
|
|
27703
|
+
env.prepend.push(path18.join(home, "bin"), shell);
|
|
27578
27704
|
env.summary.push("mongodb " + version2 + ": mongodb://127.0.0.1:" + plan.port + " (mongosh on PATH)");
|
|
27579
27705
|
}
|
|
27580
27706
|
};
|
|
27581
27707
|
|
|
27582
27708
|
// src/guest/databases/mysql.ts
|
|
27583
|
-
import
|
|
27709
|
+
import path19 from "node:path";
|
|
27584
27710
|
var MARIA = "https://downloads.mariadb.org/rest-api/mariadb/";
|
|
27585
27711
|
var MysqlServer = class extends DatabaseServer {
|
|
27586
27712
|
id = "mysql";
|
|
@@ -27598,8 +27724,8 @@ var MysqlServer = class extends DatabaseServer {
|
|
|
27598
27724
|
};
|
|
27599
27725
|
const version2 = await resolveCached("mariadb-version:" + series, async () => (await latest()).version);
|
|
27600
27726
|
const home = tool("mariadb", version2);
|
|
27601
|
-
const bin =
|
|
27602
|
-
if (!exists(
|
|
27727
|
+
const bin = path19.join(home, "bin");
|
|
27728
|
+
if (!exists(path19.join(bin, "mariadbd.exe"))) {
|
|
27603
27729
|
const { zip } = await latest();
|
|
27604
27730
|
log("Downloading MariaDB " + version2 + " (~90 MB once) ...");
|
|
27605
27731
|
await downloader.archive(zip.file_download_url.replace(/^http:/, "https:"), home, {
|
|
@@ -27612,13 +27738,13 @@ var MysqlServer = class extends DatabaseServer {
|
|
|
27612
27738
|
const data = dataFor("mariadb");
|
|
27613
27739
|
await createOnce(data, "mysql", async () => {
|
|
27614
27740
|
log("Creating the MariaDB database (first start) ...");
|
|
27615
|
-
await execAsync(
|
|
27741
|
+
await execAsync(path19.join(bin, "mariadb-install-db.exe"), ["--datadir=" + data, "--port=" + plan.port], {
|
|
27616
27742
|
stdio: "ignore"
|
|
27617
27743
|
});
|
|
27618
27744
|
});
|
|
27619
27745
|
await startServer(
|
|
27620
27746
|
"mysql",
|
|
27621
|
-
|
|
27747
|
+
path19.join(bin, "mariadbd.exe"),
|
|
27622
27748
|
["--datadir=" + data, "--port=" + plan.port, "--bind-address=127.0.0.1", "--console"],
|
|
27623
27749
|
plan.port
|
|
27624
27750
|
);
|
|
@@ -27631,8 +27757,8 @@ var MysqlServer = class extends DatabaseServer {
|
|
|
27631
27757
|
};
|
|
27632
27758
|
|
|
27633
27759
|
// src/guest/databases/postgres.ts
|
|
27634
|
-
import
|
|
27635
|
-
import
|
|
27760
|
+
import fs18 from "node:fs";
|
|
27761
|
+
import path20 from "node:path";
|
|
27636
27762
|
function postgresData(version2) {
|
|
27637
27763
|
return dataFor("postgres-" + version2.split(".")[0]);
|
|
27638
27764
|
}
|
|
@@ -27647,8 +27773,8 @@ var PostgresServer = class extends DatabaseServer {
|
|
|
27647
27773
|
return hit ? hit.major + "." + hit.latestMinor : Promise.reject(new Error("No supported PostgreSQL " + plan.version));
|
|
27648
27774
|
});
|
|
27649
27775
|
const home = tool("postgres", exact);
|
|
27650
|
-
const bin =
|
|
27651
|
-
if (!exists(
|
|
27776
|
+
const bin = path20.join(home, "bin");
|
|
27777
|
+
if (!exists(path20.join(bin, "pg_ctl.exe"))) {
|
|
27652
27778
|
log("Downloading PostgreSQL " + exact + " (~330 MB once) ...");
|
|
27653
27779
|
await downloader.archive(
|
|
27654
27780
|
"https://get.enterprisedb.com/postgresql/postgresql-" + exact + "-1-windows-x64-binaries.zip",
|
|
@@ -27665,7 +27791,7 @@ var PostgresServer = class extends DatabaseServer {
|
|
|
27665
27791
|
await createOnce(data, "PG_VERSION", async () => {
|
|
27666
27792
|
log("Creating the PostgreSQL database (first start) ...");
|
|
27667
27793
|
await execAsync(
|
|
27668
|
-
|
|
27794
|
+
path20.join(bin, "initdb.exe"),
|
|
27669
27795
|
["-D", data, "-U", "postgres", "-A", "trust", "-E", "UTF8", "--locale=C"],
|
|
27670
27796
|
{ stdio: "ignore" }
|
|
27671
27797
|
);
|
|
@@ -27674,7 +27800,7 @@ var PostgresServer = class extends DatabaseServer {
|
|
|
27674
27800
|
throw new Error("port " + plan.port + " is already in use (change databases.postgres.port)");
|
|
27675
27801
|
await clearStaleLocks(data, ["postmaster.pid"], plan.port);
|
|
27676
27802
|
await execAsync(
|
|
27677
|
-
|
|
27803
|
+
path20.join(bin, "pg_ctl.exe"),
|
|
27678
27804
|
[
|
|
27679
27805
|
"start",
|
|
27680
27806
|
"-D",
|
|
@@ -27683,7 +27809,7 @@ var PostgresServer = class extends DatabaseServer {
|
|
|
27683
27809
|
"-t",
|
|
27684
27810
|
"60",
|
|
27685
27811
|
"-l",
|
|
27686
|
-
|
|
27812
|
+
path20.join(logsDir, "postgres.log"),
|
|
27687
27813
|
"-o",
|
|
27688
27814
|
"-p " + plan.port + " -c listen_addresses=localhost"
|
|
27689
27815
|
],
|
|
@@ -27698,10 +27824,10 @@ var PostgresServer = class extends DatabaseServer {
|
|
|
27698
27824
|
/** Every installed version's cluster shuts down cleanly through pg_ctl first. */
|
|
27699
27825
|
async stop(plan) {
|
|
27700
27826
|
if (exists(tool("postgres"))) {
|
|
27701
|
-
for (const version2 of
|
|
27827
|
+
for (const version2 of fs18.readdirSync(tool("postgres"))) {
|
|
27702
27828
|
const data = postgresData(version2);
|
|
27703
|
-
const pgCtl =
|
|
27704
|
-
if (exists(
|
|
27829
|
+
const pgCtl = path20.join(tool("postgres", version2), "bin", "pg_ctl.exe");
|
|
27830
|
+
if (exists(path20.join(data, "postmaster.pid")) && exists(pgCtl))
|
|
27705
27831
|
await execAsync(pgCtl, ["stop", "-D", data, "-m", "fast", "-w"], { stdio: "ignore" });
|
|
27706
27832
|
}
|
|
27707
27833
|
}
|
|
@@ -27710,12 +27836,12 @@ var PostgresServer = class extends DatabaseServer {
|
|
|
27710
27836
|
};
|
|
27711
27837
|
|
|
27712
27838
|
// src/guest/databases/redis.ts
|
|
27713
|
-
import
|
|
27839
|
+
import path21 from "node:path";
|
|
27714
27840
|
var RedisServer = class extends DatabaseServer {
|
|
27715
27841
|
id = "redis";
|
|
27716
27842
|
async start(env, plan) {
|
|
27717
27843
|
const home = tool("redis");
|
|
27718
|
-
if (!exists(
|
|
27844
|
+
if (!exists(path21.join(home, "redis-server.exe"))) {
|
|
27719
27845
|
await installFromGithub("redis-windows/redis-windows", /^Redis-[\d.]+-Windows-x64-msys2\.zip$/, {
|
|
27720
27846
|
dest: home,
|
|
27721
27847
|
what: (a) => "Redis (" + a.name + ", ~10 MB once)",
|
|
@@ -27725,7 +27851,7 @@ var RedisServer = class extends DatabaseServer {
|
|
|
27725
27851
|
const data = mkdirp(dataFor("redis"));
|
|
27726
27852
|
await startServer(
|
|
27727
27853
|
"redis",
|
|
27728
|
-
|
|
27854
|
+
path21.join(home, "redis-server.exe"),
|
|
27729
27855
|
["--port", String(plan.port), "--bind", "127.0.0.1", "--dir", data.replace(/\\/g, "/"), "--appendonly", "yes"],
|
|
27730
27856
|
plan.port
|
|
27731
27857
|
);
|
|
@@ -27769,21 +27895,14 @@ async function setupDatabase(env, plan) {
|
|
|
27769
27895
|
}
|
|
27770
27896
|
|
|
27771
27897
|
// src/guest/setup/environment.ts
|
|
27772
|
-
|
|
27898
|
+
function addMachineEnvironment(vars, dirs, additive = false) {
|
|
27773
27899
|
if (!isWin || dryRun || testMode) return;
|
|
27774
|
-
const script = [
|
|
27775
|
-
"$vars = '" + JSON.stringify(vars).replace(/'/g, "''") + "' | ConvertFrom-Json",
|
|
27776
|
-
"foreach ($p in $vars.PSObject.Properties) { " + (additive ? "if ([Environment]::GetEnvironmentVariable($p.Name, 'Machine')) { continue }; " : "") + "[Environment]::SetEnvironmentVariable($p.Name, [string]$p.Value, 'Machine') }",
|
|
27777
|
-
"$path = [Environment]::GetEnvironmentVariable('Path', 'Machine') -split ';'",
|
|
27778
|
-
"$add = '" + JSON.stringify(dirs).replace(/'/g, "''") + "' | ConvertFrom-Json | Where-Object { $path -notcontains $_ }",
|
|
27779
|
-
"if ($add) { [Environment]::SetEnvironmentVariable('Path', (" + (additive ? "($path + @($add))" : "(@($add) + $path)") + " -join ';'), 'Machine') }"
|
|
27780
|
-
].join("\n");
|
|
27781
27900
|
try {
|
|
27782
|
-
|
|
27901
|
+
runScriptWithJson("set-machine-environment.ps1", "SettingsFile", { vars, path: null, add: dirs, additive });
|
|
27783
27902
|
} catch (e) {
|
|
27784
27903
|
warn("Could not add to the environment: " + errMsg(e));
|
|
27785
27904
|
}
|
|
27786
|
-
}
|
|
27905
|
+
}
|
|
27787
27906
|
|
|
27788
27907
|
// src/guest/databases/sbx-db.ts
|
|
27789
27908
|
var USAGE = "Usage: sbx-db [list] | sbx-db start <name> | sbx-db stop <name>";
|
|
@@ -27791,7 +27910,7 @@ var projectPlans = () => {
|
|
|
27791
27910
|
const file2 = process.env.AGENT_PROJECT_FILE;
|
|
27792
27911
|
if (!file2) return null;
|
|
27793
27912
|
try {
|
|
27794
|
-
return ProjectSpecSchema.safeParse(JSON.parse(
|
|
27913
|
+
return ProjectSpecSchema.safeParse(JSON.parse(fs19.readFileSync(file2, "utf8"))).data?.databases ?? null;
|
|
27795
27914
|
} catch {
|
|
27796
27915
|
return null;
|
|
27797
27916
|
}
|
|
@@ -27846,6 +27965,7 @@ function runSbxDb(args) {
|
|
|
27846
27965
|
}
|
|
27847
27966
|
|
|
27848
27967
|
// src/guest/entries/db.ts
|
|
27968
|
+
dropInheritedModulePath();
|
|
27849
27969
|
runSbxDb(process.argv.slice(2)).then(
|
|
27850
27970
|
(code) => {
|
|
27851
27971
|
process.exitCode = code;
|