@immediately-run/sandbox-protocol 0.11.0 → 0.13.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: d41a35cab20c69a8
4
+ // descriptorsHash: 0720f0e1d4fcc8be
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
@@ -112,6 +112,7 @@ export interface ProtocolContributeRunParams {
112
112
  branchName?: string | undefined;
113
113
  commitMessage: string;
114
114
  mode?: "direct" | "pr" | undefined;
115
+ transcriptRequested?: boolean | undefined;
115
116
  }
116
117
  /** `protocol-dnd` — request · app->host. */
117
118
  export declare const PROTOCOL_DND = "protocol-dnd";
@@ -254,16 +255,31 @@ export declare const PROTOCOL_SPACES = "protocol-spaces";
254
255
  export interface ProtocolSpacesAcceptInviteParams {
255
256
  spaceId: string;
256
257
  }
258
+ /** Params of `protocol-spaces` method `convertToShared`. */
259
+ export interface ProtocolSpacesConvertToSharedParams {
260
+ confirm: boolean;
261
+ spaceId: string;
262
+ }
257
263
  /** Params of `protocol-spaces` method `declineInvite`. */
258
264
  export interface ProtocolSpacesDeclineInviteParams {
259
265
  spaceId: string;
260
266
  }
267
+ /** Params of `protocol-spaces` method `delete`. */
268
+ export interface ProtocolSpacesDeleteParams {
269
+ confirm: boolean;
270
+ spaceId: string;
271
+ }
261
272
  /** Params of `protocol-spaces` method `invite`. */
262
273
  export interface ProtocolSpacesInviteParams {
263
274
  login: string;
264
275
  role: "owner" | "reader" | "writer";
265
276
  spaceId: string;
266
277
  }
278
+ /** Params of `protocol-spaces` method `leave`. */
279
+ export interface ProtocolSpacesLeaveParams {
280
+ confirm: boolean;
281
+ spaceId: string;
282
+ }
267
283
  /** Params of `protocol-spaces` method `list`. */
268
284
  export interface ProtocolSpacesListParams {
269
285
  app?: false | true | undefined;
@@ -280,6 +296,16 @@ export interface ProtocolSpacesMembersParams {
280
296
  export interface ProtocolSpacesPendingInvitesParams {
281
297
  spaceId: string;
282
298
  }
299
+ /** Params of `protocol-spaces` method `rename`. */
300
+ export interface ProtocolSpacesRenameParams {
301
+ name: string;
302
+ spaceId: string;
303
+ }
304
+ /** Params of `protocol-spaces` method `restore`. */
305
+ export interface ProtocolSpacesRestoreParams {
306
+ confirm: boolean;
307
+ spaceId: string;
308
+ }
283
309
  /** Params of `protocol-spaces` method `revokeGrant`. */
284
310
  export interface ProtocolSpacesRevokeGrantParams {
285
311
  appKey: string;
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: d41a35cab20c69a8
4
+ // descriptorsHash: 0720f0e1d4fcc8be
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.11.0",
3
+ "version": "0.13.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": {
@@ -909,6 +909,18 @@
909
909
  "type": "undefined"
910
910
  }
911
911
  ]
912
+ },
913
+ {
914
+ "name": "transcriptRequested",
915
+ "optional": true,
916
+ "union": [
917
+ {
918
+ "type": "boolean"
919
+ },
920
+ {
921
+ "type": "undefined"
922
+ }
923
+ ]
912
924
  }
913
925
  ]
914
926
  }
@@ -1647,6 +1659,22 @@
1647
1659
  ]
1648
1660
  }
1649
1661
  },
1662
+ "convertToShared": {
1663
+ "payload": {
1664
+ "fields": [
1665
+ {
1666
+ "name": "confirm",
1667
+ "optional": false,
1668
+ "type": "boolean"
1669
+ },
1670
+ {
1671
+ "name": "spaceId",
1672
+ "optional": false,
1673
+ "type": "string"
1674
+ }
1675
+ ]
1676
+ }
1677
+ },
1650
1678
  "declineInvite": {
1651
1679
  "payload": {
1652
1680
  "fields": [
@@ -1658,6 +1686,22 @@
1658
1686
  ]
1659
1687
  }
1660
1688
  },
1689
+ "delete": {
1690
+ "payload": {
1691
+ "fields": [
1692
+ {
1693
+ "name": "confirm",
1694
+ "optional": false,
1695
+ "type": "boolean"
1696
+ },
1697
+ {
1698
+ "name": "spaceId",
1699
+ "optional": false,
1700
+ "type": "string"
1701
+ }
1702
+ ]
1703
+ }
1704
+ },
1661
1705
  "grants": {
1662
1706
  "payload": {
1663
1707
  "type": "{}"
@@ -1694,6 +1738,22 @@
1694
1738
  ]
1695
1739
  }
1696
1740
  },
1741
+ "leave": {
1742
+ "payload": {
1743
+ "fields": [
1744
+ {
1745
+ "name": "confirm",
1746
+ "optional": false,
1747
+ "type": "boolean"
1748
+ },
1749
+ {
1750
+ "name": "spaceId",
1751
+ "optional": false,
1752
+ "type": "string"
1753
+ }
1754
+ ]
1755
+ }
1756
+ },
1697
1757
  "list": {
1698
1758
  "payload": {
1699
1759
  "fields": [
@@ -1758,6 +1818,38 @@
1758
1818
  ]
1759
1819
  }
1760
1820
  },
1821
+ "rename": {
1822
+ "payload": {
1823
+ "fields": [
1824
+ {
1825
+ "name": "name",
1826
+ "optional": false,
1827
+ "type": "string"
1828
+ },
1829
+ {
1830
+ "name": "spaceId",
1831
+ "optional": false,
1832
+ "type": "string"
1833
+ }
1834
+ ]
1835
+ }
1836
+ },
1837
+ "restore": {
1838
+ "payload": {
1839
+ "fields": [
1840
+ {
1841
+ "name": "confirm",
1842
+ "optional": false,
1843
+ "type": "boolean"
1844
+ },
1845
+ {
1846
+ "name": "spaceId",
1847
+ "optional": false,
1848
+ "type": "string"
1849
+ }
1850
+ ]
1851
+ }
1852
+ },
1761
1853
  "revokeGrant": {
1762
1854
  "payload": {
1763
1855
  "fields": [