@immediately-run/sandbox-protocol 0.8.0 → 0.8.2
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.js +1 -1
- package/package.json +1 -1
- package/snapshots/sdk.json +24 -60
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: 2c8648930a3f487d
|
|
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:
|
|
4
|
+
// descriptorsHash: 2c8648930a3f487d
|
|
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.
|
|
3
|
+
"version": "0.8.2",
|
|
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
|
@@ -1710,29 +1710,6 @@
|
|
|
1710
1710
|
"kind": "request",
|
|
1711
1711
|
"direction": "app->host",
|
|
1712
1712
|
"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
1713
|
"add-source": {
|
|
1737
1714
|
"payload": {
|
|
1738
1715
|
"fields": [
|
|
@@ -1798,6 +1775,29 @@
|
|
|
1798
1775
|
}
|
|
1799
1776
|
]
|
|
1800
1777
|
}
|
|
1778
|
+
},
|
|
1779
|
+
"set": {
|
|
1780
|
+
"payload": {
|
|
1781
|
+
"fields": [
|
|
1782
|
+
{
|
|
1783
|
+
"name": "mode",
|
|
1784
|
+
"optional": true,
|
|
1785
|
+
"union": [
|
|
1786
|
+
{
|
|
1787
|
+
"type": "string"
|
|
1788
|
+
},
|
|
1789
|
+
{
|
|
1790
|
+
"type": "undefined"
|
|
1791
|
+
}
|
|
1792
|
+
]
|
|
1793
|
+
},
|
|
1794
|
+
{
|
|
1795
|
+
"name": "theme",
|
|
1796
|
+
"optional": false,
|
|
1797
|
+
"type": "string"
|
|
1798
|
+
}
|
|
1799
|
+
]
|
|
1800
|
+
}
|
|
1801
1801
|
}
|
|
1802
1802
|
},
|
|
1803
1803
|
"sites": [
|
|
@@ -2290,43 +2290,7 @@
|
|
|
2290
2290
|
"name": "themes",
|
|
2291
2291
|
"optional": false,
|
|
2292
2292
|
"array": {
|
|
2293
|
-
"
|
|
2294
|
-
{
|
|
2295
|
-
"name": "label",
|
|
2296
|
-
"optional": false,
|
|
2297
|
-
"type": "string"
|
|
2298
|
-
},
|
|
2299
|
-
{
|
|
2300
|
-
"name": "modes",
|
|
2301
|
-
"optional": false,
|
|
2302
|
-
"array": {
|
|
2303
|
-
"fields": [
|
|
2304
|
-
{
|
|
2305
|
-
"name": "id",
|
|
2306
|
-
"optional": false,
|
|
2307
|
-
"type": "string"
|
|
2308
|
-
},
|
|
2309
|
-
{
|
|
2310
|
-
"name": "polarity",
|
|
2311
|
-
"optional": false,
|
|
2312
|
-
"union": [
|
|
2313
|
-
{
|
|
2314
|
-
"type": "\"dark\""
|
|
2315
|
-
},
|
|
2316
|
-
{
|
|
2317
|
-
"type": "\"light\""
|
|
2318
|
-
}
|
|
2319
|
-
]
|
|
2320
|
-
}
|
|
2321
|
-
]
|
|
2322
|
-
}
|
|
2323
|
-
},
|
|
2324
|
-
{
|
|
2325
|
-
"name": "themeKey",
|
|
2326
|
-
"optional": false,
|
|
2327
|
-
"type": "string"
|
|
2328
|
-
}
|
|
2329
|
-
]
|
|
2293
|
+
"type": "ThemeCatalogEntry"
|
|
2330
2294
|
}
|
|
2331
2295
|
}
|
|
2332
2296
|
],
|