Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions components/NetworkResources.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ const NETWORK_DATA = {
property: "EVM Explorer",
value: {
type: "link",
url: "https://explorer.tangle.tools",
text: "explorer.tangle.tools",
url: "https://basescan.org",
text: "basescan.org",
},
},
{ property: "Asset Details", value: "" },
Expand Down
8 changes: 1 addition & 7 deletions components/TokenContracts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -891,13 +891,7 @@ const TokenRow = memo(({ token }: { token: Token }) => (
{token.isNative ? (
"-"
) : (
<Link
href={`https://explorer.tangle.tools/address/${token.address}`}
target="_blank"
className="font-mono text-sm text-blue-600 dark:text-blue-400 hover:underline"
>
{token.address}
</Link>
<span className="font-mono text-sm">{token.address}</span>
)}
</TableCell>
</TableRow>
Expand Down
4 changes: 2 additions & 2 deletions pages/sandbox/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const client = new Sandbox({
baseUrl: process.env.SANDBOX_BASE_URL ?? "https://sandbox.tangle.tools",
});

const box = await client.create({ image: "universal", name: "agent-smoke" });
const box = await client.create({ environment: "universal", name: "agent-smoke" });

try {
const result = await box.exec("node --version && npm --version");
Expand All @@ -51,7 +51,7 @@ Each sandbox runs one coding harness. Choose it with `backend.type`. `opencode`

```typescript
const box = await client.create({
image: "universal",
environment: "universal",
backend: { type: "opencode" },
});

Expand Down
5 changes: 4 additions & 1 deletion pages/sandbox/sdk-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Create a sandbox and get back a `SandboxInstance`. Common options:
```typescript
const box = await client.create({
name: "my-project",
image: "node:20",
environment: "node:20",
backend: { type: "opencode" }, // coding harness; see supported harnesses below
env: { NODE_ENV: "development" },
resources: { cpuCores: 2, memoryMB: 4096, diskGB: 20 },
Expand All @@ -41,6 +41,9 @@ const box = await client.create({
});
```

`environment` accepts a named environment from `client.environments.list()`, a container image reference, or an SDK-built image ID.
Omit it to use the server default.

`backend.type` picks the coding harness. OpenCode is the default; Claude Code, Codex, and the other [supported harnesses](/infrastructure/harnesses) are selected the same way.

### `client.list(options?)` · `client.get(id)` · `client.usage()`
Expand Down
Loading