@tangle-network/sandbox 0.60.6 → 0.60.7

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/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import { D as otelTraceIdForTangleTrace, E as exportTraceBundle, O as toOtelJson
7
7
  import { LinesClient, SandboxLines, lineInstanceKey, profileChannelReference } from "./lines.js";
8
8
  import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "./collaboration-B7QeBrFQ.js";
9
9
  import { i as parseLineApplicationResult, n as LINE_APPLICATION_REQUEST_MAX_BYTES, r as parseLineApplicationRequest, t as LINE_APPLICATION_REPLY_MAX_CHARS } from "./line-application-C2SuT1zK.js";
10
- import { s as TangleSandboxClient } from "./tangle-CDtwGZtf.js";
10
+ import { s as TangleSandboxClient } from "./tangle-OZRTCbY4.js";
11
11
  import { SANDBOX_SIZE_PRESET_NAMES, agentProfileConfidentialSchema, agentProfileSchema } from "@tangle-network/agent-interface";
12
12
  import { z } from "zod";
13
13
  //#region src/confidential.ts
@@ -1,2 +1,2 @@
1
- import { _ as SandboxCreateParamTypes, a as parseQuoteResponse, c as OperatorSession, d as JOB_SANDBOX_DELETE, f as TANGLE_CHAIN_ID, g as JsonResponseParamTypes, h as ITangleJobsAbi, i as jobQuoteDigest, l as OperatorSessionError, m as AgentSandboxBlueprintAbi, n as fetchQuote, o as validateQuote, p as TANGLE_JOBS_CONTRACT, r as inputsHashOf, s as TangleSandboxClient, t as QuoteError, u as JOB_SANDBOX_CREATE, v as SandboxCreateResponseParamTypes, y as SandboxIdParamTypes } from "../tangle-CDtwGZtf.js";
1
+ import { _ as SandboxCreateParamTypes, a as parseQuoteResponse, c as OperatorSession, d as JOB_SANDBOX_DELETE, f as TANGLE_CHAIN_ID, g as JsonResponseParamTypes, h as ITangleJobsAbi, i as jobQuoteDigest, l as OperatorSessionError, m as AgentSandboxBlueprintAbi, n as fetchQuote, o as validateQuote, p as TANGLE_JOBS_CONTRACT, r as inputsHashOf, s as TangleSandboxClient, t as QuoteError, u as JOB_SANDBOX_CREATE, v as SandboxCreateResponseParamTypes, y as SandboxIdParamTypes } from "../tangle-OZRTCbY4.js";
2
2
  export { AgentSandboxBlueprintAbi, ITangleJobsAbi, JOB_SANDBOX_CREATE, JOB_SANDBOX_DELETE, JsonResponseParamTypes, OperatorSession, OperatorSessionError, QuoteError, SandboxCreateParamTypes, SandboxCreateResponseParamTypes, SandboxIdParamTypes, TANGLE_CHAIN_ID, TANGLE_JOBS_CONTRACT, TangleSandboxClient, fetchQuote, inputsHashOf, jobQuoteDigest, parseQuoteResponse, validateQuote };
@@ -2841,6 +2841,7 @@ async function fetchQuote(operatorApiUrl, params) {
2841
2841
  } catch {
2842
2842
  throw new QuoteError("Operator returned invalid quote JSON", "QUOTE_REJECTED");
2843
2843
  }
2844
+ if (!isRecord(raw)) throw new QuoteError("Operator returned invalid quote JSON", "QUOTE_REJECTED");
2844
2845
  return parseQuoteResponse(raw);
2845
2846
  }
2846
2847
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/sandbox",
3
- "version": "0.60.6",
3
+ "version": "0.60.7",
4
4
  "description": "Client SDK for the Tangle Sandbox platform - build AI agent applications with dev containers",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -148,11 +148,11 @@
148
148
  "vitest": "^4.1.11",
149
149
  "ws": "^8.20.0",
150
150
  "yjs": "13.6.30",
151
- "@repo/shared": "0.0.0",
152
- "@tangle-network/agent-profile-materialize": "0.20.6",
153
151
  "@products/sandbox-test-utils": "0.0.0",
154
- "@tangle-network/cli-agent-registry": "0.4.18",
152
+ "@tangle-network/agent-profile-materialize": "0.20.6",
155
153
  "@tangle-network/runtime-contracts": "0.11.1",
154
+ "@tangle-network/cli-agent-registry": "0.4.18",
155
+ "@repo/shared": "0.0.0",
156
156
  "@tangle-network/sdk": "3.3.36",
157
157
  "@tangle-network/sse-core": "0.0.0"
158
158
  },