@sealant/api-contracts-next 0.40.0-next.790 → 0.40.0-next.792

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.
@@ -11,8 +11,10 @@ import { BudgetExceededError } from "./budgets.js";
11
11
  */
12
12
  export declare const workspaceStatusSchema: Schema.Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
13
13
  export type WorkspaceStatus = typeof workspaceStatusSchema.Type;
14
+ /** Request families. A deployment registers only the adapters it can actually launch. */
15
+ export declare const runtimeAdapterIds: readonly ["docker", "k8s", "k3s", "cloudflare", "microvm", "boat"];
14
16
  export declare const workspaceRuntimeSchema: Schema.Struct<{
15
- readonly adapter: Schema.Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
17
+ readonly adapter: Schema.Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm", "boat"]>;
16
18
  /**
17
19
  * The executor's identity on its runtime: the Docker container id, the Pod name, the MicroVM
18
20
  * id. This is the id a caller records at launch and names in a stop's `completion`.
@@ -39,7 +41,7 @@ export declare const workspaceSshTargetSchema: Schema.Struct<{
39
41
  readonly workspaceId: Schema.String;
40
42
  readonly attemptId: Schema.String;
41
43
  readonly runtime: Schema.Struct<{
42
- readonly adapter: Schema.Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
44
+ readonly adapter: Schema.Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm", "boat"]>;
43
45
  readonly resourceId: Schema.String;
44
46
  readonly reference: Schema.String;
45
47
  readonly status: Schema.Literals<readonly ["pending", "running", "ready", "failed", "stopped"]>;
@@ -121,6 +123,58 @@ export declare const workspacePublishedImageSchema: Schema.Struct<{
121
123
  readonly acl: Schema.Literals<readonly ["supported", "unsupported", "unknown"]>;
122
124
  }>>;
123
125
  }>;
126
+ /** Public artifact facts. Native provenance remains readable without authorizing execution. */
127
+ export declare const workspacePublicationSchema: Schema.Union<readonly [Schema.Struct<{
128
+ readonly kind: Schema.Literal<"oci">;
129
+ readonly publicationId: Schema.String;
130
+ readonly image: Schema.Struct<{
131
+ readonly repository: Schema.String;
132
+ readonly tag: Schema.String;
133
+ readonly reference: Schema.String;
134
+ readonly digestReference: Schema.String;
135
+ readonly digest: Schema.String;
136
+ }>;
137
+ }>, Schema.Struct<{
138
+ readonly kind: Schema.Literal<"microvm">;
139
+ readonly publicationId: Schema.String;
140
+ readonly image: Schema.Struct<{
141
+ readonly imageArn: Schema.String;
142
+ readonly imageVersion: Schema.String;
143
+ readonly planHash: Schema.String;
144
+ }>;
145
+ }>, Schema.Struct<{
146
+ readonly kind: Schema.Literal<"boat-native">;
147
+ readonly publicationId: Schema.String;
148
+ readonly snapshot: Schema.Struct<{
149
+ readonly kind: Schema.Literal<"boat-saved-snapshot">;
150
+ readonly owner: Schema.String;
151
+ readonly build: Schema.String;
152
+ readonly recipeHash: Schema.String;
153
+ readonly receiptHash: Schema.String;
154
+ readonly identity: Schema.Struct<{
155
+ readonly name: Schema.String;
156
+ readonly sourceSandboxId: Schema.String;
157
+ readonly createdAt: Schema.String;
158
+ readonly snapshotId: Schema.optional<Schema.String>;
159
+ }>;
160
+ }>;
161
+ readonly evidence: Schema.Struct<{
162
+ readonly recipeHash: Schema.String;
163
+ readonly receiptHash: Schema.String;
164
+ readonly assetsHash: Schema.String;
165
+ readonly runtime: Schema.Struct<{
166
+ readonly source: Schema.String;
167
+ readonly platform: Schema.Literal<"linux/amd64">;
168
+ readonly manifest: Schema.String;
169
+ readonly sealantd: Schema.String;
170
+ readonly socat: Schema.String;
171
+ readonly relay: Schema.String;
172
+ }>;
173
+ readonly daemonRecovery: Schema.Literals<readonly ["supported", "unsupported", "unknown"]>;
174
+ readonly executorRecovery: Schema.Literal<"unverified">;
175
+ }>;
176
+ }>]>;
177
+ export type WorkspacePublication = typeof workspacePublicationSchema.Type;
124
178
  export declare const workspaceErrorSchema: Schema.Struct<{
125
179
  readonly message: Schema.String;
126
180
  readonly code: Schema.optional<Schema.String>;
@@ -140,6 +194,8 @@ export declare const createWorkspaceCredentialsSchema: Schema.Struct<{
140
194
  }>;
141
195
  export type CreateWorkspaceCredentials = typeof createWorkspaceCredentialsSchema.Type;
142
196
  export declare const createWorkspaceRequestSchema: Schema.Struct<{
197
+ /** Existing resource domain for image reuse only. Omitted selects the authenticated owner. */
198
+ readonly imageScopeId: Schema.optional<Schema.String>;
143
199
  readonly ownerUserId: Schema.String;
144
200
  readonly registryId: Schema.String;
145
201
  readonly repository: Schema.String;
@@ -731,6 +787,7 @@ export type RestartWorkspaceResponse = typeof restartWorkspaceResponseSchema.Typ
731
787
  * image published for that plan answers. Nothing is created, built or reserved.
732
788
  */
733
789
  export declare const inspectWorkspaceImageRequestSchema: Schema.Struct<{
790
+ readonly imageScopeId: Schema.optional<Schema.String>;
734
791
  readonly ownerUserId: Schema.String;
735
792
  readonly registryId: Schema.String;
736
793
  /** The spec a create would send (`CreateWorkspaceRequest.spec`). */
@@ -765,6 +822,56 @@ export declare const inspectWorkspaceImageResponseSchema: Schema.Struct<{
765
822
  readonly acl: Schema.Literals<readonly ["supported", "unsupported", "unknown"]>;
766
823
  }>>;
767
824
  }>>;
825
+ readonly publication: Schema.optional<Schema.Union<readonly [Schema.Struct<{
826
+ readonly kind: Schema.Literal<"oci">;
827
+ readonly publicationId: Schema.String;
828
+ readonly image: Schema.Struct<{
829
+ readonly repository: Schema.String;
830
+ readonly tag: Schema.String;
831
+ readonly reference: Schema.String;
832
+ readonly digestReference: Schema.String;
833
+ readonly digest: Schema.String;
834
+ }>;
835
+ }>, Schema.Struct<{
836
+ readonly kind: Schema.Literal<"microvm">;
837
+ readonly publicationId: Schema.String;
838
+ readonly image: Schema.Struct<{
839
+ readonly imageArn: Schema.String;
840
+ readonly imageVersion: Schema.String;
841
+ readonly planHash: Schema.String;
842
+ }>;
843
+ }>, Schema.Struct<{
844
+ readonly kind: Schema.Literal<"boat-native">;
845
+ readonly publicationId: Schema.String;
846
+ readonly snapshot: Schema.Struct<{
847
+ readonly kind: Schema.Literal<"boat-saved-snapshot">;
848
+ readonly owner: Schema.String;
849
+ readonly build: Schema.String;
850
+ readonly recipeHash: Schema.String;
851
+ readonly receiptHash: Schema.String;
852
+ readonly identity: Schema.Struct<{
853
+ readonly name: Schema.String;
854
+ readonly sourceSandboxId: Schema.String;
855
+ readonly createdAt: Schema.String;
856
+ readonly snapshotId: Schema.optional<Schema.String>;
857
+ }>;
858
+ }>;
859
+ readonly evidence: Schema.Struct<{
860
+ readonly recipeHash: Schema.String;
861
+ readonly receiptHash: Schema.String;
862
+ readonly assetsHash: Schema.String;
863
+ readonly runtime: Schema.Struct<{
864
+ readonly source: Schema.String;
865
+ readonly platform: Schema.Literal<"linux/amd64">;
866
+ readonly manifest: Schema.String;
867
+ readonly sealantd: Schema.String;
868
+ readonly socat: Schema.String;
869
+ readonly relay: Schema.String;
870
+ }>;
871
+ readonly daemonRecovery: Schema.Literals<readonly ["supported", "unsupported", "unknown"]>;
872
+ readonly executorRecovery: Schema.Literal<"unverified">;
873
+ }>;
874
+ }>]>>;
768
875
  /** The image's per-person capability (`unknown` when none has been built yet). */
769
876
  readonly personLayout: Schema.Struct<{
770
877
  readonly status: Schema.Literals<readonly ["supported", "unsupported", "unknown"]>;
@@ -1253,7 +1360,7 @@ export declare const createWorkspaceResponseSchema: Schema.Struct<{
1253
1360
  * asynchronous); a replayed create carries the workspace's current one.
1254
1361
  */
1255
1362
  readonly runtime: Schema.optional<Schema.Struct<{
1256
- readonly adapter: Schema.Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
1363
+ readonly adapter: Schema.Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm", "boat"]>;
1257
1364
  /**
1258
1365
  * The executor's identity on its runtime: the Docker container id, the Pod name, the MicroVM
1259
1366
  * id. This is the id a caller records at launch and names in a stop's `completion`.
@@ -1347,7 +1454,7 @@ export declare const workspaceSummarySchema: Schema.Struct<{
1347
1454
  readonly repository: Schema.optional<Schema.String>;
1348
1455
  readonly tag: Schema.optional<Schema.String>;
1349
1456
  readonly runtime: Schema.optional<Schema.Struct<{
1350
- readonly adapter: Schema.Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
1457
+ readonly adapter: Schema.Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm", "boat"]>;
1351
1458
  /**
1352
1459
  * The executor's identity on its runtime: the Docker container id, the Pod name, the MicroVM
1353
1460
  * id. This is the id a caller records at launch and names in a stop's `completion`.
@@ -1393,6 +1500,56 @@ export declare const workspaceSummarySchema: Schema.Struct<{
1393
1500
  readonly acl: Schema.Literals<readonly ["supported", "unsupported", "unknown"]>;
1394
1501
  }>>;
1395
1502
  }>>;
1503
+ readonly publication: Schema.optional<Schema.Union<readonly [Schema.Struct<{
1504
+ readonly kind: Schema.Literal<"oci">;
1505
+ readonly publicationId: Schema.String;
1506
+ readonly image: Schema.Struct<{
1507
+ readonly repository: Schema.String;
1508
+ readonly tag: Schema.String;
1509
+ readonly reference: Schema.String;
1510
+ readonly digestReference: Schema.String;
1511
+ readonly digest: Schema.String;
1512
+ }>;
1513
+ }>, Schema.Struct<{
1514
+ readonly kind: Schema.Literal<"microvm">;
1515
+ readonly publicationId: Schema.String;
1516
+ readonly image: Schema.Struct<{
1517
+ readonly imageArn: Schema.String;
1518
+ readonly imageVersion: Schema.String;
1519
+ readonly planHash: Schema.String;
1520
+ }>;
1521
+ }>, Schema.Struct<{
1522
+ readonly kind: Schema.Literal<"boat-native">;
1523
+ readonly publicationId: Schema.String;
1524
+ readonly snapshot: Schema.Struct<{
1525
+ readonly kind: Schema.Literal<"boat-saved-snapshot">;
1526
+ readonly owner: Schema.String;
1527
+ readonly build: Schema.String;
1528
+ readonly recipeHash: Schema.String;
1529
+ readonly receiptHash: Schema.String;
1530
+ readonly identity: Schema.Struct<{
1531
+ readonly name: Schema.String;
1532
+ readonly sourceSandboxId: Schema.String;
1533
+ readonly createdAt: Schema.String;
1534
+ readonly snapshotId: Schema.optional<Schema.String>;
1535
+ }>;
1536
+ }>;
1537
+ readonly evidence: Schema.Struct<{
1538
+ readonly recipeHash: Schema.String;
1539
+ readonly receiptHash: Schema.String;
1540
+ readonly assetsHash: Schema.String;
1541
+ readonly runtime: Schema.Struct<{
1542
+ readonly source: Schema.String;
1543
+ readonly platform: Schema.Literal<"linux/amd64">;
1544
+ readonly manifest: Schema.String;
1545
+ readonly sealantd: Schema.String;
1546
+ readonly socat: Schema.String;
1547
+ readonly relay: Schema.String;
1548
+ }>;
1549
+ readonly daemonRecovery: Schema.Literals<readonly ["supported", "unsupported", "unknown"]>;
1550
+ readonly executorRecovery: Schema.Literal<"unverified">;
1551
+ }>;
1552
+ }>]>>;
1396
1553
  /** See `workspaceProcessUserCapabilitySchema`. Absent from older control planes. */
1397
1554
  readonly processUser: Schema.optional<Schema.Literals<readonly ["supported", "unsupported", "unknown"]>>;
1398
1555
  readonly error: Schema.optional<Schema.Struct<{
@@ -1512,7 +1669,7 @@ export declare const workspaceDetailsSchema: Schema.Struct<{
1512
1669
  readonly repository: Schema.optional<Schema.String>;
1513
1670
  readonly tag: Schema.optional<Schema.String>;
1514
1671
  readonly runtime: Schema.optional<Schema.Struct<{
1515
- readonly adapter: Schema.Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
1672
+ readonly adapter: Schema.Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm", "boat"]>;
1516
1673
  /**
1517
1674
  * The executor's identity on its runtime: the Docker container id, the Pod name, the MicroVM
1518
1675
  * id. This is the id a caller records at launch and names in a stop's `completion`.
@@ -1558,6 +1715,56 @@ export declare const workspaceDetailsSchema: Schema.Struct<{
1558
1715
  readonly acl: Schema.Literals<readonly ["supported", "unsupported", "unknown"]>;
1559
1716
  }>>;
1560
1717
  }>>;
1718
+ readonly publication: Schema.optional<Schema.Union<readonly [Schema.Struct<{
1719
+ readonly kind: Schema.Literal<"oci">;
1720
+ readonly publicationId: Schema.String;
1721
+ readonly image: Schema.Struct<{
1722
+ readonly repository: Schema.String;
1723
+ readonly tag: Schema.String;
1724
+ readonly reference: Schema.String;
1725
+ readonly digestReference: Schema.String;
1726
+ readonly digest: Schema.String;
1727
+ }>;
1728
+ }>, Schema.Struct<{
1729
+ readonly kind: Schema.Literal<"microvm">;
1730
+ readonly publicationId: Schema.String;
1731
+ readonly image: Schema.Struct<{
1732
+ readonly imageArn: Schema.String;
1733
+ readonly imageVersion: Schema.String;
1734
+ readonly planHash: Schema.String;
1735
+ }>;
1736
+ }>, Schema.Struct<{
1737
+ readonly kind: Schema.Literal<"boat-native">;
1738
+ readonly publicationId: Schema.String;
1739
+ readonly snapshot: Schema.Struct<{
1740
+ readonly kind: Schema.Literal<"boat-saved-snapshot">;
1741
+ readonly owner: Schema.String;
1742
+ readonly build: Schema.String;
1743
+ readonly recipeHash: Schema.String;
1744
+ readonly receiptHash: Schema.String;
1745
+ readonly identity: Schema.Struct<{
1746
+ readonly name: Schema.String;
1747
+ readonly sourceSandboxId: Schema.String;
1748
+ readonly createdAt: Schema.String;
1749
+ readonly snapshotId: Schema.optional<Schema.String>;
1750
+ }>;
1751
+ }>;
1752
+ readonly evidence: Schema.Struct<{
1753
+ readonly recipeHash: Schema.String;
1754
+ readonly receiptHash: Schema.String;
1755
+ readonly assetsHash: Schema.String;
1756
+ readonly runtime: Schema.Struct<{
1757
+ readonly source: Schema.String;
1758
+ readonly platform: Schema.Literal<"linux/amd64">;
1759
+ readonly manifest: Schema.String;
1760
+ readonly sealantd: Schema.String;
1761
+ readonly socat: Schema.String;
1762
+ readonly relay: Schema.String;
1763
+ }>;
1764
+ readonly daemonRecovery: Schema.Literals<readonly ["supported", "unsupported", "unknown"]>;
1765
+ readonly executorRecovery: Schema.Literal<"unverified">;
1766
+ }>;
1767
+ }>]>>;
1561
1768
  /** See `workspaceProcessUserCapabilitySchema`. Absent from older control planes. */
1562
1769
  readonly processUser: Schema.optional<Schema.Literals<readonly ["supported", "unsupported", "unknown"]>>;
1563
1770
  readonly error: Schema.optional<Schema.Struct<{
@@ -1678,7 +1885,7 @@ export declare const listWorkspacesResponseSchema: Schema.Struct<{
1678
1885
  readonly repository: Schema.optional<Schema.String>;
1679
1886
  readonly tag: Schema.optional<Schema.String>;
1680
1887
  readonly runtime: Schema.optional<Schema.Struct<{
1681
- readonly adapter: Schema.Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
1888
+ readonly adapter: Schema.Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm", "boat"]>;
1682
1889
  /**
1683
1890
  * The executor's identity on its runtime: the Docker container id, the Pod name, the MicroVM
1684
1891
  * id. This is the id a caller records at launch and names in a stop's `completion`.
@@ -1724,6 +1931,56 @@ export declare const listWorkspacesResponseSchema: Schema.Struct<{
1724
1931
  readonly acl: Schema.Literals<readonly ["supported", "unsupported", "unknown"]>;
1725
1932
  }>>;
1726
1933
  }>>;
1934
+ readonly publication: Schema.optional<Schema.Union<readonly [Schema.Struct<{
1935
+ readonly kind: Schema.Literal<"oci">;
1936
+ readonly publicationId: Schema.String;
1937
+ readonly image: Schema.Struct<{
1938
+ readonly repository: Schema.String;
1939
+ readonly tag: Schema.String;
1940
+ readonly reference: Schema.String;
1941
+ readonly digestReference: Schema.String;
1942
+ readonly digest: Schema.String;
1943
+ }>;
1944
+ }>, Schema.Struct<{
1945
+ readonly kind: Schema.Literal<"microvm">;
1946
+ readonly publicationId: Schema.String;
1947
+ readonly image: Schema.Struct<{
1948
+ readonly imageArn: Schema.String;
1949
+ readonly imageVersion: Schema.String;
1950
+ readonly planHash: Schema.String;
1951
+ }>;
1952
+ }>, Schema.Struct<{
1953
+ readonly kind: Schema.Literal<"boat-native">;
1954
+ readonly publicationId: Schema.String;
1955
+ readonly snapshot: Schema.Struct<{
1956
+ readonly kind: Schema.Literal<"boat-saved-snapshot">;
1957
+ readonly owner: Schema.String;
1958
+ readonly build: Schema.String;
1959
+ readonly recipeHash: Schema.String;
1960
+ readonly receiptHash: Schema.String;
1961
+ readonly identity: Schema.Struct<{
1962
+ readonly name: Schema.String;
1963
+ readonly sourceSandboxId: Schema.String;
1964
+ readonly createdAt: Schema.String;
1965
+ readonly snapshotId: Schema.optional<Schema.String>;
1966
+ }>;
1967
+ }>;
1968
+ readonly evidence: Schema.Struct<{
1969
+ readonly recipeHash: Schema.String;
1970
+ readonly receiptHash: Schema.String;
1971
+ readonly assetsHash: Schema.String;
1972
+ readonly runtime: Schema.Struct<{
1973
+ readonly source: Schema.String;
1974
+ readonly platform: Schema.Literal<"linux/amd64">;
1975
+ readonly manifest: Schema.String;
1976
+ readonly sealantd: Schema.String;
1977
+ readonly socat: Schema.String;
1978
+ readonly relay: Schema.String;
1979
+ }>;
1980
+ readonly daemonRecovery: Schema.Literals<readonly ["supported", "unsupported", "unknown"]>;
1981
+ readonly executorRecovery: Schema.Literal<"unverified">;
1982
+ }>;
1983
+ }>]>>;
1727
1984
  /** See `workspaceProcessUserCapabilitySchema`. Absent from older control planes. */
1728
1985
  readonly processUser: Schema.optional<Schema.Literals<readonly ["supported", "unsupported", "unknown"]>>;
1729
1986
  readonly error: Schema.optional<Schema.Struct<{
@@ -1767,7 +2024,7 @@ export declare const workspaceAttemptSummarySchema: Schema.Struct<{
1767
2024
  readonly triggerType: Schema.Literals<readonly ["manual", "schedule", "api", "retry"]>;
1768
2025
  readonly triggerRef: Schema.optional<Schema.String>;
1769
2026
  readonly runtime: Schema.optional<Schema.Struct<{
1770
- readonly adapter: Schema.Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
2027
+ readonly adapter: Schema.Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm", "boat"]>;
1771
2028
  /**
1772
2029
  * The executor's identity on its runtime: the Docker container id, the Pod name, the MicroVM
1773
2030
  * id. This is the id a caller records at launch and names in a stop's `completion`.
@@ -1813,6 +2070,56 @@ export declare const workspaceAttemptSummarySchema: Schema.Struct<{
1813
2070
  readonly acl: Schema.Literals<readonly ["supported", "unsupported", "unknown"]>;
1814
2071
  }>>;
1815
2072
  }>>;
2073
+ readonly publication: Schema.optional<Schema.Union<readonly [Schema.Struct<{
2074
+ readonly kind: Schema.Literal<"oci">;
2075
+ readonly publicationId: Schema.String;
2076
+ readonly image: Schema.Struct<{
2077
+ readonly repository: Schema.String;
2078
+ readonly tag: Schema.String;
2079
+ readonly reference: Schema.String;
2080
+ readonly digestReference: Schema.String;
2081
+ readonly digest: Schema.String;
2082
+ }>;
2083
+ }>, Schema.Struct<{
2084
+ readonly kind: Schema.Literal<"microvm">;
2085
+ readonly publicationId: Schema.String;
2086
+ readonly image: Schema.Struct<{
2087
+ readonly imageArn: Schema.String;
2088
+ readonly imageVersion: Schema.String;
2089
+ readonly planHash: Schema.String;
2090
+ }>;
2091
+ }>, Schema.Struct<{
2092
+ readonly kind: Schema.Literal<"boat-native">;
2093
+ readonly publicationId: Schema.String;
2094
+ readonly snapshot: Schema.Struct<{
2095
+ readonly kind: Schema.Literal<"boat-saved-snapshot">;
2096
+ readonly owner: Schema.String;
2097
+ readonly build: Schema.String;
2098
+ readonly recipeHash: Schema.String;
2099
+ readonly receiptHash: Schema.String;
2100
+ readonly identity: Schema.Struct<{
2101
+ readonly name: Schema.String;
2102
+ readonly sourceSandboxId: Schema.String;
2103
+ readonly createdAt: Schema.String;
2104
+ readonly snapshotId: Schema.optional<Schema.String>;
2105
+ }>;
2106
+ }>;
2107
+ readonly evidence: Schema.Struct<{
2108
+ readonly recipeHash: Schema.String;
2109
+ readonly receiptHash: Schema.String;
2110
+ readonly assetsHash: Schema.String;
2111
+ readonly runtime: Schema.Struct<{
2112
+ readonly source: Schema.String;
2113
+ readonly platform: Schema.Literal<"linux/amd64">;
2114
+ readonly manifest: Schema.String;
2115
+ readonly sealantd: Schema.String;
2116
+ readonly socat: Schema.String;
2117
+ readonly relay: Schema.String;
2118
+ }>;
2119
+ readonly daemonRecovery: Schema.Literals<readonly ["supported", "unsupported", "unknown"]>;
2120
+ readonly executorRecovery: Schema.Literal<"unverified">;
2121
+ }>;
2122
+ }>]>>;
1816
2123
  readonly error: Schema.optional<Schema.Struct<{
1817
2124
  readonly message: Schema.String;
1818
2125
  readonly code: Schema.optional<Schema.String>;
@@ -1835,7 +2142,7 @@ export declare const listWorkspaceAttemptsResponseSchema: Schema.Struct<{
1835
2142
  readonly triggerType: Schema.Literals<readonly ["manual", "schedule", "api", "retry"]>;
1836
2143
  readonly triggerRef: Schema.optional<Schema.String>;
1837
2144
  readonly runtime: Schema.optional<Schema.Struct<{
1838
- readonly adapter: Schema.Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
2145
+ readonly adapter: Schema.Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm", "boat"]>;
1839
2146
  /**
1840
2147
  * The executor's identity on its runtime: the Docker container id, the Pod name, the MicroVM
1841
2148
  * id. This is the id a caller records at launch and names in a stop's `completion`.
@@ -1881,6 +2188,56 @@ export declare const listWorkspaceAttemptsResponseSchema: Schema.Struct<{
1881
2188
  readonly acl: Schema.Literals<readonly ["supported", "unsupported", "unknown"]>;
1882
2189
  }>>;
1883
2190
  }>>;
2191
+ readonly publication: Schema.optional<Schema.Union<readonly [Schema.Struct<{
2192
+ readonly kind: Schema.Literal<"oci">;
2193
+ readonly publicationId: Schema.String;
2194
+ readonly image: Schema.Struct<{
2195
+ readonly repository: Schema.String;
2196
+ readonly tag: Schema.String;
2197
+ readonly reference: Schema.String;
2198
+ readonly digestReference: Schema.String;
2199
+ readonly digest: Schema.String;
2200
+ }>;
2201
+ }>, Schema.Struct<{
2202
+ readonly kind: Schema.Literal<"microvm">;
2203
+ readonly publicationId: Schema.String;
2204
+ readonly image: Schema.Struct<{
2205
+ readonly imageArn: Schema.String;
2206
+ readonly imageVersion: Schema.String;
2207
+ readonly planHash: Schema.String;
2208
+ }>;
2209
+ }>, Schema.Struct<{
2210
+ readonly kind: Schema.Literal<"boat-native">;
2211
+ readonly publicationId: Schema.String;
2212
+ readonly snapshot: Schema.Struct<{
2213
+ readonly kind: Schema.Literal<"boat-saved-snapshot">;
2214
+ readonly owner: Schema.String;
2215
+ readonly build: Schema.String;
2216
+ readonly recipeHash: Schema.String;
2217
+ readonly receiptHash: Schema.String;
2218
+ readonly identity: Schema.Struct<{
2219
+ readonly name: Schema.String;
2220
+ readonly sourceSandboxId: Schema.String;
2221
+ readonly createdAt: Schema.String;
2222
+ readonly snapshotId: Schema.optional<Schema.String>;
2223
+ }>;
2224
+ }>;
2225
+ readonly evidence: Schema.Struct<{
2226
+ readonly recipeHash: Schema.String;
2227
+ readonly receiptHash: Schema.String;
2228
+ readonly assetsHash: Schema.String;
2229
+ readonly runtime: Schema.Struct<{
2230
+ readonly source: Schema.String;
2231
+ readonly platform: Schema.Literal<"linux/amd64">;
2232
+ readonly manifest: Schema.String;
2233
+ readonly sealantd: Schema.String;
2234
+ readonly socat: Schema.String;
2235
+ readonly relay: Schema.String;
2236
+ }>;
2237
+ readonly daemonRecovery: Schema.Literals<readonly ["supported", "unsupported", "unknown"]>;
2238
+ readonly executorRecovery: Schema.Literal<"unverified">;
2239
+ }>;
2240
+ }>]>>;
1884
2241
  readonly error: Schema.optional<Schema.Struct<{
1885
2242
  readonly message: Schema.String;
1886
2243
  readonly code: Schema.optional<Schema.String>;
@@ -1951,6 +2308,13 @@ declare const WorkspaceRuntimeEnvReferencesUnsupportedError_base: Schema.Class<W
1951
2308
  */
1952
2309
  export declare class WorkspaceRuntimeEnvReferencesUnsupportedError extends WorkspaceRuntimeEnvReferencesUnsupportedError_base {
1953
2310
  }
2311
+ declare const WorkspaceRuntimeRequirementUnsupportedError_base: Schema.Class<WorkspaceRuntimeRequirementUnsupportedError, Schema.TaggedStruct<"WorkspaceRuntimeRequirementUnsupportedError", {
2312
+ readonly message: Schema.String;
2313
+ readonly code: Schema.Literals<readonly ["runtime-os-unsupported", "runtime-requirement-unsupported", "workspace-docker-unsupported"]>;
2314
+ }>, import("effect/Cause").YieldableError>;
2315
+ /** A native runtime requirement refused before any new create is reserved. */
2316
+ export declare class WorkspaceRuntimeRequirementUnsupportedError extends WorkspaceRuntimeRequirementUnsupportedError_base {
2317
+ }
1954
2318
  declare const WorkspaceDockerServiceUnsupportedError_base: Schema.Class<WorkspaceDockerServiceUnsupportedError, Schema.TaggedStruct<"WorkspaceDockerServiceUnsupportedError", {
1955
2319
  readonly message: Schema.String;
1956
2320
  readonly code: Schema.Literals<readonly ["workspace-docker-unsupported"]>;
@@ -2020,6 +2384,7 @@ export declare class WorkspaceBadGatewayError extends WorkspaceBadGatewayError_b
2020
2384
  }
2021
2385
  declare const WorkspaceServiceUnavailableError_base: Schema.Class<WorkspaceServiceUnavailableError, Schema.TaggedStruct<"WorkspaceServiceUnavailableError", {
2022
2386
  readonly message: Schema.String;
2387
+ readonly code: Schema.optional<Schema.String>;
2023
2388
  }>, import("effect/Cause").YieldableError>;
2024
2389
  export declare class WorkspaceServiceUnavailableError extends WorkspaceServiceUnavailableError_base {
2025
2390
  }
@@ -2116,6 +2481,8 @@ export declare const WorkspacesGroup: HttpApiGroup.HttpApiGroup<"workspaces", Ht
2116
2481
  /** Always `null` (root) after the call. */
2117
2482
  readonly sshUser: Schema.Null;
2118
2483
  }>>, Schema.toCodecJson<typeof WorkspaceNotFoundError | typeof WorkspaceInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"createWorkspace", "POST", "/", never, never, Schema.toCodecJson<Schema.Struct<{
2484
+ /** Existing resource domain for image reuse only. Omitted selects the authenticated owner. */
2485
+ readonly imageScopeId: Schema.optional<Schema.String>;
2119
2486
  readonly ownerUserId: Schema.String;
2120
2487
  readonly registryId: Schema.String;
2121
2488
  readonly repository: Schema.String;
@@ -2183,7 +2550,7 @@ export declare const WorkspacesGroup: HttpApiGroup.HttpApiGroup<"workspaces", Ht
2183
2550
  * asynchronous); a replayed create carries the workspace's current one.
2184
2551
  */
2185
2552
  readonly runtime: Schema.optional<Schema.Struct<{
2186
- readonly adapter: Schema.Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
2553
+ readonly adapter: Schema.Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm", "boat"]>;
2187
2554
  /**
2188
2555
  * The executor's identity on its runtime: the Docker container id, the Pod name, the MicroVM
2189
2556
  * id. This is the id a caller records at launch and names in a stop's `completion`.
@@ -2209,7 +2576,7 @@ export declare const WorkspacesGroup: HttpApiGroup.HttpApiGroup<"workspaces", Ht
2209
2576
  readonly replayed: Schema.optional<Schema.Boolean>;
2210
2577
  /** The launch identity the create named (`launchId`), recorded on its attempt. */
2211
2578
  readonly launchId: Schema.optional<Schema.String>;
2212
- }>>, Schema.toCodecJson<typeof BudgetExceededError | typeof WorkspaceBadRequestError | typeof WorkspaceRuntimeEnvReferencesUnsupportedError | typeof WorkspaceDockerServiceUnsupportedError | typeof WorkspaceSshOwnerRefusedError | typeof WorkspaceForbiddenError | typeof WorkspaceNotFoundError | typeof WorkspaceConflictError | typeof WorkspaceBadGatewayError | typeof WorkspaceServiceUnavailableError | typeof WorkspaceInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"execWorkspace", "POST", "/:workspaceId/exec", Schema.toCodecStringTree<Schema.Struct<{
2579
+ }>>, Schema.toCodecJson<typeof BudgetExceededError | typeof WorkspaceBadRequestError | typeof WorkspaceRuntimeEnvReferencesUnsupportedError | typeof WorkspaceRuntimeRequirementUnsupportedError | typeof WorkspaceDockerServiceUnsupportedError | typeof WorkspaceSshOwnerRefusedError | typeof WorkspaceForbiddenError | typeof WorkspaceNotFoundError | typeof WorkspaceConflictError | typeof WorkspaceBadGatewayError | typeof WorkspaceServiceUnavailableError | typeof WorkspaceInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"execWorkspace", "POST", "/:workspaceId/exec", Schema.toCodecStringTree<Schema.Struct<{
2213
2580
  readonly workspaceId: Schema.String;
2214
2581
  }>>, never, Schema.toCodecJson<Schema.Struct<{
2215
2582
  readonly ownerUserId: Schema.String;
@@ -2445,7 +2812,7 @@ export declare const WorkspacesGroup: HttpApiGroup.HttpApiGroup<"workspaces", Ht
2445
2812
  readonly repository: Schema.optional<Schema.String>;
2446
2813
  readonly tag: Schema.optional<Schema.String>;
2447
2814
  readonly runtime: Schema.optional<Schema.Struct<{
2448
- readonly adapter: Schema.Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
2815
+ readonly adapter: Schema.Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm", "boat"]>;
2449
2816
  /**
2450
2817
  * The executor's identity on its runtime: the Docker container id, the Pod name, the MicroVM
2451
2818
  * id. This is the id a caller records at launch and names in a stop's `completion`.
@@ -2491,6 +2858,56 @@ export declare const WorkspacesGroup: HttpApiGroup.HttpApiGroup<"workspaces", Ht
2491
2858
  readonly acl: Schema.Literals<readonly ["supported", "unsupported", "unknown"]>;
2492
2859
  }>>;
2493
2860
  }>>;
2861
+ readonly publication: Schema.optional<Schema.Union<readonly [Schema.Struct<{
2862
+ readonly kind: Schema.Literal<"oci">;
2863
+ readonly publicationId: Schema.String;
2864
+ readonly image: Schema.Struct<{
2865
+ readonly repository: Schema.String;
2866
+ readonly tag: Schema.String;
2867
+ readonly reference: Schema.String;
2868
+ readonly digestReference: Schema.String;
2869
+ readonly digest: Schema.String;
2870
+ }>;
2871
+ }>, Schema.Struct<{
2872
+ readonly kind: Schema.Literal<"microvm">;
2873
+ readonly publicationId: Schema.String;
2874
+ readonly image: Schema.Struct<{
2875
+ readonly imageArn: Schema.String;
2876
+ readonly imageVersion: Schema.String;
2877
+ readonly planHash: Schema.String;
2878
+ }>;
2879
+ }>, Schema.Struct<{
2880
+ readonly kind: Schema.Literal<"boat-native">;
2881
+ readonly publicationId: Schema.String;
2882
+ readonly snapshot: Schema.Struct<{
2883
+ readonly kind: Schema.Literal<"boat-saved-snapshot">;
2884
+ readonly owner: Schema.String;
2885
+ readonly build: Schema.String;
2886
+ readonly recipeHash: Schema.String;
2887
+ readonly receiptHash: Schema.String;
2888
+ readonly identity: Schema.Struct<{
2889
+ readonly name: Schema.String;
2890
+ readonly sourceSandboxId: Schema.String;
2891
+ readonly createdAt: Schema.String;
2892
+ readonly snapshotId: Schema.optional<Schema.String>;
2893
+ }>;
2894
+ }>;
2895
+ readonly evidence: Schema.Struct<{
2896
+ readonly recipeHash: Schema.String;
2897
+ readonly receiptHash: Schema.String;
2898
+ readonly assetsHash: Schema.String;
2899
+ readonly runtime: Schema.Struct<{
2900
+ readonly source: Schema.String;
2901
+ readonly platform: Schema.Literal<"linux/amd64">;
2902
+ readonly manifest: Schema.String;
2903
+ readonly sealantd: Schema.String;
2904
+ readonly socat: Schema.String;
2905
+ readonly relay: Schema.String;
2906
+ }>;
2907
+ readonly daemonRecovery: Schema.Literals<readonly ["supported", "unsupported", "unknown"]>;
2908
+ readonly executorRecovery: Schema.Literal<"unverified">;
2909
+ }>;
2910
+ }>]>>;
2494
2911
  /** See `workspaceProcessUserCapabilitySchema`. Absent from older control planes. */
2495
2912
  readonly processUser: Schema.optional<Schema.Literals<readonly ["supported", "unsupported", "unknown"]>>;
2496
2913
  readonly error: Schema.optional<Schema.Struct<{
@@ -2733,7 +3150,7 @@ export declare const WorkspacesGroup: HttpApiGroup.HttpApiGroup<"workspaces", Ht
2733
3150
  readonly workspaceId: Schema.String;
2734
3151
  readonly attemptId: Schema.String;
2735
3152
  readonly runtime: Schema.Struct<{
2736
- readonly adapter: Schema.Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
3153
+ readonly adapter: Schema.Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm", "boat"]>;
2737
3154
  readonly resourceId: Schema.String;
2738
3155
  readonly reference: Schema.String;
2739
3156
  readonly status: Schema.Literals<readonly ["pending", "running", "ready", "failed", "stopped"]>;
@@ -2754,6 +3171,7 @@ export declare const WorkspacesGroup: HttpApiGroup.HttpApiGroup<"workspaces", Ht
2754
3171
  */
2755
3172
  readonly sshKeyFingerprint: Schema.optional<Schema.String>;
2756
3173
  }>>, Schema.toCodecJson<typeof WorkspaceUnauthorizedError | typeof WorkspaceSshKeyNoLongerRegisteredError | typeof WorkspaceNotFoundError | typeof WorkspaceConflictError | typeof WorkspaceServiceUnavailableError | typeof WorkspaceInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"inspectWorkspaceImage", "POST", "/image", never, never, Schema.toCodecJson<Schema.Struct<{
3174
+ readonly imageScopeId: Schema.optional<Schema.String>;
2757
3175
  readonly ownerUserId: Schema.String;
2758
3176
  readonly registryId: Schema.String;
2759
3177
  /** The spec a create would send (`CreateWorkspaceRequest.spec`). */
@@ -2786,6 +3204,56 @@ export declare const WorkspacesGroup: HttpApiGroup.HttpApiGroup<"workspaces", Ht
2786
3204
  readonly acl: Schema.Literals<readonly ["supported", "unsupported", "unknown"]>;
2787
3205
  }>>;
2788
3206
  }>>;
3207
+ readonly publication: Schema.optional<Schema.Union<readonly [Schema.Struct<{
3208
+ readonly kind: Schema.Literal<"oci">;
3209
+ readonly publicationId: Schema.String;
3210
+ readonly image: Schema.Struct<{
3211
+ readonly repository: Schema.String;
3212
+ readonly tag: Schema.String;
3213
+ readonly reference: Schema.String;
3214
+ readonly digestReference: Schema.String;
3215
+ readonly digest: Schema.String;
3216
+ }>;
3217
+ }>, Schema.Struct<{
3218
+ readonly kind: Schema.Literal<"microvm">;
3219
+ readonly publicationId: Schema.String;
3220
+ readonly image: Schema.Struct<{
3221
+ readonly imageArn: Schema.String;
3222
+ readonly imageVersion: Schema.String;
3223
+ readonly planHash: Schema.String;
3224
+ }>;
3225
+ }>, Schema.Struct<{
3226
+ readonly kind: Schema.Literal<"boat-native">;
3227
+ readonly publicationId: Schema.String;
3228
+ readonly snapshot: Schema.Struct<{
3229
+ readonly kind: Schema.Literal<"boat-saved-snapshot">;
3230
+ readonly owner: Schema.String;
3231
+ readonly build: Schema.String;
3232
+ readonly recipeHash: Schema.String;
3233
+ readonly receiptHash: Schema.String;
3234
+ readonly identity: Schema.Struct<{
3235
+ readonly name: Schema.String;
3236
+ readonly sourceSandboxId: Schema.String;
3237
+ readonly createdAt: Schema.String;
3238
+ readonly snapshotId: Schema.optional<Schema.String>;
3239
+ }>;
3240
+ }>;
3241
+ readonly evidence: Schema.Struct<{
3242
+ readonly recipeHash: Schema.String;
3243
+ readonly receiptHash: Schema.String;
3244
+ readonly assetsHash: Schema.String;
3245
+ readonly runtime: Schema.Struct<{
3246
+ readonly source: Schema.String;
3247
+ readonly platform: Schema.Literal<"linux/amd64">;
3248
+ readonly manifest: Schema.String;
3249
+ readonly sealantd: Schema.String;
3250
+ readonly socat: Schema.String;
3251
+ readonly relay: Schema.String;
3252
+ }>;
3253
+ readonly daemonRecovery: Schema.Literals<readonly ["supported", "unsupported", "unknown"]>;
3254
+ readonly executorRecovery: Schema.Literal<"unverified">;
3255
+ }>;
3256
+ }>]>>;
2789
3257
  /** The image's per-person capability (`unknown` when none has been built yet). */
2790
3258
  readonly personLayout: Schema.Struct<{
2791
3259
  readonly status: Schema.Literals<readonly ["supported", "unsupported", "unknown"]>;
@@ -2805,7 +3273,7 @@ export declare const WorkspacesGroup: HttpApiGroup.HttpApiGroup<"workspaces", Ht
2805
3273
  /** ACLs on that runtime's `/workspace`, as the operator declared them. */
2806
3274
  readonly acl: Schema.Literals<readonly ["supported", "unsupported", "unknown"]>;
2807
3275
  }>;
2808
- }>>, Schema.toCodecJson<typeof WorkspaceBadRequestError | typeof WorkspaceNotFoundError | typeof WorkspaceInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"listWorkspaceAttempts", "GET", "/:workspaceId/attempts", Schema.toCodecStringTree<Schema.Struct<{
3276
+ }>>, Schema.toCodecJson<typeof WorkspaceBadRequestError | typeof WorkspaceRuntimeRequirementUnsupportedError | typeof WorkspaceNotFoundError | typeof WorkspaceServiceUnavailableError | typeof WorkspaceInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"listWorkspaceAttempts", "GET", "/:workspaceId/attempts", Schema.toCodecStringTree<Schema.Struct<{
2809
3277
  readonly workspaceId: Schema.String;
2810
3278
  }>>, Schema.toCodecStringTree<Schema.Struct<{
2811
3279
  readonly ownerUserId: Schema.optional<Schema.String>;
@@ -2818,7 +3286,7 @@ export declare const WorkspacesGroup: HttpApiGroup.HttpApiGroup<"workspaces", Ht
2818
3286
  readonly triggerType: Schema.Literals<readonly ["manual", "schedule", "api", "retry"]>;
2819
3287
  readonly triggerRef: Schema.optional<Schema.String>;
2820
3288
  readonly runtime: Schema.optional<Schema.Struct<{
2821
- readonly adapter: Schema.Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
3289
+ readonly adapter: Schema.Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm", "boat"]>;
2822
3290
  /**
2823
3291
  * The executor's identity on its runtime: the Docker container id, the Pod name, the MicroVM
2824
3292
  * id. This is the id a caller records at launch and names in a stop's `completion`.
@@ -2864,6 +3332,56 @@ export declare const WorkspacesGroup: HttpApiGroup.HttpApiGroup<"workspaces", Ht
2864
3332
  readonly acl: Schema.Literals<readonly ["supported", "unsupported", "unknown"]>;
2865
3333
  }>>;
2866
3334
  }>>;
3335
+ readonly publication: Schema.optional<Schema.Union<readonly [Schema.Struct<{
3336
+ readonly kind: Schema.Literal<"oci">;
3337
+ readonly publicationId: Schema.String;
3338
+ readonly image: Schema.Struct<{
3339
+ readonly repository: Schema.String;
3340
+ readonly tag: Schema.String;
3341
+ readonly reference: Schema.String;
3342
+ readonly digestReference: Schema.String;
3343
+ readonly digest: Schema.String;
3344
+ }>;
3345
+ }>, Schema.Struct<{
3346
+ readonly kind: Schema.Literal<"microvm">;
3347
+ readonly publicationId: Schema.String;
3348
+ readonly image: Schema.Struct<{
3349
+ readonly imageArn: Schema.String;
3350
+ readonly imageVersion: Schema.String;
3351
+ readonly planHash: Schema.String;
3352
+ }>;
3353
+ }>, Schema.Struct<{
3354
+ readonly kind: Schema.Literal<"boat-native">;
3355
+ readonly publicationId: Schema.String;
3356
+ readonly snapshot: Schema.Struct<{
3357
+ readonly kind: Schema.Literal<"boat-saved-snapshot">;
3358
+ readonly owner: Schema.String;
3359
+ readonly build: Schema.String;
3360
+ readonly recipeHash: Schema.String;
3361
+ readonly receiptHash: Schema.String;
3362
+ readonly identity: Schema.Struct<{
3363
+ readonly name: Schema.String;
3364
+ readonly sourceSandboxId: Schema.String;
3365
+ readonly createdAt: Schema.String;
3366
+ readonly snapshotId: Schema.optional<Schema.String>;
3367
+ }>;
3368
+ }>;
3369
+ readonly evidence: Schema.Struct<{
3370
+ readonly recipeHash: Schema.String;
3371
+ readonly receiptHash: Schema.String;
3372
+ readonly assetsHash: Schema.String;
3373
+ readonly runtime: Schema.Struct<{
3374
+ readonly source: Schema.String;
3375
+ readonly platform: Schema.Literal<"linux/amd64">;
3376
+ readonly manifest: Schema.String;
3377
+ readonly sealantd: Schema.String;
3378
+ readonly socat: Schema.String;
3379
+ readonly relay: Schema.String;
3380
+ }>;
3381
+ readonly daemonRecovery: Schema.Literals<readonly ["supported", "unsupported", "unknown"]>;
3382
+ readonly executorRecovery: Schema.Literal<"unverified">;
3383
+ }>;
3384
+ }>]>>;
2867
3385
  readonly error: Schema.optional<Schema.Struct<{
2868
3386
  readonly message: Schema.String;
2869
3387
  readonly code: Schema.optional<Schema.String>;
@@ -2970,7 +3488,7 @@ export declare const WorkspacesGroup: HttpApiGroup.HttpApiGroup<"workspaces", Ht
2970
3488
  readonly repository: Schema.optional<Schema.String>;
2971
3489
  readonly tag: Schema.optional<Schema.String>;
2972
3490
  readonly runtime: Schema.optional<Schema.Struct<{
2973
- readonly adapter: Schema.Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
3491
+ readonly adapter: Schema.Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm", "boat"]>;
2974
3492
  /**
2975
3493
  * The executor's identity on its runtime: the Docker container id, the Pod name, the MicroVM
2976
3494
  * id. This is the id a caller records at launch and names in a stop's `completion`.
@@ -3016,6 +3534,56 @@ export declare const WorkspacesGroup: HttpApiGroup.HttpApiGroup<"workspaces", Ht
3016
3534
  readonly acl: Schema.Literals<readonly ["supported", "unsupported", "unknown"]>;
3017
3535
  }>>;
3018
3536
  }>>;
3537
+ readonly publication: Schema.optional<Schema.Union<readonly [Schema.Struct<{
3538
+ readonly kind: Schema.Literal<"oci">;
3539
+ readonly publicationId: Schema.String;
3540
+ readonly image: Schema.Struct<{
3541
+ readonly repository: Schema.String;
3542
+ readonly tag: Schema.String;
3543
+ readonly reference: Schema.String;
3544
+ readonly digestReference: Schema.String;
3545
+ readonly digest: Schema.String;
3546
+ }>;
3547
+ }>, Schema.Struct<{
3548
+ readonly kind: Schema.Literal<"microvm">;
3549
+ readonly publicationId: Schema.String;
3550
+ readonly image: Schema.Struct<{
3551
+ readonly imageArn: Schema.String;
3552
+ readonly imageVersion: Schema.String;
3553
+ readonly planHash: Schema.String;
3554
+ }>;
3555
+ }>, Schema.Struct<{
3556
+ readonly kind: Schema.Literal<"boat-native">;
3557
+ readonly publicationId: Schema.String;
3558
+ readonly snapshot: Schema.Struct<{
3559
+ readonly kind: Schema.Literal<"boat-saved-snapshot">;
3560
+ readonly owner: Schema.String;
3561
+ readonly build: Schema.String;
3562
+ readonly recipeHash: Schema.String;
3563
+ readonly receiptHash: Schema.String;
3564
+ readonly identity: Schema.Struct<{
3565
+ readonly name: Schema.String;
3566
+ readonly sourceSandboxId: Schema.String;
3567
+ readonly createdAt: Schema.String;
3568
+ readonly snapshotId: Schema.optional<Schema.String>;
3569
+ }>;
3570
+ }>;
3571
+ readonly evidence: Schema.Struct<{
3572
+ readonly recipeHash: Schema.String;
3573
+ readonly receiptHash: Schema.String;
3574
+ readonly assetsHash: Schema.String;
3575
+ readonly runtime: Schema.Struct<{
3576
+ readonly source: Schema.String;
3577
+ readonly platform: Schema.Literal<"linux/amd64">;
3578
+ readonly manifest: Schema.String;
3579
+ readonly sealantd: Schema.String;
3580
+ readonly socat: Schema.String;
3581
+ readonly relay: Schema.String;
3582
+ }>;
3583
+ readonly daemonRecovery: Schema.Literals<readonly ["supported", "unsupported", "unknown"]>;
3584
+ readonly executorRecovery: Schema.Literal<"unverified">;
3585
+ }>;
3586
+ }>]>>;
3019
3587
  /** See `workspaceProcessUserCapabilitySchema`. Absent from older control planes. */
3020
3588
  readonly processUser: Schema.optional<Schema.Literals<readonly ["supported", "unsupported", "unknown"]>>;
3021
3589
  readonly error: Schema.optional<Schema.Struct<{
@@ -3296,7 +3864,7 @@ export declare const WorkspacesGroup: HttpApiGroup.HttpApiGroup<"workspaces", Ht
3296
3864
  /** The new attempt driving the fresh launch. */
3297
3865
  readonly runId: Schema.String;
3298
3866
  readonly status: Schema.Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
3299
- }>>, Schema.toCodecJson<typeof BudgetExceededError | typeof WorkspaceBadRequestError | typeof WorkspaceNotFoundError | typeof WorkspaceConflictError | typeof WorkspaceBadGatewayError | typeof WorkspaceInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"stopWorkspace", "POST", "/:workspaceId/stop", Schema.toCodecStringTree<Schema.Struct<{
3867
+ }>>, Schema.toCodecJson<typeof BudgetExceededError | typeof WorkspaceBadRequestError | typeof WorkspaceRuntimeRequirementUnsupportedError | typeof WorkspaceNotFoundError | typeof WorkspaceConflictError | typeof WorkspaceBadGatewayError | typeof WorkspaceServiceUnavailableError | typeof WorkspaceInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"stopWorkspace", "POST", "/:workspaceId/stop", Schema.toCodecStringTree<Schema.Struct<{
3300
3868
  readonly workspaceId: Schema.String;
3301
3869
  }>>, never, Schema.toCodecJson<Schema.Struct<{
3302
3870
  readonly ownerUserId: Schema.String;