@agentrix/shared 2.27.0 → 2.28.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{errors-D1Ifuw6J.d.cts → errors-rbccBPEc.d.cts} +241 -31
- package/dist/index.cjs +110 -1
- package/dist/index.d.cts +25 -11
- package/dist/node.d.cts +2 -2
- package/package.json +1 -1
|
@@ -1016,15 +1016,15 @@ type SendMessageTarget = 'agent' | 'user';
|
|
|
1016
1016
|
* - 'user': Broadcasts SDKAssistantMessage to users viewing the task
|
|
1017
1017
|
*/
|
|
1018
1018
|
declare const SendTaskMessageRequestSchema: z.ZodObject<{
|
|
1019
|
-
message: z.ZodCustom<
|
|
1019
|
+
message: z.ZodCustom<SDKUserMessage | SDKAssistantMessage, SDKUserMessage | SDKAssistantMessage>;
|
|
1020
1020
|
target: z.ZodEnum<{
|
|
1021
|
-
user: "user";
|
|
1022
1021
|
agent: "agent";
|
|
1022
|
+
user: "user";
|
|
1023
1023
|
}>;
|
|
1024
1024
|
fromTaskId: z.ZodOptional<z.ZodString>;
|
|
1025
1025
|
senderType: z.ZodEnum<{
|
|
1026
|
-
system: "system";
|
|
1027
1026
|
human: "human";
|
|
1027
|
+
system: "system";
|
|
1028
1028
|
agent: "agent";
|
|
1029
1029
|
channel: "channel";
|
|
1030
1030
|
}>;
|
|
@@ -1168,8 +1168,8 @@ declare const HiveListingTypeSchema: z.ZodEnum<{
|
|
|
1168
1168
|
}>;
|
|
1169
1169
|
type HiveListingType = z.infer<typeof HiveListingTypeSchema>;
|
|
1170
1170
|
declare const HiveAuthorTypeSchema: z.ZodEnum<{
|
|
1171
|
-
user: "user";
|
|
1172
1171
|
agent: "agent";
|
|
1172
|
+
user: "user";
|
|
1173
1173
|
}>;
|
|
1174
1174
|
type HiveAuthorType = z.infer<typeof HiveAuthorTypeSchema>;
|
|
1175
1175
|
declare const HiveListingStatusSchema: z.ZodEnum<{
|
|
@@ -1199,8 +1199,8 @@ declare const HiveListingSchema: z.ZodObject<{
|
|
|
1199
1199
|
version: z.ZodString;
|
|
1200
1200
|
avatar: z.ZodNullable<z.ZodString>;
|
|
1201
1201
|
authorType: z.ZodEnum<{
|
|
1202
|
-
user: "user";
|
|
1203
1202
|
agent: "agent";
|
|
1203
|
+
user: "user";
|
|
1204
1204
|
}>;
|
|
1205
1205
|
authorId: z.ZodString;
|
|
1206
1206
|
authorName: z.ZodString;
|
|
@@ -1240,8 +1240,8 @@ declare const PublishToHiveRequestSchema: z.ZodObject<{
|
|
|
1240
1240
|
category: z.ZodOptional<z.ZodString>;
|
|
1241
1241
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1242
1242
|
authorType: z.ZodEnum<{
|
|
1243
|
-
user: "user";
|
|
1244
1243
|
agent: "agent";
|
|
1244
|
+
user: "user";
|
|
1245
1245
|
}>;
|
|
1246
1246
|
authorId: z.ZodString;
|
|
1247
1247
|
machineId: z.ZodOptional<z.ZodString>;
|
|
@@ -1286,8 +1286,8 @@ declare const HiveListResponseSchema: z.ZodObject<{
|
|
|
1286
1286
|
version: z.ZodString;
|
|
1287
1287
|
avatar: z.ZodNullable<z.ZodString>;
|
|
1288
1288
|
authorType: z.ZodEnum<{
|
|
1289
|
-
user: "user";
|
|
1290
1289
|
agent: "agent";
|
|
1290
|
+
user: "user";
|
|
1291
1291
|
}>;
|
|
1292
1292
|
authorId: z.ZodString;
|
|
1293
1293
|
authorName: z.ZodString;
|
|
@@ -1391,8 +1391,8 @@ declare const HiveReviewSchema: z.ZodObject<{
|
|
|
1391
1391
|
id: z.ZodString;
|
|
1392
1392
|
hiveListingId: z.ZodString;
|
|
1393
1393
|
authorType: z.ZodEnum<{
|
|
1394
|
-
user: "user";
|
|
1395
1394
|
agent: "agent";
|
|
1395
|
+
user: "user";
|
|
1396
1396
|
}>;
|
|
1397
1397
|
authorId: z.ZodString;
|
|
1398
1398
|
authorName: z.ZodString;
|
|
@@ -1418,8 +1418,8 @@ declare const HiveReviewListResponseSchema: z.ZodObject<{
|
|
|
1418
1418
|
id: z.ZodString;
|
|
1419
1419
|
hiveListingId: z.ZodString;
|
|
1420
1420
|
authorType: z.ZodEnum<{
|
|
1421
|
-
user: "user";
|
|
1422
1421
|
agent: "agent";
|
|
1422
|
+
user: "user";
|
|
1423
1423
|
}>;
|
|
1424
1424
|
authorId: z.ZodString;
|
|
1425
1425
|
authorName: z.ZodString;
|
|
@@ -1439,8 +1439,8 @@ declare const HiveCommentSchema: z.ZodObject<{
|
|
|
1439
1439
|
hiveListingId: z.ZodString;
|
|
1440
1440
|
parentId: z.ZodNullable<z.ZodString>;
|
|
1441
1441
|
authorType: z.ZodEnum<{
|
|
1442
|
-
user: "user";
|
|
1443
1442
|
agent: "agent";
|
|
1443
|
+
user: "user";
|
|
1444
1444
|
}>;
|
|
1445
1445
|
authorId: z.ZodString;
|
|
1446
1446
|
authorName: z.ZodString;
|
|
@@ -1465,8 +1465,8 @@ declare const HiveCommentListResponseSchema: z.ZodObject<{
|
|
|
1465
1465
|
hiveListingId: z.ZodString;
|
|
1466
1466
|
parentId: z.ZodNullable<z.ZodString>;
|
|
1467
1467
|
authorType: z.ZodEnum<{
|
|
1468
|
-
user: "user";
|
|
1469
1468
|
agent: "agent";
|
|
1469
|
+
user: "user";
|
|
1470
1470
|
}>;
|
|
1471
1471
|
authorId: z.ZodString;
|
|
1472
1472
|
authorName: z.ZodString;
|
|
@@ -1506,8 +1506,8 @@ declare const HiveInstalledItemSchema: z.ZodObject<{
|
|
|
1506
1506
|
version: z.ZodString;
|
|
1507
1507
|
avatar: z.ZodNullable<z.ZodString>;
|
|
1508
1508
|
authorType: z.ZodEnum<{
|
|
1509
|
-
user: "user";
|
|
1510
1509
|
agent: "agent";
|
|
1510
|
+
user: "user";
|
|
1511
1511
|
}>;
|
|
1512
1512
|
authorId: z.ZodString;
|
|
1513
1513
|
authorName: z.ZodString;
|
|
@@ -1561,8 +1561,8 @@ declare const HiveInstalledResponseSchema: z.ZodObject<{
|
|
|
1561
1561
|
version: z.ZodString;
|
|
1562
1562
|
avatar: z.ZodNullable<z.ZodString>;
|
|
1563
1563
|
authorType: z.ZodEnum<{
|
|
1564
|
-
user: "user";
|
|
1565
1564
|
agent: "agent";
|
|
1565
|
+
user: "user";
|
|
1566
1566
|
}>;
|
|
1567
1567
|
authorId: z.ZodString;
|
|
1568
1568
|
authorName: z.ZodString;
|
|
@@ -1604,8 +1604,8 @@ declare const HiveMyListingsResponseSchema: z.ZodObject<{
|
|
|
1604
1604
|
version: z.ZodString;
|
|
1605
1605
|
avatar: z.ZodNullable<z.ZodString>;
|
|
1606
1606
|
authorType: z.ZodEnum<{
|
|
1607
|
-
user: "user";
|
|
1608
1607
|
agent: "agent";
|
|
1608
|
+
user: "user";
|
|
1609
1609
|
}>;
|
|
1610
1610
|
authorId: z.ZodString;
|
|
1611
1611
|
authorName: z.ZodString;
|
|
@@ -1712,6 +1712,211 @@ declare const RpcResponseSchema: z.ZodObject<{
|
|
|
1712
1712
|
}, z.core.$strip>;
|
|
1713
1713
|
type RpcResponseData = z.infer<typeof RpcResponseSchema>;
|
|
1714
1714
|
|
|
1715
|
+
declare const MachineControlActionSchema: z.ZodEnum<{
|
|
1716
|
+
ping: "ping";
|
|
1717
|
+
"upgrade-cli": "upgrade-cli";
|
|
1718
|
+
}>;
|
|
1719
|
+
type MachineControlAction = z.infer<typeof MachineControlActionSchema>;
|
|
1720
|
+
declare const MachineControlTargetSchema: z.ZodObject<{
|
|
1721
|
+
machineId: z.ZodString;
|
|
1722
|
+
cloudId: z.ZodOptional<z.ZodString>;
|
|
1723
|
+
}, z.core.$strip>;
|
|
1724
|
+
type MachineControlTarget = z.infer<typeof MachineControlTargetSchema>;
|
|
1725
|
+
declare const MachineControlErrorCodeSchema: z.ZodEnum<{
|
|
1726
|
+
machine_not_found: "machine_not_found";
|
|
1727
|
+
machine_offline: "machine_offline";
|
|
1728
|
+
forbidden: "forbidden";
|
|
1729
|
+
cloud_not_found: "cloud_not_found";
|
|
1730
|
+
cloud_inactive: "cloud_inactive";
|
|
1731
|
+
unsupported_operation: "unsupported_operation";
|
|
1732
|
+
capability_missing: "capability_missing";
|
|
1733
|
+
operation_busy: "operation_busy";
|
|
1734
|
+
operation_ack_timeout: "operation_ack_timeout";
|
|
1735
|
+
operation_failed: "operation_failed";
|
|
1736
|
+
operation_expired: "operation_expired";
|
|
1737
|
+
daemon_pending_restart: "daemon_pending_restart";
|
|
1738
|
+
daemon_control_busy: "daemon_control_busy";
|
|
1739
|
+
machine_not_ready: "machine_not_ready";
|
|
1740
|
+
}>;
|
|
1741
|
+
type MachineControlErrorCode = z.infer<typeof MachineControlErrorCodeSchema>;
|
|
1742
|
+
declare const MachineControlPingResultSchema: z.ZodObject<{
|
|
1743
|
+
machineId: z.ZodString;
|
|
1744
|
+
runningCliVersion: z.ZodOptional<z.ZodString>;
|
|
1745
|
+
installedCliVersion: z.ZodOptional<z.ZodString>;
|
|
1746
|
+
restartRequired: z.ZodBoolean;
|
|
1747
|
+
restartPending: z.ZodBoolean;
|
|
1748
|
+
platform: z.ZodString;
|
|
1749
|
+
uptimeMs: z.ZodNumber;
|
|
1750
|
+
activeSessions: z.ZodNumber;
|
|
1751
|
+
capabilities: z.ZodArray<z.ZodEnum<{
|
|
1752
|
+
ping: "ping";
|
|
1753
|
+
"upgrade-cli": "upgrade-cli";
|
|
1754
|
+
}>>;
|
|
1755
|
+
}, z.core.$strip>;
|
|
1756
|
+
type MachineControlPingResult = z.infer<typeof MachineControlPingResultSchema>;
|
|
1757
|
+
declare const MachineActionRequestSchema: z.ZodObject<{
|
|
1758
|
+
eventId: z.ZodString;
|
|
1759
|
+
target: z.ZodObject<{
|
|
1760
|
+
machineId: z.ZodString;
|
|
1761
|
+
cloudId: z.ZodOptional<z.ZodString>;
|
|
1762
|
+
}, z.core.$strip>;
|
|
1763
|
+
action: z.ZodEnum<{
|
|
1764
|
+
ping: "ping";
|
|
1765
|
+
"upgrade-cli": "upgrade-cli";
|
|
1766
|
+
}>;
|
|
1767
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1768
|
+
}, z.core.$strip>;
|
|
1769
|
+
type MachineActionRequestEventData = z.infer<typeof MachineActionRequestSchema>;
|
|
1770
|
+
declare const MachineActionPendingSchema: z.ZodObject<{
|
|
1771
|
+
requestEventId: z.ZodString;
|
|
1772
|
+
target: z.ZodObject<{
|
|
1773
|
+
machineId: z.ZodString;
|
|
1774
|
+
cloudId: z.ZodOptional<z.ZodString>;
|
|
1775
|
+
}, z.core.$strip>;
|
|
1776
|
+
action: z.ZodLiteral<"upgrade-cli">;
|
|
1777
|
+
requestedAt: z.ZodString;
|
|
1778
|
+
expiresAt: z.ZodString;
|
|
1779
|
+
}, z.core.$strip>;
|
|
1780
|
+
type MachineActionPending = z.infer<typeof MachineActionPendingSchema>;
|
|
1781
|
+
declare const ExecuteMachineActionResponseSchema: z.ZodObject<{
|
|
1782
|
+
eventId: z.ZodString;
|
|
1783
|
+
status: z.ZodEnum<{
|
|
1784
|
+
success: "success";
|
|
1785
|
+
failed: "failed";
|
|
1786
|
+
}>;
|
|
1787
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1788
|
+
opCode: z.ZodString;
|
|
1789
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
1790
|
+
result: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1791
|
+
pending: z.ZodOptional<z.ZodObject<{
|
|
1792
|
+
requestEventId: z.ZodString;
|
|
1793
|
+
target: z.ZodObject<{
|
|
1794
|
+
machineId: z.ZodString;
|
|
1795
|
+
cloudId: z.ZodOptional<z.ZodString>;
|
|
1796
|
+
}, z.core.$strip>;
|
|
1797
|
+
action: z.ZodLiteral<"upgrade-cli">;
|
|
1798
|
+
requestedAt: z.ZodString;
|
|
1799
|
+
expiresAt: z.ZodString;
|
|
1800
|
+
}, z.core.$strip>>;
|
|
1801
|
+
errorCode: z.ZodOptional<z.ZodEnum<{
|
|
1802
|
+
machine_not_found: "machine_not_found";
|
|
1803
|
+
machine_offline: "machine_offline";
|
|
1804
|
+
forbidden: "forbidden";
|
|
1805
|
+
cloud_not_found: "cloud_not_found";
|
|
1806
|
+
cloud_inactive: "cloud_inactive";
|
|
1807
|
+
unsupported_operation: "unsupported_operation";
|
|
1808
|
+
capability_missing: "capability_missing";
|
|
1809
|
+
operation_busy: "operation_busy";
|
|
1810
|
+
operation_ack_timeout: "operation_ack_timeout";
|
|
1811
|
+
operation_failed: "operation_failed";
|
|
1812
|
+
operation_expired: "operation_expired";
|
|
1813
|
+
daemon_pending_restart: "daemon_pending_restart";
|
|
1814
|
+
daemon_control_busy: "daemon_control_busy";
|
|
1815
|
+
machine_not_ready: "machine_not_ready";
|
|
1816
|
+
}>>;
|
|
1817
|
+
}, z.core.$strip>>;
|
|
1818
|
+
}, z.core.$strip>;
|
|
1819
|
+
type ExecuteMachineActionResponse = z.infer<typeof ExecuteMachineActionResponseSchema>;
|
|
1820
|
+
declare const MachineControlCommandSchema: z.ZodObject<{
|
|
1821
|
+
eventId: z.ZodString;
|
|
1822
|
+
target: z.ZodObject<{
|
|
1823
|
+
machineId: z.ZodString;
|
|
1824
|
+
cloudId: z.ZodOptional<z.ZodString>;
|
|
1825
|
+
}, z.core.$strip>;
|
|
1826
|
+
action: z.ZodEnum<{
|
|
1827
|
+
ping: "ping";
|
|
1828
|
+
"upgrade-cli": "upgrade-cli";
|
|
1829
|
+
}>;
|
|
1830
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1831
|
+
requestedAt: z.ZodString;
|
|
1832
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
1833
|
+
}, z.core.$strip>;
|
|
1834
|
+
type MachineControlCommandEventData = z.infer<typeof MachineControlCommandSchema>;
|
|
1835
|
+
declare const MachineControlProgressStatusSchema: z.ZodEnum<{
|
|
1836
|
+
running: "running";
|
|
1837
|
+
failed: "failed";
|
|
1838
|
+
succeeded: "succeeded";
|
|
1839
|
+
}>;
|
|
1840
|
+
type MachineControlProgressStatus = z.infer<typeof MachineControlProgressStatusSchema>;
|
|
1841
|
+
declare const MachineControlProgressSchema: z.ZodObject<{
|
|
1842
|
+
eventId: z.ZodString;
|
|
1843
|
+
opCode: z.ZodString;
|
|
1844
|
+
status: z.ZodEnum<{
|
|
1845
|
+
running: "running";
|
|
1846
|
+
failed: "failed";
|
|
1847
|
+
succeeded: "succeeded";
|
|
1848
|
+
}>;
|
|
1849
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1850
|
+
result: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1851
|
+
errorCode: z.ZodOptional<z.ZodEnum<{
|
|
1852
|
+
machine_not_found: "machine_not_found";
|
|
1853
|
+
machine_offline: "machine_offline";
|
|
1854
|
+
forbidden: "forbidden";
|
|
1855
|
+
cloud_not_found: "cloud_not_found";
|
|
1856
|
+
cloud_inactive: "cloud_inactive";
|
|
1857
|
+
unsupported_operation: "unsupported_operation";
|
|
1858
|
+
capability_missing: "capability_missing";
|
|
1859
|
+
operation_busy: "operation_busy";
|
|
1860
|
+
operation_ack_timeout: "operation_ack_timeout";
|
|
1861
|
+
operation_failed: "operation_failed";
|
|
1862
|
+
operation_expired: "operation_expired";
|
|
1863
|
+
daemon_pending_restart: "daemon_pending_restart";
|
|
1864
|
+
daemon_control_busy: "daemon_control_busy";
|
|
1865
|
+
machine_not_ready: "machine_not_ready";
|
|
1866
|
+
}>>;
|
|
1867
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1868
|
+
}, z.core.$strip>;
|
|
1869
|
+
type MachineControlProgressEventData = z.infer<typeof MachineControlProgressSchema>;
|
|
1870
|
+
declare const MachineControlUpdatedStatusSchema: z.ZodEnum<{
|
|
1871
|
+
running: "running";
|
|
1872
|
+
failed: "failed";
|
|
1873
|
+
expired: "expired";
|
|
1874
|
+
succeeded: "succeeded";
|
|
1875
|
+
}>;
|
|
1876
|
+
type MachineControlUpdatedStatus = z.infer<typeof MachineControlUpdatedStatusSchema>;
|
|
1877
|
+
declare const MachineControlUpdatedSchema: z.ZodObject<{
|
|
1878
|
+
eventId: z.ZodString;
|
|
1879
|
+
opCode: z.ZodString;
|
|
1880
|
+
target: z.ZodObject<{
|
|
1881
|
+
machineId: z.ZodString;
|
|
1882
|
+
cloudId: z.ZodOptional<z.ZodString>;
|
|
1883
|
+
}, z.core.$strip>;
|
|
1884
|
+
action: z.ZodLiteral<"upgrade-cli">;
|
|
1885
|
+
status: z.ZodEnum<{
|
|
1886
|
+
running: "running";
|
|
1887
|
+
failed: "failed";
|
|
1888
|
+
expired: "expired";
|
|
1889
|
+
succeeded: "succeeded";
|
|
1890
|
+
}>;
|
|
1891
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1892
|
+
result: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1893
|
+
errorCode: z.ZodOptional<z.ZodEnum<{
|
|
1894
|
+
machine_not_found: "machine_not_found";
|
|
1895
|
+
machine_offline: "machine_offline";
|
|
1896
|
+
forbidden: "forbidden";
|
|
1897
|
+
cloud_not_found: "cloud_not_found";
|
|
1898
|
+
cloud_inactive: "cloud_inactive";
|
|
1899
|
+
unsupported_operation: "unsupported_operation";
|
|
1900
|
+
capability_missing: "capability_missing";
|
|
1901
|
+
operation_busy: "operation_busy";
|
|
1902
|
+
operation_ack_timeout: "operation_ack_timeout";
|
|
1903
|
+
operation_failed: "operation_failed";
|
|
1904
|
+
operation_expired: "operation_expired";
|
|
1905
|
+
daemon_pending_restart: "daemon_pending_restart";
|
|
1906
|
+
daemon_control_busy: "daemon_control_busy";
|
|
1907
|
+
machine_not_ready: "machine_not_ready";
|
|
1908
|
+
}>>;
|
|
1909
|
+
updatedAt: z.ZodString;
|
|
1910
|
+
}, z.core.$strip>;
|
|
1911
|
+
type MachineControlUpdatedEventData = z.infer<typeof MachineControlUpdatedSchema>;
|
|
1912
|
+
interface MachineControlRelayContext {
|
|
1913
|
+
requestEventId: string;
|
|
1914
|
+
requesterUserId: string;
|
|
1915
|
+
target: MachineControlTarget;
|
|
1916
|
+
action: 'upgrade-cli';
|
|
1917
|
+
expiresAt: string;
|
|
1918
|
+
}
|
|
1919
|
+
|
|
1715
1920
|
/**
|
|
1716
1921
|
* WebSocket event schemas and mappings.
|
|
1717
1922
|
* Updated to carry custom task titles in task lifecycle events.
|
|
@@ -1782,14 +1987,14 @@ declare const AskUserMessageSchema: z.ZodObject<{
|
|
|
1782
1987
|
}, z.core.$strip>;
|
|
1783
1988
|
type AskUserMessage = z.infer<typeof AskUserMessageSchema>;
|
|
1784
1989
|
declare const AskUserResponseStatusSchema: z.ZodEnum<{
|
|
1990
|
+
timeout: "timeout";
|
|
1785
1991
|
answered: "answered";
|
|
1786
1992
|
cancelled: "cancelled";
|
|
1787
|
-
timeout: "timeout";
|
|
1788
1993
|
}>;
|
|
1789
1994
|
declare const AskUserResponseReasonSchema: z.ZodEnum<{
|
|
1790
|
-
timeout: "timeout";
|
|
1791
|
-
user: "user";
|
|
1792
1995
|
system: "system";
|
|
1996
|
+
user: "user";
|
|
1997
|
+
timeout: "timeout";
|
|
1793
1998
|
}>;
|
|
1794
1999
|
type AskUserResponseStatus = z.infer<typeof AskUserResponseStatusSchema>;
|
|
1795
2000
|
type AskUserResponseReason = z.infer<typeof AskUserResponseReasonSchema>;
|
|
@@ -1805,14 +2010,14 @@ declare const AskUserResponseMessageSchema: z.ZodObject<{
|
|
|
1805
2010
|
details: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1806
2011
|
rememberAnswers: z.ZodOptional<z.ZodArray<z.ZodBoolean>>;
|
|
1807
2012
|
status: z.ZodOptional<z.ZodEnum<{
|
|
2013
|
+
timeout: "timeout";
|
|
1808
2014
|
answered: "answered";
|
|
1809
2015
|
cancelled: "cancelled";
|
|
1810
|
-
timeout: "timeout";
|
|
1811
2016
|
}>>;
|
|
1812
2017
|
reason: z.ZodOptional<z.ZodEnum<{
|
|
1813
|
-
timeout: "timeout";
|
|
1814
|
-
user: "user";
|
|
1815
2018
|
system: "system";
|
|
2019
|
+
user: "user";
|
|
2020
|
+
timeout: "timeout";
|
|
1816
2021
|
}>>;
|
|
1817
2022
|
}, z.core.$strip>;
|
|
1818
2023
|
type AskUserResponseMessage = z.infer<typeof AskUserResponseMessageSchema>;
|
|
@@ -2380,10 +2585,10 @@ type PreviewProjectType = z.infer<typeof PreviewProjectTypeSchema>;
|
|
|
2380
2585
|
* Preview rendering method
|
|
2381
2586
|
*/
|
|
2382
2587
|
declare const PreviewMethodSchema: z.ZodEnum<{
|
|
2588
|
+
none: "none";
|
|
2383
2589
|
simple: "simple";
|
|
2384
2590
|
bundled: "bundled";
|
|
2385
2591
|
gallery: "gallery";
|
|
2386
|
-
none: "none";
|
|
2387
2592
|
}>;
|
|
2388
2593
|
type PreviewMethod = z.infer<typeof PreviewMethodSchema>;
|
|
2389
2594
|
/**
|
|
@@ -2400,10 +2605,10 @@ declare const PreviewMetadataSchema: z.ZodObject<{
|
|
|
2400
2605
|
nextjs: "nextjs";
|
|
2401
2606
|
}>;
|
|
2402
2607
|
previewMethod: z.ZodEnum<{
|
|
2608
|
+
none: "none";
|
|
2403
2609
|
simple: "simple";
|
|
2404
2610
|
bundled: "bundled";
|
|
2405
2611
|
gallery: "gallery";
|
|
2406
|
-
none: "none";
|
|
2407
2612
|
}>;
|
|
2408
2613
|
entryFile: z.ZodNullable<z.ZodString>;
|
|
2409
2614
|
projectPath: z.ZodString;
|
|
@@ -2437,10 +2642,10 @@ declare const TaskArtifactsSummarySchema: z.ZodObject<{
|
|
|
2437
2642
|
nextjs: "nextjs";
|
|
2438
2643
|
}>;
|
|
2439
2644
|
previewMethod: z.ZodEnum<{
|
|
2645
|
+
none: "none";
|
|
2440
2646
|
simple: "simple";
|
|
2441
2647
|
bundled: "bundled";
|
|
2442
2648
|
gallery: "gallery";
|
|
2443
|
-
none: "none";
|
|
2444
2649
|
}>;
|
|
2445
2650
|
entryFile: z.ZodNullable<z.ZodString>;
|
|
2446
2651
|
projectPath: z.ZodString;
|
|
@@ -2455,9 +2660,9 @@ declare const TaskMessageSchema: z.ZodObject<{
|
|
|
2455
2660
|
taskId: z.ZodString;
|
|
2456
2661
|
chatId: z.ZodOptional<z.ZodString>;
|
|
2457
2662
|
from: z.ZodEnum<{
|
|
2663
|
+
machine: "machine";
|
|
2458
2664
|
app: "app";
|
|
2459
2665
|
"api-server": "api-server";
|
|
2460
|
-
machine: "machine";
|
|
2461
2666
|
worker: "worker";
|
|
2462
2667
|
}>;
|
|
2463
2668
|
opCode: z.ZodOptional<z.ZodString>;
|
|
@@ -2468,8 +2673,8 @@ declare const TaskMessageSchema: z.ZodObject<{
|
|
|
2468
2673
|
encryptedMessage: z.ZodOptional<z.ZodString>;
|
|
2469
2674
|
agentId: z.ZodOptional<z.ZodString>;
|
|
2470
2675
|
senderType: z.ZodEnum<{
|
|
2471
|
-
system: "system";
|
|
2472
2676
|
human: "human";
|
|
2677
|
+
system: "system";
|
|
2473
2678
|
agent: "agent";
|
|
2474
2679
|
channel: "channel";
|
|
2475
2680
|
}>;
|
|
@@ -2497,10 +2702,10 @@ declare const TaskMessageSchema: z.ZodObject<{
|
|
|
2497
2702
|
nextjs: "nextjs";
|
|
2498
2703
|
}>;
|
|
2499
2704
|
previewMethod: z.ZodEnum<{
|
|
2705
|
+
none: "none";
|
|
2500
2706
|
simple: "simple";
|
|
2501
2707
|
bundled: "bundled";
|
|
2502
2708
|
gallery: "gallery";
|
|
2503
|
-
none: "none";
|
|
2504
2709
|
}>;
|
|
2505
2710
|
entryFile: z.ZodNullable<z.ZodString>;
|
|
2506
2711
|
projectPath: z.ZodString;
|
|
@@ -2620,8 +2825,8 @@ declare const RtcSignalSchema: z.ZodObject<{
|
|
|
2620
2825
|
machineId: z.ZodString;
|
|
2621
2826
|
sessionId: z.ZodString;
|
|
2622
2827
|
from: z.ZodEnum<{
|
|
2623
|
-
app: "app";
|
|
2624
2828
|
machine: "machine";
|
|
2829
|
+
app: "app";
|
|
2625
2830
|
}>;
|
|
2626
2831
|
signal: z.ZodAny;
|
|
2627
2832
|
userId: z.ZodOptional<z.ZodString>;
|
|
@@ -2775,10 +2980,10 @@ declare const SubTaskResultUpdatedEventSchema: z.ZodObject<{
|
|
|
2775
2980
|
nextjs: "nextjs";
|
|
2776
2981
|
}>;
|
|
2777
2982
|
previewMethod: z.ZodEnum<{
|
|
2983
|
+
none: "none";
|
|
2778
2984
|
simple: "simple";
|
|
2779
2985
|
bundled: "bundled";
|
|
2780
2986
|
gallery: "gallery";
|
|
2781
|
-
none: "none";
|
|
2782
2987
|
}>;
|
|
2783
2988
|
entryFile: z.ZodNullable<z.ZodString>;
|
|
2784
2989
|
projectPath: z.ZodString;
|
|
@@ -3342,6 +3547,7 @@ declare const CompanionInitRequestSchema: z.ZodObject<{
|
|
|
3342
3547
|
machineId: z.ZodString;
|
|
3343
3548
|
agentId: z.ZodString;
|
|
3344
3549
|
chatId: z.ZodString;
|
|
3550
|
+
chatTaskId: z.ZodOptional<z.ZodString>;
|
|
3345
3551
|
userId: z.ZodString;
|
|
3346
3552
|
}, z.core.$strip>;
|
|
3347
3553
|
type CompanionInitRequestData = z.infer<typeof CompanionInitRequestSchema>;
|
|
@@ -3355,7 +3561,7 @@ declare const ResetTaskSessionSchema: z.ZodObject<{
|
|
|
3355
3561
|
taskId: z.ZodString;
|
|
3356
3562
|
}, z.core.$strip>;
|
|
3357
3563
|
type ResetTaskSessionEventData = z.infer<typeof ResetTaskSessionSchema>;
|
|
3358
|
-
type EventData = AppAliveEventData | ApiServerAliveEventData | MachineAliveEventData | ShutdownMachineData | WorkerInitializingEventData | WorkerInitializedEventData | WorkerReadyEventData | WorkerAliveEventData | WorkerExitEventData | WorkerRunningEventData | WorkerPermissionModeEventData | WorkerStatusRequestEventData | ChatWorkersStatusRequestEventData | ChatWorkersStatusResponseEventData | CreateTaskEventData | ResumeTaskEventData | CancelTaskEventData | StopTaskEventData | TaskMessageEventData | ChangeTaskTitleEventData | TaskStateChangeEventData | UpdateTaskAgentSessionIdEventData | TaskInfoUpdateEventData | TaskSlashCommandsUpdateEventData | MergeRequestEventData | TaskStoppedEventData | SubTaskResultUpdatedEventData | SubTaskAskUserEventData | SystemMessageEventData | CreditExhaustedEventData | RtcIceServersRequestEventData | RtcIceServersResponseEventData | MachineRtcRequestEventData | MachineRtcResponseEventData | RtcSignalEventData | WorkspaceFileRequestEventData | WorkspaceFileResponseEventData | UpdateAgentInfoEventData | MachineRpcCallEventData | DaemonGitlabRequestEventData | DaemonGitlabResponseEventData | CompanionHeartbeatRequestData | CompanionHeartbeatResponseData | CompanionInitRequestData | CompanionInitResponseData | ResetTaskSessionEventData | HiveInstallEventData | HiveInstallCompleteEventData | SeqSyncRequestEventData | SeqSyncResponseEventData;
|
|
3564
|
+
type EventData = AppAliveEventData | ApiServerAliveEventData | MachineAliveEventData | MachineActionRequestEventData | MachineControlCommandEventData | MachineControlProgressEventData | MachineControlUpdatedEventData | ShutdownMachineData | WorkerInitializingEventData | WorkerInitializedEventData | WorkerReadyEventData | WorkerAliveEventData | WorkerExitEventData | WorkerRunningEventData | WorkerPermissionModeEventData | WorkerStatusRequestEventData | ChatWorkersStatusRequestEventData | ChatWorkersStatusResponseEventData | CreateTaskEventData | ResumeTaskEventData | CancelTaskEventData | StopTaskEventData | TaskMessageEventData | ChangeTaskTitleEventData | TaskStateChangeEventData | UpdateTaskAgentSessionIdEventData | TaskInfoUpdateEventData | TaskSlashCommandsUpdateEventData | MergeRequestEventData | TaskStoppedEventData | SubTaskResultUpdatedEventData | SubTaskAskUserEventData | SystemMessageEventData | CreditExhaustedEventData | RtcIceServersRequestEventData | RtcIceServersResponseEventData | MachineRtcRequestEventData | MachineRtcResponseEventData | RtcSignalEventData | WorkspaceFileRequestEventData | WorkspaceFileResponseEventData | UpdateAgentInfoEventData | MachineRpcCallEventData | DaemonGitlabRequestEventData | DaemonGitlabResponseEventData | CompanionHeartbeatRequestData | CompanionHeartbeatResponseData | CompanionInitRequestData | CompanionInitResponseData | ResetTaskSessionEventData | HiveInstallEventData | HiveInstallCompleteEventData | SeqSyncRequestEventData | SeqSyncResponseEventData;
|
|
3359
3565
|
declare const SeqSyncRequestEventDataSchema: z.ZodObject<{
|
|
3360
3566
|
eventId: z.ZodString;
|
|
3361
3567
|
tasks: z.ZodArray<z.ZodObject<{
|
|
@@ -3377,6 +3583,10 @@ type EventMap = {
|
|
|
3377
3583
|
"api-server-alive": ApiServerAliveEventData;
|
|
3378
3584
|
"machine-alive": MachineAliveEventData;
|
|
3379
3585
|
"list-models": ListModelsEventData;
|
|
3586
|
+
"machine-action-request": MachineActionRequestEventData;
|
|
3587
|
+
"machine-control-command": MachineControlCommandEventData;
|
|
3588
|
+
"machine-control-progress": MachineControlProgressEventData;
|
|
3589
|
+
"machine-control-updated": MachineControlUpdatedEventData;
|
|
3380
3590
|
"worker-initializing": WorkerInitializingEventData;
|
|
3381
3591
|
"worker-initialized": WorkerInitializedEventData;
|
|
3382
3592
|
"worker-ready": WorkerReadyEventData;
|
|
@@ -3923,5 +4133,5 @@ declare class MissingAgentFileError extends AgentError {
|
|
|
3923
4133
|
constructor(filePath: string);
|
|
3924
4134
|
}
|
|
3925
4135
|
|
|
3926
|
-
export { permissionResponseRequestSchema as $, ListTasksResponseSchema as A, DEFAULT_WORKER_EXECUTION_MODE as D, EnsureIssueRootTaskRequestSchema as E, resumeTaskRequestSchema as F, ResumeTaskResponseSchema as G, CancelTaskRequestSchema as I, cancelTaskRequestSchema as K, ListTasksRequestSchema as L, CancelTaskResponseSchema as M, StopTaskRequestSchema as O, ResumeTaskRequestSchema as R, StartTaskRequestSchema as S, UpdateTaskPreviewUrlRequestSchema as U, stopTaskRequestSchema as V, StopTaskResponseSchema as X, PermissionResponseRequestSchema as Z, WorkerExecutionModeSchema as a, FindTaskByAgentRequestSchema as a$, PermissionResponseResponseSchema as a0, ProjectEntrySchema as a2, ProjectDirectoryResponseSchema as a4, QueryEventsRequestSchema as a6, UpdateTaskTitleResponseSchema as aA, UpdateTaskPreviewUrlResponseSchema as aC, SendTaskMessageRequestSchema as aF, SendTaskMessageResponseSchema as aH, ShowModalRequestSchema as aJ, ShowModalResponseSchema as aL, GetTaskSessionResponseSchema as aN, ListSubTasksRequestSchema as aP, SubTaskSummarySchema as aR, ListSubTasksResponseSchema as aT, ListRecentTasksRequestSchema as aV, RecentTaskSummarySchema as aX, ListRecentTasksResponseSchema as aZ, FillEventsRequestSchema as aa, CreateMergeRequestSchema as ad, createMergeRequestSchema as af, CreateMergeRequestResponseSchema as ag, ApprovePrRequestSchema as ai, ApprovePrResponseSchema as ak, CreateTaskShareSchema as am, CreateTaskShareResponseSchema as ao, ArchiveTaskRequestSchema as aq, ArchiveTaskResponseSchema as as, UnarchiveTaskRequestSchema as au, UnarchiveTaskResponseSchema as aw, UpdateTaskTitleRequestSchema as ay, SyncAvailableEventSchema as b$, FindTaskByAgentResponseSchema as b1, HiveListingTypeSchema as b3, HiveAuthorTypeSchema as b5, HiveListingStatusSchema as b7, HiveSortSchema as b9, CreateHiveReviewRequestSchema as bB, UpdateHiveReviewRequestSchema as bD, HiveReviewListResponseSchema as bF, HiveCommentSchema as bH, CreateHiveCommentRequestSchema as bJ, UpdateHiveCommentRequestSchema as bL, HiveCommentListResponseSchema as bN, HiveInstalledItemSchema as bP, HiveInstalledResponseSchema as bR, HiveMyListingsResponseSchema as bT, SyncStreamTypeSchema as bV, GetStreamVersionQuerySchema as bX, StreamVersionResponseSchema as bZ, HiveListingSchema as bb, PublishToHiveRequestSchema as bd, PublishToHiveResponseSchema as bf, HiveListQuerySchema as bh, HiveListResponseSchema as bj, UpdateHiveListingRequestSchema as bl, UpdateHiveVersionRequestSchema as bn, HiveInstallRequestSchema as bp, HiveInstallSchema as br, HiveInstallResponseSchema as bt, RecordHiveInstallRequestSchema as bv, RecordHiveInstallResponseSchema as bx, HiveReviewSchema as bz, isLocalTaskExecution as c, ChatWorkersStatusResponseSchema as c$, AskUserOptionSchema as c1, AskUserQuestionSchema as c3, AskUserMessageSchema as c5, AskUserResponseStatusSchema as c7, AskUserResponseReasonSchema as c8, WorkerInitializingSchema as cB, WorkerInitializedSchema as cD, WorkerPermissionModeValueSchema as cF, WorkerReadySchema as cH, ActiveAgentSchema as cJ, WorkerAliveEventSchema as cL, WorkerExitSchema as cN, WorkerRunningSchema as cP, WorkerPermissionModeSchema as cR, WorkerStatusRequestSchema as cT, WorkerStatusValueSchema as cV, WorkerStatusSnapshotSchema as cX, ChatWorkersStatusRequestSchema as cZ, AskUserResponseMessageSchema as cb, TaskAgentInfoSchema as ch, isAskUserMessage as cj, isAskUserResponseMessage as ck, isCompanionHeartbeatMessage as cl, isCompanionReminderMessage as cm, isSubTaskAskUserMessage as cn, isSDKMessage as co, isSDKUserMessage as cp, createEventId as cq, EventAckSchema as cr, AppAliveEventSchema as ct, ApiServerAliveEventSchema as cv, MachineAliveEventSchema as cx, ShutdownMachineSchema as cz, getTaskExecutionMachineRouteId as d, TaskStoppedEventSchema as d$, ListModelsEventSchema as d1, baseTaskSchema as d3, createTaskSchema as d4, resumeTaskSchema as d6, cancelTaskSchema as d8, RtcIceServerSchema as dB, RtcIceServersRequestSchema as dD, RtcIceServersResponseSchema as dF, MachineRtcRequestSchema as dH, MachineRtcResponseSchema as dJ, RtcSignalSchema as dL, WorkspaceFileRequestSchema as dN, WorkspaceFileResponseSchema as dP, UpdateTaskAgentSessionIdEventSchema as dR, TaskInfoUpdateEventDataSchema as dT, TaskSlashCommandSchema as dV, TaskSlashCommandsUpdateEventDataSchema as dX, MergeRequestEventSchema as dZ, StopTaskSchema as da, TaskArtifactsStatsSchema as dc, PreviewProjectTypeSchema as de, PreviewMethodSchema as dg, PreviewMetadataSchema as di, TaskArtifactsSummarySchema as dj, TaskMessageSchema as dl, TaskModelUsageSchema as dn, TaskUsageReportEventSchema as dq, ShowModalEventDataSchema as dt, ChangeTaskTitleEventSchema as dv, TaskStateChangeEventSchema as dx, CreditExhaustedEventSchema as dz, TaskTodoSchema as e, SubTaskResultUpdatedEventSchema as e1, SubTaskAskUserEventSchema as e3, MergePullRequestEventSchema as e5, DeployAgentEventSchema as e8, CompanionHeartbeatRequestSchema as eB, CompanionHeartbeatResponseSchema as eD, CompanionInitRequestSchema as eF, CompanionInitResponseSchema as eH, ResetTaskSessionSchema as eJ, SeqSyncRequestEventDataSchema as eM, SeqSyncResponseEventDataSchema as eO, EventSchemaMap as eS, workerTaskEvents as eU,
|
|
3927
|
-
export type { ListTasksResponse as B, ResumeTaskRequest as C, ResumeTaskResponse as H, CancelTaskRequest as J, CancelTaskResponse as N, PreviewMetadata as P, StopTaskRequest as Q, TaskExecutionMode as T, WorkerExecutionMode as W, StopTaskResponse as Y, PermissionResponseRequest as _, PermissionResponseResponse as a1, ProjectEntry as a3, ProjectDirectoryResponse as a5, QueryEventsRequest as a7, TaskEvent as a8, QueryEventsResponse as a9, UpdateTaskTitleResponse as aB, UpdateTaskPreviewUrlResponse as aD, SendMessageTarget as aE, SendTaskMessageRequest as aG, SendTaskMessageResponse as aI, ShowModalRequest as aK, ShowModalResponse as aM, GetTaskSessionResponse as aO, ListSubTasksRequest as aQ, SubTaskSummary as aS, ListSubTasksResponse as aU, ListRecentTasksRequest as aW, RecentTaskSummary as aY, ListRecentTasksResponse as a_, FillEventsRequest as ab, FillEventsResponse as ac, CreateMergeRequestRequest as ae, CreateMergeRequestResponse as ah, ApprovePrRequest as aj, ApprovePrResponse as al, CreateTaskShareRequest as an, CreateTaskShareResponse as ap, ArchiveTaskRequest as ar, ArchiveTaskResponse as at, UnarchiveTaskRequest as av, UnarchiveTaskResponse as ax, UpdateTaskTitleRequest as az, TaskExecutionTarget as b, FindTaskByAgentRequest as b0, FindTaskByAgentResponse as b2, HiveListingType as b4, HiveAuthorType as b6, HiveListingStatus as b8, HiveReview as bA, CreateHiveReviewRequest as bC, UpdateHiveReviewRequest as bE, HiveReviewListResponse as bG, HiveComment as bI, CreateHiveCommentRequest as bK, UpdateHiveCommentRequest as bM, HiveCommentListResponse as bO, HiveInstalledItem as bQ, HiveInstalledResponse as bS, HiveMyListingsResponse as bU, SyncStreamType as bW, GetStreamVersionQuery as bY, StreamVersionResponse as b_, HiveSort as ba, HiveListing as bc, PublishToHiveRequest as be, PublishToHiveResponse as bg, HiveListQuery as bi, HiveListResponse as bk, UpdateHiveListingRequest as bm, UpdateHiveVersionRequest as bo, HiveInstallRequest as bq, HiveInstall as bs, HiveInstallResponse as bu, RecordHiveInstallRequest as bw, RecordHiveInstallResponse as by, SyncAvailableEvent as c0, AskUserOption as c2, AskUserQuestion as c4, AskUserMessage as c6, AskUserResponseStatus as c9, ShutdownMachineData as cA, WorkerInitializingEventData as cC, WorkerInitializedEventData as cE, WorkerPermissionModeValue as cG, WorkerReadyEventData as cI, ActiveAgent as cK, WorkerAliveEventData as cM, WorkerExitEventData as cO, WorkerRunningEventData as cQ, WorkerPermissionModeEventData as cS, WorkerStatusRequestEventData as cU, WorkerStatusValue as cW, WorkerStatusSnapshot as cY, ChatWorkersStatusRequestEventData as c_, AskUserResponseReason as ca, AskUserResponseMessage as cc, CompanionHeartbeatMessage as cd, CompanionReminderMessage as ce, SubTaskAskUserMessage as cf, TaskMessagePayload as cg, TaskAgentInfo as ci, EventAckData as cs, AppAliveEventData as cu, ApiServerAliveEventData as cw, MachineAliveEventData as cy, ChatWorkersStatusResponseEventData as d0, ListModelsEventData as d2, CreateTaskEventData as d5, ResumeTaskEventData as d7, CancelTaskEventData as d9, CreditExhaustedEventData as dA, RtcIceServer as dC, RtcIceServersRequestEventData as dE, RtcIceServersResponseEventData as dG, MachineRtcRequestEventData as dI, MachineRtcResponseEventData as dK, RtcSignalEventData as dM, WorkspaceFileRequestEventData as dO, WorkspaceFileResponseEventData as dQ, UpdateTaskAgentSessionIdEventData as dS, TaskInfoUpdateEventData as dU, TaskSlashCommand as dW, TaskSlashCommandsUpdateEventData as dY, MergeRequestEventData as d_, StopTaskEventData as db, TaskArtifactsStats as dd, PreviewProjectType as df, PreviewMethod as dh, TaskArtifactsSummary as dk, TaskMessageEventData as dm, TaskModelUsage as dp, TaskUsageReportEventData as dr, TaskState as ds, ShowModalEventData as du, ChangeTaskTitleEventData as dw, TaskStateChangeEventData as dy,
|
|
4136
|
+
export { permissionResponseRequestSchema as $, ListTasksResponseSchema as A, DEFAULT_WORKER_EXECUTION_MODE as D, EnsureIssueRootTaskRequestSchema as E, resumeTaskRequestSchema as F, ResumeTaskResponseSchema as G, CancelTaskRequestSchema as I, cancelTaskRequestSchema as K, ListTasksRequestSchema as L, CancelTaskResponseSchema as M, StopTaskRequestSchema as O, ResumeTaskRequestSchema as R, StartTaskRequestSchema as S, UpdateTaskPreviewUrlRequestSchema as U, stopTaskRequestSchema as V, StopTaskResponseSchema as X, PermissionResponseRequestSchema as Z, WorkerExecutionModeSchema as a, FindTaskByAgentRequestSchema as a$, PermissionResponseResponseSchema as a0, ProjectEntrySchema as a2, ProjectDirectoryResponseSchema as a4, QueryEventsRequestSchema as a6, UpdateTaskTitleResponseSchema as aA, UpdateTaskPreviewUrlResponseSchema as aC, SendTaskMessageRequestSchema as aF, SendTaskMessageResponseSchema as aH, ShowModalRequestSchema as aJ, ShowModalResponseSchema as aL, GetTaskSessionResponseSchema as aN, ListSubTasksRequestSchema as aP, SubTaskSummarySchema as aR, ListSubTasksResponseSchema as aT, ListRecentTasksRequestSchema as aV, RecentTaskSummarySchema as aX, ListRecentTasksResponseSchema as aZ, FillEventsRequestSchema as aa, CreateMergeRequestSchema as ad, createMergeRequestSchema as af, CreateMergeRequestResponseSchema as ag, ApprovePrRequestSchema as ai, ApprovePrResponseSchema as ak, CreateTaskShareSchema as am, CreateTaskShareResponseSchema as ao, ArchiveTaskRequestSchema as aq, ArchiveTaskResponseSchema as as, UnarchiveTaskRequestSchema as au, UnarchiveTaskResponseSchema as aw, UpdateTaskTitleRequestSchema as ay, SyncAvailableEventSchema as b$, FindTaskByAgentResponseSchema as b1, HiveListingTypeSchema as b3, HiveAuthorTypeSchema as b5, HiveListingStatusSchema as b7, HiveSortSchema as b9, CreateHiveReviewRequestSchema as bB, UpdateHiveReviewRequestSchema as bD, HiveReviewListResponseSchema as bF, HiveCommentSchema as bH, CreateHiveCommentRequestSchema as bJ, UpdateHiveCommentRequestSchema as bL, HiveCommentListResponseSchema as bN, HiveInstalledItemSchema as bP, HiveInstalledResponseSchema as bR, HiveMyListingsResponseSchema as bT, SyncStreamTypeSchema as bV, GetStreamVersionQuerySchema as bX, StreamVersionResponseSchema as bZ, HiveListingSchema as bb, PublishToHiveRequestSchema as bd, PublishToHiveResponseSchema as bf, HiveListQuerySchema as bh, HiveListResponseSchema as bj, UpdateHiveListingRequestSchema as bl, UpdateHiveVersionRequestSchema as bn, HiveInstallRequestSchema as bp, HiveInstallSchema as br, HiveInstallResponseSchema as bt, RecordHiveInstallRequestSchema as bv, RecordHiveInstallResponseSchema as bx, HiveReviewSchema as bz, isLocalTaskExecution as c, ChatWorkersStatusResponseSchema as c$, AskUserOptionSchema as c1, AskUserQuestionSchema as c3, AskUserMessageSchema as c5, AskUserResponseStatusSchema as c7, AskUserResponseReasonSchema as c8, WorkerInitializingSchema as cB, WorkerInitializedSchema as cD, WorkerPermissionModeValueSchema as cF, WorkerReadySchema as cH, ActiveAgentSchema as cJ, WorkerAliveEventSchema as cL, WorkerExitSchema as cN, WorkerRunningSchema as cP, WorkerPermissionModeSchema as cR, WorkerStatusRequestSchema as cT, WorkerStatusValueSchema as cV, WorkerStatusSnapshotSchema as cX, ChatWorkersStatusRequestSchema as cZ, AskUserResponseMessageSchema as cb, TaskAgentInfoSchema as ch, isAskUserMessage as cj, isAskUserResponseMessage as ck, isCompanionHeartbeatMessage as cl, isCompanionReminderMessage as cm, isSubTaskAskUserMessage as cn, isSDKMessage as co, isSDKUserMessage as cp, createEventId as cq, EventAckSchema as cr, AppAliveEventSchema as ct, ApiServerAliveEventSchema as cv, MachineAliveEventSchema as cx, ShutdownMachineSchema as cz, getTaskExecutionMachineRouteId as d, TaskStoppedEventSchema as d$, ListModelsEventSchema as d1, baseTaskSchema as d3, createTaskSchema as d4, resumeTaskSchema as d6, cancelTaskSchema as d8, RtcIceServerSchema as dB, RtcIceServersRequestSchema as dD, RtcIceServersResponseSchema as dF, MachineRtcRequestSchema as dH, MachineRtcResponseSchema as dJ, RtcSignalSchema as dL, WorkspaceFileRequestSchema as dN, WorkspaceFileResponseSchema as dP, UpdateTaskAgentSessionIdEventSchema as dR, TaskInfoUpdateEventDataSchema as dT, TaskSlashCommandSchema as dV, TaskSlashCommandsUpdateEventDataSchema as dX, MergeRequestEventSchema as dZ, StopTaskSchema as da, TaskArtifactsStatsSchema as dc, PreviewProjectTypeSchema as de, PreviewMethodSchema as dg, PreviewMetadataSchema as di, TaskArtifactsSummarySchema as dj, TaskMessageSchema as dl, TaskModelUsageSchema as dn, TaskUsageReportEventSchema as dq, ShowModalEventDataSchema as dt, ChangeTaskTitleEventSchema as dv, TaskStateChangeEventSchema as dx, CreditExhaustedEventSchema as dz, TaskTodoSchema as e, MachineControlPingResultSchema as e$, SubTaskResultUpdatedEventSchema as e1, SubTaskAskUserEventSchema as e3, MergePullRequestEventSchema as e5, DeployAgentEventSchema as e8, CompanionHeartbeatRequestSchema as eB, CompanionHeartbeatResponseSchema as eD, CompanionInitRequestSchema as eF, CompanionInitResponseSchema as eH, ResetTaskSessionSchema as eJ, SeqSyncRequestEventDataSchema as eM, SeqSyncResponseEventDataSchema as eO, EventSchemaMap as eS, workerTaskEvents as eU, MachineControlActionSchema as eV, MachineControlTargetSchema as eX, MachineControlErrorCodeSchema as eZ, DeployAgentCompleteEventSchema as ea, HivePublishEventSchema as ec, HivePublishCompleteEventSchema as ee, HiveInstallEventSchema as eg, HiveInstallCompleteEventSchema as ei, AssociateRepoEventDataSchema as ek, UpdateAgentInfoEventSchema as el, SystemMessageSchema as eq, DaemonGitlabOperationSchema as es, DaemonGitlabRequestSchema as eu, DaemonGitlabResponseSchema as ew, RepositoryInboxProviderSchema as ey, RepositoryInboxWebhookSchema as ez, MachineActionRequestSchema as f1, MachineActionPendingSchema as f3, ExecuteMachineActionResponseSchema as f5, MachineControlCommandSchema as f7, MachineControlProgressStatusSchema as f9, FRAMEWORK_TYPES as fA, AgentMetadataSchema as fB, ClaudeConfigSchema as fC, AgentError as fD, AgentNotFoundError as fE, AgentConfigValidationError as fF, FrameworkNotSupportedError as fG, AgentLoadError as fH, MissingAgentFileError as fI, MachineControlProgressSchema as fb, MachineControlUpdatedStatusSchema as fd, MachineControlUpdatedSchema as ff, RpcCallEventSchema as fi, MachineRpcCallEventSchema as fk, RpcResponseSchema as fm, setAgentContext as fq, getAgentContext as fr, getTaskExecutionMode as g, TaskUsageSummarySchema as h, isCloudTaskExecution as i, TaskPreviewUrlSchema as k, normalizeWorkerExecutionMode as n, startTaskSchema as o, StartTaskResponseSchema as p, supportsTaskUserCwd as s, taskExecutionModes as t, TaskItemSchema as u, workerExecutionModes as w, EnsureIssueRootTaskResponseSchema as x };
|
|
4137
|
+
export type { ListTasksResponse as B, ResumeTaskRequest as C, ResumeTaskResponse as H, CancelTaskRequest as J, CancelTaskResponse as N, PreviewMetadata as P, StopTaskRequest as Q, TaskExecutionMode as T, WorkerExecutionMode as W, StopTaskResponse as Y, PermissionResponseRequest as _, PermissionResponseResponse as a1, ProjectEntry as a3, ProjectDirectoryResponse as a5, QueryEventsRequest as a7, TaskEvent as a8, QueryEventsResponse as a9, UpdateTaskTitleResponse as aB, UpdateTaskPreviewUrlResponse as aD, SendMessageTarget as aE, SendTaskMessageRequest as aG, SendTaskMessageResponse as aI, ShowModalRequest as aK, ShowModalResponse as aM, GetTaskSessionResponse as aO, ListSubTasksRequest as aQ, SubTaskSummary as aS, ListSubTasksResponse as aU, ListRecentTasksRequest as aW, RecentTaskSummary as aY, ListRecentTasksResponse as a_, FillEventsRequest as ab, FillEventsResponse as ac, CreateMergeRequestRequest as ae, CreateMergeRequestResponse as ah, ApprovePrRequest as aj, ApprovePrResponse as al, CreateTaskShareRequest as an, CreateTaskShareResponse as ap, ArchiveTaskRequest as ar, ArchiveTaskResponse as at, UnarchiveTaskRequest as av, UnarchiveTaskResponse as ax, UpdateTaskTitleRequest as az, TaskExecutionTarget as b, FindTaskByAgentRequest as b0, FindTaskByAgentResponse as b2, HiveListingType as b4, HiveAuthorType as b6, HiveListingStatus as b8, HiveReview as bA, CreateHiveReviewRequest as bC, UpdateHiveReviewRequest as bE, HiveReviewListResponse as bG, HiveComment as bI, CreateHiveCommentRequest as bK, UpdateHiveCommentRequest as bM, HiveCommentListResponse as bO, HiveInstalledItem as bQ, HiveInstalledResponse as bS, HiveMyListingsResponse as bU, SyncStreamType as bW, GetStreamVersionQuery as bY, StreamVersionResponse as b_, HiveSort as ba, HiveListing as bc, PublishToHiveRequest as be, PublishToHiveResponse as bg, HiveListQuery as bi, HiveListResponse as bk, UpdateHiveListingRequest as bm, UpdateHiveVersionRequest as bo, HiveInstallRequest as bq, HiveInstall as bs, HiveInstallResponse as bu, RecordHiveInstallRequest as bw, RecordHiveInstallResponse as by, SyncAvailableEvent as c0, AskUserOption as c2, AskUserQuestion as c4, AskUserMessage as c6, AskUserResponseStatus as c9, ShutdownMachineData as cA, WorkerInitializingEventData as cC, WorkerInitializedEventData as cE, WorkerPermissionModeValue as cG, WorkerReadyEventData as cI, ActiveAgent as cK, WorkerAliveEventData as cM, WorkerExitEventData as cO, WorkerRunningEventData as cQ, WorkerPermissionModeEventData as cS, WorkerStatusRequestEventData as cU, WorkerStatusValue as cW, WorkerStatusSnapshot as cY, ChatWorkersStatusRequestEventData as c_, AskUserResponseReason as ca, AskUserResponseMessage as cc, CompanionHeartbeatMessage as cd, CompanionReminderMessage as ce, SubTaskAskUserMessage as cf, TaskMessagePayload as cg, TaskAgentInfo as ci, EventAckData as cs, AppAliveEventData as cu, ApiServerAliveEventData as cw, MachineAliveEventData as cy, ChatWorkersStatusResponseEventData as d0, ListModelsEventData as d2, CreateTaskEventData as d5, ResumeTaskEventData as d7, CancelTaskEventData as d9, CreditExhaustedEventData as dA, RtcIceServer as dC, RtcIceServersRequestEventData as dE, RtcIceServersResponseEventData as dG, MachineRtcRequestEventData as dI, MachineRtcResponseEventData as dK, RtcSignalEventData as dM, WorkspaceFileRequestEventData as dO, WorkspaceFileResponseEventData as dQ, UpdateTaskAgentSessionIdEventData as dS, TaskInfoUpdateEventData as dU, TaskSlashCommand as dW, TaskSlashCommandsUpdateEventData as dY, MergeRequestEventData as d_, StopTaskEventData as db, TaskArtifactsStats as dd, PreviewProjectType as df, PreviewMethod as dh, TaskArtifactsSummary as dk, TaskMessageEventData as dm, TaskModelUsage as dp, TaskUsageReportEventData as dr, TaskState as ds, ShowModalEventData as du, ChangeTaskTitleEventData as dw, TaskStateChangeEventData as dy, TaskStoppedEventData as e0, SubTaskResultUpdatedEventData as e2, SubTaskAskUserEventData as e4, MergePullRequestEventData as e6, MergePullRequestAck as e7, DeployAgentEventData as e9, RepositoryInboxWebhookEventData as eA, CompanionHeartbeatRequestData as eC, CompanionHeartbeatResponseData as eE, CompanionInitRequestData as eG, CompanionInitResponseData as eI, ResetTaskSessionEventData as eK, EventData as eL, SeqSyncRequestEventData as eN, SeqSyncResponseEventData as eP, EventMap as eQ, EventName as eR, WorkerTaskEvent as eT, MachineControlAction as eW, MachineControlTarget as eY, MachineControlErrorCode as e_, DeployAgentCompleteEventData as eb, HivePublishEventData as ed, HivePublishCompleteEventData as ef, HiveInstallEventData as eh, HiveInstallCompleteEventData as ej, UpdateAgentInfoEventData as em, AssociateRepoEventData as en, SystemMessageType as eo, PrStateChangedData as ep, SystemMessageEventData as er, DaemonGitlabOperation as et, DaemonGitlabRequestEventData as ev, DaemonGitlabResponseEventData as ex, TaskTodo as f, MachineControlPingResult as f0, MachineActionRequestEventData as f2, MachineActionPending as f4, ExecuteMachineActionResponse as f6, MachineControlCommandEventData as f8, MachineControlProgressStatus as fa, MachineControlProgressEventData as fc, MachineControlUpdatedStatus as fe, MachineControlUpdatedEventData as fg, MachineControlRelayContext as fh, RpcCallEventData as fj, MachineRpcCallEventData as fl, RpcResponseData as fn, AgentContext as fo, AgentrixContext as fp, FrameworkType as fs, AgentMetadata as ft, ClaudeAgentConfig as fu, AgentConfig as fv, ValidationResult as fw, LoadAgentOptions as fx, RepositoryInitHookInput as fy, HookFactory as fz, TaskUsageSummary as j, UpdateTaskPreviewUrlRequest as l, StartTaskRequest as m, StartTaskResponse as q, EnsureIssueRootTaskRequest as r, TaskItem as v, EnsureIssueRootTaskResponse as y, ListTasksRequest as z };
|
package/dist/index.cjs
CHANGED
|
@@ -1064,7 +1064,7 @@ const SyncMachineRequestSchema = zod.z.object({
|
|
|
1064
1064
|
metadata: zod.z.string(),
|
|
1065
1065
|
// Encrypted metadata (or plaintext JSON for cloud/local-debug modes)
|
|
1066
1066
|
dataEncryptionKey: zod.z.string().optional()
|
|
1067
|
-
// Encrypted machine encryption key (
|
|
1067
|
+
// Encrypted machine encryption key (sent when binding/updating local machine access)
|
|
1068
1068
|
});
|
|
1069
1069
|
const SyncLocalMachineResponseSchema = zod.z.object({
|
|
1070
1070
|
machine: zod.z.object({
|
|
@@ -1701,6 +1701,9 @@ const PrivateCloudMemberSchema = zod.z.object({
|
|
|
1701
1701
|
const ListPrivateCloudMembersResponseSchema = zod.z.object({
|
|
1702
1702
|
members: zod.z.array(PrivateCloudMemberSchema)
|
|
1703
1703
|
});
|
|
1704
|
+
const ListPrivateCloudMachinesResponseSchema = zod.z.object({
|
|
1705
|
+
machines: zod.z.array(CloudMachineSchema)
|
|
1706
|
+
});
|
|
1704
1707
|
const RemovePrivateCloudMemberResponseSchema = SimpleSuccessSchema;
|
|
1705
1708
|
const GetPrivateCloudRunnerSecretResponseSchema = zod.z.object({
|
|
1706
1709
|
secret: zod.z.string()
|
|
@@ -2195,6 +2198,91 @@ const RpcResponseSchema = zod.z.object({
|
|
|
2195
2198
|
}).optional()
|
|
2196
2199
|
});
|
|
2197
2200
|
|
|
2201
|
+
const EventBaseSchema$1 = zod.z.object({
|
|
2202
|
+
eventId: zod.z.string()
|
|
2203
|
+
});
|
|
2204
|
+
const MachineControlActionSchema = zod.z.enum(["ping", "upgrade-cli"]);
|
|
2205
|
+
const MachineControlTargetSchema = zod.z.object({
|
|
2206
|
+
machineId: zod.z.string().min(1),
|
|
2207
|
+
cloudId: zod.z.string().min(1).optional()
|
|
2208
|
+
});
|
|
2209
|
+
const MachineControlErrorCodeSchema = zod.z.enum([
|
|
2210
|
+
"machine_not_found",
|
|
2211
|
+
"machine_offline",
|
|
2212
|
+
"forbidden",
|
|
2213
|
+
"cloud_not_found",
|
|
2214
|
+
"cloud_inactive",
|
|
2215
|
+
"unsupported_operation",
|
|
2216
|
+
"capability_missing",
|
|
2217
|
+
"operation_busy",
|
|
2218
|
+
"operation_ack_timeout",
|
|
2219
|
+
"operation_failed",
|
|
2220
|
+
"operation_expired",
|
|
2221
|
+
"daemon_pending_restart",
|
|
2222
|
+
"daemon_control_busy",
|
|
2223
|
+
"machine_not_ready"
|
|
2224
|
+
]);
|
|
2225
|
+
const MachineControlPingResultSchema = zod.z.object({
|
|
2226
|
+
machineId: zod.z.string(),
|
|
2227
|
+
runningCliVersion: zod.z.string().optional(),
|
|
2228
|
+
installedCliVersion: zod.z.string().optional(),
|
|
2229
|
+
restartRequired: zod.z.boolean(),
|
|
2230
|
+
restartPending: zod.z.boolean(),
|
|
2231
|
+
platform: zod.z.string(),
|
|
2232
|
+
uptimeMs: zod.z.number().nonnegative(),
|
|
2233
|
+
activeSessions: zod.z.number().int().nonnegative(),
|
|
2234
|
+
capabilities: zod.z.array(MachineControlActionSchema)
|
|
2235
|
+
});
|
|
2236
|
+
const MachineActionRequestSchema = EventBaseSchema$1.extend({
|
|
2237
|
+
target: MachineControlTargetSchema,
|
|
2238
|
+
action: MachineControlActionSchema,
|
|
2239
|
+
params: zod.z.record(zod.z.string(), zod.z.unknown()).optional()
|
|
2240
|
+
});
|
|
2241
|
+
const MachineActionPendingSchema = zod.z.object({
|
|
2242
|
+
requestEventId: zod.z.string(),
|
|
2243
|
+
target: MachineControlTargetSchema,
|
|
2244
|
+
action: zod.z.literal("upgrade-cli"),
|
|
2245
|
+
requestedAt: zod.z.string(),
|
|
2246
|
+
expiresAt: zod.z.string()
|
|
2247
|
+
});
|
|
2248
|
+
const ExecuteMachineActionResponseSchema = EventBaseSchema$1.extend({
|
|
2249
|
+
status: zod.z.enum(["success", "failed"]),
|
|
2250
|
+
message: zod.z.string().optional(),
|
|
2251
|
+
opCode: zod.z.string(),
|
|
2252
|
+
data: zod.z.object({
|
|
2253
|
+
result: zod.z.record(zod.z.string(), zod.z.unknown()).optional(),
|
|
2254
|
+
pending: MachineActionPendingSchema.optional(),
|
|
2255
|
+
errorCode: MachineControlErrorCodeSchema.optional()
|
|
2256
|
+
}).optional()
|
|
2257
|
+
});
|
|
2258
|
+
const MachineControlCommandSchema = EventBaseSchema$1.extend({
|
|
2259
|
+
target: MachineControlTargetSchema,
|
|
2260
|
+
action: MachineControlActionSchema,
|
|
2261
|
+
params: zod.z.record(zod.z.string(), zod.z.unknown()).optional(),
|
|
2262
|
+
requestedAt: zod.z.string(),
|
|
2263
|
+
expiresAt: zod.z.string().optional()
|
|
2264
|
+
});
|
|
2265
|
+
const MachineControlProgressStatusSchema = zod.z.enum(["running", "succeeded", "failed"]);
|
|
2266
|
+
const MachineControlProgressSchema = EventBaseSchema$1.extend({
|
|
2267
|
+
opCode: zod.z.string(),
|
|
2268
|
+
status: MachineControlProgressStatusSchema,
|
|
2269
|
+
message: zod.z.string().optional(),
|
|
2270
|
+
result: zod.z.record(zod.z.string(), zod.z.unknown()).optional(),
|
|
2271
|
+
errorCode: MachineControlErrorCodeSchema.optional(),
|
|
2272
|
+
errorMessage: zod.z.string().optional()
|
|
2273
|
+
});
|
|
2274
|
+
const MachineControlUpdatedStatusSchema = zod.z.enum(["running", "succeeded", "failed", "expired"]);
|
|
2275
|
+
const MachineControlUpdatedSchema = EventBaseSchema$1.extend({
|
|
2276
|
+
opCode: zod.z.string(),
|
|
2277
|
+
target: MachineControlTargetSchema,
|
|
2278
|
+
action: zod.z.literal("upgrade-cli"),
|
|
2279
|
+
status: MachineControlUpdatedStatusSchema,
|
|
2280
|
+
message: zod.z.string().optional(),
|
|
2281
|
+
result: zod.z.record(zod.z.string(), zod.z.unknown()).optional(),
|
|
2282
|
+
errorCode: MachineControlErrorCodeSchema.optional(),
|
|
2283
|
+
updatedAt: zod.z.string()
|
|
2284
|
+
});
|
|
2285
|
+
|
|
2198
2286
|
async function hmac_sha512(key, data) {
|
|
2199
2287
|
const keyWordArray = CryptoJS.lib.WordArray.create(key);
|
|
2200
2288
|
const dataWordArray = CryptoJS.lib.WordArray.create(data);
|
|
@@ -3216,6 +3304,7 @@ const CompanionInitRequestSchema = EventBaseSchema.extend({
|
|
|
3216
3304
|
machineId: zod.z.string(),
|
|
3217
3305
|
agentId: zod.z.string(),
|
|
3218
3306
|
chatId: zod.z.string(),
|
|
3307
|
+
chatTaskId: zod.z.string().optional(),
|
|
3219
3308
|
userId: zod.z.string()
|
|
3220
3309
|
});
|
|
3221
3310
|
const CompanionInitResponseSchema = EventBaseSchema.extend({
|
|
@@ -3239,6 +3328,10 @@ const EventSchemaMap = {
|
|
|
3239
3328
|
// Machine events
|
|
3240
3329
|
"machine-alive": MachineAliveEventSchema,
|
|
3241
3330
|
"list-models": ListModelsEventSchema,
|
|
3331
|
+
"machine-action-request": MachineActionRequestSchema,
|
|
3332
|
+
"machine-control-command": MachineControlCommandSchema,
|
|
3333
|
+
"machine-control-progress": MachineControlProgressSchema,
|
|
3334
|
+
"machine-control-updated": MachineControlUpdatedSchema,
|
|
3242
3335
|
// Worker events
|
|
3243
3336
|
"worker-initializing": WorkerInitializingSchema,
|
|
3244
3337
|
"worker-initialized": WorkerInitializedSchema,
|
|
@@ -3371,6 +3464,8 @@ const CompanionWorkspaceFileSchema = zod.z.object({
|
|
|
3371
3464
|
});
|
|
3372
3465
|
const RegisterCompanionRequestSchema = zod.z.object({
|
|
3373
3466
|
machineId: zod.z.string().min(1),
|
|
3467
|
+
// Optional: reuse/rebind a locally cached companion identity instead of creating a new one.
|
|
3468
|
+
existingAgentId: zod.z.string().min(1).optional(),
|
|
3374
3469
|
// Optional: provision companion chat virtual task E2EE keys (local mode sharing).
|
|
3375
3470
|
dataEncryptionKey: zod.z.string().optional(),
|
|
3376
3471
|
ownerEncryptedDataKey: zod.z.string().optional(),
|
|
@@ -3381,6 +3476,7 @@ const RegisterCompanionResponseSchema = zod.z.object({
|
|
|
3381
3476
|
agentId: zod.z.string(),
|
|
3382
3477
|
userId: zod.z.string(),
|
|
3383
3478
|
chatId: zod.z.string(),
|
|
3479
|
+
chatTaskId: zod.z.string(),
|
|
3384
3480
|
created: zod.z.boolean()
|
|
3385
3481
|
// true = newly created, false = already existed
|
|
3386
3482
|
});
|
|
@@ -3951,6 +4047,7 @@ exports.EnsureRepoChatResponseSchema = EnsureRepoChatResponseSchema;
|
|
|
3951
4047
|
exports.EnvironmentVariableSchema = EnvironmentVariableSchema;
|
|
3952
4048
|
exports.EventAckSchema = EventAckSchema;
|
|
3953
4049
|
exports.EventSchemaMap = EventSchemaMap;
|
|
4050
|
+
exports.ExecuteMachineActionResponseSchema = ExecuteMachineActionResponseSchema;
|
|
3954
4051
|
exports.FileItemSchema = FileItemSchema;
|
|
3955
4052
|
exports.FileStatsSchema = FileStatsSchema;
|
|
3956
4053
|
exports.FileVisibilitySchema = FileVisibilitySchema;
|
|
@@ -4027,6 +4124,7 @@ exports.ListOAuthServersQuerySchema = ListOAuthServersQuerySchema;
|
|
|
4027
4124
|
exports.ListOAuthServersResponseSchema = ListOAuthServersResponseSchema;
|
|
4028
4125
|
exports.ListPackagesQuerySchema = ListPackagesQuerySchema;
|
|
4029
4126
|
exports.ListPackagesResponseSchema = ListPackagesResponseSchema;
|
|
4127
|
+
exports.ListPrivateCloudMachinesResponseSchema = ListPrivateCloudMachinesResponseSchema;
|
|
4030
4128
|
exports.ListPrivateCloudMembersResponseSchema = ListPrivateCloudMembersResponseSchema;
|
|
4031
4129
|
exports.ListPrivateCloudsResponseSchema = ListPrivateCloudsResponseSchema;
|
|
4032
4130
|
exports.ListPublicResourcesQuerySchema = ListPublicResourcesQuerySchema;
|
|
@@ -4046,12 +4144,23 @@ exports.ListTransactionsResponseSchema = ListTransactionsResponseSchema;
|
|
|
4046
4144
|
exports.ListUserInboxResponseSchema = ListUserInboxResponseSchema;
|
|
4047
4145
|
exports.LocalMachineSchema = LocalMachineSchema;
|
|
4048
4146
|
exports.LogoutResponseSchema = LogoutResponseSchema;
|
|
4147
|
+
exports.MachineActionPendingSchema = MachineActionPendingSchema;
|
|
4148
|
+
exports.MachineActionRequestSchema = MachineActionRequestSchema;
|
|
4049
4149
|
exports.MachineAliveEventSchema = MachineAliveEventSchema;
|
|
4050
4150
|
exports.MachineApprovalRequestSchema = MachineApprovalRequestSchema;
|
|
4051
4151
|
exports.MachineApprovalStatusQuerySchema = MachineApprovalStatusQuerySchema;
|
|
4052
4152
|
exports.MachineAuthAuthorizedResponseSchema = MachineAuthAuthorizedResponseSchema;
|
|
4053
4153
|
exports.MachineAuthRequestSchema = MachineAuthRequestSchema;
|
|
4054
4154
|
exports.MachineAuthResultQuerySchema = MachineAuthResultQuerySchema;
|
|
4155
|
+
exports.MachineControlActionSchema = MachineControlActionSchema;
|
|
4156
|
+
exports.MachineControlCommandSchema = MachineControlCommandSchema;
|
|
4157
|
+
exports.MachineControlErrorCodeSchema = MachineControlErrorCodeSchema;
|
|
4158
|
+
exports.MachineControlPingResultSchema = MachineControlPingResultSchema;
|
|
4159
|
+
exports.MachineControlProgressSchema = MachineControlProgressSchema;
|
|
4160
|
+
exports.MachineControlProgressStatusSchema = MachineControlProgressStatusSchema;
|
|
4161
|
+
exports.MachineControlTargetSchema = MachineControlTargetSchema;
|
|
4162
|
+
exports.MachineControlUpdatedSchema = MachineControlUpdatedSchema;
|
|
4163
|
+
exports.MachineControlUpdatedStatusSchema = MachineControlUpdatedStatusSchema;
|
|
4055
4164
|
exports.MachineRpcCallEventSchema = MachineRpcCallEventSchema;
|
|
4056
4165
|
exports.MachineRtcRequestSchema = MachineRtcRequestSchema;
|
|
4057
4166
|
exports.MachineRtcResponseSchema = MachineRtcResponseSchema;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { P as PreviewMetadata } from './errors-
|
|
3
|
-
export { cK as ActiveAgent, cJ as ActiveAgentSchema, f6 as AgentConfig, fg as AgentConfigValidationError, e$ as AgentContext, fe as AgentError, fi as AgentLoadError, f4 as AgentMetadata, fc as AgentMetadataSchema, ff as AgentNotFoundError, f0 as AgentrixContext, cw as ApiServerAliveEventData, cv as ApiServerAliveEventSchema, cu as AppAliveEventData, ct as AppAliveEventSchema, aj as ApprovePrRequest, ai as ApprovePrRequestSchema, al as ApprovePrResponse, ak as ApprovePrResponseSchema, ar as ArchiveTaskRequest, aq as ArchiveTaskRequestSchema, at as ArchiveTaskResponse, as as ArchiveTaskResponseSchema, c6 as AskUserMessage, c5 as AskUserMessageSchema, c2 as AskUserOption, c1 as AskUserOptionSchema, c4 as AskUserQuestion, c3 as AskUserQuestionSchema, cc as AskUserResponseMessage, cb as AskUserResponseMessageSchema, ca as AskUserResponseReason, c8 as AskUserResponseReasonSchema, c9 as AskUserResponseStatus, c7 as AskUserResponseStatusSchema, en as AssociateRepoEventData, ek as AssociateRepoEventDataSchema, d9 as CancelTaskEventData, J as CancelTaskRequest, I as CancelTaskRequestSchema, N as CancelTaskResponse, M as CancelTaskResponseSchema, dw as ChangeTaskTitleEventData, dv as ChangeTaskTitleEventSchema, c_ as ChatWorkersStatusRequestEventData, cZ as ChatWorkersStatusRequestSchema, d0 as ChatWorkersStatusResponseEventData, c$ as ChatWorkersStatusResponseSchema, f5 as ClaudeAgentConfig, fd as ClaudeConfigSchema, cd as CompanionHeartbeatMessage, eC as CompanionHeartbeatRequestData, eB as CompanionHeartbeatRequestSchema, eE as CompanionHeartbeatResponseData, eD as CompanionHeartbeatResponseSchema, eG as CompanionInitRequestData, eF as CompanionInitRequestSchema, eI as CompanionInitResponseData, eH as CompanionInitResponseSchema, ce as CompanionReminderMessage, bK as CreateHiveCommentRequest, bJ as CreateHiveCommentRequestSchema, bC as CreateHiveReviewRequest, bB as CreateHiveReviewRequestSchema, ae as CreateMergeRequestRequest, ah as CreateMergeRequestResponse, ag as CreateMergeRequestResponseSchema, ad as CreateMergeRequestSchema, d5 as CreateTaskEventData, an as CreateTaskShareRequest, ap as CreateTaskShareResponse, ao as CreateTaskShareResponseSchema, am as CreateTaskShareSchema, dA as CreditExhaustedEventData, dz as CreditExhaustedEventSchema, D as DEFAULT_WORKER_EXECUTION_MODE, et as DaemonGitlabOperation, es as DaemonGitlabOperationSchema, ev as DaemonGitlabRequestEventData, eu as DaemonGitlabRequestSchema, ex as DaemonGitlabResponseEventData, ew as DaemonGitlabResponseSchema, eb as DeployAgentCompleteEventData, ea as DeployAgentCompleteEventSchema, e9 as DeployAgentEventData, e8 as DeployAgentEventSchema, r as EnsureIssueRootTaskRequest, E as EnsureIssueRootTaskRequestSchema, y as EnsureIssueRootTaskResponse, x as EnsureIssueRootTaskResponseSchema, cs as EventAckData, cr as EventAckSchema, eL as EventData, eQ as EventMap, eR as EventName, eS as EventSchemaMap, fb as FRAMEWORK_TYPES, ab as FillEventsRequest, aa as FillEventsRequestSchema, ac as FillEventsResponse, b0 as FindTaskByAgentRequest, a$ as FindTaskByAgentRequestSchema, b2 as FindTaskByAgentResponse, b1 as FindTaskByAgentResponseSchema, fh as FrameworkNotSupportedError, f3 as FrameworkType, bY as GetStreamVersionQuery, bX as GetStreamVersionQuerySchema, aO as GetTaskSessionResponse, aN as GetTaskSessionResponseSchema, b6 as HiveAuthorType, b5 as HiveAuthorTypeSchema, bI as HiveComment, bO as HiveCommentListResponse, bN as HiveCommentListResponseSchema, bH as HiveCommentSchema, bs as HiveInstall, ej as HiveInstallCompleteEventData, ei as HiveInstallCompleteEventSchema, eh as HiveInstallEventData, eg as HiveInstallEventSchema, bq as HiveInstallRequest, bp as HiveInstallRequestSchema, bu as HiveInstallResponse, bt as HiveInstallResponseSchema, br as HiveInstallSchema, bQ as HiveInstalledItem, bP as HiveInstalledItemSchema, bS as HiveInstalledResponse, bR as HiveInstalledResponseSchema, bi as HiveListQuery, bh as HiveListQuerySchema, bk as HiveListResponse, bj as HiveListResponseSchema, bc as HiveListing, bb as HiveListingSchema, b8 as HiveListingStatus, b7 as HiveListingStatusSchema, b4 as HiveListingType, b3 as HiveListingTypeSchema, bU as HiveMyListingsResponse, bT as HiveMyListingsResponseSchema, ef as HivePublishCompleteEventData, ee as HivePublishCompleteEventSchema, ed as HivePublishEventData, ec as HivePublishEventSchema, bA as HiveReview, bG as HiveReviewListResponse, bF as HiveReviewListResponseSchema, bz as HiveReviewSchema, ba as HiveSort, b9 as HiveSortSchema, fa as HookFactory, d2 as ListModelsEventData, d1 as ListModelsEventSchema, aW as ListRecentTasksRequest, aV as ListRecentTasksRequestSchema, a_ as ListRecentTasksResponse, aZ as ListRecentTasksResponseSchema, aQ as ListSubTasksRequest, aP as ListSubTasksRequestSchema, aU as ListSubTasksResponse, aT as ListSubTasksResponseSchema, z as ListTasksRequest, L as ListTasksRequestSchema, B as ListTasksResponse, A as ListTasksResponseSchema, f8 as LoadAgentOptions, cy as MachineAliveEventData, cx as MachineAliveEventSchema, eY as MachineRpcCallEventData, eX as MachineRpcCallEventSchema, dI as MachineRtcRequestEventData, dH as MachineRtcRequestSchema, dK as MachineRtcResponseEventData, dJ as MachineRtcResponseSchema, e7 as MergePullRequestAck, e6 as MergePullRequestEventData, e5 as MergePullRequestEventSchema, d_ as MergeRequestEventData, dZ as MergeRequestEventSchema, fj as MissingAgentFileError, _ as PermissionResponseRequest, Z as PermissionResponseRequestSchema, a1 as PermissionResponseResponse, a0 as PermissionResponseResponseSchema, ep as PrStateChangedData, di as PreviewMetadataSchema, dh as PreviewMethod, dg as PreviewMethodSchema, df as PreviewProjectType, de as PreviewProjectTypeSchema, a5 as ProjectDirectoryResponse, a4 as ProjectDirectoryResponseSchema, a3 as ProjectEntry, a2 as ProjectEntrySchema, be as PublishToHiveRequest, bd as PublishToHiveRequestSchema, bg as PublishToHiveResponse, bf as PublishToHiveResponseSchema, a7 as QueryEventsRequest, a6 as QueryEventsRequestSchema, a9 as QueryEventsResponse, aY as RecentTaskSummary, aX as RecentTaskSummarySchema, bw as RecordHiveInstallRequest, bv as RecordHiveInstallRequestSchema, by as RecordHiveInstallResponse, bx as RecordHiveInstallResponseSchema, ey as RepositoryInboxProviderSchema, eA as RepositoryInboxWebhookEventData, ez as RepositoryInboxWebhookSchema, f9 as RepositoryInitHookInput, eK as ResetTaskSessionEventData, eJ as ResetTaskSessionSchema, d7 as ResumeTaskEventData, C as ResumeTaskRequest, R as ResumeTaskRequestSchema, H as ResumeTaskResponse, G as ResumeTaskResponseSchema, eW as RpcCallEventData, eV as RpcCallEventSchema, e_ as RpcResponseData, eZ as RpcResponseSchema, dC as RtcIceServer, dB as RtcIceServerSchema, dE as RtcIceServersRequestEventData, dD as RtcIceServersRequestSchema, dG as RtcIceServersResponseEventData, dF as RtcIceServersResponseSchema, dM as RtcSignalEventData, dL as RtcSignalSchema, aE as SendMessageTarget, aG as SendTaskMessageRequest, aF as SendTaskMessageRequestSchema, aI as SendTaskMessageResponse, aH as SendTaskMessageResponseSchema, eN as SeqSyncRequestEventData, eM as SeqSyncRequestEventDataSchema, eP as SeqSyncResponseEventData, eO as SeqSyncResponseEventDataSchema, du as ShowModalEventData, dt as ShowModalEventDataSchema, aK as ShowModalRequest, aJ as ShowModalRequestSchema, aM as ShowModalResponse, aL as ShowModalResponseSchema, cA as ShutdownMachineData, cz as ShutdownMachineSchema, m as StartTaskRequest, S as StartTaskRequestSchema, q as StartTaskResponse, p as StartTaskResponseSchema, db as StopTaskEventData, Q as StopTaskRequest, O as StopTaskRequestSchema, Y as StopTaskResponse, X as StopTaskResponseSchema, da as StopTaskSchema, b_ as StreamVersionResponse, bZ as StreamVersionResponseSchema, e4 as SubTaskAskUserEventData, e3 as SubTaskAskUserEventSchema, cf as SubTaskAskUserMessage, e2 as SubTaskResultUpdatedEventData, e1 as SubTaskResultUpdatedEventSchema, aS as SubTaskSummary, aR as SubTaskSummarySchema, c0 as SyncAvailableEvent, b$ as SyncAvailableEventSchema, bW as SyncStreamType, bV as SyncStreamTypeSchema, er as SystemMessageEventData, eq as SystemMessageSchema, eo as SystemMessageType, ci as TaskAgentInfo, ch as TaskAgentInfoSchema, dd as TaskArtifactsStats, dc as TaskArtifactsStatsSchema, dk as TaskArtifactsSummary, dj as TaskArtifactsSummarySchema, a8 as TaskEvent, T as TaskExecutionMode, b as TaskExecutionTarget, dU as TaskInfoUpdateEventData, dT as TaskInfoUpdateEventDataSchema, v as TaskItem, u as TaskItemSchema, dm as TaskMessageEventData, cg as TaskMessagePayload, dl as TaskMessageSchema, dp as TaskModelUsage, dn as TaskModelUsageSchema, k as TaskPreviewUrlSchema, dW as TaskSlashCommand, dV as TaskSlashCommandSchema, dY as TaskSlashCommandsUpdateEventData, dX as TaskSlashCommandsUpdateEventDataSchema, ds as TaskState, dy as TaskStateChangeEventData, dx as TaskStateChangeEventSchema, e0 as TaskStoppedEventData, d$ as TaskStoppedEventSchema, f as TaskTodo, e as TaskTodoSchema, dr as TaskUsageReportEventData, dq as TaskUsageReportEventSchema, j as TaskUsageSummary, h as TaskUsageSummarySchema, av as UnarchiveTaskRequest, au as UnarchiveTaskRequestSchema, ax as UnarchiveTaskResponse, aw as UnarchiveTaskResponseSchema, em as UpdateAgentInfoEventData, el as UpdateAgentInfoEventSchema, bM as UpdateHiveCommentRequest, bL as UpdateHiveCommentRequestSchema, bm as UpdateHiveListingRequest, bl as UpdateHiveListingRequestSchema, bE as UpdateHiveReviewRequest, bD as UpdateHiveReviewRequestSchema, bo as UpdateHiveVersionRequest, bn as UpdateHiveVersionRequestSchema, dS as UpdateTaskAgentSessionIdEventData, dR as UpdateTaskAgentSessionIdEventSchema, l as UpdateTaskPreviewUrlRequest, U as UpdateTaskPreviewUrlRequestSchema, aD as UpdateTaskPreviewUrlResponse, aC as UpdateTaskPreviewUrlResponseSchema, az as UpdateTaskTitleRequest, ay as UpdateTaskTitleRequestSchema, aB as UpdateTaskTitleResponse, aA as UpdateTaskTitleResponseSchema, f7 as ValidationResult, cM as WorkerAliveEventData, cL as WorkerAliveEventSchema, W as WorkerExecutionMode, a as WorkerExecutionModeSchema, cO as WorkerExitEventData, cN as WorkerExitSchema, cE as WorkerInitializedEventData, cD as WorkerInitializedSchema, cC as WorkerInitializingEventData, cB as WorkerInitializingSchema, cS as WorkerPermissionModeEventData, cR as WorkerPermissionModeSchema, cG as WorkerPermissionModeValue, cF as WorkerPermissionModeValueSchema, cI as WorkerReadyEventData, cH as WorkerReadySchema, cQ as WorkerRunningEventData, cP as WorkerRunningSchema, cU as WorkerStatusRequestEventData, cT as WorkerStatusRequestSchema, cY as WorkerStatusSnapshot, cX as WorkerStatusSnapshotSchema, cW as WorkerStatusValue, cV as WorkerStatusValueSchema, eT as WorkerTaskEvent, dO as WorkspaceFileRequestEventData, dN as WorkspaceFileRequestSchema, dQ as WorkspaceFileResponseEventData, dP as WorkspaceFileResponseSchema, d3 as baseTaskSchema, K as cancelTaskRequestSchema, d8 as cancelTaskSchema, cq as createEventId, af as createMergeRequestSchema, d4 as createTaskSchema, f2 as getAgentContext, d as getTaskExecutionMachineRouteId, g as getTaskExecutionMode, cj as isAskUserMessage, ck as isAskUserResponseMessage, i as isCloudTaskExecution, cl as isCompanionHeartbeatMessage, cm as isCompanionReminderMessage, c as isLocalTaskExecution, co as isSDKMessage, cp as isSDKUserMessage, cn as isSubTaskAskUserMessage, n as normalizeWorkerExecutionMode, $ as permissionResponseRequestSchema, F as resumeTaskRequestSchema, d6 as resumeTaskSchema, f1 as setAgentContext, o as startTaskSchema, V as stopTaskRequestSchema, s as supportsTaskUserCwd, t as taskExecutionModes, w as workerExecutionModes, eU as workerTaskEvents } from './errors-D1Ifuw6J.cjs';
|
|
2
|
+
import { P as PreviewMetadata } from './errors-rbccBPEc.cjs';
|
|
3
|
+
export { cK as ActiveAgent, cJ as ActiveAgentSchema, fv as AgentConfig, fF as AgentConfigValidationError, fo as AgentContext, fD as AgentError, fH as AgentLoadError, ft as AgentMetadata, fB as AgentMetadataSchema, fE as AgentNotFoundError, fp as AgentrixContext, cw as ApiServerAliveEventData, cv as ApiServerAliveEventSchema, cu as AppAliveEventData, ct as AppAliveEventSchema, aj as ApprovePrRequest, ai as ApprovePrRequestSchema, al as ApprovePrResponse, ak as ApprovePrResponseSchema, ar as ArchiveTaskRequest, aq as ArchiveTaskRequestSchema, at as ArchiveTaskResponse, as as ArchiveTaskResponseSchema, c6 as AskUserMessage, c5 as AskUserMessageSchema, c2 as AskUserOption, c1 as AskUserOptionSchema, c4 as AskUserQuestion, c3 as AskUserQuestionSchema, cc as AskUserResponseMessage, cb as AskUserResponseMessageSchema, ca as AskUserResponseReason, c8 as AskUserResponseReasonSchema, c9 as AskUserResponseStatus, c7 as AskUserResponseStatusSchema, en as AssociateRepoEventData, ek as AssociateRepoEventDataSchema, d9 as CancelTaskEventData, J as CancelTaskRequest, I as CancelTaskRequestSchema, N as CancelTaskResponse, M as CancelTaskResponseSchema, dw as ChangeTaskTitleEventData, dv as ChangeTaskTitleEventSchema, c_ as ChatWorkersStatusRequestEventData, cZ as ChatWorkersStatusRequestSchema, d0 as ChatWorkersStatusResponseEventData, c$ as ChatWorkersStatusResponseSchema, fu as ClaudeAgentConfig, fC as ClaudeConfigSchema, cd as CompanionHeartbeatMessage, eC as CompanionHeartbeatRequestData, eB as CompanionHeartbeatRequestSchema, eE as CompanionHeartbeatResponseData, eD as CompanionHeartbeatResponseSchema, eG as CompanionInitRequestData, eF as CompanionInitRequestSchema, eI as CompanionInitResponseData, eH as CompanionInitResponseSchema, ce as CompanionReminderMessage, bK as CreateHiveCommentRequest, bJ as CreateHiveCommentRequestSchema, bC as CreateHiveReviewRequest, bB as CreateHiveReviewRequestSchema, ae as CreateMergeRequestRequest, ah as CreateMergeRequestResponse, ag as CreateMergeRequestResponseSchema, ad as CreateMergeRequestSchema, d5 as CreateTaskEventData, an as CreateTaskShareRequest, ap as CreateTaskShareResponse, ao as CreateTaskShareResponseSchema, am as CreateTaskShareSchema, dA as CreditExhaustedEventData, dz as CreditExhaustedEventSchema, D as DEFAULT_WORKER_EXECUTION_MODE, et as DaemonGitlabOperation, es as DaemonGitlabOperationSchema, ev as DaemonGitlabRequestEventData, eu as DaemonGitlabRequestSchema, ex as DaemonGitlabResponseEventData, ew as DaemonGitlabResponseSchema, eb as DeployAgentCompleteEventData, ea as DeployAgentCompleteEventSchema, e9 as DeployAgentEventData, e8 as DeployAgentEventSchema, r as EnsureIssueRootTaskRequest, E as EnsureIssueRootTaskRequestSchema, y as EnsureIssueRootTaskResponse, x as EnsureIssueRootTaskResponseSchema, cs as EventAckData, cr as EventAckSchema, eL as EventData, eQ as EventMap, eR as EventName, eS as EventSchemaMap, f6 as ExecuteMachineActionResponse, f5 as ExecuteMachineActionResponseSchema, fA as FRAMEWORK_TYPES, ab as FillEventsRequest, aa as FillEventsRequestSchema, ac as FillEventsResponse, b0 as FindTaskByAgentRequest, a$ as FindTaskByAgentRequestSchema, b2 as FindTaskByAgentResponse, b1 as FindTaskByAgentResponseSchema, fG as FrameworkNotSupportedError, fs as FrameworkType, bY as GetStreamVersionQuery, bX as GetStreamVersionQuerySchema, aO as GetTaskSessionResponse, aN as GetTaskSessionResponseSchema, b6 as HiveAuthorType, b5 as HiveAuthorTypeSchema, bI as HiveComment, bO as HiveCommentListResponse, bN as HiveCommentListResponseSchema, bH as HiveCommentSchema, bs as HiveInstall, ej as HiveInstallCompleteEventData, ei as HiveInstallCompleteEventSchema, eh as HiveInstallEventData, eg as HiveInstallEventSchema, bq as HiveInstallRequest, bp as HiveInstallRequestSchema, bu as HiveInstallResponse, bt as HiveInstallResponseSchema, br as HiveInstallSchema, bQ as HiveInstalledItem, bP as HiveInstalledItemSchema, bS as HiveInstalledResponse, bR as HiveInstalledResponseSchema, bi as HiveListQuery, bh as HiveListQuerySchema, bk as HiveListResponse, bj as HiveListResponseSchema, bc as HiveListing, bb as HiveListingSchema, b8 as HiveListingStatus, b7 as HiveListingStatusSchema, b4 as HiveListingType, b3 as HiveListingTypeSchema, bU as HiveMyListingsResponse, bT as HiveMyListingsResponseSchema, ef as HivePublishCompleteEventData, ee as HivePublishCompleteEventSchema, ed as HivePublishEventData, ec as HivePublishEventSchema, bA as HiveReview, bG as HiveReviewListResponse, bF as HiveReviewListResponseSchema, bz as HiveReviewSchema, ba as HiveSort, b9 as HiveSortSchema, fz as HookFactory, d2 as ListModelsEventData, d1 as ListModelsEventSchema, aW as ListRecentTasksRequest, aV as ListRecentTasksRequestSchema, a_ as ListRecentTasksResponse, aZ as ListRecentTasksResponseSchema, aQ as ListSubTasksRequest, aP as ListSubTasksRequestSchema, aU as ListSubTasksResponse, aT as ListSubTasksResponseSchema, z as ListTasksRequest, L as ListTasksRequestSchema, B as ListTasksResponse, A as ListTasksResponseSchema, fx as LoadAgentOptions, f4 as MachineActionPending, f3 as MachineActionPendingSchema, f2 as MachineActionRequestEventData, f1 as MachineActionRequestSchema, cy as MachineAliveEventData, cx as MachineAliveEventSchema, eW as MachineControlAction, eV as MachineControlActionSchema, f8 as MachineControlCommandEventData, f7 as MachineControlCommandSchema, e_ as MachineControlErrorCode, eZ as MachineControlErrorCodeSchema, f0 as MachineControlPingResult, e$ as MachineControlPingResultSchema, fc as MachineControlProgressEventData, fb as MachineControlProgressSchema, fa as MachineControlProgressStatus, f9 as MachineControlProgressStatusSchema, fh as MachineControlRelayContext, eY as MachineControlTarget, eX as MachineControlTargetSchema, fg as MachineControlUpdatedEventData, ff as MachineControlUpdatedSchema, fe as MachineControlUpdatedStatus, fd as MachineControlUpdatedStatusSchema, fl as MachineRpcCallEventData, fk as MachineRpcCallEventSchema, dI as MachineRtcRequestEventData, dH as MachineRtcRequestSchema, dK as MachineRtcResponseEventData, dJ as MachineRtcResponseSchema, e7 as MergePullRequestAck, e6 as MergePullRequestEventData, e5 as MergePullRequestEventSchema, d_ as MergeRequestEventData, dZ as MergeRequestEventSchema, fI as MissingAgentFileError, _ as PermissionResponseRequest, Z as PermissionResponseRequestSchema, a1 as PermissionResponseResponse, a0 as PermissionResponseResponseSchema, ep as PrStateChangedData, di as PreviewMetadataSchema, dh as PreviewMethod, dg as PreviewMethodSchema, df as PreviewProjectType, de as PreviewProjectTypeSchema, a5 as ProjectDirectoryResponse, a4 as ProjectDirectoryResponseSchema, a3 as ProjectEntry, a2 as ProjectEntrySchema, be as PublishToHiveRequest, bd as PublishToHiveRequestSchema, bg as PublishToHiveResponse, bf as PublishToHiveResponseSchema, a7 as QueryEventsRequest, a6 as QueryEventsRequestSchema, a9 as QueryEventsResponse, aY as RecentTaskSummary, aX as RecentTaskSummarySchema, bw as RecordHiveInstallRequest, bv as RecordHiveInstallRequestSchema, by as RecordHiveInstallResponse, bx as RecordHiveInstallResponseSchema, ey as RepositoryInboxProviderSchema, eA as RepositoryInboxWebhookEventData, ez as RepositoryInboxWebhookSchema, fy as RepositoryInitHookInput, eK as ResetTaskSessionEventData, eJ as ResetTaskSessionSchema, d7 as ResumeTaskEventData, C as ResumeTaskRequest, R as ResumeTaskRequestSchema, H as ResumeTaskResponse, G as ResumeTaskResponseSchema, fj as RpcCallEventData, fi as RpcCallEventSchema, fn as RpcResponseData, fm as RpcResponseSchema, dC as RtcIceServer, dB as RtcIceServerSchema, dE as RtcIceServersRequestEventData, dD as RtcIceServersRequestSchema, dG as RtcIceServersResponseEventData, dF as RtcIceServersResponseSchema, dM as RtcSignalEventData, dL as RtcSignalSchema, aE as SendMessageTarget, aG as SendTaskMessageRequest, aF as SendTaskMessageRequestSchema, aI as SendTaskMessageResponse, aH as SendTaskMessageResponseSchema, eN as SeqSyncRequestEventData, eM as SeqSyncRequestEventDataSchema, eP as SeqSyncResponseEventData, eO as SeqSyncResponseEventDataSchema, du as ShowModalEventData, dt as ShowModalEventDataSchema, aK as ShowModalRequest, aJ as ShowModalRequestSchema, aM as ShowModalResponse, aL as ShowModalResponseSchema, cA as ShutdownMachineData, cz as ShutdownMachineSchema, m as StartTaskRequest, S as StartTaskRequestSchema, q as StartTaskResponse, p as StartTaskResponseSchema, db as StopTaskEventData, Q as StopTaskRequest, O as StopTaskRequestSchema, Y as StopTaskResponse, X as StopTaskResponseSchema, da as StopTaskSchema, b_ as StreamVersionResponse, bZ as StreamVersionResponseSchema, e4 as SubTaskAskUserEventData, e3 as SubTaskAskUserEventSchema, cf as SubTaskAskUserMessage, e2 as SubTaskResultUpdatedEventData, e1 as SubTaskResultUpdatedEventSchema, aS as SubTaskSummary, aR as SubTaskSummarySchema, c0 as SyncAvailableEvent, b$ as SyncAvailableEventSchema, bW as SyncStreamType, bV as SyncStreamTypeSchema, er as SystemMessageEventData, eq as SystemMessageSchema, eo as SystemMessageType, ci as TaskAgentInfo, ch as TaskAgentInfoSchema, dd as TaskArtifactsStats, dc as TaskArtifactsStatsSchema, dk as TaskArtifactsSummary, dj as TaskArtifactsSummarySchema, a8 as TaskEvent, T as TaskExecutionMode, b as TaskExecutionTarget, dU as TaskInfoUpdateEventData, dT as TaskInfoUpdateEventDataSchema, v as TaskItem, u as TaskItemSchema, dm as TaskMessageEventData, cg as TaskMessagePayload, dl as TaskMessageSchema, dp as TaskModelUsage, dn as TaskModelUsageSchema, k as TaskPreviewUrlSchema, dW as TaskSlashCommand, dV as TaskSlashCommandSchema, dY as TaskSlashCommandsUpdateEventData, dX as TaskSlashCommandsUpdateEventDataSchema, ds as TaskState, dy as TaskStateChangeEventData, dx as TaskStateChangeEventSchema, e0 as TaskStoppedEventData, d$ as TaskStoppedEventSchema, f as TaskTodo, e as TaskTodoSchema, dr as TaskUsageReportEventData, dq as TaskUsageReportEventSchema, j as TaskUsageSummary, h as TaskUsageSummarySchema, av as UnarchiveTaskRequest, au as UnarchiveTaskRequestSchema, ax as UnarchiveTaskResponse, aw as UnarchiveTaskResponseSchema, em as UpdateAgentInfoEventData, el as UpdateAgentInfoEventSchema, bM as UpdateHiveCommentRequest, bL as UpdateHiveCommentRequestSchema, bm as UpdateHiveListingRequest, bl as UpdateHiveListingRequestSchema, bE as UpdateHiveReviewRequest, bD as UpdateHiveReviewRequestSchema, bo as UpdateHiveVersionRequest, bn as UpdateHiveVersionRequestSchema, dS as UpdateTaskAgentSessionIdEventData, dR as UpdateTaskAgentSessionIdEventSchema, l as UpdateTaskPreviewUrlRequest, U as UpdateTaskPreviewUrlRequestSchema, aD as UpdateTaskPreviewUrlResponse, aC as UpdateTaskPreviewUrlResponseSchema, az as UpdateTaskTitleRequest, ay as UpdateTaskTitleRequestSchema, aB as UpdateTaskTitleResponse, aA as UpdateTaskTitleResponseSchema, fw as ValidationResult, cM as WorkerAliveEventData, cL as WorkerAliveEventSchema, W as WorkerExecutionMode, a as WorkerExecutionModeSchema, cO as WorkerExitEventData, cN as WorkerExitSchema, cE as WorkerInitializedEventData, cD as WorkerInitializedSchema, cC as WorkerInitializingEventData, cB as WorkerInitializingSchema, cS as WorkerPermissionModeEventData, cR as WorkerPermissionModeSchema, cG as WorkerPermissionModeValue, cF as WorkerPermissionModeValueSchema, cI as WorkerReadyEventData, cH as WorkerReadySchema, cQ as WorkerRunningEventData, cP as WorkerRunningSchema, cU as WorkerStatusRequestEventData, cT as WorkerStatusRequestSchema, cY as WorkerStatusSnapshot, cX as WorkerStatusSnapshotSchema, cW as WorkerStatusValue, cV as WorkerStatusValueSchema, eT as WorkerTaskEvent, dO as WorkspaceFileRequestEventData, dN as WorkspaceFileRequestSchema, dQ as WorkspaceFileResponseEventData, dP as WorkspaceFileResponseSchema, d3 as baseTaskSchema, K as cancelTaskRequestSchema, d8 as cancelTaskSchema, cq as createEventId, af as createMergeRequestSchema, d4 as createTaskSchema, fr as getAgentContext, d as getTaskExecutionMachineRouteId, g as getTaskExecutionMode, cj as isAskUserMessage, ck as isAskUserResponseMessage, i as isCloudTaskExecution, cl as isCompanionHeartbeatMessage, cm as isCompanionReminderMessage, c as isLocalTaskExecution, co as isSDKMessage, cp as isSDKUserMessage, cn as isSubTaskAskUserMessage, n as normalizeWorkerExecutionMode, $ as permissionResponseRequestSchema, F as resumeTaskRequestSchema, d6 as resumeTaskSchema, fq as setAgentContext, o as startTaskSchema, V as stopTaskRequestSchema, s as supportsTaskUserCwd, t as taskExecutionModes, w as workerExecutionModes, eU as workerTaskEvents } from './errors-rbccBPEc.cjs';
|
|
4
4
|
import tweetnacl from 'tweetnacl';
|
|
5
5
|
import { SDKMessage } from '@anthropic-ai/claude-agent-sdk';
|
|
6
6
|
export { buildGitLabWebhookEndpointPath, buildGitLabWebhookUrl } from './gitlabWebhook.cjs';
|
|
@@ -56,8 +56,8 @@ declare const FileStatsSchema: z.ZodObject<{
|
|
|
56
56
|
}, z.core.$strip>;
|
|
57
57
|
type FileStats = z.infer<typeof FileStatsSchema>;
|
|
58
58
|
declare const SenderTypeSchema: z.ZodEnum<{
|
|
59
|
-
system: "system";
|
|
60
59
|
human: "human";
|
|
60
|
+
system: "system";
|
|
61
61
|
agent: "agent";
|
|
62
62
|
channel: "channel";
|
|
63
63
|
}>;
|
|
@@ -1544,10 +1544,10 @@ type CreateDraftAgentRequest = z.infer<typeof CreateDraftAgentRequestSchema>;
|
|
|
1544
1544
|
*/
|
|
1545
1545
|
declare const SetEnvironmentVariablesRequestSchema: z.ZodObject<{
|
|
1546
1546
|
ownerType: z.ZodEnum<{
|
|
1547
|
-
machine: "machine";
|
|
1548
1547
|
agent: "agent";
|
|
1549
1548
|
cloud: "cloud";
|
|
1550
1549
|
"draft-agent": "draft-agent";
|
|
1550
|
+
machine: "machine";
|
|
1551
1551
|
}>;
|
|
1552
1552
|
ownerId: z.ZodString;
|
|
1553
1553
|
variables: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
@@ -3805,6 +3805,18 @@ declare const ListPrivateCloudMembersResponseSchema: z.ZodObject<{
|
|
|
3805
3805
|
}, z.core.$strip>>;
|
|
3806
3806
|
}, z.core.$strip>;
|
|
3807
3807
|
type ListPrivateCloudMembersResponse = z.infer<typeof ListPrivateCloudMembersResponseSchema>;
|
|
3808
|
+
declare const ListPrivateCloudMachinesResponseSchema: z.ZodObject<{
|
|
3809
|
+
machines: z.ZodArray<z.ZodObject<{
|
|
3810
|
+
id: z.ZodString;
|
|
3811
|
+
cloudId: z.ZodString;
|
|
3812
|
+
deviceId: z.ZodString;
|
|
3813
|
+
status: z.ZodString;
|
|
3814
|
+
metadata: z.ZodNullable<z.ZodString>;
|
|
3815
|
+
createdAt: z.ZodString;
|
|
3816
|
+
updatedAt: z.ZodString;
|
|
3817
|
+
}, z.core.$strip>>;
|
|
3818
|
+
}, z.core.$strip>;
|
|
3819
|
+
type ListPrivateCloudMachinesResponse = z.infer<typeof ListPrivateCloudMachinesResponseSchema>;
|
|
3808
3820
|
declare const RemovePrivateCloudMemberResponseSchema: z.ZodObject<{
|
|
3809
3821
|
success: z.ZodLiteral<true>;
|
|
3810
3822
|
message: z.ZodString;
|
|
@@ -4045,12 +4057,12 @@ type CiProvider = z.infer<typeof CiProviderSchema>;
|
|
|
4045
4057
|
declare const JsonSchemaDocumentSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4046
4058
|
type JsonSchemaDocument = z.infer<typeof JsonSchemaDocumentSchema>;
|
|
4047
4059
|
declare const CiRunStatusSchema: z.ZodEnum<{
|
|
4048
|
-
timeout: "timeout";
|
|
4049
|
-
failed: "failed";
|
|
4050
4060
|
running: "running";
|
|
4061
|
+
failed: "failed";
|
|
4051
4062
|
completed: "completed";
|
|
4052
4063
|
queued: "queued";
|
|
4053
4064
|
canceled: "canceled";
|
|
4065
|
+
timeout: "timeout";
|
|
4054
4066
|
}>;
|
|
4055
4067
|
type CiRunStatus = z.infer<typeof CiRunStatusSchema>;
|
|
4056
4068
|
declare const CiRunResponseModeSchema: z.ZodEnum<{
|
|
@@ -4137,8 +4149,8 @@ type CreateCiRunRequest = z.infer<typeof CreateCiRunRequestSchema>;
|
|
|
4137
4149
|
declare const CreateCiRunResponseSchema: z.ZodObject<{
|
|
4138
4150
|
runId: z.ZodString;
|
|
4139
4151
|
status: z.ZodEnum<{
|
|
4140
|
-
failed: "failed";
|
|
4141
4152
|
running: "running";
|
|
4153
|
+
failed: "failed";
|
|
4142
4154
|
completed: "completed";
|
|
4143
4155
|
queued: "queued";
|
|
4144
4156
|
}>;
|
|
@@ -4148,12 +4160,12 @@ type CreateCiRunResponse = z.infer<typeof CreateCiRunResponseSchema>;
|
|
|
4148
4160
|
declare const CiRunStatusResponseSchema: z.ZodObject<{
|
|
4149
4161
|
runId: z.ZodString;
|
|
4150
4162
|
status: z.ZodEnum<{
|
|
4151
|
-
timeout: "timeout";
|
|
4152
|
-
failed: "failed";
|
|
4153
4163
|
running: "running";
|
|
4164
|
+
failed: "failed";
|
|
4154
4165
|
completed: "completed";
|
|
4155
4166
|
queued: "queued";
|
|
4156
4167
|
canceled: "canceled";
|
|
4168
|
+
timeout: "timeout";
|
|
4157
4169
|
}>;
|
|
4158
4170
|
result: z.ZodString;
|
|
4159
4171
|
structuredOutput: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -4422,6 +4434,7 @@ declare const CompanionWorkspaceFileSchema: z.ZodObject<{
|
|
|
4422
4434
|
type CompanionWorkspaceFile = z.infer<typeof CompanionWorkspaceFileSchema>;
|
|
4423
4435
|
declare const RegisterCompanionRequestSchema: z.ZodObject<{
|
|
4424
4436
|
machineId: z.ZodString;
|
|
4437
|
+
existingAgentId: z.ZodOptional<z.ZodString>;
|
|
4425
4438
|
dataEncryptionKey: z.ZodOptional<z.ZodString>;
|
|
4426
4439
|
ownerEncryptedDataKey: z.ZodOptional<z.ZodString>;
|
|
4427
4440
|
preferredLanguage: z.ZodOptional<z.ZodEnum<{
|
|
@@ -4434,6 +4447,7 @@ declare const RegisterCompanionResponseSchema: z.ZodObject<{
|
|
|
4434
4447
|
agentId: z.ZodString;
|
|
4435
4448
|
userId: z.ZodString;
|
|
4436
4449
|
chatId: z.ZodString;
|
|
4450
|
+
chatTaskId: z.ZodString;
|
|
4437
4451
|
created: z.ZodBoolean;
|
|
4438
4452
|
}, z.core.$strip>;
|
|
4439
4453
|
type RegisterCompanionResponse = z.infer<typeof RegisterCompanionResponseSchema>;
|
|
@@ -4654,5 +4668,5 @@ declare function detectPreview(fs: FileSystemAdapter): Promise<PreviewMetadata |
|
|
|
4654
4668
|
*/
|
|
4655
4669
|
declare function decodeGitPath(rawPath: string): string;
|
|
4656
4670
|
|
|
4657
|
-
export { AGENTRIX_DEV_INIT_FEATURE, AcceptPrivateCloudInviteRequestSchema, AcceptPrivateCloudInviteResponseSchema, AddChatMemberRequestSchema, AddChatMemberResponseSchema, AdminResourceItemSchema, AgentCustomConfigSchema, AgentPermissionsSchema, AgentSchema, AgentTypeSchema, ApiErrorSchema, ApiKeySchema, ApprovalStatusResponseSchema, BillingStatsResponseSchema, BranchSchema, CONFIG_FILES, CancelCiRunResponseSchema, ChargeTransactionSchema, ChatMemberInputSchema, ChatMemberSchema, ChatSchema, ChatTypeSchema, ChatWithMembersSchema, CiProviderSchema, CiRunContextSchema, CiRunExecutionSchema, CiRunGitSchema, CiRunRepoSchema, CiRunResponseModeSchema, CiRunStatusResponseSchema, CiRunStatusSchema, CloudJoinApprovalRequestSchema, CloudJoinRequestSchema, CloudJoinResultQuerySchema, CloudJoinStatusQuerySchema, CloudMachineSchema, CloudSchema, CompanionEnsureResponseSchema, CompanionWorkspaceFileSchema, ConfirmUploadRequestSchema, ConfirmUploadResponseSchema, ConsumeTransactionSchema, ContactCandidateSchema, ContactSchema, ContactTargetTypeSchema, CreateAgentRequestSchema, CreateAgentResponseSchema, CreateApiKeyRequestSchema, CreateApiKeyResponseSchema, CreateChatRequestSchema, CreateChatResponseSchema, CreateCheckoutRequestSchema, CreateCheckoutResponseSchema, CreateCiRunRequestSchema, CreateCiRunResponseSchema, CreateCloudRequestSchema, CreateCloudResponseSchema, CreateContactRequestSchema, CreateContactResponseSchema, CreateDirectRechargeCheckoutRequestSchema, CreateDirectRechargeCheckoutResponseSchema, CreateDraftAgentRequestSchema, CreateOAuthServerRequestSchema, CreateOAuthServerResponseSchema, CreatePortalRequestSchema, CreatePortalResponseSchema, CreatePrivateCloudInviteRequestSchema, CreatePrivateCloudInviteResponseSchema, CreatePrivateCloudRequestSchema, CreatePrivateCloudResponseSchema, CreateResourceRequestSchema, CreateSubscriptionPlanRequestSchema, CreditsBucketSchema, CreditsPackageSchema, CurrentSubscriptionPlanTypeSchema, DateSchema, DeleteAgentResponseSchema, DeleteApiKeyResponseSchema, DeleteContactResponseSchema, DeleteOAuthServerResponseSchema, DevCreateUserRequestSchema, DevCreateUserResponseSchema, DisplayConfigKeysSchema, DisplayConfigSchema, DraftAgentConfigSchema, DraftAgentSchema, ENTRY_FILE_PATTERNS, EmailLoginCodeRequestSchema, EmailLoginCodeResponseSchema, EmailLoginVerifyRequestSchema, EmailLoginVerifyResponseSchema, EmailPasswordLoginRequestSchema, EmailPasswordLoginResponseSchema, EnsureRepoChatRequestSchema, EnsureRepoChatResponseSchema, EnvironmentVariableSchema, FileItemSchema, FileStatsSchema, FileVisibilitySchema, GetAgentGitUrlResponseSchema, GetAgentResponseSchema, GetChatResponseSchema, GetEnvironmentVariablesResponseSchema, GetGitServerResponseSchema, GetGitUrlQuerySchema, GetGitUrlResponseSchema, GetInstallUrlResponseSchema, GetOAuthServerResponseSchema, GetPrivateCloudRunnerSecretResponseSchema, GetReferenceQuerySchema, GetRepositoryResponseSchema, GetSubscriptionResponseSchema, GetSubscriptionTiersResponseSchema, GetUploadUrlsRequestSchema, GetUploadUrlsResponseSchema, GetUserAgentsResponseSchema, GitHubIssueListItemSchema, GitHubIssueSchema, GitServerAccountInfoSchema, GitServerSchema, IGNORED_DIRECTORIES, IdSchema, JsonSchemaDocumentSchema, ListAdminResourcesResponseSchema, ListAgentsResponseSchema, ListApiKeysQuerySchema, ListApiKeysResponseSchema, ListBranchesResponseSchema, ListChatMembersResponseSchema, ListChatTasksResponseSchema, ListChatsQuerySchema, ListChatsResponseSchema, ListContactsResponseSchema, ListFilesQuerySchema, ListFilesResponseSchema, ListGitServersResponseSchema, ListIssuesQuerySchema, ListIssuesResponseSchema, ListMachineModelsResponseSchema, ListMachinesResponseSchema, ListOAuthServersPublicResponseSchema, ListOAuthServersQuerySchema, ListOAuthServersResponseSchema, ListPackagesQuerySchema, ListPackagesResponseSchema, ListPrivateCloudMembersResponseSchema, ListPrivateCloudsResponseSchema, ListPublicResourcesQuerySchema, ListPublicResourcesResponseSchema, ListReferencesQuerySchema, ListReferencesResponseSchema, ListRepositoriesResponseSchema, ListSubscriptionPlansResponseSchema, ListTransactionsQuerySchema, ListTransactionsResponseSchema, ListUserInboxResponseSchema, LocalMachineSchema, LogoutResponseSchema, MachineApprovalRequestSchema, MachineApprovalStatusQuerySchema, MachineAuthAuthorizedResponseSchema, MachineAuthRequestSchema, MachineAuthResultQuerySchema, MachineUnbindRequestSchema, MachineUnbindResponseSchema, OAuthAccountInfoSchema, OAuthBindCallbackResponseSchema, OAuthBindQuerySchema, OAuthBindResponseSchema, OAuthCallbackQuerySchema, OAuthCallbackResponseSchema, OAuthLoginQuerySchema, OAuthServerPublicSchema, OAuthServerSchema, OAuthUnbindResponseSchema, PaginatedResponseSchema, PreviewMetadata, PrivateCloudEntitlementSchema, PrivateCloudInviteSchema, PrivateCloudMemberSchema, PrivateCloudSummarySchema, ProfileEmailCodeRequestSchema, ProfileEmailCodeResponseSchema, PublicResourceItemSchema, PublishDraftAgentRequestSchema, PublishDraftAgentResponseSchema, RELEVANT_DEPENDENCIES, RTC_CHUNK_HEADER_SIZE, RechargeResponseSchema, RegisterCompanionRequestSchema, RegisterCompanionResponseSchema, RemoveChatMemberRequestSchema, RemovePrivateCloudMemberResponseSchema, RepositoryActorIdentitySchema, RepositoryReferenceCommentSchema, RepositoryReferenceCommentsResponseSchema, RepositoryReferenceDiffSchema, RepositoryReferenceKindSchema, RepositoryReferenceListItemSchema, RepositoryReferenceSchema, RepositorySchema, ResetSecretRequestSchema, ResetSecretResponseSchema, ResolveUserInboxItemResponseSchema, ResourceMetadataSchema, RtcChunkFlags, STATIC_FILE_EXTENSIONS, SearchContactCandidatesQuerySchema, SearchContactCandidatesResponseSchema, SenderTypeSchema, SetEnvironmentVariablesRequestSchema, ShareAuthQuerySchema, ShareAuthResponseSchema, SimpleSuccessSchema, StatsQuerySchema, StopSubscriptionResponseSchema, StripeCheckoutClientSchema, SubscriptionPlanSchema, SubscriptionPlanTypeSchema, SubscriptionSchema, SubscriptionTierSchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineModelsRequestSchema, SyncMachineModelsResponseSchema, SyncMachineRequestSchema, TaskSharePermissionsSchema, TaskTransactionsResponseSchema, ToggleApiKeyRequestSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateApiKeyRequestSchema, UpdateDraftAgentRequestSchema, UpdateDraftAgentResponseSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, UpdateResourceRequestSchema, UpdateSecretRequestSchema, UpdateSecretResponseSchema, UpdateSubscriptionPlanRequestSchema, UpdateSubscriptionRequestSchema, UpdateSubscriptionResponseSchema, UpdateUserProfileRequestSchema, UpdateUserProfileResponseSchema, UploadUrlResultSchema, UserBalanceResponseSchema, UserBasicInfoSchema, UserEntitlementSchema, UserEntitlementSourceSchema, UserInboxItemSchema, UserInboxStatusSchema, UserInboxSubjectTypeSchema, UserProfileResponseSchema, UserWithOAuthAccountsSchema, ValidateMachineResponseSchema, buildRtcChunkFrame, createKeyPair, createKeyPairWithUit8Array, createTaskEncryptionPayload, decodeBase64, decodeGitPath, decodeRtcChunkHeader, decryptAES, decryptFileContent, decryptMachineEncryptionKey, decryptSdkMessage, decryptWithEphemeralKey, detectPreview, encodeBase64, encodeBase64Url, encodeRtcChunkHeader, encryptAES, encryptFileContent, encryptMachineEncryptionKey, encryptSdkMessage, encryptWithEphemeralKey, generateAESKey, generateAESKeyBase64, getRandomBytes, machineAuth, splitRtcChunkFrame, userAuth, workerAuth };
|
|
4658
|
-
export type { AcceptPrivateCloudInviteRequest, AcceptPrivateCloudInviteResponse, AddChatMemberRequest, AddChatMemberResponse, AdminResourceItem, Agent, AgentCustomConfig, AgentPermissions, AgentType, ApiError, ApiKey, ApprovalStatusResponse, AuthPayload, BillingStatsResponse, Branch, CancelCiRunResponse, ChargeTransaction, Chat, ChatMember, ChatMemberInput, ChatType, ChatWithMembers, CiProvider, CiRunContext, CiRunExecution, CiRunGit, CiRunRepo, CiRunResponseMode, CiRunStatus, CiRunStatusResponse, ClientType, Cloud, CloudJoinApprovalRequest, CloudJoinRequest, CloudJoinResultQuery, CloudJoinStatusQuery, CloudMachine, CompanionEnsureResponse, CompanionWorkspaceFile, ConfirmUploadRequest, ConfirmUploadResponse, ConsumeTransaction, Contact, ContactCandidate, ContactTargetType, CreateAgentRequest, CreateAgentResponse, CreateApiKeyRequest, CreateApiKeyResponse, CreateChatRequest, CreateChatResponse, CreateCheckoutRequest, CreateCheckoutResponse, CreateCiRunRequest, CreateCiRunResponse, CreateCloudRequest, CreateCloudResponse, CreateContactRequest, CreateContactResponse, CreateDirectRechargeCheckoutRequest, CreateDirectRechargeCheckoutResponse, CreateDraftAgentRequest, CreateOAuthServerRequest, CreateOAuthServerResponse, CreatePortalRequest, CreatePortalResponse, CreatePrivateCloudInviteRequest, CreatePrivateCloudInviteResponse, CreatePrivateCloudRequest, CreatePrivateCloudResponse, CreateResourceRequest, CreateSubscriptionPlanRequest, CreditsBucket, CreditsPackage, CurrentSubscriptionPlanType, DeleteAgentResponse, DeleteApiKeyResponse, DeleteContactResponse, DeleteOAuthServerResponse, DevCreateUserRequest, DevCreateUserResponse, DisplayConfig, DisplayConfigKeys, DraftAgent, DraftAgentConfig, EmailLoginCodeRequest, EmailLoginCodeResponse, EmailLoginVerifyRequest, EmailLoginVerifyResponse, EmailPasswordLoginRequest, EmailPasswordLoginResponse, EnsureRepoChatRequest, EnsureRepoChatResponse, EnvironmentVariable, FileItem, FileStats, FileSystemAdapter, FileVisibility, GetAgentGitUrlResponse, GetAgentResponse, GetChatResponse, GetEnvironmentVariablesResponse, GetGitServerResponse, GetGitUrlQuery, GetGitUrlResponse, GetInstallUrlResponse, GetOAuthServerResponse, GetPrivateCloudRunnerSecretResponse, GetReferenceQuery, GetRepositoryResponse, GetSubscriptionResponse, GetSubscriptionTiersResponse, GetUploadUrlsRequest, GetUploadUrlsResponse, GetUserAgentsResponse, GitHubIssue, GitHubIssueListItem, GitServer, GitServerAccountInfo, JsonSchemaDocument, ListAdminResourcesResponse, ListAgentsResponse, ListApiKeysQuery, ListApiKeysResponse, ListBranchesResponse, ListChatMembersResponse, ListChatTasksResponse, ListChatsQuery, ListChatsResponse, ListContactsResponse, ListFilesQuery, ListFilesResponse, ListGitServersResponse, ListIssuesQuery, ListIssuesResponse, ListMachineModelsResponse, ListMachinesResponse, ListOAuthServersPublicResponse, ListOAuthServersQuery, ListOAuthServersResponse, ListPackagesQuery, ListPackagesResponse, ListPrivateCloudMembersResponse, ListPrivateCloudsResponse, ListPublicResourcesQuery, ListPublicResourcesResponse, ListReferencesQuery, ListReferencesResponse, ListRepositoriesResponse, ListSubscriptionPlansResponse, ListTransactionsQuery, ListTransactionsResponse, ListUserInboxResponse, LocalMachine, LogoutResponse, MachineApprovalRequest, MachineApprovalStatusQuery, MachineAuthAuthorizedResponse, MachineAuthRequest, MachineAuthResultQuery, MachineEncryptionKey, MachineUnbindRequest, MachineUnbindResponse, OAuthAccountInfo, OAuthBindCallbackResponse, OAuthBindQuery, OAuthBindResponse, OAuthCallbackQuery, OAuthCallbackResponse, OAuthLoginQuery, OAuthServer, OAuthServerPublic, OAuthUnbindResponse, PrivateCloudEntitlement, PrivateCloudInvite, PrivateCloudMember, PrivateCloudSummary, ProfileEmailCodeRequest, ProfileEmailCodeResponse, PublicResourceItem, PublishDraftAgentRequest, PublishDraftAgentResponse, RechargeResponse, RegisterCompanionRequest, RegisterCompanionResponse, RemoveChatMemberRequest, RemovePrivateCloudMemberResponse, Repository, RepositoryActorIdentity, RepositoryReference, RepositoryReferenceComment, RepositoryReferenceCommentsResponse, RepositoryReferenceDiff, RepositoryReferenceKind, RepositoryReferenceListItem, ResetSecretRequest, ResetSecretResponse, ResolveUserInboxItemResponse, ResourceMetadata, RtcChunkFrame, RtcChunkHeader, RtcControlChannel, RtcControlMessage, SearchContactCandidatesQuery, SearchContactCandidatesResponse, SenderType, SetEnvironmentVariablesRequest, ShareAuthQuery, ShareAuthResponse, SimpleSuccess, StatsQuery, StopSubscriptionResponse, StripeCheckoutClient, Subscription, SubscriptionPlan, SubscriptionPlanType, SubscriptionTier, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineModelsRequest, SyncMachineModelsResponse, SyncMachineRequest, TaskEncryptionPayload, TaskSharePermissions, TaskTransactionsResponse, ToggleApiKeyRequest, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UpdateAgentRequest, UpdateAgentResponse, UpdateApiKeyRequest, UpdateDraftAgentRequest, UpdateDraftAgentResponse, UpdateOAuthServerRequest, UpdateOAuthServerResponse, UpdateResourceRequest, UpdateSecretRequest, UpdateSecretResponse, UpdateSubscriptionPlanRequest, UpdateSubscriptionRequest, UpdateSubscriptionResponse, UpdateUserProfileRequest, UpdateUserProfileResponse, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserEntitlement, UserInboxItem, UserInboxStatus, UserInboxSubjectType, UserProfileResponse, UserWithOAuthAccounts, ValidateMachineResponse };
|
|
4671
|
+
export { AGENTRIX_DEV_INIT_FEATURE, AcceptPrivateCloudInviteRequestSchema, AcceptPrivateCloudInviteResponseSchema, AddChatMemberRequestSchema, AddChatMemberResponseSchema, AdminResourceItemSchema, AgentCustomConfigSchema, AgentPermissionsSchema, AgentSchema, AgentTypeSchema, ApiErrorSchema, ApiKeySchema, ApprovalStatusResponseSchema, BillingStatsResponseSchema, BranchSchema, CONFIG_FILES, CancelCiRunResponseSchema, ChargeTransactionSchema, ChatMemberInputSchema, ChatMemberSchema, ChatSchema, ChatTypeSchema, ChatWithMembersSchema, CiProviderSchema, CiRunContextSchema, CiRunExecutionSchema, CiRunGitSchema, CiRunRepoSchema, CiRunResponseModeSchema, CiRunStatusResponseSchema, CiRunStatusSchema, CloudJoinApprovalRequestSchema, CloudJoinRequestSchema, CloudJoinResultQuerySchema, CloudJoinStatusQuerySchema, CloudMachineSchema, CloudSchema, CompanionEnsureResponseSchema, CompanionWorkspaceFileSchema, ConfirmUploadRequestSchema, ConfirmUploadResponseSchema, ConsumeTransactionSchema, ContactCandidateSchema, ContactSchema, ContactTargetTypeSchema, CreateAgentRequestSchema, CreateAgentResponseSchema, CreateApiKeyRequestSchema, CreateApiKeyResponseSchema, CreateChatRequestSchema, CreateChatResponseSchema, CreateCheckoutRequestSchema, CreateCheckoutResponseSchema, CreateCiRunRequestSchema, CreateCiRunResponseSchema, CreateCloudRequestSchema, CreateCloudResponseSchema, CreateContactRequestSchema, CreateContactResponseSchema, CreateDirectRechargeCheckoutRequestSchema, CreateDirectRechargeCheckoutResponseSchema, CreateDraftAgentRequestSchema, CreateOAuthServerRequestSchema, CreateOAuthServerResponseSchema, CreatePortalRequestSchema, CreatePortalResponseSchema, CreatePrivateCloudInviteRequestSchema, CreatePrivateCloudInviteResponseSchema, CreatePrivateCloudRequestSchema, CreatePrivateCloudResponseSchema, CreateResourceRequestSchema, CreateSubscriptionPlanRequestSchema, CreditsBucketSchema, CreditsPackageSchema, CurrentSubscriptionPlanTypeSchema, DateSchema, DeleteAgentResponseSchema, DeleteApiKeyResponseSchema, DeleteContactResponseSchema, DeleteOAuthServerResponseSchema, DevCreateUserRequestSchema, DevCreateUserResponseSchema, DisplayConfigKeysSchema, DisplayConfigSchema, DraftAgentConfigSchema, DraftAgentSchema, ENTRY_FILE_PATTERNS, EmailLoginCodeRequestSchema, EmailLoginCodeResponseSchema, EmailLoginVerifyRequestSchema, EmailLoginVerifyResponseSchema, EmailPasswordLoginRequestSchema, EmailPasswordLoginResponseSchema, EnsureRepoChatRequestSchema, EnsureRepoChatResponseSchema, EnvironmentVariableSchema, FileItemSchema, FileStatsSchema, FileVisibilitySchema, GetAgentGitUrlResponseSchema, GetAgentResponseSchema, GetChatResponseSchema, GetEnvironmentVariablesResponseSchema, GetGitServerResponseSchema, GetGitUrlQuerySchema, GetGitUrlResponseSchema, GetInstallUrlResponseSchema, GetOAuthServerResponseSchema, GetPrivateCloudRunnerSecretResponseSchema, GetReferenceQuerySchema, GetRepositoryResponseSchema, GetSubscriptionResponseSchema, GetSubscriptionTiersResponseSchema, GetUploadUrlsRequestSchema, GetUploadUrlsResponseSchema, GetUserAgentsResponseSchema, GitHubIssueListItemSchema, GitHubIssueSchema, GitServerAccountInfoSchema, GitServerSchema, IGNORED_DIRECTORIES, IdSchema, JsonSchemaDocumentSchema, ListAdminResourcesResponseSchema, ListAgentsResponseSchema, ListApiKeysQuerySchema, ListApiKeysResponseSchema, ListBranchesResponseSchema, ListChatMembersResponseSchema, ListChatTasksResponseSchema, ListChatsQuerySchema, ListChatsResponseSchema, ListContactsResponseSchema, ListFilesQuerySchema, ListFilesResponseSchema, ListGitServersResponseSchema, ListIssuesQuerySchema, ListIssuesResponseSchema, ListMachineModelsResponseSchema, ListMachinesResponseSchema, ListOAuthServersPublicResponseSchema, ListOAuthServersQuerySchema, ListOAuthServersResponseSchema, ListPackagesQuerySchema, ListPackagesResponseSchema, ListPrivateCloudMachinesResponseSchema, ListPrivateCloudMembersResponseSchema, ListPrivateCloudsResponseSchema, ListPublicResourcesQuerySchema, ListPublicResourcesResponseSchema, ListReferencesQuerySchema, ListReferencesResponseSchema, ListRepositoriesResponseSchema, ListSubscriptionPlansResponseSchema, ListTransactionsQuerySchema, ListTransactionsResponseSchema, ListUserInboxResponseSchema, LocalMachineSchema, LogoutResponseSchema, MachineApprovalRequestSchema, MachineApprovalStatusQuerySchema, MachineAuthAuthorizedResponseSchema, MachineAuthRequestSchema, MachineAuthResultQuerySchema, MachineUnbindRequestSchema, MachineUnbindResponseSchema, OAuthAccountInfoSchema, OAuthBindCallbackResponseSchema, OAuthBindQuerySchema, OAuthBindResponseSchema, OAuthCallbackQuerySchema, OAuthCallbackResponseSchema, OAuthLoginQuerySchema, OAuthServerPublicSchema, OAuthServerSchema, OAuthUnbindResponseSchema, PaginatedResponseSchema, PreviewMetadata, PrivateCloudEntitlementSchema, PrivateCloudInviteSchema, PrivateCloudMemberSchema, PrivateCloudSummarySchema, ProfileEmailCodeRequestSchema, ProfileEmailCodeResponseSchema, PublicResourceItemSchema, PublishDraftAgentRequestSchema, PublishDraftAgentResponseSchema, RELEVANT_DEPENDENCIES, RTC_CHUNK_HEADER_SIZE, RechargeResponseSchema, RegisterCompanionRequestSchema, RegisterCompanionResponseSchema, RemoveChatMemberRequestSchema, RemovePrivateCloudMemberResponseSchema, RepositoryActorIdentitySchema, RepositoryReferenceCommentSchema, RepositoryReferenceCommentsResponseSchema, RepositoryReferenceDiffSchema, RepositoryReferenceKindSchema, RepositoryReferenceListItemSchema, RepositoryReferenceSchema, RepositorySchema, ResetSecretRequestSchema, ResetSecretResponseSchema, ResolveUserInboxItemResponseSchema, ResourceMetadataSchema, RtcChunkFlags, STATIC_FILE_EXTENSIONS, SearchContactCandidatesQuerySchema, SearchContactCandidatesResponseSchema, SenderTypeSchema, SetEnvironmentVariablesRequestSchema, ShareAuthQuerySchema, ShareAuthResponseSchema, SimpleSuccessSchema, StatsQuerySchema, StopSubscriptionResponseSchema, StripeCheckoutClientSchema, SubscriptionPlanSchema, SubscriptionPlanTypeSchema, SubscriptionSchema, SubscriptionTierSchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineModelsRequestSchema, SyncMachineModelsResponseSchema, SyncMachineRequestSchema, TaskSharePermissionsSchema, TaskTransactionsResponseSchema, ToggleApiKeyRequestSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateApiKeyRequestSchema, UpdateDraftAgentRequestSchema, UpdateDraftAgentResponseSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, UpdateResourceRequestSchema, UpdateSecretRequestSchema, UpdateSecretResponseSchema, UpdateSubscriptionPlanRequestSchema, UpdateSubscriptionRequestSchema, UpdateSubscriptionResponseSchema, UpdateUserProfileRequestSchema, UpdateUserProfileResponseSchema, UploadUrlResultSchema, UserBalanceResponseSchema, UserBasicInfoSchema, UserEntitlementSchema, UserEntitlementSourceSchema, UserInboxItemSchema, UserInboxStatusSchema, UserInboxSubjectTypeSchema, UserProfileResponseSchema, UserWithOAuthAccountsSchema, ValidateMachineResponseSchema, buildRtcChunkFrame, createKeyPair, createKeyPairWithUit8Array, createTaskEncryptionPayload, decodeBase64, decodeGitPath, decodeRtcChunkHeader, decryptAES, decryptFileContent, decryptMachineEncryptionKey, decryptSdkMessage, decryptWithEphemeralKey, detectPreview, encodeBase64, encodeBase64Url, encodeRtcChunkHeader, encryptAES, encryptFileContent, encryptMachineEncryptionKey, encryptSdkMessage, encryptWithEphemeralKey, generateAESKey, generateAESKeyBase64, getRandomBytes, machineAuth, splitRtcChunkFrame, userAuth, workerAuth };
|
|
4672
|
+
export type { AcceptPrivateCloudInviteRequest, AcceptPrivateCloudInviteResponse, AddChatMemberRequest, AddChatMemberResponse, AdminResourceItem, Agent, AgentCustomConfig, AgentPermissions, AgentType, ApiError, ApiKey, ApprovalStatusResponse, AuthPayload, BillingStatsResponse, Branch, CancelCiRunResponse, ChargeTransaction, Chat, ChatMember, ChatMemberInput, ChatType, ChatWithMembers, CiProvider, CiRunContext, CiRunExecution, CiRunGit, CiRunRepo, CiRunResponseMode, CiRunStatus, CiRunStatusResponse, ClientType, Cloud, CloudJoinApprovalRequest, CloudJoinRequest, CloudJoinResultQuery, CloudJoinStatusQuery, CloudMachine, CompanionEnsureResponse, CompanionWorkspaceFile, ConfirmUploadRequest, ConfirmUploadResponse, ConsumeTransaction, Contact, ContactCandidate, ContactTargetType, CreateAgentRequest, CreateAgentResponse, CreateApiKeyRequest, CreateApiKeyResponse, CreateChatRequest, CreateChatResponse, CreateCheckoutRequest, CreateCheckoutResponse, CreateCiRunRequest, CreateCiRunResponse, CreateCloudRequest, CreateCloudResponse, CreateContactRequest, CreateContactResponse, CreateDirectRechargeCheckoutRequest, CreateDirectRechargeCheckoutResponse, CreateDraftAgentRequest, CreateOAuthServerRequest, CreateOAuthServerResponse, CreatePortalRequest, CreatePortalResponse, CreatePrivateCloudInviteRequest, CreatePrivateCloudInviteResponse, CreatePrivateCloudRequest, CreatePrivateCloudResponse, CreateResourceRequest, CreateSubscriptionPlanRequest, CreditsBucket, CreditsPackage, CurrentSubscriptionPlanType, DeleteAgentResponse, DeleteApiKeyResponse, DeleteContactResponse, DeleteOAuthServerResponse, DevCreateUserRequest, DevCreateUserResponse, DisplayConfig, DisplayConfigKeys, DraftAgent, DraftAgentConfig, EmailLoginCodeRequest, EmailLoginCodeResponse, EmailLoginVerifyRequest, EmailLoginVerifyResponse, EmailPasswordLoginRequest, EmailPasswordLoginResponse, EnsureRepoChatRequest, EnsureRepoChatResponse, EnvironmentVariable, FileItem, FileStats, FileSystemAdapter, FileVisibility, GetAgentGitUrlResponse, GetAgentResponse, GetChatResponse, GetEnvironmentVariablesResponse, GetGitServerResponse, GetGitUrlQuery, GetGitUrlResponse, GetInstallUrlResponse, GetOAuthServerResponse, GetPrivateCloudRunnerSecretResponse, GetReferenceQuery, GetRepositoryResponse, GetSubscriptionResponse, GetSubscriptionTiersResponse, GetUploadUrlsRequest, GetUploadUrlsResponse, GetUserAgentsResponse, GitHubIssue, GitHubIssueListItem, GitServer, GitServerAccountInfo, JsonSchemaDocument, ListAdminResourcesResponse, ListAgentsResponse, ListApiKeysQuery, ListApiKeysResponse, ListBranchesResponse, ListChatMembersResponse, ListChatTasksResponse, ListChatsQuery, ListChatsResponse, ListContactsResponse, ListFilesQuery, ListFilesResponse, ListGitServersResponse, ListIssuesQuery, ListIssuesResponse, ListMachineModelsResponse, ListMachinesResponse, ListOAuthServersPublicResponse, ListOAuthServersQuery, ListOAuthServersResponse, ListPackagesQuery, ListPackagesResponse, ListPrivateCloudMachinesResponse, ListPrivateCloudMembersResponse, ListPrivateCloudsResponse, ListPublicResourcesQuery, ListPublicResourcesResponse, ListReferencesQuery, ListReferencesResponse, ListRepositoriesResponse, ListSubscriptionPlansResponse, ListTransactionsQuery, ListTransactionsResponse, ListUserInboxResponse, LocalMachine, LogoutResponse, MachineApprovalRequest, MachineApprovalStatusQuery, MachineAuthAuthorizedResponse, MachineAuthRequest, MachineAuthResultQuery, MachineEncryptionKey, MachineUnbindRequest, MachineUnbindResponse, OAuthAccountInfo, OAuthBindCallbackResponse, OAuthBindQuery, OAuthBindResponse, OAuthCallbackQuery, OAuthCallbackResponse, OAuthLoginQuery, OAuthServer, OAuthServerPublic, OAuthUnbindResponse, PrivateCloudEntitlement, PrivateCloudInvite, PrivateCloudMember, PrivateCloudSummary, ProfileEmailCodeRequest, ProfileEmailCodeResponse, PublicResourceItem, PublishDraftAgentRequest, PublishDraftAgentResponse, RechargeResponse, RegisterCompanionRequest, RegisterCompanionResponse, RemoveChatMemberRequest, RemovePrivateCloudMemberResponse, Repository, RepositoryActorIdentity, RepositoryReference, RepositoryReferenceComment, RepositoryReferenceCommentsResponse, RepositoryReferenceDiff, RepositoryReferenceKind, RepositoryReferenceListItem, ResetSecretRequest, ResetSecretResponse, ResolveUserInboxItemResponse, ResourceMetadata, RtcChunkFrame, RtcChunkHeader, RtcControlChannel, RtcControlMessage, SearchContactCandidatesQuery, SearchContactCandidatesResponse, SenderType, SetEnvironmentVariablesRequest, ShareAuthQuery, ShareAuthResponse, SimpleSuccess, StatsQuery, StopSubscriptionResponse, StripeCheckoutClient, Subscription, SubscriptionPlan, SubscriptionPlanType, SubscriptionTier, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineModelsRequest, SyncMachineModelsResponse, SyncMachineRequest, TaskEncryptionPayload, TaskSharePermissions, TaskTransactionsResponse, ToggleApiKeyRequest, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UpdateAgentRequest, UpdateAgentResponse, UpdateApiKeyRequest, UpdateDraftAgentRequest, UpdateDraftAgentResponse, UpdateOAuthServerRequest, UpdateOAuthServerResponse, UpdateResourceRequest, UpdateSecretRequest, UpdateSecretResponse, UpdateSubscriptionPlanRequest, UpdateSubscriptionRequest, UpdateSubscriptionResponse, UpdateUserProfileRequest, UpdateUserProfileResponse, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserEntitlement, UserInboxItem, UserInboxStatus, UserInboxSubjectType, UserProfileResponse, UserWithOAuthAccounts, ValidateMachineResponse };
|
package/dist/node.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { fx as LoadAgentOptions, fv as AgentConfig, fw as ValidationResult, fs as FrameworkType } from './errors-rbccBPEc.cjs';
|
|
2
|
+
export { fF as AgentConfigValidationError, fo as AgentContext, fD as AgentError, fH as AgentLoadError, ft as AgentMetadata, fB as AgentMetadataSchema, fE as AgentNotFoundError, fp as AgentrixContext, fu as ClaudeAgentConfig, fC as ClaudeConfigSchema, fA as FRAMEWORK_TYPES, fG as FrameworkNotSupportedError, fz as HookFactory, fI as MissingAgentFileError, fy as RepositoryInitHookInput, fr as getAgentContext, fq as setAgentContext } from './errors-rbccBPEc.cjs';
|
|
3
3
|
export { buildGitLabWebhookEndpointPath, buildGitLabWebhookUrl } from './gitlabWebhook.cjs';
|
|
4
4
|
import '@anthropic-ai/claude-agent-sdk';
|
|
5
5
|
import 'zod';
|