@synsci/sdk 2.0.2-test.34.1 → 2.0.2-test.36.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/client.d.ts +2 -0
- package/dist/client.js +7 -0
- package/dist/v2/client.d.ts +2 -0
- package/dist/v2/client.js +7 -0
- package/dist/v2/gen/sdk.gen.d.ts +8 -8
- package/dist/v2/gen/types.gen.d.ts +637 -10
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -4,4 +4,6 @@ import { OpenScienceClient } from "./gen/sdk.gen.js";
|
|
|
4
4
|
export { type Config as OpenScienceClientConfig, OpenScienceClient };
|
|
5
5
|
export declare function createOpenScienceClient(config?: Config & {
|
|
6
6
|
directory?: string;
|
|
7
|
+
projectID?: string;
|
|
8
|
+
project?: string;
|
|
7
9
|
}): OpenScienceClient;
|
package/dist/client.js
CHANGED
|
@@ -20,6 +20,13 @@ export function createOpenScienceClient(config) {
|
|
|
20
20
|
"x-openscience-directory": config.directory,
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
|
+
const project = config?.projectID ?? config?.project;
|
|
24
|
+
if (project) {
|
|
25
|
+
config.headers = {
|
|
26
|
+
...config.headers,
|
|
27
|
+
"x-openscience-project": project,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
23
30
|
const client = createClient(config);
|
|
24
31
|
return new OpenScienceClient({ client });
|
|
25
32
|
}
|
package/dist/v2/client.d.ts
CHANGED
|
@@ -4,4 +4,6 @@ import { OpenScienceClient } from "./gen/sdk.gen.js";
|
|
|
4
4
|
export { type Config as OpenScienceClientConfig, OpenScienceClient };
|
|
5
5
|
export declare function createOpenScienceClient(config?: Config & {
|
|
6
6
|
directory?: string;
|
|
7
|
+
projectID?: string;
|
|
8
|
+
project?: string;
|
|
7
9
|
}): OpenScienceClient;
|
package/dist/v2/client.js
CHANGED
|
@@ -22,6 +22,13 @@ export function createOpenScienceClient(config) {
|
|
|
22
22
|
"x-openscience-directory": encodedDirectory,
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
|
+
const project = config?.projectID ?? config?.project;
|
|
26
|
+
if (project) {
|
|
27
|
+
config.headers = {
|
|
28
|
+
...config.headers,
|
|
29
|
+
"x-openscience-project": project,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
25
32
|
const client = createClient(config);
|
|
26
33
|
return new OpenScienceClient({ client });
|
|
27
34
|
}
|
package/dist/v2/gen/sdk.gen.d.ts
CHANGED
|
@@ -257,14 +257,14 @@ export declare class Jobs extends HeyApiClient {
|
|
|
257
257
|
/**
|
|
258
258
|
* List local and remote compute jobs
|
|
259
259
|
*/
|
|
260
|
-
list<ThrowOnError extends boolean = false>(parameters
|
|
261
|
-
directory
|
|
260
|
+
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
261
|
+
directory?: string;
|
|
262
262
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SettingsComputeJobsListResponses, unknown, ThrowOnError, "fields">;
|
|
263
263
|
/**
|
|
264
264
|
* Start a local, SSH, Slurm, or PBS compute job
|
|
265
265
|
*/
|
|
266
|
-
start<ThrowOnError extends boolean = false>(parameters
|
|
267
|
-
directory
|
|
266
|
+
start<ThrowOnError extends boolean = false>(parameters?: {
|
|
267
|
+
directory?: string;
|
|
268
268
|
name?: string;
|
|
269
269
|
command?: string;
|
|
270
270
|
cwd?: string;
|
|
@@ -289,22 +289,22 @@ export declare class Jobs extends HeyApiClient {
|
|
|
289
289
|
/**
|
|
290
290
|
* Clear completed compute jobs
|
|
291
291
|
*/
|
|
292
|
-
clear<ThrowOnError extends boolean = false>(parameters
|
|
293
|
-
directory
|
|
292
|
+
clear<ThrowOnError extends boolean = false>(parameters?: {
|
|
293
|
+
directory?: string;
|
|
294
294
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SettingsComputeJobsClearResponses, unknown, ThrowOnError, "fields">;
|
|
295
295
|
/**
|
|
296
296
|
* Read a compute job log
|
|
297
297
|
*/
|
|
298
298
|
log<ThrowOnError extends boolean = false>(parameters: {
|
|
299
299
|
id: string;
|
|
300
|
-
directory
|
|
300
|
+
directory?: string;
|
|
301
301
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SettingsComputeJobsLogResponses, SettingsComputeJobsLogErrors, ThrowOnError, "fields">;
|
|
302
302
|
/**
|
|
303
303
|
* Cancel a compute job
|
|
304
304
|
*/
|
|
305
305
|
cancel<ThrowOnError extends boolean = false>(parameters: {
|
|
306
306
|
id: string;
|
|
307
|
-
directory
|
|
307
|
+
directory?: string;
|
|
308
308
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SettingsComputeJobsCancelResponses, SettingsComputeJobsCancelErrors, ThrowOnError, "fields">;
|
|
309
309
|
}
|
|
310
310
|
export declare class Compute extends HeyApiClient {
|
|
@@ -2855,8 +2855,8 @@ export type SettingsComputeEndpointRemoveResponse = SettingsComputeEndpointRemov
|
|
|
2855
2855
|
export type SettingsComputeJobsListData = {
|
|
2856
2856
|
body?: never;
|
|
2857
2857
|
path?: never;
|
|
2858
|
-
query
|
|
2859
|
-
directory
|
|
2858
|
+
query?: {
|
|
2859
|
+
directory?: string;
|
|
2860
2860
|
};
|
|
2861
2861
|
url: "/settings/compute/jobs";
|
|
2862
2862
|
};
|
|
@@ -2917,6 +2917,7 @@ export type SettingsComputeJobsListResponses = {
|
|
|
2917
2917
|
node: string;
|
|
2918
2918
|
python?: string;
|
|
2919
2919
|
git?: {
|
|
2920
|
+
repository?: string;
|
|
2920
2921
|
branch?: string;
|
|
2921
2922
|
commit?: string;
|
|
2922
2923
|
dirty: boolean;
|
|
@@ -2935,6 +2936,214 @@ export type SettingsComputeJobsListResponses = {
|
|
|
2935
2936
|
partition?: string;
|
|
2936
2937
|
};
|
|
2937
2938
|
};
|
|
2939
|
+
provenance?: {
|
|
2940
|
+
format: "openscience.provenance.v1";
|
|
2941
|
+
kind: "kernel" | "local_compute" | "remote_compute" | "artifact_version";
|
|
2942
|
+
identity: {
|
|
2943
|
+
project_id: {
|
|
2944
|
+
status: "available";
|
|
2945
|
+
value: string;
|
|
2946
|
+
} | {
|
|
2947
|
+
status: "unavailable";
|
|
2948
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
2949
|
+
};
|
|
2950
|
+
session_id: {
|
|
2951
|
+
status: "available";
|
|
2952
|
+
value: string;
|
|
2953
|
+
} | {
|
|
2954
|
+
status: "unavailable";
|
|
2955
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
2956
|
+
};
|
|
2957
|
+
run_id: {
|
|
2958
|
+
status: "available";
|
|
2959
|
+
value: string;
|
|
2960
|
+
} | {
|
|
2961
|
+
status: "unavailable";
|
|
2962
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
2963
|
+
};
|
|
2964
|
+
};
|
|
2965
|
+
input: {
|
|
2966
|
+
code: {
|
|
2967
|
+
status: "available";
|
|
2968
|
+
value: string;
|
|
2969
|
+
} | {
|
|
2970
|
+
status: "unavailable";
|
|
2971
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
2972
|
+
};
|
|
2973
|
+
cwd: {
|
|
2974
|
+
status: "available";
|
|
2975
|
+
value: string;
|
|
2976
|
+
} | {
|
|
2977
|
+
status: "unavailable";
|
|
2978
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
2979
|
+
};
|
|
2980
|
+
code_state: {
|
|
2981
|
+
status: "available";
|
|
2982
|
+
value: {
|
|
2983
|
+
repository: {
|
|
2984
|
+
status: "available";
|
|
2985
|
+
value: string;
|
|
2986
|
+
} | {
|
|
2987
|
+
status: "unavailable";
|
|
2988
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
2989
|
+
};
|
|
2990
|
+
branch: {
|
|
2991
|
+
status: "available";
|
|
2992
|
+
value: string;
|
|
2993
|
+
} | {
|
|
2994
|
+
status: "unavailable";
|
|
2995
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
2996
|
+
};
|
|
2997
|
+
commit: {
|
|
2998
|
+
status: "available";
|
|
2999
|
+
value: string;
|
|
3000
|
+
} | {
|
|
3001
|
+
status: "unavailable";
|
|
3002
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3003
|
+
};
|
|
3004
|
+
dirty: {
|
|
3005
|
+
status: "available";
|
|
3006
|
+
value: boolean;
|
|
3007
|
+
} | {
|
|
3008
|
+
status: "unavailable";
|
|
3009
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3010
|
+
};
|
|
3011
|
+
};
|
|
3012
|
+
} | {
|
|
3013
|
+
status: "unavailable";
|
|
3014
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3015
|
+
};
|
|
3016
|
+
};
|
|
3017
|
+
environment: {
|
|
3018
|
+
host: {
|
|
3019
|
+
status: "available";
|
|
3020
|
+
value: {
|
|
3021
|
+
platform: string;
|
|
3022
|
+
arch: string;
|
|
3023
|
+
runtimes: {
|
|
3024
|
+
[key: string]: string;
|
|
3025
|
+
};
|
|
3026
|
+
};
|
|
3027
|
+
} | {
|
|
3028
|
+
status: "unavailable";
|
|
3029
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3030
|
+
};
|
|
3031
|
+
kernel: {
|
|
3032
|
+
status: "available";
|
|
3033
|
+
value: {
|
|
3034
|
+
id: string;
|
|
3035
|
+
language: string;
|
|
3036
|
+
incarnation: {
|
|
3037
|
+
status: "available";
|
|
3038
|
+
value: number;
|
|
3039
|
+
} | {
|
|
3040
|
+
status: "unavailable";
|
|
3041
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3042
|
+
};
|
|
3043
|
+
process_id: {
|
|
3044
|
+
status: "available";
|
|
3045
|
+
value: number;
|
|
3046
|
+
} | {
|
|
3047
|
+
status: "unavailable";
|
|
3048
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3049
|
+
};
|
|
3050
|
+
process_started_at: {
|
|
3051
|
+
status: "available";
|
|
3052
|
+
value: string;
|
|
3053
|
+
} | {
|
|
3054
|
+
status: "unavailable";
|
|
3055
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3056
|
+
};
|
|
3057
|
+
};
|
|
3058
|
+
} | {
|
|
3059
|
+
status: "unavailable";
|
|
3060
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3061
|
+
};
|
|
3062
|
+
};
|
|
3063
|
+
outputs: {
|
|
3064
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "interrupted" | "inconclusive";
|
|
3065
|
+
items: Array<{
|
|
3066
|
+
kind: "stream" | "display" | "result" | "error" | "artifact" | "checkpoint";
|
|
3067
|
+
label: string;
|
|
3068
|
+
artifact_id: {
|
|
3069
|
+
status: "available";
|
|
3070
|
+
value: string;
|
|
3071
|
+
} | {
|
|
3072
|
+
status: "unavailable";
|
|
3073
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3074
|
+
};
|
|
3075
|
+
path: {
|
|
3076
|
+
status: "available";
|
|
3077
|
+
value: string;
|
|
3078
|
+
} | {
|
|
3079
|
+
status: "unavailable";
|
|
3080
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3081
|
+
};
|
|
3082
|
+
sha256: string;
|
|
3083
|
+
size: number;
|
|
3084
|
+
version_id: {
|
|
3085
|
+
status: "available";
|
|
3086
|
+
value: string;
|
|
3087
|
+
} | {
|
|
3088
|
+
status: "unavailable";
|
|
3089
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3090
|
+
};
|
|
3091
|
+
version: {
|
|
3092
|
+
status: "available";
|
|
3093
|
+
value: number;
|
|
3094
|
+
} | {
|
|
3095
|
+
status: "unavailable";
|
|
3096
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3097
|
+
};
|
|
3098
|
+
created_at: {
|
|
3099
|
+
status: "available";
|
|
3100
|
+
value: string;
|
|
3101
|
+
} | {
|
|
3102
|
+
status: "unavailable";
|
|
3103
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3104
|
+
};
|
|
3105
|
+
}>;
|
|
3106
|
+
};
|
|
3107
|
+
timestamps: {
|
|
3108
|
+
created_at: {
|
|
3109
|
+
status: "available";
|
|
3110
|
+
value: string;
|
|
3111
|
+
} | {
|
|
3112
|
+
status: "unavailable";
|
|
3113
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3114
|
+
};
|
|
3115
|
+
started_at: {
|
|
3116
|
+
status: "available";
|
|
3117
|
+
value: string;
|
|
3118
|
+
} | {
|
|
3119
|
+
status: "unavailable";
|
|
3120
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3121
|
+
};
|
|
3122
|
+
completed_at: {
|
|
3123
|
+
status: "available";
|
|
3124
|
+
value: string;
|
|
3125
|
+
} | {
|
|
3126
|
+
status: "unavailable";
|
|
3127
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3128
|
+
};
|
|
3129
|
+
};
|
|
3130
|
+
handoff: {
|
|
3131
|
+
atlas_compute_id: {
|
|
3132
|
+
status: "available";
|
|
3133
|
+
value: string;
|
|
3134
|
+
} | {
|
|
3135
|
+
status: "unavailable";
|
|
3136
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3137
|
+
};
|
|
3138
|
+
atlas_run_id: {
|
|
3139
|
+
status: "available";
|
|
3140
|
+
value: string;
|
|
3141
|
+
} | {
|
|
3142
|
+
status: "unavailable";
|
|
3143
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3144
|
+
};
|
|
3145
|
+
};
|
|
3146
|
+
};
|
|
2938
3147
|
capture_error?: string;
|
|
2939
3148
|
scope?: {
|
|
2940
3149
|
directory: string;
|
|
@@ -2974,8 +3183,8 @@ export type SettingsComputeJobsStartData = {
|
|
|
2974
3183
|
checkpoint?: string;
|
|
2975
3184
|
};
|
|
2976
3185
|
path?: never;
|
|
2977
|
-
query
|
|
2978
|
-
directory
|
|
3186
|
+
query?: {
|
|
3187
|
+
directory?: string;
|
|
2979
3188
|
};
|
|
2980
3189
|
url: "/settings/compute/jobs";
|
|
2981
3190
|
};
|
|
@@ -3043,6 +3252,7 @@ export type SettingsComputeJobsStartResponses = {
|
|
|
3043
3252
|
node: string;
|
|
3044
3253
|
python?: string;
|
|
3045
3254
|
git?: {
|
|
3255
|
+
repository?: string;
|
|
3046
3256
|
branch?: string;
|
|
3047
3257
|
commit?: string;
|
|
3048
3258
|
dirty: boolean;
|
|
@@ -3061,6 +3271,214 @@ export type SettingsComputeJobsStartResponses = {
|
|
|
3061
3271
|
partition?: string;
|
|
3062
3272
|
};
|
|
3063
3273
|
};
|
|
3274
|
+
provenance?: {
|
|
3275
|
+
format: "openscience.provenance.v1";
|
|
3276
|
+
kind: "kernel" | "local_compute" | "remote_compute" | "artifact_version";
|
|
3277
|
+
identity: {
|
|
3278
|
+
project_id: {
|
|
3279
|
+
status: "available";
|
|
3280
|
+
value: string;
|
|
3281
|
+
} | {
|
|
3282
|
+
status: "unavailable";
|
|
3283
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3284
|
+
};
|
|
3285
|
+
session_id: {
|
|
3286
|
+
status: "available";
|
|
3287
|
+
value: string;
|
|
3288
|
+
} | {
|
|
3289
|
+
status: "unavailable";
|
|
3290
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3291
|
+
};
|
|
3292
|
+
run_id: {
|
|
3293
|
+
status: "available";
|
|
3294
|
+
value: string;
|
|
3295
|
+
} | {
|
|
3296
|
+
status: "unavailable";
|
|
3297
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3298
|
+
};
|
|
3299
|
+
};
|
|
3300
|
+
input: {
|
|
3301
|
+
code: {
|
|
3302
|
+
status: "available";
|
|
3303
|
+
value: string;
|
|
3304
|
+
} | {
|
|
3305
|
+
status: "unavailable";
|
|
3306
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3307
|
+
};
|
|
3308
|
+
cwd: {
|
|
3309
|
+
status: "available";
|
|
3310
|
+
value: string;
|
|
3311
|
+
} | {
|
|
3312
|
+
status: "unavailable";
|
|
3313
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3314
|
+
};
|
|
3315
|
+
code_state: {
|
|
3316
|
+
status: "available";
|
|
3317
|
+
value: {
|
|
3318
|
+
repository: {
|
|
3319
|
+
status: "available";
|
|
3320
|
+
value: string;
|
|
3321
|
+
} | {
|
|
3322
|
+
status: "unavailable";
|
|
3323
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3324
|
+
};
|
|
3325
|
+
branch: {
|
|
3326
|
+
status: "available";
|
|
3327
|
+
value: string;
|
|
3328
|
+
} | {
|
|
3329
|
+
status: "unavailable";
|
|
3330
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3331
|
+
};
|
|
3332
|
+
commit: {
|
|
3333
|
+
status: "available";
|
|
3334
|
+
value: string;
|
|
3335
|
+
} | {
|
|
3336
|
+
status: "unavailable";
|
|
3337
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3338
|
+
};
|
|
3339
|
+
dirty: {
|
|
3340
|
+
status: "available";
|
|
3341
|
+
value: boolean;
|
|
3342
|
+
} | {
|
|
3343
|
+
status: "unavailable";
|
|
3344
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3345
|
+
};
|
|
3346
|
+
};
|
|
3347
|
+
} | {
|
|
3348
|
+
status: "unavailable";
|
|
3349
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3350
|
+
};
|
|
3351
|
+
};
|
|
3352
|
+
environment: {
|
|
3353
|
+
host: {
|
|
3354
|
+
status: "available";
|
|
3355
|
+
value: {
|
|
3356
|
+
platform: string;
|
|
3357
|
+
arch: string;
|
|
3358
|
+
runtimes: {
|
|
3359
|
+
[key: string]: string;
|
|
3360
|
+
};
|
|
3361
|
+
};
|
|
3362
|
+
} | {
|
|
3363
|
+
status: "unavailable";
|
|
3364
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3365
|
+
};
|
|
3366
|
+
kernel: {
|
|
3367
|
+
status: "available";
|
|
3368
|
+
value: {
|
|
3369
|
+
id: string;
|
|
3370
|
+
language: string;
|
|
3371
|
+
incarnation: {
|
|
3372
|
+
status: "available";
|
|
3373
|
+
value: number;
|
|
3374
|
+
} | {
|
|
3375
|
+
status: "unavailable";
|
|
3376
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3377
|
+
};
|
|
3378
|
+
process_id: {
|
|
3379
|
+
status: "available";
|
|
3380
|
+
value: number;
|
|
3381
|
+
} | {
|
|
3382
|
+
status: "unavailable";
|
|
3383
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3384
|
+
};
|
|
3385
|
+
process_started_at: {
|
|
3386
|
+
status: "available";
|
|
3387
|
+
value: string;
|
|
3388
|
+
} | {
|
|
3389
|
+
status: "unavailable";
|
|
3390
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3391
|
+
};
|
|
3392
|
+
};
|
|
3393
|
+
} | {
|
|
3394
|
+
status: "unavailable";
|
|
3395
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3396
|
+
};
|
|
3397
|
+
};
|
|
3398
|
+
outputs: {
|
|
3399
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "interrupted" | "inconclusive";
|
|
3400
|
+
items: Array<{
|
|
3401
|
+
kind: "stream" | "display" | "result" | "error" | "artifact" | "checkpoint";
|
|
3402
|
+
label: string;
|
|
3403
|
+
artifact_id: {
|
|
3404
|
+
status: "available";
|
|
3405
|
+
value: string;
|
|
3406
|
+
} | {
|
|
3407
|
+
status: "unavailable";
|
|
3408
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3409
|
+
};
|
|
3410
|
+
path: {
|
|
3411
|
+
status: "available";
|
|
3412
|
+
value: string;
|
|
3413
|
+
} | {
|
|
3414
|
+
status: "unavailable";
|
|
3415
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3416
|
+
};
|
|
3417
|
+
sha256: string;
|
|
3418
|
+
size: number;
|
|
3419
|
+
version_id: {
|
|
3420
|
+
status: "available";
|
|
3421
|
+
value: string;
|
|
3422
|
+
} | {
|
|
3423
|
+
status: "unavailable";
|
|
3424
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3425
|
+
};
|
|
3426
|
+
version: {
|
|
3427
|
+
status: "available";
|
|
3428
|
+
value: number;
|
|
3429
|
+
} | {
|
|
3430
|
+
status: "unavailable";
|
|
3431
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3432
|
+
};
|
|
3433
|
+
created_at: {
|
|
3434
|
+
status: "available";
|
|
3435
|
+
value: string;
|
|
3436
|
+
} | {
|
|
3437
|
+
status: "unavailable";
|
|
3438
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3439
|
+
};
|
|
3440
|
+
}>;
|
|
3441
|
+
};
|
|
3442
|
+
timestamps: {
|
|
3443
|
+
created_at: {
|
|
3444
|
+
status: "available";
|
|
3445
|
+
value: string;
|
|
3446
|
+
} | {
|
|
3447
|
+
status: "unavailable";
|
|
3448
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3449
|
+
};
|
|
3450
|
+
started_at: {
|
|
3451
|
+
status: "available";
|
|
3452
|
+
value: string;
|
|
3453
|
+
} | {
|
|
3454
|
+
status: "unavailable";
|
|
3455
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3456
|
+
};
|
|
3457
|
+
completed_at: {
|
|
3458
|
+
status: "available";
|
|
3459
|
+
value: string;
|
|
3460
|
+
} | {
|
|
3461
|
+
status: "unavailable";
|
|
3462
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3463
|
+
};
|
|
3464
|
+
};
|
|
3465
|
+
handoff: {
|
|
3466
|
+
atlas_compute_id: {
|
|
3467
|
+
status: "available";
|
|
3468
|
+
value: string;
|
|
3469
|
+
} | {
|
|
3470
|
+
status: "unavailable";
|
|
3471
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3472
|
+
};
|
|
3473
|
+
atlas_run_id: {
|
|
3474
|
+
status: "available";
|
|
3475
|
+
value: string;
|
|
3476
|
+
} | {
|
|
3477
|
+
status: "unavailable";
|
|
3478
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3479
|
+
};
|
|
3480
|
+
};
|
|
3481
|
+
};
|
|
3064
3482
|
capture_error?: string;
|
|
3065
3483
|
scope?: {
|
|
3066
3484
|
directory: string;
|
|
@@ -3079,8 +3497,8 @@ export type SettingsComputeJobsStartResponse = SettingsComputeJobsStartResponses
|
|
|
3079
3497
|
export type SettingsComputeJobsClearData = {
|
|
3080
3498
|
body?: never;
|
|
3081
3499
|
path?: never;
|
|
3082
|
-
query
|
|
3083
|
-
directory
|
|
3500
|
+
query?: {
|
|
3501
|
+
directory?: string;
|
|
3084
3502
|
};
|
|
3085
3503
|
url: "/settings/compute/jobs/completed";
|
|
3086
3504
|
};
|
|
@@ -3098,8 +3516,8 @@ export type SettingsComputeJobsLogData = {
|
|
|
3098
3516
|
path: {
|
|
3099
3517
|
id: string;
|
|
3100
3518
|
};
|
|
3101
|
-
query
|
|
3102
|
-
directory
|
|
3519
|
+
query?: {
|
|
3520
|
+
directory?: string;
|
|
3103
3521
|
};
|
|
3104
3522
|
url: "/settings/compute/jobs/{id}/log";
|
|
3105
3523
|
};
|
|
@@ -3124,8 +3542,8 @@ export type SettingsComputeJobsCancelData = {
|
|
|
3124
3542
|
path: {
|
|
3125
3543
|
id: string;
|
|
3126
3544
|
};
|
|
3127
|
-
query
|
|
3128
|
-
directory
|
|
3545
|
+
query?: {
|
|
3546
|
+
directory?: string;
|
|
3129
3547
|
};
|
|
3130
3548
|
url: "/settings/compute/jobs/{id}/cancel";
|
|
3131
3549
|
};
|
|
@@ -3193,6 +3611,7 @@ export type SettingsComputeJobsCancelResponses = {
|
|
|
3193
3611
|
node: string;
|
|
3194
3612
|
python?: string;
|
|
3195
3613
|
git?: {
|
|
3614
|
+
repository?: string;
|
|
3196
3615
|
branch?: string;
|
|
3197
3616
|
commit?: string;
|
|
3198
3617
|
dirty: boolean;
|
|
@@ -3211,6 +3630,214 @@ export type SettingsComputeJobsCancelResponses = {
|
|
|
3211
3630
|
partition?: string;
|
|
3212
3631
|
};
|
|
3213
3632
|
};
|
|
3633
|
+
provenance?: {
|
|
3634
|
+
format: "openscience.provenance.v1";
|
|
3635
|
+
kind: "kernel" | "local_compute" | "remote_compute" | "artifact_version";
|
|
3636
|
+
identity: {
|
|
3637
|
+
project_id: {
|
|
3638
|
+
status: "available";
|
|
3639
|
+
value: string;
|
|
3640
|
+
} | {
|
|
3641
|
+
status: "unavailable";
|
|
3642
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3643
|
+
};
|
|
3644
|
+
session_id: {
|
|
3645
|
+
status: "available";
|
|
3646
|
+
value: string;
|
|
3647
|
+
} | {
|
|
3648
|
+
status: "unavailable";
|
|
3649
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3650
|
+
};
|
|
3651
|
+
run_id: {
|
|
3652
|
+
status: "available";
|
|
3653
|
+
value: string;
|
|
3654
|
+
} | {
|
|
3655
|
+
status: "unavailable";
|
|
3656
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3657
|
+
};
|
|
3658
|
+
};
|
|
3659
|
+
input: {
|
|
3660
|
+
code: {
|
|
3661
|
+
status: "available";
|
|
3662
|
+
value: string;
|
|
3663
|
+
} | {
|
|
3664
|
+
status: "unavailable";
|
|
3665
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3666
|
+
};
|
|
3667
|
+
cwd: {
|
|
3668
|
+
status: "available";
|
|
3669
|
+
value: string;
|
|
3670
|
+
} | {
|
|
3671
|
+
status: "unavailable";
|
|
3672
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3673
|
+
};
|
|
3674
|
+
code_state: {
|
|
3675
|
+
status: "available";
|
|
3676
|
+
value: {
|
|
3677
|
+
repository: {
|
|
3678
|
+
status: "available";
|
|
3679
|
+
value: string;
|
|
3680
|
+
} | {
|
|
3681
|
+
status: "unavailable";
|
|
3682
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3683
|
+
};
|
|
3684
|
+
branch: {
|
|
3685
|
+
status: "available";
|
|
3686
|
+
value: string;
|
|
3687
|
+
} | {
|
|
3688
|
+
status: "unavailable";
|
|
3689
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3690
|
+
};
|
|
3691
|
+
commit: {
|
|
3692
|
+
status: "available";
|
|
3693
|
+
value: string;
|
|
3694
|
+
} | {
|
|
3695
|
+
status: "unavailable";
|
|
3696
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3697
|
+
};
|
|
3698
|
+
dirty: {
|
|
3699
|
+
status: "available";
|
|
3700
|
+
value: boolean;
|
|
3701
|
+
} | {
|
|
3702
|
+
status: "unavailable";
|
|
3703
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3704
|
+
};
|
|
3705
|
+
};
|
|
3706
|
+
} | {
|
|
3707
|
+
status: "unavailable";
|
|
3708
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3709
|
+
};
|
|
3710
|
+
};
|
|
3711
|
+
environment: {
|
|
3712
|
+
host: {
|
|
3713
|
+
status: "available";
|
|
3714
|
+
value: {
|
|
3715
|
+
platform: string;
|
|
3716
|
+
arch: string;
|
|
3717
|
+
runtimes: {
|
|
3718
|
+
[key: string]: string;
|
|
3719
|
+
};
|
|
3720
|
+
};
|
|
3721
|
+
} | {
|
|
3722
|
+
status: "unavailable";
|
|
3723
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3724
|
+
};
|
|
3725
|
+
kernel: {
|
|
3726
|
+
status: "available";
|
|
3727
|
+
value: {
|
|
3728
|
+
id: string;
|
|
3729
|
+
language: string;
|
|
3730
|
+
incarnation: {
|
|
3731
|
+
status: "available";
|
|
3732
|
+
value: number;
|
|
3733
|
+
} | {
|
|
3734
|
+
status: "unavailable";
|
|
3735
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3736
|
+
};
|
|
3737
|
+
process_id: {
|
|
3738
|
+
status: "available";
|
|
3739
|
+
value: number;
|
|
3740
|
+
} | {
|
|
3741
|
+
status: "unavailable";
|
|
3742
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3743
|
+
};
|
|
3744
|
+
process_started_at: {
|
|
3745
|
+
status: "available";
|
|
3746
|
+
value: string;
|
|
3747
|
+
} | {
|
|
3748
|
+
status: "unavailable";
|
|
3749
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3750
|
+
};
|
|
3751
|
+
};
|
|
3752
|
+
} | {
|
|
3753
|
+
status: "unavailable";
|
|
3754
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3755
|
+
};
|
|
3756
|
+
};
|
|
3757
|
+
outputs: {
|
|
3758
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "interrupted" | "inconclusive";
|
|
3759
|
+
items: Array<{
|
|
3760
|
+
kind: "stream" | "display" | "result" | "error" | "artifact" | "checkpoint";
|
|
3761
|
+
label: string;
|
|
3762
|
+
artifact_id: {
|
|
3763
|
+
status: "available";
|
|
3764
|
+
value: string;
|
|
3765
|
+
} | {
|
|
3766
|
+
status: "unavailable";
|
|
3767
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3768
|
+
};
|
|
3769
|
+
path: {
|
|
3770
|
+
status: "available";
|
|
3771
|
+
value: string;
|
|
3772
|
+
} | {
|
|
3773
|
+
status: "unavailable";
|
|
3774
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3775
|
+
};
|
|
3776
|
+
sha256: string;
|
|
3777
|
+
size: number;
|
|
3778
|
+
version_id: {
|
|
3779
|
+
status: "available";
|
|
3780
|
+
value: string;
|
|
3781
|
+
} | {
|
|
3782
|
+
status: "unavailable";
|
|
3783
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3784
|
+
};
|
|
3785
|
+
version: {
|
|
3786
|
+
status: "available";
|
|
3787
|
+
value: number;
|
|
3788
|
+
} | {
|
|
3789
|
+
status: "unavailable";
|
|
3790
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3791
|
+
};
|
|
3792
|
+
created_at: {
|
|
3793
|
+
status: "available";
|
|
3794
|
+
value: string;
|
|
3795
|
+
} | {
|
|
3796
|
+
status: "unavailable";
|
|
3797
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3798
|
+
};
|
|
3799
|
+
}>;
|
|
3800
|
+
};
|
|
3801
|
+
timestamps: {
|
|
3802
|
+
created_at: {
|
|
3803
|
+
status: "available";
|
|
3804
|
+
value: string;
|
|
3805
|
+
} | {
|
|
3806
|
+
status: "unavailable";
|
|
3807
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3808
|
+
};
|
|
3809
|
+
started_at: {
|
|
3810
|
+
status: "available";
|
|
3811
|
+
value: string;
|
|
3812
|
+
} | {
|
|
3813
|
+
status: "unavailable";
|
|
3814
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3815
|
+
};
|
|
3816
|
+
completed_at: {
|
|
3817
|
+
status: "available";
|
|
3818
|
+
value: string;
|
|
3819
|
+
} | {
|
|
3820
|
+
status: "unavailable";
|
|
3821
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3822
|
+
};
|
|
3823
|
+
};
|
|
3824
|
+
handoff: {
|
|
3825
|
+
atlas_compute_id: {
|
|
3826
|
+
status: "available";
|
|
3827
|
+
value: string;
|
|
3828
|
+
} | {
|
|
3829
|
+
status: "unavailable";
|
|
3830
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3831
|
+
};
|
|
3832
|
+
atlas_run_id: {
|
|
3833
|
+
status: "available";
|
|
3834
|
+
value: string;
|
|
3835
|
+
} | {
|
|
3836
|
+
status: "unavailable";
|
|
3837
|
+
reason: "not_applicable" | "not_captured" | "not_implemented" | "not_published" | "not_versioned" | "remote_unverified";
|
|
3838
|
+
};
|
|
3839
|
+
};
|
|
3840
|
+
};
|
|
3214
3841
|
capture_error?: string;
|
|
3215
3842
|
scope?: {
|
|
3216
3843
|
directory: string;
|