@deepraxis/sdk 0.1.1-dev.c64b603 → 0.1.1-dev.cc34a92
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 +315 -59
- package/README.md +1 -1
- package/dist/automation.d.ts +61 -0
- package/dist/core/client.d.ts +11 -1
- package/dist/core/client.js +13 -0
- package/dist/core/transport.d.ts +9 -0
- package/dist/core/transport.js +13 -2
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +662 -136
- package/dist/generated/sdk.gen.js +2518 -768
- package/dist/generated/types.gen.d.ts +33420 -24627
- 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/helpers/sandbox-templates.d.ts +121 -0
- package/dist/helpers/sandbox-templates.js +60 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +3 -0
- package/dist/operations.generated.d.ts +3267 -521
- package/dist/operations.generated.js +3993 -553
- package/dist/resources.generated.d.ts +512 -495
- package/dist/resources.generated.js +190 -32
- 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,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
151
151
|
mcpServers?: Array<string>;
|
|
152
152
|
hooks?: Array<string>;
|
|
153
153
|
};
|
|
154
|
+
idleCompaction?: boolean;
|
|
155
|
+
outputStyle?: string;
|
|
154
156
|
} | null;
|
|
155
157
|
models?: {
|
|
156
158
|
allowed: Array<string>;
|
|
@@ -161,6 +163,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
161
163
|
environment_id?: string | null;
|
|
162
164
|
vault_ids?: Array<string>;
|
|
163
165
|
status: "active" | "archived";
|
|
166
|
+
output_styles?: Array<{
|
|
167
|
+
name: string;
|
|
168
|
+
description?: string;
|
|
169
|
+
prompt: string;
|
|
170
|
+
keep_coding_instructions?: boolean;
|
|
171
|
+
}> | null;
|
|
164
172
|
}>;
|
|
165
173
|
create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
|
|
166
174
|
id: string;
|
|
@@ -169,7 +177,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
169
177
|
description: null | string;
|
|
170
178
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
171
179
|
metadata: Types.AgentManaged37;
|
|
172
|
-
model
|
|
180
|
+
model?: {
|
|
173
181
|
id: string;
|
|
174
182
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
175
183
|
inference_geo?: string;
|
|
@@ -178,7 +186,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
178
186
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
179
187
|
};
|
|
180
188
|
};
|
|
181
|
-
multiagent
|
|
189
|
+
multiagent?: null | Types.AgentManaged39;
|
|
182
190
|
name: string;
|
|
183
191
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
184
192
|
system: null | string;
|
|
@@ -208,7 +216,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
208
216
|
readonly verified?: boolean;
|
|
209
217
|
enabled?: boolean;
|
|
210
218
|
}>;
|
|
211
|
-
kind: "personal" | "service";
|
|
219
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
212
220
|
computer_id?: string;
|
|
213
221
|
subagent_model?: string | null;
|
|
214
222
|
image_model?: string | null;
|
|
@@ -310,6 +318,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
310
318
|
mcpServers?: Array<string>;
|
|
311
319
|
hooks?: Array<string>;
|
|
312
320
|
};
|
|
321
|
+
idleCompaction?: boolean;
|
|
322
|
+
outputStyle?: string;
|
|
313
323
|
} | null;
|
|
314
324
|
models?: {
|
|
315
325
|
allowed: Array<string>;
|
|
@@ -320,6 +330,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
320
330
|
environment_id?: string | null;
|
|
321
331
|
vault_ids?: Array<string>;
|
|
322
332
|
status: "active" | "archived";
|
|
333
|
+
output_styles?: Array<{
|
|
334
|
+
name: string;
|
|
335
|
+
description?: string;
|
|
336
|
+
prompt: string;
|
|
337
|
+
keep_coding_instructions?: boolean;
|
|
338
|
+
}> | null;
|
|
323
339
|
}>;
|
|
324
340
|
customers: {
|
|
325
341
|
auth: {
|
|
@@ -449,90 +465,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
449
465
|
}>;
|
|
450
466
|
};
|
|
451
467
|
};
|
|
452
|
-
endUsers: {
|
|
453
|
-
block: {
|
|
454
|
-
create: (options: import("./core/transport.js").CallOptions<Types.BlockEndUserData>) => Promise<{
|
|
455
|
-
external_user_id: string;
|
|
456
|
-
first_seen_at: string | null;
|
|
457
|
-
last_active_at: string | null;
|
|
458
|
-
session_count: number;
|
|
459
|
-
cost: {
|
|
460
|
-
amount: string;
|
|
461
|
-
currency: "USD";
|
|
462
|
-
};
|
|
463
|
-
blocked: boolean;
|
|
464
|
-
}>;
|
|
465
|
-
};
|
|
466
|
-
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteEndUserData>) => Promise<{
|
|
467
|
-
id: string;
|
|
468
|
-
status: "pending";
|
|
469
|
-
}>;
|
|
470
|
-
list: (options: import("./core/transport.js").CallOptions<Types.ListEndUsersData>) => Promise<{
|
|
471
|
-
data: Array<{
|
|
472
|
-
external_user_id: string;
|
|
473
|
-
first_seen_at: string | null;
|
|
474
|
-
last_active_at: string | null;
|
|
475
|
-
session_count: number;
|
|
476
|
-
cost: {
|
|
477
|
-
amount: string;
|
|
478
|
-
currency: "USD";
|
|
479
|
-
};
|
|
480
|
-
blocked: boolean;
|
|
481
|
-
}>;
|
|
482
|
-
next_page: string | null;
|
|
483
|
-
}>;
|
|
484
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetEndUserData>) => Promise<{
|
|
485
|
-
external_user_id: string;
|
|
486
|
-
first_seen_at: string | null;
|
|
487
|
-
last_active_at: string | null;
|
|
488
|
-
session_count: number;
|
|
489
|
-
cost: {
|
|
490
|
-
amount: string;
|
|
491
|
-
currency: "USD";
|
|
492
|
-
};
|
|
493
|
-
blocked: boolean;
|
|
494
|
-
recent_sessions: Array<{
|
|
495
|
-
id: string;
|
|
496
|
-
title: string | null;
|
|
497
|
-
source: string | null;
|
|
498
|
-
created_at: string;
|
|
499
|
-
updated_at: string;
|
|
500
|
-
}>;
|
|
501
|
-
}>;
|
|
502
|
-
retrieveDeletion: (options: import("./core/transport.js").CallOptions<Types.GetEndUserDeletionData>) => Promise<{
|
|
503
|
-
id: string;
|
|
504
|
-
status: "pending" | "snapshotting" | "deleting" | "done" | "failed";
|
|
505
|
-
counts: {
|
|
506
|
-
sessions?: number;
|
|
507
|
-
events?: number;
|
|
508
|
-
messages?: number;
|
|
509
|
-
d1_rows?: number;
|
|
510
|
-
attachments?: number;
|
|
511
|
-
};
|
|
512
|
-
snapshot_key?: string;
|
|
513
|
-
error?: string;
|
|
514
|
-
created_at: string;
|
|
515
|
-
updated_at: string;
|
|
516
|
-
}>;
|
|
517
|
-
revokeTokens: {
|
|
518
|
-
create: (options: import("./core/transport.js").CallOptions<Types.RevokeEndUserTokensData>) => Promise<{
|
|
519
|
-
revoked: number;
|
|
520
|
-
}>;
|
|
521
|
-
};
|
|
522
|
-
unblock: {
|
|
523
|
-
create: (options: import("./core/transport.js").CallOptions<Types.UnblockEndUserData>) => Promise<{
|
|
524
|
-
external_user_id: string;
|
|
525
|
-
first_seen_at: string | null;
|
|
526
|
-
last_active_at: string | null;
|
|
527
|
-
session_count: number;
|
|
528
|
-
cost: {
|
|
529
|
-
amount: string;
|
|
530
|
-
currency: "USD";
|
|
531
|
-
};
|
|
532
|
-
blocked: boolean;
|
|
533
|
-
}>;
|
|
534
|
-
};
|
|
535
|
-
};
|
|
536
468
|
list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
|
|
537
469
|
data: Array<{
|
|
538
470
|
id: string;
|
|
@@ -541,7 +473,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
541
473
|
description: null | string;
|
|
542
474
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
543
475
|
metadata: Types.AgentManaged37;
|
|
544
|
-
model
|
|
476
|
+
model?: {
|
|
545
477
|
id: string;
|
|
546
478
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
547
479
|
inference_geo?: string;
|
|
@@ -550,7 +482,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
550
482
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
551
483
|
};
|
|
552
484
|
};
|
|
553
|
-
multiagent
|
|
485
|
+
multiagent?: null | Types.AgentManaged39;
|
|
554
486
|
name: string;
|
|
555
487
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
556
488
|
system: null | string;
|
|
@@ -580,7 +512,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
580
512
|
readonly verified?: boolean;
|
|
581
513
|
enabled?: boolean;
|
|
582
514
|
}>;
|
|
583
|
-
kind: "personal" | "service";
|
|
515
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
584
516
|
computer_id?: string;
|
|
585
517
|
subagent_model?: string | null;
|
|
586
518
|
image_model?: string | null;
|
|
@@ -682,6 +614,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
682
614
|
mcpServers?: Array<string>;
|
|
683
615
|
hooks?: Array<string>;
|
|
684
616
|
};
|
|
617
|
+
idleCompaction?: boolean;
|
|
618
|
+
outputStyle?: string;
|
|
685
619
|
} | null;
|
|
686
620
|
models?: {
|
|
687
621
|
allowed: Array<string>;
|
|
@@ -692,6 +626,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
692
626
|
environment_id?: string | null;
|
|
693
627
|
vault_ids?: Array<string>;
|
|
694
628
|
status: "active" | "archived";
|
|
629
|
+
output_styles?: Array<{
|
|
630
|
+
name: string;
|
|
631
|
+
description?: string;
|
|
632
|
+
prompt: string;
|
|
633
|
+
keep_coding_instructions?: boolean;
|
|
634
|
+
}> | null;
|
|
695
635
|
}>;
|
|
696
636
|
next_page: string | null;
|
|
697
637
|
}>;
|
|
@@ -702,7 +642,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
702
642
|
description: null | string;
|
|
703
643
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
704
644
|
metadata: Types.AgentManaged37;
|
|
705
|
-
model
|
|
645
|
+
model?: {
|
|
706
646
|
id: string;
|
|
707
647
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
708
648
|
inference_geo?: string;
|
|
@@ -711,7 +651,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
711
651
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
712
652
|
};
|
|
713
653
|
};
|
|
714
|
-
multiagent
|
|
654
|
+
multiagent?: null | Types.AgentManaged39;
|
|
715
655
|
name: string;
|
|
716
656
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
717
657
|
system: null | string;
|
|
@@ -719,6 +659,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
719
659
|
type: "agent";
|
|
720
660
|
updated_at: string;
|
|
721
661
|
version: number;
|
|
662
|
+
latest_version?: number;
|
|
722
663
|
active_version: number;
|
|
723
664
|
created_by: {
|
|
724
665
|
type: "user";
|
|
@@ -741,7 +682,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
741
682
|
readonly verified?: boolean;
|
|
742
683
|
enabled?: boolean;
|
|
743
684
|
}>;
|
|
744
|
-
kind: "personal" | "service";
|
|
685
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
745
686
|
computer_id?: string;
|
|
746
687
|
subagent_model?: string | null;
|
|
747
688
|
image_model?: string | null;
|
|
@@ -843,6 +784,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
843
784
|
mcpServers?: Array<string>;
|
|
844
785
|
hooks?: Array<string>;
|
|
845
786
|
};
|
|
787
|
+
idleCompaction?: boolean;
|
|
788
|
+
outputStyle?: string;
|
|
846
789
|
} | null;
|
|
847
790
|
models?: {
|
|
848
791
|
allowed: Array<string>;
|
|
@@ -853,6 +796,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
853
796
|
environment_id?: string | null;
|
|
854
797
|
vault_ids?: Array<string>;
|
|
855
798
|
status: "active" | "archived";
|
|
799
|
+
output_styles?: Array<{
|
|
800
|
+
name: string;
|
|
801
|
+
description?: string;
|
|
802
|
+
prompt: string;
|
|
803
|
+
keep_coding_instructions?: boolean;
|
|
804
|
+
}> | null;
|
|
856
805
|
}>;
|
|
857
806
|
retrieveAppearance: (options: import("./core/transport.js").CallOptions<Types.GetAgentAppearanceData>) => Promise<{
|
|
858
807
|
agent?: {
|
|
@@ -947,7 +896,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
947
896
|
metadata: {
|
|
948
897
|
[key: string]: string;
|
|
949
898
|
};
|
|
950
|
-
model
|
|
899
|
+
model?: {
|
|
951
900
|
id: string;
|
|
952
901
|
effort?: {
|
|
953
902
|
type: "low";
|
|
@@ -966,7 +915,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
966
915
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
967
916
|
};
|
|
968
917
|
};
|
|
969
|
-
multiagent
|
|
918
|
+
multiagent?: null | {
|
|
970
919
|
agents: Array<{
|
|
971
920
|
id: string;
|
|
972
921
|
type: "agent";
|
|
@@ -1139,6 +1088,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1139
1088
|
type: "agent";
|
|
1140
1089
|
updated_at: string;
|
|
1141
1090
|
version: number;
|
|
1091
|
+
latest_version?: number;
|
|
1142
1092
|
active_version: number;
|
|
1143
1093
|
created_by: {
|
|
1144
1094
|
type: "user";
|
|
@@ -1161,7 +1111,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1161
1111
|
readonly verified?: boolean;
|
|
1162
1112
|
enabled?: boolean;
|
|
1163
1113
|
}>;
|
|
1164
|
-
kind: "personal" | "service";
|
|
1114
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
1165
1115
|
computer_id?: string;
|
|
1166
1116
|
subagent_model?: string | null;
|
|
1167
1117
|
image_model?: string | null;
|
|
@@ -1263,6 +1213,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1263
1213
|
mcpServers?: Array<string>;
|
|
1264
1214
|
hooks?: Array<string>;
|
|
1265
1215
|
};
|
|
1216
|
+
idleCompaction?: boolean;
|
|
1217
|
+
outputStyle?: string;
|
|
1266
1218
|
} | null;
|
|
1267
1219
|
models?: {
|
|
1268
1220
|
allowed: Array<string>;
|
|
@@ -1273,6 +1225,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
1273
1225
|
environment_id?: string | null;
|
|
1274
1226
|
vault_ids?: Array<string>;
|
|
1275
1227
|
status: "active" | "archived";
|
|
1228
|
+
output_styles?: Array<{
|
|
1229
|
+
name: string;
|
|
1230
|
+
description?: string;
|
|
1231
|
+
prompt: string;
|
|
1232
|
+
keep_coding_instructions?: boolean;
|
|
1233
|
+
}> | null;
|
|
1276
1234
|
}>;
|
|
1277
1235
|
};
|
|
1278
1236
|
update: (options: import("./core/transport.js").CallOptions<Types.AgentsUpdateData>) => Promise<{
|
|
@@ -1282,7 +1240,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1282
1240
|
description: null | string;
|
|
1283
1241
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
1284
1242
|
metadata: Types.AgentManaged37;
|
|
1285
|
-
model
|
|
1243
|
+
model?: {
|
|
1286
1244
|
id: string;
|
|
1287
1245
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1288
1246
|
inference_geo?: string;
|
|
@@ -1291,7 +1249,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1291
1249
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1292
1250
|
};
|
|
1293
1251
|
};
|
|
1294
|
-
multiagent
|
|
1252
|
+
multiagent?: null | Types.AgentManaged39;
|
|
1295
1253
|
name: string;
|
|
1296
1254
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
1297
1255
|
system: null | string;
|
|
@@ -1299,6 +1257,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1299
1257
|
type: "agent";
|
|
1300
1258
|
updated_at: string;
|
|
1301
1259
|
version: number;
|
|
1260
|
+
latest_version?: number;
|
|
1302
1261
|
active_version: number;
|
|
1303
1262
|
created_by: {
|
|
1304
1263
|
type: "user";
|
|
@@ -1321,7 +1280,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1321
1280
|
readonly verified?: boolean;
|
|
1322
1281
|
enabled?: boolean;
|
|
1323
1282
|
}>;
|
|
1324
|
-
kind: "personal" | "service";
|
|
1283
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
1325
1284
|
computer_id?: string;
|
|
1326
1285
|
subagent_model?: string | null;
|
|
1327
1286
|
image_model?: string | null;
|
|
@@ -1399,268 +1358,75 @@ export declare function createAgent(transport: Transport): {
|
|
|
1399
1358
|
timeout?: number;
|
|
1400
1359
|
async?: boolean;
|
|
1401
1360
|
enabled?: boolean;
|
|
1402
|
-
}>;
|
|
1403
|
-
}>;
|
|
1404
|
-
Stop?: Array<{
|
|
1405
|
-
matcher?: string;
|
|
1406
|
-
hooks: Array<{
|
|
1407
|
-
type: "command";
|
|
1408
|
-
command: string;
|
|
1409
|
-
timeout?: number;
|
|
1410
|
-
async?: boolean;
|
|
1411
|
-
enabled?: boolean;
|
|
1412
|
-
}>;
|
|
1413
|
-
}>;
|
|
1414
|
-
};
|
|
1415
|
-
allowManagedHooksOnly?: boolean;
|
|
1416
|
-
allowManagedMcpServersOnly?: boolean;
|
|
1417
|
-
allowManagedPermissionRulesOnly?: boolean;
|
|
1418
|
-
autoMemoryEnabled?: boolean;
|
|
1419
|
-
disabled?: {
|
|
1420
|
-
subagents?: Array<string>;
|
|
1421
|
-
commands?: Array<string>;
|
|
1422
|
-
skills?: Array<string>;
|
|
1423
|
-
mcpServers?: Array<string>;
|
|
1424
|
-
hooks?: Array<string>;
|
|
1425
|
-
};
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
type: "stdio";
|
|
1461
|
-
name: string;
|
|
1462
|
-
command: string;
|
|
1463
|
-
args?: Array<string>;
|
|
1464
|
-
env?: {
|
|
1465
|
-
[key: string]: string;
|
|
1466
|
-
};
|
|
1467
|
-
timeout_ms?: number;
|
|
1468
|
-
}>;
|
|
1469
|
-
metadata: {
|
|
1470
|
-
[key: string]: string;
|
|
1471
|
-
};
|
|
1472
|
-
model: {
|
|
1473
|
-
id: string;
|
|
1474
|
-
effort?: {
|
|
1475
|
-
type: "low";
|
|
1476
|
-
} | {
|
|
1477
|
-
type: "medium";
|
|
1478
|
-
} | {
|
|
1479
|
-
type: "high";
|
|
1480
|
-
} | {
|
|
1481
|
-
type: "xhigh";
|
|
1482
|
-
} | {
|
|
1483
|
-
type: "max";
|
|
1484
|
-
};
|
|
1485
|
-
inference_geo?: string;
|
|
1486
|
-
speed?: "standard" | "fast";
|
|
1487
|
-
settings?: {
|
|
1488
|
-
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1489
|
-
};
|
|
1490
|
-
};
|
|
1491
|
-
multiagent: null | {
|
|
1492
|
-
agents: Array<{
|
|
1493
|
-
id: string;
|
|
1494
|
-
type: "agent";
|
|
1495
|
-
version: number;
|
|
1496
|
-
} | {
|
|
1497
|
-
model: string;
|
|
1498
|
-
type: "advisor";
|
|
1499
|
-
}>;
|
|
1500
|
-
type: "coordinator";
|
|
1501
|
-
};
|
|
1502
|
-
name: string;
|
|
1503
|
-
skills: Array<{
|
|
1504
|
-
skill_id: string;
|
|
1505
|
-
type: "anthropic";
|
|
1506
|
-
version: string;
|
|
1507
|
-
} | {
|
|
1508
|
-
skill_id: string;
|
|
1509
|
-
type: "custom";
|
|
1510
|
-
version: string;
|
|
1511
|
-
}>;
|
|
1512
|
-
system: null | string;
|
|
1513
|
-
tools: Array<{
|
|
1514
|
-
configs: Array<{
|
|
1515
|
-
enabled: boolean;
|
|
1516
|
-
name: "bash";
|
|
1517
|
-
permission_policy: {
|
|
1518
|
-
type: "always_allow";
|
|
1519
|
-
} | {
|
|
1520
|
-
type: "always_ask";
|
|
1521
|
-
} | {
|
|
1522
|
-
type: "auto";
|
|
1523
|
-
};
|
|
1524
|
-
type: "bash";
|
|
1525
|
-
} | {
|
|
1526
|
-
enabled: boolean;
|
|
1527
|
-
name: "edit";
|
|
1528
|
-
permission_policy: {
|
|
1529
|
-
type: "always_allow";
|
|
1530
|
-
} | {
|
|
1531
|
-
type: "always_ask";
|
|
1532
|
-
} | {
|
|
1533
|
-
type: "auto";
|
|
1534
|
-
};
|
|
1535
|
-
type: "edit";
|
|
1536
|
-
} | {
|
|
1537
|
-
enabled: boolean;
|
|
1538
|
-
name: "read";
|
|
1539
|
-
permission_policy: {
|
|
1540
|
-
type: "always_allow";
|
|
1541
|
-
} | {
|
|
1542
|
-
type: "always_ask";
|
|
1543
|
-
} | {
|
|
1544
|
-
type: "auto";
|
|
1545
|
-
};
|
|
1546
|
-
type: "read";
|
|
1547
|
-
} | {
|
|
1548
|
-
enabled: boolean;
|
|
1549
|
-
name: "write";
|
|
1550
|
-
permission_policy: {
|
|
1551
|
-
type: "always_allow";
|
|
1552
|
-
} | {
|
|
1553
|
-
type: "always_ask";
|
|
1554
|
-
} | {
|
|
1555
|
-
type: "auto";
|
|
1556
|
-
};
|
|
1557
|
-
type: "write";
|
|
1558
|
-
} | {
|
|
1559
|
-
enabled: boolean;
|
|
1560
|
-
name: "glob";
|
|
1561
|
-
permission_policy: {
|
|
1562
|
-
type: "always_allow";
|
|
1563
|
-
} | {
|
|
1564
|
-
type: "always_ask";
|
|
1565
|
-
} | {
|
|
1566
|
-
type: "auto";
|
|
1567
|
-
};
|
|
1568
|
-
type: "glob";
|
|
1569
|
-
} | {
|
|
1570
|
-
enabled: boolean;
|
|
1571
|
-
name: "grep";
|
|
1572
|
-
permission_policy: {
|
|
1573
|
-
type: "always_allow";
|
|
1574
|
-
} | {
|
|
1575
|
-
type: "always_ask";
|
|
1576
|
-
} | {
|
|
1577
|
-
type: "auto";
|
|
1578
|
-
};
|
|
1579
|
-
type: "grep";
|
|
1580
|
-
} | {
|
|
1581
|
-
enabled: boolean;
|
|
1582
|
-
name: "web_fetch";
|
|
1583
|
-
permission_policy: {
|
|
1584
|
-
type: "always_allow";
|
|
1585
|
-
} | {
|
|
1586
|
-
type: "always_ask";
|
|
1587
|
-
} | {
|
|
1588
|
-
type: "auto";
|
|
1589
|
-
};
|
|
1590
|
-
type: "web_fetch";
|
|
1591
|
-
allowed_domains?: Array<string>;
|
|
1592
|
-
blocked_domains?: Array<string>;
|
|
1593
|
-
max_content_tokens?: null | number;
|
|
1594
|
-
} | {
|
|
1595
|
-
enabled: boolean;
|
|
1596
|
-
name: "web_search";
|
|
1597
|
-
permission_policy: {
|
|
1598
|
-
type: "always_allow";
|
|
1599
|
-
} | {
|
|
1600
|
-
type: "always_ask";
|
|
1601
|
-
} | {
|
|
1602
|
-
type: "auto";
|
|
1603
|
-
};
|
|
1604
|
-
type: "web_search";
|
|
1605
|
-
allowed_domains?: Array<string>;
|
|
1606
|
-
blocked_domains?: Array<string>;
|
|
1607
|
-
user_location?: null | {
|
|
1608
|
-
type: "approximate";
|
|
1609
|
-
city?: null | string;
|
|
1610
|
-
country?: null | string;
|
|
1611
|
-
region?: null | string;
|
|
1612
|
-
timezone?: null | string;
|
|
1613
|
-
};
|
|
1614
|
-
} | {
|
|
1615
|
-
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
1616
|
-
enabled: boolean;
|
|
1617
|
-
permission_policy: {
|
|
1618
|
-
type: "always_allow" | "always_ask";
|
|
1619
|
-
};
|
|
1620
|
-
}>;
|
|
1621
|
-
default_config: {
|
|
1622
|
-
enabled: boolean;
|
|
1623
|
-
permission_policy: {
|
|
1624
|
-
type: "always_allow";
|
|
1625
|
-
} | {
|
|
1626
|
-
type: "always_ask";
|
|
1627
|
-
} | {
|
|
1628
|
-
type: "auto";
|
|
1629
|
-
};
|
|
1630
|
-
};
|
|
1631
|
-
type: "agent_toolset_20260401";
|
|
1632
|
-
} | {
|
|
1633
|
-
type: "mcp_toolset";
|
|
1634
|
-
mcp_server_name: string;
|
|
1635
|
-
default_config?: {
|
|
1636
|
-
enabled?: boolean | null;
|
|
1637
|
-
permission_policy?: null | {
|
|
1638
|
-
type: "always_allow" | "always_ask";
|
|
1639
|
-
};
|
|
1640
|
-
} | null;
|
|
1641
|
-
configs?: Array<{
|
|
1642
|
-
name: string;
|
|
1643
|
-
enabled?: boolean | null;
|
|
1644
|
-
permission_policy?: null | {
|
|
1645
|
-
type: "always_allow" | "always_ask";
|
|
1646
|
-
};
|
|
1647
|
-
}> | null;
|
|
1648
|
-
} | {
|
|
1649
|
-
description: string;
|
|
1650
|
-
input_schema: {
|
|
1651
|
-
type: "object";
|
|
1652
|
-
properties?: null | {
|
|
1653
|
-
[key: string]: unknown;
|
|
1654
|
-
};
|
|
1655
|
-
required?: null | Array<string>;
|
|
1656
|
-
[key: string]: unknown;
|
|
1361
|
+
}>;
|
|
1362
|
+
}>;
|
|
1363
|
+
Stop?: Array<{
|
|
1364
|
+
matcher?: string;
|
|
1365
|
+
hooks: Array<{
|
|
1366
|
+
type: "command";
|
|
1367
|
+
command: string;
|
|
1368
|
+
timeout?: number;
|
|
1369
|
+
async?: boolean;
|
|
1370
|
+
enabled?: boolean;
|
|
1371
|
+
}>;
|
|
1372
|
+
}>;
|
|
1373
|
+
};
|
|
1374
|
+
allowManagedHooksOnly?: boolean;
|
|
1375
|
+
allowManagedMcpServersOnly?: boolean;
|
|
1376
|
+
allowManagedPermissionRulesOnly?: boolean;
|
|
1377
|
+
autoMemoryEnabled?: boolean;
|
|
1378
|
+
disabled?: {
|
|
1379
|
+
subagents?: Array<string>;
|
|
1380
|
+
commands?: Array<string>;
|
|
1381
|
+
skills?: Array<string>;
|
|
1382
|
+
mcpServers?: Array<string>;
|
|
1383
|
+
hooks?: Array<string>;
|
|
1384
|
+
};
|
|
1385
|
+
idleCompaction?: boolean;
|
|
1386
|
+
outputStyle?: string;
|
|
1387
|
+
} | null;
|
|
1388
|
+
models?: {
|
|
1389
|
+
allowed: Array<string>;
|
|
1390
|
+
};
|
|
1391
|
+
avatar: string | null;
|
|
1392
|
+
creation_source: string | null;
|
|
1393
|
+
identity_number: string | null;
|
|
1394
|
+
environment_id?: string | null;
|
|
1395
|
+
vault_ids?: Array<string>;
|
|
1396
|
+
status: "active" | "archived";
|
|
1397
|
+
output_styles?: Array<{
|
|
1398
|
+
name: string;
|
|
1399
|
+
description?: string;
|
|
1400
|
+
prompt: string;
|
|
1401
|
+
keep_coding_instructions?: boolean;
|
|
1402
|
+
}> | null;
|
|
1403
|
+
}>;
|
|
1404
|
+
versions: {
|
|
1405
|
+
apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
|
|
1406
|
+
id: string;
|
|
1407
|
+
archived_at: null | string;
|
|
1408
|
+
created_at: string;
|
|
1409
|
+
description: null | string;
|
|
1410
|
+
mcp_servers: Array<Types.AgentManaged36>;
|
|
1411
|
+
metadata: Types.AgentManaged37;
|
|
1412
|
+
model?: {
|
|
1413
|
+
id: string;
|
|
1414
|
+
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1415
|
+
inference_geo?: string;
|
|
1416
|
+
speed?: "standard" | "fast";
|
|
1417
|
+
settings?: {
|
|
1418
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1657
1419
|
};
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1420
|
+
};
|
|
1421
|
+
multiagent?: null | Types.AgentManaged39;
|
|
1422
|
+
name: string;
|
|
1423
|
+
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
1424
|
+
system: null | string;
|
|
1425
|
+
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
1661
1426
|
type: "agent";
|
|
1662
1427
|
updated_at: string;
|
|
1663
1428
|
version: number;
|
|
1429
|
+
latest_version?: number;
|
|
1664
1430
|
active_version: number;
|
|
1665
1431
|
created_by: {
|
|
1666
1432
|
type: "user";
|
|
@@ -1683,7 +1449,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1683
1449
|
readonly verified?: boolean;
|
|
1684
1450
|
enabled?: boolean;
|
|
1685
1451
|
}>;
|
|
1686
|
-
kind: "personal" | "service";
|
|
1452
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
1687
1453
|
computer_id?: string;
|
|
1688
1454
|
subagent_model?: string | null;
|
|
1689
1455
|
image_model?: string | null;
|
|
@@ -1785,6 +1551,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1785
1551
|
mcpServers?: Array<string>;
|
|
1786
1552
|
hooks?: Array<string>;
|
|
1787
1553
|
};
|
|
1554
|
+
idleCompaction?: boolean;
|
|
1555
|
+
outputStyle?: string;
|
|
1788
1556
|
} | null;
|
|
1789
1557
|
models?: {
|
|
1790
1558
|
allowed: Array<string>;
|
|
@@ -1795,6 +1563,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
1795
1563
|
environment_id?: string | null;
|
|
1796
1564
|
vault_ids?: Array<string>;
|
|
1797
1565
|
status: "active" | "archived";
|
|
1566
|
+
output_styles?: Array<{
|
|
1567
|
+
name: string;
|
|
1568
|
+
description?: string;
|
|
1569
|
+
prompt: string;
|
|
1570
|
+
keep_coding_instructions?: boolean;
|
|
1571
|
+
}> | null;
|
|
1798
1572
|
}>;
|
|
1799
1573
|
list: (options: import("./core/transport.js").CallOptions<Types.AgentsVersionsListData>) => Promise<{
|
|
1800
1574
|
data: Array<{
|
|
@@ -1804,7 +1578,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1804
1578
|
description: null | string;
|
|
1805
1579
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
1806
1580
|
metadata: Types.AgentManaged37;
|
|
1807
|
-
model
|
|
1581
|
+
model?: {
|
|
1808
1582
|
id: string;
|
|
1809
1583
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1810
1584
|
inference_geo?: string;
|
|
@@ -1813,7 +1587,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1813
1587
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1814
1588
|
};
|
|
1815
1589
|
};
|
|
1816
|
-
multiagent
|
|
1590
|
+
multiagent?: null | Types.AgentManaged39;
|
|
1817
1591
|
name: string;
|
|
1818
1592
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
1819
1593
|
system: null | string;
|
|
@@ -1844,7 +1618,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1844
1618
|
readonly verified?: boolean;
|
|
1845
1619
|
enabled?: boolean;
|
|
1846
1620
|
}>;
|
|
1847
|
-
kind: "personal" | "service";
|
|
1621
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
1848
1622
|
computer_id?: string;
|
|
1849
1623
|
subagent_model?: string | null;
|
|
1850
1624
|
image_model?: string | null;
|
|
@@ -1946,6 +1720,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1946
1720
|
mcpServers?: Array<string>;
|
|
1947
1721
|
hooks?: Array<string>;
|
|
1948
1722
|
};
|
|
1723
|
+
idleCompaction?: boolean;
|
|
1724
|
+
outputStyle?: string;
|
|
1949
1725
|
} | null;
|
|
1950
1726
|
models?: {
|
|
1951
1727
|
allowed: Array<string>;
|
|
@@ -1956,6 +1732,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
1956
1732
|
environment_id?: string | null;
|
|
1957
1733
|
vault_ids?: Array<string>;
|
|
1958
1734
|
status: "active" | "archived";
|
|
1735
|
+
output_styles?: Array<{
|
|
1736
|
+
name: string;
|
|
1737
|
+
description?: string;
|
|
1738
|
+
prompt: string;
|
|
1739
|
+
keep_coding_instructions?: boolean;
|
|
1740
|
+
}> | null;
|
|
1959
1741
|
}>;
|
|
1960
1742
|
next_page: string | null;
|
|
1961
1743
|
}>;
|
|
@@ -2101,7 +1883,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2101
1883
|
} | {
|
|
2102
1884
|
id: string;
|
|
2103
1885
|
type: "agent_with_overrides";
|
|
2104
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1886
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2105
1887
|
cwd?: string;
|
|
2106
1888
|
model?: string | {
|
|
2107
1889
|
id: string;
|
|
@@ -2138,7 +1920,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2138
1920
|
} | {
|
|
2139
1921
|
id: string;
|
|
2140
1922
|
type: "agent_with_overrides";
|
|
2141
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1923
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2142
1924
|
cwd?: string;
|
|
2143
1925
|
model?: string | {
|
|
2144
1926
|
id: string;
|
|
@@ -2176,7 +1958,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2176
1958
|
} | {
|
|
2177
1959
|
id: string;
|
|
2178
1960
|
type: "agent_with_overrides";
|
|
2179
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1961
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2180
1962
|
cwd?: string;
|
|
2181
1963
|
model?: string | {
|
|
2182
1964
|
id: string;
|
|
@@ -2215,7 +1997,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2215
1997
|
} | {
|
|
2216
1998
|
id: string;
|
|
2217
1999
|
type: "agent_with_overrides";
|
|
2218
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
2000
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2219
2001
|
cwd?: string;
|
|
2220
2002
|
model?: string | {
|
|
2221
2003
|
id: string;
|
|
@@ -2252,7 +2034,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2252
2034
|
} | {
|
|
2253
2035
|
id: string;
|
|
2254
2036
|
type: "agent_with_overrides";
|
|
2255
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
2037
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2256
2038
|
cwd?: string;
|
|
2257
2039
|
model?: string | {
|
|
2258
2040
|
id: string;
|
|
@@ -2293,7 +2075,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2293
2075
|
} | {
|
|
2294
2076
|
id: string;
|
|
2295
2077
|
type: "agent_with_overrides";
|
|
2296
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
2078
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2297
2079
|
cwd?: string;
|
|
2298
2080
|
model?: string | {
|
|
2299
2081
|
id: string;
|
|
@@ -2331,7 +2113,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2331
2113
|
} | {
|
|
2332
2114
|
id: string;
|
|
2333
2115
|
type: "agent_with_overrides";
|
|
2334
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
2116
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2335
2117
|
cwd?: string;
|
|
2336
2118
|
model?: string | {
|
|
2337
2119
|
id: string;
|
|
@@ -2360,122 +2142,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2360
2142
|
};
|
|
2361
2143
|
}>;
|
|
2362
2144
|
};
|
|
2363
|
-
embed: {
|
|
2364
|
-
exchange: {
|
|
2365
|
-
create: (options: import("./core/transport.js").CallOptions<Types.ExchangeEmbedCodeData>) => Promise<{
|
|
2366
|
-
token: string;
|
|
2367
|
-
expires_at: string;
|
|
2368
|
-
}>;
|
|
2369
|
-
};
|
|
2370
|
-
retrieveAppearance: (options?: import("./core/transport.js").CallOptions<Types.GetEmbedAppearanceData> | undefined) => Promise<{
|
|
2371
|
-
agent?: {
|
|
2372
|
-
name?: string;
|
|
2373
|
-
avatar?: string;
|
|
2374
|
-
};
|
|
2375
|
-
layout?: "inline" | "sidebar" | "popup" | "modal";
|
|
2376
|
-
launcher?: {
|
|
2377
|
-
type: "none" | "bubble" | "mascot";
|
|
2378
|
-
pack?: {
|
|
2379
|
-
preset?: "mint" | "cat" | "bot";
|
|
2380
|
-
images?: {
|
|
2381
|
-
idle: string;
|
|
2382
|
-
greet?: string;
|
|
2383
|
-
listening?: string;
|
|
2384
|
-
thinking?: string;
|
|
2385
|
-
talking?: string;
|
|
2386
|
-
"talking-2"?: string;
|
|
2387
|
-
sorry?: string;
|
|
2388
|
-
sleep?: string;
|
|
2389
|
-
};
|
|
2390
|
-
};
|
|
2391
|
-
image?: string;
|
|
2392
|
-
motion?: "float" | "none";
|
|
2393
|
-
position?: "bottom-right" | "bottom-left";
|
|
2394
|
-
label?: string;
|
|
2395
|
-
};
|
|
2396
|
-
header?: {
|
|
2397
|
-
title?: string;
|
|
2398
|
-
subtitle?: string;
|
|
2399
|
-
icon?: string;
|
|
2400
|
-
};
|
|
2401
|
-
theme?: {
|
|
2402
|
-
colorScheme?: "light" | "dark" | "system";
|
|
2403
|
-
accent?: string;
|
|
2404
|
-
surface?: string;
|
|
2405
|
-
grayscale?: "neutral" | "warm" | "cool";
|
|
2406
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
2407
|
-
density?: "compact" | "normal" | "spacious";
|
|
2408
|
-
fontFamily?: string;
|
|
2409
|
-
fontSize?: number;
|
|
2410
|
-
};
|
|
2411
|
-
locale?: "zh" | "en";
|
|
2412
|
-
startScreen?: {
|
|
2413
|
-
greeting?: string;
|
|
2414
|
-
prompts?: Array<{
|
|
2415
|
-
label: string;
|
|
2416
|
-
prompt: string;
|
|
2417
|
-
}>;
|
|
2418
|
-
};
|
|
2419
|
-
composer?: {
|
|
2420
|
-
placeholder?: string;
|
|
2421
|
-
};
|
|
2422
|
-
disclaimer?: string;
|
|
2423
|
-
footer?: string;
|
|
2424
|
-
history?: {
|
|
2425
|
-
enabled?: boolean;
|
|
2426
|
-
};
|
|
2427
|
-
}>;
|
|
2428
|
-
};
|
|
2429
|
-
embedTokens: {
|
|
2430
|
-
anonymous: {
|
|
2431
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CreateAnonymousEmbedTokenData>) => Promise<{
|
|
2432
|
-
token: string;
|
|
2433
|
-
expires_at: string;
|
|
2434
|
-
visitor_secret?: string;
|
|
2435
|
-
}>;
|
|
2436
|
-
};
|
|
2437
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CreateEmbedTokenData>) => Promise<{
|
|
2438
|
-
hosted_url?: string;
|
|
2439
|
-
id: string;
|
|
2440
|
-
token: string;
|
|
2441
|
-
expires_at: string;
|
|
2442
|
-
}>;
|
|
2443
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListEmbedTokensData> | undefined) => Promise<{
|
|
2444
|
-
data: Array<{
|
|
2445
|
-
id: string;
|
|
2446
|
-
type: "embed_token";
|
|
2447
|
-
agent_id: string;
|
|
2448
|
-
agent_version: number;
|
|
2449
|
-
external_user_id: string;
|
|
2450
|
-
created_at: string;
|
|
2451
|
-
expires_at: string;
|
|
2452
|
-
revoked_at: string | null;
|
|
2453
|
-
host_origin: string | null;
|
|
2454
|
-
issued_by: {
|
|
2455
|
-
type: "user" | "api_key";
|
|
2456
|
-
id: string;
|
|
2457
|
-
};
|
|
2458
|
-
}>;
|
|
2459
|
-
next_page: string | null;
|
|
2460
|
-
}>;
|
|
2461
|
-
revoke: {
|
|
2462
|
-
create: (options: import("./core/transport.js").CallOptions<Types.RevokeEmbedTokenData>) => Promise<{
|
|
2463
|
-
id: string;
|
|
2464
|
-
type: "embed_token";
|
|
2465
|
-
agent_id: string;
|
|
2466
|
-
agent_version: number;
|
|
2467
|
-
external_user_id: string;
|
|
2468
|
-
created_at: string;
|
|
2469
|
-
expires_at: string;
|
|
2470
|
-
revoked_at: string | null;
|
|
2471
|
-
host_origin: string | null;
|
|
2472
|
-
issued_by: {
|
|
2473
|
-
type: "user" | "api_key";
|
|
2474
|
-
id: string;
|
|
2475
|
-
};
|
|
2476
|
-
}>;
|
|
2477
|
-
};
|
|
2478
|
-
};
|
|
2479
2145
|
environments: {
|
|
2480
2146
|
archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
|
|
2481
2147
|
create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
|
|
@@ -2582,21 +2248,27 @@ export declare function createAgent(transport: Transport): {
|
|
|
2582
2248
|
compact: (options: import("./core/transport.js").CallOptions<Types.CompactSessionData>) => Promise<{
|
|
2583
2249
|
type: "session_compaction";
|
|
2584
2250
|
id: string;
|
|
2585
|
-
status: "queued" | "running" | "skipped" | "succeeded" | "failed";
|
|
2251
|
+
status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
|
|
2586
2252
|
reason?: string;
|
|
2587
2253
|
} | {
|
|
2588
2254
|
type: "session_compaction";
|
|
2589
2255
|
id: string;
|
|
2590
|
-
status: "queued" | "running" | "skipped" | "succeeded" | "failed";
|
|
2256
|
+
status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
|
|
2591
2257
|
reason?: string;
|
|
2592
2258
|
}>;
|
|
2593
2259
|
compactions: {
|
|
2594
2260
|
list: (options: import("./core/transport.js").CallOptions<Types.ListSessionCompactionsData>) => Promise<{
|
|
2261
|
+
active: {
|
|
2262
|
+
type: "session_compaction";
|
|
2263
|
+
id: string;
|
|
2264
|
+
status: "queued" | "running";
|
|
2265
|
+
trigger: "manual" | "auto" | "idle";
|
|
2266
|
+
} | null;
|
|
2595
2267
|
data: Array<{
|
|
2596
2268
|
type: "context_compaction";
|
|
2597
2269
|
id: string;
|
|
2598
2270
|
event_id: string | null;
|
|
2599
|
-
trigger: "auto" | "manual" | "model_downshift";
|
|
2271
|
+
trigger: "auto" | "manual" | "model_downshift" | "idle";
|
|
2600
2272
|
status: "succeeded" | "failed";
|
|
2601
2273
|
model: string;
|
|
2602
2274
|
compacted_message_count: number;
|
|
@@ -2707,6 +2379,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2707
2379
|
run_id: string | null;
|
|
2708
2380
|
message_id?: string;
|
|
2709
2381
|
} | {
|
|
2382
|
+
full_access_available?: boolean;
|
|
2710
2383
|
id: string;
|
|
2711
2384
|
input: Types.AgentManaged197;
|
|
2712
2385
|
mcp_server_name: string;
|
|
@@ -2729,6 +2402,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
2729
2402
|
};
|
|
2730
2403
|
source?: "app" | "codemode";
|
|
2731
2404
|
parent_tool_use_id?: string;
|
|
2405
|
+
user_once?: true;
|
|
2406
|
+
guarded_rule?: string;
|
|
2407
|
+
permission_suggestions?: Array<{
|
|
2408
|
+
type: "add_rules";
|
|
2409
|
+
behavior: "allow";
|
|
2410
|
+
destination: "agent" | "session";
|
|
2411
|
+
rules: Array<{
|
|
2412
|
+
tool_name: string;
|
|
2413
|
+
rule_content: string;
|
|
2414
|
+
}>;
|
|
2415
|
+
}>;
|
|
2732
2416
|
title?: string;
|
|
2733
2417
|
input_titles?: {
|
|
2734
2418
|
[key: string]: string;
|
|
@@ -2747,6 +2431,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2747
2431
|
};
|
|
2748
2432
|
source?: "app" | "codemode";
|
|
2749
2433
|
} | {
|
|
2434
|
+
full_access_available?: boolean;
|
|
2750
2435
|
id: string;
|
|
2751
2436
|
input: Types.AgentManaged206;
|
|
2752
2437
|
name: string;
|
|
@@ -2756,6 +2441,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
2756
2441
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
2757
2442
|
session_thread_id?: null | string;
|
|
2758
2443
|
run_id: string | null;
|
|
2444
|
+
user_once?: true;
|
|
2445
|
+
guarded_rule?: string;
|
|
2446
|
+
permission_suggestions?: Array<{
|
|
2447
|
+
type: "add_rules";
|
|
2448
|
+
behavior: "allow";
|
|
2449
|
+
destination: "agent" | "session";
|
|
2450
|
+
rules: Array<{
|
|
2451
|
+
tool_name: string;
|
|
2452
|
+
rule_content: string;
|
|
2453
|
+
}>;
|
|
2454
|
+
}>;
|
|
2759
2455
|
} | {
|
|
2760
2456
|
id: string;
|
|
2761
2457
|
processed_at: string;
|
|
@@ -2776,6 +2472,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
2776
2472
|
type: "session.status_idle";
|
|
2777
2473
|
run_id: string | null;
|
|
2778
2474
|
} | 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 | {
|
|
2475
|
+
permission_mode_version?: number;
|
|
2476
|
+
previous_permission_mode?: string | null;
|
|
2477
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2779
2478
|
id: string;
|
|
2780
2479
|
processed_at: string;
|
|
2781
2480
|
type: "session.updated";
|
|
@@ -3397,10 +3096,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
3397
3096
|
web_fetch_requests?: number;
|
|
3398
3097
|
web_search_requests?: number;
|
|
3399
3098
|
};
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
currency: "USD";
|
|
3099
|
+
cost_by_product?: {
|
|
3100
|
+
[key: string]: string;
|
|
3403
3101
|
};
|
|
3102
|
+
subagent_cost_micro_usd?: number;
|
|
3404
3103
|
};
|
|
3405
3104
|
vault_ids: Array<string>;
|
|
3406
3105
|
deployment_id?: null | string;
|
|
@@ -3563,7 +3262,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3563
3262
|
retrieveCompact: (options: import("./core/transport.js").CallOptions<Types.GetSessionCompactionData>) => Promise<{
|
|
3564
3263
|
type: "session_compaction";
|
|
3565
3264
|
id: string;
|
|
3566
|
-
status: "queued" | "running" | "skipped" | "succeeded" | "failed";
|
|
3265
|
+
status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
|
|
3567
3266
|
reason?: string;
|
|
3568
3267
|
}>;
|
|
3569
3268
|
retrieveContext: (options: import("./core/transport.js").CallOptions<Types.GetSessionContextData>) => Promise<{
|
|
@@ -3687,6 +3386,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3687
3386
|
run_id: string | null;
|
|
3688
3387
|
message_id?: string;
|
|
3689
3388
|
} | {
|
|
3389
|
+
full_access_available?: boolean;
|
|
3690
3390
|
id: string;
|
|
3691
3391
|
input: Types.AgentManaged197;
|
|
3692
3392
|
mcp_server_name: string;
|
|
@@ -3709,6 +3409,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
3709
3409
|
};
|
|
3710
3410
|
};
|
|
3711
3411
|
source?: "app" | "codemode";
|
|
3412
|
+
user_once?: true;
|
|
3413
|
+
guarded_rule?: string;
|
|
3414
|
+
permission_suggestions?: Array<{
|
|
3415
|
+
type: "add_rules";
|
|
3416
|
+
behavior: "allow";
|
|
3417
|
+
destination: "agent" | "session";
|
|
3418
|
+
rules: Array<{
|
|
3419
|
+
tool_name: string;
|
|
3420
|
+
rule_content: string;
|
|
3421
|
+
}>;
|
|
3422
|
+
}>;
|
|
3712
3423
|
title?: string;
|
|
3713
3424
|
input_titles?: {
|
|
3714
3425
|
[key: string]: string;
|
|
@@ -3727,6 +3438,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3727
3438
|
};
|
|
3728
3439
|
source?: "app" | "codemode";
|
|
3729
3440
|
} | {
|
|
3441
|
+
full_access_available?: boolean;
|
|
3730
3442
|
id: string;
|
|
3731
3443
|
input: Types.AgentManaged206;
|
|
3732
3444
|
name: string;
|
|
@@ -3736,6 +3448,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
3736
3448
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
3737
3449
|
session_thread_id?: null | string;
|
|
3738
3450
|
run_id: string | null;
|
|
3451
|
+
user_once?: true;
|
|
3452
|
+
guarded_rule?: string;
|
|
3453
|
+
permission_suggestions?: Array<{
|
|
3454
|
+
type: "add_rules";
|
|
3455
|
+
behavior: "allow";
|
|
3456
|
+
destination: "agent" | "session";
|
|
3457
|
+
rules: Array<{
|
|
3458
|
+
tool_name: string;
|
|
3459
|
+
rule_content: string;
|
|
3460
|
+
}>;
|
|
3461
|
+
}>;
|
|
3739
3462
|
} | {
|
|
3740
3463
|
id: string;
|
|
3741
3464
|
processed_at: string;
|
|
@@ -3756,6 +3479,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
3756
3479
|
type: "session.status_idle";
|
|
3757
3480
|
run_id: string | null;
|
|
3758
3481
|
} | 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 | {
|
|
3482
|
+
permission_mode_version?: number;
|
|
3483
|
+
previous_permission_mode?: string | null;
|
|
3484
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
3759
3485
|
id: string;
|
|
3760
3486
|
processed_at: string;
|
|
3761
3487
|
type: "session.updated";
|
|
@@ -4024,6 +3750,13 @@ export declare function createAutomation(transport: Transport): {
|
|
|
4024
3750
|
hooks: {
|
|
4025
3751
|
send: (options: import("./core/transport.js").CallOptions<Types.AutomationHooksReceiveData>) => Promise<Types.AutomationFiring>;
|
|
4026
3752
|
};
|
|
3753
|
+
humanTasks: {
|
|
3754
|
+
cancel: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksCancelData>) => Promise<Types.AutomationHumanTask>;
|
|
3755
|
+
delegate: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksDelegateData>) => Promise<Types.AutomationHumanTask>;
|
|
3756
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksListData> | undefined) => Promise<import("./automation.js").Page<Types.AutomationHumanTask>>;
|
|
3757
|
+
respond: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksRespondData>) => Promise<Types.AutomationHumanTask>;
|
|
3758
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksGetData>) => Promise<Types.AutomationHumanTask>;
|
|
3759
|
+
};
|
|
4027
3760
|
resolve: {
|
|
4028
3761
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationResolveResolveData>) => Promise<Types.AutomationResolveResult>;
|
|
4029
3762
|
};
|
|
@@ -4090,6 +3823,33 @@ export declare function createAutomation(transport: Transport): {
|
|
|
4090
3823
|
restore: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsRestoreData>) => Promise<Types.AutomationDefinition>;
|
|
4091
3824
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsGetData>) => Promise<Types.AutomationDefinitionDetail>;
|
|
4092
3825
|
update: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsPatchData>) => Promise<Types.AutomationDefinitionDetail>;
|
|
3826
|
+
vaults: {
|
|
3827
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsDeleteData>) => Promise<void>;
|
|
3828
|
+
list: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsListData>) => Promise<{
|
|
3829
|
+
data: Array<{
|
|
3830
|
+
alias: string;
|
|
3831
|
+
vault: {
|
|
3832
|
+
id: string;
|
|
3833
|
+
name: string;
|
|
3834
|
+
};
|
|
3835
|
+
secrets: Array<{
|
|
3836
|
+
name: string;
|
|
3837
|
+
}>;
|
|
3838
|
+
secrets_unavailable?: true;
|
|
3839
|
+
}>;
|
|
3840
|
+
}>;
|
|
3841
|
+
set: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsSetData>) => Promise<{
|
|
3842
|
+
alias: string;
|
|
3843
|
+
vault: {
|
|
3844
|
+
id: string;
|
|
3845
|
+
name: string;
|
|
3846
|
+
};
|
|
3847
|
+
secrets: Array<{
|
|
3848
|
+
name: string;
|
|
3849
|
+
}>;
|
|
3850
|
+
secrets_unavailable?: true;
|
|
3851
|
+
}>;
|
|
3852
|
+
};
|
|
4093
3853
|
versions: {
|
|
4094
3854
|
create: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsPublishData>) => Promise<Types.AutomationVersion>;
|
|
4095
3855
|
deprecate: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsDeprecateData>) => Promise<Types.AutomationVersion>;
|
|
@@ -4137,6 +3897,33 @@ export declare function createAutomation(transport: Transport): {
|
|
|
4137
3897
|
restore: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsRestoreData>) => Promise<Types.AutomationDefinition>;
|
|
4138
3898
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsGetData>) => Promise<Types.AutomationDefinitionDetail>;
|
|
4139
3899
|
update: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsPatchData>) => Promise<Types.AutomationDefinitionDetail>;
|
|
3900
|
+
vaults: {
|
|
3901
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsDeleteData>) => Promise<void>;
|
|
3902
|
+
list: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsListData>) => Promise<{
|
|
3903
|
+
data: Array<{
|
|
3904
|
+
alias: string;
|
|
3905
|
+
vault: {
|
|
3906
|
+
id: string;
|
|
3907
|
+
name: string;
|
|
3908
|
+
};
|
|
3909
|
+
secrets: Array<{
|
|
3910
|
+
name: string;
|
|
3911
|
+
}>;
|
|
3912
|
+
secrets_unavailable?: true;
|
|
3913
|
+
}>;
|
|
3914
|
+
}>;
|
|
3915
|
+
set: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsSetData>) => Promise<{
|
|
3916
|
+
alias: string;
|
|
3917
|
+
vault: {
|
|
3918
|
+
id: string;
|
|
3919
|
+
name: string;
|
|
3920
|
+
};
|
|
3921
|
+
secrets: Array<{
|
|
3922
|
+
name: string;
|
|
3923
|
+
}>;
|
|
3924
|
+
secrets_unavailable?: true;
|
|
3925
|
+
}>;
|
|
3926
|
+
};
|
|
4140
3927
|
versions: {
|
|
4141
3928
|
create: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsPublishData>) => Promise<Types.AutomationVersion>;
|
|
4142
3929
|
deprecate: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsDeprecateData>) => Promise<Types.AutomationVersion>;
|
|
@@ -4195,6 +3982,135 @@ export declare function createBrowser(transport: Transport): {
|
|
|
4195
3982
|
};
|
|
4196
3983
|
};
|
|
4197
3984
|
};
|
|
3985
|
+
export declare function createCanvas(transport: Transport): {
|
|
3986
|
+
canvases: {
|
|
3987
|
+
create: (options?: import("./core/transport.js").CallOptions<Types.CanvasCreateCanvasData> | undefined) => Promise<Types.CanvasCanvas>;
|
|
3988
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CanvasDeleteCanvasData>) => Promise<Types.CanvasDeletedCanvas>;
|
|
3989
|
+
execute: (options: import("./core/transport.js").CallOptions<Types.CanvasExecuteData>) => Promise<Types.CanvasExecuteResult>;
|
|
3990
|
+
images: {
|
|
3991
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListImagesData>) => Promise<Types.CanvasImagesResult>;
|
|
3992
|
+
};
|
|
3993
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListCanvasesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasCanvas>>;
|
|
3994
|
+
nodes: {
|
|
3995
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListNodesData>) => Promise<Types.CanvasNodesResult>;
|
|
3996
|
+
};
|
|
3997
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.CanvasRestoreCanvasData>) => Promise<Types.CanvasRestoreResult>;
|
|
3998
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCanvasData>) => Promise<Types.CanvasCanvasDetail>;
|
|
3999
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCanvasData>) => Promise<Types.CanvasCanvas>;
|
|
4000
|
+
versions: {
|
|
4001
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListVersionsData>) => Promise<Types.CanvasVersionPage>;
|
|
4002
|
+
};
|
|
4003
|
+
};
|
|
4004
|
+
collections: {
|
|
4005
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CanvasCreateCollectionData>) => Promise<Types.CanvasCollection>;
|
|
4006
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CanvasDeleteCollectionData>) => Promise<Types.CanvasDeletedCollection>;
|
|
4007
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListCollectionsData> | undefined) => Promise<Types.CanvasCollectionPage>;
|
|
4008
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCollectionData>) => Promise<Types.CanvasCollection>;
|
|
4009
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
|
|
4010
|
+
};
|
|
4011
|
+
};
|
|
4012
|
+
export declare function createCrm(transport: Transport): {
|
|
4013
|
+
associations: {
|
|
4014
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
|
|
4015
|
+
createDefault: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateDefaultData>) => Promise<Types.CrmAssociationsBatchResponsePublicDefaultAssociation & Types.CrmWriteResult>;
|
|
4016
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsListData>) => Promise<Types.CrmAssociationsCollectionResponseMultiAssociatedObjectWithLabelForwardPaging>;
|
|
4017
|
+
remove: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsRemoveData>) => Promise<Types.CrmWriteResult>;
|
|
4018
|
+
};
|
|
4019
|
+
changes: {
|
|
4020
|
+
revert: (options: import("./core/transport.js").CallOptions<Types.CrmChangesRevertData>) => Promise<Types.CrmWriteResult>;
|
|
4021
|
+
};
|
|
4022
|
+
layouts: {
|
|
4023
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmLayoutsRetrieveData>) => Promise<Types.CrmLayout>;
|
|
4024
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CrmLayoutsUpdateData>) => Promise<Types.CrmLayout & Types.CrmWriteResult>;
|
|
4025
|
+
};
|
|
4026
|
+
leads: {
|
|
4027
|
+
qualify: (options: import("./core/transport.js").CallOptions<Types.CrmLeadsQualifyData>) => Promise<Types.CrmWriteResult>;
|
|
4028
|
+
};
|
|
4029
|
+
objects: {
|
|
4030
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsArchiveData>) => Promise<Types.CrmWriteResult>;
|
|
4031
|
+
batch: {
|
|
4032
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchArchiveData>) => Promise<Types.CrmWriteResult>;
|
|
4033
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchCreateData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicObject & Types.CrmWriteResult>;
|
|
4034
|
+
read: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchReadData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicObject>;
|
|
4035
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchUpdateData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicObject & Types.CrmWriteResult>;
|
|
4036
|
+
upsert: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchUpsertData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicUpsertObject & Types.CrmWriteResult>;
|
|
4037
|
+
};
|
|
4038
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsCreateData>) => Promise<Types.CrmObjectsSimplePublicObject & Types.CrmWriteResult>;
|
|
4039
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsListData>) => Promise<Types.CrmObjectsCollectionResponseSimplePublicObjectWithAssociationsForwardPaging>;
|
|
4040
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsRetrieveData>) => Promise<Types.CrmObjectsSimplePublicObjectWithAssociations>;
|
|
4041
|
+
search: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsSearchData>) => Promise<Types.CrmObjectsCollectionResponseWithTotalSimplePublicObject>;
|
|
4042
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsUpdateData>) => Promise<Types.CrmObjectsSimplePublicObject & Types.CrmWriteResult>;
|
|
4043
|
+
};
|
|
4044
|
+
pipelines: {
|
|
4045
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesArchiveData>) => Promise<Types.CrmWriteResult>;
|
|
4046
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesCreateData>) => Promise<Types.CrmPipelinesPipeline & Types.CrmWriteResult>;
|
|
4047
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesListData>) => Promise<Types.CrmPipelinesCollectionResponsePipelineNoPaging>;
|
|
4048
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesRetrieveData>) => Promise<Types.CrmPipelinesPipeline>;
|
|
4049
|
+
stages: {
|
|
4050
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesStagesArchiveData>) => Promise<Types.CrmWriteResult>;
|
|
4051
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesStagesCreateData>) => Promise<Types.CrmStage & Types.CrmWriteResult>;
|
|
4052
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesStagesUpdateData>) => Promise<Types.CrmStage & Types.CrmWriteResult>;
|
|
4053
|
+
};
|
|
4054
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesUpdateData>) => Promise<Types.CrmPipelinesPipeline & Types.CrmWriteResult>;
|
|
4055
|
+
};
|
|
4056
|
+
properties: {
|
|
4057
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesArchiveData>) => Promise<Types.CrmWriteResult>;
|
|
4058
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesCreateData>) => Promise<Types.CrmPropertiesProperty & Types.CrmWriteResult>;
|
|
4059
|
+
groups: {
|
|
4060
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesGroupsCreateData>) => Promise<Types.CrmPropertiesPropertyGroup & Types.CrmWriteResult>;
|
|
4061
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesGroupsListData>) => Promise<Types.CrmPropertiesCollectionResponsePropertyGroupNoPaging>;
|
|
4062
|
+
};
|
|
4063
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesListData>) => Promise<Types.CrmPropertiesCollectionResponsePropertyNoPaging>;
|
|
4064
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesRetrieveData>) => Promise<Types.CrmPropertiesProperty>;
|
|
4065
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesUpdateData>) => Promise<Types.CrmPropertiesProperty & Types.CrmWriteResult>;
|
|
4066
|
+
};
|
|
4067
|
+
schemas: {
|
|
4068
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CrmSchemasCreateData>) => Promise<Types.CrmSchemasObjectSchema & Types.CrmWriteResult>;
|
|
4069
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
|
|
4070
|
+
};
|
|
4071
|
+
};
|
|
4072
|
+
export declare function createCut(transport: Transport): {
|
|
4073
|
+
exports: {
|
|
4074
|
+
cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
|
|
4075
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveExportData>) => Promise<Types.CutExport>;
|
|
4076
|
+
};
|
|
4077
|
+
projects: {
|
|
4078
|
+
analysis: {
|
|
4079
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateAnalysisData>) => Promise<Types.CutAnalysisResult>;
|
|
4080
|
+
};
|
|
4081
|
+
bindings: {
|
|
4082
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateBindingData>) => Promise<Types.CutBinding>;
|
|
4083
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CutDeleteBindingData>) => Promise<Types.CutDeletedBinding>;
|
|
4084
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CutListBindingsData>) => Promise<Types.CutBindingsResult>;
|
|
4085
|
+
};
|
|
4086
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateProjectData>) => Promise<Types.CutProject>;
|
|
4087
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CutDeleteProjectData>) => Promise<Types.CutProject>;
|
|
4088
|
+
execute: (options: import("./core/transport.js").CallOptions<Types.CutExecuteData>) => Promise<Types.CutExecuteResult>;
|
|
4089
|
+
exports: {
|
|
4090
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateExportData>) => Promise<Types.CutExport>;
|
|
4091
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CutListExportsData>) => Promise<Types.CutExportPage>;
|
|
4092
|
+
};
|
|
4093
|
+
frames: {
|
|
4094
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CutListFramesData>) => Promise<Types.CutFramesResult>;
|
|
4095
|
+
};
|
|
4096
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CutListProjectsData> | undefined) => Promise<Types.CutProjectPage>;
|
|
4097
|
+
media: {
|
|
4098
|
+
import: (options: import("./core/transport.js").CallOptions<Types.CutImportMediaData>) => Promise<Types.CutImportedMedia>;
|
|
4099
|
+
};
|
|
4100
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveProjectData>) => Promise<Types.CutProjectDetail>;
|
|
4101
|
+
retrieveState: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveStateData>) => Promise<Types.CutState>;
|
|
4102
|
+
retrieveTimeline: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveTimelineData>) => Promise<Types.CutTimelineResult>;
|
|
4103
|
+
undelete: (options: import("./core/transport.js").CallOptions<Types.CutUndeleteProjectData>) => Promise<Types.CutProject>;
|
|
4104
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CutUpdateProjectData>) => Promise<Types.CutProject>;
|
|
4105
|
+
versions: {
|
|
4106
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateVersionData>) => Promise<Types.CutVersion>;
|
|
4107
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CutListVersionsData>) => Promise<Types.CutVersionPage>;
|
|
4108
|
+
};
|
|
4109
|
+
};
|
|
4110
|
+
versions: {
|
|
4111
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.CutRestoreVersionData>) => Promise<Types.CutTransaction>;
|
|
4112
|
+
};
|
|
4113
|
+
};
|
|
4198
4114
|
export declare function createDatabase(transport: Transport): {
|
|
4199
4115
|
databases: {
|
|
4200
4116
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
@@ -4242,6 +4158,17 @@ export declare function createDatabase(transport: Transport): {
|
|
|
4242
4158
|
};
|
|
4243
4159
|
export declare function createFile(transport: Transport): {
|
|
4244
4160
|
files: {
|
|
4161
|
+
contentLinks: {
|
|
4162
|
+
revoke: (options: import("./core/transport.js").CallOptions<Types.FileRevokeContentLinkData>) => Promise<{
|
|
4163
|
+
revoked: true;
|
|
4164
|
+
}>;
|
|
4165
|
+
};
|
|
4166
|
+
contentUrl: {
|
|
4167
|
+
create: (options: import("./core/transport.js").CallOptions<Types.FileCreateContentUrlData>) => Promise<{
|
|
4168
|
+
url: string;
|
|
4169
|
+
expires_at: string;
|
|
4170
|
+
}>;
|
|
4171
|
+
};
|
|
4245
4172
|
create: (options: import("./core/transport.js").CallOptions<Types.FileCreateFileData>) => Promise<Types.OwnFileOpenAiFile>;
|
|
4246
4173
|
delete: (options: import("./core/transport.js").CallOptions<Types.FileDeleteFileData>) => Promise<Types.OwnFileDeleteFileResponse>;
|
|
4247
4174
|
list: (options?: import("./core/transport.js").CallOptions<Types.FileListFilesData> | undefined) => Promise<Types.OwnFileListFilesResponse>;
|
|
@@ -4252,6 +4179,7 @@ export declare function createFile(transport: Transport): {
|
|
|
4252
4179
|
cancel: (options: import("./core/transport.js").CallOptions<Types.FileCancelUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
4253
4180
|
complete: (options: import("./core/transport.js").CallOptions<Types.FileCompleteUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
4254
4181
|
create: (options: import("./core/transport.js").CallOptions<Types.FileCreateUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
4182
|
+
createSigned: (options: import("./core/transport.js").CallOptions<Types.FileCreateSignedUploadData>) => Promise<Types.OwnFileSignedUploadResponse>;
|
|
4255
4183
|
parts: {
|
|
4256
4184
|
create: (options: import("./core/transport.js").CallOptions<Types.FileAddUploadPartData>) => Promise<Types.OwnFilePraxisUploadPart>;
|
|
4257
4185
|
};
|
|
@@ -4326,6 +4254,9 @@ export declare function createMedia(transport: Transport): {
|
|
|
4326
4254
|
};
|
|
4327
4255
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateLibraryData>) => Promise<Types.MediaLibrary>;
|
|
4328
4256
|
delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteLibraryData>) => Promise<Types.MediaLibrary>;
|
|
4257
|
+
deliveryTokens: {
|
|
4258
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateDeliveryTokenData>) => Promise<Types.MediaDeliveryToken>;
|
|
4259
|
+
};
|
|
4329
4260
|
events: {
|
|
4330
4261
|
list: (options: import("./core/transport.js").CallOptions<Types.MediaListEventsData>) => Promise<Types.MediaMediaEventPage>;
|
|
4331
4262
|
};
|
|
@@ -4357,6 +4288,20 @@ export declare function createMedia(transport: Transport): {
|
|
|
4357
4288
|
};
|
|
4358
4289
|
};
|
|
4359
4290
|
export declare function createMeta(transport: Transport): {
|
|
4291
|
+
docs: {
|
|
4292
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.MetaDocsRetrieveData>) => Promise<{
|
|
4293
|
+
path: string;
|
|
4294
|
+
title: string;
|
|
4295
|
+
url: string;
|
|
4296
|
+
markdown: string;
|
|
4297
|
+
}>;
|
|
4298
|
+
search: (options: import("./core/transport.js").CallOptions<Types.MetaDocsSearchData>) => Promise<{
|
|
4299
|
+
path: string;
|
|
4300
|
+
title: string;
|
|
4301
|
+
url: string;
|
|
4302
|
+
snippet: string;
|
|
4303
|
+
}[]>;
|
|
4304
|
+
};
|
|
4360
4305
|
health: {
|
|
4361
4306
|
retrieve: (options?: import("./core/transport.js").CallOptions<Types.HealthCheckData> | undefined) => Promise<string>;
|
|
4362
4307
|
};
|
|
@@ -4766,6 +4711,39 @@ export declare function createModel(transport: Transport): {
|
|
|
4766
4711
|
[key: string]: unknown;
|
|
4767
4712
|
}>;
|
|
4768
4713
|
};
|
|
4714
|
+
systemone: {
|
|
4715
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateSystemoneData>) => Promise<{
|
|
4716
|
+
model: string;
|
|
4717
|
+
answers: {
|
|
4718
|
+
[key: string]: {
|
|
4719
|
+
type: "noul";
|
|
4720
|
+
noul: number;
|
|
4721
|
+
} | {
|
|
4722
|
+
type: "choice";
|
|
4723
|
+
choice: string;
|
|
4724
|
+
confidence: number;
|
|
4725
|
+
probabilities: {
|
|
4726
|
+
[key: string]: number;
|
|
4727
|
+
};
|
|
4728
|
+
} | {
|
|
4729
|
+
type: "score";
|
|
4730
|
+
score: number;
|
|
4731
|
+
confidence: number;
|
|
4732
|
+
legend: {
|
|
4733
|
+
[key: string]: unknown;
|
|
4734
|
+
};
|
|
4735
|
+
probabilities: {
|
|
4736
|
+
[key: string]: number;
|
|
4737
|
+
};
|
|
4738
|
+
};
|
|
4739
|
+
};
|
|
4740
|
+
usage: {
|
|
4741
|
+
input_tokens: number;
|
|
4742
|
+
output_tokens: number;
|
|
4743
|
+
cost: number;
|
|
4744
|
+
};
|
|
4745
|
+
}>;
|
|
4746
|
+
};
|
|
4769
4747
|
videos: {
|
|
4770
4748
|
create: (options: import("./core/transport.js").CallOptions<Types.CreateVideoData>) => Promise<{
|
|
4771
4749
|
id: string;
|
|
@@ -5211,7 +5189,43 @@ export declare function createSandbox(transport: Transport): {
|
|
|
5211
5189
|
list: (options?: import("./core/transport.js").CallOptions<Types.GetSandboxV1SnapshotsData> | undefined) => Promise<Types.SandboxSnapshotInfo[]>;
|
|
5212
5190
|
};
|
|
5213
5191
|
templates: {
|
|
5214
|
-
|
|
5192
|
+
aliases: {
|
|
5193
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ResolveTemplateAliasData>) => Promise<Types.SandboxTemplateAliasResponse>;
|
|
5194
|
+
};
|
|
5195
|
+
builds: {
|
|
5196
|
+
status: {
|
|
5197
|
+
list: (options: import("./core/transport.js").CallOptions<Types.GetTemplateBuildStatusData>) => Promise<Types.SandboxTemplateBuildInfo>;
|
|
5198
|
+
};
|
|
5199
|
+
update: (options: import("./core/transport.js").CallOptions<Types.StartTemplateBuildData>) => Promise<unknown>;
|
|
5200
|
+
};
|
|
5201
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RequestTemplateBuildData>) => Promise<Types.SandboxTemplateRequestResponseV3>;
|
|
5202
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteUserTemplateData>) => Promise<void>;
|
|
5203
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListSandboxTemplatesData> | undefined) => Promise<{
|
|
5204
|
+
templateID: string;
|
|
5205
|
+
buildID: string;
|
|
5206
|
+
cpuCount: Types.SandboxCpuCount;
|
|
5207
|
+
memoryMB: Types.SandboxMemoryMb;
|
|
5208
|
+
diskSizeMB: Types.SandboxDiskSizeMb;
|
|
5209
|
+
public: boolean;
|
|
5210
|
+
aliases: Array<string>;
|
|
5211
|
+
names: Array<string>;
|
|
5212
|
+
createdAt: string;
|
|
5213
|
+
updatedAt: string;
|
|
5214
|
+
createdBy: Types.SandboxTeamUser;
|
|
5215
|
+
lastSpawnedAt: string;
|
|
5216
|
+
spawnCount: number;
|
|
5217
|
+
buildCount: number;
|
|
5218
|
+
envdVersion: Types.SandboxEnvdVersion;
|
|
5219
|
+
buildStatus: Types.SandboxTemplateBuildStatus;
|
|
5220
|
+
official: boolean;
|
|
5221
|
+
sourceKind?: "dockerfile" | "image" | "snapshot";
|
|
5222
|
+
}[]>;
|
|
5223
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetTemplateWithBuildsData>) => Promise<Types.SandboxTemplateWithBuilds>;
|
|
5224
|
+
tags: {
|
|
5225
|
+
create: (options: import("./core/transport.js").CallOptions<Types.AssignTemplateTagsData>) => Promise<Types.SandboxAssignedTemplateTags>;
|
|
5226
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteTemplateTagsData>) => Promise<void>;
|
|
5227
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListTemplateTagsData>) => Promise<Types.SandboxTemplateTag[]>;
|
|
5228
|
+
};
|
|
5215
5229
|
};
|
|
5216
5230
|
volumes: {
|
|
5217
5231
|
create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1VolumesData>) => Promise<Types.SandboxVolumeAndToken>;
|
|
@@ -5473,6 +5487,9 @@ export declare const resourceFactories: {
|
|
|
5473
5487
|
application: typeof createApplication;
|
|
5474
5488
|
automation: typeof createAutomation;
|
|
5475
5489
|
browser: typeof createBrowser;
|
|
5490
|
+
canvas: typeof createCanvas;
|
|
5491
|
+
crm: typeof createCrm;
|
|
5492
|
+
cut: typeof createCut;
|
|
5476
5493
|
database: typeof createDatabase;
|
|
5477
5494
|
file: typeof createFile;
|
|
5478
5495
|
knowledge: typeof createKnowledge;
|