@immediately-run/sandbox-protocol 0.10.2 → 0.10.3

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: f6a5d01cad6fc4ab
4
+ // descriptorsHash: 033af346a4ad67fb
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
@@ -214,6 +214,10 @@ export interface ProtocolLlmChatParams {
214
214
  content: unknown;
215
215
  role: unknown;
216
216
  }>;
217
+ model?: {
218
+ model: string;
219
+ providerId: string;
220
+ } | undefined;
217
221
  modelHint?: "fast" | "smart" | undefined;
218
222
  responseFormat?: "json" | "text" | undefined;
219
223
  tools?: Array<unknown> | undefined;
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: f6a5d01cad6fc4ab
4
+ // descriptorsHash: 033af346a4ad67fb
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.10.2",
3
+ "version": "0.10.3",
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": {
@@ -1424,6 +1424,29 @@
1424
1424
  ]
1425
1425
  }
1426
1426
  },
1427
+ {
1428
+ "name": "model",
1429
+ "optional": true,
1430
+ "union": [
1431
+ {
1432
+ "fields": [
1433
+ {
1434
+ "name": "model",
1435
+ "optional": false,
1436
+ "type": "string"
1437
+ },
1438
+ {
1439
+ "name": "providerId",
1440
+ "optional": false,
1441
+ "type": "string"
1442
+ }
1443
+ ]
1444
+ },
1445
+ {
1446
+ "type": "undefined"
1447
+ }
1448
+ ]
1449
+ },
1427
1450
  {
1428
1451
  "name": "modelHint",
1429
1452
  "optional": true,