@immediately-run/sandbox-protocol 0.8.1 → 0.9.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: bc864604543f6e21
4
+ // descriptorsHash: 5150c9ae680eb1cc
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.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: bc864604543f6e21
4
+ // descriptorsHash: 5150c9ae680eb1cc
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.8.1",
3
+ "version": "0.9.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": {
@@ -742,6 +742,16 @@
742
742
  "union": [
743
743
  {
744
744
  "fields": [
745
+ {
746
+ "name": "displayName",
747
+ "optional": true,
748
+ "type": "string | undefined"
749
+ },
750
+ {
751
+ "name": "executor",
752
+ "optional": true,
753
+ "type": "ChatExecutor | undefined"
754
+ },
745
755
  {
746
756
  "name": "features",
747
757
  "optional": false,
@@ -752,6 +762,11 @@
752
762
  "optional": false,
753
763
  "type": "boolean"
754
764
  },
765
+ {
766
+ "name": "models",
767
+ "optional": true,
768
+ "type": "ChatTierModels | undefined"
769
+ },
755
770
  {
756
771
  "name": "providerId",
757
772
  "optional": false,
@@ -1710,29 +1725,6 @@
1710
1725
  "kind": "request",
1711
1726
  "direction": "app->host",
1712
1727
  "methods": {
1713
- "set": {
1714
- "payload": {
1715
- "fields": [
1716
- {
1717
- "name": "mode",
1718
- "optional": true,
1719
- "union": [
1720
- {
1721
- "type": "string"
1722
- },
1723
- {
1724
- "type": "undefined"
1725
- }
1726
- ]
1727
- },
1728
- {
1729
- "name": "theme",
1730
- "optional": false,
1731
- "type": "string"
1732
- }
1733
- ]
1734
- }
1735
- },
1736
1728
  "add-source": {
1737
1729
  "payload": {
1738
1730
  "fields": [
@@ -1798,6 +1790,29 @@
1798
1790
  }
1799
1791
  ]
1800
1792
  }
1793
+ },
1794
+ "set": {
1795
+ "payload": {
1796
+ "fields": [
1797
+ {
1798
+ "name": "mode",
1799
+ "optional": true,
1800
+ "union": [
1801
+ {
1802
+ "type": "string"
1803
+ },
1804
+ {
1805
+ "type": "undefined"
1806
+ }
1807
+ ]
1808
+ },
1809
+ {
1810
+ "name": "theme",
1811
+ "optional": false,
1812
+ "type": "string"
1813
+ }
1814
+ ]
1815
+ }
1801
1816
  }
1802
1817
  },
1803
1818
  "sites": [