@deepraxis/sdk 0.1.1-dev.80dd587 → 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 +189 -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 +351 -51
- package/dist/generated/sdk.gen.js +1028 -187
- package/dist/generated/types.gen.d.ts +6982 -1661
- package/dist/operations.generated.js +7225 -5705
- package/dist/resources.generated.d.ts +512 -115
- package/dist/resources.generated.js +123 -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
|
};
|
|
@@ -734,6 +707,20 @@ export declare function createAgent(transport: Transport): {
|
|
|
734
707
|
}>;
|
|
735
708
|
stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
736
709
|
};
|
|
710
|
+
inbox: {
|
|
711
|
+
letters: {
|
|
712
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListAgentInboxLettersData>) => Promise<{
|
|
713
|
+
unread: number;
|
|
714
|
+
letters: Array<{
|
|
715
|
+
id: string;
|
|
716
|
+
sender: string;
|
|
717
|
+
summary: string;
|
|
718
|
+
thread: string | null;
|
|
719
|
+
create_time: string;
|
|
720
|
+
}>;
|
|
721
|
+
}>;
|
|
722
|
+
};
|
|
723
|
+
};
|
|
737
724
|
list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
|
|
738
725
|
data: Array<{
|
|
739
726
|
id: string;
|
|
@@ -749,6 +736,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
749
736
|
speed?: "standard" | "fast";
|
|
750
737
|
settings?: {
|
|
751
738
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
739
|
+
max_output_tokens?: number;
|
|
752
740
|
};
|
|
753
741
|
};
|
|
754
742
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -781,7 +769,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
781
769
|
readonly verified?: boolean;
|
|
782
770
|
enabled?: boolean;
|
|
783
771
|
}>;
|
|
784
|
-
kind: "general" | "
|
|
772
|
+
kind: "general" | "service" | "assume";
|
|
773
|
+
computers?: {
|
|
774
|
+
default: string;
|
|
775
|
+
allowed: Array<{
|
|
776
|
+
template: string;
|
|
777
|
+
name: string;
|
|
778
|
+
}>;
|
|
779
|
+
};
|
|
785
780
|
computer_id?: string;
|
|
786
781
|
subagent_model?: string | null;
|
|
787
782
|
subagents?: Array<{
|
|
@@ -874,6 +869,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
874
869
|
allowManagedHooksOnly?: boolean;
|
|
875
870
|
allowManagedMcpServersOnly?: boolean;
|
|
876
871
|
allowManagedPermissionRulesOnly?: boolean;
|
|
872
|
+
idleCompaction?: boolean;
|
|
877
873
|
autoMemoryEnabled?: boolean;
|
|
878
874
|
disabled?: {
|
|
879
875
|
subagents?: Array<string>;
|
|
@@ -882,7 +878,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
882
878
|
mcpServers?: Array<string>;
|
|
883
879
|
hooks?: Array<string>;
|
|
884
880
|
};
|
|
885
|
-
idleCompaction?: boolean;
|
|
886
881
|
outputStyle?: string;
|
|
887
882
|
} | null;
|
|
888
883
|
models?: {
|
|
@@ -917,6 +912,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
917
912
|
speed?: "standard" | "fast";
|
|
918
913
|
settings?: {
|
|
919
914
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
915
|
+
max_output_tokens?: number;
|
|
920
916
|
};
|
|
921
917
|
};
|
|
922
918
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -950,7 +946,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
950
946
|
readonly verified?: boolean;
|
|
951
947
|
enabled?: boolean;
|
|
952
948
|
}>;
|
|
953
|
-
kind: "general" | "
|
|
949
|
+
kind: "general" | "service" | "assume";
|
|
950
|
+
computers?: {
|
|
951
|
+
default: string;
|
|
952
|
+
allowed: Array<{
|
|
953
|
+
template: string;
|
|
954
|
+
name: string;
|
|
955
|
+
}>;
|
|
956
|
+
};
|
|
954
957
|
computer_id?: string;
|
|
955
958
|
subagent_model?: string | null;
|
|
956
959
|
subagents?: Array<{
|
|
@@ -1043,6 +1046,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1043
1046
|
allowManagedHooksOnly?: boolean;
|
|
1044
1047
|
allowManagedMcpServersOnly?: boolean;
|
|
1045
1048
|
allowManagedPermissionRulesOnly?: boolean;
|
|
1049
|
+
idleCompaction?: boolean;
|
|
1046
1050
|
autoMemoryEnabled?: boolean;
|
|
1047
1051
|
disabled?: {
|
|
1048
1052
|
subagents?: Array<string>;
|
|
@@ -1051,7 +1055,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1051
1055
|
mcpServers?: Array<string>;
|
|
1052
1056
|
hooks?: Array<string>;
|
|
1053
1057
|
};
|
|
1054
|
-
idleCompaction?: boolean;
|
|
1055
1058
|
outputStyle?: string;
|
|
1056
1059
|
} | null;
|
|
1057
1060
|
models?: {
|
|
@@ -1127,6 +1130,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
1127
1130
|
history?: {
|
|
1128
1131
|
enabled?: boolean;
|
|
1129
1132
|
};
|
|
1133
|
+
uploads?: {
|
|
1134
|
+
enabled: boolean;
|
|
1135
|
+
max_file_bytes: number;
|
|
1136
|
+
max_files_per_session: number;
|
|
1137
|
+
};
|
|
1130
1138
|
}>;
|
|
1131
1139
|
unarchive: {
|
|
1132
1140
|
create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
|
|
@@ -1180,6 +1188,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1180
1188
|
speed?: "standard" | "fast";
|
|
1181
1189
|
settings?: {
|
|
1182
1190
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1191
|
+
max_output_tokens?: number;
|
|
1183
1192
|
};
|
|
1184
1193
|
};
|
|
1185
1194
|
multiagent?: null | {
|
|
@@ -1378,7 +1387,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
1378
1387
|
readonly verified?: boolean;
|
|
1379
1388
|
enabled?: boolean;
|
|
1380
1389
|
}>;
|
|
1381
|
-
kind: "general" | "
|
|
1390
|
+
kind: "general" | "service" | "assume";
|
|
1391
|
+
computers?: {
|
|
1392
|
+
default: string;
|
|
1393
|
+
allowed: Array<{
|
|
1394
|
+
template: string;
|
|
1395
|
+
name: string;
|
|
1396
|
+
}>;
|
|
1397
|
+
};
|
|
1382
1398
|
computer_id?: string;
|
|
1383
1399
|
subagent_model?: string | null;
|
|
1384
1400
|
subagents?: Array<{
|
|
@@ -1471,6 +1487,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1471
1487
|
allowManagedHooksOnly?: boolean;
|
|
1472
1488
|
allowManagedMcpServersOnly?: boolean;
|
|
1473
1489
|
allowManagedPermissionRulesOnly?: boolean;
|
|
1490
|
+
idleCompaction?: boolean;
|
|
1474
1491
|
autoMemoryEnabled?: boolean;
|
|
1475
1492
|
disabled?: {
|
|
1476
1493
|
subagents?: Array<string>;
|
|
@@ -1479,7 +1496,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1479
1496
|
mcpServers?: Array<string>;
|
|
1480
1497
|
hooks?: Array<string>;
|
|
1481
1498
|
};
|
|
1482
|
-
idleCompaction?: boolean;
|
|
1483
1499
|
outputStyle?: string;
|
|
1484
1500
|
} | null;
|
|
1485
1501
|
models?: {
|
|
@@ -1513,6 +1529,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1513
1529
|
speed?: "standard" | "fast";
|
|
1514
1530
|
settings?: {
|
|
1515
1531
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1532
|
+
max_output_tokens?: number;
|
|
1516
1533
|
};
|
|
1517
1534
|
};
|
|
1518
1535
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -1546,7 +1563,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
1546
1563
|
readonly verified?: boolean;
|
|
1547
1564
|
enabled?: boolean;
|
|
1548
1565
|
}>;
|
|
1549
|
-
kind: "general" | "
|
|
1566
|
+
kind: "general" | "service" | "assume";
|
|
1567
|
+
computers?: {
|
|
1568
|
+
default: string;
|
|
1569
|
+
allowed: Array<{
|
|
1570
|
+
template: string;
|
|
1571
|
+
name: string;
|
|
1572
|
+
}>;
|
|
1573
|
+
};
|
|
1550
1574
|
computer_id?: string;
|
|
1551
1575
|
subagent_model?: string | null;
|
|
1552
1576
|
subagents?: Array<{
|
|
@@ -1639,6 +1663,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1639
1663
|
allowManagedHooksOnly?: boolean;
|
|
1640
1664
|
allowManagedMcpServersOnly?: boolean;
|
|
1641
1665
|
allowManagedPermissionRulesOnly?: boolean;
|
|
1666
|
+
idleCompaction?: boolean;
|
|
1642
1667
|
autoMemoryEnabled?: boolean;
|
|
1643
1668
|
disabled?: {
|
|
1644
1669
|
subagents?: Array<string>;
|
|
@@ -1647,7 +1672,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1647
1672
|
mcpServers?: Array<string>;
|
|
1648
1673
|
hooks?: Array<string>;
|
|
1649
1674
|
};
|
|
1650
|
-
idleCompaction?: boolean;
|
|
1651
1675
|
outputStyle?: string;
|
|
1652
1676
|
} | null;
|
|
1653
1677
|
models?: {
|
|
@@ -1672,22 +1696,225 @@ export declare function createAgent(transport: Transport): {
|
|
|
1672
1696
|
archived_at: null | string;
|
|
1673
1697
|
created_at: string;
|
|
1674
1698
|
description: null | string;
|
|
1675
|
-
mcp_servers: Array<
|
|
1676
|
-
|
|
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
|
+
};
|
|
1677
1728
|
model?: {
|
|
1678
1729
|
id: string;
|
|
1679
|
-
effort?:
|
|
1730
|
+
effort?: {
|
|
1731
|
+
type: "low";
|
|
1732
|
+
} | {
|
|
1733
|
+
type: "medium";
|
|
1734
|
+
} | {
|
|
1735
|
+
type: "high";
|
|
1736
|
+
} | {
|
|
1737
|
+
type: "xhigh";
|
|
1738
|
+
} | {
|
|
1739
|
+
type: "max";
|
|
1740
|
+
};
|
|
1680
1741
|
inference_geo?: string;
|
|
1681
1742
|
speed?: "standard" | "fast";
|
|
1682
1743
|
settings?: {
|
|
1683
1744
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1745
|
+
max_output_tokens?: number;
|
|
1684
1746
|
};
|
|
1685
1747
|
};
|
|
1686
|
-
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
|
+
};
|
|
1687
1759
|
name: string;
|
|
1688
|
-
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
|
+
}>;
|
|
1689
1769
|
system: null | string;
|
|
1690
|
-
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
|
+
}>;
|
|
1691
1918
|
type: "agent";
|
|
1692
1919
|
updated_at: string;
|
|
1693
1920
|
version: number;
|
|
@@ -1714,7 +1941,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
1714
1941
|
readonly verified?: boolean;
|
|
1715
1942
|
enabled?: boolean;
|
|
1716
1943
|
}>;
|
|
1717
|
-
kind: "general" | "
|
|
1944
|
+
kind: "general" | "service" | "assume";
|
|
1945
|
+
computers?: {
|
|
1946
|
+
default: string;
|
|
1947
|
+
allowed: Array<{
|
|
1948
|
+
template: string;
|
|
1949
|
+
name: string;
|
|
1950
|
+
}>;
|
|
1951
|
+
};
|
|
1718
1952
|
computer_id?: string;
|
|
1719
1953
|
subagent_model?: string | null;
|
|
1720
1954
|
subagents?: Array<{
|
|
@@ -1807,6 +2041,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1807
2041
|
allowManagedHooksOnly?: boolean;
|
|
1808
2042
|
allowManagedMcpServersOnly?: boolean;
|
|
1809
2043
|
allowManagedPermissionRulesOnly?: boolean;
|
|
2044
|
+
idleCompaction?: boolean;
|
|
1810
2045
|
autoMemoryEnabled?: boolean;
|
|
1811
2046
|
disabled?: {
|
|
1812
2047
|
subagents?: Array<string>;
|
|
@@ -1815,7 +2050,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1815
2050
|
mcpServers?: Array<string>;
|
|
1816
2051
|
hooks?: Array<string>;
|
|
1817
2052
|
};
|
|
1818
|
-
idleCompaction?: boolean;
|
|
1819
2053
|
outputStyle?: string;
|
|
1820
2054
|
} | null;
|
|
1821
2055
|
models?: {
|
|
@@ -1849,6 +2083,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1849
2083
|
speed?: "standard" | "fast";
|
|
1850
2084
|
settings?: {
|
|
1851
2085
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
2086
|
+
max_output_tokens?: number;
|
|
1852
2087
|
};
|
|
1853
2088
|
};
|
|
1854
2089
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -1882,7 +2117,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
1882
2117
|
readonly verified?: boolean;
|
|
1883
2118
|
enabled?: boolean;
|
|
1884
2119
|
}>;
|
|
1885
|
-
kind: "general" | "
|
|
2120
|
+
kind: "general" | "service" | "assume";
|
|
2121
|
+
computers?: {
|
|
2122
|
+
default: string;
|
|
2123
|
+
allowed: Array<{
|
|
2124
|
+
template: string;
|
|
2125
|
+
name: string;
|
|
2126
|
+
}>;
|
|
2127
|
+
};
|
|
1886
2128
|
computer_id?: string;
|
|
1887
2129
|
subagent_model?: string | null;
|
|
1888
2130
|
subagents?: Array<{
|
|
@@ -1975,6 +2217,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1975
2217
|
allowManagedHooksOnly?: boolean;
|
|
1976
2218
|
allowManagedMcpServersOnly?: boolean;
|
|
1977
2219
|
allowManagedPermissionRulesOnly?: boolean;
|
|
2220
|
+
idleCompaction?: boolean;
|
|
1978
2221
|
autoMemoryEnabled?: boolean;
|
|
1979
2222
|
disabled?: {
|
|
1980
2223
|
subagents?: Array<string>;
|
|
@@ -1983,7 +2226,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1983
2226
|
mcpServers?: Array<string>;
|
|
1984
2227
|
hooks?: Array<string>;
|
|
1985
2228
|
};
|
|
1986
|
-
idleCompaction?: boolean;
|
|
1987
2229
|
outputStyle?: string;
|
|
1988
2230
|
} | null;
|
|
1989
2231
|
models?: {
|
|
@@ -2437,6 +2679,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2437
2679
|
speed?: "standard" | "fast";
|
|
2438
2680
|
settings?: {
|
|
2439
2681
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
2682
|
+
max_output_tokens?: number;
|
|
2440
2683
|
};
|
|
2441
2684
|
};
|
|
2442
2685
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -2503,6 +2746,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
2503
2746
|
filename: string;
|
|
2504
2747
|
mime_type: string;
|
|
2505
2748
|
bytes: number;
|
|
2749
|
+
} | {
|
|
2750
|
+
kind: "object";
|
|
2751
|
+
object_type: "canvas" | "media_asset";
|
|
2752
|
+
object_id: string;
|
|
2753
|
+
href: string;
|
|
2754
|
+
title: string | null;
|
|
2506
2755
|
}>;
|
|
2507
2756
|
source_hrefs: Array<string>;
|
|
2508
2757
|
create_time: string;
|
|
@@ -2592,6 +2841,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2592
2841
|
speed?: "standard" | "fast";
|
|
2593
2842
|
settings?: {
|
|
2594
2843
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
2844
|
+
max_output_tokens?: number;
|
|
2595
2845
|
};
|
|
2596
2846
|
};
|
|
2597
2847
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -2678,7 +2928,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2678
2928
|
run_id: string | null;
|
|
2679
2929
|
message_id?: string;
|
|
2680
2930
|
} | {
|
|
2681
|
-
full_access_available?: boolean;
|
|
2682
2931
|
id: string;
|
|
2683
2932
|
input: Types.AgentManaged197;
|
|
2684
2933
|
mcp_server_name: string;
|
|
@@ -2688,6 +2937,18 @@ export declare function createAgent(transport: Transport): {
|
|
|
2688
2937
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
2689
2938
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
2690
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;
|
|
2691
2952
|
run_id: string | null;
|
|
2692
2953
|
_meta?: {
|
|
2693
2954
|
ui?: {
|
|
@@ -2701,17 +2962,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2701
2962
|
};
|
|
2702
2963
|
source?: "app" | "codemode";
|
|
2703
2964
|
parent_tool_use_id?: string;
|
|
2704
|
-
user_once?: true;
|
|
2705
|
-
guarded_rule?: string;
|
|
2706
|
-
permission_suggestions?: Array<{
|
|
2707
|
-
type: "add_rules";
|
|
2708
|
-
behavior: "allow";
|
|
2709
|
-
destination: "agent" | "session";
|
|
2710
|
-
rules: Array<{
|
|
2711
|
-
tool_name: string;
|
|
2712
|
-
rule_content: string;
|
|
2713
|
-
}>;
|
|
2714
|
-
}>;
|
|
2715
2965
|
title?: string;
|
|
2716
2966
|
input_titles?: {
|
|
2717
2967
|
[key: string]: string;
|
|
@@ -2730,7 +2980,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2730
2980
|
};
|
|
2731
2981
|
source?: "app" | "codemode";
|
|
2732
2982
|
} | {
|
|
2733
|
-
full_access_available?: boolean;
|
|
2734
2983
|
id: string;
|
|
2735
2984
|
input: Types.AgentManaged206;
|
|
2736
2985
|
name: string;
|
|
@@ -2739,9 +2988,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2739
2988
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
2740
2989
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
2741
2990
|
session_thread_id?: null | string;
|
|
2742
|
-
run_id: string | null;
|
|
2743
|
-
user_once?: true;
|
|
2744
|
-
guarded_rule?: string;
|
|
2745
2991
|
permission_suggestions?: Array<{
|
|
2746
2992
|
type: "add_rules";
|
|
2747
2993
|
behavior: "allow";
|
|
@@ -2751,6 +2997,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
2751
2997
|
rule_content: string;
|
|
2752
2998
|
}>;
|
|
2753
2999
|
}>;
|
|
3000
|
+
full_access_available?: boolean;
|
|
3001
|
+
user_once?: true;
|
|
3002
|
+
guarded_rule?: string;
|
|
3003
|
+
run_id: string | null;
|
|
2754
3004
|
} | {
|
|
2755
3005
|
id: string;
|
|
2756
3006
|
processed_at: string;
|
|
@@ -2771,9 +3021,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2771
3021
|
type: "session.status_idle";
|
|
2772
3022
|
run_id: string | null;
|
|
2773
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 | {
|
|
2774
|
-
permission_mode_version?: number;
|
|
2775
|
-
previous_permission_mode?: string | null;
|
|
2776
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2777
3024
|
id: string;
|
|
2778
3025
|
processed_at: string;
|
|
2779
3026
|
type: "session.updated";
|
|
@@ -2781,6 +3028,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
2781
3028
|
budget?: null | Types.AgentManaged76;
|
|
2782
3029
|
metadata?: Types.AgentManaged246;
|
|
2783
3030
|
title?: null | string;
|
|
3031
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
3032
|
+
previous_permission_mode?: string | null;
|
|
3033
|
+
permission_mode_version?: number;
|
|
2784
3034
|
model?: {
|
|
2785
3035
|
id: string;
|
|
2786
3036
|
};
|
|
@@ -2941,6 +3191,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2941
3191
|
speed?: "standard" | "fast";
|
|
2942
3192
|
settings?: {
|
|
2943
3193
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3194
|
+
max_output_tokens?: number;
|
|
2944
3195
|
};
|
|
2945
3196
|
};
|
|
2946
3197
|
multiagent: null | {
|
|
@@ -3436,6 +3687,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3436
3687
|
speed?: "standard" | "fast";
|
|
3437
3688
|
settings?: {
|
|
3438
3689
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3690
|
+
max_output_tokens?: number;
|
|
3439
3691
|
};
|
|
3440
3692
|
};
|
|
3441
3693
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -3483,6 +3735,20 @@ export declare function createAgent(transport: Transport): {
|
|
|
3483
3735
|
}>;
|
|
3484
3736
|
next_page: string | null;
|
|
3485
3737
|
}>;
|
|
3738
|
+
requests: {
|
|
3739
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
|
|
3740
|
+
data: Array<{
|
|
3741
|
+
id: string;
|
|
3742
|
+
object: "request";
|
|
3743
|
+
kind: "question" | "approval";
|
|
3744
|
+
status: "pending";
|
|
3745
|
+
tool_name: string;
|
|
3746
|
+
input: unknown;
|
|
3747
|
+
create_time: string;
|
|
3748
|
+
expire_time: string | null;
|
|
3749
|
+
}>;
|
|
3750
|
+
}>;
|
|
3751
|
+
};
|
|
3486
3752
|
resources: {
|
|
3487
3753
|
create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
|
|
3488
3754
|
delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
|
|
@@ -3513,6 +3779,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3513
3779
|
speed?: "standard" | "fast";
|
|
3514
3780
|
settings?: {
|
|
3515
3781
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3782
|
+
max_output_tokens?: number;
|
|
3516
3783
|
};
|
|
3517
3784
|
};
|
|
3518
3785
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -3685,7 +3952,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3685
3952
|
run_id: string | null;
|
|
3686
3953
|
message_id?: string;
|
|
3687
3954
|
} | {
|
|
3688
|
-
full_access_available?: boolean;
|
|
3689
3955
|
id: string;
|
|
3690
3956
|
input: Types.AgentManaged197;
|
|
3691
3957
|
mcp_server_name: string;
|
|
@@ -3695,6 +3961,18 @@ export declare function createAgent(transport: Transport): {
|
|
|
3695
3961
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
3696
3962
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
3697
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;
|
|
3698
3976
|
run_id: string | null;
|
|
3699
3977
|
parent_tool_use_id?: string;
|
|
3700
3978
|
_meta?: {
|
|
@@ -3708,17 +3986,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3708
3986
|
};
|
|
3709
3987
|
};
|
|
3710
3988
|
source?: "app" | "codemode";
|
|
3711
|
-
user_once?: true;
|
|
3712
|
-
guarded_rule?: string;
|
|
3713
|
-
permission_suggestions?: Array<{
|
|
3714
|
-
type: "add_rules";
|
|
3715
|
-
behavior: "allow";
|
|
3716
|
-
destination: "agent" | "session";
|
|
3717
|
-
rules: Array<{
|
|
3718
|
-
tool_name: string;
|
|
3719
|
-
rule_content: string;
|
|
3720
|
-
}>;
|
|
3721
|
-
}>;
|
|
3722
3989
|
title?: string;
|
|
3723
3990
|
input_titles?: {
|
|
3724
3991
|
[key: string]: string;
|
|
@@ -3737,7 +4004,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3737
4004
|
};
|
|
3738
4005
|
source?: "app" | "codemode";
|
|
3739
4006
|
} | {
|
|
3740
|
-
full_access_available?: boolean;
|
|
3741
4007
|
id: string;
|
|
3742
4008
|
input: Types.AgentManaged206;
|
|
3743
4009
|
name: string;
|
|
@@ -3746,9 +4012,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3746
4012
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
3747
4013
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
3748
4014
|
session_thread_id?: null | string;
|
|
3749
|
-
run_id: string | null;
|
|
3750
|
-
user_once?: true;
|
|
3751
|
-
guarded_rule?: string;
|
|
3752
4015
|
permission_suggestions?: Array<{
|
|
3753
4016
|
type: "add_rules";
|
|
3754
4017
|
behavior: "allow";
|
|
@@ -3758,6 +4021,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
3758
4021
|
rule_content: string;
|
|
3759
4022
|
}>;
|
|
3760
4023
|
}>;
|
|
4024
|
+
full_access_available?: boolean;
|
|
4025
|
+
user_once?: true;
|
|
4026
|
+
guarded_rule?: string;
|
|
4027
|
+
run_id: string | null;
|
|
3761
4028
|
} | {
|
|
3762
4029
|
id: string;
|
|
3763
4030
|
processed_at: string;
|
|
@@ -3778,9 +4045,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3778
4045
|
type: "session.status_idle";
|
|
3779
4046
|
run_id: string | null;
|
|
3780
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 | {
|
|
3781
|
-
permission_mode_version?: number;
|
|
3782
|
-
previous_permission_mode?: string | null;
|
|
3783
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
3784
4048
|
id: string;
|
|
3785
4049
|
processed_at: string;
|
|
3786
4050
|
type: "session.updated";
|
|
@@ -3788,6 +4052,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
3788
4052
|
budget?: null | Types.AgentManaged76;
|
|
3789
4053
|
metadata?: Types.AgentManaged246;
|
|
3790
4054
|
title?: null | string;
|
|
4055
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
4056
|
+
previous_permission_mode?: string | null;
|
|
4057
|
+
permission_mode_version?: number;
|
|
3791
4058
|
model?: {
|
|
3792
4059
|
id: string;
|
|
3793
4060
|
};
|
|
@@ -3878,6 +4145,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3878
4145
|
speed?: "standard" | "fast";
|
|
3879
4146
|
settings?: {
|
|
3880
4147
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4148
|
+
max_output_tokens?: number;
|
|
3881
4149
|
};
|
|
3882
4150
|
};
|
|
3883
4151
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -3968,6 +4236,29 @@ export declare function createAgent(transport: Transport): {
|
|
|
3968
4236
|
next_page: null;
|
|
3969
4237
|
}>;
|
|
3970
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
|
+
};
|
|
3971
4262
|
};
|
|
3972
4263
|
export declare function createApplication(transport: Transport): {
|
|
3973
4264
|
assets: {
|
|
@@ -4291,6 +4582,11 @@ export declare function createBrowser(transport: Transport): {
|
|
|
4291
4582
|
type: "evaluate";
|
|
4292
4583
|
tab: string;
|
|
4293
4584
|
value: unknown;
|
|
4585
|
+
} | {
|
|
4586
|
+
type: "set_cookie";
|
|
4587
|
+
tab: string;
|
|
4588
|
+
name: string;
|
|
4589
|
+
domain: string;
|
|
4294
4590
|
}>;
|
|
4295
4591
|
};
|
|
4296
4592
|
create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
|
|
@@ -4348,6 +4644,24 @@ export declare function createCanvas(transport: Transport): {
|
|
|
4348
4644
|
update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
|
|
4349
4645
|
};
|
|
4350
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
|
+
};
|
|
4351
4665
|
export declare function createCrm(transport: Transport): {
|
|
4352
4666
|
associations: {
|
|
4353
4667
|
create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
|
|
@@ -4408,6 +4722,32 @@ export declare function createCrm(transport: Transport): {
|
|
|
4408
4722
|
list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
|
|
4409
4723
|
};
|
|
4410
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
|
+
};
|
|
4411
4751
|
export declare function createCut(transport: Transport): {
|
|
4412
4752
|
exports: {
|
|
4413
4753
|
cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
|
|
@@ -4507,6 +4847,7 @@ export declare function createDevops(transport: Transport): {
|
|
|
4507
4847
|
changes: {
|
|
4508
4848
|
abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
|
|
4509
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>;
|
|
4510
4851
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
|
|
4511
4852
|
};
|
|
4512
4853
|
connections: {
|
|
@@ -4578,6 +4919,7 @@ export declare function createDevops(transport: Transport): {
|
|
|
4578
4919
|
};
|
|
4579
4920
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
|
|
4580
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>;
|
|
4581
4923
|
segments: {
|
|
4582
4924
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
|
|
4583
4925
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
|
|
@@ -4766,12 +5108,19 @@ export declare function createMedia(transport: Transport): {
|
|
|
4766
5108
|
};
|
|
4767
5109
|
libraries: {
|
|
4768
5110
|
assets: {
|
|
5111
|
+
align: {
|
|
5112
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaAlignAssetData>) => Promise<Types.MediaJob>;
|
|
5113
|
+
};
|
|
4769
5114
|
batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
|
|
4770
5115
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
|
|
4771
5116
|
delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
|
|
4772
5117
|
frames: {
|
|
4773
5118
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
|
|
4774
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
|
+
};
|
|
4775
5124
|
import: {
|
|
4776
5125
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
|
|
4777
5126
|
};
|
|
@@ -5829,6 +6178,42 @@ export declare function createOrganization(transport: Transport): {
|
|
|
5829
6178
|
}>;
|
|
5830
6179
|
};
|
|
5831
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
|
+
};
|
|
5832
6217
|
export declare function createSandbox(transport: Transport): {
|
|
5833
6218
|
events: {
|
|
5834
6219
|
sandboxes: {
|
|
@@ -6065,6 +6450,14 @@ export declare function createSearch(transport: Transport): {
|
|
|
6065
6450
|
}>;
|
|
6066
6451
|
};
|
|
6067
6452
|
};
|
|
6453
|
+
export declare function createShare(transport: Transport): {
|
|
6454
|
+
permissions: {
|
|
6455
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ShareCreatePermissionData>) => Promise<Types.ShareSharePermission>;
|
|
6456
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.ShareDeletePermissionData>) => Promise<void>;
|
|
6457
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ShareListPermissionsData> | undefined) => Promise<Types.ShareSharePermissionPage>;
|
|
6458
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ShareRetrievePermissionData>) => Promise<Types.ShareSharePermission>;
|
|
6459
|
+
};
|
|
6460
|
+
};
|
|
6068
6461
|
export declare function createStudio(transport: Transport): {
|
|
6069
6462
|
codexes: {
|
|
6070
6463
|
create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
|
|
@@ -6358,7 +6751,9 @@ export declare const resourceFactories: {
|
|
|
6358
6751
|
automation: typeof createAutomation;
|
|
6359
6752
|
browser: typeof createBrowser;
|
|
6360
6753
|
canvas: typeof createCanvas;
|
|
6754
|
+
content: typeof createContent;
|
|
6361
6755
|
crm: typeof createCrm;
|
|
6756
|
+
customer: typeof createCustomer;
|
|
6362
6757
|
cut: typeof createCut;
|
|
6363
6758
|
database: typeof createDatabase;
|
|
6364
6759
|
devops: typeof createDevops;
|
|
@@ -6369,8 +6764,10 @@ export declare const resourceFactories: {
|
|
|
6369
6764
|
model: typeof createModel;
|
|
6370
6765
|
ontology: typeof createOntology;
|
|
6371
6766
|
organization: typeof createOrganization;
|
|
6767
|
+
registry: typeof createRegistry;
|
|
6372
6768
|
sandbox: typeof createSandbox;
|
|
6373
6769
|
search: typeof createSearch;
|
|
6770
|
+
share: typeof createShare;
|
|
6374
6771
|
studio: typeof createStudio;
|
|
6375
6772
|
ticket: typeof createTicket;
|
|
6376
6773
|
vault: typeof createVault;
|