@immediately-run/sandbox-protocol 0.13.0 → 0.14.1

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: 0720f0e1d4fcc8be
4
+ // descriptorsHash: b1279710e4892590
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
@@ -433,7 +433,7 @@ export declare const THEME_CATALOG = "theme-catalog";
433
433
  export declare const URLCHANGE = "urlchange";
434
434
  /** `vcs-state` — push · host->app. polled with `request-vcs-state`. */
435
435
  export declare const VCS_STATE = "vcs-state";
436
- /** Read off this message today: `branch`, `changes`, `diffLoading`, `prs`. */
436
+ /** Read off this message today: `agentSession`, `branch`, `changes`, `diffLoading`, `prs`. */
437
437
  /** `workspace` — push · host->app. polled with `request-workspace`. */
438
438
  export declare const WORKSPACE = "workspace";
439
439
  /** Read off this message today: `workspace`. */
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: 0720f0e1d4fcc8be
4
+ // descriptorsHash: b1279710e4892590
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
@@ -180,7 +180,7 @@ exports.THEME_CATALOG = 'theme-catalog';
180
180
  exports.URLCHANGE = 'urlchange';
181
181
  /** `vcs-state` — push · host->app. polled with `request-vcs-state`. */
182
182
  exports.VCS_STATE = 'vcs-state';
183
- /** Read off this message today: `branch`, `changes`, `diffLoading`, `prs`. */
183
+ /** Read off this message today: `agentSession`, `branch`, `changes`, `diffLoading`, `prs`. */
184
184
  /** `workspace` — push · host->app. polled with `request-workspace`. */
185
185
  exports.WORKSPACE = 'workspace';
186
186
  /** Read off this message today: `workspace`. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@immediately-run/sandbox-protocol",
3
- "version": "0.13.0",
3
+ "version": "0.14.1",
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": {
@@ -2753,6 +2753,7 @@
2753
2753
  "poll": "request-vcs-state",
2754
2754
  "payload": {
2755
2755
  "reads": [
2756
+ "agentSession",
2756
2757
  "branch",
2757
2758
  "changes",
2758
2759
  "diffLoading",
@@ -2761,6 +2762,21 @@
2761
2762
  },
2762
2763
  "value": {
2763
2764
  "fields": [
2765
+ {
2766
+ "name": "agentSession",
2767
+ "optional": true,
2768
+ "union": [
2769
+ {
2770
+ "type": "VcsAgentSession"
2771
+ },
2772
+ {
2773
+ "type": "null"
2774
+ },
2775
+ {
2776
+ "type": "undefined"
2777
+ }
2778
+ ]
2779
+ },
2764
2780
  {
2765
2781
  "name": "branch",
2766
2782
  "optional": false,