@deepraxis/sdk 0.1.0-dev.95813a3 → 0.1.0-dev.a3beed2

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,24 @@ export declare function createAgent(transport: Transport): {
27
27
  type: "agent";
28
28
  updated_at: string;
29
29
  version: number;
30
+ databases: Array<{
31
+ id: string;
32
+ access: "read_only" | "read_write";
33
+ instructions?: string;
34
+ enabled?: boolean;
35
+ }>;
36
+ vector_stores: Array<{
37
+ id: string;
38
+ access: "read_only" | "read_write";
39
+ instructions?: string;
40
+ enabled?: boolean;
41
+ }>;
42
+ files: Array<{
43
+ id: string;
44
+ access: "read_only";
45
+ instructions?: string;
46
+ enabled?: boolean;
47
+ }>;
30
48
  kind: "personal" | "service";
31
49
  computer_id?: string;
32
50
  subagent_model?: string | null;
@@ -132,6 +150,7 @@ export declare function createAgent(transport: Transport): {
132
150
  models?: {
133
151
  allowed: Array<string>;
134
152
  };
153
+ status: "active" | "archived";
135
154
  }>;
136
155
  create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
137
156
  id: string;
@@ -157,6 +176,24 @@ export declare function createAgent(transport: Transport): {
157
176
  type: "agent";
158
177
  updated_at: string;
159
178
  version: number;
179
+ databases: Array<{
180
+ id: string;
181
+ access: "read_only" | "read_write";
182
+ instructions?: string;
183
+ enabled?: boolean;
184
+ }>;
185
+ vector_stores: Array<{
186
+ id: string;
187
+ access: "read_only" | "read_write";
188
+ instructions?: string;
189
+ enabled?: boolean;
190
+ }>;
191
+ files: Array<{
192
+ id: string;
193
+ access: "read_only";
194
+ instructions?: string;
195
+ enabled?: boolean;
196
+ }>;
160
197
  kind: "personal" | "service";
161
198
  computer_id?: string;
162
199
  subagent_model?: string | null;
@@ -262,6 +299,7 @@ export declare function createAgent(transport: Transport): {
262
299
  models?: {
263
300
  allowed: Array<string>;
264
301
  };
302
+ status: "active" | "archived";
265
303
  }>;
266
304
  endUsers: {
267
305
  block: {
@@ -360,6 +398,24 @@ export declare function createAgent(transport: Transport): {
360
398
  type: "agent";
361
399
  updated_at: string;
362
400
  version: number;
401
+ databases: Array<{
402
+ id: string;
403
+ access: "read_only" | "read_write";
404
+ instructions?: string;
405
+ enabled?: boolean;
406
+ }>;
407
+ vector_stores: Array<{
408
+ id: string;
409
+ access: "read_only" | "read_write";
410
+ instructions?: string;
411
+ enabled?: boolean;
412
+ }>;
413
+ files: Array<{
414
+ id: string;
415
+ access: "read_only";
416
+ instructions?: string;
417
+ enabled?: boolean;
418
+ }>;
363
419
  kind: "personal" | "service";
364
420
  computer_id?: string;
365
421
  subagent_model?: string | null;
@@ -465,6 +521,7 @@ export declare function createAgent(transport: Transport): {
465
521
  models?: {
466
522
  allowed: Array<string>;
467
523
  };
524
+ status: "active" | "archived";
468
525
  }>;
469
526
  next_page: string | null;
470
527
  }>;
@@ -492,6 +549,24 @@ export declare function createAgent(transport: Transport): {
492
549
  type: "agent";
493
550
  updated_at: string;
494
551
  version: number;
552
+ databases: Array<{
553
+ id: string;
554
+ access: "read_only" | "read_write";
555
+ instructions?: string;
556
+ enabled?: boolean;
557
+ }>;
558
+ vector_stores: Array<{
559
+ id: string;
560
+ access: "read_only" | "read_write";
561
+ instructions?: string;
562
+ enabled?: boolean;
563
+ }>;
564
+ files: Array<{
565
+ id: string;
566
+ access: "read_only";
567
+ instructions?: string;
568
+ enabled?: boolean;
569
+ }>;
495
570
  kind: "personal" | "service";
496
571
  computer_id?: string;
497
572
  subagent_model?: string | null;
@@ -597,7 +672,361 @@ export declare function createAgent(transport: Transport): {
597
672
  models?: {
598
673
  allowed: Array<string>;
599
674
  };
675
+ status: "active" | "archived";
600
676
  }>;
677
+ unarchive: {
678
+ create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
679
+ id: string;
680
+ archived_at: null | string;
681
+ created_at: string;
682
+ description: null | string;
683
+ mcp_servers: Array<{
684
+ type: "url";
685
+ name: string;
686
+ url: string;
687
+ headers?: {
688
+ [key: string]: string;
689
+ };
690
+ timeout_ms?: number;
691
+ } | {
692
+ type: "sse";
693
+ name: string;
694
+ url: string;
695
+ headers?: {
696
+ [key: string]: string;
697
+ };
698
+ timeout_ms?: number;
699
+ } | {
700
+ type: "stdio";
701
+ name: string;
702
+ command: string;
703
+ args?: Array<string>;
704
+ env?: {
705
+ [key: string]: string;
706
+ };
707
+ timeout_ms?: number;
708
+ }>;
709
+ metadata: {
710
+ [key: string]: string;
711
+ };
712
+ model: {
713
+ 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;
714
+ effort?: {
715
+ type: "low";
716
+ } | {
717
+ type: "medium";
718
+ } | {
719
+ type: "high";
720
+ } | {
721
+ type: "xhigh";
722
+ } | {
723
+ type: "max";
724
+ };
725
+ inference_geo?: string;
726
+ speed?: "standard" | "fast";
727
+ settings?: {
728
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
729
+ };
730
+ };
731
+ multiagent: null | {
732
+ agents: Array<{
733
+ id: string;
734
+ type: "agent";
735
+ version: number;
736
+ } | {
737
+ model: string;
738
+ type: "advisor";
739
+ }>;
740
+ type: "coordinator";
741
+ };
742
+ name: string;
743
+ skills: Array<{
744
+ skill_id: string;
745
+ type: "anthropic";
746
+ version: string;
747
+ } | {
748
+ skill_id: string;
749
+ type: "custom";
750
+ version: string;
751
+ }>;
752
+ system: null | string;
753
+ tools: Array<{
754
+ configs: Array<{
755
+ enabled: boolean;
756
+ name: "bash";
757
+ permission_policy: {
758
+ type: "always_allow";
759
+ } | {
760
+ type: "always_ask";
761
+ } | {
762
+ type: "auto";
763
+ };
764
+ type: "bash";
765
+ } | {
766
+ enabled: boolean;
767
+ name: "edit";
768
+ permission_policy: {
769
+ type: "always_allow";
770
+ } | {
771
+ type: "always_ask";
772
+ } | {
773
+ type: "auto";
774
+ };
775
+ type: "edit";
776
+ } | {
777
+ enabled: boolean;
778
+ name: "read";
779
+ permission_policy: {
780
+ type: "always_allow";
781
+ } | {
782
+ type: "always_ask";
783
+ } | {
784
+ type: "auto";
785
+ };
786
+ type: "read";
787
+ } | {
788
+ enabled: boolean;
789
+ name: "write";
790
+ permission_policy: {
791
+ type: "always_allow";
792
+ } | {
793
+ type: "always_ask";
794
+ } | {
795
+ type: "auto";
796
+ };
797
+ type: "write";
798
+ } | {
799
+ enabled: boolean;
800
+ name: "glob";
801
+ permission_policy: {
802
+ type: "always_allow";
803
+ } | {
804
+ type: "always_ask";
805
+ } | {
806
+ type: "auto";
807
+ };
808
+ type: "glob";
809
+ } | {
810
+ enabled: boolean;
811
+ name: "grep";
812
+ permission_policy: {
813
+ type: "always_allow";
814
+ } | {
815
+ type: "always_ask";
816
+ } | {
817
+ type: "auto";
818
+ };
819
+ type: "grep";
820
+ } | {
821
+ enabled: boolean;
822
+ name: "web_fetch";
823
+ permission_policy: {
824
+ type: "always_allow";
825
+ } | {
826
+ type: "always_ask";
827
+ } | {
828
+ type: "auto";
829
+ };
830
+ type: "web_fetch";
831
+ allowed_domains?: Array<string>;
832
+ blocked_domains?: Array<string>;
833
+ max_content_tokens?: null | number;
834
+ } | {
835
+ enabled: boolean;
836
+ name: "web_search";
837
+ permission_policy: {
838
+ type: "always_allow";
839
+ } | {
840
+ type: "always_ask";
841
+ } | {
842
+ type: "auto";
843
+ };
844
+ type: "web_search";
845
+ allowed_domains?: Array<string>;
846
+ blocked_domains?: Array<string>;
847
+ user_location?: null | {
848
+ type: "approximate";
849
+ city?: null | string;
850
+ country?: null | string;
851
+ region?: null | string;
852
+ timezone?: null | string;
853
+ };
854
+ } | {
855
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
856
+ enabled: boolean;
857
+ permission_policy: {
858
+ type: "always_allow" | "always_ask";
859
+ };
860
+ }>;
861
+ default_config: {
862
+ enabled: boolean;
863
+ permission_policy: {
864
+ type: "always_allow";
865
+ } | {
866
+ type: "always_ask";
867
+ } | {
868
+ type: "auto";
869
+ };
870
+ };
871
+ type: "agent_toolset_20260401";
872
+ } | {
873
+ type: "mcp_toolset";
874
+ mcp_server_name: string;
875
+ default_config?: {
876
+ enabled?: boolean | null;
877
+ permission_policy?: null | {
878
+ type: "always_allow" | "always_ask";
879
+ };
880
+ } | null;
881
+ configs?: Array<{
882
+ name: string;
883
+ enabled?: boolean | null;
884
+ permission_policy?: null | {
885
+ type: "always_allow" | "always_ask";
886
+ };
887
+ }> | null;
888
+ } | {
889
+ description: string;
890
+ input_schema: {
891
+ type: "object";
892
+ properties?: null | {
893
+ [key: string]: unknown;
894
+ };
895
+ required?: null | Array<string>;
896
+ [key: string]: unknown;
897
+ };
898
+ name: string;
899
+ type: "custom";
900
+ }>;
901
+ type: "agent";
902
+ updated_at: string;
903
+ version: number;
904
+ databases: Array<{
905
+ id: string;
906
+ access: "read_only" | "read_write";
907
+ instructions?: string;
908
+ enabled?: boolean;
909
+ }>;
910
+ vector_stores: Array<{
911
+ id: string;
912
+ access: "read_only" | "read_write";
913
+ instructions?: string;
914
+ enabled?: boolean;
915
+ }>;
916
+ files: Array<{
917
+ id: string;
918
+ access: "read_only";
919
+ instructions?: string;
920
+ enabled?: boolean;
921
+ }>;
922
+ kind: "personal" | "service";
923
+ computer_id?: string;
924
+ subagent_model?: string | null;
925
+ subagents?: Array<{
926
+ name: string;
927
+ description: string;
928
+ prompt: string;
929
+ tools?: Array<string>;
930
+ disallowed_tools?: Array<string>;
931
+ model?: string;
932
+ }> | null;
933
+ commands?: Array<{
934
+ name: string;
935
+ description?: string;
936
+ argument_hint?: string;
937
+ prompt: string;
938
+ }> | null;
939
+ settings?: {
940
+ hooks?: {
941
+ SessionStart?: Array<{
942
+ matcher?: string;
943
+ hooks: Array<{
944
+ type: "command";
945
+ command: string;
946
+ timeout?: number;
947
+ async?: boolean;
948
+ enabled?: boolean;
949
+ }>;
950
+ }>;
951
+ UserPromptSubmit?: Array<{
952
+ matcher?: string;
953
+ hooks: Array<{
954
+ type: "command";
955
+ command: string;
956
+ timeout?: number;
957
+ async?: boolean;
958
+ enabled?: boolean;
959
+ }>;
960
+ }>;
961
+ PreToolUse?: Array<{
962
+ matcher?: string;
963
+ hooks: Array<{
964
+ type: "command";
965
+ command: string;
966
+ timeout?: number;
967
+ async?: boolean;
968
+ enabled?: boolean;
969
+ }>;
970
+ }>;
971
+ PermissionRequest?: Array<{
972
+ matcher?: string;
973
+ hooks: Array<{
974
+ type: "command";
975
+ command: string;
976
+ timeout?: number;
977
+ async?: boolean;
978
+ enabled?: boolean;
979
+ }>;
980
+ }>;
981
+ PostToolUse?: Array<{
982
+ matcher?: string;
983
+ hooks: Array<{
984
+ type: "command";
985
+ command: string;
986
+ timeout?: number;
987
+ async?: boolean;
988
+ enabled?: boolean;
989
+ }>;
990
+ }>;
991
+ PostToolUseFailure?: Array<{
992
+ matcher?: string;
993
+ hooks: Array<{
994
+ type: "command";
995
+ command: string;
996
+ timeout?: number;
997
+ async?: boolean;
998
+ enabled?: boolean;
999
+ }>;
1000
+ }>;
1001
+ Stop?: Array<{
1002
+ matcher?: string;
1003
+ hooks: Array<{
1004
+ type: "command";
1005
+ command: string;
1006
+ timeout?: number;
1007
+ async?: boolean;
1008
+ enabled?: boolean;
1009
+ }>;
1010
+ }>;
1011
+ };
1012
+ allowManagedHooksOnly?: boolean;
1013
+ allowManagedMcpServersOnly?: boolean;
1014
+ allowManagedPermissionRulesOnly?: boolean;
1015
+ autoMemoryEnabled?: boolean;
1016
+ disabled?: {
1017
+ subagents?: Array<string>;
1018
+ commands?: Array<string>;
1019
+ skills?: Array<string>;
1020
+ mcpServers?: Array<string>;
1021
+ hooks?: Array<string>;
1022
+ };
1023
+ } | null;
1024
+ models?: {
1025
+ allowed: Array<string>;
1026
+ };
1027
+ status: "active" | "archived";
1028
+ }>;
1029
+ };
601
1030
  update: (options: import("./core/transport.js").CallOptions<Types.AgentsUpdateData>) => Promise<{
602
1031
  id: string;
603
1032
  archived_at: null | string;
@@ -622,6 +1051,24 @@ export declare function createAgent(transport: Transport): {
622
1051
  type: "agent";
623
1052
  updated_at: string;
624
1053
  version: number;
1054
+ databases: Array<{
1055
+ id: string;
1056
+ access: "read_only" | "read_write";
1057
+ instructions?: string;
1058
+ enabled?: boolean;
1059
+ }>;
1060
+ vector_stores: Array<{
1061
+ id: string;
1062
+ access: "read_only" | "read_write";
1063
+ instructions?: string;
1064
+ enabled?: boolean;
1065
+ }>;
1066
+ files: Array<{
1067
+ id: string;
1068
+ access: "read_only";
1069
+ instructions?: string;
1070
+ enabled?: boolean;
1071
+ }>;
625
1072
  kind: "personal" | "service";
626
1073
  computer_id?: string;
627
1074
  subagent_model?: string | null;
@@ -727,6 +1174,7 @@ export declare function createAgent(transport: Transport): {
727
1174
  models?: {
728
1175
  allowed: Array<string>;
729
1176
  };
1177
+ status: "active" | "archived";
730
1178
  }>;
731
1179
  versions: {
732
1180
  list: (options: import("./core/transport.js").CallOptions<Types.AgentsVersionsListData>) => Promise<{
@@ -754,6 +1202,24 @@ export declare function createAgent(transport: Transport): {
754
1202
  type: "agent";
755
1203
  updated_at: string;
756
1204
  version: number;
1205
+ databases: Array<{
1206
+ id: string;
1207
+ access: "read_only" | "read_write";
1208
+ instructions?: string;
1209
+ enabled?: boolean;
1210
+ }>;
1211
+ vector_stores: Array<{
1212
+ id: string;
1213
+ access: "read_only" | "read_write";
1214
+ instructions?: string;
1215
+ enabled?: boolean;
1216
+ }>;
1217
+ files: Array<{
1218
+ id: string;
1219
+ access: "read_only";
1220
+ instructions?: string;
1221
+ enabled?: boolean;
1222
+ }>;
757
1223
  kind: "personal" | "service";
758
1224
  computer_id?: string;
759
1225
  subagent_model?: string | null;
@@ -859,6 +1325,7 @@ export declare function createAgent(transport: Transport): {
859
1325
  models?: {
860
1326
  allowed: Array<string>;
861
1327
  };
1328
+ status: "active" | "archived";
862
1329
  }>;
863
1330
  next_page: string | null;
864
1331
  }>;
@@ -926,6 +1393,7 @@ export declare function createAgent(transport: Transport): {
926
1393
  updated_at: string | null;
927
1394
  }>;
928
1395
  has_more: false;
1396
+ tier: "light" | "heavy";
929
1397
  }>;
930
1398
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
931
1399
  };
@@ -1554,6 +2022,7 @@ export declare function createAgent(transport: Transport): {
1554
2022
  readonly external_user_id: string | null;
1555
2023
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
1556
2024
  }>;
2025
+ delete: (options: import("./core/transport.js").CallOptions<Types.SessionsDeleteData>) => Promise<Types.AgentManaged184>;
1557
2026
  events: {
1558
2027
  list: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsListData>) => Promise<{
1559
2028
  data: Array<{
@@ -2854,6 +3323,11 @@ export declare function createApplication(transport: Transport): {
2854
3323
  };
2855
3324
  update: (options: import("./core/transport.js").CallOptions<Types.ApplicationUpdateWorkerData>) => Promise<Types.ApplicationWorker>;
2856
3325
  versions: {
3326
+ assets: {
3327
+ retrieveManifest: (options: import("./core/transport.js").CallOptions<Types.ApplicationGetVersionAssetManifestData>) => Promise<{
3328
+ manifest: Types.ApplicationAssetManifest;
3329
+ }>;
3330
+ };
2857
3331
  create: (options: import("./core/transport.js").CallOptions<Types.ApplicationCreateVersionData>) => Promise<Types.ApplicationCreateVersionResult>;
2858
3332
  list: (options: import("./core/transport.js").CallOptions<Types.ApplicationListVersionsData>) => Promise<import("./automation.js").Page<Types.ApplicationVersion>>;
2859
3333
  retrieve: (options: import("./core/transport.js").CallOptions<Types.ApplicationGetVersionData>) => Promise<Types.ApplicationVersion>;
@@ -3107,6 +3581,14 @@ export declare function createFile(transport: Transport): {
3107
3581
  retrieve: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveFileData>) => Promise<Types.OwnFileOpenAiFile>;
3108
3582
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveFileContentData>) => Promise<Blob | File>;
3109
3583
  };
3584
+ uploads: {
3585
+ cancel: (options: import("./core/transport.js").CallOptions<Types.FileCancelUploadData>) => Promise<Types.OwnFilePraxisUpload>;
3586
+ complete: (options: import("./core/transport.js").CallOptions<Types.FileCompleteUploadData>) => Promise<Types.OwnFilePraxisUpload>;
3587
+ create: (options: import("./core/transport.js").CallOptions<Types.FileCreateUploadData>) => Promise<Types.OwnFilePraxisUpload>;
3588
+ parts: {
3589
+ create: (options: import("./core/transport.js").CallOptions<Types.FileAddUploadPartData>) => Promise<Types.OwnFilePraxisUploadPart>;
3590
+ };
3591
+ };
3110
3592
  };
3111
3593
  export declare function createKnowledge(transport: Transport): {
3112
3594
  vectorStores: {
@@ -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),
@@ -393,6 +400,14 @@ export function createFile(transport) {
393
400
  retrieve: bind(transport, sdk.fileRetrieveFile),
394
401
  retrieveContent: bind(transport, sdk.fileRetrieveFileContent),
395
402
  },
403
+ uploads: {
404
+ cancel: bind(transport, sdk.fileCancelUpload),
405
+ complete: bind(transport, sdk.fileCompleteUpload),
406
+ create: bind(transport, sdk.fileCreateUpload),
407
+ parts: {
408
+ create: bind(transport, options => sdk.fileAddUploadPart({ ...options, bodySerializer: multipartBodySerializer, headers: { 'Content-Type': null, ...options.headers } })),
409
+ },
410
+ },
396
411
  };
397
412
  }
398
413
  export function createKnowledge(transport) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepraxis/sdk",
3
- "version": "0.1.0-dev.95813a3",
3
+ "version": "0.1.0-dev.a3beed2",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "exports": {