@tai42/api-client 17.1.5 → 18.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/backend-client.d.ts +1 -1
- package/dist/client/backup-client.d.ts +2 -2
- package/dist/client/channels-client.js +1 -1
- package/dist/client/channels-client.js.map +1 -1
- package/dist/client/config-client.d.ts +3 -3
- package/dist/client/connectors-client.d.ts +8 -8
- package/dist/client/conversations-client.d.ts +34 -4
- package/dist/client/conversations-client.d.ts.map +1 -1
- package/dist/client/hooks-client.d.ts +16 -1
- package/dist/client/hooks-client.d.ts.map +1 -1
- package/dist/client/index.d.ts +96 -45
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/manifest-client.d.ts +18 -18
- package/dist/client/profiles-client.d.ts +2 -2
- package/dist/client/schedules-client.d.ts +5 -0
- package/dist/client/schedules-client.d.ts.map +1 -1
- package/dist/client/schedules-client.js.map +1 -1
- package/dist/client/tool-extensions-client.d.ts +2 -2
- package/dist/client/tools-client.d.ts +9 -4
- package/dist/client/tools-client.d.ts.map +1 -1
- package/dist/client/tools-client.js +9 -4
- package/dist/client/tools-client.js.map +1 -1
- package/dist/generated/served-schemas.d.ts +67 -6
- package/dist/generated/served-schemas.d.ts.map +1 -1
- package/dist/generated/served-schemas.js +5 -5
- package/dist/generated/served-schemas.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/schemas/backup.d.ts +2 -2
- package/dist/schemas/config.d.ts +5 -4
- package/dist/schemas/config.d.ts.map +1 -1
- package/dist/schemas/config.js +5 -4
- package/dist/schemas/config.js.map +1 -1
- package/dist/schemas/connectors.d.ts +8 -8
- package/dist/schemas/conversations.d.ts +34 -4
- package/dist/schemas/conversations.d.ts.map +1 -1
- package/dist/schemas/fleet.d.ts +6 -6
- package/dist/schemas/hooks.d.ts +16 -1
- package/dist/schemas/hooks.d.ts.map +1 -1
- package/dist/schemas/manifest-mcp.d.ts +2 -2
- package/dist/schemas/profiles.d.ts +2 -2
- package/dist/schemas/served.d.ts +66 -6
- package/dist/schemas/served.d.ts.map +1 -1
- package/dist/schemas/system-kinds.d.ts +3 -3
- package/dist/schemas/tools.d.ts +99 -0
- package/dist/schemas/tools.d.ts.map +1 -1
- package/dist/schemas/tools.js +41 -0
- package/dist/schemas/tools.js.map +1 -1
- package/dist/tool-runs.d.ts +50 -9
- package/dist/tool-runs.d.ts.map +1 -1
- package/dist/tool-runs.js +23 -7
- package/dist/tool-runs.js.map +1 -1
- package/package.json +1 -1
- package/src/client/channels-client.ts +1 -1
- package/src/client/schedules-client.ts +9 -0
- package/src/client/tools-client.ts +13 -4
- package/src/generated/served-schemas.ts +5 -5
- package/src/index.ts +7 -0
- package/src/schemas/config.ts +5 -4
- package/src/schemas/tools.ts +51 -0
- package/src/tool-runs.ts +29 -7
package/dist/client/index.d.ts
CHANGED
|
@@ -330,7 +330,12 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
330
330
|
tool_name: string;
|
|
331
331
|
tool_kwargs: Record<string, unknown>;
|
|
332
332
|
schedule_kwargs: Record<string, unknown>;
|
|
333
|
+
execution_key?: string | null;
|
|
333
334
|
state_binding?: import("..").StateBinding | null;
|
|
335
|
+
start_expr?: import("..").TemplatedText | null;
|
|
336
|
+
cancel_expr?: import("..").TemplatedText | null;
|
|
337
|
+
resume_expr?: import("..").TemplatedText | null;
|
|
338
|
+
extras_expr?: import("..").TemplatedText | null;
|
|
334
339
|
}) => Promise<unknown>;
|
|
335
340
|
readonly deleteSchedule: (name: string) => Promise<unknown>;
|
|
336
341
|
readonly listBackupSections: (signal?: AbortSignal) => Promise<{
|
|
@@ -362,7 +367,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
362
367
|
local_only: boolean;
|
|
363
368
|
results: {
|
|
364
369
|
name: string;
|
|
365
|
-
outcome: "failed" | "
|
|
370
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
366
371
|
payload: unknown;
|
|
367
372
|
error: string | null;
|
|
368
373
|
detail: string | null;
|
|
@@ -375,7 +380,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
375
380
|
local_only: boolean;
|
|
376
381
|
results: {
|
|
377
382
|
name: string;
|
|
378
|
-
outcome: "failed" | "
|
|
383
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
379
384
|
payload: unknown;
|
|
380
385
|
error: string | null;
|
|
381
386
|
detail: string | null;
|
|
@@ -727,6 +732,11 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
727
732
|
}>;
|
|
728
733
|
readonly listHooks: (topic?: string, signal?: AbortSignal) => Promise<{
|
|
729
734
|
items: {
|
|
735
|
+
cancel_expr: {
|
|
736
|
+
content?: string | undefined;
|
|
737
|
+
id?: string | undefined;
|
|
738
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
739
|
+
} | null;
|
|
730
740
|
condition: {
|
|
731
741
|
content?: string | undefined;
|
|
732
742
|
id?: string | undefined;
|
|
@@ -734,12 +744,22 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
734
744
|
} | null;
|
|
735
745
|
execution_key: string;
|
|
736
746
|
execution_key_fingerprint: string;
|
|
737
|
-
|
|
747
|
+
extras_expr: {
|
|
738
748
|
content?: string | undefined;
|
|
739
749
|
id?: string | undefined;
|
|
740
750
|
kwargs?: Record<string, unknown> | undefined;
|
|
741
751
|
} | null;
|
|
742
752
|
name: string;
|
|
753
|
+
resume_expr: {
|
|
754
|
+
content?: string | undefined;
|
|
755
|
+
id?: string | undefined;
|
|
756
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
757
|
+
} | null;
|
|
758
|
+
start_expr: {
|
|
759
|
+
content?: string | undefined;
|
|
760
|
+
id?: string | undefined;
|
|
761
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
762
|
+
} | null;
|
|
743
763
|
state_binding: {
|
|
744
764
|
states: {
|
|
745
765
|
input_injections: {
|
|
@@ -890,11 +910,21 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
890
910
|
items: {
|
|
891
911
|
callback_secret: string | null;
|
|
892
912
|
callback_url: string | null;
|
|
913
|
+
cancel_expr: {
|
|
914
|
+
content?: string | undefined;
|
|
915
|
+
id?: string | undefined;
|
|
916
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
917
|
+
} | null;
|
|
893
918
|
channel: string | null;
|
|
894
919
|
door: "channel" | "api";
|
|
895
920
|
error_reply_text: string | null;
|
|
896
921
|
execution_key: string;
|
|
897
922
|
execution_key_fingerprint: string;
|
|
923
|
+
extras_expr: {
|
|
924
|
+
content?: string | undefined;
|
|
925
|
+
id?: string | undefined;
|
|
926
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
927
|
+
} | null;
|
|
898
928
|
initial_mode: "agent" | "manual";
|
|
899
929
|
locale: string | null;
|
|
900
930
|
our_identity: string | null;
|
|
@@ -903,17 +933,22 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
903
933
|
running: "continue" | "cancel";
|
|
904
934
|
settle_seconds: number;
|
|
905
935
|
};
|
|
906
|
-
|
|
936
|
+
reply_expr: {
|
|
907
937
|
content?: string | undefined;
|
|
908
938
|
id?: string | undefined;
|
|
909
939
|
kwargs?: Record<string, unknown> | undefined;
|
|
910
940
|
} | null;
|
|
911
|
-
|
|
941
|
+
resume_expr: {
|
|
912
942
|
content?: string | undefined;
|
|
913
943
|
id?: string | undefined;
|
|
914
944
|
kwargs?: Record<string, unknown> | undefined;
|
|
915
945
|
} | null;
|
|
916
946
|
route_name: string;
|
|
947
|
+
start_expr: {
|
|
948
|
+
content?: string | undefined;
|
|
949
|
+
id?: string | undefined;
|
|
950
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
951
|
+
} | null;
|
|
917
952
|
target_kind: "tool" | "agent";
|
|
918
953
|
target_name: string;
|
|
919
954
|
turns_per_hour_override: number | null;
|
|
@@ -926,11 +961,21 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
926
961
|
route: {
|
|
927
962
|
callback_secret: string | null;
|
|
928
963
|
callback_url: string | null;
|
|
964
|
+
cancel_expr: {
|
|
965
|
+
content?: string | undefined;
|
|
966
|
+
id?: string | undefined;
|
|
967
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
968
|
+
} | null;
|
|
929
969
|
channel: string | null;
|
|
930
970
|
door: "channel" | "api";
|
|
931
971
|
error_reply_text: string | null;
|
|
932
972
|
execution_key: string;
|
|
933
973
|
execution_key_fingerprint: string;
|
|
974
|
+
extras_expr: {
|
|
975
|
+
content?: string | undefined;
|
|
976
|
+
id?: string | undefined;
|
|
977
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
978
|
+
} | null;
|
|
934
979
|
initial_mode: "agent" | "manual";
|
|
935
980
|
locale: string | null;
|
|
936
981
|
our_identity: string | null;
|
|
@@ -939,17 +984,22 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
939
984
|
running: "continue" | "cancel";
|
|
940
985
|
settle_seconds: number;
|
|
941
986
|
};
|
|
942
|
-
|
|
987
|
+
reply_expr: {
|
|
943
988
|
content?: string | undefined;
|
|
944
989
|
id?: string | undefined;
|
|
945
990
|
kwargs?: Record<string, unknown> | undefined;
|
|
946
991
|
} | null;
|
|
947
|
-
|
|
992
|
+
resume_expr: {
|
|
948
993
|
content?: string | undefined;
|
|
949
994
|
id?: string | undefined;
|
|
950
995
|
kwargs?: Record<string, unknown> | undefined;
|
|
951
996
|
} | null;
|
|
952
997
|
route_name: string;
|
|
998
|
+
start_expr: {
|
|
999
|
+
content?: string | undefined;
|
|
1000
|
+
id?: string | undefined;
|
|
1001
|
+
kwargs?: Record<string, unknown> | undefined;
|
|
1002
|
+
} | null;
|
|
953
1003
|
target_kind: "tool" | "agent";
|
|
954
1004
|
target_name: string;
|
|
955
1005
|
turns_per_hour_override: number | null;
|
|
@@ -1362,7 +1412,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1362
1412
|
local_only: boolean;
|
|
1363
1413
|
results: {
|
|
1364
1414
|
name: string;
|
|
1365
|
-
outcome: "failed" | "
|
|
1415
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
1366
1416
|
payload: unknown;
|
|
1367
1417
|
error: string | null;
|
|
1368
1418
|
detail: string | null;
|
|
@@ -1375,7 +1425,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1375
1425
|
local_only: boolean;
|
|
1376
1426
|
results: {
|
|
1377
1427
|
name: string;
|
|
1378
|
-
outcome: "failed" | "
|
|
1428
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
1379
1429
|
payload: unknown;
|
|
1380
1430
|
error: string | null;
|
|
1381
1431
|
detail: string | null;
|
|
@@ -1398,7 +1448,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1398
1448
|
local_only: boolean;
|
|
1399
1449
|
results: {
|
|
1400
1450
|
name: string;
|
|
1401
|
-
outcome: "failed" | "
|
|
1451
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
1402
1452
|
payload: unknown;
|
|
1403
1453
|
error: string | null;
|
|
1404
1454
|
detail: string | null;
|
|
@@ -1411,7 +1461,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1411
1461
|
local_only: boolean;
|
|
1412
1462
|
results: {
|
|
1413
1463
|
name: string;
|
|
1414
|
-
outcome: "failed" | "
|
|
1464
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
1415
1465
|
payload: unknown;
|
|
1416
1466
|
error: string | null;
|
|
1417
1467
|
detail: string | null;
|
|
@@ -1441,7 +1491,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1441
1491
|
local_only: boolean;
|
|
1442
1492
|
results: {
|
|
1443
1493
|
name: string;
|
|
1444
|
-
outcome: "failed" | "
|
|
1494
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
1445
1495
|
payload: unknown;
|
|
1446
1496
|
error: string | null;
|
|
1447
1497
|
detail: string | null;
|
|
@@ -1454,7 +1504,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1454
1504
|
local_only: boolean;
|
|
1455
1505
|
results: {
|
|
1456
1506
|
name: string;
|
|
1457
|
-
outcome: "failed" | "
|
|
1507
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
1458
1508
|
payload: unknown;
|
|
1459
1509
|
error: string | null;
|
|
1460
1510
|
detail: string | null;
|
|
@@ -1476,7 +1526,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1476
1526
|
local_only: boolean;
|
|
1477
1527
|
results: {
|
|
1478
1528
|
name: string;
|
|
1479
|
-
outcome: "failed" | "
|
|
1529
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
1480
1530
|
payload: unknown;
|
|
1481
1531
|
error: string | null;
|
|
1482
1532
|
detail: string | null;
|
|
@@ -1489,7 +1539,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1489
1539
|
local_only: boolean;
|
|
1490
1540
|
results: {
|
|
1491
1541
|
name: string;
|
|
1492
|
-
outcome: "failed" | "
|
|
1542
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
1493
1543
|
payload: unknown;
|
|
1494
1544
|
error: string | null;
|
|
1495
1545
|
detail: string | null;
|
|
@@ -1516,7 +1566,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1516
1566
|
local_only: boolean;
|
|
1517
1567
|
results: {
|
|
1518
1568
|
name: string;
|
|
1519
|
-
outcome: "failed" | "
|
|
1569
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
1520
1570
|
payload: unknown;
|
|
1521
1571
|
error: string | null;
|
|
1522
1572
|
detail: string | null;
|
|
@@ -1529,7 +1579,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1529
1579
|
local_only: boolean;
|
|
1530
1580
|
results: {
|
|
1531
1581
|
name: string;
|
|
1532
|
-
outcome: "failed" | "
|
|
1582
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
1533
1583
|
payload: unknown;
|
|
1534
1584
|
error: string | null;
|
|
1535
1585
|
detail: string | null;
|
|
@@ -1608,7 +1658,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1608
1658
|
local_only: boolean;
|
|
1609
1659
|
results: {
|
|
1610
1660
|
name: string;
|
|
1611
|
-
outcome: "failed" | "
|
|
1661
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
1612
1662
|
payload: unknown;
|
|
1613
1663
|
error: string | null;
|
|
1614
1664
|
detail: string | null;
|
|
@@ -1621,7 +1671,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1621
1671
|
local_only: boolean;
|
|
1622
1672
|
results: {
|
|
1623
1673
|
name: string;
|
|
1624
|
-
outcome: "failed" | "
|
|
1674
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
1625
1675
|
payload: unknown;
|
|
1626
1676
|
error: string | null;
|
|
1627
1677
|
detail: string | null;
|
|
@@ -1667,7 +1717,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1667
1717
|
local_only: boolean;
|
|
1668
1718
|
results: {
|
|
1669
1719
|
name: string;
|
|
1670
|
-
outcome: "failed" | "
|
|
1720
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
1671
1721
|
payload: unknown;
|
|
1672
1722
|
error: string | null;
|
|
1673
1723
|
detail: string | null;
|
|
@@ -1680,7 +1730,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1680
1730
|
local_only: boolean;
|
|
1681
1731
|
results: {
|
|
1682
1732
|
name: string;
|
|
1683
|
-
outcome: "failed" | "
|
|
1733
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
1684
1734
|
payload: unknown;
|
|
1685
1735
|
error: string | null;
|
|
1686
1736
|
detail: string | null;
|
|
@@ -1699,7 +1749,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1699
1749
|
local_only: boolean;
|
|
1700
1750
|
results: {
|
|
1701
1751
|
name: string;
|
|
1702
|
-
outcome: "failed" | "
|
|
1752
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
1703
1753
|
payload: unknown;
|
|
1704
1754
|
error: string | null;
|
|
1705
1755
|
detail: string | null;
|
|
@@ -1742,7 +1792,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1742
1792
|
local_only: boolean;
|
|
1743
1793
|
results: {
|
|
1744
1794
|
name: string;
|
|
1745
|
-
outcome: "failed" | "
|
|
1795
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
1746
1796
|
payload: unknown;
|
|
1747
1797
|
error: string | null;
|
|
1748
1798
|
detail: string | null;
|
|
@@ -1755,7 +1805,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1755
1805
|
local_only: boolean;
|
|
1756
1806
|
results: {
|
|
1757
1807
|
name: string;
|
|
1758
|
-
outcome: "failed" | "
|
|
1808
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
1759
1809
|
payload: unknown;
|
|
1760
1810
|
error: string | null;
|
|
1761
1811
|
detail: string | null;
|
|
@@ -1777,7 +1827,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1777
1827
|
local_only: boolean;
|
|
1778
1828
|
results: {
|
|
1779
1829
|
name: string;
|
|
1780
|
-
outcome: "failed" | "
|
|
1830
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
1781
1831
|
payload: unknown;
|
|
1782
1832
|
error: string | null;
|
|
1783
1833
|
detail: string | null;
|
|
@@ -1796,7 +1846,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1796
1846
|
local_only: boolean;
|
|
1797
1847
|
results: {
|
|
1798
1848
|
name: string;
|
|
1799
|
-
outcome: "failed" | "
|
|
1849
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
1800
1850
|
payload: unknown;
|
|
1801
1851
|
error: string | null;
|
|
1802
1852
|
detail: string | null;
|
|
@@ -1809,7 +1859,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1809
1859
|
local_only: boolean;
|
|
1810
1860
|
results: {
|
|
1811
1861
|
name: string;
|
|
1812
|
-
outcome: "failed" | "
|
|
1862
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
1813
1863
|
payload: unknown;
|
|
1814
1864
|
error: string | null;
|
|
1815
1865
|
detail: string | null;
|
|
@@ -1830,7 +1880,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1830
1880
|
local_only: boolean;
|
|
1831
1881
|
results: {
|
|
1832
1882
|
name: string;
|
|
1833
|
-
outcome: "failed" | "
|
|
1883
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
1834
1884
|
payload: unknown;
|
|
1835
1885
|
error: string | null;
|
|
1836
1886
|
detail: string | null;
|
|
@@ -1843,7 +1893,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1843
1893
|
local_only: boolean;
|
|
1844
1894
|
results: {
|
|
1845
1895
|
name: string;
|
|
1846
|
-
outcome: "failed" | "
|
|
1896
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
1847
1897
|
payload: unknown;
|
|
1848
1898
|
error: string | null;
|
|
1849
1899
|
detail: string | null;
|
|
@@ -1864,7 +1914,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1864
1914
|
local_only: boolean;
|
|
1865
1915
|
results: {
|
|
1866
1916
|
name: string;
|
|
1867
|
-
outcome: "failed" | "
|
|
1917
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
1868
1918
|
payload: unknown;
|
|
1869
1919
|
error: string | null;
|
|
1870
1920
|
detail: string | null;
|
|
@@ -1877,7 +1927,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1877
1927
|
local_only: boolean;
|
|
1878
1928
|
results: {
|
|
1879
1929
|
name: string;
|
|
1880
|
-
outcome: "failed" | "
|
|
1930
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
1881
1931
|
payload: unknown;
|
|
1882
1932
|
error: string | null;
|
|
1883
1933
|
detail: string | null;
|
|
@@ -1898,7 +1948,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1898
1948
|
local_only: boolean;
|
|
1899
1949
|
results: {
|
|
1900
1950
|
name: string;
|
|
1901
|
-
outcome: "failed" | "
|
|
1951
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
1902
1952
|
payload: unknown;
|
|
1903
1953
|
error: string | null;
|
|
1904
1954
|
detail: string | null;
|
|
@@ -1911,7 +1961,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1911
1961
|
local_only: boolean;
|
|
1912
1962
|
results: {
|
|
1913
1963
|
name: string;
|
|
1914
|
-
outcome: "failed" | "
|
|
1964
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
1915
1965
|
payload: unknown;
|
|
1916
1966
|
error: string | null;
|
|
1917
1967
|
detail: string | null;
|
|
@@ -1932,7 +1982,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1932
1982
|
local_only: boolean;
|
|
1933
1983
|
results: {
|
|
1934
1984
|
name: string;
|
|
1935
|
-
outcome: "failed" | "
|
|
1985
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
1936
1986
|
payload: unknown;
|
|
1937
1987
|
error: string | null;
|
|
1938
1988
|
detail: string | null;
|
|
@@ -1945,7 +1995,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1945
1995
|
local_only: boolean;
|
|
1946
1996
|
results: {
|
|
1947
1997
|
name: string;
|
|
1948
|
-
outcome: "failed" | "
|
|
1998
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
1949
1999
|
payload: unknown;
|
|
1950
2000
|
error: string | null;
|
|
1951
2001
|
detail: string | null;
|
|
@@ -1960,7 +2010,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1960
2010
|
local_only: boolean;
|
|
1961
2011
|
results: {
|
|
1962
2012
|
name: string;
|
|
1963
|
-
outcome: "failed" | "
|
|
2013
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
1964
2014
|
payload: unknown;
|
|
1965
2015
|
error: string | null;
|
|
1966
2016
|
detail: string | null;
|
|
@@ -1973,7 +2023,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1973
2023
|
local_only: boolean;
|
|
1974
2024
|
results: {
|
|
1975
2025
|
name: string;
|
|
1976
|
-
outcome: "failed" | "
|
|
2026
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
1977
2027
|
payload: unknown;
|
|
1978
2028
|
error: string | null;
|
|
1979
2029
|
detail: string | null;
|
|
@@ -1986,7 +2036,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
1986
2036
|
local_only: boolean;
|
|
1987
2037
|
results: {
|
|
1988
2038
|
name: string;
|
|
1989
|
-
outcome: "failed" | "
|
|
2039
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
1990
2040
|
payload: unknown;
|
|
1991
2041
|
error: string | null;
|
|
1992
2042
|
detail: string | null;
|
|
@@ -2042,7 +2092,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
2042
2092
|
local_only: boolean;
|
|
2043
2093
|
results: {
|
|
2044
2094
|
name: string;
|
|
2045
|
-
outcome: "failed" | "
|
|
2095
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
2046
2096
|
payload: unknown;
|
|
2047
2097
|
error: string | null;
|
|
2048
2098
|
detail: string | null;
|
|
@@ -2055,7 +2105,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
2055
2105
|
local_only: boolean;
|
|
2056
2106
|
results: {
|
|
2057
2107
|
name: string;
|
|
2058
|
-
outcome: "failed" | "
|
|
2108
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
2059
2109
|
payload: unknown;
|
|
2060
2110
|
error: string | null;
|
|
2061
2111
|
detail: string | null;
|
|
@@ -2092,7 +2142,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
2092
2142
|
local_only: boolean;
|
|
2093
2143
|
results: {
|
|
2094
2144
|
name: string;
|
|
2095
|
-
outcome: "failed" | "
|
|
2145
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
2096
2146
|
payload: unknown;
|
|
2097
2147
|
error: string | null;
|
|
2098
2148
|
detail: string | null;
|
|
@@ -2874,7 +2924,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
2874
2924
|
local_only: boolean;
|
|
2875
2925
|
results: {
|
|
2876
2926
|
name: string;
|
|
2877
|
-
outcome: "failed" | "
|
|
2927
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
2878
2928
|
payload: unknown;
|
|
2879
2929
|
error: string | null;
|
|
2880
2930
|
detail: string | null;
|
|
@@ -2887,7 +2937,7 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
2887
2937
|
local_only: boolean;
|
|
2888
2938
|
results: {
|
|
2889
2939
|
name: string;
|
|
2890
|
-
outcome: "failed" | "
|
|
2940
|
+
outcome: "failed" | "applied" | "resyncing" | "recycling" | "stale" | "missing" | "departed" | "timed_out";
|
|
2891
2941
|
payload: unknown;
|
|
2892
2942
|
error: string | null;
|
|
2893
2943
|
detail: string | null;
|
|
@@ -2900,16 +2950,17 @@ export declare function createApiClient(config: ApiConfig): {
|
|
|
2900
2950
|
readonly getToolRun: (runId: string, signal?: AbortSignal) => Promise<{
|
|
2901
2951
|
run_id: string;
|
|
2902
2952
|
tool_name: string;
|
|
2903
|
-
status: "running" | "
|
|
2953
|
+
status: "running" | "failed" | "parked" | "succeeded" | "lost";
|
|
2904
2954
|
started_at: string;
|
|
2905
2955
|
finished_at?: string | undefined;
|
|
2906
2956
|
result?: unknown;
|
|
2907
2957
|
error?: string | undefined;
|
|
2958
|
+
resumed_interactions?: string[] | undefined;
|
|
2908
2959
|
}>;
|
|
2909
2960
|
readonly listToolRuns: (toolName: string, signal?: AbortSignal) => Promise<{
|
|
2910
2961
|
run_id: string;
|
|
2911
2962
|
tool_name: string;
|
|
2912
|
-
status: "running" | "
|
|
2963
|
+
status: "running" | "failed" | "parked" | "succeeded" | "lost";
|
|
2913
2964
|
started_at: string;
|
|
2914
2965
|
finished_at?: string | undefined;
|
|
2915
2966
|
}[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/client/index.ts"],"names":[],"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