@agent-relay/sandbox 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -1
- package/dist/agent37/index.d.ts +5 -0
- package/dist/agent37/index.d.ts.map +1 -0
- package/dist/agent37/index.js +3 -0
- package/dist/agent37/index.js.map +1 -0
- package/dist/agentcore/index.d.ts +6 -0
- package/dist/agentcore/index.d.ts.map +1 -0
- package/dist/agentcore/index.js +3 -0
- package/dist/agentcore/index.js.map +1 -0
- package/dist/core/index.d.ts +13 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/index.js +11 -0
- package/dist/core/index.js.map +1 -0
- package/dist/daytona/index.d.ts +5 -0
- package/dist/daytona/index.d.ts.map +1 -0
- package/dist/daytona/index.js +3 -0
- package/dist/daytona/index.js.map +1 -0
- package/dist/e2b/index.d.ts +3 -0
- package/dist/e2b/index.d.ts.map +1 -0
- package/dist/e2b/index.js +2 -0
- package/dist/e2b/index.js.map +1 -0
- package/dist/freestyle/index.d.ts +6 -0
- package/dist/freestyle/index.d.ts.map +1 -0
- package/dist/freestyle/index.js +3 -0
- package/dist/freestyle/index.js.map +1 -0
- package/dist/index.d.ts +1 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -9
- package/dist/index.js.map +1 -1
- package/dist/local/index.d.ts +3 -0
- package/dist/local/index.d.ts.map +1 -0
- package/dist/local/index.js +2 -0
- package/dist/local/index.js.map +1 -0
- package/dist/microsandbox/index.d.ts +3 -0
- package/dist/microsandbox/index.d.ts.map +1 -0
- package/dist/microsandbox/index.js +2 -0
- package/dist/microsandbox/index.js.map +1 -0
- package/dist/modal/index.d.ts +9 -0
- package/dist/modal/index.d.ts.map +1 -0
- package/dist/modal/index.js +5 -0
- package/dist/modal/index.js.map +1 -0
- package/dist/vercel/index.d.ts +6 -0
- package/dist/vercel/index.d.ts.map +1 -0
- package/dist/vercel/index.js +3 -0
- package/dist/vercel/index.js.map +1 -0
- package/package.json +8 -3
package/README.md
CHANGED
|
@@ -24,6 +24,27 @@ consumer that only runs local sandboxes does not need a remote provider SDK.
|
|
|
24
24
|
Adapters for providers that publish no JavaScript SDK speak their HTTP API
|
|
25
25
|
directly and add no dependency at all; they take an injectable `fetch` instead.
|
|
26
26
|
|
|
27
|
+
Import provider-neutral APIs and the selected adapter from separate entrypoints:
|
|
28
|
+
|
|
29
|
+
```ts
|
|
30
|
+
import { SandboxOrchestrator } from "@agent-relay/sandbox/core";
|
|
31
|
+
import { DaytonaRuntime } from "@agent-relay/sandbox/daytona";
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
The provider entrypoints are `agent37`, `agentcore`, `daytona`, `e2b`,
|
|
35
|
+
`freestyle`, `local`, `microsandbox`, `modal`, and `vercel`. Each points at its
|
|
36
|
+
own barrel, so a bundler does not have to resolve the other optional provider SDKs.
|
|
37
|
+
The root `@agent-relay/sandbox` barrel still exports the complete historical
|
|
38
|
+
surface for compatibility, but new runtime imports should use `core` plus one
|
|
39
|
+
provider subpath.
|
|
40
|
+
|
|
41
|
+
The export map uses `./* -> ./dist/*/index.js` rather than enumerating today’s
|
|
42
|
+
providers. To add another provider safely, add `src/<provider>/index.ts` as its
|
|
43
|
+
isolated public barrel and declare its SDK as an optional peer. The package
|
|
44
|
+
contract test requires every runtime directory (and every optional peer owner)
|
|
45
|
+
to have such a barrel, and the packed-package smoke test verifies those barrels
|
|
46
|
+
ship and import without installing any optional peers.
|
|
47
|
+
|
|
27
48
|
### Provider constraints
|
|
28
49
|
|
|
29
50
|
Each adapter inherits its provider SDK's requirements, and they are not all the
|
|
@@ -31,7 +52,7 @@ same as this package's:
|
|
|
31
52
|
|
|
32
53
|
| Adapter | Peer dependency | Requirements beyond this package's |
|
|
33
54
|
| --- | --- | --- |
|
|
34
|
-
| `DaytonaRuntime` | `@daytonaio/sdk` | — |
|
|
55
|
+
| `DaytonaRuntime` | `@daytonaio/sdk` 0.180–0.205 | — |
|
|
35
56
|
| `E2BSandboxRuntime` | `e2b` | — |
|
|
36
57
|
| `MicrosandboxRuntime` | `microsandbox` | **Node.js 22+**, a platform-specific native addon (macOS arm64, Linux x64/arm64, Windows x64/arm64), and — for its `local` backend — hardware virtualization: KVM on Linux, Apple Silicon on macOS, or WHP on Windows 10+ |
|
|
37
58
|
| `LocalSandboxRuntime` | — | A reachable local sandbox service |
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { AGENT37_COMMAND_CAP_MS, Agent37CommandTimeoutUnsupportedError, Agent37CreateTimeoutUnsupportedError, Agent37EnvValidationError, Agent37ForeignHandleError, Agent37MalformedResponseError, Agent37Runtime, Agent37UnknownExitCodeError, } from "./runtime.js";
|
|
2
|
+
export type { Agent37BundleFile, Agent37Budget, Agent37ContainerLogs, Agent37CountOptions, Agent37ExecOptions, Agent37Instance, Agent37InstanceStatus, Agent37LaunchOptions, Agent37LookupOptions, Agent37PublicPort, Agent37Resources, Agent37RunScriptOptions, Agent37RuntimeOptions, Agent37UploadBundleOptions, } from "./runtime.js";
|
|
3
|
+
export { Agent37ApiError, Agent37Client, isRetryableAgent37Code } from "./client.js";
|
|
4
|
+
export type { Agent37ClientOptions, Agent37Fetch, Agent37FetchInit, Agent37FetchResponse, } from "./client.js";
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/agent37/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,qCAAqC,EACrC,oCAAoC,EACpC,yBAAyB,EACzB,yBAAyB,EACzB,6BAA6B,EAC7B,cAAc,EACd,2BAA2B,GAC5B,MAAM,cAAc,CAAC;AACtB,YAAY,EACV,iBAAiB,EACjB,aAAa,EACb,oBAAoB,EACpB,mBAAmB,EACnB,kBAAkB,EAClB,eAAe,EACf,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,EACpB,iBAAiB,EACjB,gBAAgB,EAChB,uBAAuB,EACvB,qBAAqB,EACrB,0BAA0B,GAC3B,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AACrF,YAAY,EACV,oBAAoB,EACpB,YAAY,EACZ,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { AGENT37_COMMAND_CAP_MS, Agent37CommandTimeoutUnsupportedError, Agent37CreateTimeoutUnsupportedError, Agent37EnvValidationError, Agent37ForeignHandleError, Agent37MalformedResponseError, Agent37Runtime, Agent37UnknownExitCodeError, } from "./runtime.js";
|
|
2
|
+
export { Agent37ApiError, Agent37Client, isRetryableAgent37Code } from "./client.js";
|
|
3
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/agent37/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,qCAAqC,EACrC,oCAAoC,EACpC,yBAAyB,EACzB,yBAAyB,EACzB,6BAA6B,EAC7B,cAAc,EACd,2BAA2B,GAC5B,MAAM,cAAc,CAAC;AAiBtB,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { AgentCoreCommandFailedError, AgentCoreDestroyVerificationError, AgentCoreInterpreterNotReadyError, AgentCoreNetworkConfigError, AgentCoreOperationTimeoutError, AgentCoreSandboxRuntime, AgentCoreUnregisteredHandleError, } from "./runtime.js";
|
|
2
|
+
export type { AgentCoreRunScriptOptions, AgentCoreRuntimeDependencies, } from "./runtime.js";
|
|
3
|
+
export type { AgentCoreCredentials, AgentCoreInterpreterSource, AgentCoreNetworkConfig, AgentCoreRuntimeOptions, AgentCoreVpcConfig, } from "./config.js";
|
|
4
|
+
export { agentCoreCapabilityModes, agentCoreObservedCapabilities, agentCoreSandboxCapabilities, agentCoreWorkflowCapabilities, } from "./capabilities.js";
|
|
5
|
+
export type { AgentCoreObservedCapabilities } from "./capabilities.js";
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/agentcore/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,iCAAiC,EACjC,iCAAiC,EACjC,2BAA2B,EAC3B,8BAA8B,EAC9B,uBAAuB,EACvB,gCAAgC,GACjC,MAAM,cAAc,CAAC;AACtB,YAAY,EACV,yBAAyB,EACzB,4BAA4B,GAC7B,MAAM,cAAc,CAAC;AACtB,YAAY,EACV,oBAAoB,EACpB,0BAA0B,EAC1B,sBAAsB,EACtB,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,wBAAwB,EACxB,6BAA6B,EAC7B,4BAA4B,EAC5B,6BAA6B,GAC9B,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { AgentCoreCommandFailedError, AgentCoreDestroyVerificationError, AgentCoreInterpreterNotReadyError, AgentCoreNetworkConfigError, AgentCoreOperationTimeoutError, AgentCoreSandboxRuntime, AgentCoreUnregisteredHandleError, } from "./runtime.js";
|
|
2
|
+
export { agentCoreCapabilityModes, agentCoreObservedCapabilities, agentCoreSandboxCapabilities, agentCoreWorkflowCapabilities, } from "./capabilities.js";
|
|
3
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/agentcore/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,iCAAiC,EACjC,iCAAiC,EACjC,2BAA2B,EAC3B,8BAA8B,EAC9B,uBAAuB,EACvB,gCAAgC,GACjC,MAAM,cAAc,CAAC;AAYtB,OAAO,EACL,wBAAwB,EACxB,6BAA6B,EAC7B,4BAA4B,EAC5B,6BAA6B,GAC9B,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** Provider-neutral entrypoint for `@agent-relay/sandbox`. */
|
|
2
|
+
/** Package name, exported so consumers can identify the module at runtime. */
|
|
3
|
+
export declare const PACKAGE_NAME = "@agent-relay/sandbox";
|
|
4
|
+
export type { AsyncRunStartResult, AsyncRunStatus, CapabilityAbsence, DeclaredSandboxRuntimeCapabilities, FilesystemMode, InteractiveMode, LifetimeMode, OutputStreamMode, SnapshotMode, ResolvedSandboxRuntimeCapabilities, RunScriptResult, SandboxCapabilityModes, SandboxCountOptions, SandboxLookupOptions, SandboxRuntime, SandboxRuntimeCapabilities, } from "../port.js";
|
|
5
|
+
export { isPendingEvidence, resolveSandboxRuntimeCapabilities } from "../port.js";
|
|
6
|
+
export type { AsyncExecStartResult, AsyncExecStatus, ExecOptions, ExecResult, IsolationLevel, LaunchOptions, RuntimeCapabilities, RuntimeHandle, WorkflowRuntime, } from "../types.js";
|
|
7
|
+
export { LocalSandboxRuntime } from "../local/runtime.js";
|
|
8
|
+
export type { LocalSandboxRuntimeOptions } from "../local/runtime.js";
|
|
9
|
+
export { SandboxOrchestrator } from "../orchestrator.js";
|
|
10
|
+
export { buildRelayfileMountCleanupInvocationShell, buildRelayfileMountLifecycleShell, } from "../orchestrator.js";
|
|
11
|
+
export type { FlushMountOptions, RelayfileMountHandle, RelayfileMountLifecycleShellOptions, SandboxBundleFile, SandboxCapturedOutput, SandboxCommandResult, SandboxOrchestratorRuntime, SandboxOutputChunk, SandboxProvisionOptions, SandboxRunScriptOptions, StartMountOptions, StopMountOptions, } from "../orchestrator.js";
|
|
12
|
+
export * from "../mount-script.js";
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA,8DAA8D;AAE9D,8EAA8E;AAC9E,eAAO,MAAM,YAAY,yBAAyB,CAAC;AAGnD,YAAY,EACV,mBAAmB,EACnB,cAAc,EACd,iBAAiB,EACjB,kCAAkC,EAClC,cAAc,EACd,eAAe,EACf,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,kCAAkC,EAClC,eAAe,EACf,sBAAsB,EACtB,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,EACd,0BAA0B,GAC3B,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,iBAAiB,EAAE,iCAAiC,EAAE,MAAM,YAAY,CAAC;AAGlF,YAAY,EACV,oBAAoB,EACpB,eAAe,EACf,WAAW,EACX,UAAU,EACV,cAAc,EACd,aAAa,EACb,mBAAmB,EACnB,aAAa,EACb,eAAe,GAChB,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,YAAY,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AAGtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EACL,yCAAyC,EACzC,iCAAiC,GAClC,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EACV,iBAAiB,EACjB,oBAAoB,EACpB,mCAAmC,EACnC,iBAAiB,EACjB,qBAAqB,EACrB,oBAAoB,EACpB,0BAA0B,EAC1B,kBAAkB,EAClB,uBAAuB,EACvB,uBAAuB,EACvB,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,oBAAoB,CAAC;AAG5B,cAAc,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** Provider-neutral entrypoint for `@agent-relay/sandbox`. */
|
|
2
|
+
/** Package name, exported so consumers can identify the module at runtime. */
|
|
3
|
+
export const PACKAGE_NAME = "@agent-relay/sandbox";
|
|
4
|
+
export { isPendingEvidence, resolveSandboxRuntimeCapabilities } from "../port.js";
|
|
5
|
+
export { LocalSandboxRuntime } from "../local/runtime.js";
|
|
6
|
+
// --- orchestration ---------------------------------------------------------
|
|
7
|
+
export { SandboxOrchestrator } from "../orchestrator.js";
|
|
8
|
+
export { buildRelayfileMountCleanupInvocationShell, buildRelayfileMountLifecycleShell, } from "../orchestrator.js";
|
|
9
|
+
// --- relayfile-mount shell builders ----------------------------------------
|
|
10
|
+
export * from "../mount-script.js";
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA,8DAA8D;AAE9D,8EAA8E;AAC9E,MAAM,CAAC,MAAM,YAAY,GAAG,sBAAsB,CAAC;AAqBnD,OAAO,EAAE,iBAAiB,EAAE,iCAAiC,EAAE,MAAM,YAAY,CAAC;AAelF,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAG1D,8EAA8E;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EACL,yCAAyC,EACzC,iCAAiC,GAClC,MAAM,oBAAoB,CAAC;AAgB5B,8EAA8E;AAC9E,cAAc,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { DaytonaRuntime, SnapshotNotFoundError } from "./runtime.js";
|
|
2
|
+
export type { DaytonaAttachedSandboxOptions, DaytonaBundleFile, DaytonaCountByLabelsOptions, DaytonaFindByLabelsOptions, DaytonaRunScriptOptions, DaytonaRunScriptResult, DaytonaRuntimeOptions, DaytonaUploadBundleOptions, } from "./runtime.js";
|
|
3
|
+
export { fetchDaytonaWireSupplement } from "./wire-supplement.js";
|
|
4
|
+
export type { DaytonaWireSupplement } from "./wire-supplement.js";
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/daytona/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AACrE,YAAY,EACV,6BAA6B,EAC7B,iBAAiB,EACjB,2BAA2B,EAC3B,0BAA0B,EAC1B,uBAAuB,EACvB,sBAAsB,EACtB,qBAAqB,EACrB,0BAA0B,GAC3B,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAClE,YAAY,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/daytona/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAWrE,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { E2B_ASYNC_PROCESS_LOST_EXIT_CODE, E2BSandboxRuntime, } from "./runtime.js";
|
|
2
|
+
export type { E2BAttachedSandboxOptions, E2BBundleFile, E2BCountByLabelsOptions, E2BFindByLabelsOptions, E2BRunScriptOptions, E2BSandboxRuntimeOptions, E2BSandboxStatics, E2BUploadBundleOptions, } from "./runtime.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/e2b/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gCAAgC,EAChC,iBAAiB,GAClB,MAAM,cAAc,CAAC;AACtB,YAAY,EACV,yBAAyB,EACzB,aAAa,EACb,uBAAuB,EACvB,sBAAsB,EACtB,mBAAmB,EACnB,wBAAwB,EACxB,iBAAiB,EACjB,sBAAsB,GACvB,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/e2b/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gCAAgC,EAChC,iBAAiB,GAClB,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { FreestyleCapabilityMismatchError, FreestyleCreateTimeoutError, FreestyleDestroyVerificationError, FreestyleLaunchEnvironmentUnsupportedError, FreestyleLifecycleTimeoutError, FreestyleLookupTimeoutError, FreestyleRuntime, FreestyleUnknownExitCodeError, } from "./runtime.js";
|
|
2
|
+
export type { FreestyleAttachedVmOptions, FreestyleBundleFile, FreestyleListOwnedOptions, FreestyleOwnedVm, FreestyleUploadBundleOptions, } from "./runtime.js";
|
|
3
|
+
export type { FreestylePersistence, FreestyleRuntimeOptions, } from "./config.js";
|
|
4
|
+
export { freestyleObservedCapabilities, freestyleSandboxCapabilities, freestyleWorkflowCapabilities, } from "./capabilities.js";
|
|
5
|
+
export type { FreestyleObservedCapabilities } from "./capabilities.js";
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/freestyle/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gCAAgC,EAChC,2BAA2B,EAC3B,iCAAiC,EACjC,0CAA0C,EAC1C,8BAA8B,EAC9B,2BAA2B,EAC3B,gBAAgB,EAChB,6BAA6B,GAC9B,MAAM,cAAc,CAAC;AACtB,YAAY,EACV,0BAA0B,EAC1B,mBAAmB,EACnB,yBAAyB,EACzB,gBAAgB,EAChB,4BAA4B,GAC7B,MAAM,cAAc,CAAC;AACtB,YAAY,EACV,oBAAoB,EACpB,uBAAuB,GACxB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,6BAA6B,EAC7B,4BAA4B,EAC5B,6BAA6B,GAC9B,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { FreestyleCapabilityMismatchError, FreestyleCreateTimeoutError, FreestyleDestroyVerificationError, FreestyleLaunchEnvironmentUnsupportedError, FreestyleLifecycleTimeoutError, FreestyleLookupTimeoutError, FreestyleRuntime, FreestyleUnknownExitCodeError, } from "./runtime.js";
|
|
2
|
+
export { freestyleObservedCapabilities, freestyleSandboxCapabilities, freestyleWorkflowCapabilities, } from "./capabilities.js";
|
|
3
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/freestyle/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gCAAgC,EAChC,2BAA2B,EAC3B,iCAAiC,EACjC,0CAA0C,EAC1C,8BAA8B,EAC9B,2BAA2B,EAC3B,gBAAgB,EAChB,6BAA6B,GAC9B,MAAM,cAAc,CAAC;AAYtB,OAAO,EACL,6BAA6B,EAC7B,4BAA4B,EAC5B,6BAA6B,GAC9B,MAAM,mBAAmB,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -15,11 +15,7 @@
|
|
|
15
15
|
* state directories are required arguments, because no default is correct for
|
|
16
16
|
* every consumer.
|
|
17
17
|
*/
|
|
18
|
-
|
|
19
|
-
export declare const PACKAGE_NAME = "@agent-relay/sandbox";
|
|
20
|
-
export type { AsyncRunStartResult, AsyncRunStatus, CapabilityAbsence, DeclaredSandboxRuntimeCapabilities, FilesystemMode, InteractiveMode, LifetimeMode, OutputStreamMode, SnapshotMode, ResolvedSandboxRuntimeCapabilities, RunScriptResult, SandboxCapabilityModes, SandboxCountOptions, SandboxLookupOptions, SandboxRuntime, SandboxRuntimeCapabilities, } from "./port.js";
|
|
21
|
-
export { isPendingEvidence, resolveSandboxRuntimeCapabilities } from "./port.js";
|
|
22
|
-
export type { AsyncExecStartResult, AsyncExecStatus, ExecOptions, ExecResult, IsolationLevel, LaunchOptions, RuntimeCapabilities, RuntimeHandle, WorkflowRuntime, } from "./types.js";
|
|
18
|
+
export * from "./core/index.js";
|
|
23
19
|
export { DaytonaRuntime, SnapshotNotFoundError } from "./daytona/runtime.js";
|
|
24
20
|
export type { DaytonaAttachedSandboxOptions, DaytonaBundleFile, DaytonaCountByLabelsOptions, DaytonaFindByLabelsOptions, DaytonaRunScriptOptions, DaytonaRunScriptResult, DaytonaRuntimeOptions, DaytonaUploadBundleOptions, } from "./daytona/runtime.js";
|
|
25
21
|
export { fetchDaytonaWireSupplement } from "./daytona/wire-supplement.js";
|
|
@@ -55,10 +51,4 @@ export type { AgentCoreRunScriptOptions, AgentCoreRuntimeDependencies, } from ".
|
|
|
55
51
|
export type { AgentCoreCredentials, AgentCoreInterpreterSource, AgentCoreNetworkConfig, AgentCoreRuntimeOptions, AgentCoreVpcConfig, } from "./agentcore/config.js";
|
|
56
52
|
export { agentCoreCapabilityModes, agentCoreObservedCapabilities, agentCoreSandboxCapabilities, agentCoreWorkflowCapabilities, } from "./agentcore/capabilities.js";
|
|
57
53
|
export type { AgentCoreObservedCapabilities } from "./agentcore/capabilities.js";
|
|
58
|
-
export { LocalSandboxRuntime } from "./local/runtime.js";
|
|
59
|
-
export type { LocalSandboxRuntimeOptions } from "./local/runtime.js";
|
|
60
|
-
export { SandboxOrchestrator } from "./orchestrator.js";
|
|
61
|
-
export { buildRelayfileMountCleanupInvocationShell, buildRelayfileMountLifecycleShell, } from "./orchestrator.js";
|
|
62
|
-
export type { FlushMountOptions, RelayfileMountHandle, RelayfileMountLifecycleShellOptions, SandboxBundleFile, SandboxCapturedOutput, SandboxCommandResult, SandboxOrchestratorRuntime, SandboxOutputChunk, SandboxProvisionOptions, SandboxRunScriptOptions, StartMountOptions, StopMountOptions, } from "./orchestrator.js";
|
|
63
|
-
export * from "./mount-script.js";
|
|
64
54
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAKH,cAAc,iBAAiB,CAAC;AAGhC,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7E,YAAY,EACV,6BAA6B,EAC7B,iBAAiB,EACjB,2BAA2B,EAC3B,0BAA0B,EAC1B,uBAAuB,EACvB,sBAAsB,EACtB,qBAAqB,EACrB,0BAA0B,GAC3B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1E,YAAY,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAE1E,OAAO,EACL,gCAAgC,EAChC,iBAAiB,GAClB,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACV,yBAAyB,EACzB,aAAa,EACb,uBAAuB,EACvB,sBAAsB,EACtB,mBAAmB,EACnB,wBAAwB,EACxB,iBAAiB,EACjB,sBAAsB,GACvB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EACL,4BAA4B,EAC5B,gCAAgC,EAChC,8BAA8B,EAC9B,wBAAwB,EACxB,8BAA8B,EAC9B,4BAA4B,EAC5B,2BAA2B,EAC3B,wBAAwB,EACxB,+BAA+B,EAC/B,sCAAsC,EACtC,mBAAmB,EACnB,gCAAgC,EAChC,4BAA4B,EAC5B,+BAA+B,GAChC,MAAM,2BAA2B,CAAC;AACnC,YAAY,EACV,mBAAmB,EACnB,0BAA0B,EAC1B,eAAe,EACf,kBAAkB,GACnB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,sBAAsB,EACtB,qCAAqC,EACrC,oCAAoC,EACpC,yBAAyB,EACzB,yBAAyB,EACzB,6B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AC3B,iCAAiC,EACjC,iCAAiC,EACjC,2BAA2B,EAC3B,8BAA8B,EAC9B,uBAAuB,EACvB,gCAAgC,GACjC,MAAM,wBAAwB,CAAC;AAChC,YAAY,EACV,yBAAyB,EACzB,4BAA4B,GAC7B,MAAM,wBAAwB,CAAC;AAChC,YAAY,EACV,oBAAoB,EACpB,0BAA0B,EAC1B,sBAAsB,EACtB,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,wBAAwB,EACxB,6BAA6B,EAC7B,4BAA4B,EAC5B,6BAA6B,GAC9B,MAAM,6BAA6B,CAAC;AACrC,YAAY,EAAE,6BAA6B,EAAE,MAAM,6BAA6B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -15,9 +15,10 @@
|
|
|
15
15
|
* state directories are required arguments, because no default is correct for
|
|
16
16
|
* every consumer.
|
|
17
17
|
*/
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
// Keep the historical root barrel intact for existing consumers. New code
|
|
19
|
+
// should import provider-neutral APIs from `./core` and one provider subpath so
|
|
20
|
+
// bundlers never have to resolve SDKs for providers the consumer did not pick.
|
|
21
|
+
export * from "./core/index.js";
|
|
21
22
|
// --- providers -------------------------------------------------------------
|
|
22
23
|
export { DaytonaRuntime, SnapshotNotFoundError } from "./daytona/runtime.js";
|
|
23
24
|
export { fetchDaytonaWireSupplement } from "./daytona/wire-supplement.js";
|
|
@@ -35,10 +36,4 @@ export { MODAL_RATES, ModalBenchLedger, ModalBudgetExceededError, ModalLeakedSan
|
|
|
35
36
|
export { MODAL_STRUCTURALLY_FALSE, modalCapabilityModes, modalObservedCapabilities, modalSandboxCapabilities, modalWorkflowCapabilities, } from "./modal/capabilities.js";
|
|
36
37
|
export { AgentCoreCommandFailedError, AgentCoreDestroyVerificationError, AgentCoreInterpreterNotReadyError, AgentCoreNetworkConfigError, AgentCoreOperationTimeoutError, AgentCoreSandboxRuntime, AgentCoreUnregisteredHandleError, } from "./agentcore/runtime.js";
|
|
37
38
|
export { agentCoreCapabilityModes, agentCoreObservedCapabilities, agentCoreSandboxCapabilities, agentCoreWorkflowCapabilities, } from "./agentcore/capabilities.js";
|
|
38
|
-
export { LocalSandboxRuntime } from "./local/runtime.js";
|
|
39
|
-
// --- orchestration ---------------------------------------------------------
|
|
40
|
-
export { SandboxOrchestrator } from "./orchestrator.js";
|
|
41
|
-
export { buildRelayfileMountCleanupInvocationShell, buildRelayfileMountLifecycleShell, } from "./orchestrator.js";
|
|
42
|
-
// --- relayfile-mount shell builders ----------------------------------------
|
|
43
|
-
export * from "./mount-script.js";
|
|
44
39
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,0EAA0E;AAC1E,gFAAgF;AAChF,+EAA+E;AAC/E,cAAc,iBAAiB,CAAC;AAEhC,8EAA8E;AAC9E,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAW7E,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAG1E,OAAO,EACL,gCAAgC,EAChC,iBAAiB,GAClB,MAAM,kBAAkB,CAAC;AAY1B,OAAO,EACL,4BAA4B,EAC5B,gCAAgC,EAChC,8BAA8B,EAC9B,wBAAwB,EACxB,8BAA8B,EAC9B,4BAA4B,EAC5B,2BAA2B,EAC3B,wBAAwB,EACxB,+BAA+B,EAC/B,sCAAsC,EACtC,mBAAmB,EACnB,gCAAgC,EAChC,4BAA4B,EAC5B,+BAA+B,GAChC,MAAM,2BAA2B,CAAC;AAQnC,OAAO,EACL,sBAAsB,EACtB,qCA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C,OAAO,EACL,2BAA2B,EAC3B,iCAAiC,EACjC,iCAAiC,EACjC,2BAA2B,EAC3B,8BAA8B,EAC9B,uBAAuB,EACvB,gCAAgC,GACjC,MAAM,wBAAwB,CAAC;AAYhC,OAAO,EACL,wBAAwB,EACxB,6BAA6B,EAC7B,4BAA4B,EAC5B,6BAA6B,GAC9B,MAAM,6BAA6B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/local/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACnD,YAAY,EAAE,0BAA0B,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/local/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { MicrosandboxBackendBusyError, MicrosandboxBackendPoisonedError, MicrosandboxCreateTimeoutError, MicrosandboxLogReadError, MicrosandboxLookupTimeoutError, MicrosandboxNameTooLongError, MicrosandboxPaginationError, MicrosandboxRunLostError, MicrosandboxRunNotFinishedError, MicrosandboxRunTimeoutUnsupportedError, MicrosandboxRuntime, MicrosandboxSessionConflictError, MicrosandboxStatusProbeError, MicrosandboxUnknownOutcomeError, } from "./runtime.js";
|
|
2
|
+
export type { MicrosandboxBackend, MicrosandboxRuntimeOptions, MicrosandboxSdk, MicrosandboxStatus, } from "./runtime.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/microsandbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,gCAAgC,EAChC,8BAA8B,EAC9B,wBAAwB,EACxB,8BAA8B,EAC9B,4BAA4B,EAC5B,2BAA2B,EAC3B,wBAAwB,EACxB,+BAA+B,EAC/B,sCAAsC,EACtC,mBAAmB,EACnB,gCAAgC,EAChC,4BAA4B,EAC5B,+BAA+B,GAChC,MAAM,cAAc,CAAC;AACtB,YAAY,EACV,mBAAmB,EACnB,0BAA0B,EAC1B,eAAe,EACf,kBAAkB,GACnB,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { MicrosandboxBackendBusyError, MicrosandboxBackendPoisonedError, MicrosandboxCreateTimeoutError, MicrosandboxLogReadError, MicrosandboxLookupTimeoutError, MicrosandboxNameTooLongError, MicrosandboxPaginationError, MicrosandboxRunLostError, MicrosandboxRunNotFinishedError, MicrosandboxRunTimeoutUnsupportedError, MicrosandboxRuntime, MicrosandboxSessionConflictError, MicrosandboxStatusProbeError, MicrosandboxUnknownOutcomeError, } from "./runtime.js";
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/microsandbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,gCAAgC,EAChC,8BAA8B,EAC9B,wBAAwB,EACxB,8BAA8B,EAC9B,4BAA4B,EAC5B,2BAA2B,EAC3B,wBAAwB,EACxB,+BAA+B,EAC/B,sCAAsC,EACtC,mBAAmB,EACnB,gCAAgC,EAChC,4BAA4B,EAC5B,+BAA+B,GAChC,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { ModalCapabilityMismatchError, ModalDeadlineExceededError, ModalForeignSandboxError, ModalRuntime, ModalTagCollisionError, reconcileModalCapabilities, } from "./runtime.js";
|
|
2
|
+
export { MODAL_DEFAULTS, MODAL_MAX_LIFETIME_MS, MODAL_MIN_CPU_CORES, resolveModalRuntimeOptions, } from "./config.js";
|
|
3
|
+
export type { ModalCredentials, ModalResourceShape, ModalRuntimeOptions, ResolvedModalRuntimeOptions, } from "./config.js";
|
|
4
|
+
export { MODAL_RATES, ModalBenchLedger, ModalBudgetExceededError, ModalLeakedSandboxError, estimateModalFunctionCostUsd, estimateModalSandboxCostUsd, percentile, runModalBenchmark, } from "./bench.js";
|
|
5
|
+
export type { ModalBenchOptions, ModalBenchReport, ModalBenchSample, ModalCostInput, ModalLedgerEntry, ModalLedgerEntryState, } from "./bench.js";
|
|
6
|
+
export { MODAL_STRUCTURALLY_FALSE, modalCapabilityModes, modalObservedCapabilities, modalSandboxCapabilities, modalWorkflowCapabilities, } from "./capabilities.js";
|
|
7
|
+
export type { ModalObservedCapabilities } from "./capabilities.js";
|
|
8
|
+
export type { ModalClientFactory, ModalClientLike, ModalContainerProcessLike, ModalExecParams, ModalFilesystemLike, ModalSandboxCreateParams, ModalSandboxLike, ModalSandboxListParams, ModalSandboxServiceLike, } from "./internal/sdk.js";
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/modal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,0BAA0B,EAC1B,wBAAwB,EACxB,YAAY,EACZ,sBAAsB,EACtB,0BAA0B,GAC3B,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,cAAc,EACd,qBAAqB,EACrB,mBAAmB,EACnB,0BAA0B,GAC3B,MAAM,aAAa,CAAC;AACrB,YAAY,EACV,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACnB,2BAA2B,GAC5B,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,wBAAwB,EACxB,uBAAuB,EACvB,4BAA4B,EAC5B,2BAA2B,EAC3B,UAAU,EACV,iBAAiB,GAClB,MAAM,YAAY,CAAC;AACpB,YAAY,EACV,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,qBAAqB,GACtB,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,wBAAwB,EACxB,oBAAoB,EACpB,yBAAyB,EACzB,wBAAwB,EACxB,yBAAyB,GAC1B,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AACnE,YAAY,EACV,kBAAkB,EAClB,eAAe,EACf,yBAAyB,EACzB,eAAe,EACf,mBAAmB,EACnB,wBAAwB,EACxB,gBAAgB,EAChB,sBAAsB,EACtB,uBAAuB,GACxB,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { ModalCapabilityMismatchError, ModalDeadlineExceededError, ModalForeignSandboxError, ModalRuntime, ModalTagCollisionError, reconcileModalCapabilities, } from "./runtime.js";
|
|
2
|
+
export { MODAL_DEFAULTS, MODAL_MAX_LIFETIME_MS, MODAL_MIN_CPU_CORES, resolveModalRuntimeOptions, } from "./config.js";
|
|
3
|
+
export { MODAL_RATES, ModalBenchLedger, ModalBudgetExceededError, ModalLeakedSandboxError, estimateModalFunctionCostUsd, estimateModalSandboxCostUsd, percentile, runModalBenchmark, } from "./bench.js";
|
|
4
|
+
export { MODAL_STRUCTURALLY_FALSE, modalCapabilityModes, modalObservedCapabilities, modalSandboxCapabilities, modalWorkflowCapabilities, } from "./capabilities.js";
|
|
5
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/modal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,0BAA0B,EAC1B,wBAAwB,EACxB,YAAY,EACZ,sBAAsB,EACtB,0BAA0B,GAC3B,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,cAAc,EACd,qBAAqB,EACrB,mBAAmB,EACnB,0BAA0B,GAC3B,MAAM,aAAa,CAAC;AAOrB,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,wBAAwB,EACxB,uBAAuB,EACvB,4BAA4B,EAC5B,2BAA2B,EAC3B,UAAU,EACV,iBAAiB,GAClB,MAAM,YAAY,CAAC;AASpB,OAAO,EACL,wBAAwB,EACxB,oBAAoB,EACpB,yBAAyB,EACzB,wBAAwB,EACxB,yBAAyB,GAC1B,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { VercelCapabilityMismatchError, VercelDestroyVerificationError, VercelDetachedLaunchUnsupportedError, VercelForeignSandboxError, VercelLifecycleTimeoutError, VercelListPageLimitError, VercelOperationTimeoutError, VercelSandboxRuntime, VercelTagLimitError, VercelUnknownExitCodeError, reconcileVercelCapabilities, } from "./runtime.js";
|
|
2
|
+
export type { VercelAttachedSandboxOptions, VercelCapabilitySurface, VercelBundleFile, VercelListOwnedOptions, VercelOwnedSandbox, VercelRunScriptOptions, VercelUploadBundleOptions, } from "./runtime.js";
|
|
3
|
+
export { vercelCapabilityModes, vercelObservedCapabilities, vercelSandboxCapabilities, vercelWorkflowCapabilities, } from "./capabilities.js";
|
|
4
|
+
export type { VercelObservedCapabilities } from "./capabilities.js";
|
|
5
|
+
export type { VercelCredentials, VercelRuntimeOptions, VercelSandboxSource, } from "./config.js";
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/vercel/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,8BAA8B,EAC9B,oCAAoC,EACpC,yBAAyB,EACzB,2BAA2B,EAC3B,wBAAwB,EACxB,2BAA2B,EAC3B,oBAAoB,EACpB,mBAAmB,EACnB,0BAA0B,EAC1B,2BAA2B,GAC5B,MAAM,cAAc,CAAC;AACtB,YAAY,EACV,4BAA4B,EAC5B,uBAAuB,EACvB,gBAAgB,EAChB,sBAAsB,EACtB,kBAAkB,EAClB,sBAAsB,EACtB,yBAAyB,GAC1B,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,qBAAqB,EACrB,0BAA0B,EAC1B,yBAAyB,EACzB,0BAA0B,GAC3B,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AACpE,YAAY,EACV,iBAAiB,EACjB,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { VercelCapabilityMismatchError, VercelDestroyVerificationError, VercelDetachedLaunchUnsupportedError, VercelForeignSandboxError, VercelLifecycleTimeoutError, VercelListPageLimitError, VercelOperationTimeoutError, VercelSandboxRuntime, VercelTagLimitError, VercelUnknownExitCodeError, reconcileVercelCapabilities, } from "./runtime.js";
|
|
2
|
+
export { vercelCapabilityModes, vercelObservedCapabilities, vercelSandboxCapabilities, vercelWorkflowCapabilities, } from "./capabilities.js";
|
|
3
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/vercel/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,8BAA8B,EAC9B,oCAAoC,EACpC,yBAAyB,EACzB,2BAA2B,EAC3B,wBAAwB,EACxB,2BAA2B,EAC3B,oBAAoB,EACpB,mBAAmB,EACnB,0BAA0B,EAC1B,2BAA2B,GAC5B,MAAM,cAAc,CAAC;AAUtB,OAAO,EACL,qBAAqB,EACrB,0BAA0B,EAC1B,yBAAyB,EACzB,0BAA0B,GAC3B,MAAM,mBAAmB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-relay/sandbox",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "Provider-agnostic sandbox runtimes and orchestration for agent workloads.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -10,6 +10,10 @@
|
|
|
10
10
|
".": {
|
|
11
11
|
"types": "./dist/index.d.ts",
|
|
12
12
|
"import": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./*": {
|
|
15
|
+
"types": "./dist/*/index.d.ts",
|
|
16
|
+
"import": "./dist/*/index.js"
|
|
13
17
|
}
|
|
14
18
|
},
|
|
15
19
|
"files": [
|
|
@@ -23,12 +27,13 @@
|
|
|
23
27
|
"prepare": "npm run build",
|
|
24
28
|
"build": "tsc -p tsconfig.json",
|
|
25
29
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
26
|
-
"test": "node --test --import tsx \"src/**/*.test.ts\""
|
|
30
|
+
"test": "node --test --import tsx \"src/**/*.test.ts\"",
|
|
31
|
+
"test:package": "npm run build && node scripts/package-smoke.mjs"
|
|
27
32
|
},
|
|
28
33
|
"peerDependencies": {
|
|
29
34
|
"@aws-sdk/client-bedrock-agentcore": ">=3.1115.0 <4.0.0",
|
|
30
35
|
"@aws-sdk/client-bedrock-agentcore-control": ">=3.1115.0 <4.0.0",
|
|
31
|
-
"@daytonaio/sdk": ">=0.
|
|
36
|
+
"@daytonaio/sdk": ">=0.180.0 <0.206.0",
|
|
32
37
|
"@vercel/sandbox": ">=3.0.1 <4.0.0",
|
|
33
38
|
"e2b": ">=2.35.0 <3.0.0",
|
|
34
39
|
"freestyle": "0.1.63",
|