@deepraxis/sdk 0.1.0-dev.fa57968 → 0.1.0-dev.fe2a6ba

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.
@@ -16,7 +16,7 @@ export declare function createAgent(transport: Transport): {
16
16
  inference_geo?: string;
17
17
  speed?: "standard" | "fast";
18
18
  settings?: {
19
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
19
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
20
20
  };
21
21
  };
22
22
  multiagent: null | Types.AgentManaged39;
@@ -132,6 +132,7 @@ export declare function createAgent(transport: Transport): {
132
132
  models?: {
133
133
  allowed: Array<string>;
134
134
  };
135
+ status: "active" | "archived";
135
136
  }>;
136
137
  create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
137
138
  id: string;
@@ -146,7 +147,7 @@ export declare function createAgent(transport: Transport): {
146
147
  inference_geo?: string;
147
148
  speed?: "standard" | "fast";
148
149
  settings?: {
149
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
150
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
150
151
  };
151
152
  };
152
153
  multiagent: null | Types.AgentManaged39;
@@ -262,7 +263,80 @@ export declare function createAgent(transport: Transport): {
262
263
  models?: {
263
264
  allowed: Array<string>;
264
265
  };
266
+ status: "active" | "archived";
265
267
  }>;
268
+ endUsers: {
269
+ block: {
270
+ create: (options: import("./core/transport.js").CallOptions<Types.BlockEndUserData>) => Promise<{
271
+ external_user_id: string;
272
+ first_seen_at: string | null;
273
+ last_active_at: string | null;
274
+ session_count: number;
275
+ cost_micro_usd: number;
276
+ blocked: boolean;
277
+ }>;
278
+ };
279
+ delete: (options: import("./core/transport.js").CallOptions<Types.DeleteEndUserData>) => Promise<{
280
+ id: string;
281
+ status: "pending";
282
+ }>;
283
+ list: (options: import("./core/transport.js").CallOptions<Types.ListEndUsersData>) => Promise<{
284
+ data: Array<{
285
+ external_user_id: string;
286
+ first_seen_at: string | null;
287
+ last_active_at: string | null;
288
+ session_count: number;
289
+ cost_micro_usd: number;
290
+ blocked: boolean;
291
+ }>;
292
+ next_page: string | null;
293
+ }>;
294
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetEndUserData>) => Promise<{
295
+ external_user_id: string;
296
+ first_seen_at: string | null;
297
+ last_active_at: string | null;
298
+ session_count: number;
299
+ cost_micro_usd: number;
300
+ blocked: boolean;
301
+ recent_sessions: Array<{
302
+ id: string;
303
+ title: string | null;
304
+ source: string | null;
305
+ created_at: string;
306
+ updated_at: string;
307
+ }>;
308
+ }>;
309
+ retrieveDeletion: (options: import("./core/transport.js").CallOptions<Types.GetEndUserDeletionData>) => Promise<{
310
+ id: string;
311
+ status: "pending" | "snapshotting" | "deleting" | "done" | "failed";
312
+ counts: {
313
+ sessions?: number;
314
+ events?: number;
315
+ messages?: number;
316
+ d1_rows?: number;
317
+ attachments?: number;
318
+ };
319
+ snapshot_key?: string;
320
+ error?: string;
321
+ created_at: string;
322
+ updated_at: string;
323
+ }>;
324
+ revokeTokens: {
325
+ create: (options: import("./core/transport.js").CallOptions<Types.RevokeEndUserTokensData>) => Promise<{
326
+ revoked: number;
327
+ }>;
328
+ };
329
+ unblock: {
330
+ create: (options: import("./core/transport.js").CallOptions<Types.UnblockEndUserData>) => Promise<{
331
+ external_user_id: string;
332
+ first_seen_at: string | null;
333
+ last_active_at: string | null;
334
+ session_count: number;
335
+ cost_micro_usd: number;
336
+ blocked: boolean;
337
+ }>;
338
+ };
339
+ };
266
340
  list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
267
341
  data: Array<{
268
342
  id: string;
@@ -277,7 +351,7 @@ export declare function createAgent(transport: Transport): {
277
351
  inference_geo?: string;
278
352
  speed?: "standard" | "fast";
279
353
  settings?: {
280
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
354
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
281
355
  };
282
356
  };
283
357
  multiagent: null | Types.AgentManaged39;
@@ -393,6 +467,7 @@ export declare function createAgent(transport: Transport): {
393
467
  models?: {
394
468
  allowed: Array<string>;
395
469
  };
470
+ status: "active" | "archived";
396
471
  }>;
397
472
  next_page: string | null;
398
473
  }>;
@@ -409,7 +484,7 @@ export declare function createAgent(transport: Transport): {
409
484
  inference_geo?: string;
410
485
  speed?: "standard" | "fast";
411
486
  settings?: {
412
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
487
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
413
488
  };
414
489
  };
415
490
  multiagent: null | Types.AgentManaged39;
