@deepraxis/sdk 0.1.0-dev.d939e0f → 0.1.0-dev.ec3814e

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.
@@ -27,6 +27,26 @@ export declare function createAgent(transport: Transport): {
27
27
  type: "agent";
28
28
  updated_at: string;
29
29
  version: number;
30
+ active_version: number;
31
+ created_by: {
32
+ type: "user";
33
+ id: string;
34
+ name?: string;
35
+ } | {
36
+ type: "api_key";
37
+ id: string;
38
+ } | null;
39
+ note: string | null;
40
+ bindings: Array<{
41
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
42
+ id: string;
43
+ access: "read_only" | "read_write" | "invoke";
44
+ instructions?: string;
45
+ enabled?: boolean;
46
+ } | {
47
+ type: "search" | "browser";
48
+ enabled?: boolean;
49
+ }>;
30
50
  kind: "personal" | "service";
31
51
  computer_id?: string;
32
52
  subagent_model?: string | null;
@@ -132,6 +152,10 @@ export declare function createAgent(transport: Transport): {
132
152
  models?: {
133
153
  allowed: Array<string>;
134
154
  };
155
+ avatar: string | null;
156
+ environment_id?: string | null;
157
+ vault_ids?: Array<string>;
158
+ status: "active" | "archived";
135
159
  }>;
136
160
  create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
137
161
  id: string;
@@ -157,6 +181,26 @@ export declare function createAgent(transport: Transport): {
157
181
  type: "agent";
158
182
  updated_at: string;
159
183
  version: number;
184
+ active_version: number;
185
+ created_by: {
186
+ type: "user";
187
+ id: string;
188
+ name?: string;
189
+ } | {
190
+ type: "api_key";
191
+ id: string;
192
+ } | null;
193
+ note: string | null;
194
+ bindings: Array<{
195
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
196
+ id: string;
197
+ access: "read_only" | "read_write" | "invoke";
198
+ instructions?: string;
199
+ enabled?: boolean;
200
+ } | {
201
+ type: "search" | "browser";
202
+ enabled?: boolean;
203
+ }>;
160
204
  kind: "personal" | "service";
161
205
  computer_id?: string;
162
206
  subagent_model?: string | null;
@@ -262,7 +306,48 @@ export declare function createAgent(transport: Transport): {
262
306
  models?: {
263
307
  allowed: Array<string>;
264
308
  };
309
+ avatar: string | null;
310
+ environment_id?: string | null;
311
+ vault_ids?: Array<string>;
312
+ status: "active" | "archived";
265
313
  }>;
314
+ customers: {
315
+ auth: {
316
+ accessTokens: {
317
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerAccessTokenData>) => Promise<{
318
+ type: "customer_access_token";
319
+ access_token: string;
320
+ expires_at: string;
321
+ session_expires_at: string;
322
+ customer: {
323
+ id: string;
324
+ type: "identified" | "anonymous";
325
+ };
326
+ }>;
327
+ deleteCurrent: (options: import("./core/transport.js").CallOptions<Types.DeleteCurrentCustomerAccessTokenData>) => Promise<void>;
328
+ renew: {
329
+ create: (options: import("./core/transport.js").CallOptions<Types.RenewCustomerAccessTokenData>) => Promise<{
330
+ type: "customer_access_token";
331
+ access_token: string;
332
+ expires_at: string;
333
+ session_expires_at: string;
334
+ customer: {
335
+ id: string;
336
+ type: "identified" | "anonymous";
337
+ };
338
+ }>;
339
+ };
340
+ };
341
+ grantCodes: {
342
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerGrantCodeData>) => Promise<{
343
+ type: "customer_grant_code";
344
+ code: string;
345
+ customer_id: string;
346
+ expires_at: string;
347
+ }>;
348
+ };
349
+ };
350
+ };
266
351
  endUsers: {
267
352
  block: {
268
353
  create: (options: import("./core/transport.js").CallOptions<Types.BlockEndUserData>) => Promise<{
@@ -274,6 +359,10 @@ export declare function createAgent(transport: Transport): {
274
359
  blocked: boolean;
275
360
  }>;
276
361
  };
362
+ delete: (options: import("./core/transport.js").CallOptions<Types.DeleteEndUserData>) => Promise<{
363
+ id: string;
364
+ status: "pending";
365
+ }>;
277
366
  list: (options: import("./core/transport.js").CallOptions<Types.ListEndUsersData>) => Promise<{
278
367
  data: Array<{
279
368
  external_user_id: string;
@@ -300,6 +389,21 @@ export declare function createAgent(transport: Transport): {
300
389
  updated_at: string;
301
390
  }>;
302
391
  }>;
392
+ retrieveDeletion: (options: import("./core/transport.js").CallOptions<Types.GetEndUserDeletionData>) => Promise<{
393
+ id: string;
394
+ status: "pending" | "snapshotting" | "deleting" | "done" | "failed";
395
+ counts: {
396
+ sessions?: number;
397
+ events?: number;
398
+ messages?: number;
399
+ d1_rows?: number;
400
+ attachments?: number;
401
+ };
402
+ snapshot_key?: string;
403
+ error?: string;
404
+ created_at: string;
405
+ updated_at: string;
406
+ }>;
303
407
  revokeTokens: {
304
408
  create: (options: import("./core/transport.js").CallOptions<Types.RevokeEndUserTokensData>) => Promise<{
305
409
  revoked: number;
@@ -341,6 +445,26 @@ export declare function createAgent(transport: Transport): {
341
445
  type: "agent";
342
446
  updated_at: string;
343
447
  version: number;
448
+ active_version: number;
449
+ created_by: {
450
+ type: "user";
451
+ id: string;
452
+ name?: string;
453
+ } | {
454
+ type: "api_key";
455
+ id: string;
456
+ } | null;
457
+ note: string | null;
458
+ bindings: Array<{
459
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
460
+ id: string;
461
+ access: "read_only" | "read_write" | "invoke";
462
+ instructions?: string;
463
+ enabled?: boolean;
464
+ } | {
465
+ type: "search" | "browser";
466
+ enabled?: boolean;
467
+ }>;
344
468
  kind: "personal" | "service";
345
469
  computer_id?: string;
346
470
  subagent_model?: string | null;
@@ -446,6 +570,10 @@ export declare function createAgent(transport: Transport): {
446
570
  models?: {
447
571
  allowed: Array<string>;
448
572
  };
573
+ avatar: string | null;
574
+ environment_id?: string | null;
575
+ vault_ids?: Array<string>;
576
+ status: "active" | "archived";
449
577
  }>;
450
578
  next_page: string | null;
451
579
  }>;
@@ -473,6 +601,26 @@ export declare function createAgent(transport: Transport): {
473
601
  type: "agent";
474
602
  updated_at: string;
475
603
  version: number;
604
+ active_version: number;
605
+ created_by: {
606
+ type: "user";
607
+ id: string;
608
+ name?: string;
609
+ } | {
610
+ type: "api_key";
611
+ id: string;
612
+ } | null;
613
+ note: string | null;
614
+ bindings: Array<{
615
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
616
+ id: string;
617
+ access: "read_only" | "read_write" | "invoke";
618
+ instructions?: string;
619
+ enabled?: boolean;
620
+ } | {
621
+ type: "search" | "browser";
622
+ enabled?: boolean;
623
+ }>;
476
624
  kind: "personal" | "service";
477
625
  computer_id?: string;
478
626
  subagent_model?: string | null;
@@ -578,138 +726,880 @@ export declare function createAgent(transport: Transport): {
578
726
  models?: {
579
727
  allowed: Array<string>;
580
728
  };
729
+ avatar: string | null;
730
+ environment_id?: string | null;
731
+ vault_ids?: Array<string>;
732
+ status: "active" | "archived";
581
733
  }>;
582
- update: (options: import("./core/transport.js").CallOptions<Types.AgentsUpdateData>) => Promise<{
583
- id: string;
584
- archived_at: null | string;
585
- created_at: string;
586
- description: null | string;
587
- mcp_servers: Array<Types.AgentManaged36>;
588
- metadata: Types.AgentManaged37;
589
- model: {
590
- id: "claude-opus-5-5" | "claude-fable-5-1" | "claude-sonnet-5" | "claude-fable-5" | "claude-opus-5" | "claude-opus-4-8" | "claude-opus-4-7" | "claude-opus-4-6" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-haiku-4-5-20251001" | "claude-opus-4-5" | "claude-opus-4-5-20251101" | "claude-sonnet-4-5" | "claude-sonnet-4-5-20250929" | string;
591
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
592
- inference_geo?: string;
593
- speed?: "standard" | "fast";
594
- settings?: {
595
- reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
734
+ unarchive: {
735
+ create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
736
+ id: string;
737
+ archived_at: null | string;
738
+ created_at: string;
739
+ description: null | string;
740
+ mcp_servers: Array<{
741
+ type: "url";
742
+ name: string;
743
+ url: string;
744
+ headers?: {
745
+ [key: string]: string;
746
+ };
747
+ timeout_ms?: number;
748
+ } | {
749
+ type: "sse";
750
+ name: string;
751
+ url: string;
752
+ headers?: {
753
+ [key: string]: string;
754
+ };
755
+ timeout_ms?: number;
756
+ } | {
757
+ type: "stdio";
758
+ name: string;
759
+ command: string;
760
+ args?: Array<string>;
761
+ env?: {
762
+ [key: string]: string;
763
+ };
764
+ timeout_ms?: number;
765
+ }>;
766
+ metadata: {
767
+ [key: string]: string;
768
+ };
769
+ model: {
770
+ id: "claude-opus-5-5" | "claude-fable-5-1" | "claude-sonnet-5" | "claude-fable-5" | "claude-opus-5" | "claude-opus-4-8" | "claude-opus-4-7" | "claude-opus-4-6" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-haiku-4-5-20251001" | "claude-opus-4-5" | "claude-opus-4-5-20251101" | "claude-sonnet-4-5" | "claude-sonnet-4-5-20250929" | string;
771
+ effort?: {
772
+ type: "low";
773
+ } | {
774
+ type: "medium";
775
+ } | {
776
+ type: "high";
777
+ } | {
778
+ type: "xhigh";
779
+ } | {
780
+ type: "max";
781
+ };
782
+ inference_geo?: string;
783
+ speed?: "standard" | "fast";
784
+ settings?: {
785
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
786
+ };
787
+ };
788
+ multiagent: null | {
789
+ agents: Array<{
790
+ id: string;
791
+ type: "agent";
792
+ version: number;
793
+ } | {
794
+ model: string;
795
+ type: "advisor";
796
+ }>;
797
+ type: "coordinator";
596
798
  };
597
- };
598
- multiagent: null | Types.AgentManaged39;
599
- name: string;
600
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
601
- system: null | string;
602
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
603
- type: "agent";
604
- updated_at: string;
605
- version: number;
606
- kind: "personal" | "service";
607
- computer_id?: string;
608
- subagent_model?: string | null;
609
- subagents?: Array<{
610
- name: string;
611
- description: string;
612
- prompt: string;
613
- tools?: Array<string>;
614
- disallowed_tools?: Array<string>;
615
- model?: string;
616
- }> | null;
617
- commands?: Array<{
618
799
  name: string;
619
- description?: string;
620
- argument_hint?: string;
621
- prompt: string;
622
- }> | null;
623
- settings?: {
624
- hooks?: {
625
- SessionStart?: Array<{
626
- matcher?: string;
627
- hooks: Array<{
628
- type: "command";
629
- command: string;
630
- timeout?: number;
631
- async?: boolean;
632
- enabled?: boolean;
800
+ skills: Array<{
801
+ skill_id: string;
802
+ type: "anthropic";
803
+ version: string;
804
+ } | {
805
+ skill_id: string;
806
+ type: "custom";
807
+ version: string;
808
+ }>;
809
+ system: null | string;
810
+ tools: Array<{
811
+ configs: Array<{
812
+ enabled: boolean;
813
+ name: "bash";
814
+ permission_policy: {
815
+ type: "always_allow";
816
+ } | {
817
+ type: "always_ask";
818
+ } | {
819
+ type: "auto";
820
+ };
821
+ type: "bash";
822
+ } | {
823
+ enabled: boolean;
824
+ name: "edit";
825
+ permission_policy: {
826
+ type: "always_allow";
827
+ } | {
828
+ type: "always_ask";
829
+ } | {
830
+ type: "auto";
831
+ };
832
+ type: "edit";
833
+ } | {
834
+ enabled: boolean;
835
+ name: "read";
836
+ permission_policy: {
837
+ type: "always_allow";
838
+ } | {
839
+ type: "always_ask";
840
+ } | {
841
+ type: "auto";
842
+ };
843
+ type: "read";
844
+ } | {
845
+ enabled: boolean;
846
+ name: "write";
847
+ permission_policy: {
848
+ type: "always_allow";
849
+ } | {
850
+ type: "always_ask";
851
+ } | {
852
+ type: "auto";
853
+ };
854
+ type: "write";
855
+ } | {
856
+ enabled: boolean;
857
+ name: "glob";
858
+ permission_policy: {
859
+ type: "always_allow";
860
+ } | {
861
+ type: "always_ask";
862
+ } | {
863
+ type: "auto";
864
+ };
865
+ type: "glob";
866
+ } | {
867
+ enabled: boolean;
868
+ name: "grep";
869
+ permission_policy: {
870
+ type: "always_allow";
871
+ } | {
872
+ type: "always_ask";
873
+ } | {
874
+ type: "auto";
875
+ };
876
+ type: "grep";
877
+ } | {
878
+ enabled: boolean;
879
+ name: "web_fetch";
880
+ permission_policy: {
881
+ type: "always_allow";
882
+ } | {
883
+ type: "always_ask";
884
+ } | {
885
+ type: "auto";
886
+ };
887
+ type: "web_fetch";
888
+ allowed_domains?: Array<string>;
889
+ blocked_domains?: Array<string>;
890
+ max_content_tokens?: null | number;
891
+ } | {
892
+ enabled: boolean;
893
+ name: "web_search";
894
+ permission_policy: {
895
+ type: "always_allow";
896
+ } | {
897
+ type: "always_ask";
898
+ } | {
899
+ type: "auto";
900
+ };
901
+ type: "web_search";
902
+ allowed_domains?: Array<string>;
903
+ blocked_domains?: Array<string>;
904
+ user_location?: null | {
905
+ type: "approximate";
906
+ city?: null | string;
907
+ country?: null | string;
908
+ region?: null | string;
909
+ timezone?: null | string;
910
+ };
911
+ } | {
912
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
913
+ enabled: boolean;
914
+ permission_policy: {
915
+ type: "always_allow" | "always_ask";
916
+ };
917
+ }>;
918
+ default_config: {
919
+ enabled: boolean;
920
+ permission_policy: {
921
+ type: "always_allow";
922
+ } | {
923
+ type: "always_ask";
924
+ } | {
925
+ type: "auto";
926
+ };
927
+ };
928
+ type: "agent_toolset_20260401";
929
+ } | {
930
+ type: "mcp_toolset";
931
+ mcp_server_name: string;
932
+ default_config?: {
933
+ enabled?: boolean | null;
934
+ permission_policy?: null | {
935
+ type: "always_allow" | "always_ask";
936
+ };
937
+ } | null;
938
+ configs?: Array<{
939
+ name: string;
940
+ enabled?: boolean | null;
941
+ permission_policy?: null | {
942
+ type: "always_allow" | "always_ask";
943
+ };
944
+ }> | null;
945
+ } | {
946
+ description: string;
947
+ input_schema: {
948
+ type: "object";
949
+ properties?: null | {
950
+ [key: string]: unknown;
951
+ };
952
+ required?: null | Array<string>;
953
+ [key: string]: unknown;
954
+ };
955
+ name: string;
956
+ type: "custom";
957
+ }>;
958
+ type: "agent";
959
+ updated_at: string;
960
+ version: number;
961
+ active_version: number;
962
+ created_by: {
963
+ type: "user";
964
+ id: string;
965
+ name?: string;
966
+ } | {
967
+ type: "api_key";
968
+ id: string;
969
+ } | null;
970
+ note: string | null;
971
+ bindings: Array<{
972
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
973
+ id: string;
974
+ access: "read_only" | "read_write" | "invoke";
975
+ instructions?: string;
976
+ enabled?: boolean;
977
+ } | {
978
+ type: "search" | "browser";
979
+ enabled?: boolean;
980
+ }>;
981
+ kind: "personal" | "service";
982
+ computer_id?: string;
983
+ subagent_model?: string | null;
984
+ subagents?: Array<{
985
+ name: string;
986
+ description: string;
987
+ prompt: string;
988
+ tools?: Array<string>;
989
+ disallowed_tools?: Array<string>;
990
+ model?: string;
991
+ }> | null;
992
+ commands?: Array<{
993
+ name: string;
994
+ description?: string;
995
+ argument_hint?: string;
996
+ prompt: string;
997
+ }> | null;
998
+ settings?: {
999
+ hooks?: {
1000
+ SessionStart?: Array<{
1001
+ matcher?: string;
1002
+ hooks: Array<{
1003
+ type: "command";
1004
+ command: string;
1005
+ timeout?: number;
1006
+ async?: boolean;
1007
+ enabled?: boolean;
1008
+ }>;
1009
+ }>;
1010
+ UserPromptSubmit?: Array<{
1011
+ matcher?: string;
1012
+ hooks: Array<{
1013
+ type: "command";
1014
+ command: string;
1015
+ timeout?: number;
1016
+ async?: boolean;
1017
+ enabled?: boolean;
1018
+ }>;
1019
+ }>;
1020
+ PreToolUse?: Array<{
1021
+ matcher?: string;
1022
+ hooks: Array<{
1023
+ type: "command";
1024
+ command: string;
1025
+ timeout?: number;
1026
+ async?: boolean;
1027
+ enabled?: boolean;
1028
+ }>;
1029
+ }>;
1030
+ PermissionRequest?: Array<{
1031
+ matcher?: string;
1032
+ hooks: Array<{
1033
+ type: "command";
1034
+ command: string;
1035
+ timeout?: number;
1036
+ async?: boolean;
1037
+ enabled?: boolean;
1038
+ }>;
1039
+ }>;
1040
+ PostToolUse?: Array<{
1041
+ matcher?: string;
1042
+ hooks: Array<{
1043
+ type: "command";
1044
+ command: string;
1045
+ timeout?: number;
1046
+ async?: boolean;
1047
+ enabled?: boolean;
1048
+ }>;
1049
+ }>;
1050
+ PostToolUseFailure?: Array<{
1051
+ matcher?: string;
1052
+ hooks: Array<{
1053
+ type: "command";
1054
+ command: string;
1055
+ timeout?: number;
1056
+ async?: boolean;
1057
+ enabled?: boolean;
1058
+ }>;
1059
+ }>;
1060
+ Stop?: Array<{
1061
+ matcher?: string;
1062
+ hooks: Array<{
1063
+ type: "command";
1064
+ command: string;
1065
+ timeout?: number;
1066
+ async?: boolean;
1067
+ enabled?: boolean;
1068
+ }>;
1069
+ }>;
1070
+ };
1071
+ allowManagedHooksOnly?: boolean;
1072
+ allowManagedMcpServersOnly?: boolean;
1073
+ allowManagedPermissionRulesOnly?: boolean;
1074
+ autoMemoryEnabled?: boolean;
1075
+ disabled?: {
1076
+ subagents?: Array<string>;
1077
+ commands?: Array<string>;
1078
+ skills?: Array<string>;
1079
+ mcpServers?: Array<string>;
1080
+ hooks?: Array<string>;
1081
+ };
1082
+ } | null;
1083
+ models?: {
1084
+ allowed: Array<string>;
1085
+ };
1086
+ avatar: string | null;
1087
+ environment_id?: string | null;
1088
+ vault_ids?: Array<string>;
1089
+ status: "active" | "archived";
1090
+ }>;
1091
+ };
1092
+ update: (options: import("./core/transport.js").CallOptions<Types.AgentsUpdateData>) => Promise<{
1093
+ id: string;
1094
+ archived_at: null | string;
1095
+ created_at: string;
1096
+ description: null | string;
1097
+ mcp_servers: Array<Types.AgentManaged36>;
1098
+ metadata: Types.AgentManaged37;
1099
+ model: {
1100
+ id: "claude-opus-5-5" | "claude-fable-5-1" | "claude-sonnet-5" | "claude-fable-5" | "claude-opus-5" | "claude-opus-4-8" | "claude-opus-4-7" | "claude-opus-4-6" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-haiku-4-5-20251001" | "claude-opus-4-5" | "claude-opus-4-5-20251101" | "claude-sonnet-4-5" | "claude-sonnet-4-5-20250929" | string;
1101
+ effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1102
+ inference_geo?: string;
1103
+ speed?: "standard" | "fast";
1104
+ settings?: {
1105
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1106
+ };
1107
+ };
1108
+ multiagent: null | Types.AgentManaged39;
1109
+ name: string;
1110
+ skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1111
+ system: null | string;
1112
+ tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
1113
+ type: "agent";
1114
+ updated_at: string;
1115
+ version: number;
1116
+ active_version: number;
1117
+ created_by: {
1118
+ type: "user";
1119
+ id: string;
1120
+ name?: string;
1121
+ } | {
1122
+ type: "api_key";
1123
+ id: string;
1124
+ } | null;
1125
+ note: string | null;
1126
+ bindings: Array<{
1127
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1128
+ id: string;
1129
+ access: "read_only" | "read_write" | "invoke";
1130
+ instructions?: string;
1131
+ enabled?: boolean;
1132
+ } | {
1133
+ type: "search" | "browser";
1134
+ enabled?: boolean;
1135
+ }>;
1136
+ kind: "personal" | "service";
1137
+ computer_id?: string;
1138
+ subagent_model?: string | null;
1139
+ subagents?: Array<{
1140
+ name: string;
1141
+ description: string;
1142
+ prompt: string;
1143
+ tools?: Array<string>;
1144
+ disallowed_tools?: Array<string>;
1145
+ model?: string;
1146
+ }> | null;
1147
+ commands?: Array<{
1148
+ name: string;
1149
+ description?: string;
1150
+ argument_hint?: string;
1151
+ prompt: string;
1152
+ }> | null;
1153
+ settings?: {
1154
+ hooks?: {
1155
+ SessionStart?: Array<{
1156
+ matcher?: string;
1157
+ hooks: Array<{
1158
+ type: "command";
1159
+ command: string;
1160
+ timeout?: number;
1161
+ async?: boolean;
1162
+ enabled?: boolean;
1163
+ }>;
1164
+ }>;
1165
+ UserPromptSubmit?: Array<{
1166
+ matcher?: string;
1167
+ hooks: Array<{
1168
+ type: "command";
1169
+ command: string;
1170
+ timeout?: number;
1171
+ async?: boolean;
1172
+ enabled?: boolean;
1173
+ }>;
1174
+ }>;
1175
+ PreToolUse?: Array<{
1176
+ matcher?: string;
1177
+ hooks: Array<{
1178
+ type: "command";
1179
+ command: string;
1180
+ timeout?: number;
1181
+ async?: boolean;
1182
+ enabled?: boolean;
1183
+ }>;
1184
+ }>;
1185
+ PermissionRequest?: Array<{
1186
+ matcher?: string;
1187
+ hooks: Array<{
1188
+ type: "command";
1189
+ command: string;
1190
+ timeout?: number;
1191
+ async?: boolean;
1192
+ enabled?: boolean;
1193
+ }>;
1194
+ }>;
1195
+ PostToolUse?: Array<{
1196
+ matcher?: string;
1197
+ hooks: Array<{
1198
+ type: "command";
1199
+ command: string;
1200
+ timeout?: number;
1201
+ async?: boolean;
1202
+ enabled?: boolean;
1203
+ }>;
1204
+ }>;
1205
+ PostToolUseFailure?: Array<{
1206
+ matcher?: string;
1207
+ hooks: Array<{
1208
+ type: "command";
1209
+ command: string;
1210
+ timeout?: number;
1211
+ async?: boolean;
1212
+ enabled?: boolean;
1213
+ }>;
1214
+ }>;
1215
+ Stop?: Array<{
1216
+ matcher?: string;
1217
+ hooks: Array<{
1218
+ type: "command";
1219
+ command: string;
1220
+ timeout?: number;
1221
+ async?: boolean;
1222
+ enabled?: boolean;
1223
+ }>;
1224
+ }>;
1225
+ };
1226
+ allowManagedHooksOnly?: boolean;
1227
+ allowManagedMcpServersOnly?: boolean;
1228
+ allowManagedPermissionRulesOnly?: boolean;
1229
+ autoMemoryEnabled?: boolean;
1230
+ disabled?: {
1231
+ subagents?: Array<string>;
1232
+ commands?: Array<string>;
1233
+ skills?: Array<string>;
1234
+ mcpServers?: Array<string>;
1235
+ hooks?: Array<string>;
1236
+ };
1237
+ } | null;
1238
+ models?: {
1239
+ allowed: Array<string>;
1240
+ };
1241
+ avatar: string | null;
1242
+ environment_id?: string | null;
1243
+ vault_ids?: Array<string>;
1244
+ status: "active" | "archived";
1245
+ }>;
1246
+ versions: {
1247
+ apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
1248
+ id: string;
1249
+ archived_at: null | string;
1250
+ created_at: string;
1251
+ description: null | string;
1252
+ mcp_servers: Array<{
1253
+ type: "url";
1254
+ name: string;
1255
+ url: string;
1256
+ headers?: {
1257
+ [key: string]: string;
1258
+ };
1259
+ timeout_ms?: number;
1260
+ } | {
1261
+ type: "sse";
1262
+ name: string;
1263
+ url: string;
1264
+ headers?: {
1265
+ [key: string]: string;
1266
+ };
1267
+ timeout_ms?: number;
1268
+ } | {
1269
+ type: "stdio";
1270
+ name: string;
1271
+ command: string;
1272
+ args?: Array<string>;
1273
+ env?: {
1274
+ [key: string]: string;
1275
+ };
1276
+ timeout_ms?: number;
1277
+ }>;
1278
+ metadata: {
1279
+ [key: string]: string;
1280
+ };
1281
+ model: {
1282
+ id: "claude-opus-5-5" | "claude-fable-5-1" | "claude-sonnet-5" | "claude-fable-5" | "claude-opus-5" | "claude-opus-4-8" | "claude-opus-4-7" | "claude-opus-4-6" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-haiku-4-5-20251001" | "claude-opus-4-5" | "claude-opus-4-5-20251101" | "claude-sonnet-4-5" | "claude-sonnet-4-5-20250929" | string;
1283
+ effort?: {
1284
+ type: "low";
1285
+ } | {
1286
+ type: "medium";
1287
+ } | {
1288
+ type: "high";
1289
+ } | {
1290
+ type: "xhigh";
1291
+ } | {
1292
+ type: "max";
1293
+ };
1294
+ inference_geo?: string;
1295
+ speed?: "standard" | "fast";
1296
+ settings?: {
1297
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1298
+ };
1299
+ };
1300
+ multiagent: null | {
1301
+ agents: Array<{
1302
+ id: string;
1303
+ type: "agent";
1304
+ version: number;
1305
+ } | {
1306
+ model: string;
1307
+ type: "advisor";
1308
+ }>;
1309
+ type: "coordinator";
1310
+ };
1311
+ name: string;
1312
+ skills: Array<{
1313
+ skill_id: string;
1314
+ type: "anthropic";
1315
+ version: string;
1316
+ } | {
1317
+ skill_id: string;
1318
+ type: "custom";
1319
+ version: string;
1320
+ }>;
1321
+ system: null | string;
1322
+ tools: Array<{
1323
+ configs: Array<{
1324
+ enabled: boolean;
1325
+ name: "bash";
1326
+ permission_policy: {
1327
+ type: "always_allow";
1328
+ } | {
1329
+ type: "always_ask";
1330
+ } | {
1331
+ type: "auto";
1332
+ };
1333
+ type: "bash";
1334
+ } | {
1335
+ enabled: boolean;
1336
+ name: "edit";
1337
+ permission_policy: {
1338
+ type: "always_allow";
1339
+ } | {
1340
+ type: "always_ask";
1341
+ } | {
1342
+ type: "auto";
1343
+ };
1344
+ type: "edit";
1345
+ } | {
1346
+ enabled: boolean;
1347
+ name: "read";
1348
+ permission_policy: {
1349
+ type: "always_allow";
1350
+ } | {
1351
+ type: "always_ask";
1352
+ } | {
1353
+ type: "auto";
1354
+ };
1355
+ type: "read";
1356
+ } | {
1357
+ enabled: boolean;
1358
+ name: "write";
1359
+ permission_policy: {
1360
+ type: "always_allow";
1361
+ } | {
1362
+ type: "always_ask";
1363
+ } | {
1364
+ type: "auto";
1365
+ };
1366
+ type: "write";
1367
+ } | {
1368
+ enabled: boolean;
1369
+ name: "glob";
1370
+ permission_policy: {
1371
+ type: "always_allow";
1372
+ } | {
1373
+ type: "always_ask";
1374
+ } | {
1375
+ type: "auto";
1376
+ };
1377
+ type: "glob";
1378
+ } | {
1379
+ enabled: boolean;
1380
+ name: "grep";
1381
+ permission_policy: {
1382
+ type: "always_allow";
1383
+ } | {
1384
+ type: "always_ask";
1385
+ } | {
1386
+ type: "auto";
1387
+ };
1388
+ type: "grep";
1389
+ } | {
1390
+ enabled: boolean;
1391
+ name: "web_fetch";
1392
+ permission_policy: {
1393
+ type: "always_allow";
1394
+ } | {
1395
+ type: "always_ask";
1396
+ } | {
1397
+ type: "auto";
1398
+ };
1399
+ type: "web_fetch";
1400
+ allowed_domains?: Array<string>;
1401
+ blocked_domains?: Array<string>;
1402
+ max_content_tokens?: null | number;
1403
+ } | {
1404
+ enabled: boolean;
1405
+ name: "web_search";
1406
+ permission_policy: {
1407
+ type: "always_allow";
1408
+ } | {
1409
+ type: "always_ask";
1410
+ } | {
1411
+ type: "auto";
1412
+ };
1413
+ type: "web_search";
1414
+ allowed_domains?: Array<string>;
1415
+ blocked_domains?: Array<string>;
1416
+ user_location?: null | {
1417
+ type: "approximate";
1418
+ city?: null | string;
1419
+ country?: null | string;
1420
+ region?: null | string;
1421
+ timezone?: null | string;
1422
+ };
1423
+ } | {
1424
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
1425
+ enabled: boolean;
1426
+ permission_policy: {
1427
+ type: "always_allow" | "always_ask";
1428
+ };
1429
+ }>;
1430
+ default_config: {
1431
+ enabled: boolean;
1432
+ permission_policy: {
1433
+ type: "always_allow";
1434
+ } | {
1435
+ type: "always_ask";
1436
+ } | {
1437
+ type: "auto";
1438
+ };
1439
+ };
1440
+ type: "agent_toolset_20260401";
1441
+ } | {
1442
+ type: "mcp_toolset";
1443
+ mcp_server_name: string;
1444
+ default_config?: {
1445
+ enabled?: boolean | null;
1446
+ permission_policy?: null | {
1447
+ type: "always_allow" | "always_ask";
1448
+ };
1449
+ } | null;
1450
+ configs?: Array<{
1451
+ name: string;
1452
+ enabled?: boolean | null;
1453
+ permission_policy?: null | {
1454
+ type: "always_allow" | "always_ask";
1455
+ };
1456
+ }> | null;
1457
+ } | {
1458
+ description: string;
1459
+ input_schema: {
1460
+ type: "object";
1461
+ properties?: null | {
1462
+ [key: string]: unknown;
1463
+ };
1464
+ required?: null | Array<string>;
1465
+ [key: string]: unknown;
1466
+ };
1467
+ name: string;
1468
+ type: "custom";
1469
+ }>;
1470
+ type: "agent";
1471
+ updated_at: string;
1472
+ version: number;
1473
+ active_version: number;
1474
+ created_by: {
1475
+ type: "user";
1476
+ id: string;
1477
+ name?: string;
1478
+ } | {
1479
+ type: "api_key";
1480
+ id: string;
1481
+ } | null;
1482
+ note: string | null;
1483
+ bindings: Array<{
1484
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1485
+ id: string;
1486
+ access: "read_only" | "read_write" | "invoke";
1487
+ instructions?: string;
1488
+ enabled?: boolean;
1489
+ } | {
1490
+ type: "search" | "browser";
1491
+ enabled?: boolean;
1492
+ }>;
1493
+ kind: "personal" | "service";
1494
+ computer_id?: string;
1495
+ subagent_model?: string | null;
1496
+ subagents?: Array<{
1497
+ name: string;
1498
+ description: string;
1499
+ prompt: string;
1500
+ tools?: Array<string>;
1501
+ disallowed_tools?: Array<string>;
1502
+ model?: string;
1503
+ }> | null;
1504
+ commands?: Array<{
1505
+ name: string;
1506
+ description?: string;
1507
+ argument_hint?: string;
1508
+ prompt: string;
1509
+ }> | null;
1510
+ settings?: {
1511
+ hooks?: {
1512
+ SessionStart?: Array<{
1513
+ matcher?: string;
1514
+ hooks: Array<{
1515
+ type: "command";
1516
+ command: string;
1517
+ timeout?: number;
1518
+ async?: boolean;
1519
+ enabled?: boolean;
1520
+ }>;
633
1521
  }>;
634
- }>;
635
- UserPromptSubmit?: Array<{
636
- matcher?: string;
637
- hooks: Array<{
638
- type: "command";
639
- command: string;
640
- timeout?: number;
641
- async?: boolean;
642
- enabled?: boolean;
1522
+ UserPromptSubmit?: Array<{
1523
+ matcher?: string;
1524
+ hooks: Array<{
1525
+ type: "command";
1526
+ command: string;
1527
+ timeout?: number;
1528
+ async?: boolean;
1529
+ enabled?: boolean;
1530
+ }>;
643
1531
  }>;
644
- }>;
645
- PreToolUse?: Array<{
646
- matcher?: string;
647
- hooks: Array<{
648
- type: "command";
649
- command: string;
650
- timeout?: number;
651
- async?: boolean;
652
- enabled?: boolean;
1532
+ PreToolUse?: Array<{
1533
+ matcher?: string;
1534
+ hooks: Array<{
1535
+ type: "command";
1536
+ command: string;
1537
+ timeout?: number;
1538
+ async?: boolean;
1539
+ enabled?: boolean;
1540
+ }>;
653
1541
  }>;
654
- }>;
655
- PermissionRequest?: Array<{
656
- matcher?: string;
657
- hooks: Array<{
658
- type: "command";
659
- command: string;
660
- timeout?: number;
661
- async?: boolean;
662
- enabled?: boolean;
1542
+ PermissionRequest?: Array<{
1543
+ matcher?: string;
1544
+ hooks: Array<{
1545
+ type: "command";
1546
+ command: string;
1547
+ timeout?: number;
1548
+ async?: boolean;
1549
+ enabled?: boolean;
1550
+ }>;
663
1551
  }>;
664
- }>;
665
- PostToolUse?: Array<{
666
- matcher?: string;
667
- hooks: Array<{
668
- type: "command";
669
- command: string;
670
- timeout?: number;
671
- async?: boolean;
672
- enabled?: boolean;
1552
+ PostToolUse?: Array<{
1553
+ matcher?: string;
1554
+ hooks: Array<{
1555
+ type: "command";
1556
+ command: string;
1557
+ timeout?: number;
1558
+ async?: boolean;
1559
+ enabled?: boolean;
1560
+ }>;
673
1561
  }>;
674
- }>;
675
- PostToolUseFailure?: Array<{
676
- matcher?: string;
677
- hooks: Array<{
678
- type: "command";
679
- command: string;
680
- timeout?: number;
681
- async?: boolean;
682
- enabled?: boolean;
1562
+ PostToolUseFailure?: Array<{
1563
+ matcher?: string;
1564
+ hooks: Array<{
1565
+ type: "command";
1566
+ command: string;
1567
+ timeout?: number;
1568
+ async?: boolean;
1569
+ enabled?: boolean;
1570
+ }>;
683
1571
  }>;
684
- }>;
685
- Stop?: Array<{
686
- matcher?: string;
687
- hooks: Array<{
688
- type: "command";
689
- command: string;
690
- timeout?: number;
691
- async?: boolean;
692
- enabled?: boolean;
1572
+ Stop?: Array<{
1573
+ matcher?: string;
1574
+ hooks: Array<{
1575
+ type: "command";
1576
+ command: string;
1577
+ timeout?: number;
1578
+ async?: boolean;
1579
+ enabled?: boolean;
1580
+ }>;
693
1581
  }>;
694
- }>;
695
- };
696
- allowManagedHooksOnly?: boolean;
697
- allowManagedMcpServersOnly?: boolean;
698
- allowManagedPermissionRulesOnly?: boolean;
699
- autoMemoryEnabled?: boolean;
700
- disabled?: {
701
- subagents?: Array<string>;
702
- commands?: Array<string>;
703
- skills?: Array<string>;
704
- mcpServers?: Array<string>;
705
- hooks?: Array<string>;
1582
+ };
1583
+ allowManagedHooksOnly?: boolean;
1584
+ allowManagedMcpServersOnly?: boolean;
1585
+ allowManagedPermissionRulesOnly?: boolean;
1586
+ autoMemoryEnabled?: boolean;
1587
+ disabled?: {
1588
+ subagents?: Array<string>;
1589
+ commands?: Array<string>;
1590
+ skills?: Array<string>;
1591
+ mcpServers?: Array<string>;
1592
+ hooks?: Array<string>;
1593
+ };
1594
+ } | null;
1595
+ models?: {
1596
+ allowed: Array<string>;
706
1597
  };
707
- } | null;
708
- models?: {
709
- allowed: Array<string>;
710
- };
711
- }>;
712
- versions: {
1598
+ avatar: string | null;
1599
+ environment_id?: string | null;
1600
+ vault_ids?: Array<string>;
1601
+ status: "active" | "archived";
1602
+ }>;
713
1603
  list: (options: import("./core/transport.js").CallOptions<Types.AgentsVersionsListData>) => Promise<{
714
1604
  data: Array<{
715
1605
  id: string;
@@ -735,6 +1625,26 @@ export declare function createAgent(transport: Transport): {
735
1625
  type: "agent";
736
1626
  updated_at: string;
737
1627
  version: number;
1628
+ active_version: number;
1629
+ created_by: {
1630
+ type: "user";
1631
+ id: string;
1632
+ name?: string;
1633
+ } | {
1634
+ type: "api_key";
1635
+ id: string;
1636
+ } | null;
1637
+ note: string | null;
1638
+ bindings: Array<{
1639
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1640
+ id: string;
1641
+ access: "read_only" | "read_write" | "invoke";
1642
+ instructions?: string;
1643
+ enabled?: boolean;
1644
+ } | {
1645
+ type: "search" | "browser";
1646
+ enabled?: boolean;
1647
+ }>;
738
1648
  kind: "personal" | "service";
739
1649
  computer_id?: string;
740
1650
  subagent_model?: string | null;
@@ -840,6 +1750,10 @@ export declare function createAgent(transport: Transport): {
840
1750
  models?: {
841
1751
  allowed: Array<string>;
842
1752
  };
1753
+ avatar: string | null;
1754
+ environment_id?: string | null;
1755
+ vault_ids?: Array<string>;
1756
+ status: "active" | "archived";
843
1757
  }>;
844
1758
  next_page: string | null;
845
1759
  }>;
@@ -851,6 +1765,7 @@ export declare function createAgent(transport: Transport): {
851
1765
  id: string;
852
1766
  name: string;
853
1767
  sandbox_id: string | null;
1768
+ machine_state: "not_started" | "provisioned";
854
1769
  environment_id: string | null;
855
1770
  status: "active" | "archived";
856
1771
  created_at: string;
@@ -873,12 +1788,16 @@ export declare function createAgent(transport: Transport): {
873
1788
  sandbox_id: string;
874
1789
  envd_access_token: string;
875
1790
  template_id: string;
1791
+ tier: "light" | "heavy";
1792
+ lease_id: string | null;
1793
+ lease_expires_at: string | null;
876
1794
  }>;
877
1795
  create: (options: import("./core/transport.js").CallOptions<Types.ComputersCreateData>) => Promise<{
878
1796
  type: "computer";
879
1797
  id: string;
880
1798
  name: string;
881
1799
  sandbox_id: string | null;
1800
+ machine_state: "not_started" | "provisioned";
882
1801
  environment_id: string | null;
883
1802
  status: "active" | "archived";
884
1803
  created_at: string;
@@ -902,15 +1821,29 @@ export declare function createAgent(transport: Transport): {
902
1821
  updated_at: string | null;
903
1822
  }>;
904
1823
  has_more: false;
1824
+ tier: "light" | "heavy";
905
1825
  }>;
906
1826
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
907
1827
  };
1828
+ leases: {
1829
+ delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
1830
+ id: string;
1831
+ type: "computer_lease_released";
1832
+ }>;
1833
+ renew: {
1834
+ create: (options: import("./core/transport.js").CallOptions<Types.RenewComputerLeaseData>) => Promise<{
1835
+ lease_id: string;
1836
+ lease_expires_at: string;
1837
+ }>;
1838
+ };
1839
+ };
908
1840
  list: (options?: import("./core/transport.js").CallOptions<Types.ComputersListData> | undefined) => Promise<{
909
1841
  data: Array<{
910
1842
  type: "computer";
911
1843
  id: string;
912
1844
  name: string;
913
1845
  sandbox_id: string | null;
1846
+ machine_state: "not_started" | "provisioned";
914
1847
  environment_id: string | null;
915
1848
  status: "active" | "archived";
916
1849
  created_at: string;
@@ -925,6 +1858,7 @@ export declare function createAgent(transport: Transport): {
925
1858
  id: string;
926
1859
  name: string;
927
1860
  sandbox_id: string | null;
1861
+ machine_state: "not_started" | "provisioned";
928
1862
  environment_id: string | null;
929
1863
  status: "active" | "archived";
930
1864
  created_at: string;
@@ -933,12 +1867,14 @@ export declare function createAgent(transport: Transport): {
933
1867
  implementation: "virtual" | "sandbox";
934
1868
  storage_bytes: number;
935
1869
  file_count: number;
1870
+ stats_complete: boolean;
936
1871
  }>;
937
1872
  update: (options: import("./core/transport.js").CallOptions<Types.ComputersUpdateData>) => Promise<{
938
1873
  type: "computer";
939
1874
  id: string;
940
1875
  name: string;
941
1876
  sandbox_id: string | null;
1877
+ machine_state: "not_started" | "provisioned";
942
1878
  environment_id: string | null;
943
1879
  status: "active" | "archived";
944
1880
  created_at: string;
@@ -1222,8 +2158,82 @@ export declare function createAgent(transport: Transport): {
1222
2158
  };
1223
2159
  }>;
1224
2160
  };
2161
+ embed: {
2162
+ exchange: {
2163
+ create: (options: import("./core/transport.js").CallOptions<Types.ExchangeEmbedCodeData>) => Promise<{
2164
+ token: string;
2165
+ expires_at: string;
2166
+ }>;
2167
+ };
2168
+ retrieveAppearance: (options?: import("./core/transport.js").CallOptions<Types.GetEmbedAppearanceData> | undefined) => Promise<{
2169
+ agent?: {
2170
+ name?: string;
2171
+ avatar?: string;
2172
+ };
2173
+ layout?: "inline" | "sidebar" | "popup" | "modal";
2174
+ launcher?: {
2175
+ type: "none" | "bubble" | "mascot";
2176
+ pack?: {
2177
+ preset?: "mint" | "cat" | "bot";
2178
+ images?: {
2179
+ idle: string;
2180
+ greet?: string;
2181
+ listening?: string;
2182
+ thinking?: string;
2183
+ talking?: string;
2184
+ "talking-2"?: string;
2185
+ sorry?: string;
2186
+ sleep?: string;
2187
+ };
2188
+ };
2189
+ image?: string;
2190
+ motion?: "float" | "none";
2191
+ position?: "bottom-right" | "bottom-left";
2192
+ label?: string;
2193
+ };
2194
+ header?: {
2195
+ title?: string;
2196
+ subtitle?: string;
2197
+ icon?: string;
2198
+ };
2199
+ theme?: {
2200
+ colorScheme?: "light" | "dark" | "system";
2201
+ accent?: string;
2202
+ surface?: string;
2203
+ grayscale?: "neutral" | "warm" | "cool";
2204
+ radius?: "none" | "sm" | "md" | "lg" | "full";
2205
+ density?: "compact" | "normal" | "spacious";
2206
+ fontFamily?: string;
2207
+ fontSize?: number;
2208
+ };
2209
+ locale?: "zh" | "en";
2210
+ startScreen?: {
2211
+ greeting?: string;
2212
+ prompts?: Array<{
2213
+ label: string;
2214
+ prompt: string;
2215
+ }>;
2216
+ };
2217
+ composer?: {
2218
+ placeholder?: string;
2219
+ };
2220
+ disclaimer?: string;
2221
+ footer?: string;
2222
+ history?: {
2223
+ enabled?: boolean;
2224
+ };
2225
+ }>;
2226
+ };
1225
2227
  embedTokens: {
2228
+ anonymous: {
2229
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAnonymousEmbedTokenData>) => Promise<{
2230
+ token: string;
2231
+ expires_at: string;
2232
+ visitor_secret?: string;
2233
+ }>;
2234
+ };
1226
2235
  create: (options: import("./core/transport.js").CallOptions<Types.CreateEmbedTokenData>) => Promise<{
2236
+ hosted_url?: string;
1227
2237
  id: string;
1228
2238
  token: string;
1229
2239
  expires_at: string;
@@ -1454,6 +2464,7 @@ export declare function createAgent(transport: Transport): {
1454
2464
  readonly external_user_id: string | null;
1455
2465
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
1456
2466
  }>;
2467
+ delete: (options: import("./core/transport.js").CallOptions<Types.SessionsDeleteData>) => Promise<Types.AgentManaged184>;
1457
2468
  events: {
1458
2469
  list: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsListData>) => Promise<{
1459
2470
  data: Array<{
@@ -1461,6 +2472,12 @@ export declare function createAgent(transport: Transport): {
1461
2472
  content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
1462
2473
  type: "user.message";
1463
2474
  processed_at?: null | string;
2475
+ praxis_context?: {
2476
+ items: Array<{
2477
+ name: string;
2478
+ value: string;
2479
+ }>;
2480
+ };
1464
2481
  message_id?: string;
1465
2482
  } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
1466
2483
  id: string;
@@ -1641,7 +2658,18 @@ export declare function createAgent(transport: Transport): {
1641
2658
  next_page: string | null;
1642
2659
  }>;
1643
2660
  send: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsSendData>) => Promise<{
1644
- data?: Array<Types.AgentManaged185 | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
2661
+ data?: Array<{
2662
+ id: string;
2663
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
2664
+ type: "user.message";
2665
+ processed_at?: null | string;
2666
+ praxis_context?: {
2667
+ items: Array<{
2668
+ name: string;
2669
+ value: string;
2670
+ }>;
2671
+ };
2672
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
1645
2673
  id: string;
1646
2674
  type: "user.steer";
1647
2675
  event_id: string;
@@ -2420,6 +3448,12 @@ export declare function createAgent(transport: Transport): {
2420
3448
  content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
2421
3449
  type: "user.message";
2422
3450
  processed_at?: null | string;
3451
+ praxis_context?: {
3452
+ items: Array<{
3453
+ name: string;
3454
+ value: string;
3455
+ }>;
3456
+ };
2423
3457
  message_id?: string;
2424
3458
  } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
2425
3459
  id: string;
@@ -2659,6 +3693,25 @@ export declare function createAgent(transport: Transport): {
2659
3693
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2660
3694
  }>;
2661
3695
  };
3696
+ skills: {
3697
+ create: (options: import("./core/transport.js").CallOptions<Types.SkillsCreateData>) => Promise<Types.AgentManaged308>;
3698
+ delete: (options: import("./core/transport.js").CallOptions<Types.SkillsDeleteData>) => Promise<Types.AgentManaged310>;
3699
+ list: (options?: import("./core/transport.js").CallOptions<Types.SkillsListData> | undefined) => Promise<{
3700
+ data: Array<Types.AgentManaged308>;
3701
+ next_page: string | null;
3702
+ }>;
3703
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.SkillsRetrieveData>) => Promise<Types.AgentManaged308>;
3704
+ versions: {
3705
+ create: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsCreateData>) => Promise<Types.AgentManaged311>;
3706
+ delete: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsDeleteData>) => Promise<Types.AgentManaged312>;
3707
+ list: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsListData>) => Promise<{
3708
+ data: Array<Types.AgentManaged311>;
3709
+ next_page: string | null;
3710
+ }>;
3711
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsRetrieveData>) => Promise<Types.AgentManaged311>;
3712
+ retrieveContent: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsDownloadData>) => Promise<Blob | File>;
3713
+ };
3714
+ };
2662
3715
  toolsets: {
2663
3716
  list: (options?: import("./core/transport.js").CallOptions<Types.ListToolsetsData> | undefined) => Promise<{
2664
3717
  data: Array<{
@@ -2731,6 +3784,11 @@ export declare function createApplication(transport: Transport): {
2731
3784
  };
2732
3785
  update: (options: import("./core/transport.js").CallOptions<Types.ApplicationUpdateWorkerData>) => Promise<Types.ApplicationWorker>;
2733
3786
  versions: {
3787
+ assets: {
3788
+ retrieveManifest: (options: import("./core/transport.js").CallOptions<Types.ApplicationGetVersionAssetManifestData>) => Promise<{
3789
+ manifest: Types.ApplicationAssetManifest;
3790
+ }>;
3791
+ };
2734
3792
  create: (options: import("./core/transport.js").CallOptions<Types.ApplicationCreateVersionData>) => Promise<Types.ApplicationCreateVersionResult>;
2735
3793
  list: (options: import("./core/transport.js").CallOptions<Types.ApplicationListVersionsData>) => Promise<import("./automation.js").Page<Types.ApplicationVersion>>;
2736
3794
  retrieve: (options: import("./core/transport.js").CallOptions<Types.ApplicationGetVersionData>) => Promise<Types.ApplicationVersion>;
@@ -2984,6 +4042,14 @@ export declare function createFile(transport: Transport): {
2984
4042
  retrieve: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveFileData>) => Promise<Types.OwnFileOpenAiFile>;
2985
4043
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveFileContentData>) => Promise<Blob | File>;
2986
4044
  };
4045
+ uploads: {
4046
+ cancel: (options: import("./core/transport.js").CallOptions<Types.FileCancelUploadData>) => Promise<Types.OwnFilePraxisUpload>;
4047
+ complete: (options: import("./core/transport.js").CallOptions<Types.FileCompleteUploadData>) => Promise<Types.OwnFilePraxisUpload>;
4048
+ create: (options: import("./core/transport.js").CallOptions<Types.FileCreateUploadData>) => Promise<Types.OwnFilePraxisUpload>;
4049
+ parts: {
4050
+ create: (options: import("./core/transport.js").CallOptions<Types.FileAddUploadPartData>) => Promise<Types.OwnFilePraxisUploadPart>;
4051
+ };
4052
+ };
2987
4053
  };
2988
4054
  export declare function createKnowledge(transport: Transport): {
2989
4055
  vectorStores: {
@@ -4027,6 +5093,120 @@ export declare function createSearch(transport: Transport): {
4027
5093
  }>;
4028
5094
  };
4029
5095
  };
5096
+ export declare function createTicket(transport: Transport): {
5097
+ activity: {
5098
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.TicketGetActivityData> | undefined) => Promise<{
5099
+ activity: Array<Types.TicketActivity>;
5100
+ next_page_token: string;
5101
+ }>;
5102
+ };
5103
+ comments: {
5104
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteCommentsIdData>) => Promise<void>;
5105
+ reactions: {
5106
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostCommentsIdReactionsData>) => Promise<Types.TicketReactionSummary>;
5107
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteCommentsIdReactionsContentData>) => Promise<Types.TicketReactionSummary>;
5108
+ list: (options: import("./core/transport.js").CallOptions<Types.TicketGetCommentsIdReactionsData>) => Promise<{
5109
+ reactions: Array<Types.TicketReaction>;
5110
+ next_page_token: string;
5111
+ }>;
5112
+ };
5113
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.TicketGetCommentsIdData>) => Promise<Types.TicketComment>;
5114
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchCommentsIdData>) => Promise<Types.TicketComment>;
5115
+ };
5116
+ labels: {
5117
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostLabelsData>) => Promise<Types.TicketLabel>;
5118
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteLabelsNameData>) => Promise<void>;
5119
+ list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetLabelsData> | undefined) => Promise<{
5120
+ labels: Array<Types.TicketLabel>;
5121
+ next_page_token: string;
5122
+ }>;
5123
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchLabelsNameData>) => Promise<Types.TicketLabel>;
5124
+ };
5125
+ milestones: {
5126
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostMilestonesData>) => Promise<Types.TicketMilestone>;
5127
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteMilestonesNumberData>) => Promise<void>;
5128
+ list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetMilestonesData> | undefined) => Promise<{
5129
+ milestones: Array<Types.TicketMilestone>;
5130
+ next_page_token: string;
5131
+ }>;
5132
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.TicketGetMilestonesNumberData>) => Promise<Types.TicketMilestone>;
5133
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchMilestonesNumberData>) => Promise<Types.TicketMilestone>;
5134
+ };
5135
+ repositories: {
5136
+ list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetRepositoriesData> | undefined) => Promise<{
5137
+ repositories: Array<Types.TicketRepository>;
5138
+ next_page_token: string;
5139
+ }>;
5140
+ };
5141
+ tickets: {
5142
+ comments: {
5143
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberCommentsData>) => Promise<Types.TicketComment>;
5144
+ list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberCommentsData>) => Promise<{
5145
+ comments: Array<Types.TicketComment>;
5146
+ next_page_token: string;
5147
+ }>;
5148
+ };
5149
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsData>) => Promise<Types.TicketRecord>;
5150
+ deleteLock: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberLockData>) => Promise<void>;
5151
+ dependencies: {
5152
+ blockedBy: {
5153
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberDependenciesBlockedByData>) => Promise<Types.TicketRecord>;
5154
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberDependenciesBlockedByNData>) => Promise<Types.TicketRecord>;
5155
+ };
5156
+ retrieveBlockedBy: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberDependenciesBlockedByData>) => Promise<{
5157
+ tickets: Array<Types.TicketRecord>;
5158
+ next_page_token: string;
5159
+ }>;
5160
+ retrieveBlocking: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberDependenciesBlockingData>) => Promise<{
5161
+ tickets: Array<Types.TicketRecord>;
5162
+ next_page_token: string;
5163
+ }>;
5164
+ };
5165
+ events: {
5166
+ list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberEventsData>) => Promise<{
5167
+ events: Array<Types.TicketEvent>;
5168
+ next_page_token: string;
5169
+ }>;
5170
+ };
5171
+ list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetTicketsData> | undefined) => Promise<{
5172
+ tickets: Array<Types.TicketRecord>;
5173
+ next_page_token: string;
5174
+ total_size?: number;
5175
+ }>;
5176
+ reactions: {
5177
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberReactionsData>) => Promise<Types.TicketReactionSummary>;
5178
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberReactionsContentData>) => Promise<Types.TicketReactionSummary>;
5179
+ list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberReactionsData>) => Promise<{
5180
+ reactions: Array<Types.TicketReaction>;
5181
+ next_page_token: string;
5182
+ }>;
5183
+ };
5184
+ relations: {
5185
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberRelationsData>) => Promise<Types.TicketRecord>;
5186
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberRelationsNData>) => Promise<Types.TicketRecord>;
5187
+ list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberRelationsData>) => Promise<{
5188
+ tickets: Array<Types.TicketRecord>;
5189
+ next_page_token: string;
5190
+ }>;
5191
+ };
5192
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberData>) => Promise<Types.TicketRecord>;
5193
+ subTickets: {
5194
+ create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberSubTicketsData>) => Promise<Types.TicketRecord>;
5195
+ delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberSubTicketsChildData>) => Promise<Types.TicketRecord>;
5196
+ list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberSubTicketsData>) => Promise<{
5197
+ tickets: Array<Types.TicketRecord>;
5198
+ next_page_token: string;
5199
+ }>;
5200
+ };
5201
+ update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchTicketsNumberData>) => Promise<Types.TicketRecord>;
5202
+ updateLock: (options: import("./core/transport.js").CallOptions<Types.TicketPutTicketsNumberLockData>) => Promise<void>;
5203
+ };
5204
+ types: {
5205
+ list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetTypesData> | undefined) => Promise<{
5206
+ types: Array<Types.TicketType>;
5207
+ }>;
5208
+ };
5209
+ };
4030
5210
  export declare function createVault(transport: Transport): {
4031
5211
  authorizations: {
4032
5212
  create: (options: import("./core/transport.js").CallOptions<Types.VaultCreateAuthorizationData>) => Promise<Types.VaultAuthorization>;
@@ -4096,5 +5276,6 @@ export declare const resourceFactories: {
4096
5276
  organization: typeof createOrganization;
4097
5277
  sandbox: typeof createSandbox;
4098
5278
  search: typeof createSearch;
5279
+ ticket: typeof createTicket;
4099
5280
  vault: typeof createVault;
4100
5281
  };