@openagentsinc/ai-sdk-sandbox-local 0.2.0-rc.1 → 0.2.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +36 -10
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,15 +1,41 @@
1
1
  # @openagentsinc/ai-sdk-sandbox-local
2
2
 
3
- Owner-local `HarnessV1SandboxProvider` for AI SDK harness fixtures.
3
+ > **Layer L3 — sandbox** · part of the [OpenAgents AI SDK](../../docs/README.md)
4
4
 
5
- This package is intentionally not a production sandbox. It creates a temporary
6
- workspace, scopes file APIs to that workspace, launches child processes with
7
- explicit `HOME`, `CODEX_HOME`, and `CLAUDE_CONFIG_DIR`, and exposes localhost
8
- port URLs for bridge experiments. It does not provide kernel, network, or
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
- Use it to prove Khala Code can run AI SDK harnesses without Vercel before the
12
- same adapter contract is backed by the OpenAgents sandbox/workroom runtime.
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
- Set `inheritClaudeConfig: true` for an owner-local Claude Code session that
15
- must reuse the host CLI's current login instead of an isolated config path.
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)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openagentsinc/ai-sdk-sandbox-local",
3
- "version": "0.2.0-rc.1",
3
+ "version": "0.2.0-rc.2",
4
4
  "private": false,
5
5
  "license": "Apache-2.0",
6
6
  "files": [