@tangle-network/sandbox 0.51.0 → 0.51.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.
- package/README.md +3 -0
- package/dist/agent/index.d.ts +2 -2
- package/dist/agent/index.js +2 -2
- package/dist/{client-0HxOqMTg.d.ts → client-BxmE6lzM.d.ts} +1 -1
- package/dist/{client-ypkUXWEV.js → client-C0Hh8VIU.js} +1 -1
- package/dist/core.d.ts +2 -2
- package/dist/core.js +2 -2
- package/dist/{index-D3q4u0kQ.d.ts → index-T-IJBy-K.d.ts} +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/{sandbox-D9m16QdB.js → sandbox-Cpef0hje.js} +6 -6
- package/dist/{sandbox-DxBZCyMo.d.ts → sandbox-_8gQrTRU.d.ts} +28 -10
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/{tangle-qQ5nzHZV.js → tangle-DRjGPX5U.js} +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -662,6 +662,9 @@ await box.lines.attach({
|
|
|
662
662
|
Use `mode: "shared"` with `roles` and several `members` for one agent that many people text.
|
|
663
663
|
Each member gets their own thread; a `shared`-context role sees other shared members' recent exchanges, and an `own`-context role sees none.
|
|
664
664
|
Unknown senders are rejected unless `unknownSenders: "guest"` admits them with the `guest` role.
|
|
665
|
+
One sandbox serves every member, and a role with `act` tools can read every member's session files in it.
|
|
666
|
+
So an attachment that uses an `own`-context role, including `guest`, must make every role in use `chat`; Hub refuses it otherwise.
|
|
667
|
+
A `chat` role's turns get no shell, no file tools, no subagents, and none of the backend's MCP servers, connections or hooks.
|
|
665
668
|
Attach with an API key that can run the sandbox: each turn runs as a short-lived child of that key.
|
|
666
669
|
|
|
667
670
|
To check each answer before it is sent, name a reply gate.
|
package/dist/agent/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as SandboxSession, h as SandboxTaskSession, r as SandboxInstance } from "../sandbox-
|
|
1
|
+
import { g as SandboxSession, h as SandboxTaskSession, r as SandboxInstance } from "../sandbox-_8gQrTRU.js";
|
|
2
2
|
import { D as CodeExecutionResult, E as CodeExecutionOptions, Mi as SessionInfo, O as CodeLanguage, Pi as SessionListOptions, d as BackendConfig, k as CodeResultPart } from "../types-BoW_VFjX.js";
|
|
3
|
-
import { i as Sandbox } from "../client-
|
|
3
|
+
import { i as Sandbox } from "../client-BxmE6lzM.js";
|
|
4
4
|
import * as _$_modelcontextprotocol_sdk_server_index_js0 from "@modelcontextprotocol/sdk/server/index.js";
|
|
5
5
|
import { JSONSchema } from "zod/v4/core";
|
|
6
6
|
|
package/dist/agent/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { y as assertCurrentBackendType } from "../runtime-api-DHHveKas.js";
|
|
2
2
|
import { c as NotFoundError, g as ValidationError, m as StateError } from "../errors-CmYPVl-k.js";
|
|
3
|
-
import { n as Sandbox } from "../client-
|
|
4
|
-
import { t as SandboxInstance } from "../sandbox-
|
|
3
|
+
import { n as Sandbox } from "../client-C0Hh8VIU.js";
|
|
4
|
+
import { t as SandboxInstance } from "../sandbox-Cpef0hje.js";
|
|
5
5
|
import { createRequire } from "node:module";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region src/agent/instances.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as LinesClient, l as TraceExportResult, n as HttpClient, r as SandboxInstance, u as TraceExportSink } from "./sandbox-
|
|
1
|
+
import { M as LinesClient, l as TraceExportResult, n as HttpClient, r as SandboxInstance, u as TraceExportSink } from "./sandbox-_8gQrTRU.js";
|
|
2
2
|
import { l as ScopedToken, s as MintInteractiveSessionTokenOptions } from "./terminal-stream-CcaBTVg3.js";
|
|
3
3
|
import { $n as ReconcileSandboxFleetsResult, B as CreateSandboxOptions, Bn as PromptOptions, Bt as FleetMachineId, Cr as SandboxFleetCostEstimate, Er as SandboxFleetDriverCapability, F as CreateIntelligenceReportOptions, Ft as FleetDispatchStreamOptions, G as DeleteMatchingSandboxesFilter, Gr as SandboxFleetWorkspaceReconcileResult, Hr as SandboxFleetTraceOptions, Ht as FleetPromptDispatchResult, I as CreateRequestOptions, Ir as SandboxFleetOperationsSummary, It as FleetDriveTurnOutcome, Jn as PublishPublicTemplateOptions, Jr as SandboxIdentity, K as DeleteMatchingSandboxesOptions, Ki as SshKeysManager, Kn as PublicTemplateInfo, Kr as SandboxFleetWorkspaceRestoreResult, L as CreateSandboxFleetOptions, Lt as FleetDriveTurnRequest, M as ConversationTurnOptions, Mr as SandboxFleetMachineRecord, Mt as FleetDispatchCancelResult, N as ConversationTurnResult, Nt as FleetDispatchResultBuffer, Or as SandboxFleetInfo, Pr as SandboxFleetManifest, Pt as FleetDispatchResultBufferOptions, Qn as ReconcileSandboxFleetsOptions, R as CreateSandboxFleetTokenOptions, Rr as SandboxFleetToken, Rt as FleetExecDispatchOptions, Si as SecretsManager, Sr as SandboxFleetArtifactSpec, Tr as SandboxFleetDispatchResponse, Ur as SandboxFleetUsage, Vn as PromptResult, Vt as FleetPromptDispatchOptions, Xi as SubscriptionInfo, Xn as ReapExpiredSandboxFleetsOptions, Yn as PublishPublicTemplateVersionOptions, Yr as SandboxInfo, Zn as ReapExpiredSandboxFleetsResult, _t as ExecOptions, b as BatchRunRequest, d as BackendConfig, dn as IntelligenceReportBudget, fn as IntelligenceReportCompareTo, fr as SandboxConfig, l as AttachSandboxFleetMachineOptions, mn as IntelligenceReportWindow, oi as SandboxShapesInfo, pa as UsageInfo, q as DeleteMatchingSandboxesResult, qn as PublicTemplateVersionInfo, qr as SandboxFleetWorkspaceSnapshotResult, sa as TokenRefreshHandler, un as IntelligenceReport, v as BatchResult, vn as ListSandboxFleetOptions, vt as ExecResult, xa as BatchEvent, xr as SandboxFleetArtifact, y as BatchRunOptions, yn as ListSandboxOptions, yr as SandboxEnvironment, z as CreateSandboxFleetWithCoordinatorOptions, zn as PromptInputPart, zr as SandboxFleetTraceBundle, zt as FleetExecDispatchResult } from "./types-BoW_VFjX.js";
|
|
4
4
|
import { f as SandboxError } from "./errors-Cz23YNu2.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { E as backendTypeSchema, _ as parseSSEStream, g as encodeTextForWire, h as encodePromptForWire, p as SANDBOX_PROXY_REQUEST_MAX_BYTES, v as applyRequestedModel, x as normalizeRuntimeBackendConfig, y as assertCurrentBackendType } from "./runtime-api-DHHveKas.js";
|
|
2
2
|
import { _ as parseErrorResponse, c as NotFoundError, f as SandboxError, g as ValidationError, h as TimeoutError, l as PartialFailureError, p as ServerError, s as NetworkError, t as AuthError } from "./errors-CmYPVl-k.js";
|
|
3
3
|
import { n as combineAbortSignals } from "./abort-signal-si1WMfJb.js";
|
|
4
|
-
import { D as normalizeSandboxShape, E as normalizeConnection, O as LinesClient, b as requestInteractiveSessionToken, i as normalizeStartupDiagnostics, j as exportTraceBundle, n as createSandboxInstanceFromResponse, r as normalizeSandboxCreateReceipt } from "./sandbox-
|
|
4
|
+
import { D as normalizeSandboxShape, E as normalizeConnection, O as LinesClient, b as requestInteractiveSessionToken, i as normalizeStartupDiagnostics, j as exportTraceBundle, n as createSandboxInstanceFromResponse, r as normalizeSandboxCreateReceipt } from "./sandbox-Cpef0hje.js";
|
|
5
5
|
import { agentProfileSchema } from "@tangle-network/agent-interface";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region src/backend-registry.ts
|
package/dist/core.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as WorkspaceImagePublishRequestOptions, i as WorkspaceImagePublishInput, o as WorkspaceImagePublishResult, r as SandboxInstance, s as WorkspaceImages } from "./sandbox-
|
|
1
|
+
import { a as WorkspaceImagePublishRequestOptions, i as WorkspaceImagePublishInput, o as WorkspaceImagePublishResult, r as SandboxInstance, s as WorkspaceImages } from "./sandbox-_8gQrTRU.js";
|
|
2
2
|
import { An as PreviewLinkWaitOptions, B as CreateSandboxOptions, Cn as NetworkConfig, Ii as SessionMessageAdmission, M as ConversationTurnOptions, N as ConversationTurnResult, On as PreviewLinkInfo, Yr as SandboxInfo, _t as ExecOptions, fr as SandboxConfig, kn as PreviewLinkManager, si as SandboxStatus, vt as ExecResult, zn as PromptInputPart } from "./types-BoW_VFjX.js";
|
|
3
|
-
import { A as parseBackendRegistryResponse, C as BackendRegistryInteractionKind, D as backendRegistryInteractionKindSchema, E as backendRegistryEntrySchema, O as backendRegistryResponseSchema, S as BackendRegistryEntry, T as backendRegistryCapabilitiesSchema, d as HostedInstance, f as InstanceProfile, h as InstancesClient, i as Sandbox, j as parseBackendRegistryResponseBody, k as isBackendRegistryInteractionKind, m as InstanceRestartingError, p as InstanceRecord, u as EnsureInstanceOptions, w as BackendRegistryResponse, x as BackendRegistryCapabilities } from "./client-
|
|
3
|
+
import { A as parseBackendRegistryResponse, C as BackendRegistryInteractionKind, D as backendRegistryInteractionKindSchema, E as backendRegistryEntrySchema, O as backendRegistryResponseSchema, S as BackendRegistryEntry, T as backendRegistryCapabilitiesSchema, d as HostedInstance, f as InstanceProfile, h as InstancesClient, i as Sandbox, j as parseBackendRegistryResponseBody, k as isBackendRegistryInteractionKind, m as InstanceRestartingError, p as InstanceRecord, u as EnsureInstanceOptions, w as BackendRegistryResponse, x as BackendRegistryCapabilities } from "./client-BxmE6lzM.js";
|
|
4
4
|
import { _ as TimeoutError, a as FileWriteConflictError, c as NotFoundError, f as SandboxError, g as StateError, h as ServerError, l as PartialFailureError, m as SandboxFailureDetail, n as CapabilityError, p as SandboxErrorJson, s as NetworkError, t as AuthError, u as QuotaError, v as ValidationError } from "./errors-Cz23YNu2.js";
|
|
5
5
|
|
|
6
6
|
//#region src/core.d.ts
|
package/dist/core.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as FileWriteConflictError, c as NotFoundError, f as SandboxError, g as ValidationError, h as TimeoutError, l as PartialFailureError, m as StateError, n as CapabilityError, p as ServerError, s as NetworkError, t as AuthError, u as QuotaError } from "./errors-CmYPVl-k.js";
|
|
2
|
-
import { _ as backendRegistryInteractionKindSchema, b as parseBackendRegistryResponse, c as InstanceRestartingError, g as backendRegistryEntrySchema, h as backendRegistryCapabilitiesSchema, l as InstancesClient, n as Sandbox, s as HostedInstance, v as backendRegistryResponseSchema, x as parseBackendRegistryResponseBody, y as isBackendRegistryInteractionKind } from "./client-
|
|
3
|
-
import { a as WorkspaceImages, t as SandboxInstance } from "./sandbox-
|
|
2
|
+
import { _ as backendRegistryInteractionKindSchema, b as parseBackendRegistryResponse, c as InstanceRestartingError, g as backendRegistryEntrySchema, h as backendRegistryCapabilitiesSchema, l as InstancesClient, n as Sandbox, s as HostedInstance, v as backendRegistryResponseSchema, x as parseBackendRegistryResponseBody, y as isBackendRegistryInteractionKind } from "./client-C0Hh8VIU.js";
|
|
3
|
+
import { a as WorkspaceImages, t as SandboxInstance } from "./sandbox-Cpef0hje.js";
|
|
4
4
|
//#region src/core.ts
|
|
5
5
|
/** Local SDK protocol support only, not a deployed-host readiness assertion.
|
|
6
6
|
* Version 1 refuses unconfirmed isolated receipts before materializing any
|
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { $ as createInteractiveTerminalCapture, A as LineThread, B as InteractiveSessionHost, C as LineMemberPatch, D as LineRespondAgent, E as LineReplyGate, F as InteractiveControlClaimRequest, G as InteractiveSessionStartResult, H as InteractiveSessionInfo, I as InteractivePromptCommand, J as RespondToPermissionOptions, K as InteractiveStopCommand, L as InteractiveSessionControlClaim, M as LinesClient, N as SandboxLines, O as LineRespondView, P as AgentInteractiveTerminalSession, Q as InteractiveTerminalMetadata, R as InteractiveSessionHandle, S as LineMember, T as LineMessage, U as InteractiveSessionRef, V as InteractiveSessionIncarnationId, W as InteractiveSessionStartOptions, X as InteractiveTerminalCapture, Y as agentInteractiveSessionPromptRequestDigest, Z as InteractiveTerminalFrameLog, _ as Line, _t as SandboxMcpServerEntry, a as WorkspaceImagePublishRequestOptions, at as InteractiveSessionControllerOptions, b as LineFromConnectionInput, c as TraceExportFormat, ct as SandboxInteractionConflict, d as buildTraceExportPayload, dt as BuildControlPlaneMcpConfigOptions, et as createInteractiveTerminalSession, f as exportTraceBundle, ft as BuildSandboxMcpConfigOptions, g as SandboxSession, gt as SandboxMcpEndpoint, h as SandboxTaskSession, ht as SandboxMcpConfig, i as WorkspaceImagePublishInput, it as InteractiveSessionController, j as LineTransport, k as LineRole, l as TraceExportResult, lt as SandboxInteractionResolution, m as toOtelJson, mt as SANDBOX_MCP_SERVER_NAME, nt as BrowserInteractiveSessionControllerOptions, o as WorkspaceImagePublishResult, ot as InteractiveSessionControllerTransport, p as otelTraceIdForTangleTrace, pt as CONTROL_PLANE_MCP_SERVER_NAME, q as InterruptResult, r as SandboxInstance, rt as InteractiveAttachRequest, s as WorkspaceImages, st as SandboxInteractionCommandResult, t as ForkAcknowledgement, tt as BrowserInteractiveSessionController, u as TraceExportSink, ut as SandboxInteractionResult, v as LineAttachOptions, vt as buildControlPlaneMcpConfig, w as LineMemberSpec, x as LineLimits, y as LineAttachment, yt as buildSandboxMcpConfig, z as InteractiveSessionHandleOptions } from "./sandbox-
|
|
1
|
+
import { $ as createInteractiveTerminalCapture, A as LineThread, B as InteractiveSessionHost, C as LineMemberPatch, D as LineRespondAgent, E as LineReplyGate, F as InteractiveControlClaimRequest, G as InteractiveSessionStartResult, H as InteractiveSessionInfo, I as InteractivePromptCommand, J as RespondToPermissionOptions, K as InteractiveStopCommand, L as InteractiveSessionControlClaim, M as LinesClient, N as SandboxLines, O as LineRespondView, P as AgentInteractiveTerminalSession, Q as InteractiveTerminalMetadata, R as InteractiveSessionHandle, S as LineMember, T as LineMessage, U as InteractiveSessionRef, V as InteractiveSessionIncarnationId, W as InteractiveSessionStartOptions, X as InteractiveTerminalCapture, Y as agentInteractiveSessionPromptRequestDigest, Z as InteractiveTerminalFrameLog, _ as Line, _t as SandboxMcpServerEntry, a as WorkspaceImagePublishRequestOptions, at as InteractiveSessionControllerOptions, b as LineFromConnectionInput, c as TraceExportFormat, ct as SandboxInteractionConflict, d as buildTraceExportPayload, dt as BuildControlPlaneMcpConfigOptions, et as createInteractiveTerminalSession, f as exportTraceBundle, ft as BuildSandboxMcpConfigOptions, g as SandboxSession, gt as SandboxMcpEndpoint, h as SandboxTaskSession, ht as SandboxMcpConfig, i as WorkspaceImagePublishInput, it as InteractiveSessionController, j as LineTransport, k as LineRole, l as TraceExportResult, lt as SandboxInteractionResolution, m as toOtelJson, mt as SANDBOX_MCP_SERVER_NAME, nt as BrowserInteractiveSessionControllerOptions, o as WorkspaceImagePublishResult, ot as InteractiveSessionControllerTransport, p as otelTraceIdForTangleTrace, pt as CONTROL_PLANE_MCP_SERVER_NAME, q as InterruptResult, r as SandboxInstance, rt as InteractiveAttachRequest, s as WorkspaceImages, st as SandboxInteractionCommandResult, t as ForkAcknowledgement, tt as BrowserInteractiveSessionController, u as TraceExportSink, ut as SandboxInteractionResult, v as LineAttachOptions, vt as buildControlPlaneMcpConfig, w as LineMemberSpec, x as LineLimits, y as LineAttachment, yt as buildSandboxMcpConfig, z as InteractiveSessionHandleOptions } from "./sandbox-_8gQrTRU.js";
|
|
2
2
|
import { c as MintScopedTokenOptions, d as TERMINAL_WS_ECHO_SUBPROTOCOL, f as TerminalExitInfo, g as TerminalStreamAuthFormat, h as TerminalReadyInfo, i as TerminalStreamOptions, l as ScopedToken, m as TerminalOutputMessage, n as TerminalStreamError, o as TerminalStreamToken, p as TerminalInteractiveSessionIdentity, r as TerminalStreamHandlers, s as MintInteractiveSessionTokenOptions, t as TerminalStream, u as ScopedTokenScope } from "./terminal-stream-CcaBTVg3.js";
|
|
3
3
|
import { a as InteractiveSessionControlController, c as InteractiveSessionIdentity, d as InteractiveAttachOptions, f as InteractiveControlClaimAcknowledgement, h as InteractiveSessionStatus, i as INTERACTIVE_CONTROL_CLEANUP_TIMEOUT_MS, l as createInteractiveControlHolderId, m as InteractiveRequestOptions, n as BrowserInteractiveSessionControlControllerOptions, o as InteractiveSessionControlControllerOptions, p as InteractiveControlClaimOptions, r as browserInteractiveControlHolderId, s as InteractiveSessionControlTransport, t as BrowserInteractiveSessionControlController, u as interactiveSessionIdentityDigest } from "./browser-interactive-control-controller-BELrFH4f.js";
|
|
4
4
|
import { $ as DownloadOptions, $i as TaskSessionFileChange, $n as ReconcileSandboxFleetsResult, $r as SandboxRemovalState, $t as GpuLease, A as CommitTaskSessionOptions, Ai as SessionFailureReason, An as PreviewLinkWaitOptions, Ar as SandboxFleetMachine, At as FileUsageResult, B as CreateSandboxOptions, Bi as SnapshotDeleteAcknowledgement, Bn as PromptOptions, Br as SandboxFleetTraceEvent, Bt as FleetMachineId, C as BranchOptions, Ca as BatchSidecarGroup, Ci as SendSessionMessageOptions, Cn as NetworkConfig, Cr as SandboxFleetCostEstimate, Ct as FileReadResult, Da as BackendType, Di as SessionEventStreamOptions, Dn as PermissionsManager, Dr as SandboxFleetDriverTimings, Dt as FileTreeOptions, Ea as ALL_BACKEND_TYPES, Ei as SessionBackendCredentials, En as PermissionLevel, Er as SandboxFleetDriverCapability, Et as FileTreeFile, F as CreateIntelligenceReportOptions, Fi as SessionMessage, Fn as ProcessManager, Fr as SandboxFleetManifestMachine, Ft as FleetDispatchStreamOptions, G as DeleteMatchingSandboxesFilter, Gi as SnapshotResult, Gn as ProvisionStep, Gr as SandboxFleetWorkspaceReconcileResult, Gt as ForkLookupOptions, H as CreateTaskSessionOptions, Hi as SnapshotIdempotency, Hn as ProvisionEvent, Hr as SandboxFleetTraceOptions, I as CreateRequestOptions, Ii as SessionMessageAdmission, In as ProcessSignal, Ir as SandboxFleetOperationsSummary, It as FleetDriveTurnOutcome, J as DeleteOptions, Ji as StartupOperation, Jn as PublishPublicTemplateOptions, Jr as SandboxIdentity, Jt as GitBranch, K as DeleteMatchingSandboxesOptions, Kn as PublicTemplateInfo, Kr as SandboxFleetWorkspaceRestoreResult, Kt as GPU_LEASE_PROVIDER_NAMES, L as CreateSandboxFleetOptions, Li as SessionMessageInputPart, Ln as ProcessSpawnOptions, Lr as SandboxFleetPolicy, Lt as FleetDriveTurnRequest, M as ConversationTurnOptions, Mi as SessionInfo, Mn as ProcessInfo, Mr as SandboxFleetMachineRecord, Mt as FleetDispatchCancelResult, N as ConversationTurnResult, Ni as SessionInterruptOptions, Nn as ProcessListOptions, Nr as SandboxFleetMachineSpec, Nt as FleetDispatchResultBuffer, Oa as parseBackendType, Oi as SessionExecutionInfo, On as PreviewLinkInfo, Or as SandboxFleetInfo, Ot as FileTreeResult, P as CreateGpuLeaseOptions, Pi as SessionListOptions, Pn as ProcessLogEntry, Pr as SandboxFleetManifest, Pt as FleetDispatchResultBufferOptions, Q as DispatchedSession, Qi as TaskSessionCommitResult, Qn as ReconcileSandboxFleetsOptions, Qr as SandboxPortPreviewLink, Qt as GitStatus, Ri as SessionResultOptions, Rn as ProcessStatus, Rr as SandboxFleetToken, Rt as FleetExecDispatchOptions, S as BatchTaskResult, Sa as BatchEventDataMap, Si as SecretsManager, Sn as MkdirOptions, Sr as SandboxFleetArtifactSpec, St as FileReadError, T as ChunkedUploadResult, Ta as PublicBatchRunRequest, Ti as SentSessionMessage, Tn as NonHostAgentDriverConfig, Tr as SandboxFleetDispatchResponse, Tt as FileSystem, U as DeleteMatchingSandboxOutcome, Ui as SnapshotInfo, Un as ProvisionResult, Ur as SandboxFleetUsage, Ut as ForkCounts, V as CreateSessionOptions, Vi as SnapshotDeleteOutcome, Vn as PromptResult, Vr as SandboxFleetTraceExport, Vt as FleetPromptDispatchOptions, W as DeleteMatchingSandboxResult, Wi as SnapshotOptions, Wn as ProvisionStatus, Wr as SandboxFleetWorkspace, Wt as ForkIdempotency, X as DirectoryPermission, Xi as SubscriptionInfo, Xn as ReapExpiredSandboxFleetsOptions, Xr as SandboxIntelligenceEnvelope, Xt as GitConfig, Y as DevServerInfo, Yi as StorageConfig, Yn as PublishPublicTemplateVersionOptions, Yr as SandboxInfo, Yt as GitCommit, Z as DispatchPromptOptions, Zi as TaskSessionChanges, Zn as ReapExpiredSandboxFleetsResult, Zr as SandboxPortBinding, Zt as GitDiff, _ as BatchBackend, _a as WriteFileOptions, _i as SandboxTraceOptions, _n as ListOptions, _r as SandboxDeleteOptions, _t as ExecOptions, aa as TeePublicKey, ai as SandboxShapePreset, an as GpuLeaseProviderName, ar as RolloutOptions, at as DurablePlan, b as BatchRunRequest, ba as BatchBackendStats, bi as SearchOptions, bn as MAX_EGRESS_DENIALS_LIMIT, br as SandboxEvent, bt as FileReadBatchOptions, c as AttachGpuLeaseOptions, ca as TokenUsage, ci as SandboxTerminalAttachOptions, cn as HostAgentRuntimeBackend, cr as RolloutStatus, ct as EffectiveBackend, d as BackendConfig, da as UploadOptions, di as SandboxTerminalManager, dn as IntelligenceReportBudget, dr as SSHCredentials, dt as EgressDenial, ea as TaskSessionInfo, ei as SandboxResourceUsage, en as GpuLeaseBilling, er as RenameOptions, et as DownloadProgress, f as BackendInfo, fa as UploadProgress, fi as SandboxTerminalRequestOptions, fn as IntelligenceReportCompareTo, fr as SandboxConfig, ft as EgressManager, g as BackendStatus, ga as WorkspaceOperationLookup, gi as SandboxTraceExport, gn as ListMessagesOptions, gr as SandboxDeleteAcknowledgement, gt as ExactProcessSpawnOptions, h as BackendRuntimeConfigUpdate, ha as WaitForRolloutOptions, hi as SandboxTraceEvent, hr as SandboxCreateReceipt, ht as EventStreamOptions, ia as TeeAttestationResponse, ii as SandboxShape, in as GpuLeaseManager, ir as RolloutChildResult, it as DriverType, j as CompletedTurnResult, ji as SessionForkOptions, jn as Process, jr as SandboxFleetMachineMeteredUsage, jt as FileWriteResult, ki as SessionExecutionStatus, kn as PreviewLinkManager, kr as SandboxFleetIntelligenceEnvelope, kt as FileUsageOptions, l as AttachSandboxFleetMachineOptions, la as TurnDriveResult, li as SandboxTerminalCreateOptions, ln as InstalledTool, lr as RolloutTurnPart, lt as EffectiveBackendProfile, m as BackendMcpServerStatus, ma as WaitForOptions, mi as SandboxTraceBundle, mn as IntelligenceReportWindow, mr as SandboxCreateOutcome, mt as EnsureDevServerOptions, n as AccessPolicyRule, na as TeeAttestationOptions, ni as SandboxRuntimeCapabilities, nn as GpuLeaseExecOptions, nt as DriverConfig, oa as TeePublicKeyResponse, oi as SandboxShapesInfo, on as GpuLeaseStatus, or as RolloutScorer, ot as DurablePlanDecisionResult, p as BackendManager, pa as UsageInfo, pi as SandboxTerminals, pn as IntelligenceReportSubjectType, pr as SandboxConnection, pt as EgressPolicy, q as DeleteMatchingSandboxesResult, qi as StartupDiagnostics, qn as PublicTemplateVersionInfo, qr as SandboxFleetWorkspaceSnapshotResult, qt as GitAuth, r as AddUserOptions, ra as TeeAttestationReport, ri as SandboxRuntimeHealth, rn as GpuLeaseExecResult, rr as Rollout, rt as DriverInfo, sa as TokenRefreshHandler, si as SandboxStatus, sn as HostAgentDriverConfig, sr as RolloutStartResult, t as AcceleratorKind, ta as TaskSessionProfile, ti as SandboxResources, tn as GpuLeaseCommandResult, tt as DriveTurnOptions, u as BackendCapabilities, ua as UpdateUserOptions, ui as SandboxTerminalInfo, un as IntelligenceReport, ur as SSHCommandDescriptor, ut as EffectiveBackendSource, v as BatchResult, va as WriteManyFile, vi as SandboxUser, vn as ListSandboxFleetOptions, vr as SandboxDeleteOutcome, vt as ExecResult, w as ChunkedUploadOptions, wa as BatchTaskUsage, wi as SendSessionMessageRequest, wn as NetworkManager, wr as SandboxFleetDispatchFailureClass, wt as FileRenameResult, x as BatchTask, xa as BatchEvent, xi as SecretInfo, xn as McpServerConfig, xr as SandboxFleetArtifact, xt as FileReadBatchResult, y as BatchRunOptions, ya as WriteManyOptions, yi as SearchMatch, yn as ListSandboxOptions, yr as SandboxEnvironment, yt as FileInfo, z as CreateSandboxFleetWithCoordinatorOptions, zi as SessionStatus, zn as PromptInputPart, zr as SandboxFleetTraceBundle } from "./types-BoW_VFjX.js";
|
|
5
|
-
import { A as parseBackendRegistryResponse, C as BackendRegistryInteractionKind, D as backendRegistryInteractionKindSchema, E as backendRegistryEntrySchema, O as backendRegistryResponseSchema, S as BackendRegistryEntry, T as backendRegistryCapabilitiesSchema, _ as SandboxFleetClient, a as Team, b as parseSSEStream, c as SessionBroadcastEvent, d as HostedInstance, f as InstanceProfile, g as SandboxFleet, h as InstancesClient, i as Sandbox, j as parseBackendRegistryResponseBody, k as isBackendRegistryInteractionKind, l as SessionBroadcastResult, m as InstanceRestartingError, n as IntelligenceClient, o as TeamInvitation, p as InstanceRecord, r as InviteTeamMemberOptions, s as TeamMember, t as CreateTeamOptions, u as EnsureInstanceOptions, v as ParseSSEStreamOptions, w as BackendRegistryResponse, x as BackendRegistryCapabilities, y as ParsedSSEEvent } from "./client-
|
|
5
|
+
import { A as parseBackendRegistryResponse, C as BackendRegistryInteractionKind, D as backendRegistryInteractionKindSchema, E as backendRegistryEntrySchema, O as backendRegistryResponseSchema, S as BackendRegistryEntry, T as backendRegistryCapabilitiesSchema, _ as SandboxFleetClient, a as Team, b as parseSSEStream, c as SessionBroadcastEvent, d as HostedInstance, f as InstanceProfile, g as SandboxFleet, h as InstancesClient, i as Sandbox, j as parseBackendRegistryResponseBody, k as isBackendRegistryInteractionKind, l as SessionBroadcastResult, m as InstanceRestartingError, n as IntelligenceClient, o as TeamInvitation, p as InstanceRecord, r as InviteTeamMemberOptions, s as TeamMember, t as CreateTeamOptions, u as EnsureInstanceOptions, v as ParseSSEStreamOptions, w as BackendRegistryResponse, x as BackendRegistryCapabilities, y as ParsedSSEEvent } from "./client-BxmE6lzM.js";
|
|
6
6
|
import { _ as TimeoutError, a as FileWriteConflictError, c as NotFoundError, d as ResumeEnvRequiredError, f as SandboxError, g as StateError, h as ServerError, i as EgressProxyRecoveryError, l as PartialFailureError, m as SandboxFailureDetail, n as CapabilityError, o as KeyBudgetExhaustedError, p as SandboxErrorJson, r as EdgeNotReadyError, s as NetworkError, t as AuthError, u as QuotaError, v as ValidationError } from "./errors-Cz23YNu2.js";
|
|
7
7
|
import { d as AnyTokenPayload, h as IssueCollaborationTokenOptions, m as CollaborationTokenPayload, p as CollaborationAccess } from "./index-BfVsF6yU.js";
|
|
8
8
|
import { _ as CollaborationTransportConfig, a as CollaborationClient, c as CollaborationClientConfig, d as CollaborationDocumentRef, f as CollaborationFileBridgeOptions, g as CollaborationTokenRefreshResponse, h as CollaborationTokenRefreshRequest, i as parseCollaborationDocumentId, l as CollaborationDocumentAdapter, m as CollaborationPermissions, n as buildCollaborationDocumentId, o as CollaborationBootstrapRequest, p as CollaborationFileEvent, r as normalizeCollaborationPath, s as CollaborationBootstrapResponse, t as CollaborationFileBridge, u as CollaborationDocumentChange, v as SaveCollaborationSnapshotRequest, y as SaveCollaborationSnapshotResponse } from "./index-BWiG3Vcw.js";
|
|
9
9
|
import { a as deriveAgentRunOutcome, i as deriveAgentResultOutcome, n as AgentRunOutcomeTracker, r as createAgentRunOutcomeTracker, t as AgentRunOutcome } from "./agent-run-outcome-DRsFrVVD.js";
|
|
10
|
-
import { o as TangleSandboxClientConfig, t as TangleSandboxClient } from "./index-
|
|
10
|
+
import { o as TangleSandboxClientConfig, t as TangleSandboxClient } from "./index-T-IJBy-K.js";
|
|
11
11
|
import * as _$_tangle_network_agent_interface0 from "@tangle-network/agent-interface";
|
|
12
12
|
import { AgentProfile, AgentProfile as AgentProfile$1, AgentProfileCapabilities, AgentProfileConfidential, AgentProfileConfigValue, AgentProfileConnection, AgentProfileFileMount, AgentProfileFileMount as AgentProfileFileMount$1, AgentProfileMcpServer, AgentProfileModelHints, AgentProfilePermissionValue, AgentProfilePrompt, AgentProfileResourceRef, AgentProfileResources, AgentProfileSecurityPolicy, AgentProfileValidationIssue, AgentProfileValidationResult, AgentRunCancellationAcknowledgement, AgentRunCancellationRequest, AgentSubagentProfile, Capability, SANDBOX_SIZE_PRESET_NAMES, SandboxSizePreset } from "@tangle-network/agent-interface";
|
|
13
13
|
import { z } from "zod";
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { C as deriveAgentResultOutcome, D as parseBackendType, E as backendTypeSchema, S as createAgentRunOutcomeTracker, T as ALL_BACKEND_TYPES, _ as parseSSEStream, w as deriveAgentRunOutcome, x as normalizeRuntimeBackendConfig } from "./runtime-api-DHHveKas.js";
|
|
2
2
|
import { a as FileWriteConflictError, c as NotFoundError, d as ResumeEnvRequiredError, f as SandboxError, g as ValidationError, h as TimeoutError, i as EgressProxyRecoveryError, l as PartialFailureError, m as StateError, n as CapabilityError, o as KeyBudgetExhaustedError, p as ServerError, r as EdgeNotReadyError, s as NetworkError, t as AuthError, u as QuotaError } from "./errors-CmYPVl-k.js";
|
|
3
|
-
import { _ as backendRegistryInteractionKindSchema, a as splitInlineProfileSkills, b as parseBackendRegistryResponse, c as InstanceRestartingError, d as SandboxFleetClient, f as runtimeWorkspaceCwdSchema, g as backendRegistryEntrySchema, h as backendRegistryCapabilitiesSchema, i as splitInlineProfileFileMounts, l as InstancesClient, m as validateBatchRunRequest, n as Sandbox, o as validateDeferredProfileFileMounts, p as createBatchResultAccumulator, r as materializeProfileFileMounts, s as HostedInstance, t as IntelligenceClient, u as SandboxFleet, v as backendRegistryResponseSchema, x as parseBackendRegistryResponseBody, y as isBackendRegistryInteractionKind } from "./client-
|
|
3
|
+
import { _ as backendRegistryInteractionKindSchema, a as splitInlineProfileSkills, b as parseBackendRegistryResponse, c as InstanceRestartingError, d as SandboxFleetClient, f as runtimeWorkspaceCwdSchema, g as backendRegistryEntrySchema, h as backendRegistryCapabilitiesSchema, i as splitInlineProfileFileMounts, l as InstancesClient, m as validateBatchRunRequest, n as Sandbox, o as validateDeferredProfileFileMounts, p as createBatchResultAccumulator, r as materializeProfileFileMounts, s as HostedInstance, t as IntelligenceClient, u as SandboxFleet, v as backendRegistryResponseSchema, x as parseBackendRegistryResponseBody, y as isBackendRegistryInteractionKind } from "./client-C0Hh8VIU.js";
|
|
4
4
|
import { a as INTERACTIVE_CONTROL_CLEANUP_TIMEOUT_MS, c as createInteractiveControlHolderId, l as interactiveSessionIdentityDigest, n as browserInteractiveControlHolderId, o as InteractiveSessionControlController, t as BrowserInteractiveSessionControlController } from "./browser-interactive-control-controller-Dv0gbFMu.js";
|
|
5
|
-
import { A as buildTraceExportPayload, C as collectAgentResponseText, M as otelTraceIdForTangleTrace, N as toOtelJson, O as LinesClient, S as collectAgentFinalMessageText, T as isToolBearingEvent, _ as TerminalStream, a as WorkspaceImages, c as SandboxTaskSession, d as agentInteractiveSessionPromptRequestDigest, f as InteractiveTerminalFrameLog, g as InteractiveSessionController, h as BrowserInteractiveSessionController, j as exportTraceBundle, k as SandboxLines, l as SandboxSession, m as createInteractiveTerminalSession, o as GPU_LEASE_PROVIDER_NAMES, p as createInteractiveTerminalCapture, s as MAX_EGRESS_DENIALS_LIMIT, t as SandboxInstance, u as InteractiveSessionHandle, v as TerminalStreamError, w as getSandboxEventText, x as applySandboxEventText, y as TERMINAL_WS_ECHO_SUBPROTOCOL } from "./sandbox-
|
|
5
|
+
import { A as buildTraceExportPayload, C as collectAgentResponseText, M as otelTraceIdForTangleTrace, N as toOtelJson, O as LinesClient, S as collectAgentFinalMessageText, T as isToolBearingEvent, _ as TerminalStream, a as WorkspaceImages, c as SandboxTaskSession, d as agentInteractiveSessionPromptRequestDigest, f as InteractiveTerminalFrameLog, g as InteractiveSessionController, h as BrowserInteractiveSessionController, j as exportTraceBundle, k as SandboxLines, l as SandboxSession, m as createInteractiveTerminalSession, o as GPU_LEASE_PROVIDER_NAMES, p as createInteractiveTerminalCapture, s as MAX_EGRESS_DENIALS_LIMIT, t as SandboxInstance, u as InteractiveSessionHandle, v as TerminalStreamError, w as getSandboxEventText, x as applySandboxEventText, y as TERMINAL_WS_ECHO_SUBPROTOCOL } from "./sandbox-Cpef0hje.js";
|
|
6
6
|
import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "./collaboration-DLPFc9-W.js";
|
|
7
|
-
import { t as TangleSandboxClient } from "./tangle-
|
|
7
|
+
import { t as TangleSandboxClient } from "./tangle-DRjGPX5U.js";
|
|
8
8
|
import { SANDBOX_SIZE_PRESET_NAMES, agentProfileConfidentialSchema, agentProfileSchema } from "@tangle-network/agent-interface";
|
|
9
9
|
import { z } from "zod";
|
|
10
10
|
//#region src/confidential.ts
|
|
@@ -207,10 +207,10 @@ function snakeCase(value) {
|
|
|
207
207
|
* Lines: give a sandbox a phone number or messaging address.
|
|
208
208
|
*
|
|
209
209
|
* A line is an address that Tangle Hub receives on, such as an Inkbox
|
|
210
|
-
* iMessage identity. Attaching it to a sandbox makes
|
|
211
|
-
* message to that sandbox
|
|
212
|
-
*
|
|
213
|
-
*
|
|
210
|
+
* iMessage identity or Linq WhatsApp number. Attaching it to a sandbox makes
|
|
211
|
+
* Hub route each inbound message to that sandbox. Each member gets a separate
|
|
212
|
+
* thread in its own agent session. Hub sends the agent's answer on the same
|
|
213
|
+
* line. Hub owns routing, consent (STOP/START), unknown senders and
|
|
214
214
|
* metering, so an app only chooses who may text and in which mode.
|
|
215
215
|
*
|
|
216
216
|
* @example
|
|
@@ -245,8 +245,8 @@ var LinesClient = class {
|
|
|
245
245
|
this.http = http;
|
|
246
246
|
}
|
|
247
247
|
/**
|
|
248
|
-
* Create a line from
|
|
249
|
-
* already
|
|
248
|
+
* Create a line from an owned Inkbox or Linq connection, or return the line
|
|
249
|
+
* already pinned to that provider identity. Hub owns inbound routing and
|
|
250
250
|
* never re-keys the connection.
|
|
251
251
|
*/
|
|
252
252
|
async fromConnection(input) {
|
|
@@ -403,13 +403,13 @@ declare class InteractiveSessionHandle {
|
|
|
403
403
|
}
|
|
404
404
|
//#endregion
|
|
405
405
|
//#region src/lines.d.ts
|
|
406
|
-
/** The transport a line carries.
|
|
406
|
+
/** The transport a line carries. */
|
|
407
407
|
type LineTransport = "imessage" | "sms" | "whatsapp" | "email";
|
|
408
408
|
/** What a role's members share and may do in the attached sandbox. */
|
|
409
409
|
interface LineRole {
|
|
410
410
|
/** `shared`: the member's turns see other shared members' recent exchanges. `own`: they see none, and nobody sees theirs. */
|
|
411
411
|
context: "own" | "shared";
|
|
412
|
-
/** `chat`: the member's session has no shell
|
|
412
|
+
/** `chat`: the member's session has no shell, cannot read, search or change files, starts no subagents, and gets none of the backend's MCP servers, connections or hooks. */
|
|
413
413
|
tools: "act" | "chat";
|
|
414
414
|
}
|
|
415
415
|
/** A sender an attachment admits. */
|
|
@@ -469,23 +469,33 @@ interface LineAttachOptions {
|
|
|
469
469
|
/** `personal`: one owner member. `shared`: many members, one thread each. */
|
|
470
470
|
mode: "personal" | "shared";
|
|
471
471
|
members: LineMemberSpec[];
|
|
472
|
-
/** Default `reject`. `guest` (shared mode) admits unknown senders with the `guest` role. */
|
|
472
|
+
/** Default `reject`. `guest` (shared mode) admits unknown senders with the own-context `guest` role, so every role in use must be chat-only. */
|
|
473
473
|
unknownSenders?: "reject" | "guest";
|
|
474
|
-
/**
|
|
474
|
+
/**
|
|
475
|
+
* Default: owner and member share context and act; guest is own-context and chat-only.
|
|
476
|
+
* One sandbox serves every member, and `act` tools can read every member's session in it.
|
|
477
|
+
* A shared attachment that uses an `own`-context role is refused unless every role in use is `chat`.
|
|
478
|
+
*/
|
|
475
479
|
roles?: Record<string, LineRole>;
|
|
476
480
|
respond?: LineRespondAgent;
|
|
477
481
|
limits?: Partial<LineLimits>;
|
|
478
482
|
clientReference?: string;
|
|
479
483
|
}
|
|
480
|
-
/**
|
|
481
|
-
interface
|
|
482
|
-
/** A Hub connection id for an Inkbox identity with iMessage enabled. */
|
|
484
|
+
/** Fields shared by line creation from an owned Hub connection. */
|
|
485
|
+
interface LineFromConnectionCommon {
|
|
483
486
|
connectionId: string;
|
|
484
|
-
transport: "imessage";
|
|
485
487
|
label?: string;
|
|
486
488
|
/** Your idempotency reference: the same value returns the same line. */
|
|
487
489
|
clientReference?: string;
|
|
488
490
|
}
|
|
491
|
+
/** Input to `client.lines.fromConnection()`. A Linq connection may own multiple numbers. */
|
|
492
|
+
type LineFromConnectionInput = LineFromConnectionCommon & ({
|
|
493
|
+
transport: "imessage";
|
|
494
|
+
phoneNumberId?: never;
|
|
495
|
+
} | {
|
|
496
|
+
transport: "whatsapp";
|
|
497
|
+
phoneNumberId: string;
|
|
498
|
+
});
|
|
489
499
|
/** Fields a member update may change. */
|
|
490
500
|
interface LineMemberPatch {
|
|
491
501
|
role?: string;
|
|
@@ -528,6 +538,8 @@ interface Line {
|
|
|
528
538
|
connect: string | null;
|
|
529
539
|
routerAddress: string | null;
|
|
530
540
|
connectionId: string;
|
|
541
|
+
/** The provider's phone number id, or null for a line without a pinned number. */
|
|
542
|
+
providerNumberId: string | null;
|
|
531
543
|
label: string | null;
|
|
532
544
|
clientReference: string | null;
|
|
533
545
|
status: "active" | "suspended" | "released";
|
|
@@ -552,6 +564,12 @@ interface LineMessage {
|
|
|
552
564
|
memberId: string | null;
|
|
553
565
|
direction: "in" | "out";
|
|
554
566
|
kind: "agent" | "notice" | "send";
|
|
567
|
+
/** Stable Hub dedupe key for this inbound or outbound event. */
|
|
568
|
+
deliveryKey: string;
|
|
569
|
+
/** The inbound message this outbound row answers. */
|
|
570
|
+
replyToId: string | null;
|
|
571
|
+
/** The sandbox turn receipt, when an inbound row reached a turn. */
|
|
572
|
+
turnId: string | null;
|
|
555
573
|
text: string | null;
|
|
556
574
|
status: string;
|
|
557
575
|
errorCode: string | null;
|
|
@@ -568,8 +586,8 @@ declare class LinesClient {
|
|
|
568
586
|
private readonly http;
|
|
569
587
|
constructor(http: LinesHttpClient);
|
|
570
588
|
/**
|
|
571
|
-
* Create a line from
|
|
572
|
-
* already
|
|
589
|
+
* Create a line from an owned Inkbox or Linq connection, or return the line
|
|
590
|
+
* already pinned to that provider identity. Hub owns inbound routing and
|
|
573
591
|
* never re-keys the connection.
|
|
574
592
|
*/
|
|
575
593
|
fromConnection(input: LineFromConnectionInput): Promise<Line>;
|
package/dist/tangle/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TANGLE_JOBS_CONTRACT, c as ITangleJobsAbi, d as SandboxCreateResponseParamTypes, f as SandboxIdParamTypes, i as TANGLE_CHAIN_ID, l as JsonResponseParamTypes, n as JOB_SANDBOX_CREATE, o as TangleSandboxClientConfig, r as JOB_SANDBOX_DELETE, s as AgentSandboxBlueprintAbi, t as TangleSandboxClient, u as SandboxCreateParamTypes } from "../index-
|
|
1
|
+
import { a as TANGLE_JOBS_CONTRACT, c as ITangleJobsAbi, d as SandboxCreateResponseParamTypes, f as SandboxIdParamTypes, i as TANGLE_CHAIN_ID, l as JsonResponseParamTypes, n as JOB_SANDBOX_CREATE, o as TangleSandboxClientConfig, r as JOB_SANDBOX_DELETE, s as AgentSandboxBlueprintAbi, t as TangleSandboxClient, u as SandboxCreateParamTypes } from "../index-T-IJBy-K.js";
|
|
2
2
|
export { AgentSandboxBlueprintAbi, ITangleJobsAbi, JOB_SANDBOX_CREATE, JOB_SANDBOX_DELETE, JsonResponseParamTypes, SandboxCreateParamTypes, SandboxCreateResponseParamTypes, SandboxIdParamTypes, TANGLE_CHAIN_ID, TANGLE_JOBS_CONTRACT, TangleSandboxClient, TangleSandboxClientConfig };
|
package/dist/tangle/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TANGLE_JOBS_CONTRACT, c as JsonResponseParamTypes, d as SandboxIdParamTypes, i as TANGLE_CHAIN_ID, l as SandboxCreateParamTypes, n as JOB_SANDBOX_CREATE, o as AgentSandboxBlueprintAbi, r as JOB_SANDBOX_DELETE, s as ITangleJobsAbi, t as TangleSandboxClient, u as SandboxCreateResponseParamTypes } from "../tangle-
|
|
1
|
+
import { a as TANGLE_JOBS_CONTRACT, c as JsonResponseParamTypes, d as SandboxIdParamTypes, i as TANGLE_CHAIN_ID, l as SandboxCreateParamTypes, n as JOB_SANDBOX_CREATE, o as AgentSandboxBlueprintAbi, r as JOB_SANDBOX_DELETE, s as ITangleJobsAbi, t as TangleSandboxClient, u as SandboxCreateResponseParamTypes } from "../tangle-DRjGPX5U.js";
|
|
2
2
|
export { AgentSandboxBlueprintAbi, ITangleJobsAbi, JOB_SANDBOX_CREATE, JOB_SANDBOX_DELETE, JsonResponseParamTypes, SandboxCreateParamTypes, SandboxCreateResponseParamTypes, SandboxIdParamTypes, TANGLE_CHAIN_ID, TANGLE_JOBS_CONTRACT, TangleSandboxClient };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as parseErrorResponse } from "./errors-CmYPVl-k.js";
|
|
2
|
-
import { n as createSandboxInstanceFromResponse } from "./sandbox-
|
|
2
|
+
import { n as createSandboxInstanceFromResponse } from "./sandbox-Cpef0hje.js";
|
|
3
3
|
//#region src/tangle/abi.ts
|
|
4
4
|
/**
|
|
5
5
|
* Tangle Contract ABI Definitions
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox",
|
|
3
|
-
"version": "0.51.
|
|
3
|
+
"version": "0.51.2",
|
|
4
4
|
"description": "Client SDK for the Tangle Sandbox platform - build AI agent applications with dev containers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -139,9 +139,9 @@
|
|
|
139
139
|
"yjs": "13.6.30",
|
|
140
140
|
"@repo/shared": "0.0.0",
|
|
141
141
|
"@tangle-network/agent-profile-materialize": "0.20.2",
|
|
142
|
-
"@tangle-network/
|
|
142
|
+
"@tangle-network/runtime-contracts": "0.7.1",
|
|
143
143
|
"@tangle-network/sse-core": "0.0.0",
|
|
144
|
-
"@tangle-network/
|
|
144
|
+
"@tangle-network/cli-agent-registry": "0.4.7"
|
|
145
145
|
},
|
|
146
146
|
"scripts": {
|
|
147
147
|
"build": "node scripts/build-dist.mjs",
|