@deepraxis/sdk 0.1.0-dev.95813a3 → 0.1.0-dev.a5cf3ce
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/METHODS.md +14 -1
- package/dist/core/client.d.ts +5 -1
- package/dist/core/client.js +3 -0
- package/dist/core/transport.d.ts +5 -0
- package/dist/core/transport.js +6 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +38 -18
- package/dist/generated/sdk.gen.js +102 -46
- package/dist/generated/types.gen.d.ts +5089 -3874
- package/dist/helpers/application-publish.d.ts +24 -4
- package/dist/helpers/application-publish.js +53 -3
- package/dist/helpers/database-count.d.ts +17 -0
- package/dist/helpers/database-count.js +11 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -0
- package/dist/operations.generated.d.ts +83 -16
- package/dist/operations.generated.js +109 -17
- package/dist/resources.generated.d.ts +348 -0
- package/dist/resources.generated.js +7 -0
- package/package.json +1 -1
|
@@ -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
|
}>;
|
|
@@ -926,6 +1267,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
926
1267
|
updated_at: string | null;
|
|
927
1268
|
}>;
|
|
928
1269
|
has_more: false;
|
|
1270
|
+
tier: "light" | "heavy";
|
|
929
1271
|
}>;
|
|
930
1272
|
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
|
|
931
1273
|
};
|
|
@@ -1554,6 +1896,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1554
1896
|
readonly external_user_id: string | null;
|
|
1555
1897
|
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
1556
1898
|
}>;
|
|
1899
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.SessionsDeleteData>) => Promise<Types.AgentManaged184>;
|
|
1557
1900
|
events: {
|
|
1558
1901
|
list: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsListData>) => Promise<{
|
|
1559
1902
|
data: Array<{
|
|
@@ -2854,6 +3197,11 @@ export declare function createApplication(transport: Transport): {
|
|
|
2854
3197
|
};
|
|
2855
3198
|
update: (options: import("./core/transport.js").CallOptions<Types.ApplicationUpdateWorkerData>) => Promise<Types.ApplicationWorker>;
|
|
2856
3199
|
versions: {
|
|
3200
|
+
assets: {
|
|
3201
|
+
retrieveManifest: (options: import("./core/transport.js").CallOptions<Types.ApplicationGetVersionAssetManifestData>) => Promise<{
|
|
3202
|
+
manifest: Types.ApplicationAssetManifest;
|
|
3203
|
+
}>;
|
|
3204
|
+
};
|
|
2857
3205
|
create: (options: import("./core/transport.js").CallOptions<Types.ApplicationCreateVersionData>) => Promise<Types.ApplicationCreateVersionResult>;
|
|
2858
3206
|
list: (options: import("./core/transport.js").CallOptions<Types.ApplicationListVersionsData>) => Promise<import("./automation.js").Page<Types.ApplicationVersion>>;
|
|
2859
3207
|
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),
|