@synsci/sdk 2.0.2-test.37.1 → 2.0.2-test.40.1
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/dist/src/v2/gen/sdk.gen.d.ts +142 -50
- package/dist/src/v2/gen/sdk.gen.js +260 -86
- package/dist/src/v2/gen/types.gen.d.ts +385 -217
- package/package.json +1 -1
|
@@ -1,6 +1,36 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
2
|
baseUrl: `${string}://${string}` | (string & {});
|
|
3
3
|
};
|
|
4
|
+
export type Project = {
|
|
5
|
+
id: string;
|
|
6
|
+
worktree: string;
|
|
7
|
+
vcs?: "git";
|
|
8
|
+
name?: string;
|
|
9
|
+
icon?: {
|
|
10
|
+
url?: string;
|
|
11
|
+
override?: string;
|
|
12
|
+
color?: string;
|
|
13
|
+
};
|
|
14
|
+
commands?: {
|
|
15
|
+
/**
|
|
16
|
+
* Startup script to run when creating a new workspace (worktree)
|
|
17
|
+
*/
|
|
18
|
+
start?: string;
|
|
19
|
+
};
|
|
20
|
+
time: {
|
|
21
|
+
created: number;
|
|
22
|
+
updated: number;
|
|
23
|
+
initialized?: number;
|
|
24
|
+
};
|
|
25
|
+
sandboxes: Array<string>;
|
|
26
|
+
};
|
|
27
|
+
export type BadRequestError = {
|
|
28
|
+
data: unknown;
|
|
29
|
+
errors: Array<{
|
|
30
|
+
[key: string]: unknown;
|
|
31
|
+
}>;
|
|
32
|
+
success: false;
|
|
33
|
+
};
|
|
4
34
|
export type EventServerConnected = {
|
|
5
35
|
type: "server.connected";
|
|
6
36
|
properties: {
|
|
@@ -25,29 +55,6 @@ export type EventInstallationUpdateAvailable = {
|
|
|
25
55
|
version: string;
|
|
26
56
|
};
|
|
27
57
|
};
|
|
28
|
-
export type Project = {
|
|
29
|
-
id: string;
|
|
30
|
-
worktree: string;
|
|
31
|
-
vcs?: "git";
|
|
32
|
-
name?: string;
|
|
33
|
-
icon?: {
|
|
34
|
-
url?: string;
|
|
35
|
-
override?: string;
|
|
36
|
-
color?: string;
|
|
37
|
-
};
|
|
38
|
-
commands?: {
|
|
39
|
-
/**
|
|
40
|
-
* Startup script to run when creating a new workspace (worktree)
|
|
41
|
-
*/
|
|
42
|
-
start?: string;
|
|
43
|
-
};
|
|
44
|
-
time: {
|
|
45
|
-
created: number;
|
|
46
|
-
updated: number;
|
|
47
|
-
initialized?: number;
|
|
48
|
-
};
|
|
49
|
-
sandboxes: Array<string>;
|
|
50
|
-
};
|
|
51
58
|
export type EventProjectUpdated = {
|
|
52
59
|
type: "project.updated";
|
|
53
60
|
properties: Project;
|
|
@@ -86,7 +93,7 @@ export type EventSessionFilesystemChanged = {
|
|
|
86
93
|
id: string;
|
|
87
94
|
path: string;
|
|
88
95
|
access: "read" | "write";
|
|
89
|
-
scope: "once" | "session";
|
|
96
|
+
scope: "once" | "session" | "project";
|
|
90
97
|
source: "workspace" | "permission" | "api";
|
|
91
98
|
time: {
|
|
92
99
|
created: number;
|
|
@@ -490,7 +497,7 @@ export type EventPermissionReplied = {
|
|
|
490
497
|
properties: {
|
|
491
498
|
sessionID: string;
|
|
492
499
|
requestID: string;
|
|
493
|
-
reply: "once" | "always" | "reject";
|
|
500
|
+
reply: "once" | "session" | "project" | "always" | "reject";
|
|
494
501
|
};
|
|
495
502
|
};
|
|
496
503
|
export type SessionStatus = {
|
|
@@ -1699,13 +1706,6 @@ export type Config = {
|
|
|
1699
1706
|
mcp_timeout?: number;
|
|
1700
1707
|
};
|
|
1701
1708
|
};
|
|
1702
|
-
export type BadRequestError = {
|
|
1703
|
-
data: unknown;
|
|
1704
|
-
errors: Array<{
|
|
1705
|
-
[key: string]: unknown;
|
|
1706
|
-
}>;
|
|
1707
|
-
success: false;
|
|
1708
|
-
};
|
|
1709
1709
|
export type NotFoundError = {
|
|
1710
1710
|
name: "NotFoundError";
|
|
1711
1711
|
data: {
|
|
@@ -1911,6 +1911,14 @@ export type SubtaskPartInput = {
|
|
|
1911
1911
|
};
|
|
1912
1912
|
command?: string;
|
|
1913
1913
|
};
|
|
1914
|
+
export type PermissionStandingScope = "project" | "global";
|
|
1915
|
+
export type PermissionStanding = {
|
|
1916
|
+
id: string;
|
|
1917
|
+
permission: string;
|
|
1918
|
+
pattern: string;
|
|
1919
|
+
scope: PermissionStandingScope;
|
|
1920
|
+
created: number;
|
|
1921
|
+
};
|
|
1914
1922
|
export type ProviderAuthMethod = {
|
|
1915
1923
|
type: "oauth" | "api";
|
|
1916
1924
|
label: string;
|
|
@@ -2053,6 +2061,28 @@ export type GlobalHealthResponses = {
|
|
|
2053
2061
|
};
|
|
2054
2062
|
};
|
|
2055
2063
|
export type GlobalHealthResponse = GlobalHealthResponses[keyof GlobalHealthResponses];
|
|
2064
|
+
export type GlobalProjectCreateData = {
|
|
2065
|
+
body?: {
|
|
2066
|
+
name: string;
|
|
2067
|
+
};
|
|
2068
|
+
path?: never;
|
|
2069
|
+
query?: never;
|
|
2070
|
+
url: "/global/project";
|
|
2071
|
+
};
|
|
2072
|
+
export type GlobalProjectCreateErrors = {
|
|
2073
|
+
/**
|
|
2074
|
+
* Bad request
|
|
2075
|
+
*/
|
|
2076
|
+
400: BadRequestError;
|
|
2077
|
+
};
|
|
2078
|
+
export type GlobalProjectCreateError = GlobalProjectCreateErrors[keyof GlobalProjectCreateErrors];
|
|
2079
|
+
export type GlobalProjectCreateResponses = {
|
|
2080
|
+
/**
|
|
2081
|
+
* Created project information
|
|
2082
|
+
*/
|
|
2083
|
+
201: Project;
|
|
2084
|
+
};
|
|
2085
|
+
export type GlobalProjectCreateResponse = GlobalProjectCreateResponses[keyof GlobalProjectCreateResponses];
|
|
2056
2086
|
export type GlobalEventData = {
|
|
2057
2087
|
body?: never;
|
|
2058
2088
|
path?: never;
|
|
@@ -2535,12 +2565,6 @@ export type SettingsComputeGetResponses = {
|
|
|
2535
2565
|
scheduler?: "none" | "slurm" | "pbs";
|
|
2536
2566
|
workdir?: string;
|
|
2537
2567
|
}>;
|
|
2538
|
-
endpoints?: Array<{
|
|
2539
|
-
id: string;
|
|
2540
|
-
label: string;
|
|
2541
|
-
url: string;
|
|
2542
|
-
kind: "local" | "remote";
|
|
2543
|
-
}>;
|
|
2544
2568
|
};
|
|
2545
2569
|
};
|
|
2546
2570
|
export type SettingsComputeGetResponse = SettingsComputeGetResponses[keyof SettingsComputeGetResponses];
|
|
@@ -2576,12 +2600,6 @@ export type SettingsComputeProviderDisconnectResponses = {
|
|
|
2576
2600
|
scheduler?: "none" | "slurm" | "pbs";
|
|
2577
2601
|
workdir?: string;
|
|
2578
2602
|
}>;
|
|
2579
|
-
endpoints?: Array<{
|
|
2580
|
-
id: string;
|
|
2581
|
-
label: string;
|
|
2582
|
-
url: string;
|
|
2583
|
-
kind: "local" | "remote";
|
|
2584
|
-
}>;
|
|
2585
2603
|
};
|
|
2586
2604
|
};
|
|
2587
2605
|
export type SettingsComputeProviderDisconnectResponse = SettingsComputeProviderDisconnectResponses[keyof SettingsComputeProviderDisconnectResponses];
|
|
@@ -2626,12 +2644,6 @@ export type SettingsComputeProviderConnectResponses = {
|
|
|
2626
2644
|
scheduler?: "none" | "slurm" | "pbs";
|
|
2627
2645
|
workdir?: string;
|
|
2628
2646
|
}>;
|
|
2629
|
-
endpoints?: Array<{
|
|
2630
|
-
id: string;
|
|
2631
|
-
label: string;
|
|
2632
|
-
url: string;
|
|
2633
|
-
kind: "local" | "remote";
|
|
2634
|
-
}>;
|
|
2635
2647
|
};
|
|
2636
2648
|
};
|
|
2637
2649
|
export type SettingsComputeProviderConnectResponse = SettingsComputeProviderConnectResponses[keyof SettingsComputeProviderConnectResponses];
|
|
@@ -2679,12 +2691,6 @@ export type SettingsComputeSshAddResponses = {
|
|
|
2679
2691
|
scheduler?: "none" | "slurm" | "pbs";
|
|
2680
2692
|
workdir?: string;
|
|
2681
2693
|
}>;
|
|
2682
|
-
endpoints?: Array<{
|
|
2683
|
-
id: string;
|
|
2684
|
-
label: string;
|
|
2685
|
-
url: string;
|
|
2686
|
-
kind: "local" | "remote";
|
|
2687
|
-
}>;
|
|
2688
2694
|
};
|
|
2689
2695
|
};
|
|
2690
2696
|
export type SettingsComputeSshAddResponse = SettingsComputeSshAddResponses[keyof SettingsComputeSshAddResponses];
|
|
@@ -2752,106 +2758,9 @@ export type SettingsComputeSshRemoveResponses = {
|
|
|
2752
2758
|
scheduler?: "none" | "slurm" | "pbs";
|
|
2753
2759
|
workdir?: string;
|
|
2754
2760
|
}>;
|
|
2755
|
-
endpoints?: Array<{
|
|
2756
|
-
id: string;
|
|
2757
|
-
label: string;
|
|
2758
|
-
url: string;
|
|
2759
|
-
kind: "local" | "remote";
|
|
2760
|
-
}>;
|
|
2761
2761
|
};
|
|
2762
2762
|
};
|
|
2763
2763
|
export type SettingsComputeSshRemoveResponse = SettingsComputeSshRemoveResponses[keyof SettingsComputeSshRemoveResponses];
|
|
2764
|
-
export type SettingsComputeEndpointAddData = {
|
|
2765
|
-
body?: {
|
|
2766
|
-
label: string;
|
|
2767
|
-
url: string;
|
|
2768
|
-
kind: "local" | "remote";
|
|
2769
|
-
};
|
|
2770
|
-
path?: never;
|
|
2771
|
-
query?: never;
|
|
2772
|
-
url: "/settings/compute/endpoint";
|
|
2773
|
-
};
|
|
2774
|
-
export type SettingsComputeEndpointAddErrors = {
|
|
2775
|
-
/**
|
|
2776
|
-
* Bad request
|
|
2777
|
-
*/
|
|
2778
|
-
400: BadRequestError;
|
|
2779
|
-
};
|
|
2780
|
-
export type SettingsComputeEndpointAddError = SettingsComputeEndpointAddErrors[keyof SettingsComputeEndpointAddErrors];
|
|
2781
|
-
export type SettingsComputeEndpointAddResponses = {
|
|
2782
|
-
/**
|
|
2783
|
-
* Updated
|
|
2784
|
-
*/
|
|
2785
|
-
200: {
|
|
2786
|
-
providers?: Array<{
|
|
2787
|
-
id: string;
|
|
2788
|
-
name: string;
|
|
2789
|
-
verified: boolean;
|
|
2790
|
-
placeholder: string;
|
|
2791
|
-
hint: string;
|
|
2792
|
-
connected: boolean;
|
|
2793
|
-
connected_at: string | null;
|
|
2794
|
-
last_used: string | null;
|
|
2795
|
-
}>;
|
|
2796
|
-
ssh_hosts?: Array<{
|
|
2797
|
-
id: string;
|
|
2798
|
-
label: string;
|
|
2799
|
-
host: string;
|
|
2800
|
-
user?: string;
|
|
2801
|
-
port?: number;
|
|
2802
|
-
scheduler?: "none" | "slurm" | "pbs";
|
|
2803
|
-
workdir?: string;
|
|
2804
|
-
}>;
|
|
2805
|
-
endpoints?: Array<{
|
|
2806
|
-
id: string;
|
|
2807
|
-
label: string;
|
|
2808
|
-
url: string;
|
|
2809
|
-
kind: "local" | "remote";
|
|
2810
|
-
}>;
|
|
2811
|
-
};
|
|
2812
|
-
};
|
|
2813
|
-
export type SettingsComputeEndpointAddResponse = SettingsComputeEndpointAddResponses[keyof SettingsComputeEndpointAddResponses];
|
|
2814
|
-
export type SettingsComputeEndpointRemoveData = {
|
|
2815
|
-
body?: never;
|
|
2816
|
-
path: {
|
|
2817
|
-
id: string;
|
|
2818
|
-
};
|
|
2819
|
-
query?: never;
|
|
2820
|
-
url: "/settings/compute/endpoint/{id}";
|
|
2821
|
-
};
|
|
2822
|
-
export type SettingsComputeEndpointRemoveResponses = {
|
|
2823
|
-
/**
|
|
2824
|
-
* Updated
|
|
2825
|
-
*/
|
|
2826
|
-
200: {
|
|
2827
|
-
providers?: Array<{
|
|
2828
|
-
id: string;
|
|
2829
|
-
name: string;
|
|
2830
|
-
verified: boolean;
|
|
2831
|
-
placeholder: string;
|
|
2832
|
-
hint: string;
|
|
2833
|
-
connected: boolean;
|
|
2834
|
-
connected_at: string | null;
|
|
2835
|
-
last_used: string | null;
|
|
2836
|
-
}>;
|
|
2837
|
-
ssh_hosts?: Array<{
|
|
2838
|
-
id: string;
|
|
2839
|
-
label: string;
|
|
2840
|
-
host: string;
|
|
2841
|
-
user?: string;
|
|
2842
|
-
port?: number;
|
|
2843
|
-
scheduler?: "none" | "slurm" | "pbs";
|
|
2844
|
-
workdir?: string;
|
|
2845
|
-
}>;
|
|
2846
|
-
endpoints?: Array<{
|
|
2847
|
-
id: string;
|
|
2848
|
-
label: string;
|
|
2849
|
-
url: string;
|
|
2850
|
-
kind: "local" | "remote";
|
|
2851
|
-
}>;
|
|
2852
|
-
};
|
|
2853
|
-
};
|
|
2854
|
-
export type SettingsComputeEndpointRemoveResponse = SettingsComputeEndpointRemoveResponses[keyof SettingsComputeEndpointRemoveResponses];
|
|
2855
2764
|
export type SettingsComputeJobsListData = {
|
|
2856
2765
|
body?: never;
|
|
2857
2766
|
path?: never;
|
|
@@ -3853,77 +3762,38 @@ export type SettingsComputeJobsCancelResponses = {
|
|
|
3853
3762
|
};
|
|
3854
3763
|
};
|
|
3855
3764
|
export type SettingsComputeJobsCancelResponse = SettingsComputeJobsCancelResponses[keyof SettingsComputeJobsCancelResponses];
|
|
3856
|
-
export type
|
|
3765
|
+
export type SettingsReviewGetData = {
|
|
3857
3766
|
body?: never;
|
|
3858
3767
|
path?: never;
|
|
3859
3768
|
query?: never;
|
|
3860
|
-
url: "/settings/
|
|
3861
|
-
};
|
|
3862
|
-
export type SettingsPermissionsGetResponses = {
|
|
3863
|
-
/**
|
|
3864
|
-
* Registry write permissions
|
|
3865
|
-
*/
|
|
3866
|
-
200: {
|
|
3867
|
-
grants?: {
|
|
3868
|
-
[key: string]: "global" | "session" | "revoked";
|
|
3869
|
-
};
|
|
3870
|
-
};
|
|
3871
|
-
};
|
|
3872
|
-
export type SettingsPermissionsGetResponse = SettingsPermissionsGetResponses[keyof SettingsPermissionsGetResponses];
|
|
3873
|
-
export type SettingsPermissionsSetData = {
|
|
3874
|
-
body?: {
|
|
3875
|
-
scope: "global" | "session" | "revoked";
|
|
3876
|
-
};
|
|
3877
|
-
path: {
|
|
3878
|
-
action: string;
|
|
3879
|
-
};
|
|
3880
|
-
query?: never;
|
|
3881
|
-
url: "/settings/permissions/{action}";
|
|
3882
|
-
};
|
|
3883
|
-
export type SettingsPermissionsSetErrors = {
|
|
3884
|
-
/**
|
|
3885
|
-
* Bad request
|
|
3886
|
-
*/
|
|
3887
|
-
400: BadRequestError;
|
|
3769
|
+
url: "/settings/review";
|
|
3888
3770
|
};
|
|
3889
|
-
export type
|
|
3890
|
-
export type SettingsPermissionsSetResponses = {
|
|
3771
|
+
export type SettingsReviewGetResponses = {
|
|
3891
3772
|
/**
|
|
3892
|
-
*
|
|
3773
|
+
* Reviewer preferences
|
|
3893
3774
|
*/
|
|
3894
3775
|
200: {
|
|
3895
|
-
|
|
3896
|
-
[key: string]: "global" | "session" | "revoked";
|
|
3897
|
-
};
|
|
3776
|
+
auto: boolean;
|
|
3898
3777
|
};
|
|
3899
3778
|
};
|
|
3900
|
-
export type
|
|
3901
|
-
export type
|
|
3779
|
+
export type SettingsReviewGetResponse = SettingsReviewGetResponses[keyof SettingsReviewGetResponses];
|
|
3780
|
+
export type SettingsReviewSetData = {
|
|
3902
3781
|
body?: {
|
|
3903
|
-
|
|
3782
|
+
auto: boolean;
|
|
3904
3783
|
};
|
|
3905
3784
|
path?: never;
|
|
3906
3785
|
query?: never;
|
|
3907
|
-
url: "/settings/
|
|
3908
|
-
};
|
|
3909
|
-
export type SettingsPermissionsRevokeAllErrors = {
|
|
3910
|
-
/**
|
|
3911
|
-
* Bad request
|
|
3912
|
-
*/
|
|
3913
|
-
400: BadRequestError;
|
|
3786
|
+
url: "/settings/review";
|
|
3914
3787
|
};
|
|
3915
|
-
export type
|
|
3916
|
-
export type SettingsPermissionsRevokeAllResponses = {
|
|
3788
|
+
export type SettingsReviewSetResponses = {
|
|
3917
3789
|
/**
|
|
3918
|
-
* Updated
|
|
3790
|
+
* Updated preferences
|
|
3919
3791
|
*/
|
|
3920
3792
|
200: {
|
|
3921
|
-
|
|
3922
|
-
[key: string]: "global" | "session" | "revoked";
|
|
3923
|
-
};
|
|
3793
|
+
auto: boolean;
|
|
3924
3794
|
};
|
|
3925
3795
|
};
|
|
3926
|
-
export type
|
|
3796
|
+
export type SettingsReviewSetResponse = SettingsReviewSetResponses[keyof SettingsReviewSetResponses];
|
|
3927
3797
|
export type SettingsPreferencesGetData = {
|
|
3928
3798
|
body?: never;
|
|
3929
3799
|
path?: never;
|
|
@@ -4900,7 +4770,7 @@ export type SessionFilesystemListResponses = {
|
|
|
4900
4770
|
id: string;
|
|
4901
4771
|
path: string;
|
|
4902
4772
|
access: "read" | "write";
|
|
4903
|
-
scope: "once" | "session";
|
|
4773
|
+
scope: "once" | "session" | "project";
|
|
4904
4774
|
source: "workspace" | "permission" | "api";
|
|
4905
4775
|
time: {
|
|
4906
4776
|
created: number;
|
|
@@ -4920,7 +4790,7 @@ export type SessionFilesystemGrantData = {
|
|
|
4920
4790
|
body?: {
|
|
4921
4791
|
path: string;
|
|
4922
4792
|
access: "read" | "write";
|
|
4923
|
-
scope?: "once" | "session";
|
|
4793
|
+
scope?: "once" | "session" | "project";
|
|
4924
4794
|
};
|
|
4925
4795
|
path: {
|
|
4926
4796
|
sessionID: string;
|
|
@@ -4949,7 +4819,7 @@ export type SessionFilesystemGrantResponses = {
|
|
|
4949
4819
|
id: string;
|
|
4950
4820
|
path: string;
|
|
4951
4821
|
access: "read" | "write";
|
|
4952
|
-
scope: "once" | "session";
|
|
4822
|
+
scope: "once" | "session" | "project";
|
|
4953
4823
|
source: "workspace" | "permission" | "api";
|
|
4954
4824
|
time: {
|
|
4955
4825
|
created: number;
|
|
@@ -4989,7 +4859,7 @@ export type SessionFilesystemRevokeResponses = {
|
|
|
4989
4859
|
id: string;
|
|
4990
4860
|
path: string;
|
|
4991
4861
|
access: "read" | "write";
|
|
4992
|
-
scope: "once" | "session";
|
|
4862
|
+
scope: "once" | "session" | "project";
|
|
4993
4863
|
source: "workspace" | "permission" | "api";
|
|
4994
4864
|
time: {
|
|
4995
4865
|
created: number;
|
|
@@ -5030,6 +4900,39 @@ export type SessionTodoResponses = {
|
|
|
5030
4900
|
200: Array<Todo>;
|
|
5031
4901
|
};
|
|
5032
4902
|
export type SessionTodoResponse = SessionTodoResponses[keyof SessionTodoResponses];
|
|
4903
|
+
export type SessionReviewData = {
|
|
4904
|
+
body?: never;
|
|
4905
|
+
path: {
|
|
4906
|
+
/**
|
|
4907
|
+
* Session ID
|
|
4908
|
+
*/
|
|
4909
|
+
sessionID: string;
|
|
4910
|
+
};
|
|
4911
|
+
query?: {
|
|
4912
|
+
directory?: string;
|
|
4913
|
+
};
|
|
4914
|
+
url: "/session/{sessionID}/review";
|
|
4915
|
+
};
|
|
4916
|
+
export type SessionReviewErrors = {
|
|
4917
|
+
/**
|
|
4918
|
+
* Bad request
|
|
4919
|
+
*/
|
|
4920
|
+
400: BadRequestError;
|
|
4921
|
+
/**
|
|
4922
|
+
* Not found
|
|
4923
|
+
*/
|
|
4924
|
+
404: NotFoundError;
|
|
4925
|
+
};
|
|
4926
|
+
export type SessionReviewError = SessionReviewErrors[keyof SessionReviewErrors];
|
|
4927
|
+
export type SessionReviewResponses = {
|
|
4928
|
+
/**
|
|
4929
|
+
* Review started
|
|
4930
|
+
*/
|
|
4931
|
+
200: {
|
|
4932
|
+
started: boolean;
|
|
4933
|
+
};
|
|
4934
|
+
};
|
|
4935
|
+
export type SessionReviewResponse = SessionReviewResponses[keyof SessionReviewResponses];
|
|
5033
4936
|
export type SessionInitData = {
|
|
5034
4937
|
body?: {
|
|
5035
4938
|
modelID: string;
|
|
@@ -5566,7 +5469,7 @@ export type SessionUnrevertResponses = {
|
|
|
5566
5469
|
export type SessionUnrevertResponse = SessionUnrevertResponses[keyof SessionUnrevertResponses];
|
|
5567
5470
|
export type PermissionRespondData = {
|
|
5568
5471
|
body?: {
|
|
5569
|
-
response: "once" | "always" | "reject";
|
|
5472
|
+
response: "once" | "session" | "project" | "always" | "reject";
|
|
5570
5473
|
};
|
|
5571
5474
|
path: {
|
|
5572
5475
|
sessionID: string;
|
|
@@ -5595,9 +5498,41 @@ export type PermissionRespondResponses = {
|
|
|
5595
5498
|
200: boolean;
|
|
5596
5499
|
};
|
|
5597
5500
|
export type PermissionRespondResponse = PermissionRespondResponses[keyof PermissionRespondResponses];
|
|
5501
|
+
export type SearchQueryData = {
|
|
5502
|
+
body?: never;
|
|
5503
|
+
path?: never;
|
|
5504
|
+
query: {
|
|
5505
|
+
directory?: string;
|
|
5506
|
+
q: string;
|
|
5507
|
+
};
|
|
5508
|
+
url: "/search";
|
|
5509
|
+
};
|
|
5510
|
+
export type SearchQueryResponses = {
|
|
5511
|
+
/**
|
|
5512
|
+
* Grouped plain-text matches
|
|
5513
|
+
*/
|
|
5514
|
+
200: {
|
|
5515
|
+
sessions: Array<{
|
|
5516
|
+
id: string;
|
|
5517
|
+
title: string;
|
|
5518
|
+
}>;
|
|
5519
|
+
messages: Array<{
|
|
5520
|
+
sessionID: string;
|
|
5521
|
+
messageID: string;
|
|
5522
|
+
role: string;
|
|
5523
|
+
snippet: string;
|
|
5524
|
+
}>;
|
|
5525
|
+
artifacts: Array<{
|
|
5526
|
+
path: string;
|
|
5527
|
+
name: string;
|
|
5528
|
+
kind: string;
|
|
5529
|
+
}>;
|
|
5530
|
+
};
|
|
5531
|
+
};
|
|
5532
|
+
export type SearchQueryResponse = SearchQueryResponses[keyof SearchQueryResponses];
|
|
5598
5533
|
export type PermissionReplyData = {
|
|
5599
5534
|
body?: {
|
|
5600
|
-
reply: "once" | "always" | "reject";
|
|
5535
|
+
reply: "once" | "session" | "project" | "always" | "reject";
|
|
5601
5536
|
message?: string;
|
|
5602
5537
|
};
|
|
5603
5538
|
path: {
|
|
@@ -5641,6 +5576,38 @@ export type PermissionListResponses = {
|
|
|
5641
5576
|
200: Array<PermissionRequest>;
|
|
5642
5577
|
};
|
|
5643
5578
|
export type PermissionListResponse = PermissionListResponses[keyof PermissionListResponses];
|
|
5579
|
+
export type PermissionStandingListData = {
|
|
5580
|
+
body?: never;
|
|
5581
|
+
path?: never;
|
|
5582
|
+
query?: {
|
|
5583
|
+
directory?: string;
|
|
5584
|
+
};
|
|
5585
|
+
url: "/permission/standing";
|
|
5586
|
+
};
|
|
5587
|
+
export type PermissionStandingListResponses = {
|
|
5588
|
+
/**
|
|
5589
|
+
* Standing approvals
|
|
5590
|
+
*/
|
|
5591
|
+
200: Array<PermissionStanding>;
|
|
5592
|
+
};
|
|
5593
|
+
export type PermissionStandingListResponse = PermissionStandingListResponses[keyof PermissionStandingListResponses];
|
|
5594
|
+
export type PermissionStandingRevokeData = {
|
|
5595
|
+
body?: never;
|
|
5596
|
+
path: {
|
|
5597
|
+
id: string;
|
|
5598
|
+
};
|
|
5599
|
+
query?: {
|
|
5600
|
+
directory?: string;
|
|
5601
|
+
};
|
|
5602
|
+
url: "/permission/standing/{id}";
|
|
5603
|
+
};
|
|
5604
|
+
export type PermissionStandingRevokeResponses = {
|
|
5605
|
+
/**
|
|
5606
|
+
* Whether an approval was removed
|
|
5607
|
+
*/
|
|
5608
|
+
200: boolean;
|
|
5609
|
+
};
|
|
5610
|
+
export type PermissionStandingRevokeResponse = PermissionStandingRevokeResponses[keyof PermissionStandingRevokeResponses];
|
|
5644
5611
|
export type QuestionListData = {
|
|
5645
5612
|
body?: never;
|
|
5646
5613
|
path?: never;
|
|
@@ -5996,6 +5963,7 @@ export type FileArtifactsData = {
|
|
|
5996
5963
|
path?: never;
|
|
5997
5964
|
query?: {
|
|
5998
5965
|
directory?: string;
|
|
5966
|
+
sessionID?: string;
|
|
5999
5967
|
};
|
|
6000
5968
|
url: "/file/artifacts";
|
|
6001
5969
|
};
|
|
@@ -6013,6 +5981,46 @@ export type FileArtifactsResponses = {
|
|
|
6013
5981
|
}>;
|
|
6014
5982
|
};
|
|
6015
5983
|
export type FileArtifactsResponse = FileArtifactsResponses[keyof FileArtifactsResponses];
|
|
5984
|
+
export type FileArtifactSaveData = {
|
|
5985
|
+
body?: {
|
|
5986
|
+
path: string;
|
|
5987
|
+
sessionID: string;
|
|
5988
|
+
summary?: string;
|
|
5989
|
+
};
|
|
5990
|
+
path?: never;
|
|
5991
|
+
query?: {
|
|
5992
|
+
directory?: string;
|
|
5993
|
+
};
|
|
5994
|
+
url: "/file/artifact";
|
|
5995
|
+
};
|
|
5996
|
+
export type FileArtifactSaveErrors = {
|
|
5997
|
+
/**
|
|
5998
|
+
* Path is not readable within the project
|
|
5999
|
+
*/
|
|
6000
|
+
403: unknown;
|
|
6001
|
+
/**
|
|
6002
|
+
* File not found
|
|
6003
|
+
*/
|
|
6004
|
+
404: unknown;
|
|
6005
|
+
/**
|
|
6006
|
+
* File exceeds the 5 MB artifact limit
|
|
6007
|
+
*/
|
|
6008
|
+
413: unknown;
|
|
6009
|
+
};
|
|
6010
|
+
export type FileArtifactSaveResponses = {
|
|
6011
|
+
/**
|
|
6012
|
+
* Registered artifact version
|
|
6013
|
+
*/
|
|
6014
|
+
200: {
|
|
6015
|
+
id: string;
|
|
6016
|
+
versionID: string;
|
|
6017
|
+
version: number;
|
|
6018
|
+
type: string;
|
|
6019
|
+
summary: string;
|
|
6020
|
+
encoding?: "base64";
|
|
6021
|
+
};
|
|
6022
|
+
};
|
|
6023
|
+
export type FileArtifactSaveResponse = FileArtifactSaveResponses[keyof FileArtifactSaveResponses];
|
|
6016
6024
|
export type FileProvenanceData = {
|
|
6017
6025
|
body?: never;
|
|
6018
6026
|
path?: never;
|
|
@@ -6043,6 +6051,47 @@ export type FileProvenanceResponses = {
|
|
|
6043
6051
|
};
|
|
6044
6052
|
};
|
|
6045
6053
|
export type FileProvenanceResponse = FileProvenanceResponses[keyof FileProvenanceResponses];
|
|
6054
|
+
export type FileLineageData = {
|
|
6055
|
+
body?: never;
|
|
6056
|
+
path?: never;
|
|
6057
|
+
query: {
|
|
6058
|
+
directory?: string;
|
|
6059
|
+
path: string;
|
|
6060
|
+
sessionID?: string;
|
|
6061
|
+
};
|
|
6062
|
+
url: "/file/lineage";
|
|
6063
|
+
};
|
|
6064
|
+
export type FileLineageResponses = {
|
|
6065
|
+
/**
|
|
6066
|
+
* Artifact lineage
|
|
6067
|
+
*/
|
|
6068
|
+
200: {
|
|
6069
|
+
runs: Array<{
|
|
6070
|
+
id: string;
|
|
6071
|
+
tool: string;
|
|
6072
|
+
label: string;
|
|
6073
|
+
status?: "ok" | "error";
|
|
6074
|
+
recordedAt: string;
|
|
6075
|
+
sessionID?: string;
|
|
6076
|
+
messageID?: string;
|
|
6077
|
+
callID?: string;
|
|
6078
|
+
code?: string;
|
|
6079
|
+
command?: string;
|
|
6080
|
+
cwd?: string;
|
|
6081
|
+
kernel?: {
|
|
6082
|
+
language?: string;
|
|
6083
|
+
name?: string;
|
|
6084
|
+
};
|
|
6085
|
+
startedAt?: string;
|
|
6086
|
+
completedAt?: string;
|
|
6087
|
+
}>;
|
|
6088
|
+
messages: Array<{
|
|
6089
|
+
sessionID: string;
|
|
6090
|
+
messageID: string;
|
|
6091
|
+
}>;
|
|
6092
|
+
};
|
|
6093
|
+
};
|
|
6094
|
+
export type FileLineageResponse = FileLineageResponses[keyof FileLineageResponses];
|
|
6046
6095
|
export type FileReproducibilityData = {
|
|
6047
6096
|
body?: never;
|
|
6048
6097
|
path?: never;
|
|
@@ -6521,13 +6570,13 @@ export type FileReviewsCurrentData = {
|
|
|
6521
6570
|
};
|
|
6522
6571
|
export type FileReviewsCurrentErrors = {
|
|
6523
6572
|
/**
|
|
6524
|
-
* No publication
|
|
6573
|
+
* No publication preflight exists for this manuscript
|
|
6525
6574
|
*/
|
|
6526
6575
|
404: unknown;
|
|
6527
6576
|
};
|
|
6528
6577
|
export type FileReviewsCurrentResponses = {
|
|
6529
6578
|
/**
|
|
6530
|
-
* Current publication
|
|
6579
|
+
* Current publication preflight
|
|
6531
6580
|
*/
|
|
6532
6581
|
200: {
|
|
6533
6582
|
format: "openscience.publication-review.v1";
|
|
@@ -6598,7 +6647,7 @@ export type FileReviewsRunData = {
|
|
|
6598
6647
|
};
|
|
6599
6648
|
export type FileReviewsRunResponses = {
|
|
6600
6649
|
/**
|
|
6601
|
-
* Generated publication
|
|
6650
|
+
* Generated publication preflight
|
|
6602
6651
|
*/
|
|
6603
6652
|
200: {
|
|
6604
6653
|
format: "openscience.publication-review.v1";
|
|
@@ -6666,7 +6715,7 @@ export type FileReviewsHistoryData = {
|
|
|
6666
6715
|
};
|
|
6667
6716
|
export type FileReviewsHistoryResponses = {
|
|
6668
6717
|
/**
|
|
6669
|
-
* Publication
|
|
6718
|
+
* Publication preflight history
|
|
6670
6719
|
*/
|
|
6671
6720
|
200: Array<{
|
|
6672
6721
|
format: "openscience.publication-review.v1";
|
|
@@ -6746,7 +6795,7 @@ export type FileReviewsResolveErrors = {
|
|
|
6746
6795
|
};
|
|
6747
6796
|
export type FileReviewsResolveResponses = {
|
|
6748
6797
|
/**
|
|
6749
|
-
* Updated publication
|
|
6798
|
+
* Updated publication preflight
|
|
6750
6799
|
*/
|
|
6751
6800
|
200: {
|
|
6752
6801
|
format: "openscience.publication-review.v1";
|
|
@@ -6823,7 +6872,7 @@ export type FileReviewsFinalizeErrors = {
|
|
|
6823
6872
|
};
|
|
6824
6873
|
export type FileReviewsFinalizeResponses = {
|
|
6825
6874
|
/**
|
|
6826
|
-
* Finalized publication
|
|
6875
|
+
* Finalized publication preflight
|
|
6827
6876
|
*/
|
|
6828
6877
|
200: {
|
|
6829
6878
|
format: "openscience.publication-review.v1";
|
|
@@ -6944,6 +6993,10 @@ export type NotebookKernelsResponses = {
|
|
|
6944
6993
|
process_identity_verified: boolean | null;
|
|
6945
6994
|
started_at: number | null;
|
|
6946
6995
|
last_activity_at: number | null;
|
|
6996
|
+
resources?: {
|
|
6997
|
+
cpu_percent?: number;
|
|
6998
|
+
memory_bytes?: number;
|
|
6999
|
+
};
|
|
6947
7000
|
}>;
|
|
6948
7001
|
};
|
|
6949
7002
|
};
|
|
@@ -6999,6 +7052,10 @@ export type NotebookKernelRestartResponses = {
|
|
|
6999
7052
|
process_identity_verified: boolean | null;
|
|
7000
7053
|
started_at: number | null;
|
|
7001
7054
|
last_activity_at: number | null;
|
|
7055
|
+
resources?: {
|
|
7056
|
+
cpu_percent?: number;
|
|
7057
|
+
memory_bytes?: number;
|
|
7058
|
+
};
|
|
7002
7059
|
};
|
|
7003
7060
|
};
|
|
7004
7061
|
export type NotebookKernelRestartResponse = NotebookKernelRestartResponses[keyof NotebookKernelRestartResponses];
|
|
@@ -7053,6 +7110,10 @@ export type NotebookKernelStopResponses = {
|
|
|
7053
7110
|
process_identity_verified: boolean | null;
|
|
7054
7111
|
started_at: number | null;
|
|
7055
7112
|
last_activity_at: number | null;
|
|
7113
|
+
resources?: {
|
|
7114
|
+
cpu_percent?: number;
|
|
7115
|
+
memory_bytes?: number;
|
|
7116
|
+
};
|
|
7056
7117
|
};
|
|
7057
7118
|
};
|
|
7058
7119
|
export type NotebookKernelStopResponse = NotebookKernelStopResponses[keyof NotebookKernelStopResponses];
|
|
@@ -7107,6 +7168,10 @@ export type NotebookKernelInterruptResponses = {
|
|
|
7107
7168
|
process_identity_verified: boolean | null;
|
|
7108
7169
|
started_at: number | null;
|
|
7109
7170
|
last_activity_at: number | null;
|
|
7171
|
+
resources?: {
|
|
7172
|
+
cpu_percent?: number;
|
|
7173
|
+
memory_bytes?: number;
|
|
7174
|
+
};
|
|
7110
7175
|
state_preserved?: boolean;
|
|
7111
7176
|
};
|
|
7112
7177
|
};
|
|
@@ -7199,6 +7264,10 @@ export type NotebookStatusResponses = {
|
|
|
7199
7264
|
process_identity_verified: boolean | null;
|
|
7200
7265
|
started_at: number | null;
|
|
7201
7266
|
last_activity_at: number | null;
|
|
7267
|
+
resources?: {
|
|
7268
|
+
cpu_percent?: number;
|
|
7269
|
+
memory_bytes?: number;
|
|
7270
|
+
};
|
|
7202
7271
|
};
|
|
7203
7272
|
};
|
|
7204
7273
|
export type NotebookStatusResponse = NotebookStatusResponses[keyof NotebookStatusResponses];
|
|
@@ -7253,6 +7322,10 @@ export type NotebookRestartResponses = {
|
|
|
7253
7322
|
process_identity_verified: boolean | null;
|
|
7254
7323
|
started_at: number | null;
|
|
7255
7324
|
last_activity_at: number | null;
|
|
7325
|
+
resources?: {
|
|
7326
|
+
cpu_percent?: number;
|
|
7327
|
+
memory_bytes?: number;
|
|
7328
|
+
};
|
|
7256
7329
|
};
|
|
7257
7330
|
};
|
|
7258
7331
|
export type NotebookRestartResponse = NotebookRestartResponses[keyof NotebookRestartResponses];
|
|
@@ -7307,6 +7380,10 @@ export type NotebookStopResponses = {
|
|
|
7307
7380
|
process_identity_verified: boolean | null;
|
|
7308
7381
|
started_at: number | null;
|
|
7309
7382
|
last_activity_at: number | null;
|
|
7383
|
+
resources?: {
|
|
7384
|
+
cpu_percent?: number;
|
|
7385
|
+
memory_bytes?: number;
|
|
7386
|
+
};
|
|
7310
7387
|
};
|
|
7311
7388
|
};
|
|
7312
7389
|
export type NotebookStopResponse = NotebookStopResponses[keyof NotebookStopResponses];
|
|
@@ -7361,6 +7438,10 @@ export type NotebookInterruptResponses = {
|
|
|
7361
7438
|
process_identity_verified: boolean | null;
|
|
7362
7439
|
started_at: number | null;
|
|
7363
7440
|
last_activity_at: number | null;
|
|
7441
|
+
resources?: {
|
|
7442
|
+
cpu_percent?: number;
|
|
7443
|
+
memory_bytes?: number;
|
|
7444
|
+
};
|
|
7364
7445
|
state_preserved?: boolean;
|
|
7365
7446
|
};
|
|
7366
7447
|
};
|
|
@@ -7413,6 +7494,20 @@ export type ProvenanceRecordResponses = {
|
|
|
7413
7494
|
*/
|
|
7414
7495
|
200: unknown;
|
|
7415
7496
|
};
|
|
7497
|
+
export type ProvenanceReviewsListData = {
|
|
7498
|
+
body?: never;
|
|
7499
|
+
path?: never;
|
|
7500
|
+
query?: {
|
|
7501
|
+
directory?: string;
|
|
7502
|
+
};
|
|
7503
|
+
url: "/provenance/reviews";
|
|
7504
|
+
};
|
|
7505
|
+
export type ProvenanceReviewsListResponses = {
|
|
7506
|
+
/**
|
|
7507
|
+
* Reviewer findings
|
|
7508
|
+
*/
|
|
7509
|
+
200: unknown;
|
|
7510
|
+
};
|
|
7416
7511
|
export type ProvenanceReviewData = {
|
|
7417
7512
|
body?: {
|
|
7418
7513
|
target: string;
|
|
@@ -7440,6 +7535,31 @@ export type ProvenanceReviewResponses = {
|
|
|
7440
7535
|
*/
|
|
7441
7536
|
200: unknown;
|
|
7442
7537
|
};
|
|
7538
|
+
export type ProvenanceReviewsResolveData = {
|
|
7539
|
+
body?: {
|
|
7540
|
+
actor: string;
|
|
7541
|
+
reason: string;
|
|
7542
|
+
};
|
|
7543
|
+
path: {
|
|
7544
|
+
id: string;
|
|
7545
|
+
};
|
|
7546
|
+
query?: {
|
|
7547
|
+
directory?: string;
|
|
7548
|
+
};
|
|
7549
|
+
url: "/provenance/reviews/{id}/resolve";
|
|
7550
|
+
};
|
|
7551
|
+
export type ProvenanceReviewsResolveErrors = {
|
|
7552
|
+
/**
|
|
7553
|
+
* Not a refuting finding
|
|
7554
|
+
*/
|
|
7555
|
+
400: unknown;
|
|
7556
|
+
};
|
|
7557
|
+
export type ProvenanceReviewsResolveResponses = {
|
|
7558
|
+
/**
|
|
7559
|
+
* Resolution node
|
|
7560
|
+
*/
|
|
7561
|
+
200: unknown;
|
|
7562
|
+
};
|
|
7443
7563
|
export type ProvenanceExportData = {
|
|
7444
7564
|
body?: never;
|
|
7445
7565
|
path?: never;
|
|
@@ -7797,8 +7917,16 @@ export type SettingsMemoryGetResponses = {
|
|
|
7797
7917
|
id: string;
|
|
7798
7918
|
text: string;
|
|
7799
7919
|
createdAt: number;
|
|
7920
|
+
updatedAt?: number;
|
|
7921
|
+
source?: "user" | "agent";
|
|
7800
7922
|
}>;
|
|
7801
7923
|
}>;
|
|
7924
|
+
budget?: number;
|
|
7925
|
+
capacity: {
|
|
7926
|
+
used: number;
|
|
7927
|
+
max: number;
|
|
7928
|
+
gauge: string;
|
|
7929
|
+
};
|
|
7802
7930
|
};
|
|
7803
7931
|
};
|
|
7804
7932
|
export type SettingsMemoryGetResponse = SettingsMemoryGetResponses[keyof SettingsMemoryGetResponses];
|
|
@@ -7812,8 +7940,11 @@ export type SettingsMemorySetData = {
|
|
|
7812
7940
|
id: string;
|
|
7813
7941
|
text: string;
|
|
7814
7942
|
createdAt: number;
|
|
7943
|
+
updatedAt?: number;
|
|
7944
|
+
source?: "user" | "agent";
|
|
7815
7945
|
}>;
|
|
7816
7946
|
}>;
|
|
7947
|
+
budget?: number;
|
|
7817
7948
|
};
|
|
7818
7949
|
path?: never;
|
|
7819
7950
|
query?: {
|
|
@@ -7835,11 +7966,48 @@ export type SettingsMemorySetResponses = {
|
|
|
7835
7966
|
id: string;
|
|
7836
7967
|
text: string;
|
|
7837
7968
|
createdAt: number;
|
|
7969
|
+
updatedAt?: number;
|
|
7970
|
+
source?: "user" | "agent";
|
|
7838
7971
|
}>;
|
|
7839
7972
|
}>;
|
|
7973
|
+
budget?: number;
|
|
7974
|
+
capacity: {
|
|
7975
|
+
used: number;
|
|
7976
|
+
max: number;
|
|
7977
|
+
gauge: string;
|
|
7978
|
+
};
|
|
7840
7979
|
};
|
|
7841
7980
|
};
|
|
7842
7981
|
export type SettingsMemorySetResponse = SettingsMemorySetResponses[keyof SettingsMemorySetResponses];
|
|
7982
|
+
export type SettingsMemorySearchData = {
|
|
7983
|
+
body?: never;
|
|
7984
|
+
path?: never;
|
|
7985
|
+
query: {
|
|
7986
|
+
directory?: string;
|
|
7987
|
+
q: string;
|
|
7988
|
+
limit?: number;
|
|
7989
|
+
};
|
|
7990
|
+
url: "/settings/memory/search";
|
|
7991
|
+
};
|
|
7992
|
+
export type SettingsMemorySearchResponses = {
|
|
7993
|
+
/**
|
|
7994
|
+
* Full-text search hits
|
|
7995
|
+
*/
|
|
7996
|
+
200: {
|
|
7997
|
+
results: Array<{
|
|
7998
|
+
kind: "note" | "session";
|
|
7999
|
+
text: string;
|
|
8000
|
+
score: number;
|
|
8001
|
+
created: number;
|
|
8002
|
+
scope?: "global" | "project";
|
|
8003
|
+
category?: string;
|
|
8004
|
+
sessionID?: string;
|
|
8005
|
+
messageID?: string;
|
|
8006
|
+
role?: string;
|
|
8007
|
+
}>;
|
|
8008
|
+
};
|
|
8009
|
+
};
|
|
8010
|
+
export type SettingsMemorySearchResponse = SettingsMemorySearchResponses[keyof SettingsMemorySearchResponses];
|
|
7843
8011
|
export type SettingsNetworkGetData = {
|
|
7844
8012
|
body?: never;
|
|
7845
8013
|
path?: never;
|