@tangle-network/sandbox 1.0.60 → 1.0.62
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 +1 -1
- package/dist/agent/index.d.ts +6 -7
- package/dist/agent/index.js +4 -4
- package/dist/agent/preview.d.ts +1 -1
- package/dist/agent/preview.js +1 -1
- package/dist/{agent-run-outcome-DQsKqrUg.d.ts → agent-run-outcome-DkJVwb8D.d.ts} +2 -2
- package/dist/{browser-interactive-control-controller-wp8WpHrK.d.ts → browser-interactive-control-controller-DdhciJR8.d.ts} +1 -1
- package/dist/{client-65nLOvJ7.js → client-CB8fk-35.js} +9 -5
- package/dist/{client-BU_g1IAA.d.ts → client-CpTt65-H.d.ts} +8 -17
- package/dist/{core-Cr7opKvg.js → core-f9uxff1T.js} +1 -1
- package/dist/core.d.ts +6 -6
- package/dist/core.js +3 -3
- package/dist/{index-Dg0oODRT.d.ts → index-CEnN8lzy.d.ts} +16 -24
- package/dist/index.d.ts +9 -9
- package/dist/index.js +8 -17
- package/dist/intelligence/index.d.ts +1 -4
- package/dist/intelligence/index.js +0 -1
- package/dist/interactive-control.d.ts +1 -1
- package/dist/{interactive-controller-DfzfOmf9.js → interactive-controller-BRUzaI-G.js} +1 -1
- package/dist/{interactive-controller-CYi2SQLW.d.ts → interactive-controller-DKSv-fGQ.d.ts} +3 -3
- package/dist/{lines-1ZmvseqM.d.ts → lines-BU4hEO2M.d.ts} +1 -1
- package/dist/lines.d.ts +1 -1
- package/dist/{mcp-local-CPdKHcQ-.js → mcp-local-CQJwjQkZ.js} +2 -3
- package/dist/{preview-Ck7dk9RQ.d.ts → preview-DlMDTeyz.d.ts} +3 -3
- package/dist/{public-templates-BtwE92xQ.d.ts → public-templates-DgFlNR6x.d.ts} +2 -2
- package/dist/public-templates.d.ts +1 -1
- package/dist/{raw-evidence-archive-Cwap86xg.js → raw-evidence-archive-DXGxxsgK.js} +1 -1
- package/dist/runtime.d.ts +5 -5
- package/dist/runtime.js +1 -1
- package/dist/{sandbox-0FmoqR0P.js → sandbox-CkSdNOmZ.js} +45 -101
- package/dist/select-seat-command.d.ts +1 -1
- package/dist/session-gateway/index.js +1 -1
- package/dist/{sse-parser-BU0BrEcQ.js → sse-parser-BUIKfYAd.js} +1 -1
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/{tangle-BH7X-adR.js → tangle-Dd1RSvh3.js} +1 -1
- package/dist/{terminal-stream-types-BarOQIIa.d.ts → terminal-stream-types-BlOFGopg.d.ts} +2 -1
- package/dist/{types-KVM581O6.d.ts → types-D89tf_Kw.d.ts} +7 -49
- package/package.json +7 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as AgentRuntimeAttachments, G as AgentProfile, K as AgentProfileCapabilities, Rt as SandboxCreateReceipt, S as SandboxSizePreset, U as InteractionRequest, a as TerminalStreamOptions, ct as ReasoningEffort, g as TerminalReadyInfo, i as TerminalStreamHandlers, ot as AgentProfileValidationResult, q as AgentProfileConfidential, s as TerminalStreamToken, t as TerminalAttachTimings, ut as PlanContinuation, z as AgentExactRunControlRef } from "./terminal-stream-types-
|
|
1
|
+
import { C as AgentRuntimeAttachments, G as AgentProfile, K as AgentProfileCapabilities, Rt as SandboxCreateReceipt, S as SandboxSizePreset, U as InteractionRequest, a as TerminalStreamOptions, ct as ReasoningEffort, g as TerminalReadyInfo, i as TerminalStreamHandlers, ot as AgentProfileValidationResult, q as AgentProfileConfidential, s as TerminalStreamToken, t as TerminalAttachTimings, ut as PlanContinuation, z as AgentExactRunControlRef } from "./terminal-stream-types-BlOFGopg.js";
|
|
2
2
|
import { t as CliAuthReference } from "./cli-auth-bundle-99-eo7R4.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region ../../../packages/runtime-contracts/dist/backend-types.d.ts
|
|
@@ -3890,9 +3890,9 @@ interface WriteFileOptions {
|
|
|
3890
3890
|
}
|
|
3891
3891
|
/** Options for {@link FileSystem.writeMany}. */
|
|
3892
3892
|
interface WriteManyOptions {
|
|
3893
|
-
/** Delay between batch requests or
|
|
3893
|
+
/** Delay between batch requests or sequential writes. Default 0. */
|
|
3894
3894
|
paceMs?: number;
|
|
3895
|
-
/** Max retries per
|
|
3895
|
+
/** Max retries per sequential write on a transient error. Default 4. */
|
|
3896
3896
|
maxRetries?: number;
|
|
3897
3897
|
}
|
|
3898
3898
|
interface FileSystem {
|
|
@@ -4390,12 +4390,8 @@ interface EgressPolicy {
|
|
|
4390
4390
|
//#endregion
|
|
4391
4391
|
//#region src/types/network.d.ts
|
|
4392
4392
|
/**
|
|
4393
|
-
* Runtime network state for a sandbox
|
|
4394
|
-
*
|
|
4395
|
-
* `ports` is the only field the platform reports: it lists ports exposed via
|
|
4396
|
-
* {@link NetworkManager.exposePort}. The outbound-policy fields are retained
|
|
4397
|
-
* for source compatibility and are rejected by the server — see
|
|
4398
|
-
* {@link NetworkManager.update}.
|
|
4393
|
+
* Runtime network state for a sandbox: the ports exposed via
|
|
4394
|
+
* {@link NetworkManager.exposePort}.
|
|
4399
4395
|
*
|
|
4400
4396
|
* @example Read the exposed ports
|
|
4401
4397
|
* ```typescript
|
|
@@ -4408,27 +4404,7 @@ interface EgressPolicy {
|
|
|
4408
4404
|
* ```
|
|
4409
4405
|
*/
|
|
4410
4406
|
interface NetworkConfig {
|
|
4411
|
-
/**
|
|
4412
|
-
* @deprecated Not enforceable and rejected with a 409. No driver applies
|
|
4413
|
-
* per-sandbox outbound rules: sandboxes are never granted NET_ADMIN, and a
|
|
4414
|
-
* rule set written inside a sandbox could be flushed by the code it is
|
|
4415
|
-
* meant to constrain. Block all outbound traffic with
|
|
4416
|
-
* `box.egress.update({ mode: "blocked" })`.
|
|
4417
|
-
*/
|
|
4418
|
-
blockOutbound?: boolean;
|
|
4419
|
-
/**
|
|
4420
|
-
* @deprecated Not enforceable and rejected with a 409. Egress enforcement
|
|
4421
|
-
* allowlists domains, not CIDRs, so there is no destination-IP filter to
|
|
4422
|
-
* apply. Use `box.egress.update({ mode: "strict", allowDomains: [...] })`.
|
|
4423
|
-
*/
|
|
4424
|
-
allowList?: string[];
|
|
4425
|
-
/**
|
|
4426
|
-
* Ports currently exposed for the sandbox.
|
|
4427
|
-
*
|
|
4428
|
-
* Read-only in practice: sending `ports` to `update()` is rejected with a
|
|
4429
|
-
* 409 because it never exposed anything. Expose a port with
|
|
4430
|
-
* {@link NetworkManager.exposePort}.
|
|
4431
|
-
*/
|
|
4407
|
+
/** Ports currently exposed for the sandbox. */
|
|
4432
4408
|
ports?: number[];
|
|
4433
4409
|
}
|
|
4434
4410
|
/**
|
|
@@ -4580,23 +4556,6 @@ interface SandboxEgressUsage {
|
|
|
4580
4556
|
* ```
|
|
4581
4557
|
*/
|
|
4582
4558
|
interface NetworkManager {
|
|
4583
|
-
/**
|
|
4584
|
-
* Update runtime network settings.
|
|
4585
|
-
*
|
|
4586
|
-
* @deprecated Every field this accepts is rejected by the server. Outbound
|
|
4587
|
-
* policy is unenforceable here (see {@link NetworkConfig}) and `ports` never
|
|
4588
|
-
* exposed anything. Use `box.egress.update()` for outbound policy and
|
|
4589
|
-
* {@link NetworkManager.exposePort} for ports.
|
|
4590
|
-
*
|
|
4591
|
-
* @param config - Partial network configuration to apply
|
|
4592
|
-
* @throws Error if blockOutbound and allowList are both specified
|
|
4593
|
-
* @throws Error if allowList exceeds 10 entries
|
|
4594
|
-
* @throws Error if CIDR format is invalid
|
|
4595
|
-
* @throws SandboxError (409, `DRIVER_CAPABILITY_UNSUPPORTED`) if the request
|
|
4596
|
-
* carries `blockOutbound`, `allowList`, or `ports` — the platform will not
|
|
4597
|
-
* report success for a policy it cannot enforce
|
|
4598
|
-
*/
|
|
4599
|
-
update(config: Partial<NetworkConfig>): Promise<void>;
|
|
4600
4559
|
/**
|
|
4601
4560
|
* Expose a port dynamically.
|
|
4602
4561
|
* Returns a publicly accessible URL for the port.
|
|
@@ -7099,8 +7058,7 @@ interface SessionMessage {
|
|
|
7099
7058
|
completedAt?: string;
|
|
7100
7059
|
interrupted?: boolean;
|
|
7101
7060
|
interruptedAt?: string;
|
|
7102
|
-
interruptReason?: string;
|
|
7103
|
-
turnId?: string;
|
|
7061
|
+
interruptReason?: string;
|
|
7104
7062
|
startedAt?: string;
|
|
7105
7063
|
[extra: string]: unknown;
|
|
7106
7064
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.62",
|
|
4
4
|
"description": "Client SDK for the Tangle Sandbox platform - build AI agent applications with dev containers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -153,15 +153,15 @@
|
|
|
153
153
|
"vitest": "^4.1.12",
|
|
154
154
|
"ws": "^8.22.0",
|
|
155
155
|
"yjs": "13.6.33",
|
|
156
|
-
"@
|
|
157
|
-
"@tangle-network/runtime-contracts": "0.19.0",
|
|
158
|
-
"@products/sandbox-test-utils": "0.0.0",
|
|
156
|
+
"@repo/shared": "0.0.0",
|
|
159
157
|
"@tangle-network/agent-profile-materialize": "0.27.1",
|
|
160
|
-
"@
|
|
158
|
+
"@products/sandbox-test-utils": "0.0.0",
|
|
159
|
+
"@tangle-network/cli-agent-registry": "0.14.0",
|
|
160
|
+
"@tangle-network/runtime-contracts": "0.20.0"
|
|
161
161
|
},
|
|
162
162
|
"tangleRelease": {
|
|
163
|
-
"sourceSha": "
|
|
164
|
-
"mergedAt": "2026-10-28T20:
|
|
163
|
+
"sourceSha": "2d7fa55d84e3ee1f3af97191187fedef743472db",
|
|
164
|
+
"mergedAt": "2026-10-28T20:21:32-06:00"
|
|
165
165
|
},
|
|
166
166
|
"scripts": {
|
|
167
167
|
"build": "node scripts/build-dist.mjs",
|