@immediately-run/sandbox-protocol 0.10.2 → 0.10.4
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 +1 -1
- package/dist/sdk.d.ts +4 -0
- package/dist/sdk.js +1 -1
- package/package.json +1 -1
- package/snapshots/sdk.json +28 -0
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:
|
|
4
|
+
// descriptorsHash: c24845a838084ff4
|
|
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:
|
|
4
|
+
// descriptorsHash: c24845a838084ff4
|
|
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.
|
|
3
|
+
"version": "0.10.4",
|
|
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": {
|
package/snapshots/sdk.json
CHANGED
|
@@ -742,6 +742,11 @@
|
|
|
742
742
|
"union": [
|
|
743
743
|
{
|
|
744
744
|
"fields": [
|
|
745
|
+
{
|
|
746
|
+
"name": "connectedProviders",
|
|
747
|
+
"optional": true,
|
|
748
|
+
"type": "ChatProviderChoice[] | undefined"
|
|
749
|
+
},
|
|
745
750
|
{
|
|
746
751
|
"name": "displayName",
|
|
747
752
|
"optional": true,
|
|
@@ -1424,6 +1429,29 @@
|
|
|
1424
1429
|
]
|
|
1425
1430
|
}
|
|
1426
1431
|
},
|
|
1432
|
+
{
|
|
1433
|
+
"name": "model",
|
|
1434
|
+
"optional": true,
|
|
1435
|
+
"union": [
|
|
1436
|
+
{
|
|
1437
|
+
"fields": [
|
|
1438
|
+
{
|
|
1439
|
+
"name": "model",
|
|
1440
|
+
"optional": false,
|
|
1441
|
+
"type": "string"
|
|
1442
|
+
},
|
|
1443
|
+
{
|
|
1444
|
+
"name": "providerId",
|
|
1445
|
+
"optional": false,
|
|
1446
|
+
"type": "string"
|
|
1447
|
+
}
|
|
1448
|
+
]
|
|
1449
|
+
},
|
|
1450
|
+
{
|
|
1451
|
+
"type": "undefined"
|
|
1452
|
+
}
|
|
1453
|
+
]
|
|
1454
|
+
},
|
|
1427
1455
|
{
|
|
1428
1456
|
"name": "modelHint",
|
|
1429
1457
|
"optional": true,
|