@deepraxis/sdk 0.1.1-dev.d775f1e → 0.1.1-dev.ea4a5dd
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/METHODS.md +118 -1
- package/README.md +1 -1
- package/dist/automation.d.ts +7 -0
- package/dist/core/client.d.ts +5 -1
- package/dist/core/client.js +10 -0
- package/dist/core/transport.js +1 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +259 -20
- package/dist/generated/sdk.gen.js +707 -19
- package/dist/generated/types.gen.d.ts +11016 -6421
- package/dist/helpers/application-build.d.ts +10 -0
- package/dist/helpers/application-build.js +98 -0
- package/dist/helpers/application-publish.d.ts +8 -0
- package/dist/helpers/application-publish.js +26 -9
- package/dist/helpers/browser-connect.d.ts +78 -0
- package/dist/helpers/browser-connect.js +161 -0
- package/dist/helpers/browser-decisions.d.ts +44 -0
- package/dist/helpers/browser-decisions.js +84 -0
- package/dist/helpers/browser-documentation.d.ts +2 -0
- package/dist/helpers/browser-documentation.js +47 -0
- package/dist/helpers/file-upload.d.ts +2 -2
- package/dist/index.d.ts +4 -0
- package/dist/index.js +2 -0
- package/dist/operations.generated.d.ts +1110 -152
- package/dist/operations.generated.js +1343 -159
- package/dist/resources.generated.d.ts +220 -38
- package/dist/resources.generated.js +77 -0
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
10
10
|
description: null | string;
|
|
11
11
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
12
12
|
metadata: Types.AgentManaged37;
|
|
13
|
-
model
|
|
13
|
+
model?: {
|
|
14
14
|
id: string;
|
|
15
15
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
16
16
|
inference_geo?: string;
|
|
@@ -19,7 +19,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
19
19
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
|
-
multiagent
|
|
22
|
+
multiagent?: null | Types.AgentManaged39;
|
|
23
23
|
name: string;
|
|
24
24
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
25
25
|
system: null | string;
|
|
@@ -49,7 +49,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
49
49
|
readonly verified?: boolean;
|
|
50
50
|
enabled?: boolean;
|
|
51
51
|
}>;
|
|
52
|
-
kind: "personal" | "service";
|
|
52
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
53
53
|
computer_id?: string;
|
|
54
54
|
subagent_model?: string | null;
|
|
55
55
|
image_model?: string | null;
|
|
@@ -151,6 +151,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
151
151
|
mcpServers?: Array<string>;
|
|
152
152
|
hooks?: Array<string>;
|
|
153
153
|
};
|
|
154
|
+
idleCompaction?: boolean;
|
|
154
155
|
} | null;
|
|
155
156
|
models?: {
|
|
156
157
|
allowed: Array<string>;
|
|
@@ -169,7 +170,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
169
170
|
description: null | string;
|
|
170
171
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
171
172
|
metadata: Types.AgentManaged37;
|
|
172
|
-
model
|
|
173
|
+
model?: {
|
|
173
174
|
id: string;
|
|
174
175
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
175
176
|
inference_geo?: string;
|
|
@@ -178,7 +179,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
178
179
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
179
180
|
};
|
|
180
181
|
};
|
|
181
|
-
multiagent
|
|
182
|
+
multiagent?: null | Types.AgentManaged39;
|
|
182
183
|
name: string;
|
|
183
184
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
184
185
|
system: null | string;
|
|
@@ -208,7 +209,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
208
209
|
readonly verified?: boolean;
|
|
209
210
|
enabled?: boolean;
|
|
210
211
|
}>;
|
|
211
|
-
kind: "personal" | "service";
|
|
212
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
212
213
|
computer_id?: string;
|
|
213
214
|
subagent_model?: string | null;
|
|
214
215
|
image_model?: string | null;
|
|
@@ -310,6 +311,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
310
311
|
mcpServers?: Array<string>;
|
|
311
312
|
hooks?: Array<string>;
|
|
312
313
|
};
|
|
314
|
+
idleCompaction?: boolean;
|
|
313
315
|
} | null;
|
|
314
316
|
models?: {
|
|
315
317
|
allowed: Array<string>;
|
|
@@ -457,7 +459,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
457
459
|
description: null | string;
|
|
458
460
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
459
461
|
metadata: Types.AgentManaged37;
|
|
460
|
-
model
|
|
462
|
+
model?: {
|
|
461
463
|
id: string;
|
|
462
464
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
463
465
|
inference_geo?: string;
|
|
@@ -466,7 +468,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
466
468
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
467
469
|
};
|
|
468
470
|
};
|
|
469
|
-
multiagent
|
|
471
|
+
multiagent?: null | Types.AgentManaged39;
|
|
470
472
|
name: string;
|
|
471
473
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
472
474
|
system: null | string;
|
|
@@ -496,7 +498,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
496
498
|
readonly verified?: boolean;
|
|
497
499
|
enabled?: boolean;
|
|
498
500
|
}>;
|
|
499
|
-
kind: "personal" | "service";
|
|
501
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
500
502
|
computer_id?: string;
|
|
501
503
|
subagent_model?: string | null;
|
|
502
504
|
image_model?: string | null;
|
|
@@ -598,6 +600,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
598
600
|
mcpServers?: Array<string>;
|
|
599
601
|
hooks?: Array<string>;
|
|
600
602
|
};
|
|
603
|
+
idleCompaction?: boolean;
|
|
601
604
|
} | null;
|
|
602
605
|
models?: {
|
|
603
606
|
allowed: Array<string>;
|
|
@@ -618,7 +621,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
618
621
|
description: null | string;
|
|
619
622
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
620
623
|
metadata: Types.AgentManaged37;
|
|
621
|
-
model
|
|
624
|
+
model?: {
|
|
622
625
|
id: string;
|
|
623
626
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
624
627
|
inference_geo?: string;
|
|
@@ -627,7 +630,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
627
630
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
628
631
|
};
|
|
629
632
|
};
|
|
630
|
-
multiagent
|
|
633
|
+
multiagent?: null | Types.AgentManaged39;
|
|
631
634
|
name: string;
|
|
632
635
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
633
636
|
system: null | string;
|
|
@@ -658,7 +661,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
658
661
|
readonly verified?: boolean;
|
|
659
662
|
enabled?: boolean;
|
|
660
663
|
}>;
|
|
661
|
-
kind: "personal" | "service";
|
|
664
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
662
665
|
computer_id?: string;
|
|
663
666
|
subagent_model?: string | null;
|
|
664
667
|
image_model?: string | null;
|
|
@@ -760,6 +763,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
760
763
|
mcpServers?: Array<string>;
|
|
761
764
|
hooks?: Array<string>;
|
|
762
765
|
};
|
|
766
|
+
idleCompaction?: boolean;
|
|
763
767
|
} | null;
|
|
764
768
|
models?: {
|
|
765
769
|
allowed: Array<string>;
|
|
@@ -864,7 +868,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
864
868
|
metadata: {
|
|
865
869
|
[key: string]: string;
|
|
866
870
|
};
|
|
867
|
-
model
|
|
871
|
+
model?: {
|
|
868
872
|
id: string;
|
|
869
873
|
effort?: {
|
|
870
874
|
type: "low";
|
|
@@ -883,7 +887,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
883
887
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
884
888
|
};
|
|
885
889
|
};
|
|
886
|
-
multiagent
|
|
890
|
+
multiagent?: null | {
|
|
887
891
|
agents: Array<{
|
|
888
892
|
id: string;
|
|
889
893
|
type: "agent";
|
|
@@ -1056,6 +1060,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1056
1060
|
type: "agent";
|
|
1057
1061
|
updated_at: string;
|
|
1058
1062
|
version: number;
|
|
1063
|
+
latest_version?: number;
|
|
1059
1064
|
active_version: number;
|
|
1060
1065
|
created_by: {
|
|
1061
1066
|
type: "user";
|
|
@@ -1078,7 +1083,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1078
1083
|
readonly verified?: boolean;
|
|
1079
1084
|
enabled?: boolean;
|
|
1080
1085
|
}>;
|
|
1081
|
-
kind: "personal" | "service";
|
|
1086
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
1082
1087
|
computer_id?: string;
|
|
1083
1088
|
subagent_model?: string | null;
|
|
1084
1089
|
image_model?: string | null;
|
|
@@ -1180,6 +1185,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1180
1185
|
mcpServers?: Array<string>;
|
|
1181
1186
|
hooks?: Array<string>;
|
|
1182
1187
|
};
|
|
1188
|
+
idleCompaction?: boolean;
|
|
1183
1189
|
} | null;
|
|
1184
1190
|
models?: {
|
|
1185
1191
|
allowed: Array<string>;
|
|
@@ -1199,7 +1205,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1199
1205
|
description: null | string;
|
|
1200
1206
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
1201
1207
|
metadata: Types.AgentManaged37;
|
|
1202
|
-
model
|
|
1208
|
+
model?: {
|
|
1203
1209
|
id: string;
|
|
1204
1210
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1205
1211
|
inference_geo?: string;
|
|
@@ -1208,7 +1214,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1208
1214
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1209
1215
|
};
|
|
1210
1216
|
};
|
|
1211
|
-
multiagent
|
|
1217
|
+
multiagent?: null | Types.AgentManaged39;
|
|
1212
1218
|
name: string;
|
|
1213
1219
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
1214
1220
|
system: null | string;
|
|
@@ -1239,7 +1245,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1239
1245
|
readonly verified?: boolean;
|
|
1240
1246
|
enabled?: boolean;
|
|
1241
1247
|
}>;
|
|
1242
|
-
kind: "personal" | "service";
|
|
1248
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
1243
1249
|
computer_id?: string;
|
|
1244
1250
|
subagent_model?: string | null;
|
|
1245
1251
|
image_model?: string | null;
|
|
@@ -1341,6 +1347,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1341
1347
|
mcpServers?: Array<string>;
|
|
1342
1348
|
hooks?: Array<string>;
|
|
1343
1349
|
};
|
|
1350
|
+
idleCompaction?: boolean;
|
|
1344
1351
|
} | null;
|
|
1345
1352
|
models?: {
|
|
1346
1353
|
allowed: Array<string>;
|
|
@@ -1360,7 +1367,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1360
1367
|
description: null | string;
|
|
1361
1368
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
1362
1369
|
metadata: Types.AgentManaged37;
|
|
1363
|
-
model
|
|
1370
|
+
model?: {
|
|
1364
1371
|
id: string;
|
|
1365
1372
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1366
1373
|
inference_geo?: string;
|
|
@@ -1369,7 +1376,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1369
1376
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1370
1377
|
};
|
|
1371
1378
|
};
|
|
1372
|
-
multiagent
|
|
1379
|
+
multiagent?: null | Types.AgentManaged39;
|
|
1373
1380
|
name: string;
|
|
1374
1381
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
1375
1382
|
system: null | string;
|
|
@@ -1400,7 +1407,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1400
1407
|
readonly verified?: boolean;
|
|
1401
1408
|
enabled?: boolean;
|
|
1402
1409
|
}>;
|
|
1403
|
-
kind: "personal" | "service";
|
|
1410
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
1404
1411
|
computer_id?: string;
|
|
1405
1412
|
subagent_model?: string | null;
|
|
1406
1413
|
image_model?: string | null;
|
|
@@ -1502,6 +1509,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1502
1509
|
mcpServers?: Array<string>;
|
|
1503
1510
|
hooks?: Array<string>;
|
|
1504
1511
|
};
|
|
1512
|
+
idleCompaction?: boolean;
|
|
1505
1513
|
} | null;
|
|
1506
1514
|
models?: {
|
|
1507
1515
|
allowed: Array<string>;
|
|
@@ -1521,7 +1529,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1521
1529
|
description: null | string;
|
|
1522
1530
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
1523
1531
|
metadata: Types.AgentManaged37;
|
|
1524
|
-
model
|
|
1532
|
+
model?: {
|
|
1525
1533
|
id: string;
|
|
1526
1534
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1527
1535
|
inference_geo?: string;
|
|
@@ -1530,7 +1538,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1530
1538
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1531
1539
|
};
|
|
1532
1540
|
};
|
|
1533
|
-
multiagent
|
|
1541
|
+
multiagent?: null | Types.AgentManaged39;
|
|
1534
1542
|
name: string;
|
|
1535
1543
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
1536
1544
|
system: null | string;
|
|
@@ -1561,7 +1569,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1561
1569
|
readonly verified?: boolean;
|
|
1562
1570
|
enabled?: boolean;
|
|
1563
1571
|
}>;
|
|
1564
|
-
kind: "personal" | "service";
|
|
1572
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
1565
1573
|
computer_id?: string;
|
|
1566
1574
|
subagent_model?: string | null;
|
|
1567
1575
|
image_model?: string | null;
|
|
@@ -1663,6 +1671,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1663
1671
|
mcpServers?: Array<string>;
|
|
1664
1672
|
hooks?: Array<string>;
|
|
1665
1673
|
};
|
|
1674
|
+
idleCompaction?: boolean;
|
|
1666
1675
|
} | null;
|
|
1667
1676
|
models?: {
|
|
1668
1677
|
allowed: Array<string>;
|
|
@@ -1818,7 +1827,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1818
1827
|
} | {
|
|
1819
1828
|
id: string;
|
|
1820
1829
|
type: "agent_with_overrides";
|
|
1821
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1830
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
1822
1831
|
cwd?: string;
|
|
1823
1832
|
model?: string | {
|
|
1824
1833
|
id: string;
|
|
@@ -1855,7 +1864,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1855
1864
|
} | {
|
|
1856
1865
|
id: string;
|
|
1857
1866
|
type: "agent_with_overrides";
|
|
1858
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1867
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
1859
1868
|
cwd?: string;
|
|
1860
1869
|
model?: string | {
|
|
1861
1870
|
id: string;
|
|
@@ -1893,7 +1902,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1893
1902
|
} | {
|
|
1894
1903
|
id: string;
|
|
1895
1904
|
type: "agent_with_overrides";
|
|
1896
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1905
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
1897
1906
|
cwd?: string;
|
|
1898
1907
|
model?: string | {
|
|
1899
1908
|
id: string;
|
|
@@ -1932,7 +1941,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1932
1941
|
} | {
|
|
1933
1942
|
id: string;
|
|
1934
1943
|
type: "agent_with_overrides";
|
|
1935
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1944
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
1936
1945
|
cwd?: string;
|
|
1937
1946
|
model?: string | {
|
|
1938
1947
|
id: string;
|
|
@@ -1969,7 +1978,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1969
1978
|
} | {
|
|
1970
1979
|
id: string;
|
|
1971
1980
|
type: "agent_with_overrides";
|
|
1972
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1981
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
1973
1982
|
cwd?: string;
|
|
1974
1983
|
model?: string | {
|
|
1975
1984
|
id: string;
|
|
@@ -2010,7 +2019,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2010
2019
|
} | {
|
|
2011
2020
|
id: string;
|
|
2012
2021
|
type: "agent_with_overrides";
|
|
2013
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
2022
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2014
2023
|
cwd?: string;
|
|
2015
2024
|
model?: string | {
|
|
2016
2025
|
id: string;
|
|
@@ -2048,7 +2057,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2048
2057
|
} | {
|
|
2049
2058
|
id: string;
|
|
2050
2059
|
type: "agent_with_overrides";
|
|
2051
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
2060
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2052
2061
|
cwd?: string;
|
|
2053
2062
|
model?: string | {
|
|
2054
2063
|
id: string;
|
|
@@ -2183,21 +2192,27 @@ export declare function createAgent(transport: Transport): {
|
|
|
2183
2192
|
compact: (options: import("./core/transport.js").CallOptions<Types.CompactSessionData>) => Promise<{
|
|
2184
2193
|
type: "session_compaction";
|
|
2185
2194
|
id: string;
|
|
2186
|
-
status: "queued" | "running" | "skipped" | "succeeded" | "failed";
|
|
2195
|
+
status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
|
|
2187
2196
|
reason?: string;
|
|
2188
2197
|
} | {
|
|
2189
2198
|
type: "session_compaction";
|
|
2190
2199
|
id: string;
|
|
2191
|
-
status: "queued" | "running" | "skipped" | "succeeded" | "failed";
|
|
2200
|
+
status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
|
|
2192
2201
|
reason?: string;
|
|
2193
2202
|
}>;
|
|
2194
2203
|
compactions: {
|
|
2195
2204
|
list: (options: import("./core/transport.js").CallOptions<Types.ListSessionCompactionsData>) => Promise<{
|
|
2205
|
+
active: {
|
|
2206
|
+
type: "session_compaction";
|
|
2207
|
+
id: string;
|
|
2208
|
+
status: "queued" | "running";
|
|
2209
|
+
trigger: "manual" | "auto" | "idle";
|
|
2210
|
+
} | null;
|
|
2196
2211
|
data: Array<{
|
|
2197
2212
|
type: "context_compaction";
|
|
2198
2213
|
id: string;
|
|
2199
2214
|
event_id: string | null;
|
|
2200
|
-
trigger: "auto" | "manual" | "model_downshift";
|
|
2215
|
+
trigger: "auto" | "manual" | "model_downshift" | "idle";
|
|
2201
2216
|
status: "succeeded" | "failed";
|
|
2202
2217
|
model: string;
|
|
2203
2218
|
compacted_message_count: number;
|
|
@@ -2308,6 +2323,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2308
2323
|
run_id: string | null;
|
|
2309
2324
|
message_id?: string;
|
|
2310
2325
|
} | {
|
|
2326
|
+
full_access_available?: boolean;
|
|
2311
2327
|
id: string;
|
|
2312
2328
|
input: Types.AgentManaged197;
|
|
2313
2329
|
mcp_server_name: string;
|
|
@@ -2330,6 +2346,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
2330
2346
|
};
|
|
2331
2347
|
source?: "app" | "codemode";
|
|
2332
2348
|
parent_tool_use_id?: string;
|
|
2349
|
+
user_once?: true;
|
|
2350
|
+
guarded_rule?: string;
|
|
2351
|
+
permission_suggestions?: Array<{
|
|
2352
|
+
type: "add_rules";
|
|
2353
|
+
behavior: "allow";
|
|
2354
|
+
destination: "agent" | "session";
|
|
2355
|
+
rules: Array<{
|
|
2356
|
+
tool_name: string;
|
|
2357
|
+
rule_content: string;
|
|
2358
|
+
}>;
|
|
2359
|
+
}>;
|
|
2333
2360
|
title?: string;
|
|
2334
2361
|
input_titles?: {
|
|
2335
2362
|
[key: string]: string;
|
|
@@ -2348,6 +2375,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2348
2375
|
};
|
|
2349
2376
|
source?: "app" | "codemode";
|
|
2350
2377
|
} | {
|
|
2378
|
+
full_access_available?: boolean;
|
|
2351
2379
|
id: string;
|
|
2352
2380
|
input: Types.AgentManaged206;
|
|
2353
2381
|
name: string;
|
|
@@ -2357,6 +2385,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
2357
2385
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
2358
2386
|
session_thread_id?: null | string;
|
|
2359
2387
|
run_id: string | null;
|
|
2388
|
+
user_once?: true;
|
|
2389
|
+
guarded_rule?: string;
|
|
2390
|
+
permission_suggestions?: Array<{
|
|
2391
|
+
type: "add_rules";
|
|
2392
|
+
behavior: "allow";
|
|
2393
|
+
destination: "agent" | "session";
|
|
2394
|
+
rules: Array<{
|
|
2395
|
+
tool_name: string;
|
|
2396
|
+
rule_content: string;
|
|
2397
|
+
}>;
|
|
2398
|
+
}>;
|
|
2360
2399
|
} | {
|
|
2361
2400
|
id: string;
|
|
2362
2401
|
processed_at: string;
|
|
@@ -2377,6 +2416,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
2377
2416
|
type: "session.status_idle";
|
|
2378
2417
|
run_id: string | null;
|
|
2379
2418
|
} | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
|
|
2419
|
+
permission_mode_version?: number;
|
|
2420
|
+
previous_permission_mode?: string | null;
|
|
2421
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2380
2422
|
id: string;
|
|
2381
2423
|
processed_at: string;
|
|
2382
2424
|
type: "session.updated";
|
|
@@ -2998,10 +3040,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
2998
3040
|
web_fetch_requests?: number;
|
|
2999
3041
|
web_search_requests?: number;
|
|
3000
3042
|
};
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
currency: "USD";
|
|
3043
|
+
cost_by_product?: {
|
|
3044
|
+
[key: string]: string;
|
|
3004
3045
|
};
|
|
3046
|
+
subagent_cost_micro_usd?: number;
|
|
3005
3047
|
};
|
|
3006
3048
|
vault_ids: Array<string>;
|
|
3007
3049
|
deployment_id?: null | string;
|
|
@@ -3164,7 +3206,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3164
3206
|
retrieveCompact: (options: import("./core/transport.js").CallOptions<Types.GetSessionCompactionData>) => Promise<{
|
|
3165
3207
|
type: "session_compaction";
|
|
3166
3208
|
id: string;
|
|
3167
|
-
status: "queued" | "running" | "skipped" | "succeeded" | "failed";
|
|
3209
|
+
status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
|
|
3168
3210
|
reason?: string;
|
|
3169
3211
|
}>;
|
|
3170
3212
|
retrieveContext: (options: import("./core/transport.js").CallOptions<Types.GetSessionContextData>) => Promise<{
|
|
@@ -3288,6 +3330,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3288
3330
|
run_id: string | null;
|
|
3289
3331
|
message_id?: string;
|
|
3290
3332
|
} | {
|
|
3333
|
+
full_access_available?: boolean;
|
|
3291
3334
|
id: string;
|
|
3292
3335
|
input: Types.AgentManaged197;
|
|
3293
3336
|
mcp_server_name: string;
|
|
@@ -3310,6 +3353,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
3310
3353
|
};
|
|
3311
3354
|
};
|
|
3312
3355
|
source?: "app" | "codemode";
|
|
3356
|
+
user_once?: true;
|
|
3357
|
+
guarded_rule?: string;
|
|
3358
|
+
permission_suggestions?: Array<{
|
|
3359
|
+
type: "add_rules";
|
|
3360
|
+
behavior: "allow";
|
|
3361
|
+
destination: "agent" | "session";
|
|
3362
|
+
rules: Array<{
|
|
3363
|
+
tool_name: string;
|
|
3364
|
+
rule_content: string;
|
|
3365
|
+
}>;
|
|
3366
|
+
}>;
|
|
3313
3367
|
title?: string;
|
|
3314
3368
|
input_titles?: {
|
|
3315
3369
|
[key: string]: string;
|
|
@@ -3328,6 +3382,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3328
3382
|
};
|
|
3329
3383
|
source?: "app" | "codemode";
|
|
3330
3384
|
} | {
|
|
3385
|
+
full_access_available?: boolean;
|
|
3331
3386
|
id: string;
|
|
3332
3387
|
input: Types.AgentManaged206;
|
|
3333
3388
|
name: string;
|
|
@@ -3337,6 +3392,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
3337
3392
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
3338
3393
|
session_thread_id?: null | string;
|
|
3339
3394
|
run_id: string | null;
|
|
3395
|
+
user_once?: true;
|
|
3396
|
+
guarded_rule?: string;
|
|
3397
|
+
permission_suggestions?: Array<{
|
|
3398
|
+
type: "add_rules";
|
|
3399
|
+
behavior: "allow";
|
|
3400
|
+
destination: "agent" | "session";
|
|
3401
|
+
rules: Array<{
|
|
3402
|
+
tool_name: string;
|
|
3403
|
+
rule_content: string;
|
|
3404
|
+
}>;
|
|
3405
|
+
}>;
|
|
3340
3406
|
} | {
|
|
3341
3407
|
id: string;
|
|
3342
3408
|
processed_at: string;
|
|
@@ -3357,6 +3423,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
3357
3423
|
type: "session.status_idle";
|
|
3358
3424
|
run_id: string | null;
|
|
3359
3425
|
} | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
|
|
3426
|
+
permission_mode_version?: number;
|
|
3427
|
+
previous_permission_mode?: string | null;
|
|
3428
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
3360
3429
|
id: string;
|
|
3361
3430
|
processed_at: string;
|
|
3362
3431
|
type: "session.updated";
|
|
@@ -3625,6 +3694,13 @@ export declare function createAutomation(transport: Transport): {
|
|
|
3625
3694
|
hooks: {
|
|
3626
3695
|
send: (options: import("./core/transport.js").CallOptions<Types.AutomationHooksReceiveData>) => Promise<Types.AutomationFiring>;
|
|
3627
3696
|
};
|
|
3697
|
+
humanTasks: {
|
|
3698
|
+
cancel: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksCancelData>) => Promise<Types.AutomationHumanTask>;
|
|
3699
|
+
delegate: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksDelegateData>) => Promise<Types.AutomationHumanTask>;
|
|
3700
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksListData> | undefined) => Promise<import("./automation.js").Page<Types.AutomationHumanTask>>;
|
|
3701
|
+
respond: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksRespondData>) => Promise<Types.AutomationHumanTask>;
|
|
3702
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksGetData>) => Promise<Types.AutomationHumanTask>;
|
|
3703
|
+
};
|
|
3628
3704
|
resolve: {
|
|
3629
3705
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationResolveResolveData>) => Promise<Types.AutomationResolveResult>;
|
|
3630
3706
|
};
|
|
@@ -3796,6 +3872,63 @@ export declare function createBrowser(transport: Transport): {
|
|
|
3796
3872
|
};
|
|
3797
3873
|
};
|
|
3798
3874
|
};
|
|
3875
|
+
export declare function createCanvas(transport: Transport): {
|
|
3876
|
+
canvases: {
|
|
3877
|
+
create: (options?: import("./core/transport.js").CallOptions<Types.CanvasCreateCanvasData> | undefined) => Promise<Types.CanvasCanvas>;
|
|
3878
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CanvasDeleteCanvasData>) => Promise<Types.CanvasDeletedCanvas>;
|
|
3879
|
+
execute: (options: import("./core/transport.js").CallOptions<Types.CanvasExecuteData>) => Promise<Types.CanvasExecuteResult>;
|
|
3880
|
+
images: {
|
|
3881
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListImagesData>) => Promise<Types.CanvasImagesResult>;
|
|
3882
|
+
};
|
|
3883
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListCanvasesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasCanvas>>;
|
|
3884
|
+
nodes: {
|
|
3885
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListNodesData>) => Promise<Types.CanvasNodesResult>;
|
|
3886
|
+
};
|
|
3887
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCanvasData>) => Promise<Types.CanvasCanvasDetail>;
|
|
3888
|
+
};
|
|
3889
|
+
};
|
|
3890
|
+
export declare function createCut(transport: Transport): {
|
|
3891
|
+
exports: {
|
|
3892
|
+
cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
|
|
3893
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveExportData>) => Promise<Types.CutExport>;
|
|
3894
|
+
};
|
|
3895
|
+
projects: {
|
|
3896
|
+
analysis: {
|
|
3897
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateAnalysisData>) => Promise<Types.CutAnalysisResult>;
|
|
3898
|
+
};
|
|
3899
|
+
bindings: {
|
|
3900
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateBindingData>) => Promise<Types.CutBinding>;
|
|
3901
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CutDeleteBindingData>) => Promise<Types.CutDeletedBinding>;
|
|
3902
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CutListBindingsData>) => Promise<Types.CutBindingsResult>;
|
|
3903
|
+
};
|
|
3904
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateProjectData>) => Promise<Types.CutProject>;
|
|
3905
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CutDeleteProjectData>) => Promise<Types.CutProject>;
|
|
3906
|
+
execute: (options: import("./core/transport.js").CallOptions<Types.CutExecuteData>) => Promise<Types.CutExecuteResult>;
|
|
3907
|
+
exports: {
|
|
3908
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateExportData>) => Promise<Types.CutExport>;
|
|
3909
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CutListExportsData>) => Promise<Types.CutExportPage>;
|
|
3910
|
+
};
|
|
3911
|
+
frames: {
|
|
3912
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CutListFramesData>) => Promise<Types.CutFramesResult>;
|
|
3913
|
+
};
|
|
3914
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CutListProjectsData> | undefined) => Promise<Types.CutProjectPage>;
|
|
3915
|
+
media: {
|
|
3916
|
+
import: (options: import("./core/transport.js").CallOptions<Types.CutImportMediaData>) => Promise<Types.CutImportedMedia>;
|
|
3917
|
+
};
|
|
3918
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveProjectData>) => Promise<Types.CutProjectDetail>;
|
|
3919
|
+
retrieveState: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveStateData>) => Promise<Types.CutState>;
|
|
3920
|
+
retrieveTimeline: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveTimelineData>) => Promise<Types.CutTimelineResult>;
|
|
3921
|
+
undelete: (options: import("./core/transport.js").CallOptions<Types.CutUndeleteProjectData>) => Promise<Types.CutProject>;
|
|
3922
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CutUpdateProjectData>) => Promise<Types.CutProject>;
|
|
3923
|
+
versions: {
|
|
3924
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateVersionData>) => Promise<Types.CutVersion>;
|
|
3925
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CutListVersionsData>) => Promise<Types.CutVersionPage>;
|
|
3926
|
+
};
|
|
3927
|
+
};
|
|
3928
|
+
versions: {
|
|
3929
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.CutRestoreVersionData>) => Promise<Types.CutTransaction>;
|
|
3930
|
+
};
|
|
3931
|
+
};
|
|
3799
3932
|
export declare function createDatabase(transport: Transport): {
|
|
3800
3933
|
databases: {
|
|
3801
3934
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
@@ -3958,6 +4091,20 @@ export declare function createMedia(transport: Transport): {
|
|
|
3958
4091
|
};
|
|
3959
4092
|
};
|
|
3960
4093
|
export declare function createMeta(transport: Transport): {
|
|
4094
|
+
docs: {
|
|
4095
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.MetaDocsRetrieveData>) => Promise<{
|
|
4096
|
+
path: string;
|
|
4097
|
+
title: string;
|
|
4098
|
+
url: string;
|
|
4099
|
+
markdown: string;
|
|
4100
|
+
}>;
|
|
4101
|
+
search: (options: import("./core/transport.js").CallOptions<Types.MetaDocsSearchData>) => Promise<{
|
|
4102
|
+
path: string;
|
|
4103
|
+
title: string;
|
|
4104
|
+
url: string;
|
|
4105
|
+
snippet: string;
|
|
4106
|
+
}[]>;
|
|
4107
|
+
};
|
|
3961
4108
|
health: {
|
|
3962
4109
|
retrieve: (options?: import("./core/transport.js").CallOptions<Types.HealthCheckData> | undefined) => Promise<string>;
|
|
3963
4110
|
};
|
|
@@ -4367,6 +4514,39 @@ export declare function createModel(transport: Transport): {
|
|
|
4367
4514
|
[key: string]: unknown;
|
|
4368
4515
|
}>;
|
|
4369
4516
|
};
|
|
4517
|
+
systemone: {
|
|
4518
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateSystemoneData>) => Promise<{
|
|
4519
|
+
model: string;
|
|
4520
|
+
answers: {
|
|
4521
|
+
[key: string]: {
|
|
4522
|
+
type: "noul";
|
|
4523
|
+
noul: number;
|
|
4524
|
+
} | {
|
|
4525
|
+
type: "choice";
|
|
4526
|
+
choice: string;
|
|
4527
|
+
confidence: number;
|
|
4528
|
+
probabilities: {
|
|
4529
|
+
[key: string]: number;
|
|
4530
|
+
};
|
|
4531
|
+
} | {
|
|
4532
|
+
type: "score";
|
|
4533
|
+
score: number;
|
|
4534
|
+
confidence: number;
|
|
4535
|
+
legend: {
|
|
4536
|
+
[key: string]: unknown;
|
|
4537
|
+
};
|
|
4538
|
+
probabilities: {
|
|
4539
|
+
[key: string]: number;
|
|
4540
|
+
};
|
|
4541
|
+
};
|
|
4542
|
+
};
|
|
4543
|
+
usage: {
|
|
4544
|
+
input_tokens: number;
|
|
4545
|
+
output_tokens: number;
|
|
4546
|
+
cost: number;
|
|
4547
|
+
};
|
|
4548
|
+
}>;
|
|
4549
|
+
};
|
|
4370
4550
|
videos: {
|
|
4371
4551
|
create: (options: import("./core/transport.js").CallOptions<Types.CreateVideoData>) => Promise<{
|
|
4372
4552
|
id: string;
|
|
@@ -5074,6 +5254,8 @@ export declare const resourceFactories: {
|
|
|
5074
5254
|
application: typeof createApplication;
|
|
5075
5255
|
automation: typeof createAutomation;
|
|
5076
5256
|
browser: typeof createBrowser;
|
|
5257
|
+
canvas: typeof createCanvas;
|
|
5258
|
+
cut: typeof createCut;
|
|
5077
5259
|
database: typeof createDatabase;
|
|
5078
5260
|
file: typeof createFile;
|
|
5079
5261
|
knowledge: typeof createKnowledge;
|