@openagentsinc/ai-sdk-sandbox-local 0.2.0-rc.1 → 0.2.0-rc.4
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 +36 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,15 +1,41 @@
|
|
|
1
1
|
# @openagentsinc/ai-sdk-sandbox-local
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> **Layer L3 — sandbox** · part of the [OpenAgents AI SDK](../../docs/README.md)
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
workspace, scopes file APIs to that workspace, launches child
|
|
7
|
-
explicit `HOME`, `CODEX_HOME`, and `CLAUDE_CONFIG_DIR`, and
|
|
8
|
-
port URLs for bridge experiments.
|
|
9
|
-
multi-tenant containment.
|
|
5
|
+
An owner-local sandbox provider for AI SDK harness fixtures. It creates a
|
|
6
|
+
temporary workspace, scopes the file APIs to that workspace, launches child
|
|
7
|
+
processes with explicit `HOME`, `CODEX_HOME`, and `CLAUDE_CONFIG_DIR`, and
|
|
8
|
+
exposes localhost port URLs for bridge experiments.
|
|
10
9
|
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
It is intentionally **not** a production sandbox: no kernel, network, or
|
|
11
|
+
multi-tenant containment. Use it to prove a coding-agent harness runs without
|
|
12
|
+
Vercel before the same provider contract is backed by the managed OpenAgents
|
|
13
|
+
sandbox/workroom runtime (`@openagentsinc/ai-sdk-sandbox-openagents`).
|
|
13
14
|
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
## Install
|
|
16
|
+
|
|
17
|
+
```sh
|
|
18
|
+
npm install @openagentsinc/ai-sdk-sandbox-local@rc
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Primary API
|
|
22
|
+
|
|
23
|
+
- `createLocalAiSdkSandboxProvider(options?)` — builds the provider (returns a
|
|
24
|
+
`HarnessV1SandboxProvider`).
|
|
25
|
+
- `LocalAiSdkSandboxProvider` — the provider class.
|
|
26
|
+
- Options include per-account homes and `inheritClaudeConfig: true`, which
|
|
27
|
+
reuses the host Claude Code CLI login instead of an isolated config path.
|
|
28
|
+
|
|
29
|
+
```ts
|
|
30
|
+
import { createLocalAiSdkSandboxProvider } from "@openagentsinc/ai-sdk-sandbox-local";
|
|
31
|
+
|
|
32
|
+
// An owner-local provider that isolates each session under a temp workspace.
|
|
33
|
+
const provider = createLocalAiSdkSandboxProvider({
|
|
34
|
+
inheritClaudeConfig: true,
|
|
35
|
+
});
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## More
|
|
39
|
+
|
|
40
|
+
- [Layer index](../../docs/README.md) · [Packages](../../docs/packages.md) ·
|
|
41
|
+
[Getting started](../../docs/getting-started.md)
|