@deepraxis/sdk 0.1.1-dev.830431a → 0.1.1-dev.8711262
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 +160 -20
- package/dist/core/credentials.d.ts +16 -6
- package/dist/core/credentials.js +24 -5
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +304 -48
- package/dist/generated/sdk.gen.js +831 -106
- package/dist/generated/types.gen.d.ts +6268 -1713
- package/dist/operations.generated.js +3223 -1927
- package/dist/resources.generated.d.ts +472 -115
- package/dist/resources.generated.js +101 -12
- package/package.json +1 -1
|
@@ -17,6 +17,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
17
17
|
speed?: "standard" | "fast";
|
|
18
18
|
settings?: {
|
|
19
19
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
20
|
+
max_output_tokens?: number;
|
|
20
21
|
};
|
|
21
22
|
};
|
|
22
23
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -49,7 +50,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
49
50
|
readonly verified?: boolean;
|
|
50
51
|
enabled?: boolean;
|
|
51
52
|
}>;
|
|
52
|
-
kind: "general" | "
|
|
53
|
+
kind: "general" | "service" | "assume";
|
|
53
54
|
computer_id?: string;
|
|
54
55
|
subagent_model?: string | null;
|
|
55
56
|
subagents?: Array<{
|
|
@@ -142,6 +143,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
142
143
|
allowManagedHooksOnly?: boolean;
|
|
143
144
|
allowManagedMcpServersOnly?: boolean;
|
|
144
145
|
allowManagedPermissionRulesOnly?: boolean;
|
|
146
|
+
idleCompaction?: boolean;
|
|
145
147
|
autoMemoryEnabled?: boolean;
|
|
146
148
|
disabled?: {
|
|
147
149
|
subagents?: Array<string>;
|
|
@@ -150,7 +152,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
150
152
|
mcpServers?: Array<string>;
|
|
151
153
|
hooks?: Array<string>;
|
|
152
154
|
};
|
|
153
|
-
idleCompaction?: boolean;
|
|
154
155
|
outputStyle?: string;
|
|
155
156
|
} | null;
|
|
156
157
|
models?: {
|
|
@@ -199,6 +200,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
199
200
|
speed?: "standard" | "fast";
|
|
200
201
|
settings?: {
|
|
201
202
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
203
|
+
max_output_tokens?: number;
|
|
202
204
|
};
|
|
203
205
|
};
|
|
204
206
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -231,7 +233,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
231
233
|
readonly verified?: boolean;
|
|
232
234
|
enabled?: boolean;
|
|
233
235
|
}>;
|
|
234
|
-
kind: "general" | "
|
|
236
|
+
kind: "general" | "service" | "assume";
|
|
237
|
+
computers?: {
|
|
238
|
+
default: string;
|
|
239
|
+
allowed: Array<{
|
|
240
|
+
template: string;
|
|
241
|
+
name: string;
|
|
242
|
+
}>;
|
|
243
|
+
};
|
|
235
244
|
computer_id?: string;
|
|
236
245
|
subagent_model?: string | null;
|
|
237
246
|
subagents?: Array<{
|
|
@@ -324,6 +333,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
324
333
|
allowManagedHooksOnly?: boolean;
|
|
325
334
|
allowManagedMcpServersOnly?: boolean;
|
|
326
335
|
allowManagedPermissionRulesOnly?: boolean;
|
|
336
|
+
idleCompaction?: boolean;
|
|
327
337
|
autoMemoryEnabled?: boolean;
|
|
328
338
|
disabled?: {
|
|
329
339
|
subagents?: Array<string>;
|
|
@@ -332,7 +342,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
332
342
|
mcpServers?: Array<string>;
|
|
333
343
|
hooks?: Array<string>;
|
|
334
344
|
};
|
|
335
|
-
idleCompaction?: boolean;
|
|
336
345
|
outputStyle?: string;
|
|
337
346
|
} | null;
|
|
338
347
|
models?: {
|
|
@@ -352,42 +361,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
352
361
|
}> | null;
|
|
353
362
|
}>;
|
|
354
363
|
customers: {
|
|
355
|
-
auth: {
|
|
356
|
-
accessTokens: {
|
|
357
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerAccessTokenData>) => Promise<{
|
|
358
|
-
type: "customer_access_token";
|
|
359
|
-
access_token: string;
|
|
360
|
-
expires_at: string;
|
|
361
|
-
session_expires_at: string;
|
|
362
|
-
customer: {
|
|
363
|
-
id: string;
|
|
364
|
-
type: "identified" | "anonymous";
|
|
365
|
-
};
|
|
366
|
-
}>;
|
|
367
|
-
deleteCurrent: (options: import("./core/transport.js").CallOptions<Types.DeleteCurrentCustomerAccessTokenData>) => Promise<void>;
|
|
368
|
-
renew: {
|
|
369
|
-
create: (options: import("./core/transport.js").CallOptions<Types.RenewCustomerAccessTokenData>) => Promise<{
|
|
370
|
-
type: "customer_access_token";
|
|
371
|
-
access_token: string;
|
|
372
|
-
expires_at: string;
|
|
373
|
-
session_expires_at: string;
|
|
374
|
-
customer: {
|
|
375
|
-
id: string;
|
|
376
|
-
type: "identified" | "anonymous";
|
|
377
|
-
};
|
|
378
|
-
}>;
|
|
379
|
-
};
|
|
380
|
-
};
|
|
381
|
-
grantCodes: {
|
|
382
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerGrantCodeData>) => Promise<{
|
|
383
|
-
type: "customer_grant_code";
|
|
384
|
-
code: string;
|
|
385
|
-
customer_id: string;
|
|
386
|
-
expires_at: string;
|
|
387
|
-
hosted_url?: string;
|
|
388
|
-
}>;
|
|
389
|
-
};
|
|
390
|
-
};
|
|
391
364
|
block: {
|
|
392
365
|
create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
|
|
393
366
|
id: string;
|
|
@@ -519,7 +492,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
519
492
|
run_id: string | null;
|
|
520
493
|
message_id?: string;
|
|
521
494
|
} | {
|
|
522
|
-
full_access_available?: boolean;
|
|
523
495
|
id: string;
|
|
524
496
|
input: Types.AgentManaged197;
|
|
525
497
|
mcp_server_name: string;
|
|
@@ -529,6 +501,18 @@ export declare function createAgent(transport: Transport): {
|
|
|
529
501
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
530
502
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
531
503
|
session_thread_id?: null | string;
|
|
504
|
+
permission_suggestions?: Array<{
|
|
505
|
+
type: "add_rules";
|
|
506
|
+
behavior: "allow";
|
|
507
|
+
destination: "agent" | "session";
|
|
508
|
+
rules: Array<{
|
|
509
|
+
tool_name: string;
|
|
510
|
+
rule_content: string;
|
|
511
|
+
}>;
|
|
512
|
+
}>;
|
|
513
|
+
full_access_available?: boolean;
|
|
514
|
+
user_once?: true;
|
|
515
|
+
guarded_rule?: string;
|
|
532
516
|
run_id: string | null;
|
|
533
517
|
_meta?: {
|
|
534
518
|
ui?: {
|
|
@@ -542,17 +526,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
542
526
|
};
|
|
543
527
|
source?: "app" | "codemode";
|
|
544
528
|
parent_tool_use_id?: string;
|
|
545
|
-
user_once?: true;
|
|
546
|
-
guarded_rule?: string;
|
|
547
|
-
permission_suggestions?: Array<{
|
|
548
|
-
type: "add_rules";
|
|
549
|
-
behavior: "allow";
|
|
550
|
-
destination: "agent" | "session";
|
|
551
|
-
rules: Array<{
|
|
552
|
-
tool_name: string;
|
|
553
|
-
rule_content: string;
|
|
554
|
-
}>;
|
|
555
|
-
}>;
|
|
556
529
|
title?: string;
|
|
557
530
|
input_titles?: {
|
|
558
531
|
[key: string]: string;
|
|
@@ -571,7 +544,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
571
544
|
};
|
|
572
545
|
source?: "app" | "codemode";
|
|
573
546
|
} | {
|
|
574
|
-
full_access_available?: boolean;
|
|
575
547
|
id: string;
|
|
576
548
|
input: Types.AgentManaged206;
|
|
577
549
|
name: string;
|
|
@@ -580,9 +552,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
580
552
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
581
553
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
582
554
|
session_thread_id?: null | string;
|
|
583
|
-
run_id: string | null;
|
|
584
|
-
user_once?: true;
|
|
585
|
-
guarded_rule?: string;
|
|
586
555
|
permission_suggestions?: Array<{
|
|
587
556
|
type: "add_rules";
|
|
588
557
|
behavior: "allow";
|
|
@@ -592,6 +561,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
592
561
|
rule_content: string;
|
|
593
562
|
}>;
|
|
594
563
|
}>;
|
|
564
|
+
full_access_available?: boolean;
|
|
565
|
+
user_once?: true;
|
|
566
|
+
guarded_rule?: string;
|
|
567
|
+
run_id: string | null;
|
|
595
568
|
} | {
|
|
596
569
|
id: string;
|
|
597
570
|
processed_at: string;
|
|
@@ -612,9 +585,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
612
585
|
type: "session.status_idle";
|
|
613
586
|
run_id: string | null;
|
|
614
587
|
} | 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 | {
|
|
615
|
-
permission_mode_version?: number;
|
|
616
|
-
previous_permission_mode?: string | null;
|
|
617
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
618
588
|
id: string;
|
|
619
589
|
processed_at: string;
|
|
620
590
|
type: "session.updated";
|
|
@@ -622,6 +592,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
622
592
|
budget?: null | Types.AgentManaged76;
|
|
623
593
|
metadata?: Types.AgentManaged246;
|
|
624
594
|
title?: null | string;
|
|
595
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
596
|
+
previous_permission_mode?: string | null;
|
|
597
|
+
permission_mode_version?: number;
|
|
625
598
|
model?: {
|
|
626
599
|
id: string;
|
|
627
600
|
};
|
|
@@ -763,6 +736,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
763
736
|
speed?: "standard" | "fast";
|
|
764
737
|
settings?: {
|
|
765
738
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
739
|
+
max_output_tokens?: number;
|
|
766
740
|
};
|
|
767
741
|
};
|
|
768
742
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -795,7 +769,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
795
769
|
readonly verified?: boolean;
|
|
796
770
|
enabled?: boolean;
|
|
797
771
|
}>;
|
|
798
|
-
kind: "general" | "
|
|
772
|
+
kind: "general" | "service" | "assume";
|
|
773
|
+
computers?: {
|
|
774
|
+
default: string;
|
|
775
|
+
allowed: Array<{
|
|
776
|
+
template: string;
|
|
777
|
+
name: string;
|
|
778
|
+
}>;
|
|
779
|
+
};
|
|
799
780
|
computer_id?: string;
|
|
800
781
|
subagent_model?: string | null;
|
|
801
782
|
subagents?: Array<{
|
|
@@ -888,6 +869,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
888
869
|
allowManagedHooksOnly?: boolean;
|
|
889
870
|
allowManagedMcpServersOnly?: boolean;
|
|
890
871
|
allowManagedPermissionRulesOnly?: boolean;
|
|
872
|
+
idleCompaction?: boolean;
|
|
891
873
|
autoMemoryEnabled?: boolean;
|
|
892
874
|
disabled?: {
|
|
893
875
|
subagents?: Array<string>;
|
|
@@ -896,7 +878,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
896
878
|
mcpServers?: Array<string>;
|
|
897
879
|
hooks?: Array<string>;
|
|
898
880
|
};
|
|
899
|
-
idleCompaction?: boolean;
|
|
900
881
|
outputStyle?: string;
|
|
901
882
|
} | null;
|
|
902
883
|
models?: {
|
|
@@ -931,6 +912,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
931
912
|
speed?: "standard" | "fast";
|
|
932
913
|
settings?: {
|
|
933
914
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
915
|
+
max_output_tokens?: number;
|
|
934
916
|
};
|
|
935
917
|
};
|
|
936
918
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -964,7 +946,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
964
946
|
readonly verified?: boolean;
|
|
965
947
|
enabled?: boolean;
|
|
966
948
|
}>;
|
|
967
|
-
kind: "general" | "
|
|
949
|
+
kind: "general" | "service" | "assume";
|
|
950
|
+
computers?: {
|
|
951
|
+
default: string;
|
|
952
|
+
allowed: Array<{
|
|
953
|
+
template: string;
|
|
954
|
+
name: string;
|
|
955
|
+
}>;
|
|
956
|
+
};
|
|
968
957
|
computer_id?: string;
|
|
969
958
|
subagent_model?: string | null;
|
|
970
959
|
subagents?: Array<{
|
|
@@ -1057,6 +1046,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1057
1046
|
allowManagedHooksOnly?: boolean;
|
|
1058
1047
|
allowManagedMcpServersOnly?: boolean;
|
|
1059
1048
|
allowManagedPermissionRulesOnly?: boolean;
|
|
1049
|
+
idleCompaction?: boolean;
|
|
1060
1050
|
autoMemoryEnabled?: boolean;
|
|
1061
1051
|
disabled?: {
|
|
1062
1052
|
subagents?: Array<string>;
|
|
@@ -1065,7 +1055,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1065
1055
|
mcpServers?: Array<string>;
|
|
1066
1056
|
hooks?: Array<string>;
|
|
1067
1057
|
};
|
|
1068
|
-
idleCompaction?: boolean;
|
|
1069
1058
|
outputStyle?: string;
|
|
1070
1059
|
} | null;
|
|
1071
1060
|
models?: {
|
|
@@ -1141,6 +1130,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
1141
1130
|
history?: {
|
|
1142
1131
|
enabled?: boolean;
|
|
1143
1132
|
};
|
|
1133
|
+
uploads?: {
|
|
1134
|
+
enabled: boolean;
|
|
1135
|
+
max_file_bytes: number;
|
|
1136
|
+
max_files_per_session: number;
|
|
1137
|
+
};
|
|
1144
1138
|
}>;
|
|
1145
1139
|
unarchive: {
|
|
1146
1140
|
create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
|
|
@@ -1194,6 +1188,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1194
1188
|
speed?: "standard" | "fast";
|
|
1195
1189
|
settings?: {
|
|
1196
1190
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1191
|
+
max_output_tokens?: number;
|
|
1197
1192
|
};
|
|
1198
1193
|
};
|
|
1199
1194
|
multiagent?: null | {
|
|
@@ -1392,7 +1387,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
1392
1387
|
readonly verified?: boolean;
|
|
1393
1388
|
enabled?: boolean;
|
|
1394
1389
|
}>;
|
|
1395
|
-
kind: "general" | "
|
|
1390
|
+
kind: "general" | "service" | "assume";
|
|
1391
|
+
computers?: {
|
|
1392
|
+
default: string;
|
|
1393
|
+
allowed: Array<{
|
|
1394
|
+
template: string;
|
|
1395
|
+
name: string;
|
|
1396
|
+
}>;
|
|
1397
|
+
};
|
|
1396
1398
|
computer_id?: string;
|
|
1397
1399
|
subagent_model?: string | null;
|
|
1398
1400
|
subagents?: Array<{
|
|
@@ -1485,6 +1487,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1485
1487
|
allowManagedHooksOnly?: boolean;
|
|
1486
1488
|
allowManagedMcpServersOnly?: boolean;
|
|
1487
1489
|
allowManagedPermissionRulesOnly?: boolean;
|
|
1490
|
+
idleCompaction?: boolean;
|
|
1488
1491
|
autoMemoryEnabled?: boolean;
|
|
1489
1492
|
disabled?: {
|
|
1490
1493
|
subagents?: Array<string>;
|
|
@@ -1493,7 +1496,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1493
1496
|
mcpServers?: Array<string>;
|
|
1494
1497
|
hooks?: Array<string>;
|
|
1495
1498
|
};
|
|
1496
|
-
idleCompaction?: boolean;
|
|
1497
1499
|
outputStyle?: string;
|
|
1498
1500
|
} | null;
|
|
1499
1501
|
models?: {
|
|
@@ -1527,6 +1529,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1527
1529
|
speed?: "standard" | "fast";
|
|
1528
1530
|
settings?: {
|
|
1529
1531
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1532
|
+
max_output_tokens?: number;
|
|
1530
1533
|
};
|
|
1531
1534
|
};
|
|
1532
1535
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -1560,7 +1563,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
1560
1563
|
readonly verified?: boolean;
|
|
1561
1564
|
enabled?: boolean;
|
|
1562
1565
|
}>;
|
|
1563
|
-
kind: "general" | "
|
|
1566
|
+
kind: "general" | "service" | "assume";
|
|
1567
|
+
computers?: {
|
|
1568
|
+
default: string;
|
|
1569
|
+
allowed: Array<{
|
|
1570
|
+
template: string;
|
|
1571
|
+
name: string;
|
|
1572
|
+
}>;
|
|
1573
|
+
};
|
|
1564
1574
|
computer_id?: string;
|
|
1565
1575
|
subagent_model?: string | null;
|
|
1566
1576
|
subagents?: Array<{
|
|
@@ -1653,6 +1663,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1653
1663
|
allowManagedHooksOnly?: boolean;
|
|
1654
1664
|
allowManagedMcpServersOnly?: boolean;
|
|
1655
1665
|
allowManagedPermissionRulesOnly?: boolean;
|
|
1666
|
+
idleCompaction?: boolean;
|
|
1656
1667
|
autoMemoryEnabled?: boolean;
|
|
1657
1668
|
disabled?: {
|
|
1658
1669
|
subagents?: Array<string>;
|
|
@@ -1661,7 +1672,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1661
1672
|
mcpServers?: Array<string>;
|
|
1662
1673
|
hooks?: Array<string>;
|
|
1663
1674
|
};
|
|
1664
|
-
idleCompaction?: boolean;
|
|
1665
1675
|
outputStyle?: string;
|
|
1666
1676
|
} | null;
|
|
1667
1677
|
models?: {
|
|
@@ -1686,22 +1696,225 @@ export declare function createAgent(transport: Transport): {
|
|
|
1686
1696
|
archived_at: null | string;
|
|
1687
1697
|
created_at: string;
|
|
1688
1698
|
description: null | string;
|
|
1689
|
-
mcp_servers: Array<
|
|
1690
|
-
|
|
1699
|
+
mcp_servers: Array<{
|
|
1700
|
+
type: "url";
|
|
1701
|
+
name: string;
|
|
1702
|
+
url: string;
|
|
1703
|
+
headers?: {
|
|
1704
|
+
[key: string]: string;
|
|
1705
|
+
};
|
|
1706
|
+
timeout_ms?: number;
|
|
1707
|
+
} | {
|
|
1708
|
+
type: "sse";
|
|
1709
|
+
name: string;
|
|
1710
|
+
url: string;
|
|
1711
|
+
headers?: {
|
|
1712
|
+
[key: string]: string;
|
|
1713
|
+
};
|
|
1714
|
+
timeout_ms?: number;
|
|
1715
|
+
} | {
|
|
1716
|
+
type: "stdio";
|
|
1717
|
+
name: string;
|
|
1718
|
+
command: string;
|
|
1719
|
+
args?: Array<string>;
|
|
1720
|
+
env?: {
|
|
1721
|
+
[key: string]: string;
|
|
1722
|
+
};
|
|
1723
|
+
timeout_ms?: number;
|
|
1724
|
+
}>;
|
|
1725
|
+
metadata: {
|
|
1726
|
+
[key: string]: string;
|
|
1727
|
+
};
|
|
1691
1728
|
model?: {
|
|
1692
1729
|
id: string;
|
|
1693
|
-
effort?:
|
|
1730
|
+
effort?: {
|
|
1731
|
+
type: "low";
|
|
1732
|
+
} | {
|
|
1733
|
+
type: "medium";
|
|
1734
|
+
} | {
|
|
1735
|
+
type: "high";
|
|
1736
|
+
} | {
|
|
1737
|
+
type: "xhigh";
|
|
1738
|
+
} | {
|
|
1739
|
+
type: "max";
|
|
1740
|
+
};
|
|
1694
1741
|
inference_geo?: string;
|
|
1695
1742
|
speed?: "standard" | "fast";
|
|
1696
1743
|
settings?: {
|
|
1697
1744
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1745
|
+
max_output_tokens?: number;
|
|
1698
1746
|
};
|
|
1699
1747
|
};
|
|
1700
|
-
multiagent?: null |
|
|
1748
|
+
multiagent?: null | {
|
|
1749
|
+
agents: Array<{
|
|
1750
|
+
id: string;
|
|
1751
|
+
type: "agent";
|
|
1752
|
+
version: number;
|
|
1753
|
+
} | {
|
|
1754
|
+
model: string;
|
|
1755
|
+
type: "advisor";
|
|
1756
|
+
}>;
|
|
1757
|
+
type: "coordinator";
|
|
1758
|
+
};
|
|
1701
1759
|
name: string;
|
|
1702
|
-
skills: Array<
|
|
1760
|
+
skills: Array<{
|
|
1761
|
+
skill_id: string;
|
|
1762
|
+
type: "anthropic";
|
|
1763
|
+
version: string;
|
|
1764
|
+
} | {
|
|
1765
|
+
skill_id: string;
|
|
1766
|
+
type: "custom";
|
|
1767
|
+
version: string;
|
|
1768
|
+
}>;
|
|
1703
1769
|
system: null | string;
|
|
1704
|
-
tools: Array<
|
|
1770
|
+
tools: Array<{
|
|
1771
|
+
configs: Array<{
|
|
1772
|
+
enabled: boolean;
|
|
1773
|
+
name: "bash";
|
|
1774
|
+
permission_policy: {
|
|
1775
|
+
type: "always_allow";
|
|
1776
|
+
} | {
|
|
1777
|
+
type: "always_ask";
|
|
1778
|
+
} | {
|
|
1779
|
+
type: "auto";
|
|
1780
|
+
};
|
|
1781
|
+
type: "bash";
|
|
1782
|
+
} | {
|
|
1783
|
+
enabled: boolean;
|
|
1784
|
+
name: "edit";
|
|
1785
|
+
permission_policy: {
|
|
1786
|
+
type: "always_allow";
|
|
1787
|
+
} | {
|
|
1788
|
+
type: "always_ask";
|
|
1789
|
+
} | {
|
|
1790
|
+
type: "auto";
|
|
1791
|
+
};
|
|
1792
|
+
type: "edit";
|
|
1793
|
+
} | {
|
|
1794
|
+
enabled: boolean;
|
|
1795
|
+
name: "read";
|
|
1796
|
+
permission_policy: {
|
|
1797
|
+
type: "always_allow";
|
|
1798
|
+
} | {
|
|
1799
|
+
type: "always_ask";
|
|
1800
|
+
} | {
|
|
1801
|
+
type: "auto";
|
|
1802
|
+
};
|
|
1803
|
+
type: "read";
|
|
1804
|
+
} | {
|
|
1805
|
+
enabled: boolean;
|
|
1806
|
+
name: "write";
|
|
1807
|
+
permission_policy: {
|
|
1808
|
+
type: "always_allow";
|
|
1809
|
+
} | {
|
|
1810
|
+
type: "always_ask";
|
|
1811
|
+
} | {
|
|
1812
|
+
type: "auto";
|
|
1813
|
+
};
|
|
1814
|
+
type: "write";
|
|
1815
|
+
} | {
|
|
1816
|
+
enabled: boolean;
|
|
1817
|
+
name: "glob";
|
|
1818
|
+
permission_policy: {
|
|
1819
|
+
type: "always_allow";
|
|
1820
|
+
} | {
|
|
1821
|
+
type: "always_ask";
|
|
1822
|
+
} | {
|
|
1823
|
+
type: "auto";
|
|
1824
|
+
};
|
|
1825
|
+
type: "glob";
|
|
1826
|
+
} | {
|
|
1827
|
+
enabled: boolean;
|
|
1828
|
+
name: "grep";
|
|
1829
|
+
permission_policy: {
|
|
1830
|
+
type: "always_allow";
|
|
1831
|
+
} | {
|
|
1832
|
+
type: "always_ask";
|
|
1833
|
+
} | {
|
|
1834
|
+
type: "auto";
|
|
1835
|
+
};
|
|
1836
|
+
type: "grep";
|
|
1837
|
+
} | {
|
|
1838
|
+
enabled: boolean;
|
|
1839
|
+
name: "web_fetch";
|
|
1840
|
+
permission_policy: {
|
|
1841
|
+
type: "always_allow";
|
|
1842
|
+
} | {
|
|
1843
|
+
type: "always_ask";
|
|
1844
|
+
} | {
|
|
1845
|
+
type: "auto";
|
|
1846
|
+
};
|
|
1847
|
+
type: "web_fetch";
|
|
1848
|
+
allowed_domains?: Array<string>;
|
|
1849
|
+
blocked_domains?: Array<string>;
|
|
1850
|
+
max_content_tokens?: null | number;
|
|
1851
|
+
} | {
|
|
1852
|
+
enabled: boolean;
|
|
1853
|
+
name: "web_search";
|
|
1854
|
+
permission_policy: {
|
|
1855
|
+
type: "always_allow";
|
|
1856
|
+
} | {
|
|
1857
|
+
type: "always_ask";
|
|
1858
|
+
} | {
|
|
1859
|
+
type: "auto";
|
|
1860
|
+
};
|
|
1861
|
+
type: "web_search";
|
|
1862
|
+
allowed_domains?: Array<string>;
|
|
1863
|
+
blocked_domains?: Array<string>;
|
|
1864
|
+
user_location?: null | {
|
|
1865
|
+
type: "approximate";
|
|
1866
|
+
city?: null | string;
|
|
1867
|
+
country?: null | string;
|
|
1868
|
+
region?: null | string;
|
|
1869
|
+
timezone?: null | string;
|
|
1870
|
+
};
|
|
1871
|
+
} | {
|
|
1872
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
1873
|
+
enabled: boolean;
|
|
1874
|
+
permission_policy: {
|
|
1875
|
+
type: "always_allow" | "always_ask";
|
|
1876
|
+
};
|
|
1877
|
+
}>;
|
|
1878
|
+
default_config: {
|
|
1879
|
+
enabled: boolean;
|
|
1880
|
+
permission_policy: {
|
|
1881
|
+
type: "always_allow";
|
|
1882
|
+
} | {
|
|
1883
|
+
type: "always_ask";
|
|
1884
|
+
} | {
|
|
1885
|
+
type: "auto";
|
|
1886
|
+
};
|
|
1887
|
+
};
|
|
1888
|
+
type: "agent_toolset_20260401";
|
|
1889
|
+
} | {
|
|
1890
|
+
type: "mcp_toolset";
|
|
1891
|
+
mcp_server_name: string;
|
|
1892
|
+
default_config?: {
|
|
1893
|
+
enabled?: boolean | null;
|
|
1894
|
+
permission_policy?: null | {
|
|
1895
|
+
type: "always_allow" | "always_ask";
|
|
1896
|
+
};
|
|
1897
|
+
} | null;
|
|
1898
|
+
configs?: Array<{
|
|
1899
|
+
name: string;
|
|
1900
|
+
enabled?: boolean | null;
|
|
1901
|
+
permission_policy?: null | {
|
|
1902
|
+
type: "always_allow" | "always_ask";
|
|
1903
|
+
};
|
|
1904
|
+
}> | null;
|
|
1905
|
+
} | {
|
|
1906
|
+
description: string;
|
|
1907
|
+
input_schema: {
|
|
1908
|
+
type: "object";
|
|
1909
|
+
properties?: null | {
|
|
1910
|
+
[key: string]: unknown;
|
|
1911
|
+
};
|
|
1912
|
+
required?: null | Array<string>;
|
|
1913
|
+
[key: string]: unknown;
|
|
1914
|
+
};
|
|
1915
|
+
name: string;
|
|
1916
|
+
type: "custom";
|
|
1917
|
+
}>;
|
|
1705
1918
|
type: "agent";
|
|
1706
1919
|
updated_at: string;
|
|
1707
1920
|
version: number;
|
|
@@ -1728,7 +1941,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
1728
1941
|
readonly verified?: boolean;
|
|
1729
1942
|
enabled?: boolean;
|
|
1730
1943
|
}>;
|
|
1731
|
-
kind: "general" | "
|
|
1944
|
+
kind: "general" | "service" | "assume";
|
|
1945
|
+
computers?: {
|
|
1946
|
+
default: string;
|
|
1947
|
+
allowed: Array<{
|
|
1948
|
+
template: string;
|
|
1949
|
+
name: string;
|
|
1950
|
+
}>;
|
|
1951
|
+
};
|
|
1732
1952
|
computer_id?: string;
|
|
1733
1953
|
subagent_model?: string | null;
|
|
1734
1954
|
subagents?: Array<{
|
|
@@ -1821,6 +2041,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1821
2041
|
allowManagedHooksOnly?: boolean;
|
|
1822
2042
|
allowManagedMcpServersOnly?: boolean;
|
|
1823
2043
|
allowManagedPermissionRulesOnly?: boolean;
|
|
2044
|
+
idleCompaction?: boolean;
|
|
1824
2045
|
autoMemoryEnabled?: boolean;
|
|
1825
2046
|
disabled?: {
|
|
1826
2047
|
subagents?: Array<string>;
|
|
@@ -1829,7 +2050,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1829
2050
|
mcpServers?: Array<string>;
|
|
1830
2051
|
hooks?: Array<string>;
|
|
1831
2052
|
};
|
|
1832
|
-
idleCompaction?: boolean;
|
|
1833
2053
|
outputStyle?: string;
|
|
1834
2054
|
} | null;
|
|
1835
2055
|
models?: {
|
|
@@ -1863,6 +2083,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1863
2083
|
speed?: "standard" | "fast";
|
|
1864
2084
|
settings?: {
|
|
1865
2085
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
2086
|
+
max_output_tokens?: number;
|
|
1866
2087
|
};
|
|
1867
2088
|
};
|
|
1868
2089
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -1896,7 +2117,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
1896
2117
|
readonly verified?: boolean;
|
|
1897
2118
|
enabled?: boolean;
|
|
1898
2119
|
}>;
|
|
1899
|
-
kind: "general" | "
|
|
2120
|
+
kind: "general" | "service" | "assume";
|
|
2121
|
+
computers?: {
|
|
2122
|
+
default: string;
|
|
2123
|
+
allowed: Array<{
|
|
2124
|
+
template: string;
|
|
2125
|
+
name: string;
|
|
2126
|
+
}>;
|
|
2127
|
+
};
|
|
1900
2128
|
computer_id?: string;
|
|
1901
2129
|
subagent_model?: string | null;
|
|
1902
2130
|
subagents?: Array<{
|
|
@@ -1989,6 +2217,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1989
2217
|
allowManagedHooksOnly?: boolean;
|
|
1990
2218
|
allowManagedMcpServersOnly?: boolean;
|
|
1991
2219
|
allowManagedPermissionRulesOnly?: boolean;
|
|
2220
|
+
idleCompaction?: boolean;
|
|
1992
2221
|
autoMemoryEnabled?: boolean;
|
|
1993
2222
|
disabled?: {
|
|
1994
2223
|
subagents?: Array<string>;
|
|
@@ -1997,7 +2226,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1997
2226
|
mcpServers?: Array<string>;
|
|
1998
2227
|
hooks?: Array<string>;
|
|
1999
2228
|
};
|
|
2000
|
-
idleCompaction?: boolean;
|
|
2001
2229
|
outputStyle?: string;
|
|
2002
2230
|
} | null;
|
|
2003
2231
|
models?: {
|
|
@@ -2451,6 +2679,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2451
2679
|
speed?: "standard" | "fast";
|
|
2452
2680
|
settings?: {
|
|
2453
2681
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
2682
|
+
max_output_tokens?: number;
|
|
2454
2683
|
};
|
|
2455
2684
|
};
|
|
2456
2685
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -2517,6 +2746,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
2517
2746
|
filename: string;
|
|
2518
2747
|
mime_type: string;
|
|
2519
2748
|
bytes: number;
|
|
2749
|
+
} | {
|
|
2750
|
+
kind: "object";
|
|
2751
|
+
object_type: "canvas" | "media_asset";
|
|
2752
|
+
object_id: string;
|
|
2753
|
+
href: string;
|
|
2754
|
+
title: string | null;
|
|
2520
2755
|
}>;
|
|
2521
2756
|
source_hrefs: Array<string>;
|
|
2522
2757
|
create_time: string;
|
|
@@ -2606,6 +2841,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2606
2841
|
speed?: "standard" | "fast";
|
|
2607
2842
|
settings?: {
|
|
2608
2843
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
2844
|
+
max_output_tokens?: number;
|
|
2609
2845
|
};
|
|
2610
2846
|
};
|
|
2611
2847
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -2692,7 +2928,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2692
2928
|
run_id: string | null;
|
|
2693
2929
|
message_id?: string;
|
|
2694
2930
|
} | {
|
|
2695
|
-
full_access_available?: boolean;
|
|
2696
2931
|
id: string;
|
|
2697
2932
|
input: Types.AgentManaged197;
|
|
2698
2933
|
mcp_server_name: string;
|
|
@@ -2702,6 +2937,18 @@ export declare function createAgent(transport: Transport): {
|
|
|
2702
2937
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
2703
2938
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
2704
2939
|
session_thread_id?: null | string;
|
|
2940
|
+
permission_suggestions?: Array<{
|
|
2941
|
+
type: "add_rules";
|
|
2942
|
+
behavior: "allow";
|
|
2943
|
+
destination: "agent" | "session";
|
|
2944
|
+
rules: Array<{
|
|
2945
|
+
tool_name: string;
|
|
2946
|
+
rule_content: string;
|
|
2947
|
+
}>;
|
|
2948
|
+
}>;
|
|
2949
|
+
full_access_available?: boolean;
|
|
2950
|
+
user_once?: true;
|
|
2951
|
+
guarded_rule?: string;
|
|
2705
2952
|
run_id: string | null;
|
|
2706
2953
|
_meta?: {
|
|
2707
2954
|
ui?: {
|
|
@@ -2715,17 +2962,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2715
2962
|
};
|
|
2716
2963
|
source?: "app" | "codemode";
|
|
2717
2964
|
parent_tool_use_id?: string;
|
|
2718
|
-
user_once?: true;
|
|
2719
|
-
guarded_rule?: string;
|
|
2720
|
-
permission_suggestions?: Array<{
|
|
2721
|
-
type: "add_rules";
|
|
2722
|
-
behavior: "allow";
|
|
2723
|
-
destination: "agent" | "session";
|
|
2724
|
-
rules: Array<{
|
|
2725
|
-
tool_name: string;
|
|
2726
|
-
rule_content: string;
|
|
2727
|
-
}>;
|
|
2728
|
-
}>;
|
|
2729
2965
|
title?: string;
|
|
2730
2966
|
input_titles?: {
|
|
2731
2967
|
[key: string]: string;
|
|
@@ -2744,7 +2980,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2744
2980
|
};
|
|
2745
2981
|
source?: "app" | "codemode";
|
|
2746
2982
|
} | {
|
|
2747
|
-
full_access_available?: boolean;
|
|
2748
2983
|
id: string;
|
|
2749
2984
|
input: Types.AgentManaged206;
|
|
2750
2985
|
name: string;
|
|
@@ -2753,9 +2988,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2753
2988
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
2754
2989
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
2755
2990
|
session_thread_id?: null | string;
|
|
2756
|
-
run_id: string | null;
|
|
2757
|
-
user_once?: true;
|
|
2758
|
-
guarded_rule?: string;
|
|
2759
2991
|
permission_suggestions?: Array<{
|
|
2760
2992
|
type: "add_rules";
|
|
2761
2993
|
behavior: "allow";
|
|
@@ -2765,6 +2997,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
2765
2997
|
rule_content: string;
|
|
2766
2998
|
}>;
|
|
2767
2999
|
}>;
|
|
3000
|
+
full_access_available?: boolean;
|
|
3001
|
+
user_once?: true;
|
|
3002
|
+
guarded_rule?: string;
|
|
3003
|
+
run_id: string | null;
|
|
2768
3004
|
} | {
|
|
2769
3005
|
id: string;
|
|
2770
3006
|
processed_at: string;
|
|
@@ -2785,9 +3021,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2785
3021
|
type: "session.status_idle";
|
|
2786
3022
|
run_id: string | null;
|
|
2787
3023
|
} | 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 | {
|
|
2788
|
-
permission_mode_version?: number;
|
|
2789
|
-
previous_permission_mode?: string | null;
|
|
2790
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2791
3024
|
id: string;
|
|
2792
3025
|
processed_at: string;
|
|
2793
3026
|
type: "session.updated";
|
|
@@ -2795,6 +3028,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
2795
3028
|
budget?: null | Types.AgentManaged76;
|
|
2796
3029
|
metadata?: Types.AgentManaged246;
|
|
2797
3030
|
title?: null | string;
|
|
3031
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
3032
|
+
previous_permission_mode?: string | null;
|
|
3033
|
+
permission_mode_version?: number;
|
|
2798
3034
|
model?: {
|
|
2799
3035
|
id: string;
|
|
2800
3036
|
};
|
|
@@ -2955,6 +3191,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2955
3191
|
speed?: "standard" | "fast";
|
|
2956
3192
|
settings?: {
|
|
2957
3193
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3194
|
+
max_output_tokens?: number;
|
|
2958
3195
|
};
|
|
2959
3196
|
};
|
|
2960
3197
|
multiagent: null | {
|
|
@@ -3450,6 +3687,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3450
3687
|
speed?: "standard" | "fast";
|
|
3451
3688
|
settings?: {
|
|
3452
3689
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3690
|
+
max_output_tokens?: number;
|
|
3453
3691
|
};
|
|
3454
3692
|
};
|
|
3455
3693
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -3541,6 +3779,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3541
3779
|
speed?: "standard" | "fast";
|
|
3542
3780
|
settings?: {
|
|
3543
3781
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3782
|
+
max_output_tokens?: number;
|
|
3544
3783
|
};
|
|
3545
3784
|
};
|
|
3546
3785
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -3713,7 +3952,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3713
3952
|
run_id: string | null;
|
|
3714
3953
|
message_id?: string;
|
|
3715
3954
|
} | {
|
|
3716
|
-
full_access_available?: boolean;
|
|
3717
3955
|
id: string;
|
|
3718
3956
|
input: Types.AgentManaged197;
|
|
3719
3957
|
mcp_server_name: string;
|
|
@@ -3723,6 +3961,18 @@ export declare function createAgent(transport: Transport): {
|
|
|
3723
3961
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
3724
3962
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
3725
3963
|
session_thread_id?: null | string;
|
|
3964
|
+
permission_suggestions?: Array<{
|
|
3965
|
+
type: "add_rules";
|
|
3966
|
+
behavior: "allow";
|
|
3967
|
+
destination: "agent" | "session";
|
|
3968
|
+
rules: Array<{
|
|
3969
|
+
tool_name: string;
|
|
3970
|
+
rule_content: string;
|
|
3971
|
+
}>;
|
|
3972
|
+
}>;
|
|
3973
|
+
full_access_available?: boolean;
|
|
3974
|
+
user_once?: true;
|
|
3975
|
+
guarded_rule?: string;
|
|
3726
3976
|
run_id: string | null;
|
|
3727
3977
|
parent_tool_use_id?: string;
|
|
3728
3978
|
_meta?: {
|
|
@@ -3736,17 +3986,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3736
3986
|
};
|
|
3737
3987
|
};
|
|
3738
3988
|
source?: "app" | "codemode";
|
|
3739
|
-
user_once?: true;
|
|
3740
|
-
guarded_rule?: string;
|
|
3741
|
-
permission_suggestions?: Array<{
|
|
3742
|
-
type: "add_rules";
|
|
3743
|
-
behavior: "allow";
|
|
3744
|
-
destination: "agent" | "session";
|
|
3745
|
-
rules: Array<{
|
|
3746
|
-
tool_name: string;
|
|
3747
|
-
rule_content: string;
|
|
3748
|
-
}>;
|
|
3749
|
-
}>;
|
|
3750
3989
|
title?: string;
|
|
3751
3990
|
input_titles?: {
|
|
3752
3991
|
[key: string]: string;
|
|
@@ -3765,7 +4004,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3765
4004
|
};
|
|
3766
4005
|
source?: "app" | "codemode";
|
|
3767
4006
|
} | {
|
|
3768
|
-
full_access_available?: boolean;
|
|
3769
4007
|
id: string;
|
|
3770
4008
|
input: Types.AgentManaged206;
|
|
3771
4009
|
name: string;
|
|
@@ -3774,9 +4012,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3774
4012
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
3775
4013
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
3776
4014
|
session_thread_id?: null | string;
|
|
3777
|
-
run_id: string | null;
|
|
3778
|
-
user_once?: true;
|
|
3779
|
-
guarded_rule?: string;
|
|
3780
4015
|
permission_suggestions?: Array<{
|
|
3781
4016
|
type: "add_rules";
|
|
3782
4017
|
behavior: "allow";
|
|
@@ -3786,6 +4021,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
3786
4021
|
rule_content: string;
|
|
3787
4022
|
}>;
|
|
3788
4023
|
}>;
|
|
4024
|
+
full_access_available?: boolean;
|
|
4025
|
+
user_once?: true;
|
|
4026
|
+
guarded_rule?: string;
|
|
4027
|
+
run_id: string | null;
|
|
3789
4028
|
} | {
|
|
3790
4029
|
id: string;
|
|
3791
4030
|
processed_at: string;
|
|
@@ -3806,9 +4045,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3806
4045
|
type: "session.status_idle";
|
|
3807
4046
|
run_id: string | null;
|
|
3808
4047
|
} | 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 | {
|
|
3809
|
-
permission_mode_version?: number;
|
|
3810
|
-
previous_permission_mode?: string | null;
|
|
3811
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
3812
4048
|
id: string;
|
|
3813
4049
|
processed_at: string;
|
|
3814
4050
|
type: "session.updated";
|
|
@@ -3816,6 +4052,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
3816
4052
|
budget?: null | Types.AgentManaged76;
|
|
3817
4053
|
metadata?: Types.AgentManaged246;
|
|
3818
4054
|
title?: null | string;
|
|
4055
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
4056
|
+
previous_permission_mode?: string | null;
|
|
4057
|
+
permission_mode_version?: number;
|
|
3819
4058
|
model?: {
|
|
3820
4059
|
id: string;
|
|
3821
4060
|
};
|
|
@@ -3906,6 +4145,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3906
4145
|
speed?: "standard" | "fast";
|
|
3907
4146
|
settings?: {
|
|
3908
4147
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4148
|
+
max_output_tokens?: number;
|
|
3909
4149
|
};
|
|
3910
4150
|
};
|
|
3911
4151
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -3996,6 +4236,29 @@ export declare function createAgent(transport: Transport): {
|
|
|
3996
4236
|
next_page: null;
|
|
3997
4237
|
}>;
|
|
3998
4238
|
};
|
|
4239
|
+
uploads: {
|
|
4240
|
+
contentUrl: {
|
|
4241
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
|
|
4242
|
+
url: string;
|
|
4243
|
+
expires_at: string;
|
|
4244
|
+
}>;
|
|
4245
|
+
};
|
|
4246
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
|
|
4247
|
+
upload_id: string;
|
|
4248
|
+
expires_at: string;
|
|
4249
|
+
url: string;
|
|
4250
|
+
} | {
|
|
4251
|
+
upload_id: string;
|
|
4252
|
+
expires_at: string;
|
|
4253
|
+
part_size: number;
|
|
4254
|
+
parts: Array<{
|
|
4255
|
+
part_number: number;
|
|
4256
|
+
url: string;
|
|
4257
|
+
}>;
|
|
4258
|
+
complete_url: string;
|
|
4259
|
+
status_url: string;
|
|
4260
|
+
}>;
|
|
4261
|
+
};
|
|
3999
4262
|
};
|
|
4000
4263
|
export declare function createApplication(transport: Transport): {
|
|
4001
4264
|
assets: {
|
|
@@ -4319,6 +4582,11 @@ export declare function createBrowser(transport: Transport): {
|
|
|
4319
4582
|
type: "evaluate";
|
|
4320
4583
|
tab: string;
|
|
4321
4584
|
value: unknown;
|
|
4585
|
+
} | {
|
|
4586
|
+
type: "set_cookie";
|
|
4587
|
+
tab: string;
|
|
4588
|
+
name: string;
|
|
4589
|
+
domain: string;
|
|
4322
4590
|
}>;
|
|
4323
4591
|
};
|
|
4324
4592
|
create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
|
|
@@ -4376,6 +4644,24 @@ export declare function createCanvas(transport: Transport): {
|
|
|
4376
4644
|
update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
|
|
4377
4645
|
};
|
|
4378
4646
|
};
|
|
4647
|
+
export declare function createContent(transport: Transport): {
|
|
4648
|
+
contents: {
|
|
4649
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
|
|
4650
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
|
|
4651
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
|
|
4652
|
+
publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
|
|
4653
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
|
|
4654
|
+
unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
|
|
4655
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
|
|
4656
|
+
};
|
|
4657
|
+
playbackSessions: {
|
|
4658
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
|
|
4659
|
+
};
|
|
4660
|
+
versions: {
|
|
4661
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
|
|
4662
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
|
|
4663
|
+
};
|
|
4664
|
+
};
|
|
4379
4665
|
export declare function createCrm(transport: Transport): {
|
|
4380
4666
|
associations: {
|
|
4381
4667
|
create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
|
|
@@ -4436,6 +4722,32 @@ export declare function createCrm(transport: Transport): {
|
|
|
4436
4722
|
list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
|
|
4437
4723
|
};
|
|
4438
4724
|
};
|
|
4725
|
+
export declare function createCustomer(transport: Transport): {
|
|
4726
|
+
accessTokens: {
|
|
4727
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
|
|
4728
|
+
renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
|
|
4729
|
+
revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
|
|
4730
|
+
};
|
|
4731
|
+
customers: {
|
|
4732
|
+
block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
|
|
4733
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
|
|
4734
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
|
|
4735
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
|
|
4736
|
+
revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
|
|
4737
|
+
unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
|
|
4738
|
+
};
|
|
4739
|
+
grantCodes: {
|
|
4740
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
|
|
4741
|
+
};
|
|
4742
|
+
publishableKeys: {
|
|
4743
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
|
|
4744
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
|
|
4745
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
|
|
4746
|
+
};
|
|
4747
|
+
usage: {
|
|
4748
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
|
|
4749
|
+
};
|
|
4750
|
+
};
|
|
4439
4751
|
export declare function createCut(transport: Transport): {
|
|
4440
4752
|
exports: {
|
|
4441
4753
|
cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
|
|
@@ -4535,6 +4847,7 @@ export declare function createDevops(transport: Transport): {
|
|
|
4535
4847
|
changes: {
|
|
4536
4848
|
abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
|
|
4537
4849
|
markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
|
|
4850
|
+
openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
|
|
4538
4851
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
|
|
4539
4852
|
};
|
|
4540
4853
|
connections: {
|
|
@@ -4606,6 +4919,7 @@ export declare function createDevops(transport: Transport): {
|
|
|
4606
4919
|
};
|
|
4607
4920
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
|
|
4608
4921
|
retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
|
|
4922
|
+
retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
|
|
4609
4923
|
segments: {
|
|
4610
4924
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
|
|
4611
4925
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
|
|
@@ -4803,6 +5117,10 @@ export declare function createMedia(transport: Transport): {
|
|
|
4803
5117
|
frames: {
|
|
4804
5118
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
|
|
4805
5119
|
};
|
|
5120
|
+
hls: {
|
|
5121
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
|
|
5122
|
+
list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
|
|
5123
|
+
};
|
|
4806
5124
|
import: {
|
|
4807
5125
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
|
|
4808
5126
|
};
|
|
@@ -5860,6 +6178,42 @@ export declare function createOrganization(transport: Transport): {
|
|
|
5860
6178
|
}>;
|
|
5861
6179
|
};
|
|
5862
6180
|
};
|
|
6181
|
+
export declare function createRegistry(transport: Transport): {
|
|
6182
|
+
installations: {
|
|
6183
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
|
|
6184
|
+
update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
|
|
6185
|
+
};
|
|
6186
|
+
packages: {
|
|
6187
|
+
installations: {
|
|
6188
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
|
|
6189
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
|
|
6190
|
+
};
|
|
6191
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
|
|
6192
|
+
versions: {
|
|
6193
|
+
contents: {
|
|
6194
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
|
|
6195
|
+
};
|
|
6196
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
|
|
6197
|
+
files: {
|
|
6198
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
|
|
6199
|
+
};
|
|
6200
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
|
|
6201
|
+
retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
|
|
6202
|
+
withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
|
|
6203
|
+
};
|
|
6204
|
+
};
|
|
6205
|
+
repositories: {
|
|
6206
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
|
|
6207
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
|
|
6208
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
|
|
6209
|
+
packages: {
|
|
6210
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
|
|
6211
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
|
|
6212
|
+
};
|
|
6213
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
|
|
6214
|
+
update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
|
|
6215
|
+
};
|
|
6216
|
+
};
|
|
5863
6217
|
export declare function createSandbox(transport: Transport): {
|
|
5864
6218
|
events: {
|
|
5865
6219
|
sandboxes: {
|
|
@@ -6397,7 +6751,9 @@ export declare const resourceFactories: {
|
|
|
6397
6751
|
automation: typeof createAutomation;
|
|
6398
6752
|
browser: typeof createBrowser;
|
|
6399
6753
|
canvas: typeof createCanvas;
|
|
6754
|
+
content: typeof createContent;
|
|
6400
6755
|
crm: typeof createCrm;
|
|
6756
|
+
customer: typeof createCustomer;
|
|
6401
6757
|
cut: typeof createCut;
|
|
6402
6758
|
database: typeof createDatabase;
|
|
6403
6759
|
devops: typeof createDevops;
|
|
@@ -6408,6 +6764,7 @@ export declare const resourceFactories: {
|
|
|
6408
6764
|
model: typeof createModel;
|
|
6409
6765
|
ontology: typeof createOntology;
|
|
6410
6766
|
organization: typeof createOrganization;
|
|
6767
|
+
registry: typeof createRegistry;
|
|
6411
6768
|
sandbox: typeof createSandbox;
|
|
6412
6769
|
search: typeof createSearch;
|
|
6413
6770
|
share: typeof createShare;
|