@harness-control/protocol 0.3.0 → 0.4.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/accounts.d.ts +312 -0
- package/dist/accounts.js +132 -0
- package/dist/index.d.ts +136 -156
- package/dist/index.js +8 -10
- package/fixtures/conformance/invalid/accounts-negative-quota.json +35 -0
- package/fixtures/conformance/invalid/accounts-secret.json +36 -0
- package/fixtures/conformance/invalid/local-action-lease-binding-mismatch.json +1 -3
- package/fixtures/conformance/invalid/local-action-missing-turn-id.json +0 -1
- package/fixtures/conformance/invalid/local-action-patch-missing-base-hash.json +1 -3
- package/fixtures/conformance/invalid/local-action-shell-missing-approval.json +4 -4
- package/fixtures/conformance/valid/accounts-read.json +11 -0
- package/fixtures/conformance/valid/accounts-snapshot.json +35 -0
- package/fixtures/conformance/valid/accounts-unavailable.json +21 -0
- package/fixtures/conformance/valid/local-action-dev-server-start.json +5 -4
- package/fixtures/conformance/valid/local-action-dev-server-stop.json +1 -3
- package/fixtures/conformance/valid/local-action-error.json +1 -3
- package/fixtures/conformance/valid/local-action-filesystem-list.json +1 -3
- package/fixtures/conformance/valid/local-action-filesystem-patch.json +1 -3
- package/fixtures/conformance/valid/local-action-filesystem-read.json +1 -3
- package/fixtures/conformance/valid/local-action-filesystem-write.json +1 -3
- package/fixtures/conformance/valid/local-action-git-diff.json +4 -4
- package/fixtures/conformance/valid/local-action-git-status.json +1 -3
- package/fixtures/conformance/valid/local-action-response.json +4 -4
- package/fixtures/conformance/valid/local-action-shell-exec.json +4 -4
- package/fixtures/conformance/valid/session-start-with-leases.json +13 -8
- package/package.json +1 -1
- package/schemas/hcp-message.schema.json +306 -244
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import { type HcpAccountsReadPayload, type HcpAccountsSnapshotPayload } from "./accounts.js";
|
|
2
|
+
export * from "./accounts.js";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
export declare const HCP_VERSION: "hcp.v0";
|
|
3
5
|
export declare const HCP_METADATA_MAX_ENCODED_BYTES: number;
|
|
4
6
|
export declare const HCP_PAYLOAD_MAX_ENCODED_BYTES: number;
|
|
5
7
|
export declare const HCP_MESSAGE_MAX_ENCODED_BYTES: number;
|
|
6
8
|
export type HcpVersion = typeof HCP_VERSION;
|
|
7
|
-
export declare const HOST_LIFECYCLE_MESSAGE_TYPES: readonly ["host.hello", "host.accepted", "host.rejected", "host.heartbeat", "host.capabilities.updated", "host.replay.unavailable", "host.workspaces.request", "host.workspaces.result"];
|
|
9
|
+
export declare const HOST_LIFECYCLE_MESSAGE_TYPES: readonly ["host.accounts.read", "host.accounts.snapshot", "host.hello", "host.accepted", "host.rejected", "host.heartbeat", "host.capabilities.updated", "host.replay.unavailable", "host.workspaces.request", "host.workspaces.result"];
|
|
8
10
|
export declare const CONTROL_PLANE_COMMAND_MESSAGE_TYPES: readonly ["harness.session.start", "harness.session.snapshot.request", "harness.turn.send", "harness.turn.cancel", "harness.session.stop", "harness.approval.respond", "harness.input.respond", "tool_servers.detach"];
|
|
9
11
|
export declare const COMMAND_ACK_MESSAGE_TYPES: readonly ["hcp.command.ack", "hcp.command.nack"];
|
|
10
12
|
export declare const LOCAL_ACTION_MESSAGE_TYPES: readonly ["local.action.request", "local.action.response", "local.action.error"];
|
|
@@ -231,11 +233,7 @@ export type LocalCapabilityGrant = {
|
|
|
231
233
|
};
|
|
232
234
|
export type LocalCapabilityLease = {
|
|
233
235
|
lease_id: string;
|
|
234
|
-
org_id: string;
|
|
235
236
|
actor_id?: string;
|
|
236
|
-
workflow_id: string;
|
|
237
|
-
run_id: string;
|
|
238
|
-
node_id: string;
|
|
239
237
|
hcp_session_id: string;
|
|
240
238
|
execution_host_id: string;
|
|
241
239
|
provider_instance_id: string;
|
|
@@ -331,13 +329,11 @@ export type LocalActionAttribution = {
|
|
|
331
329
|
turn_id: string;
|
|
332
330
|
workspace_id: string;
|
|
333
331
|
provider_instance_id: string;
|
|
334
|
-
run_id: string;
|
|
335
332
|
};
|
|
336
333
|
export type LocalActionLeaseBinding = {
|
|
337
334
|
lease_id: string;
|
|
338
335
|
capability_id: LocalActionProtocolCapabilityId;
|
|
339
336
|
scope: string;
|
|
340
|
-
run_id: string;
|
|
341
337
|
hcp_session_id: string;
|
|
342
338
|
execution_host_id: string;
|
|
343
339
|
provider_instance_id: string;
|
|
@@ -1173,11 +1169,7 @@ export declare const localCapabilityGrantSchema: z.ZodObject<{
|
|
|
1173
1169
|
}, z.core.$strict>;
|
|
1174
1170
|
export declare const localCapabilityLeaseSchema: z.ZodObject<{
|
|
1175
1171
|
lease_id: z.ZodString;
|
|
1176
|
-
org_id: z.ZodString;
|
|
1177
1172
|
actor_id: z.ZodOptional<z.ZodString>;
|
|
1178
|
-
workflow_id: z.ZodString;
|
|
1179
|
-
run_id: z.ZodString;
|
|
1180
|
-
node_id: z.ZodString;
|
|
1181
1173
|
hcp_session_id: z.ZodString;
|
|
1182
1174
|
execution_host_id: z.ZodString;
|
|
1183
1175
|
provider_instance_id: z.ZodString;
|
|
@@ -1295,11 +1287,7 @@ export declare const hcpSessionStartPayloadSchema: z.ZodObject<{
|
|
|
1295
1287
|
}, z.core.$strict>>;
|
|
1296
1288
|
local_capability_lease: z.ZodOptional<z.ZodObject<{
|
|
1297
1289
|
lease_id: z.ZodString;
|
|
1298
|
-
org_id: z.ZodString;
|
|
1299
1290
|
actor_id: z.ZodOptional<z.ZodString>;
|
|
1300
|
-
workflow_id: z.ZodString;
|
|
1301
|
-
run_id: z.ZodString;
|
|
1302
|
-
node_id: z.ZodString;
|
|
1303
1291
|
hcp_session_id: z.ZodString;
|
|
1304
1292
|
execution_host_id: z.ZodString;
|
|
1305
1293
|
provider_instance_id: z.ZodString;
|
|
@@ -1411,7 +1399,6 @@ export declare const localFilesystemReadRequestPayloadSchema: z.ZodObject<{
|
|
|
1411
1399
|
action: z.ZodLiteral<"local.filesystem.read">;
|
|
1412
1400
|
lease: z.ZodObject<{
|
|
1413
1401
|
lease_id: z.ZodString;
|
|
1414
|
-
run_id: z.ZodString;
|
|
1415
1402
|
hcp_session_id: z.ZodString;
|
|
1416
1403
|
execution_host_id: z.ZodString;
|
|
1417
1404
|
provider_instance_id: z.ZodString;
|
|
@@ -1446,7 +1433,6 @@ export declare const localFilesystemReadRequestPayloadSchema: z.ZodObject<{
|
|
|
1446
1433
|
turn_id: z.ZodString;
|
|
1447
1434
|
workspace_id: z.ZodString;
|
|
1448
1435
|
provider_instance_id: z.ZodString;
|
|
1449
|
-
run_id: z.ZodString;
|
|
1450
1436
|
}, z.core.$strict>;
|
|
1451
1437
|
sandbox: z.ZodObject<{
|
|
1452
1438
|
mode: z.ZodEnum<{
|
|
@@ -1486,7 +1472,6 @@ export declare const localFilesystemListRequestPayloadSchema: z.ZodObject<{
|
|
|
1486
1472
|
action: z.ZodLiteral<"local.filesystem.list">;
|
|
1487
1473
|
lease: z.ZodObject<{
|
|
1488
1474
|
lease_id: z.ZodString;
|
|
1489
|
-
run_id: z.ZodString;
|
|
1490
1475
|
hcp_session_id: z.ZodString;
|
|
1491
1476
|
execution_host_id: z.ZodString;
|
|
1492
1477
|
provider_instance_id: z.ZodString;
|
|
@@ -1516,7 +1501,6 @@ export declare const localFilesystemListRequestPayloadSchema: z.ZodObject<{
|
|
|
1516
1501
|
turn_id: z.ZodString;
|
|
1517
1502
|
workspace_id: z.ZodString;
|
|
1518
1503
|
provider_instance_id: z.ZodString;
|
|
1519
|
-
run_id: z.ZodString;
|
|
1520
1504
|
}, z.core.$strict>;
|
|
1521
1505
|
sandbox: z.ZodObject<{
|
|
1522
1506
|
mode: z.ZodEnum<{
|
|
@@ -1556,7 +1540,6 @@ export declare const localFilesystemWriteRequestPayloadSchema: z.ZodObject<{
|
|
|
1556
1540
|
action: z.ZodLiteral<"local.filesystem.write">;
|
|
1557
1541
|
lease: z.ZodObject<{
|
|
1558
1542
|
lease_id: z.ZodString;
|
|
1559
|
-
run_id: z.ZodString;
|
|
1560
1543
|
hcp_session_id: z.ZodString;
|
|
1561
1544
|
execution_host_id: z.ZodString;
|
|
1562
1545
|
provider_instance_id: z.ZodString;
|
|
@@ -1586,7 +1569,6 @@ export declare const localFilesystemWriteRequestPayloadSchema: z.ZodObject<{
|
|
|
1586
1569
|
turn_id: z.ZodString;
|
|
1587
1570
|
workspace_id: z.ZodString;
|
|
1588
1571
|
provider_instance_id: z.ZodString;
|
|
1589
|
-
run_id: z.ZodString;
|
|
1590
1572
|
}, z.core.$strict>;
|
|
1591
1573
|
sandbox: z.ZodObject<{
|
|
1592
1574
|
mode: z.ZodEnum<{
|
|
@@ -1634,7 +1616,6 @@ export declare const localFilesystemPatchRequestPayloadSchema: z.ZodObject<{
|
|
|
1634
1616
|
action: z.ZodLiteral<"local.filesystem.patch">;
|
|
1635
1617
|
lease: z.ZodObject<{
|
|
1636
1618
|
lease_id: z.ZodString;
|
|
1637
|
-
run_id: z.ZodString;
|
|
1638
1619
|
hcp_session_id: z.ZodString;
|
|
1639
1620
|
execution_host_id: z.ZodString;
|
|
1640
1621
|
provider_instance_id: z.ZodString;
|
|
@@ -1659,7 +1640,6 @@ export declare const localFilesystemPatchRequestPayloadSchema: z.ZodObject<{
|
|
|
1659
1640
|
turn_id: z.ZodString;
|
|
1660
1641
|
workspace_id: z.ZodString;
|
|
1661
1642
|
provider_instance_id: z.ZodString;
|
|
1662
|
-
run_id: z.ZodString;
|
|
1663
1643
|
}, z.core.$strict>;
|
|
1664
1644
|
sandbox: z.ZodObject<{
|
|
1665
1645
|
mode: z.ZodEnum<{
|
|
@@ -1707,7 +1687,6 @@ export declare const localGitStatusRequestPayloadSchema: z.ZodObject<{
|
|
|
1707
1687
|
action: z.ZodLiteral<"local.git.status">;
|
|
1708
1688
|
lease: z.ZodObject<{
|
|
1709
1689
|
lease_id: z.ZodString;
|
|
1710
|
-
run_id: z.ZodString;
|
|
1711
1690
|
hcp_session_id: z.ZodString;
|
|
1712
1691
|
execution_host_id: z.ZodString;
|
|
1713
1692
|
provider_instance_id: z.ZodString;
|
|
@@ -1738,7 +1717,6 @@ export declare const localGitStatusRequestPayloadSchema: z.ZodObject<{
|
|
|
1738
1717
|
turn_id: z.ZodString;
|
|
1739
1718
|
workspace_id: z.ZodString;
|
|
1740
1719
|
provider_instance_id: z.ZodString;
|
|
1741
|
-
run_id: z.ZodString;
|
|
1742
1720
|
}, z.core.$strict>;
|
|
1743
1721
|
sandbox: z.ZodObject<{
|
|
1744
1722
|
mode: z.ZodEnum<{
|
|
@@ -1778,7 +1756,6 @@ export declare const localGitDiffRequestPayloadSchema: z.ZodObject<{
|
|
|
1778
1756
|
action: z.ZodLiteral<"local.git.diff">;
|
|
1779
1757
|
lease: z.ZodObject<{
|
|
1780
1758
|
lease_id: z.ZodString;
|
|
1781
|
-
run_id: z.ZodString;
|
|
1782
1759
|
hcp_session_id: z.ZodString;
|
|
1783
1760
|
execution_host_id: z.ZodString;
|
|
1784
1761
|
provider_instance_id: z.ZodString;
|
|
@@ -1807,7 +1784,6 @@ export declare const localGitDiffRequestPayloadSchema: z.ZodObject<{
|
|
|
1807
1784
|
turn_id: z.ZodString;
|
|
1808
1785
|
workspace_id: z.ZodString;
|
|
1809
1786
|
provider_instance_id: z.ZodString;
|
|
1810
|
-
run_id: z.ZodString;
|
|
1811
1787
|
}, z.core.$strict>;
|
|
1812
1788
|
sandbox: z.ZodObject<{
|
|
1813
1789
|
mode: z.ZodEnum<{
|
|
@@ -1847,7 +1823,6 @@ export declare const localShellExecRequestPayloadSchema: z.ZodObject<{
|
|
|
1847
1823
|
action: z.ZodLiteral<"local.shell.exec">;
|
|
1848
1824
|
lease: z.ZodObject<{
|
|
1849
1825
|
lease_id: z.ZodString;
|
|
1850
|
-
run_id: z.ZodString;
|
|
1851
1826
|
hcp_session_id: z.ZodString;
|
|
1852
1827
|
execution_host_id: z.ZodString;
|
|
1853
1828
|
provider_instance_id: z.ZodString;
|
|
@@ -1890,7 +1865,6 @@ export declare const localShellExecRequestPayloadSchema: z.ZodObject<{
|
|
|
1890
1865
|
turn_id: z.ZodString;
|
|
1891
1866
|
workspace_id: z.ZodString;
|
|
1892
1867
|
provider_instance_id: z.ZodString;
|
|
1893
|
-
run_id: z.ZodString;
|
|
1894
1868
|
}, z.core.$strict>;
|
|
1895
1869
|
sandbox: z.ZodObject<{
|
|
1896
1870
|
mode: z.ZodEnum<{
|
|
@@ -1917,7 +1891,6 @@ export declare const localDevServerStartRequestPayloadSchema: z.ZodObject<{
|
|
|
1917
1891
|
action: z.ZodLiteral<"local.dev_server.start">;
|
|
1918
1892
|
lease: z.ZodObject<{
|
|
1919
1893
|
lease_id: z.ZodString;
|
|
1920
|
-
run_id: z.ZodString;
|
|
1921
1894
|
hcp_session_id: z.ZodString;
|
|
1922
1895
|
execution_host_id: z.ZodString;
|
|
1923
1896
|
provider_instance_id: z.ZodString;
|
|
@@ -1961,7 +1934,6 @@ export declare const localDevServerStartRequestPayloadSchema: z.ZodObject<{
|
|
|
1961
1934
|
turn_id: z.ZodString;
|
|
1962
1935
|
workspace_id: z.ZodString;
|
|
1963
1936
|
provider_instance_id: z.ZodString;
|
|
1964
|
-
run_id: z.ZodString;
|
|
1965
1937
|
}, z.core.$strict>;
|
|
1966
1938
|
sandbox: z.ZodObject<{
|
|
1967
1939
|
mode: z.ZodEnum<{
|
|
@@ -1996,7 +1968,6 @@ export declare const localDevServerStopRequestPayloadSchema: z.ZodObject<{
|
|
|
1996
1968
|
action: z.ZodLiteral<"local.dev_server.stop">;
|
|
1997
1969
|
lease: z.ZodObject<{
|
|
1998
1970
|
lease_id: z.ZodString;
|
|
1999
|
-
run_id: z.ZodString;
|
|
2000
1971
|
hcp_session_id: z.ZodString;
|
|
2001
1972
|
execution_host_id: z.ZodString;
|
|
2002
1973
|
provider_instance_id: z.ZodString;
|
|
@@ -2020,7 +1991,6 @@ export declare const localDevServerStopRequestPayloadSchema: z.ZodObject<{
|
|
|
2020
1991
|
turn_id: z.ZodString;
|
|
2021
1992
|
workspace_id: z.ZodString;
|
|
2022
1993
|
provider_instance_id: z.ZodString;
|
|
2023
|
-
run_id: z.ZodString;
|
|
2024
1994
|
}, z.core.$strict>;
|
|
2025
1995
|
sandbox: z.ZodObject<{
|
|
2026
1996
|
mode: z.ZodEnum<{
|
|
@@ -2068,7 +2038,6 @@ export declare const localActionRequestPayloadSchema: z.ZodDiscriminatedUnion<[z
|
|
|
2068
2038
|
action: z.ZodLiteral<"local.filesystem.read">;
|
|
2069
2039
|
lease: z.ZodObject<{
|
|
2070
2040
|
lease_id: z.ZodString;
|
|
2071
|
-
run_id: z.ZodString;
|
|
2072
2041
|
hcp_session_id: z.ZodString;
|
|
2073
2042
|
execution_host_id: z.ZodString;
|
|
2074
2043
|
provider_instance_id: z.ZodString;
|
|
@@ -2103,7 +2072,6 @@ export declare const localActionRequestPayloadSchema: z.ZodDiscriminatedUnion<[z
|
|
|
2103
2072
|
turn_id: z.ZodString;
|
|
2104
2073
|
workspace_id: z.ZodString;
|
|
2105
2074
|
provider_instance_id: z.ZodString;
|
|
2106
|
-
run_id: z.ZodString;
|
|
2107
2075
|
}, z.core.$strict>;
|
|
2108
2076
|
sandbox: z.ZodObject<{
|
|
2109
2077
|
mode: z.ZodEnum<{
|
|
@@ -2142,7 +2110,6 @@ export declare const localActionRequestPayloadSchema: z.ZodDiscriminatedUnion<[z
|
|
|
2142
2110
|
action: z.ZodLiteral<"local.filesystem.list">;
|
|
2143
2111
|
lease: z.ZodObject<{
|
|
2144
2112
|
lease_id: z.ZodString;
|
|
2145
|
-
run_id: z.ZodString;
|
|
2146
2113
|
hcp_session_id: z.ZodString;
|
|
2147
2114
|
execution_host_id: z.ZodString;
|
|
2148
2115
|
provider_instance_id: z.ZodString;
|
|
@@ -2172,7 +2139,6 @@ export declare const localActionRequestPayloadSchema: z.ZodDiscriminatedUnion<[z
|
|
|
2172
2139
|
turn_id: z.ZodString;
|
|
2173
2140
|
workspace_id: z.ZodString;
|
|
2174
2141
|
provider_instance_id: z.ZodString;
|
|
2175
|
-
run_id: z.ZodString;
|
|
2176
2142
|
}, z.core.$strict>;
|
|
2177
2143
|
sandbox: z.ZodObject<{
|
|
2178
2144
|
mode: z.ZodEnum<{
|
|
@@ -2211,7 +2177,6 @@ export declare const localActionRequestPayloadSchema: z.ZodDiscriminatedUnion<[z
|
|
|
2211
2177
|
action: z.ZodLiteral<"local.filesystem.write">;
|
|
2212
2178
|
lease: z.ZodObject<{
|
|
2213
2179
|
lease_id: z.ZodString;
|
|
2214
|
-
run_id: z.ZodString;
|
|
2215
2180
|
hcp_session_id: z.ZodString;
|
|
2216
2181
|
execution_host_id: z.ZodString;
|
|
2217
2182
|
provider_instance_id: z.ZodString;
|
|
@@ -2241,7 +2206,6 @@ export declare const localActionRequestPayloadSchema: z.ZodDiscriminatedUnion<[z
|
|
|
2241
2206
|
turn_id: z.ZodString;
|
|
2242
2207
|
workspace_id: z.ZodString;
|
|
2243
2208
|
provider_instance_id: z.ZodString;
|
|
2244
|
-
run_id: z.ZodString;
|
|
2245
2209
|
}, z.core.$strict>;
|
|
2246
2210
|
sandbox: z.ZodObject<{
|
|
2247
2211
|
mode: z.ZodEnum<{
|
|
@@ -2288,7 +2252,6 @@ export declare const localActionRequestPayloadSchema: z.ZodDiscriminatedUnion<[z
|
|
|
2288
2252
|
action: z.ZodLiteral<"local.filesystem.patch">;
|
|
2289
2253
|
lease: z.ZodObject<{
|
|
2290
2254
|
lease_id: z.ZodString;
|
|
2291
|
-
run_id: z.ZodString;
|
|
2292
2255
|
hcp_session_id: z.ZodString;
|
|
2293
2256
|
execution_host_id: z.ZodString;
|
|
2294
2257
|
provider_instance_id: z.ZodString;
|
|
@@ -2313,7 +2276,6 @@ export declare const localActionRequestPayloadSchema: z.ZodDiscriminatedUnion<[z
|
|
|
2313
2276
|
turn_id: z.ZodString;
|
|
2314
2277
|
workspace_id: z.ZodString;
|
|
2315
2278
|
provider_instance_id: z.ZodString;
|
|
2316
|
-
run_id: z.ZodString;
|
|
2317
2279
|
}, z.core.$strict>;
|
|
2318
2280
|
sandbox: z.ZodObject<{
|
|
2319
2281
|
mode: z.ZodEnum<{
|
|
@@ -2360,7 +2322,6 @@ export declare const localActionRequestPayloadSchema: z.ZodDiscriminatedUnion<[z
|
|
|
2360
2322
|
action: z.ZodLiteral<"local.git.status">;
|
|
2361
2323
|
lease: z.ZodObject<{
|
|
2362
2324
|
lease_id: z.ZodString;
|
|
2363
|
-
run_id: z.ZodString;
|
|
2364
2325
|
hcp_session_id: z.ZodString;
|
|
2365
2326
|
execution_host_id: z.ZodString;
|
|
2366
2327
|
provider_instance_id: z.ZodString;
|
|
@@ -2391,7 +2352,6 @@ export declare const localActionRequestPayloadSchema: z.ZodDiscriminatedUnion<[z
|
|
|
2391
2352
|
turn_id: z.ZodString;
|
|
2392
2353
|
workspace_id: z.ZodString;
|
|
2393
2354
|
provider_instance_id: z.ZodString;
|
|
2394
|
-
run_id: z.ZodString;
|
|
2395
2355
|
}, z.core.$strict>;
|
|
2396
2356
|
sandbox: z.ZodObject<{
|
|
2397
2357
|
mode: z.ZodEnum<{
|
|
@@ -2430,7 +2390,6 @@ export declare const localActionRequestPayloadSchema: z.ZodDiscriminatedUnion<[z
|
|
|
2430
2390
|
action: z.ZodLiteral<"local.git.diff">;
|
|
2431
2391
|
lease: z.ZodObject<{
|
|
2432
2392
|
lease_id: z.ZodString;
|
|
2433
|
-
run_id: z.ZodString;
|
|
2434
2393
|
hcp_session_id: z.ZodString;
|
|
2435
2394
|
execution_host_id: z.ZodString;
|
|
2436
2395
|
provider_instance_id: z.ZodString;
|
|
@@ -2459,7 +2418,6 @@ export declare const localActionRequestPayloadSchema: z.ZodDiscriminatedUnion<[z
|
|
|
2459
2418
|
turn_id: z.ZodString;
|
|
2460
2419
|
workspace_id: z.ZodString;
|
|
2461
2420
|
provider_instance_id: z.ZodString;
|
|
2462
|
-
run_id: z.ZodString;
|
|
2463
2421
|
}, z.core.$strict>;
|
|
2464
2422
|
sandbox: z.ZodObject<{
|
|
2465
2423
|
mode: z.ZodEnum<{
|
|
@@ -2498,7 +2456,6 @@ export declare const localActionRequestPayloadSchema: z.ZodDiscriminatedUnion<[z
|
|
|
2498
2456
|
action: z.ZodLiteral<"local.shell.exec">;
|
|
2499
2457
|
lease: z.ZodObject<{
|
|
2500
2458
|
lease_id: z.ZodString;
|
|
2501
|
-
run_id: z.ZodString;
|
|
2502
2459
|
hcp_session_id: z.ZodString;
|
|
2503
2460
|
execution_host_id: z.ZodString;
|
|
2504
2461
|
provider_instance_id: z.ZodString;
|
|
@@ -2541,7 +2498,6 @@ export declare const localActionRequestPayloadSchema: z.ZodDiscriminatedUnion<[z
|
|
|
2541
2498
|
turn_id: z.ZodString;
|
|
2542
2499
|
workspace_id: z.ZodString;
|
|
2543
2500
|
provider_instance_id: z.ZodString;
|
|
2544
|
-
run_id: z.ZodString;
|
|
2545
2501
|
}, z.core.$strict>;
|
|
2546
2502
|
sandbox: z.ZodObject<{
|
|
2547
2503
|
mode: z.ZodEnum<{
|
|
@@ -2567,7 +2523,6 @@ export declare const localActionRequestPayloadSchema: z.ZodDiscriminatedUnion<[z
|
|
|
2567
2523
|
action: z.ZodLiteral<"local.dev_server.start">;
|
|
2568
2524
|
lease: z.ZodObject<{
|
|
2569
2525
|
lease_id: z.ZodString;
|
|
2570
|
-
run_id: z.ZodString;
|
|
2571
2526
|
hcp_session_id: z.ZodString;
|
|
2572
2527
|
execution_host_id: z.ZodString;
|
|
2573
2528
|
provider_instance_id: z.ZodString;
|
|
@@ -2611,7 +2566,6 @@ export declare const localActionRequestPayloadSchema: z.ZodDiscriminatedUnion<[z
|
|
|
2611
2566
|
turn_id: z.ZodString;
|
|
2612
2567
|
workspace_id: z.ZodString;
|
|
2613
2568
|
provider_instance_id: z.ZodString;
|
|
2614
|
-
run_id: z.ZodString;
|
|
2615
2569
|
}, z.core.$strict>;
|
|
2616
2570
|
sandbox: z.ZodObject<{
|
|
2617
2571
|
mode: z.ZodEnum<{
|
|
@@ -2645,7 +2599,6 @@ export declare const localActionRequestPayloadSchema: z.ZodDiscriminatedUnion<[z
|
|
|
2645
2599
|
action: z.ZodLiteral<"local.dev_server.stop">;
|
|
2646
2600
|
lease: z.ZodObject<{
|
|
2647
2601
|
lease_id: z.ZodString;
|
|
2648
|
-
run_id: z.ZodString;
|
|
2649
2602
|
hcp_session_id: z.ZodString;
|
|
2650
2603
|
execution_host_id: z.ZodString;
|
|
2651
2604
|
provider_instance_id: z.ZodString;
|
|
@@ -2669,7 +2622,6 @@ export declare const localActionRequestPayloadSchema: z.ZodDiscriminatedUnion<[z
|
|
|
2669
2622
|
turn_id: z.ZodString;
|
|
2670
2623
|
workspace_id: z.ZodString;
|
|
2671
2624
|
provider_instance_id: z.ZodString;
|
|
2672
|
-
run_id: z.ZodString;
|
|
2673
2625
|
}, z.core.$strict>;
|
|
2674
2626
|
sandbox: z.ZodObject<{
|
|
2675
2627
|
mode: z.ZodEnum<{
|
|
@@ -2717,7 +2669,6 @@ export declare const localActionResponsePayloadSchema: z.ZodDiscriminatedUnion<[
|
|
|
2717
2669
|
action: z.ZodLiteral<"local.filesystem.read">;
|
|
2718
2670
|
lease: z.ZodObject<{
|
|
2719
2671
|
lease_id: z.ZodString;
|
|
2720
|
-
run_id: z.ZodString;
|
|
2721
2672
|
hcp_session_id: z.ZodString;
|
|
2722
2673
|
execution_host_id: z.ZodString;
|
|
2723
2674
|
provider_instance_id: z.ZodString;
|
|
@@ -2744,7 +2695,6 @@ export declare const localActionResponsePayloadSchema: z.ZodDiscriminatedUnion<[
|
|
|
2744
2695
|
turn_id: z.ZodString;
|
|
2745
2696
|
workspace_id: z.ZodString;
|
|
2746
2697
|
provider_instance_id: z.ZodString;
|
|
2747
|
-
run_id: z.ZodString;
|
|
2748
2698
|
}, z.core.$strict>;
|
|
2749
2699
|
audit_events: z.ZodObject<{
|
|
2750
2700
|
started: z.ZodOptional<z.ZodObject<{
|
|
@@ -2760,7 +2710,6 @@ export declare const localActionResponsePayloadSchema: z.ZodDiscriminatedUnion<[
|
|
|
2760
2710
|
action: z.ZodLiteral<"local.filesystem.list">;
|
|
2761
2711
|
lease: z.ZodObject<{
|
|
2762
2712
|
lease_id: z.ZodString;
|
|
2763
|
-
run_id: z.ZodString;
|
|
2764
2713
|
hcp_session_id: z.ZodString;
|
|
2765
2714
|
execution_host_id: z.ZodString;
|
|
2766
2715
|
provider_instance_id: z.ZodString;
|
|
@@ -2789,7 +2738,6 @@ export declare const localActionResponsePayloadSchema: z.ZodDiscriminatedUnion<[
|
|
|
2789
2738
|
turn_id: z.ZodString;
|
|
2790
2739
|
workspace_id: z.ZodString;
|
|
2791
2740
|
provider_instance_id: z.ZodString;
|
|
2792
|
-
run_id: z.ZodString;
|
|
2793
2741
|
}, z.core.$strict>;
|
|
2794
2742
|
audit_events: z.ZodObject<{
|
|
2795
2743
|
started: z.ZodOptional<z.ZodObject<{
|
|
@@ -2805,7 +2753,6 @@ export declare const localActionResponsePayloadSchema: z.ZodDiscriminatedUnion<[
|
|
|
2805
2753
|
action: z.ZodLiteral<"local.filesystem.write">;
|
|
2806
2754
|
lease: z.ZodObject<{
|
|
2807
2755
|
lease_id: z.ZodString;
|
|
2808
|
-
run_id: z.ZodString;
|
|
2809
2756
|
hcp_session_id: z.ZodString;
|
|
2810
2757
|
execution_host_id: z.ZodString;
|
|
2811
2758
|
provider_instance_id: z.ZodString;
|
|
@@ -2827,7 +2774,6 @@ export declare const localActionResponsePayloadSchema: z.ZodDiscriminatedUnion<[
|
|
|
2827
2774
|
turn_id: z.ZodString;
|
|
2828
2775
|
workspace_id: z.ZodString;
|
|
2829
2776
|
provider_instance_id: z.ZodString;
|
|
2830
|
-
run_id: z.ZodString;
|
|
2831
2777
|
}, z.core.$strict>;
|
|
2832
2778
|
audit_events: z.ZodObject<{
|
|
2833
2779
|
started: z.ZodOptional<z.ZodObject<{
|
|
@@ -2843,7 +2789,6 @@ export declare const localActionResponsePayloadSchema: z.ZodDiscriminatedUnion<[
|
|
|
2843
2789
|
action: z.ZodLiteral<"local.filesystem.patch">;
|
|
2844
2790
|
lease: z.ZodObject<{
|
|
2845
2791
|
lease_id: z.ZodString;
|
|
2846
|
-
run_id: z.ZodString;
|
|
2847
2792
|
hcp_session_id: z.ZodString;
|
|
2848
2793
|
execution_host_id: z.ZodString;
|
|
2849
2794
|
provider_instance_id: z.ZodString;
|
|
@@ -2865,7 +2810,6 @@ export declare const localActionResponsePayloadSchema: z.ZodDiscriminatedUnion<[
|
|
|
2865
2810
|
turn_id: z.ZodString;
|
|
2866
2811
|
workspace_id: z.ZodString;
|
|
2867
2812
|
provider_instance_id: z.ZodString;
|
|
2868
|
-
run_id: z.ZodString;
|
|
2869
2813
|
}, z.core.$strict>;
|
|
2870
2814
|
audit_events: z.ZodObject<{
|
|
2871
2815
|
started: z.ZodOptional<z.ZodObject<{
|
|
@@ -2881,7 +2825,6 @@ export declare const localActionResponsePayloadSchema: z.ZodDiscriminatedUnion<[
|
|
|
2881
2825
|
action: z.ZodLiteral<"local.git.status">;
|
|
2882
2826
|
lease: z.ZodObject<{
|
|
2883
2827
|
lease_id: z.ZodString;
|
|
2884
|
-
run_id: z.ZodString;
|
|
2885
2828
|
hcp_session_id: z.ZodString;
|
|
2886
2829
|
execution_host_id: z.ZodString;
|
|
2887
2830
|
provider_instance_id: z.ZodString;
|
|
@@ -2903,7 +2846,6 @@ export declare const localActionResponsePayloadSchema: z.ZodDiscriminatedUnion<[
|
|
|
2903
2846
|
turn_id: z.ZodString;
|
|
2904
2847
|
workspace_id: z.ZodString;
|
|
2905
2848
|
provider_instance_id: z.ZodString;
|
|
2906
|
-
run_id: z.ZodString;
|
|
2907
2849
|
}, z.core.$strict>;
|
|
2908
2850
|
audit_events: z.ZodObject<{
|
|
2909
2851
|
started: z.ZodOptional<z.ZodObject<{
|
|
@@ -2919,7 +2861,6 @@ export declare const localActionResponsePayloadSchema: z.ZodDiscriminatedUnion<[
|
|
|
2919
2861
|
action: z.ZodLiteral<"local.git.diff">;
|
|
2920
2862
|
lease: z.ZodObject<{
|
|
2921
2863
|
lease_id: z.ZodString;
|
|
2922
|
-
run_id: z.ZodString;
|
|
2923
2864
|
hcp_session_id: z.ZodString;
|
|
2924
2865
|
execution_host_id: z.ZodString;
|
|
2925
2866
|
provider_instance_id: z.ZodString;
|
|
@@ -2940,7 +2881,6 @@ export declare const localActionResponsePayloadSchema: z.ZodDiscriminatedUnion<[
|
|
|
2940
2881
|
turn_id: z.ZodString;
|
|
2941
2882
|
workspace_id: z.ZodString;
|
|
2942
2883
|
provider_instance_id: z.ZodString;
|
|
2943
|
-
run_id: z.ZodString;
|
|
2944
2884
|
}, z.core.$strict>;
|
|
2945
2885
|
audit_events: z.ZodObject<{
|
|
2946
2886
|
started: z.ZodOptional<z.ZodObject<{
|
|
@@ -2956,7 +2896,6 @@ export declare const localActionResponsePayloadSchema: z.ZodDiscriminatedUnion<[
|
|
|
2956
2896
|
action: z.ZodLiteral<"local.shell.exec">;
|
|
2957
2897
|
lease: z.ZodObject<{
|
|
2958
2898
|
lease_id: z.ZodString;
|
|
2959
|
-
run_id: z.ZodString;
|
|
2960
2899
|
hcp_session_id: z.ZodString;
|
|
2961
2900
|
execution_host_id: z.ZodString;
|
|
2962
2901
|
provider_instance_id: z.ZodString;
|
|
@@ -2985,7 +2924,6 @@ export declare const localActionResponsePayloadSchema: z.ZodDiscriminatedUnion<[
|
|
|
2985
2924
|
turn_id: z.ZodString;
|
|
2986
2925
|
workspace_id: z.ZodString;
|
|
2987
2926
|
provider_instance_id: z.ZodString;
|
|
2988
|
-
run_id: z.ZodString;
|
|
2989
2927
|
}, z.core.$strict>;
|
|
2990
2928
|
audit_events: z.ZodObject<{
|
|
2991
2929
|
started: z.ZodOptional<z.ZodObject<{
|
|
@@ -3001,7 +2939,6 @@ export declare const localActionResponsePayloadSchema: z.ZodDiscriminatedUnion<[
|
|
|
3001
2939
|
action: z.ZodLiteral<"local.dev_server.start">;
|
|
3002
2940
|
lease: z.ZodObject<{
|
|
3003
2941
|
lease_id: z.ZodString;
|
|
3004
|
-
run_id: z.ZodString;
|
|
3005
2942
|
hcp_session_id: z.ZodString;
|
|
3006
2943
|
execution_host_id: z.ZodString;
|
|
3007
2944
|
provider_instance_id: z.ZodString;
|
|
@@ -3027,7 +2964,6 @@ export declare const localActionResponsePayloadSchema: z.ZodDiscriminatedUnion<[
|
|
|
3027
2964
|
turn_id: z.ZodString;
|
|
3028
2965
|
workspace_id: z.ZodString;
|
|
3029
2966
|
provider_instance_id: z.ZodString;
|
|
3030
|
-
run_id: z.ZodString;
|
|
3031
2967
|
}, z.core.$strict>;
|
|
3032
2968
|
audit_events: z.ZodObject<{
|
|
3033
2969
|
started: z.ZodOptional<z.ZodObject<{
|
|
@@ -3043,7 +2979,6 @@ export declare const localActionResponsePayloadSchema: z.ZodDiscriminatedUnion<[
|
|
|
3043
2979
|
action: z.ZodLiteral<"local.dev_server.stop">;
|
|
3044
2980
|
lease: z.ZodObject<{
|
|
3045
2981
|
lease_id: z.ZodString;
|
|
3046
|
-
run_id: z.ZodString;
|
|
3047
2982
|
hcp_session_id: z.ZodString;
|
|
3048
2983
|
execution_host_id: z.ZodString;
|
|
3049
2984
|
provider_instance_id: z.ZodString;
|
|
@@ -3064,7 +2999,6 @@ export declare const localActionResponsePayloadSchema: z.ZodDiscriminatedUnion<[
|
|
|
3064
2999
|
turn_id: z.ZodString;
|
|
3065
3000
|
workspace_id: z.ZodString;
|
|
3066
3001
|
provider_instance_id: z.ZodString;
|
|
3067
|
-
run_id: z.ZodString;
|
|
3068
3002
|
}, z.core.$strict>;
|
|
3069
3003
|
audit_events: z.ZodObject<{
|
|
3070
3004
|
started: z.ZodOptional<z.ZodObject<{
|
|
@@ -3128,7 +3062,6 @@ export declare const localActionErrorPayloadSchema: z.ZodObject<{
|
|
|
3128
3062
|
turn_id: z.ZodString;
|
|
3129
3063
|
workspace_id: z.ZodString;
|
|
3130
3064
|
provider_instance_id: z.ZodString;
|
|
3131
|
-
run_id: z.ZodString;
|
|
3132
3065
|
}, z.core.$strict>;
|
|
3133
3066
|
lease: z.ZodOptional<z.ZodObject<{
|
|
3134
3067
|
lease_id: z.ZodString;
|
|
@@ -3139,7 +3072,6 @@ export declare const localActionErrorPayloadSchema: z.ZodObject<{
|
|
|
3139
3072
|
dev_server: "dev_server";
|
|
3140
3073
|
}>;
|
|
3141
3074
|
scope: z.ZodString;
|
|
3142
|
-
run_id: z.ZodString;
|
|
3143
3075
|
hcp_session_id: z.ZodString;
|
|
3144
3076
|
execution_host_id: z.ZodString;
|
|
3145
3077
|
provider_instance_id: z.ZodString;
|
|
@@ -3640,11 +3572,7 @@ export declare const hcpSessionStartMessageSchema: z.ZodObject<{
|
|
|
3640
3572
|
}, z.core.$strict>>;
|
|
3641
3573
|
local_capability_lease: z.ZodOptional<z.ZodObject<{
|
|
3642
3574
|
lease_id: z.ZodString;
|
|
3643
|
-
org_id: z.ZodString;
|
|
3644
3575
|
actor_id: z.ZodOptional<z.ZodString>;
|
|
3645
|
-
workflow_id: z.ZodString;
|
|
3646
|
-
run_id: z.ZodString;
|
|
3647
|
-
node_id: z.ZodString;
|
|
3648
3576
|
hcp_session_id: z.ZodString;
|
|
3649
3577
|
execution_host_id: z.ZodString;
|
|
3650
3578
|
provider_instance_id: z.ZodString;
|
|
@@ -3882,7 +3810,6 @@ export declare const localActionRequestMessageSchema: z.ZodObject<{
|
|
|
3882
3810
|
action: z.ZodLiteral<"local.filesystem.read">;
|
|
3883
3811
|
lease: z.ZodObject<{
|
|
3884
3812
|
lease_id: z.ZodString;
|
|
3885
|
-
run_id: z.ZodString;
|
|
3886
3813
|
hcp_session_id: z.ZodString;
|
|
3887
3814
|
execution_host_id: z.ZodString;
|
|
3888
3815
|
provider_instance_id: z.ZodString;
|
|
@@ -3917,7 +3844,6 @@ export declare const localActionRequestMessageSchema: z.ZodObject<{
|
|
|
3917
3844
|
turn_id: z.ZodString;
|
|
3918
3845
|
workspace_id: z.ZodString;
|
|
3919
3846
|
provider_instance_id: z.ZodString;
|
|
3920
|
-
run_id: z.ZodString;
|
|
3921
3847
|
}, z.core.$strict>;
|
|
3922
3848
|
sandbox: z.ZodObject<{
|
|
3923
3849
|
mode: z.ZodEnum<{
|
|
@@ -3956,7 +3882,6 @@ export declare const localActionRequestMessageSchema: z.ZodObject<{
|
|
|
3956
3882
|
action: z.ZodLiteral<"local.filesystem.list">;
|
|
3957
3883
|
lease: z.ZodObject<{
|
|
3958
3884
|
lease_id: z.ZodString;
|
|
3959
|
-
run_id: z.ZodString;
|
|
3960
3885
|
hcp_session_id: z.ZodString;
|
|
3961
3886
|
execution_host_id: z.ZodString;
|
|
3962
3887
|
provider_instance_id: z.ZodString;
|
|
@@ -3986,7 +3911,6 @@ export declare const localActionRequestMessageSchema: z.ZodObject<{
|
|
|
3986
3911
|
turn_id: z.ZodString;
|
|
3987
3912
|
workspace_id: z.ZodString;
|
|
3988
3913
|
provider_instance_id: z.ZodString;
|
|
3989
|
-
run_id: z.ZodString;
|
|
3990
3914
|
}, z.core.$strict>;
|
|
3991
3915
|
sandbox: z.ZodObject<{
|
|
3992
3916
|
mode: z.ZodEnum<{
|
|
@@ -4025,7 +3949,6 @@ export declare const localActionRequestMessageSchema: z.ZodObject<{
|
|
|
4025
3949
|
action: z.ZodLiteral<"local.filesystem.write">;
|
|
4026
3950
|
lease: z.ZodObject<{
|
|
4027
3951
|
lease_id: z.ZodString;
|
|
4028
|
-
run_id: z.ZodString;
|
|
4029
3952
|
hcp_session_id: z.ZodString;
|
|
4030
3953
|
execution_host_id: z.ZodString;
|
|
4031
3954
|
provider_instance_id: z.ZodString;
|
|
@@ -4055,7 +3978,6 @@ export declare const localActionRequestMessageSchema: z.ZodObject<{
|
|
|
4055
3978
|
turn_id: z.ZodString;
|
|
4056
3979
|
workspace_id: z.ZodString;
|
|
4057
3980
|
provider_instance_id: z.ZodString;
|
|
4058
|
-
run_id: z.ZodString;
|
|
4059
3981
|
}, z.core.$strict>;
|
|
4060
3982
|
sandbox: z.ZodObject<{
|
|
4061
3983
|
mode: z.ZodEnum<{
|
|
@@ -4102,7 +4024,6 @@ export declare const localActionRequestMessageSchema: z.ZodObject<{
|
|
|
4102
4024
|
action: z.ZodLiteral<"local.filesystem.patch">;
|
|
4103
4025
|
lease: z.ZodObject<{
|
|
4104
4026
|
lease_id: z.ZodString;
|
|
4105
|
-
run_id: z.ZodString;
|
|
4106
4027
|
hcp_session_id: z.ZodString;
|
|
4107
4028
|
execution_host_id: z.ZodString;
|
|
4108
4029
|
provider_instance_id: z.ZodString;
|
|
@@ -4127,7 +4048,6 @@ export declare const localActionRequestMessageSchema: z.ZodObject<{
|
|
|
4127
4048
|
turn_id: z.ZodString;
|
|
4128
4049
|
workspace_id: z.ZodString;
|
|
4129
4050
|
provider_instance_id: z.ZodString;
|
|
4130
|
-
run_id: z.ZodString;
|
|
4131
4051
|
}, z.core.$strict>;
|
|
4132
4052
|
sandbox: z.ZodObject<{
|
|
4133
4053
|
mode: z.ZodEnum<{
|
|
@@ -4174,7 +4094,6 @@ export declare const localActionRequestMessageSchema: z.ZodObject<{
|
|
|
4174
4094
|
action: z.ZodLiteral<"local.git.status">;
|
|
4175
4095
|
lease: z.ZodObject<{
|
|
4176
4096
|
lease_id: z.ZodString;
|
|
4177
|
-
run_id: z.ZodString;
|
|
4178
4097
|
hcp_session_id: z.ZodString;
|
|
4179
4098
|
execution_host_id: z.ZodString;
|
|
4180
4099
|
provider_instance_id: z.ZodString;
|
|
@@ -4205,7 +4124,6 @@ export declare const localActionRequestMessageSchema: z.ZodObject<{
|
|
|
4205
4124
|
turn_id: z.ZodString;
|
|
4206
4125
|
workspace_id: z.ZodString;
|
|
4207
4126
|
provider_instance_id: z.ZodString;
|
|
4208
|
-
run_id: z.ZodString;
|
|
4209
4127
|
}, z.core.$strict>;
|
|
4210
4128
|
sandbox: z.ZodObject<{
|
|
4211
4129
|
mode: z.ZodEnum<{
|
|
@@ -4244,7 +4162,6 @@ export declare const localActionRequestMessageSchema: z.ZodObject<{
|
|
|
4244
4162
|
action: z.ZodLiteral<"local.git.diff">;
|
|
4245
4163
|
lease: z.ZodObject<{
|
|
4246
4164
|
lease_id: z.ZodString;
|
|
4247
|
-
run_id: z.ZodString;
|
|
4248
4165
|
hcp_session_id: z.ZodString;
|
|
4249
4166
|
execution_host_id: z.ZodString;
|
|
4250
4167
|
provider_instance_id: z.ZodString;
|
|
@@ -4273,7 +4190,6 @@ export declare const localActionRequestMessageSchema: z.ZodObject<{
|
|
|
4273
4190
|
turn_id: z.ZodString;
|
|
4274
4191
|
workspace_id: z.ZodString;
|
|
4275
4192
|
provider_instance_id: z.ZodString;
|
|
4276
|
-
run_id: z.ZodString;
|
|
4277
4193
|
}, z.core.$strict>;
|
|
4278
4194
|
sandbox: z.ZodObject<{
|
|
4279
4195
|
mode: z.ZodEnum<{
|
|
@@ -4312,7 +4228,6 @@ export declare const localActionRequestMessageSchema: z.ZodObject<{
|
|
|
4312
4228
|
action: z.ZodLiteral<"local.shell.exec">;
|
|
4313
4229
|
lease: z.ZodObject<{
|
|
4314
4230
|
lease_id: z.ZodString;
|
|
4315
|
-
run_id: z.ZodString;
|
|
4316
4231
|
hcp_session_id: z.ZodString;
|
|
4317
4232
|
execution_host_id: z.ZodString;
|
|
4318
4233
|
provider_instance_id: z.ZodString;
|
|
@@ -4355,7 +4270,6 @@ export declare const localActionRequestMessageSchema: z.ZodObject<{
|
|
|
4355
4270
|
turn_id: z.ZodString;
|
|
4356
4271
|
workspace_id: z.ZodString;
|
|
4357
4272
|
provider_instance_id: z.ZodString;
|
|
4358
|
-
run_id: z.ZodString;
|
|
4359
4273
|
}, z.core.$strict>;
|
|
4360
4274
|
sandbox: z.ZodObject<{
|
|
4361
4275
|
mode: z.ZodEnum<{
|
|
@@ -4381,7 +4295,6 @@ export declare const localActionRequestMessageSchema: z.ZodObject<{
|
|
|
4381
4295
|
action: z.ZodLiteral<"local.dev_server.start">;
|
|
4382
4296
|
lease: z.ZodObject<{
|
|
4383
4297
|
lease_id: z.ZodString;
|
|
4384
|
-
run_id: z.ZodString;
|
|
4385
4298
|
hcp_session_id: z.ZodString;
|
|
4386
4299
|
execution_host_id: z.ZodString;
|
|
4387
4300
|
provider_instance_id: z.ZodString;
|
|
@@ -4425,7 +4338,6 @@ export declare const localActionRequestMessageSchema: z.ZodObject<{
|
|
|
4425
4338
|
turn_id: z.ZodString;
|
|
4426
4339
|
workspace_id: z.ZodString;
|
|
4427
4340
|
provider_instance_id: z.ZodString;
|
|
4428
|
-
run_id: z.ZodString;
|
|
4429
4341
|
}, z.core.$strict>;
|
|
4430
4342
|
sandbox: z.ZodObject<{
|
|
4431
4343
|
mode: z.ZodEnum<{
|
|
@@ -4459,7 +4371,6 @@ export declare const localActionRequestMessageSchema: z.ZodObject<{
|
|
|
4459
4371
|
action: z.ZodLiteral<"local.dev_server.stop">;
|
|
4460
4372
|
lease: z.ZodObject<{
|
|
4461
4373
|
lease_id: z.ZodString;
|
|
4462
|
-
run_id: z.ZodString;
|
|
4463
4374
|
hcp_session_id: z.ZodString;
|
|
4464
4375
|
execution_host_id: z.ZodString;
|
|
4465
4376
|
provider_instance_id: z.ZodString;
|
|
@@ -4483,7 +4394,6 @@ export declare const localActionRequestMessageSchema: z.ZodObject<{
|
|
|
4483
4394
|
turn_id: z.ZodString;
|
|
4484
4395
|
workspace_id: z.ZodString;
|
|
4485
4396
|
provider_instance_id: z.ZodString;
|
|
4486
|
-
run_id: z.ZodString;
|
|
4487
4397
|
}, z.core.$strict>;
|
|
4488
4398
|
sandbox: z.ZodObject<{
|
|
4489
4399
|
mode: z.ZodEnum<{
|
|
@@ -4538,7 +4448,6 @@ export declare const localActionResponseMessageSchema: z.ZodObject<{
|
|
|
4538
4448
|
action: z.ZodLiteral<"local.filesystem.read">;
|
|
4539
4449
|
lease: z.ZodObject<{
|
|
4540
4450
|
lease_id: z.ZodString;
|
|
4541
|
-
run_id: z.ZodString;
|
|
4542
4451
|
hcp_session_id: z.ZodString;
|
|
4543
4452
|
execution_host_id: z.ZodString;
|
|
4544
4453
|
provider_instance_id: z.ZodString;
|
|
@@ -4565,7 +4474,6 @@ export declare const localActionResponseMessageSchema: z.ZodObject<{
|
|
|
4565
4474
|
turn_id: z.ZodString;
|
|
4566
4475
|
workspace_id: z.ZodString;
|
|
4567
4476
|
provider_instance_id: z.ZodString;
|
|
4568
|
-
run_id: z.ZodString;
|
|
4569
4477
|
}, z.core.$strict>;
|
|
4570
4478
|
audit_events: z.ZodObject<{
|
|
4571
4479
|
started: z.ZodOptional<z.ZodObject<{
|
|
@@ -4581,7 +4489,6 @@ export declare const localActionResponseMessageSchema: z.ZodObject<{
|
|
|
4581
4489
|
action: z.ZodLiteral<"local.filesystem.list">;
|
|
4582
4490
|
lease: z.ZodObject<{
|
|
4583
4491
|
lease_id: z.ZodString;
|
|
4584
|
-
run_id: z.ZodString;
|
|
4585
4492
|
hcp_session_id: z.ZodString;
|
|
4586
4493
|
execution_host_id: z.ZodString;
|
|
4587
4494
|
provider_instance_id: z.ZodString;
|
|
@@ -4610,7 +4517,6 @@ export declare const localActionResponseMessageSchema: z.ZodObject<{
|
|
|
4610
4517
|
turn_id: z.ZodString;
|
|
4611
4518
|
workspace_id: z.ZodString;
|
|
4612
4519
|
provider_instance_id: z.ZodString;
|
|
4613
|
-
run_id: z.ZodString;
|
|
4614
4520
|
}, z.core.$strict>;
|
|
4615
4521
|
audit_events: z.ZodObject<{
|
|
4616
4522
|
started: z.ZodOptional<z.ZodObject<{
|
|
@@ -4626,7 +4532,6 @@ export declare const localActionResponseMessageSchema: z.ZodObject<{
|
|
|
4626
4532
|
action: z.ZodLiteral<"local.filesystem.write">;
|
|
4627
4533
|
lease: z.ZodObject<{
|
|
4628
4534
|
lease_id: z.ZodString;
|
|
4629
|
-
run_id: z.ZodString;
|
|
4630
4535
|
hcp_session_id: z.ZodString;
|
|
4631
4536
|
execution_host_id: z.ZodString;
|
|
4632
4537
|
provider_instance_id: z.ZodString;
|
|
@@ -4648,7 +4553,6 @@ export declare const localActionResponseMessageSchema: z.ZodObject<{
|
|
|
4648
4553
|
turn_id: z.ZodString;
|
|
4649
4554
|
workspace_id: z.ZodString;
|
|
4650
4555
|
provider_instance_id: z.ZodString;
|
|
4651
|
-
run_id: z.ZodString;
|
|
4652
4556
|
}, z.core.$strict>;
|
|
4653
4557
|
audit_events: z.ZodObject<{
|
|
4654
4558
|
started: z.ZodOptional<z.ZodObject<{
|
|
@@ -4664,7 +4568,6 @@ export declare const localActionResponseMessageSchema: z.ZodObject<{
|
|
|
4664
4568
|
action: z.ZodLiteral<"local.filesystem.patch">;
|
|
4665
4569
|
lease: z.ZodObject<{
|
|
4666
4570
|
lease_id: z.ZodString;
|
|
4667
|
-
run_id: z.ZodString;
|
|
4668
4571
|
hcp_session_id: z.ZodString;
|
|
4669
4572
|
execution_host_id: z.ZodString;
|
|
4670
4573
|
provider_instance_id: z.ZodString;
|
|
@@ -4686,7 +4589,6 @@ export declare const localActionResponseMessageSchema: z.ZodObject<{
|
|
|
4686
4589
|
turn_id: z.ZodString;
|
|
4687
4590
|
workspace_id: z.ZodString;
|
|
4688
4591
|
provider_instance_id: z.ZodString;
|
|
4689
|
-
run_id: z.ZodString;
|
|
4690
4592
|
}, z.core.$strict>;
|
|
4691
4593
|
audit_events: z.ZodObject<{
|
|
4692
4594
|
started: z.ZodOptional<z.ZodObject<{
|
|
@@ -4702,7 +4604,6 @@ export declare const localActionResponseMessageSchema: z.ZodObject<{
|
|
|
4702
4604
|
action: z.ZodLiteral<"local.git.status">;
|
|
4703
4605
|
lease: z.ZodObject<{
|
|
4704
4606
|
lease_id: z.ZodString;
|
|
4705
|
-
run_id: z.ZodString;
|
|
4706
4607
|
hcp_session_id: z.ZodString;
|
|
4707
4608
|
execution_host_id: z.ZodString;
|
|
4708
4609
|
provider_instance_id: z.ZodString;
|
|
@@ -4724,7 +4625,6 @@ export declare const localActionResponseMessageSchema: z.ZodObject<{
|
|
|
4724
4625
|
turn_id: z.ZodString;
|
|
4725
4626
|
workspace_id: z.ZodString;
|
|
4726
4627
|
provider_instance_id: z.ZodString;
|
|
4727
|
-
run_id: z.ZodString;
|
|
4728
4628
|
}, z.core.$strict>;
|
|
4729
4629
|
audit_events: z.ZodObject<{
|
|
4730
4630
|
started: z.ZodOptional<z.ZodObject<{
|
|
@@ -4740,7 +4640,6 @@ export declare const localActionResponseMessageSchema: z.ZodObject<{
|
|
|
4740
4640
|
action: z.ZodLiteral<"local.git.diff">;
|
|
4741
4641
|
lease: z.ZodObject<{
|
|
4742
4642
|
lease_id: z.ZodString;
|
|
4743
|
-
run_id: z.ZodString;
|
|
4744
4643
|
hcp_session_id: z.ZodString;
|
|
4745
4644
|
execution_host_id: z.ZodString;
|
|
4746
4645
|
provider_instance_id: z.ZodString;
|
|
@@ -4761,7 +4660,6 @@ export declare const localActionResponseMessageSchema: z.ZodObject<{
|
|
|
4761
4660
|
turn_id: z.ZodString;
|
|
4762
4661
|
workspace_id: z.ZodString;
|
|
4763
4662
|
provider_instance_id: z.ZodString;
|
|
4764
|
-
run_id: z.ZodString;
|
|
4765
4663
|
}, z.core.$strict>;
|
|
4766
4664
|
audit_events: z.ZodObject<{
|
|
4767
4665
|
started: z.ZodOptional<z.ZodObject<{
|
|
@@ -4777,7 +4675,6 @@ export declare const localActionResponseMessageSchema: z.ZodObject<{
|
|
|
4777
4675
|
action: z.ZodLiteral<"local.shell.exec">;
|
|
4778
4676
|
lease: z.ZodObject<{
|
|
4779
4677
|
lease_id: z.ZodString;
|
|
4780
|
-
run_id: z.ZodString;
|
|
4781
4678
|
hcp_session_id: z.ZodString;
|
|
4782
4679
|
execution_host_id: z.ZodString;
|
|
4783
4680
|
provider_instance_id: z.ZodString;
|
|
@@ -4806,7 +4703,6 @@ export declare const localActionResponseMessageSchema: z.ZodObject<{
|
|
|
4806
4703
|
turn_id: z.ZodString;
|
|
4807
4704
|
workspace_id: z.ZodString;
|
|
4808
4705
|
provider_instance_id: z.ZodString;
|
|
4809
|
-
run_id: z.ZodString;
|
|
4810
4706
|
}, z.core.$strict>;
|
|
4811
4707
|
audit_events: z.ZodObject<{
|
|
4812
4708
|
started: z.ZodOptional<z.ZodObject<{
|
|
@@ -4822,7 +4718,6 @@ export declare const localActionResponseMessageSchema: z.ZodObject<{
|
|
|
4822
4718
|
action: z.ZodLiteral<"local.dev_server.start">;
|
|
4823
4719
|
lease: z.ZodObject<{
|
|
4824
4720
|
lease_id: z.ZodString;
|
|
4825
|
-
run_id: z.ZodString;
|
|
4826
4721
|
hcp_session_id: z.ZodString;
|
|
4827
4722
|
execution_host_id: z.ZodString;
|
|
4828
4723
|
provider_instance_id: z.ZodString;
|
|
@@ -4848,7 +4743,6 @@ export declare const localActionResponseMessageSchema: z.ZodObject<{
|
|
|
4848
4743
|
turn_id: z.ZodString;
|
|
4849
4744
|
workspace_id: z.ZodString;
|
|
4850
4745
|
provider_instance_id: z.ZodString;
|
|
4851
|
-
run_id: z.ZodString;
|
|
4852
4746
|
}, z.core.$strict>;
|
|
4853
4747
|
audit_events: z.ZodObject<{
|
|
4854
4748
|
started: z.ZodOptional<z.ZodObject<{
|
|
@@ -4864,7 +4758,6 @@ export declare const localActionResponseMessageSchema: z.ZodObject<{
|
|
|
4864
4758
|
action: z.ZodLiteral<"local.dev_server.stop">;
|
|
4865
4759
|
lease: z.ZodObject<{
|
|
4866
4760
|
lease_id: z.ZodString;
|
|
4867
|
-
run_id: z.ZodString;
|
|
4868
4761
|
hcp_session_id: z.ZodString;
|
|
4869
4762
|
execution_host_id: z.ZodString;
|
|
4870
4763
|
provider_instance_id: z.ZodString;
|
|
@@ -4885,7 +4778,6 @@ export declare const localActionResponseMessageSchema: z.ZodObject<{
|
|
|
4885
4778
|
turn_id: z.ZodString;
|
|
4886
4779
|
workspace_id: z.ZodString;
|
|
4887
4780
|
provider_instance_id: z.ZodString;
|
|
4888
|
-
run_id: z.ZodString;
|
|
4889
4781
|
}, z.core.$strict>;
|
|
4890
4782
|
audit_events: z.ZodObject<{
|
|
4891
4783
|
started: z.ZodOptional<z.ZodObject<{
|
|
@@ -4929,7 +4821,6 @@ export declare const localActionErrorMessageSchema: z.ZodObject<{
|
|
|
4929
4821
|
turn_id: z.ZodString;
|
|
4930
4822
|
workspace_id: z.ZodString;
|
|
4931
4823
|
provider_instance_id: z.ZodString;
|
|
4932
|
-
run_id: z.ZodString;
|
|
4933
4824
|
}, z.core.$strict>;
|
|
4934
4825
|
lease: z.ZodOptional<z.ZodObject<{
|
|
4935
4826
|
lease_id: z.ZodString;
|
|
@@ -4940,7 +4831,6 @@ export declare const localActionErrorMessageSchema: z.ZodObject<{
|
|
|
4940
4831
|
dev_server: "dev_server";
|
|
4941
4832
|
}>;
|
|
4942
4833
|
scope: z.ZodString;
|
|
4943
|
-
run_id: z.ZodString;
|
|
4944
4834
|
hcp_session_id: z.ZodString;
|
|
4945
4835
|
execution_host_id: z.ZodString;
|
|
4946
4836
|
provider_instance_id: z.ZodString;
|
|
@@ -5071,7 +4961,139 @@ export declare const hcpWorkspacesResultMessageSchema: z.ZodObject<{
|
|
|
5071
4961
|
}, z.core.$strict>;
|
|
5072
4962
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5073
4963
|
}, z.core.$strict>;
|
|
4964
|
+
export declare const hcpAccountsReadMessageSchema: z.ZodObject<{
|
|
4965
|
+
id: z.ZodString;
|
|
4966
|
+
type: z.ZodLiteral<"host.accounts.read">;
|
|
4967
|
+
version: z.ZodLiteral<"hcp.v0">;
|
|
4968
|
+
sent_at: z.ZodString;
|
|
4969
|
+
payload: z.ZodObject<{
|
|
4970
|
+
provider_instance_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4971
|
+
}, z.core.$strict>;
|
|
4972
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4973
|
+
}, z.core.$strict>;
|
|
4974
|
+
export declare const hcpAccountsSnapshotMessageSchema: z.ZodObject<{
|
|
4975
|
+
id: z.ZodString;
|
|
4976
|
+
type: z.ZodLiteral<"host.accounts.snapshot">;
|
|
4977
|
+
version: z.ZodLiteral<"hcp.v0">;
|
|
4978
|
+
sent_at: z.ZodString;
|
|
4979
|
+
payload: z.ZodObject<{
|
|
4980
|
+
request_id: z.ZodString;
|
|
4981
|
+
host_id: z.ZodString;
|
|
4982
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
4983
|
+
provider_instance_id: z.ZodString;
|
|
4984
|
+
observation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4985
|
+
status: z.ZodLiteral<"available">;
|
|
4986
|
+
observed_at: z.ZodISODateTime;
|
|
4987
|
+
account: z.ZodObject<{
|
|
4988
|
+
key: z.ZodString;
|
|
4989
|
+
provider: z.ZodString;
|
|
4990
|
+
scope_source: z.ZodEnum<{
|
|
4991
|
+
provider: "provider";
|
|
4992
|
+
operator: "operator";
|
|
4993
|
+
local: "local";
|
|
4994
|
+
}>;
|
|
4995
|
+
label: z.ZodString;
|
|
4996
|
+
}, z.core.$strict>;
|
|
4997
|
+
source: z.ZodEnum<{
|
|
4998
|
+
codex_app_server: "codex_app_server";
|
|
4999
|
+
claude_sdk_experimental: "claude_sdk_experimental";
|
|
5000
|
+
}>;
|
|
5001
|
+
plan: z.ZodOptional<z.ZodString>;
|
|
5002
|
+
limits: z.ZodArray<z.ZodObject<{
|
|
5003
|
+
id: z.ZodString;
|
|
5004
|
+
label: z.ZodString;
|
|
5005
|
+
kind: z.ZodEnum<{
|
|
5006
|
+
quota: "quota";
|
|
5007
|
+
spend: "spend";
|
|
5008
|
+
}>;
|
|
5009
|
+
used_percent: z.ZodOptional<z.ZodNumber>;
|
|
5010
|
+
resets_at: z.ZodOptional<z.ZodISODateTime>;
|
|
5011
|
+
window_minutes: z.ZodOptional<z.ZodNumber>;
|
|
5012
|
+
}, z.core.$strict>>;
|
|
5013
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5014
|
+
status: z.ZodLiteral<"unavailable">;
|
|
5015
|
+
observed_at: z.ZodISODateTime;
|
|
5016
|
+
reason: z.ZodEnum<{
|
|
5017
|
+
disabled: "disabled";
|
|
5018
|
+
unauthenticated: "unauthenticated";
|
|
5019
|
+
unsupported: "unsupported";
|
|
5020
|
+
not_applicable: "not_applicable";
|
|
5021
|
+
timeout: "timeout";
|
|
5022
|
+
provider_error: "provider_error";
|
|
5023
|
+
invalid_response: "invalid_response";
|
|
5024
|
+
}>;
|
|
5025
|
+
message: z.ZodString;
|
|
5026
|
+
}, z.core.$strict>], "status">;
|
|
5027
|
+
}, z.core.$strict>>;
|
|
5028
|
+
}, z.core.$strict>;
|
|
5029
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5030
|
+
}, z.core.$strict>;
|
|
5074
5031
|
export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5032
|
+
id: z.ZodString;
|
|
5033
|
+
type: z.ZodLiteral<"host.accounts.read">;
|
|
5034
|
+
version: z.ZodLiteral<"hcp.v0">;
|
|
5035
|
+
sent_at: z.ZodString;
|
|
5036
|
+
payload: z.ZodObject<{
|
|
5037
|
+
provider_instance_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5038
|
+
}, z.core.$strict>;
|
|
5039
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5040
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5041
|
+
id: z.ZodString;
|
|
5042
|
+
type: z.ZodLiteral<"host.accounts.snapshot">;
|
|
5043
|
+
version: z.ZodLiteral<"hcp.v0">;
|
|
5044
|
+
sent_at: z.ZodString;
|
|
5045
|
+
payload: z.ZodObject<{
|
|
5046
|
+
request_id: z.ZodString;
|
|
5047
|
+
host_id: z.ZodString;
|
|
5048
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
5049
|
+
provider_instance_id: z.ZodString;
|
|
5050
|
+
observation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5051
|
+
status: z.ZodLiteral<"available">;
|
|
5052
|
+
observed_at: z.ZodISODateTime;
|
|
5053
|
+
account: z.ZodObject<{
|
|
5054
|
+
key: z.ZodString;
|
|
5055
|
+
provider: z.ZodString;
|
|
5056
|
+
scope_source: z.ZodEnum<{
|
|
5057
|
+
provider: "provider";
|
|
5058
|
+
operator: "operator";
|
|
5059
|
+
local: "local";
|
|
5060
|
+
}>;
|
|
5061
|
+
label: z.ZodString;
|
|
5062
|
+
}, z.core.$strict>;
|
|
5063
|
+
source: z.ZodEnum<{
|
|
5064
|
+
codex_app_server: "codex_app_server";
|
|
5065
|
+
claude_sdk_experimental: "claude_sdk_experimental";
|
|
5066
|
+
}>;
|
|
5067
|
+
plan: z.ZodOptional<z.ZodString>;
|
|
5068
|
+
limits: z.ZodArray<z.ZodObject<{
|
|
5069
|
+
id: z.ZodString;
|
|
5070
|
+
label: z.ZodString;
|
|
5071
|
+
kind: z.ZodEnum<{
|
|
5072
|
+
quota: "quota";
|
|
5073
|
+
spend: "spend";
|
|
5074
|
+
}>;
|
|
5075
|
+
used_percent: z.ZodOptional<z.ZodNumber>;
|
|
5076
|
+
resets_at: z.ZodOptional<z.ZodISODateTime>;
|
|
5077
|
+
window_minutes: z.ZodOptional<z.ZodNumber>;
|
|
5078
|
+
}, z.core.$strict>>;
|
|
5079
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5080
|
+
status: z.ZodLiteral<"unavailable">;
|
|
5081
|
+
observed_at: z.ZodISODateTime;
|
|
5082
|
+
reason: z.ZodEnum<{
|
|
5083
|
+
disabled: "disabled";
|
|
5084
|
+
unauthenticated: "unauthenticated";
|
|
5085
|
+
unsupported: "unsupported";
|
|
5086
|
+
not_applicable: "not_applicable";
|
|
5087
|
+
timeout: "timeout";
|
|
5088
|
+
provider_error: "provider_error";
|
|
5089
|
+
invalid_response: "invalid_response";
|
|
5090
|
+
}>;
|
|
5091
|
+
message: z.ZodString;
|
|
5092
|
+
}, z.core.$strict>], "status">;
|
|
5093
|
+
}, z.core.$strict>>;
|
|
5094
|
+
}, z.core.$strict>;
|
|
5095
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5096
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5075
5097
|
id: z.ZodString;
|
|
5076
5098
|
type: z.ZodLiteral<"host.workspaces.request">;
|
|
5077
5099
|
version: z.ZodLiteral<"hcp.v0">;
|
|
@@ -5406,11 +5428,7 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5406
5428
|
}, z.core.$strict>>;
|
|
5407
5429
|
local_capability_lease: z.ZodOptional<z.ZodObject<{
|
|
5408
5430
|
lease_id: z.ZodString;
|
|
5409
|
-
org_id: z.ZodString;
|
|
5410
5431
|
actor_id: z.ZodOptional<z.ZodString>;
|
|
5411
|
-
workflow_id: z.ZodString;
|
|
5412
|
-
run_id: z.ZodString;
|
|
5413
|
-
node_id: z.ZodString;
|
|
5414
5432
|
hcp_session_id: z.ZodString;
|
|
5415
5433
|
execution_host_id: z.ZodString;
|
|
5416
5434
|
provider_instance_id: z.ZodString;
|
|
@@ -5639,7 +5657,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5639
5657
|
action: z.ZodLiteral<"local.filesystem.read">;
|
|
5640
5658
|
lease: z.ZodObject<{
|
|
5641
5659
|
lease_id: z.ZodString;
|
|
5642
|
-
run_id: z.ZodString;
|
|
5643
5660
|
hcp_session_id: z.ZodString;
|
|
5644
5661
|
execution_host_id: z.ZodString;
|
|
5645
5662
|
provider_instance_id: z.ZodString;
|
|
@@ -5674,7 +5691,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5674
5691
|
turn_id: z.ZodString;
|
|
5675
5692
|
workspace_id: z.ZodString;
|
|
5676
5693
|
provider_instance_id: z.ZodString;
|
|
5677
|
-
run_id: z.ZodString;
|
|
5678
5694
|
}, z.core.$strict>;
|
|
5679
5695
|
sandbox: z.ZodObject<{
|
|
5680
5696
|
mode: z.ZodEnum<{
|
|
@@ -5713,7 +5729,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5713
5729
|
action: z.ZodLiteral<"local.filesystem.list">;
|
|
5714
5730
|
lease: z.ZodObject<{
|
|
5715
5731
|
lease_id: z.ZodString;
|
|
5716
|
-
run_id: z.ZodString;
|
|
5717
5732
|
hcp_session_id: z.ZodString;
|
|
5718
5733
|
execution_host_id: z.ZodString;
|
|
5719
5734
|
provider_instance_id: z.ZodString;
|
|
@@ -5743,7 +5758,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5743
5758
|
turn_id: z.ZodString;
|
|
5744
5759
|
workspace_id: z.ZodString;
|
|
5745
5760
|
provider_instance_id: z.ZodString;
|
|
5746
|
-
run_id: z.ZodString;
|
|
5747
5761
|
}, z.core.$strict>;
|
|
5748
5762
|
sandbox: z.ZodObject<{
|
|
5749
5763
|
mode: z.ZodEnum<{
|
|
@@ -5782,7 +5796,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5782
5796
|
action: z.ZodLiteral<"local.filesystem.write">;
|
|
5783
5797
|
lease: z.ZodObject<{
|
|
5784
5798
|
lease_id: z.ZodString;
|
|
5785
|
-
run_id: z.ZodString;
|
|
5786
5799
|
hcp_session_id: z.ZodString;
|
|
5787
5800
|
execution_host_id: z.ZodString;
|
|
5788
5801
|
provider_instance_id: z.ZodString;
|
|
@@ -5812,7 +5825,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5812
5825
|
turn_id: z.ZodString;
|
|
5813
5826
|
workspace_id: z.ZodString;
|
|
5814
5827
|
provider_instance_id: z.ZodString;
|
|
5815
|
-
run_id: z.ZodString;
|
|
5816
5828
|
}, z.core.$strict>;
|
|
5817
5829
|
sandbox: z.ZodObject<{
|
|
5818
5830
|
mode: z.ZodEnum<{
|
|
@@ -5859,7 +5871,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5859
5871
|
action: z.ZodLiteral<"local.filesystem.patch">;
|
|
5860
5872
|
lease: z.ZodObject<{
|
|
5861
5873
|
lease_id: z.ZodString;
|
|
5862
|
-
run_id: z.ZodString;
|
|
5863
5874
|
hcp_session_id: z.ZodString;
|
|
5864
5875
|
execution_host_id: z.ZodString;
|
|
5865
5876
|
provider_instance_id: z.ZodString;
|
|
@@ -5884,7 +5895,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5884
5895
|
turn_id: z.ZodString;
|
|
5885
5896
|
workspace_id: z.ZodString;
|
|
5886
5897
|
provider_instance_id: z.ZodString;
|
|
5887
|
-
run_id: z.ZodString;
|
|
5888
5898
|
}, z.core.$strict>;
|
|
5889
5899
|
sandbox: z.ZodObject<{
|
|
5890
5900
|
mode: z.ZodEnum<{
|
|
@@ -5931,7 +5941,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5931
5941
|
action: z.ZodLiteral<"local.git.status">;
|
|
5932
5942
|
lease: z.ZodObject<{
|
|
5933
5943
|
lease_id: z.ZodString;
|
|
5934
|
-
run_id: z.ZodString;
|
|
5935
5944
|
hcp_session_id: z.ZodString;
|
|
5936
5945
|
execution_host_id: z.ZodString;
|
|
5937
5946
|
provider_instance_id: z.ZodString;
|
|
@@ -5962,7 +5971,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5962
5971
|
turn_id: z.ZodString;
|
|
5963
5972
|
workspace_id: z.ZodString;
|
|
5964
5973
|
provider_instance_id: z.ZodString;
|
|
5965
|
-
run_id: z.ZodString;
|
|
5966
5974
|
}, z.core.$strict>;
|
|
5967
5975
|
sandbox: z.ZodObject<{
|
|
5968
5976
|
mode: z.ZodEnum<{
|
|
@@ -6001,7 +6009,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6001
6009
|
action: z.ZodLiteral<"local.git.diff">;
|
|
6002
6010
|
lease: z.ZodObject<{
|
|
6003
6011
|
lease_id: z.ZodString;
|
|
6004
|
-
run_id: z.ZodString;
|
|
6005
6012
|
hcp_session_id: z.ZodString;
|
|
6006
6013
|
execution_host_id: z.ZodString;
|
|
6007
6014
|
provider_instance_id: z.ZodString;
|
|
@@ -6030,7 +6037,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6030
6037
|
turn_id: z.ZodString;
|
|
6031
6038
|
workspace_id: z.ZodString;
|
|
6032
6039
|
provider_instance_id: z.ZodString;
|
|
6033
|
-
run_id: z.ZodString;
|
|
6034
6040
|
}, z.core.$strict>;
|
|
6035
6041
|
sandbox: z.ZodObject<{
|
|
6036
6042
|
mode: z.ZodEnum<{
|
|
@@ -6069,7 +6075,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6069
6075
|
action: z.ZodLiteral<"local.shell.exec">;
|
|
6070
6076
|
lease: z.ZodObject<{
|
|
6071
6077
|
lease_id: z.ZodString;
|
|
6072
|
-
run_id: z.ZodString;
|
|
6073
6078
|
hcp_session_id: z.ZodString;
|
|
6074
6079
|
execution_host_id: z.ZodString;
|
|
6075
6080
|
provider_instance_id: z.ZodString;
|
|
@@ -6112,7 +6117,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6112
6117
|
turn_id: z.ZodString;
|
|
6113
6118
|
workspace_id: z.ZodString;
|
|
6114
6119
|
provider_instance_id: z.ZodString;
|
|
6115
|
-
run_id: z.ZodString;
|
|
6116
6120
|
}, z.core.$strict>;
|
|
6117
6121
|
sandbox: z.ZodObject<{
|
|
6118
6122
|
mode: z.ZodEnum<{
|
|
@@ -6138,7 +6142,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6138
6142
|
action: z.ZodLiteral<"local.dev_server.start">;
|
|
6139
6143
|
lease: z.ZodObject<{
|
|
6140
6144
|
lease_id: z.ZodString;
|
|
6141
|
-
run_id: z.ZodString;
|
|
6142
6145
|
hcp_session_id: z.ZodString;
|
|
6143
6146
|
execution_host_id: z.ZodString;
|
|
6144
6147
|
provider_instance_id: z.ZodString;
|
|
@@ -6182,7 +6185,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6182
6185
|
turn_id: z.ZodString;
|
|
6183
6186
|
workspace_id: z.ZodString;
|
|
6184
6187
|
provider_instance_id: z.ZodString;
|
|
6185
|
-
run_id: z.ZodString;
|
|
6186
6188
|
}, z.core.$strict>;
|
|
6187
6189
|
sandbox: z.ZodObject<{
|
|
6188
6190
|
mode: z.ZodEnum<{
|
|
@@ -6216,7 +6218,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6216
6218
|
action: z.ZodLiteral<"local.dev_server.stop">;
|
|
6217
6219
|
lease: z.ZodObject<{
|
|
6218
6220
|
lease_id: z.ZodString;
|
|
6219
|
-
run_id: z.ZodString;
|
|
6220
6221
|
hcp_session_id: z.ZodString;
|
|
6221
6222
|
execution_host_id: z.ZodString;
|
|
6222
6223
|
provider_instance_id: z.ZodString;
|
|
@@ -6240,7 +6241,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6240
6241
|
turn_id: z.ZodString;
|
|
6241
6242
|
workspace_id: z.ZodString;
|
|
6242
6243
|
provider_instance_id: z.ZodString;
|
|
6243
|
-
run_id: z.ZodString;
|
|
6244
6244
|
}, z.core.$strict>;
|
|
6245
6245
|
sandbox: z.ZodObject<{
|
|
6246
6246
|
mode: z.ZodEnum<{
|
|
@@ -6294,7 +6294,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6294
6294
|
action: z.ZodLiteral<"local.filesystem.read">;
|
|
6295
6295
|
lease: z.ZodObject<{
|
|
6296
6296
|
lease_id: z.ZodString;
|
|
6297
|
-
run_id: z.ZodString;
|
|
6298
6297
|
hcp_session_id: z.ZodString;
|
|
6299
6298
|
execution_host_id: z.ZodString;
|
|
6300
6299
|
provider_instance_id: z.ZodString;
|
|
@@ -6321,7 +6320,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6321
6320
|
turn_id: z.ZodString;
|
|
6322
6321
|
workspace_id: z.ZodString;
|
|
6323
6322
|
provider_instance_id: z.ZodString;
|
|
6324
|
-
run_id: z.ZodString;
|
|
6325
6323
|
}, z.core.$strict>;
|
|
6326
6324
|
audit_events: z.ZodObject<{
|
|
6327
6325
|
started: z.ZodOptional<z.ZodObject<{
|
|
@@ -6337,7 +6335,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6337
6335
|
action: z.ZodLiteral<"local.filesystem.list">;
|
|
6338
6336
|
lease: z.ZodObject<{
|
|
6339
6337
|
lease_id: z.ZodString;
|
|
6340
|
-
run_id: z.ZodString;
|
|
6341
6338
|
hcp_session_id: z.ZodString;
|
|
6342
6339
|
execution_host_id: z.ZodString;
|
|
6343
6340
|
provider_instance_id: z.ZodString;
|
|
@@ -6366,7 +6363,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6366
6363
|
turn_id: z.ZodString;
|
|
6367
6364
|
workspace_id: z.ZodString;
|
|
6368
6365
|
provider_instance_id: z.ZodString;
|
|
6369
|
-
run_id: z.ZodString;
|
|
6370
6366
|
}, z.core.$strict>;
|
|
6371
6367
|
audit_events: z.ZodObject<{
|
|
6372
6368
|
started: z.ZodOptional<z.ZodObject<{
|
|
@@ -6382,7 +6378,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6382
6378
|
action: z.ZodLiteral<"local.filesystem.write">;
|
|
6383
6379
|
lease: z.ZodObject<{
|
|
6384
6380
|
lease_id: z.ZodString;
|
|
6385
|
-
run_id: z.ZodString;
|
|
6386
6381
|
hcp_session_id: z.ZodString;
|
|
6387
6382
|
execution_host_id: z.ZodString;
|
|
6388
6383
|
provider_instance_id: z.ZodString;
|
|
@@ -6404,7 +6399,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6404
6399
|
turn_id: z.ZodString;
|
|
6405
6400
|
workspace_id: z.ZodString;
|
|
6406
6401
|
provider_instance_id: z.ZodString;
|
|
6407
|
-
run_id: z.ZodString;
|
|
6408
6402
|
}, z.core.$strict>;
|
|
6409
6403
|
audit_events: z.ZodObject<{
|
|
6410
6404
|
started: z.ZodOptional<z.ZodObject<{
|
|
@@ -6420,7 +6414,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6420
6414
|
action: z.ZodLiteral<"local.filesystem.patch">;
|
|
6421
6415
|
lease: z.ZodObject<{
|
|
6422
6416
|
lease_id: z.ZodString;
|
|
6423
|
-
run_id: z.ZodString;
|
|
6424
6417
|
hcp_session_id: z.ZodString;
|
|
6425
6418
|
execution_host_id: z.ZodString;
|
|
6426
6419
|
provider_instance_id: z.ZodString;
|
|
@@ -6442,7 +6435,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6442
6435
|
turn_id: z.ZodString;
|
|
6443
6436
|
workspace_id: z.ZodString;
|
|
6444
6437
|
provider_instance_id: z.ZodString;
|
|
6445
|
-
run_id: z.ZodString;
|
|
6446
6438
|
}, z.core.$strict>;
|
|
6447
6439
|
audit_events: z.ZodObject<{
|
|
6448
6440
|
started: z.ZodOptional<z.ZodObject<{
|
|
@@ -6458,7 +6450,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6458
6450
|
action: z.ZodLiteral<"local.git.status">;
|
|
6459
6451
|
lease: z.ZodObject<{
|
|
6460
6452
|
lease_id: z.ZodString;
|
|
6461
|
-
run_id: z.ZodString;
|
|
6462
6453
|
hcp_session_id: z.ZodString;
|
|
6463
6454
|
execution_host_id: z.ZodString;
|
|
6464
6455
|
provider_instance_id: z.ZodString;
|
|
@@ -6480,7 +6471,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6480
6471
|
turn_id: z.ZodString;
|
|
6481
6472
|
workspace_id: z.ZodString;
|
|
6482
6473
|
provider_instance_id: z.ZodString;
|
|
6483
|
-
run_id: z.ZodString;
|
|
6484
6474
|
}, z.core.$strict>;
|
|
6485
6475
|
audit_events: z.ZodObject<{
|
|
6486
6476
|
started: z.ZodOptional<z.ZodObject<{
|
|
@@ -6496,7 +6486,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6496
6486
|
action: z.ZodLiteral<"local.git.diff">;
|
|
6497
6487
|
lease: z.ZodObject<{
|
|
6498
6488
|
lease_id: z.ZodString;
|
|
6499
|
-
run_id: z.ZodString;
|
|
6500
6489
|
hcp_session_id: z.ZodString;
|
|
6501
6490
|
execution_host_id: z.ZodString;
|
|
6502
6491
|
provider_instance_id: z.ZodString;
|
|
@@ -6517,7 +6506,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6517
6506
|
turn_id: z.ZodString;
|
|
6518
6507
|
workspace_id: z.ZodString;
|
|
6519
6508
|
provider_instance_id: z.ZodString;
|
|
6520
|
-
run_id: z.ZodString;
|
|
6521
6509
|
}, z.core.$strict>;
|
|
6522
6510
|
audit_events: z.ZodObject<{
|
|
6523
6511
|
started: z.ZodOptional<z.ZodObject<{
|
|
@@ -6533,7 +6521,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6533
6521
|
action: z.ZodLiteral<"local.shell.exec">;
|
|
6534
6522
|
lease: z.ZodObject<{
|
|
6535
6523
|
lease_id: z.ZodString;
|
|
6536
|
-
run_id: z.ZodString;
|
|
6537
6524
|
hcp_session_id: z.ZodString;
|
|
6538
6525
|
execution_host_id: z.ZodString;
|
|
6539
6526
|
provider_instance_id: z.ZodString;
|
|
@@ -6562,7 +6549,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6562
6549
|
turn_id: z.ZodString;
|
|
6563
6550
|
workspace_id: z.ZodString;
|
|
6564
6551
|
provider_instance_id: z.ZodString;
|
|
6565
|
-
run_id: z.ZodString;
|
|
6566
6552
|
}, z.core.$strict>;
|
|
6567
6553
|
audit_events: z.ZodObject<{
|
|
6568
6554
|
started: z.ZodOptional<z.ZodObject<{
|
|
@@ -6578,7 +6564,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6578
6564
|
action: z.ZodLiteral<"local.dev_server.start">;
|
|
6579
6565
|
lease: z.ZodObject<{
|
|
6580
6566
|
lease_id: z.ZodString;
|
|
6581
|
-
run_id: z.ZodString;
|
|
6582
6567
|
hcp_session_id: z.ZodString;
|
|
6583
6568
|
execution_host_id: z.ZodString;
|
|
6584
6569
|
provider_instance_id: z.ZodString;
|
|
@@ -6604,7 +6589,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6604
6589
|
turn_id: z.ZodString;
|
|
6605
6590
|
workspace_id: z.ZodString;
|
|
6606
6591
|
provider_instance_id: z.ZodString;
|
|
6607
|
-
run_id: z.ZodString;
|
|
6608
6592
|
}, z.core.$strict>;
|
|
6609
6593
|
audit_events: z.ZodObject<{
|
|
6610
6594
|
started: z.ZodOptional<z.ZodObject<{
|
|
@@ -6620,7 +6604,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6620
6604
|
action: z.ZodLiteral<"local.dev_server.stop">;
|
|
6621
6605
|
lease: z.ZodObject<{
|
|
6622
6606
|
lease_id: z.ZodString;
|
|
6623
|
-
run_id: z.ZodString;
|
|
6624
6607
|
hcp_session_id: z.ZodString;
|
|
6625
6608
|
execution_host_id: z.ZodString;
|
|
6626
6609
|
provider_instance_id: z.ZodString;
|
|
@@ -6641,7 +6624,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6641
6624
|
turn_id: z.ZodString;
|
|
6642
6625
|
workspace_id: z.ZodString;
|
|
6643
6626
|
provider_instance_id: z.ZodString;
|
|
6644
|
-
run_id: z.ZodString;
|
|
6645
6627
|
}, z.core.$strict>;
|
|
6646
6628
|
audit_events: z.ZodObject<{
|
|
6647
6629
|
started: z.ZodOptional<z.ZodObject<{
|
|
@@ -6684,7 +6666,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6684
6666
|
turn_id: z.ZodString;
|
|
6685
6667
|
workspace_id: z.ZodString;
|
|
6686
6668
|
provider_instance_id: z.ZodString;
|
|
6687
|
-
run_id: z.ZodString;
|
|
6688
6669
|
}, z.core.$strict>;
|
|
6689
6670
|
lease: z.ZodOptional<z.ZodObject<{
|
|
6690
6671
|
lease_id: z.ZodString;
|
|
@@ -6695,7 +6676,6 @@ export declare const hcpMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6695
6676
|
dev_server: "dev_server";
|
|
6696
6677
|
}>;
|
|
6697
6678
|
scope: z.ZodString;
|
|
6698
|
-
run_id: z.ZodString;
|
|
6699
6679
|
hcp_session_id: z.ZodString;
|
|
6700
6680
|
execution_host_id: z.ZodString;
|
|
6701
6681
|
provider_instance_id: z.ZodString;
|
|
@@ -6783,7 +6763,7 @@ export type LocalActionRequestMessage = HcpEnvelope<"local.action.request", Loca
|
|
|
6783
6763
|
export type LocalActionResponseMessage = HcpEnvelope<"local.action.response", LocalActionResponsePayload>;
|
|
6784
6764
|
export type LocalActionErrorMessage = HcpEnvelope<"local.action.error", LocalActionErrorPayload>;
|
|
6785
6765
|
export type HcpHarnessEventMessage = HcpEnvelope<"harness.event", HcpHarnessEventPayload>;
|
|
6786
|
-
export type HcpMessage = HcpEnvelope<"host.workspaces.request", HcpWorkspacesRequestPayload> | HcpEnvelope<"host.workspaces.result", HcpWorkspacesResultPayload> | HcpCommandAckMessage | HcpCommandNackMessage | HcpHostHelloMessage | HcpHostAcceptedMessage | HcpHostRejectedMessage | HcpHostHeartbeatMessage | HcpHostCapabilitiesUpdatedMessage | HcpHostReplayUnavailableMessage | HcpSessionStartMessage | HcpSessionSnapshotRequestMessage | HcpSessionSnapshotMessage | HcpTurnSendMessage | HcpTurnCancelMessage | HcpSessionStopMessage | HcpApprovalRespondMessage | HcpInputRespondMessage | ToolServersDetachMessage | LocalActionRequestMessage | LocalActionResponseMessage | LocalActionErrorMessage | HcpHarnessEventMessage;
|
|
6766
|
+
export type HcpMessage = HcpEnvelope<"host.accounts.read", HcpAccountsReadPayload> | HcpEnvelope<"host.accounts.snapshot", HcpAccountsSnapshotPayload> | HcpEnvelope<"host.workspaces.request", HcpWorkspacesRequestPayload> | HcpEnvelope<"host.workspaces.result", HcpWorkspacesResultPayload> | HcpCommandAckMessage | HcpCommandNackMessage | HcpHostHelloMessage | HcpHostAcceptedMessage | HcpHostRejectedMessage | HcpHostHeartbeatMessage | HcpHostCapabilitiesUpdatedMessage | HcpHostReplayUnavailableMessage | HcpSessionStartMessage | HcpSessionSnapshotRequestMessage | HcpSessionSnapshotMessage | HcpTurnSendMessage | HcpTurnCancelMessage | HcpSessionStopMessage | HcpApprovalRespondMessage | HcpInputRespondMessage | ToolServersDetachMessage | LocalActionRequestMessage | LocalActionResponseMessage | LocalActionErrorMessage | HcpHarnessEventMessage;
|
|
6787
6767
|
export type HcpKnownMessageType = HcpMessage["type"];
|
|
6788
6768
|
export declare function parseHcpEnvelope(input: unknown): HcpEnvelope<string, unknown>;
|
|
6789
6769
|
export declare function parseHcpMessage(input: unknown): HcpMessage;
|