@@ -525,7 +600,343 @@ export declare function createAgent(transport: Transport): {
525
600
  models?: {
526
601
  allowed: Array<string>;
527
602
  };
603
+ status: "active" | "archived";
528
604
  }>;
605
+ unarchive: {
606
+ create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
607
+ id: string;
608
+ archived_at: null | string;
609
+ created_at: string;
610
+ description: null | string;
611
+ mcp_servers: Array<{
612
+ type: "url";
613
+ name: string;
614
+ url: string;
615
+ headers?: {
616
+ [key: string]: string;
617
+ };
618
+ timeout_ms?: number;
619
+ } | {
620
+ type: "sse";
621
+ name: string;
622
+ url: string;
623
+ headers?: {
624
+ [key: string]: string;
625
+ };
626
+ timeout_ms?: number;
627
+ } | {
628
+ type: "stdio";
629
+ name: string;
630
+ command: string;
631
+ args?: Array<string>;
632
+ env?: {
633
+ [key: string]: string;
634
+ };
635
+ timeout_ms?: number;
636
+ }>;
637
+ metadata: {
638
+ [key: string]: string;
639
+ };
640
+ model: {
641
+ 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;
642
+ effort?: {
643
+ type: "low";
644
+ } | {
645
+ type: "medium";
646
+ } | {
647
+ type: "high";
648
+ } | {
649
+ type: "xhigh";
650
+ } | {
651
+ type: "max";
652
+ };
653
+ inference_geo?: string;
654
+ speed?: "standard" | "fast";
655
+ settings?: {
656
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
657
+ };
658
+ };
659
+ multiagent: null | {
660
+ agents: Array<{
661
+ id: string;
662
+ type: "agent";
663
+ version: number;
664
+ } | {
665
+ model: string;
666
+ type: "advisor";
667
+ }>;
668
+ type: "coordinator";
669
+ };
670
+ name: string;
671
+ skills: Array<{
672
+ skill_id: string;
673
+ type: "anthropic";
674
+ version: string;
675
+ } | {
676
+ skill_id: string;
677
+ type: "custom";
678
+ version: string;
679
+ }>;
680
+ system: null | string;
681
+ tools: Array<{
682
+ configs: Array<{
683
+ enabled: boolean;
684
+ name: "bash";
685
+ permission_policy: {
686
+ type: "always_allow";
687
+ } | {
688
+ type: "always_ask";
689
+ } | {
690
+ type: "auto";
691
+ };
692
+ type: "bash";
693
+ } | {
694
+ enabled: boolean;
695
+ name: "edit";
696
+ permission_policy: {
697
+ type: "always_allow";
698
+ } | {
699
+ type: "always_ask";
700
+ } | {
701
+ type: "auto";
702
+ };
703
+ type: "edit";
704
+ } | {
705
+ enabled: boolean;
706
+ name: "read";
707
+ permission_policy: {
708
+ type: "always_allow";
709
+ } | {
710
+ type: "always_ask";
711
+ } | {
712
+ type: "auto";
713
+ };
714
+ type: "read";
715
+ } | {
716
+ enabled: boolean;
717
+ name: "write";
718
+ permission_policy: {
719
+ type: "always_allow";
720
+ } | {
721
+ type: "always_ask";
722
+ } | {
723
+ type: "auto";
724
+ };
725
+ type: "write";
726
+ } | {
727
+ enabled: boolean;
728
+ name: "glob";
729
+ permission_policy: {
730
+ type: "always_allow";
731
+ } | {
732
+ type: "always_ask";
733
+ } | {
734
+ type: "auto";
735
+ };
736
+ type: "glob";
737
+ } | {
738
+ enabled: boolean;
739
+ name: "grep";
740
+ permission_policy: {
741
+ type: "always_allow";
742
+ } | {
743
+ type: "always_ask";
744
+ } | {
745
+ type: "auto";
746
+ };
747
+ type: "grep";
748
+ } | {
749
+ enabled: boolean;
750
+ name: "web_fetch";
751
+ permission_policy: {
752
+ type: "always_allow";
753
+ } | {
754
+ type: "always_ask";
755
+ } | {
756
+ type: "auto";
757
+ };
758
+ type: "web_fetch";
759
+ allowed_domains?: Array<string>;
760
+ blocked_domains?: Array<string>;
761
+ max_content_tokens?: null | number;
762
+ } | {
763
+ enabled: boolean;
764
+ name: "web_search";
765
+ permission_policy: {
766
+ type: "always_allow";
767
+ } | {
768
+ type: "always_ask";
769
+ } | {
770
+ type: "auto";
771
+ };
772
+ type: "web_search";
773
+ allowed_domains?: Array<string>;
774
+ blocked_domains?: Array<string>;
775
+ user_location?: null | {
776
+ type: "approximate";
777
+ city?: null | string;
778
+ country?: null | string;
779
+ region?: null | string;
780
+ timezone?: null | string;
781
+ };
782
+ } | {
783
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
784
+ enabled: boolean;
785
+ permission_policy: {
786
+ type: "always_allow" | "always_ask";
787
+ };
788
+ }>;
789
+ default_config: {
790
+ enabled: boolean;
791
+ permission_policy: {
792
+ type: "always_allow";
793
+ } | {
794
+ type: "always_ask";
795
+ } | {
796
+ type: "auto";
797
+ };
798
+ };
799
+ type: "agent_toolset_20260401";
800
+ } | {
801
+ type: "mcp_toolset";
802
+ mcp_server_name: string;
803
+ default_config?: {
804
+ enabled?: boolean | null;
805
+ permission_policy?: null | {
806
+ type: "always_allow" | "always_ask";
807
+ };
808
+ } | null;
809
+ configs?: Array<{
810
+ name: string;
811
+ enabled?: boolean | null;
812
+ permission_policy?: null | {
813
+ type: "always_allow" | "always_ask";
814
+ };
815
+ }> | null;
816
+ } | {
817
+ description: string;
818
+ input_schema: {
819
+ type: "object";
820
+ properties?: null | {
821
+ [key: string]: unknown;
822
+ };
823
+ required?: null | Array<string>;
824
+ [key: string]: unknown;
825
+ };
826
+ name: string;
827
+ type: "custom";
828
+ }>;
829
+ type: "agent";
830
+ updated_at: string;
831
+ version: number;
832
+ kind: "personal" | "service";
833
+ computer_id?: string;
834
+ subagent_model?: string | null;
835
+ subagents?: Array<{
836
+ name: string;
837
+ description: string;
838
+ prompt: string;
839
+ tools?: Array<string>;
840
+ disallowed_tools?: Array<string>;
841
+ model?: string;
842
+ }> | null;
843
+ commands?: Array<{
844
+ name: string;
845
+ description?: string;
846
+ argument_hint?: string;
847
+ prompt: string;
848
+ }> | null;
849
+ settings?: {
850
+ hooks?: {
851
+ SessionStart?: Array<{
852
+ matcher?: string;
853
+ hooks: Array<{
854
+ type: "command";
855
+ command: string;
856
+ timeout?: number;
857
+ async?: boolean;
858
+ enabled?: boolean;
859
+ }>;
860
+ }>;
861
+ UserPromptSubmit?: Array<{
862
+ matcher?: string;
863
+ hooks: Array<{
864
+ type: "command";
865
+ command: string;
866
+ timeout?: number;
867
+ async?: boolean;
868
+ enabled?: boolean;
869
+ }>;
870
+ }>;
871
+ PreToolUse?: Array<{
872
+ matcher?: string;
873
+ hooks: Array<{
874
+ type: "command";
875
+ command: string;
876
+ timeout?: number;
877
+ async?: boolean;
878
+ enabled?: boolean;
879
+ }>;
880
+ }>;
881
+ PermissionRequest?: Array<{
882
+ matcher?: string;
883
+ hooks: Array<{
884
+ type: "command";
885
+ command: string;
886
+ timeout?: number;
887
+ async?: boolean;
888
+ enabled?: boolean;
889
+ }>;
890
+ }>;
891
+ PostToolUse?: Array<{
892
+ matcher?: string;
893
+ hooks: Array<{
894
+ type: "command";
895
+ command: string;
896
+ timeout?: number;
897
+ async?: boolean;
898
+ enabled?: boolean;
899
+ }>;
900
+ }>;
901
+ PostToolUseFailure?: Array<{
902
+ matcher?: string;
903
+ hooks: Array<{
904
+ type: "command";
905
+ command: string;
906
+ timeout?: number;
907
+ async?: boolean;
908
+ enabled?: boolean;
909
+ }>;
910
+ }>;
911
+ Stop?: Array<{
912
+ matcher?: string;
913
+ hooks: Array<{
914
+ type: "command";
915
+ command: string;
916
+ timeout?: number;
917
+ async?: boolean;
918
+ enabled?: boolean;
919
+ }>;
920
+ }>;
921
+ };
922
+ allowManagedHooksOnly?: boolean;
923
+ allowManagedMcpServersOnly?: boolean;
924
+ allowManagedPermissionRulesOnly?: boolean;
925
+ autoMemoryEnabled?: boolean;
926
+ disabled?: {
927
+ subagents?: Array<string>;
928
+ commands?: Array<string>;
929
+ skills?: Array<string>;
930
+ mcpServers?: Array<string>;
931
+ hooks?: Array<string>;
932
+ };
933
+ } | null;
934
+ models?: {
935
+ allowed: Array<string>;
936
+ };
937
+ status: "active" | "archived";
938
+ }>;
939
+ };
529
940
  update: (options: import("./core/transport.js").CallOptions<Types.AgentsUpdateData>) => Promise<{
530
941
  id: string;
531
942
  archived_at: null | string;
@@ -539,7 +950,7 @@ export declare function createAgent(transport: Transport): {
539
950
  inference_geo?: string;
540
951
  speed?: "standard" | "fast";
541
952
  settings?: {
542
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
953
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
543
954
  };
544
955
  };
545
956
  multiagent: null | Types.AgentManaged39;
@@ -655,6 +1066,7 @@ export declare function createAgent(transport: Transport): {
655
1066
  models?: {
656
1067
  allowed: Array<string>;
657
1068
  };
1069
+ status: "active" | "archived";
658
1070
  }>;
659
1071
  versions: {
660
1072
  list: (options: import("./core/transport.js").CallOptions<Types.AgentsVersionsListData>) => Promise<{
@@ -671,7 +1083,7 @@ export declare function createAgent(transport: Transport): {
671
1083
  inference_geo?: string;
672
1084
  speed?: "standard" | "fast";
673
1085
  settings?: {
674
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
1086
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
675
1087
  };
676
1088
  };
677
1089
  multiagent: null | Types.AgentManaged39;
@@ -787,6 +1199,7 @@ export declare function createAgent(transport: Transport): {
787
1199
  models?: {
788
1200
  allowed: Array<string>;
789
1201
  };
1202
+ status: "active" | "archived";
790
1203
  }>;
791
1204
  next_page: string | null;
792
1205
  }>;
@@ -798,6 +1211,7 @@ export declare function createAgent(transport: Transport): {
798
1211
  id: string;
799
1212
  name: string;
800
1213
  sandbox_id: string | null;
1214
+ machine_state: "not_started" | "provisioned";
801
1215
  environment_id: string | null;
802
1216
  status: "active" | "archived";
803
1217
  created_at: string;
@@ -820,12 +1234,16 @@ export declare function createAgent(transport: Transport): {
820
1234
  sandbox_id: string;
821
1235
  envd_access_token: string;
822
1236
  template_id: string;
1237
+ tier: "light" | "heavy";
1238
+ lease_id: string | null;
1239
+ lease_expires_at: string | null;
823
1240
  }>;
824
1241
  create: (options: import("./core/transport.js").CallOptions<Types.ComputersCreateData>) => Promise<{
825
1242
  type: "computer";
826
1243
  id: string;
827
1244
  name: string;
828
1245
  sandbox_id: string | null;
1246
+ machine_state: "not_started" | "provisioned";
829
1247
  environment_id: string | null;
830
1248
  status: "active" | "archived";
831
1249
  created_at: string;
@@ -849,15 +1267,29 @@ export declare function createAgent(transport: Transport): {
849
1267
  updated_at: string | null;
850
1268
  }>;
851
1269
  has_more: false;
1270
+ tier: "light" | "heavy";
852
1271
  }>;
853
1272
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
854
1273
  };
1274
+ leases: {
1275
+ delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
1276
+ id: string;
1277
+ type: "computer_lease_released";
1278
+ }>;
1279
+ renew: {
1280
+ create: (options: import("./core/transport.js").CallOptions<Types.RenewComputerLeaseData>) => Promise<{
1281
+ lease_id: string;
1282
+ lease_expires_at: string;
1283
+ }>;
1284
+ };
1285
+ };
855
1286
  list: (options?: import("./core/transport.js").CallOptions<Types.ComputersListData> | undefined) => Promise<{
856
1287
  data: Array<{
857
1288
  type: "computer";
858
1289
  id: string;
859
1290
  name: string;
860
1291
  sandbox_id: string | null;
1292
+ machine_state: "not_started" | "provisioned";
861
1293
  environment_id: string | null;
862
1294
  status: "active" | "archived";
863
1295
  created_at: string;
@@ -872,6 +1304,7 @@ export declare function createAgent(transport: Transport): {
872
1304
  id: string;
873
1305
  name: string;
874
1306
  sandbox_id: string | null;
1307
+ machine_state: "not_started" | "provisioned";
875
1308
  environment_id: string | null;
876
1309
  status: "active" | "archived";
877
1310
  created_at: string;
@@ -880,12 +1313,14 @@ export declare function createAgent(transport: Transport): {
880
1313
  implementation: "virtual" | "sandbox";
881
1314
  storage_bytes: number;
882
1315
  file_count: number;
1316
+ stats_complete: boolean;
883
1317
  }>;
884
1318
  update: (options: import("./core/transport.js").CallOptions<Types.ComputersUpdateData>) => Promise<{
885
1319
  type: "computer";
886
1320
  id: string;
887
1321
  name: string;
888
1322
  sandbox_id: string | null;
1323
+ machine_state: "not_started" | "provisioned";
889
1324
  environment_id: string | null;
890
1325
  status: "active" | "archived";
891
1326
  created_at: string;
@@ -1169,8 +1604,68 @@ export declare function createAgent(transport: Transport): {
1169
1604
  };
1170
1605
  }>;
1171
1606
  };
1607
+ embed: {
1608
+ exchange: {
1609
+ create: (options: import("./core/transport.js").CallOptions<Types.ExchangeEmbedCodeData>) => Promise<{
1610
+ token: string;
1611
+ expires_at: string;
1612
+ }>;
1613
+ };
1614
+ retrieveAppearance: (options?: import("./core/transport.js").CallOptions<Types.GetEmbedAppearanceData> | undefined) => Promise<{
1615
+ agent?: {
1616
+ name?: string;
1617
+ avatar?: string;
1618
+ };
1619
+ layout?: "inline" | "sidebar" | "popup" | "modal";
1620
+ launcher?: {
1621
+ type: "none" | "bubble" | "mascot";
1622
+ image?: string;
1623
+ position?: "bottom-right" | "bottom-left";
1624
+ label?: string;
1625
+ };
1626
+ header?: {
1627
+ title?: string;
1628
+ subtitle?: string;
1629
+ icon?: string;
1630
+ };
1631
+ theme?: {
1632
+ colorScheme?: "light" | "dark" | "system";
1633
+ accent?: string;
1634
+ surface?: string;
1635
+ grayscale?: "neutral" | "warm" | "cool";
1636
+ radius?: "none" | "sm" | "md" | "lg" | "full";
1637
+ density?: "compact" | "normal" | "spacious";
1638
+ fontFamily?: string;
1639
+ fontSize?: number;
1640
+ };
1641
+ locale?: "zh" | "en";
1642
+ startScreen?: {
1643
+ greeting?: string;
1644
+ prompts?: Array<{
1645
+ label: string;
1646
+ prompt: string;
1647
+ }>;
1648
+ };
1649
+ composer?: {
1650
+ placeholder?: string;
1651
+ };
1652
+ disclaimer?: string;
1653
+ footer?: string;
1654
+ history?: {
1655
+ enabled?: boolean;
1656
+ };
1657
+ }>;
1658
+ };
1172
1659
  embedTokens: {
1660
+ anonymous: {
1661
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAnonymousEmbedTokenData>) => Promise<{
1662
+ token: string;
1663
+ expires_at: string;
1664
+ visitor_secret?: string;
1665
+ }>;
1666
+ };
1173
1667
  create: (options: import("./core/transport.js").CallOptions<Types.CreateEmbedTokenData>) => Promise<{
1668
+ hosted_url?: string;
1174
1669
  id: string;
1175
1670
  token: string;
1176
1671
  expires_at: string;
@@ -1234,7 +1729,7 @@ export declare function createAgent(transport: Transport): {
1234
1729
  inference_geo?: string;
1235
1730
  speed?: "standard" | "fast";
1236
1731
  settings?: {
1237
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
1732
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1238
1733
  };
1239
1734
  };
1240
1735
  multiagent: null | Types.AgentManaged171;
@@ -1265,18 +1760,20 @@ export declare function createAgent(transport: Transport): {
1265
1760
  model?: {
1266
1761
  id: string;
1267
1762
  thinking: {
1268
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
1763
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
1269
1764
  can_disable: boolean;
1270
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
1765
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
1271
1766
  } | null;
1272
1767
  };
1273
1768
  thinking?: {
1274
- effort: "low" | "medium" | "high" | "xhigh" | "none";
1769
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1275
1770
  } | null;
1276
1771
  forked_from?: {
1277
1772
  session_id: string;
1278
1773
  message_id: string;
1279
1774
  } | null;
1775
+ readonly external_user_id: string | null;
1776
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
1280
1777
  }>;
1281
1778
  backgroundTasks: {
1282
1779
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
@@ -1353,7 +1850,7 @@ export declare function createAgent(transport: Transport): {
1353
1850
  inference_geo?: string;
1354
1851
  speed?: "standard" | "fast";
1355
1852
  settings?: {
1356
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
1853
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1357
1854
  };
1358
1855
  };
1359
1856
  multiagent: null | Types.AgentManaged171;
@@ -1384,19 +1881,22 @@ export declare function createAgent(transport: Transport): {
1384
1881
  model?: {
1385
1882
  id: string;
1386
1883
  thinking: {
1387
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
1884
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
1388
1885
  can_disable: boolean;
1389
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
1886
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
1390
1887
  } | null;
1391
1888
  };
1392
1889
  thinking?: {
1393
- effort: "low" | "medium" | "high" | "xhigh" | "none";
1890
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1394
1891
  } | null;
1395
1892
  forked_from?: {
1396
1893
  session_id: string;
1397
1894
  message_id: string;
1398
1895
  } | null;
1896
+ readonly external_user_id: string | null;
1897
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
1399
1898
  }>;
1899
+ delete: (options: import("./core/transport.js").CallOptions<Types.SessionsDeleteData>) => Promise<Types.AgentManaged184>;
1400
1900
  events: {
1401
1901
  list: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsListData>) => Promise<{
1402
1902
  data: Array<{
@@ -1404,6 +1904,12 @@ export declare function createAgent(transport: Transport): {
1404
1904
  content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
1405
1905
  type: "user.message";
1406
1906
  processed_at?: null | string;
1907
+ praxis_context?: {
1908
+ items: Array<{
1909
+ name: string;
1910
+ value: string;
1911
+ }>;
1912
+ };
1407
1913
  message_id?: string;
1408
1914
  } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
1409
1915
  id: string;
@@ -1453,6 +1959,10 @@ export declare function createAgent(transport: Transport): {
1453
1959
  };
1454
1960
  source?: "app" | "codemode";
1455
1961
  parent_tool_use_id?: string;
1962
+ title?: string;
1963
+ input_titles?: {
1964
+ [key: string]: string;
1965
+ };
1456
1966
  } | {
1457
1967
  id: string;
1458
1968
  mcp_tool_use_id: string;
@@ -1580,7 +2090,18 @@ export declare function createAgent(transport: Transport): {
1580
2090
  next_page: string | null;
1581
2091
  }>;
1582
2092
  send: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsSendData>) => Promise<{
1583
- data?: Array<Types.AgentManaged185 | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
2093
+ data?: Array<{
2094
+ id: string;
2095
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
2096
+ type: "user.message";
2097
+ processed_at?: null | string;
2098
+ praxis_context?: {
2099
+ items: Array<{
2100
+ name: string;
2101
+ value: string;
2102
+ }>;
2103
+ };
2104
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
1584
2105
  id: string;
1585
2106
  type: "user.steer";
1586
2107
  event_id: string;
@@ -1613,6 +2134,27 @@ export declare function createAgent(transport: Transport): {
1613
2134
  type: "url";
1614
2135
  name: string;
1615
2136
  url: string;
2137
+ headers?: {
2138
+ [key: string]: string;
2139
+ };
2140
+ timeout_ms?: number;
2141
+ } | {
2142
+ type: "sse";
2143
+ name: string;
2144
+ url: string;
2145
+ headers?: {
2146
+ [key: string]: string;
2147
+ };
2148
+ timeout_ms?: number;
2149
+ } | {
2150
+ type: "stdio";
2151
+ name: string;
2152
+ command: string;
2153
+ args?: Array<string>;
2154
+ env?: {
2155
+ [key: string]: string;
2156
+ };
2157
+ timeout_ms?: number;
1616
2158
  }>;
1617
2159
  model: {
1618
2160
  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;
@@ -1630,7 +2172,7 @@ export declare function createAgent(transport: Transport): {
1630
2172
  inference_geo?: string;
1631
2173
  speed?: "standard" | "fast";
1632
2174
  settings?: {
1633
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
2175
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1634
2176
  };
1635
2177
  };
1636
2178
  multiagent: null | {
@@ -1644,6 +2186,27 @@ export declare function createAgent(transport: Transport): {
1644
2186
  type: "url";
1645
2187
  name: string;
1646
2188
  url: string;
2189
+ headers?: {
2190
+ [key: string]: string;
2191
+ };
2192
+ timeout_ms?: number;
2193
+ } | {
2194
+ type: "sse";
2195
+ name: string;
2196
+ url: string;
2197
+ headers?: {
2198
+ [key: string]: string;
2199
+ };
2200
+ timeout_ms?: number;
2201
+ } | {
2202
+ type: "stdio";
2203
+ name: string;
2204
+ command: string;
2205
+ args?: Array<string>;
2206
+ env?: {
2207
+ [key: string]: string;
2208
+ };
2209
+ timeout_ms?: number;
1647
2210
  }>;
1648
2211
  model: {
1649
2212
  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;
@@ -2072,18 +2635,20 @@ export declare function createAgent(transport: Transport): {
2072
2635
  model?: {
2073
2636
  id: string;
2074
2637
  thinking: {
2075
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
2638
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
2076
2639
  can_disable: boolean;
2077
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
2640
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
2078
2641
  } | null;
2079
2642
  };
2080
2643
  thinking?: {
2081
- effort: "low" | "medium" | "high" | "xhigh" | "none";
2644
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2082
2645
  } | null;
2083
2646
  forked_from?: {
2084
2647
  session_id: string;
2085
2648
  message_id: string;
2086
2649
  } | null;
2650
+ readonly external_user_id: string | null;
2651
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2087
2652
  }>;
2088
2653
  list: (options?: import("./core/transport.js").CallOptions<Types.SessionsListData> | undefined) => Promise<{
2089
2654
  data: Array<{
@@ -2098,7 +2663,7 @@ export declare function createAgent(transport: Transport): {
2098
2663
  inference_geo?: string;
2099
2664
  speed?: "standard" | "fast";
2100
2665
  settings?: {
2101
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
2666
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2102
2667
  };
2103
2668
  };
2104
2669
  multiagent: null | Types.AgentManaged171;
@@ -2129,18 +2694,20 @@ export declare function createAgent(transport: Transport): {
2129
2694
  model?: {
2130
2695
  id: string;
2131
2696
  thinking: {
2132
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
2697
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
2133
2698
  can_disable: boolean;
2134
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
2699
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
2135
2700
  } | null;
2136
2701
  };
2137
2702
  thinking?: {
2138
- effort: "low" | "medium" | "high" | "xhigh" | "none";
2703
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2139
2704
  } | null;
2140
2705
  forked_from?: {
2141
2706
  session_id: string;
2142
2707
  message_id: string;
2143
2708
  } | null;
2709
+ readonly external_user_id: string | null;
2710
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2144
2711
  }>;
2145
2712
  next_page: string | null;
2146
2713
  }>;
@@ -2173,7 +2740,7 @@ export declare function createAgent(transport: Transport): {
2173
2740
  inference_geo?: string;
2174
2741
  speed?: "standard" | "fast";
2175
2742
  settings?: {
2176
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
2743
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2177
2744
  };
2178
2745
  };
2179
2746
  multiagent: null | Types.AgentManaged171;
@@ -2204,18 +2771,20 @@ export declare function createAgent(transport: Transport): {
2204
2771
  model?: {
2205
2772
  id: string;
2206
2773
  thinking: {
2207
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
2774
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
2208
2775
  can_disable: boolean;
2209
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
2776
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
2210
2777
  } | null;
2211
2778
  };
2212
2779
  thinking?: {
2213
- effort: "low" | "medium" | "high" | "xhigh" | "none";
2780
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2214
2781
  } | null;
2215
2782
  forked_from?: {
2216
2783
  session_id: string;
2217
2784
  message_id: string;
2218
2785
  } | null;
2786
+ readonly external_user_id: string | null;
2787
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2219
2788
  }>;
2220
2789
  retrieveCompact: (options: import("./core/transport.js").CallOptions<Types.GetSessionCompactionData>) => Promise<{
2221
2790
  type: "session_compaction";
@@ -2230,9 +2799,9 @@ export declare function createAgent(transport: Transport): {
2230
2799
  id: string;
2231
2800
  display_name: string;
2232
2801
  thinking: {
2233
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
2802
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
2234
2803
  can_disable: boolean;
2235
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
2804
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
2236
2805
  } | null;
2237
2806
  };
2238
2807
  total_tokens: number | null;
@@ -2311,6 +2880,12 @@ export declare function createAgent(transport: Transport): {
2311
2880
  content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
2312
2881
  type: "user.message";
2313
2882
  processed_at?: null | string;
2883
+ praxis_context?: {
2884
+ items: Array<{
2885
+ name: string;
2886
+ value: string;
2887
+ }>;
2888
+ };
2314
2889
  message_id?: string;
2315
2890
  } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
2316
2891
  id: string;
@@ -2360,6 +2935,10 @@ export declare function createAgent(transport: Transport): {
2360
2935
  };
2361
2936
  };
2362
2937
  source?: "app" | "codemode";
2938
+ title?: string;
2939
+ input_titles?: {
2940
+ [key: string]: string;
2941
+ };
2363
2942
  } | {
2364
2943
  id: string;
2365
2944
  mcp_tool_use_id: string;
@@ -2499,7 +3078,7 @@ export declare function createAgent(transport: Transport): {
2499
3078
  inference_geo?: string;
2500
3079
  speed?: "standard" | "fast";
2501
3080
  settings?: {
2502
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
3081
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2503
3082
  };
2504
3083
  };
2505
3084
  multiagent: null | Types.AgentManaged171;
@@ -2530,18 +3109,20 @@ export declare function createAgent(transport: Transport): {
2530
3109
  model?: {
2531
3110
  id: string;
2532
3111
  thinking: {
2533
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
3112
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
2534
3113
  can_disable: boolean;
2535
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
3114
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
2536
3115
  } | null;
2537
3116
  };
2538
3117
  thinking?: {
2539
- effort: "low" | "medium" | "high" | "xhigh" | "none";
3118
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2540
3119
  } | null;
2541
3120
  forked_from?: {
2542
3121
  session_id: string;
2543
3122
  message_id: string;
2544
3123
  } | null;
3124
+ readonly external_user_id: string | null;
3125
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2545
3126
  }>;
2546
3127
  };
2547
3128
  toolsets: {
@@ -2616,6 +3197,11 @@ export declare function createApplication(transport: Transport): {
2616
3197
  };
2617
3198
  update: (options: import("./core/transport.js").CallOptions<Types.ApplicationUpdateWorkerData>) => Promise<Types.ApplicationWorker>;
2618
3199
  versions: {
3200
+ assets: {
3201
+ retrieveManifest: (options: import("./core/transport.js").CallOptions<Types.ApplicationGetVersionAssetManifestData>) => Promise<{
3202
+ manifest: Types.ApplicationAssetManifest;
3203
+ }>;
3204
+ };
2619
3205
  create: (options: import("./core/transport.js").CallOptions<Types.ApplicationCreateVersionData>) => Promise<Types.ApplicationCreateVersionResult>;
2620
3206
  list: (options: import("./core/transport.js").CallOptions<Types.ApplicationListVersionsData>) => Promise<import("./automation.js").Page<Types.ApplicationVersion>>;
2621
3207
  retrieve: (options: import("./core/transport.js").CallOptions<Types.ApplicationGetVersionData>) => Promise<Types.ApplicationVersion>;
@@ -3571,9 +4157,142 @@ export declare function createOrganization(transport: Transport): {
3571
4157
  }>;
3572
4158
  };
3573
4159
  feedback: {
4160
+ counts: {
4161
+ list: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationFeedbackCountsData> | undefined) => Promise<{
4162
+ object: "feedback.counts";
4163
+ open: number;
4164
+ awaiting_customer: number;
4165
+ in_progress: number;
4166
+ resolved: number;
4167
+ closed: number;
4168
+ total: number;
4169
+ }>;
4170
+ };
3574
4171
  create: (options: import("./core/transport.js").CallOptions<Types.CreateOrganizationFeedbackData>) => Promise<{
3575
4172
  id: string;
3576
4173
  }>;
4174
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationFeedbackData> | undefined) => Promise<{
4175
+ object: "page";
4176
+ data: Array<{
4177
+ object: "feedback";
4178
+ id: string;
4179
+ title?: string | null;
4180
+ type?: string | null;
4181
+ message: string;
4182
+ phase: "open" | "awaiting_customer" | "in_progress" | "resolved" | "closed";
4183
+ status: "unresolved" | "resolved" | "ignored";
4184
+ source: "console" | "api" | "codemode";
4185
+ url?: string | null;
4186
+ first_response_due_time?: string | null;
4187
+ first_response_time?: string | null;
4188
+ last_message_time: string;
4189
+ unread: boolean;
4190
+ create_time: string;
4191
+ update_time: string;
4192
+ reporter?: {
4193
+ type?: "user" | "api_key" | "agent_session";
4194
+ };
4195
+ last_message_preview?: {
4196
+ author_kind?: "customer" | "staff" | "system";
4197
+ body?: string;
4198
+ create_time?: string;
4199
+ } | null;
4200
+ attachments: Array<{
4201
+ id?: string;
4202
+ name?: string;
4203
+ content_type?: string;
4204
+ size?: number;
4205
+ create_time?: string;
4206
+ }>;
4207
+ }>;
4208
+ has_more: boolean;
4209
+ next_page: string | null;
4210
+ }>;
4211
+ messages: {
4212
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateOrganizationFeedbackMessageData>) => Promise<{
4213
+ object: "feedback.message";
4214
+ id: string;
4215
+ feedback_id: string;
4216
+ author: {
4217
+ kind?: "customer" | "staff" | "system";
4218
+ name?: string;
4219
+ };
4220
+ body: string;
4221
+ event?: {
4222
+ type?: "phase_changed" | "assigned";
4223
+ from?: string | null;
4224
+ to?: string | null;
4225
+ } | null;
4226
+ attachments: Array<{
4227
+ id?: string;
4228
+ name?: string;
4229
+ content_type?: string;
4230
+ size?: number;
4231
+ create_time?: string;
4232
+ }>;
4233
+ create_time: string;
4234
+ }>;
4235
+ list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationFeedbackMessagesData>) => Promise<{
4236
+ object: "page";
4237
+ data: Array<{
4238
+ object: "feedback.message";
4239
+ id: string;
4240
+ feedback_id: string;
4241
+ author: {
4242
+ kind?: "customer" | "staff" | "system";
4243
+ name?: string;
4244
+ };
4245
+ body: string;
4246
+ event?: {
4247
+ type?: "phase_changed" | "assigned";
4248
+ from?: string | null;
4249
+ to?: string | null;
4250
+ } | null;
4251
+ attachments: Array<{
4252
+ id?: string;
4253
+ name?: string;
4254
+ content_type?: string;
4255
+ size?: number;
4256
+ create_time?: string;
4257
+ }>;
4258
+ create_time: string;
4259
+ }>;
4260
+ has_more: boolean;
4261
+ next_page: string | null;
4262
+ }>;
4263
+ };
4264
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationFeedbackData>) => Promise<{
4265
+ object: "feedback";
4266
+ id: string;
4267
+ title?: string | null;
4268
+ type?: string | null;
4269
+ message: string;
4270
+ phase: "open" | "awaiting_customer" | "in_progress" | "resolved" | "closed";
4271
+ status: "unresolved" | "resolved" | "ignored";
4272
+ source: "console" | "api" | "codemode";
4273
+ url?: string | null;
4274
+ first_response_due_time?: string | null;
4275
+ first_response_time?: string | null;
4276
+ last_message_time: string;
4277
+ unread: boolean;
4278
+ create_time: string;
4279
+ update_time: string;
4280
+ reporter?: {
4281
+ type?: "user" | "api_key" | "agent_session";
4282
+ };
4283
+ last_message_preview?: {
4284
+ author_kind?: "customer" | "staff" | "system";
4285
+ body?: string;
4286
+ create_time?: string;
4287
+ } | null;
4288
+ attachments: Array<{
4289
+ id?: string;
4290
+ name?: string;
4291
+ content_type?: string;
4292
+ size?: number;
4293
+ create_time?: string;
4294
+ }>;
4295
+ }>;
3577
4296
  };
3578
4297
  usage: {
3579
4298
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{