@deepraxis/sdk 0.1.0-dev.06cf3b8 → 0.1.0-dev.13103a0

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.
@@ -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;
@@ -262,6 +263,7 @@ export declare function createAgent(transport: Transport): {
262
263
  models?: {
263
264
  allowed: Array<string>;
264
265
  };
266
+ status: "active" | "archived";
265
267
  }>;
266
268
  endUsers: {
267
269
  block: {
@@ -465,6 +467,7 @@ export declare function createAgent(transport: Transport): {
465
467
  models?: {
466
468
  allowed: Array<string>;
467
469
  };
470
+ status: "active" | "archived";
468
471
  }>;
469
472
  next_page: string | null;
470
473
  }>;
@@ -597,7 +600,343 @@ export declare function createAgent(transport: Transport): {
597
600
  models?: {
598
601
  allowed: Array<string>;
599
602
  };
603
+ status: "active" | "archived";
600
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
+ };
601
940
  update: (options: import("./core/transport.js").CallOptions<Types.AgentsUpdateData>) => Promise<{
602
941
  id: string;
603
942
  archived_at: null | string;
@@ -727,6 +1066,7 @@ export declare function createAgent(transport: Transport): {
727
1066
  models?: {
728
1067
  allowed: Array<string>;
729
1068
  };
1069
+ status: "active" | "archived";
730
1070
  }>;
731
1071
  versions: {
732
1072
  list: (options: import("./core/transport.js").CallOptions<Types.AgentsVersionsListData>) => Promise<{
@@ -859,6 +1199,7 @@ export declare function createAgent(transport: Transport): {
859
1199
  models?: {
860
1200
  allowed: Array<string>;
861
1201
  };
1202
+ status: "active" | "archived";
862
1203
  }>;
863
1204
  next_page: string | null;
864
1205
  }>;
@@ -870,6 +1211,7 @@ export declare function createAgent(transport: Transport): {
870
1211
  id: string;
871
1212
  name: string;
872
1213
  sandbox_id: string | null;
1214
+ machine_state: "not_started" | "provisioned";
873
1215
  environment_id: string | null;
874
1216
  status: "active" | "archived";
875
1217
  created_at: string;
@@ -901,6 +1243,7 @@ export declare function createAgent(transport: Transport): {
901
1243
  id: string;
902
1244
  name: string;
903
1245
  sandbox_id: string | null;
1246
+ machine_state: "not_started" | "provisioned";
904
1247
  environment_id: string | null;
905
1248
  status: "active" | "archived";
906
1249
  created_at: string;
@@ -945,6 +1288,7 @@ export declare function createAgent(transport: Transport): {
945
1288
  id: string;
946
1289
  name: string;
947
1290
  sandbox_id: string | null;
1291
+ machine_state: "not_started" | "provisioned";
948
1292
  environment_id: string | null;
949
1293
  status: "active" | "archived";
950
1294
  created_at: string;
@@ -959,6 +1303,7 @@ export declare function createAgent(transport: Transport): {
959
1303
  id: string;
960
1304
  name: string;
961
1305
  sandbox_id: string | null;
1306
+ machine_state: "not_started" | "provisioned";
962
1307
  environment_id: string | null;
963
1308
  status: "active" | "archived";
964
1309
  created_at: string;
@@ -967,12 +1312,14 @@ export declare function createAgent(transport: Transport): {
967
1312
  implementation: "virtual" | "sandbox";
968
1313
  storage_bytes: number;
969
1314
  file_count: number;
1315
+ stats_complete: boolean;
970
1316
  }>;
971
1317
  update: (options: import("./core/transport.js").CallOptions<Types.ComputersUpdateData>) => Promise<{
972
1318
  type: "computer";
973
1319
  id: string;
974
1320
  name: string;
975
1321
  sandbox_id: string | null;
1322
+ machine_state: "not_started" | "provisioned";
976
1323
  environment_id: string | null;
977
1324
  status: "active" | "archived";
978
1325
  created_at: string;
@@ -1548,6 +1895,7 @@ export declare function createAgent(transport: Transport): {
1548
1895
  readonly external_user_id: string | null;
1549
1896
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
1550
1897
  }>;
1898
+ delete: (options: import("./core/transport.js").CallOptions<Types.SessionsDeleteData>) => Promise<Types.AgentManaged184>;
1551
1899
  events: {
1552
1900
  list: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsListData>) => Promise<{
1553
1901
  data: Array<{
@@ -2848,6 +3196,11 @@ export declare function createApplication(transport: Transport): {
2848
3196
  };
2849
3197
  update: (options: import("./core/transport.js").CallOptions<Types.ApplicationUpdateWorkerData>) => Promise<Types.ApplicationWorker>;
2850
3198
  versions: {
3199
+ assets: {
3200
+ retrieveManifest: (options: import("./core/transport.js").CallOptions<Types.ApplicationGetVersionAssetManifestData>) => Promise<{
3201
+ manifest: Types.ApplicationAssetManifest;
3202
+ }>;
3203
+ };
2851
3204
  create: (options: import("./core/transport.js").CallOptions<Types.ApplicationCreateVersionData>) => Promise<Types.ApplicationCreateVersionResult>;
2852
3205
  list: (options: import("./core/transport.js").CallOptions<Types.ApplicationListVersionsData>) => Promise<import("./automation.js").Page<Types.ApplicationVersion>>;
2853
3206
  retrieve: (options: import("./core/transport.js").CallOptions<Types.ApplicationGetVersionData>) => Promise<Types.ApplicationVersion>;
@@ -24,6 +24,9 @@ export function createAgent(transport) {
24
24
  },
25
25
  list: bind(transport, sdk.agentsList),
26
26
  retrieve: bind(transport, sdk.agentsRetrieve),
27
+ unarchive: {
28
+ create: bind(transport, sdk.unarchiveAgent),
29
+ },
27
30
  update: bind(transport, sdk.agentsUpdate),
28
31
  versions: {
29
32
  list: bind(transport, sdk.agentsVersionsList),
@@ -104,6 +107,7 @@ export function createAgent(transport) {
104
107
  list: bind(transport, sdk.listSessionCompactions),
105
108
  },
106
109
  create: bind(transport, sdk.sessionsCreate),
110
+ delete: bind(transport, sdk.sessionsDelete),
107
111
  events: {
108
112
  list: bind(transport, sdk.sessionsEventsList),
109
113
  send: bind(transport, sdk.sessionsEventsSend),
@@ -185,6 +189,9 @@ export function createApplication(transport) {
185
189
  },
186
190
  update: bind(transport, sdk.applicationUpdateWorker),
187
191
  versions: {
192
+ assets: {
193
+ retrieveManifest: bind(transport, sdk.applicationGetVersionAssetManifest),
194
+ },
188
195
  create: bind(transport, sdk.applicationCreateVersion),
189
196
  list: bindPage(transport, sdk.applicationListVersions),
190
197
  retrieve: bind(transport, sdk.applicationGetVersion),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepraxis/sdk",
3
- "version": "0.1.0-dev.06cf3b8",
3
+ "version": "0.1.0-dev.13103a0",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "exports": {