@tangle-network/sandbox 1.0.127 → 1.0.128

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.
@@ -77,7 +77,7 @@ function createIntelligenceClient(config) {
77
77
  async function request(path, read) {
78
78
  return fetchSandboxApi({
79
79
  ...transport,
80
- timeoutError: (ms) => new TimeoutError(ms),
80
+ timeoutError: (ms) => new TimeoutError(ms, void 0, { endpoint: path }),
81
81
  networkError: (err) => new NetworkError(`Failed to connect to Intelligence API: ${err instanceof Error ? err.message : String(err)}`, err instanceof Error ? err : void 0, {
82
82
  endpoint: path,
83
83
  origin: "sandbox-api"
@@ -85,16 +85,15 @@ function createIntelligenceClient(config) {
85
85
  }, path, { headers: { Accept: "application/json" } }, { read });
86
86
  }
87
87
  /** GET a JSON route, raising the SDK's typed error on a non-2xx response. */
88
- async function getJson(path) {
89
- const body = await request(path, async (response) => {
88
+ function getJson(path) {
89
+ return request(path, async (response) => {
90
90
  const text = await response.text();
91
91
  if (!response.ok) throw parseErrorResponse(response.status, text, {
92
92
  method: "GET",
93
93
  path
94
94
  }, response.headers);
95
- return text;
95
+ return JSON.parse(text);
96
96
  });
97
- return JSON.parse(body);
98
97
  }
99
98
  async function listTraces(params = {}) {
100
99
  const search = new URLSearchParams();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/sandbox",
3
- "version": "1.0.127",
3
+ "version": "1.0.128",
4
4
  "description": "Client SDK for the Tangle Sandbox platform - build AI agent applications with dev containers",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -154,13 +154,13 @@
154
154
  "yjs": "13.6.33",
155
155
  "@products/sandbox-test-utils": "0.0.0",
156
156
  "@tangle-network/agent-profile-materialize": "0.27.1",
157
- "@repo/shared": "0.0.0",
158
157
  "@tangle-network/cli-agent-registry": "0.14.0",
159
- "@tangle-network/runtime-contracts": "0.20.0"
158
+ "@tangle-network/runtime-contracts": "0.20.0",
159
+ "@repo/shared": "0.0.0"
160
160
  },
161
161
  "tangleRelease": {
162
- "sourceSha": "67493e5a9a0bf0a66fb54360a8c8504c23a45f03",
163
- "mergedAt": "2026-10-30T04:56:56-06:00"
162
+ "sourceSha": "3d15874f1728dd59876ed801ba2edc23a3509638",
163
+ "mergedAt": "2026-10-30T08:41:15-06:00"
164
164
  },
165
165
  "scripts": {
166
166
  "build": "node scripts/build-dist.mjs",