@immediately-run/sandbox-protocol 0.17.0 → 0.18.0

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/sandbox.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // GENERATED by scripts/generate.mjs — DO NOT EDIT.
3
3
  // Source of truth: src/descriptors.protocol.mjs (@immediately-run/sandbox-protocol)
4
- // descriptorsHash: 319e4c26247896c5
4
+ // descriptorsHash: 66b2e76e2a1497d5
5
5
  //
6
6
  // The sandbox↔SDK wire vocabulary (PLATFORM_LAYERING_SPEC §2 / S1). Import the
7
7
  // constants instead of writing the string: a rename then has ONE edit site and
package/dist/sdk.d.ts CHANGED
@@ -172,6 +172,7 @@ export interface ProtocolFetchFetchParams {
172
172
  body: string | undefined;
173
173
  headers: Record<string, string> | undefined;
174
174
  method: string | undefined;
175
+ responseType?: "bytes" | "text" | undefined;
175
176
  url: string;
176
177
  }
177
178
  /** Params of `protocol-fetch` method `fetchStream`. */
package/dist/sdk.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // GENERATED by scripts/generate.mjs — DO NOT EDIT.
3
3
  // Source of truth: src/descriptors.protocol.mjs (@immediately-run/sandbox-protocol)
4
- // descriptorsHash: 319e4c26247896c5
4
+ // descriptorsHash: 66b2e76e2a1497d5
5
5
  //
6
6
  // The sandbox↔SDK wire vocabulary (PLATFORM_LAYERING_SPEC §2 / S1). Import the
7
7
  // constants instead of writing the string: a rename then has ONE edit site and
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@immediately-run/sandbox-protocol",
3
- "version": "0.17.0",
3
+ "version": "0.18.0",
4
4
  "description": "The sandbox<->SDK wire protocol: ONE descriptor set, projected into the wire-name constants, the payload types, and the per-side snapshots both repos gate against (PLATFORM_LAYERING_SPEC S1). Consumed by sandbox and immediately-run-sdk so a wire change is a version bump, not a hand-copied file.",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
@@ -1225,6 +1225,21 @@
1225
1225
  }
1226
1226
  ]
1227
1227
  },
1228
+ {
1229
+ "name": "responseType",
1230
+ "optional": true,
1231
+ "union": [
1232
+ {
1233
+ "type": "\"bytes\""
1234
+ },
1235
+ {
1236
+ "type": "\"text\""
1237
+ },
1238
+ {
1239
+ "type": "undefined"
1240
+ }
1241
+ ]
1242
+ },
1228
1243
  {
1229
1244
  "name": "url",
1230
1245
  "optional": false,