@synsci/sdk 1.3.5 → 1.3.6-test.19.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.
@@ -1688,6 +1688,12 @@ export type BadRequestError = {
1688
1688
  }>;
1689
1689
  success: false;
1690
1690
  };
1691
+ export type NotFoundError = {
1692
+ name: "NotFoundError";
1693
+ data: {
1694
+ message: string;
1695
+ };
1696
+ };
1691
1697
  export type OAuth = {
1692
1698
  type: "oauth";
1693
1699
  refresh: string;
@@ -1706,12 +1712,6 @@ export type WellKnownAuth = {
1706
1712
  token: string;
1707
1713
  };
1708
1714
  export type Auth = OAuth | ApiAuth | WellKnownAuth;
1709
- export type NotFoundError = {
1710
- name: "NotFoundError";
1711
- data: {
1712
- message: string;
1713
- };
1714
- };
1715
1715
  export type Model = {
1716
1716
  id: string;
1717
1717
  providerID: string;
@@ -1940,6 +1940,8 @@ export type FileContent = {
1940
1940
  };
1941
1941
  encoding?: "base64";
1942
1942
  mimeType?: string;
1943
+ size?: number;
1944
+ truncated?: boolean;
1943
1945
  };
1944
1946
  export type File = {
1945
1947
  path: string;
@@ -2512,6 +2514,8 @@ export type SettingsComputeGetResponses = {
2512
2514
  host: string;
2513
2515
  user?: string;
2514
2516
  port?: number;
2517
+ scheduler?: "none" | "slurm" | "pbs";
2518
+ workdir?: string;
2515
2519
  }>;
2516
2520
  endpoints?: Array<{
2517
2521
  id: string;
@@ -2551,6 +2555,8 @@ export type SettingsComputeProviderDisconnectResponses = {
2551
2555
  host: string;
2552
2556
  user?: string;
2553
2557
  port?: number;
2558
+ scheduler?: "none" | "slurm" | "pbs";
2559
+ workdir?: string;
2554
2560
  }>;
2555
2561
  endpoints?: Array<{
2556
2562
  id: string;
@@ -2599,6 +2605,8 @@ export type SettingsComputeProviderConnectResponses = {
2599
2605
  host: string;
2600
2606
  user?: string;
2601
2607
  port?: number;
2608
+ scheduler?: "none" | "slurm" | "pbs";
2609
+ workdir?: string;
2602
2610
  }>;
2603
2611
  endpoints?: Array<{
2604
2612
  id: string;
@@ -2615,6 +2623,8 @@ export type SettingsComputeSshAddData = {
2615
2623
  host: string;
2616
2624
  user?: string;
2617
2625
  port?: number;
2626
+ scheduler?: "none" | "slurm" | "pbs";
2627
+ workdir?: string;
2618
2628
  };
2619
2629
  path?: never;
2620
2630
  query?: never;
@@ -2648,6 +2658,8 @@ export type SettingsComputeSshAddResponses = {
2648
2658
  host: string;
2649
2659
  user?: string;
2650
2660
  port?: number;
2661
+ scheduler?: "none" | "slurm" | "pbs";
2662
+ workdir?: string;
2651
2663
  }>;
2652
2664
  endpoints?: Array<{
2653
2665
  id: string;
@@ -2658,6 +2670,38 @@ export type SettingsComputeSshAddResponses = {
2658
2670
  };
2659
2671
  };
2660
2672
  export type SettingsComputeSshAddResponse = SettingsComputeSshAddResponses[keyof SettingsComputeSshAddResponses];
2673
+ export type SettingsComputeSshTestData = {
2674
+ body?: never;
2675
+ path: {
2676
+ id: string;
2677
+ };
2678
+ query?: never;
2679
+ url: "/settings/compute/ssh/{id}/test";
2680
+ };
2681
+ export type SettingsComputeSshTestErrors = {
2682
+ /**
2683
+ * Not found
2684
+ */
2685
+ 404: NotFoundError;
2686
+ };
2687
+ export type SettingsComputeSshTestError = SettingsComputeSshTestErrors[keyof SettingsComputeSshTestErrors];
2688
+ export type SettingsComputeSshTestResponses = {
2689
+ /**
2690
+ * Connection result
2691
+ */
2692
+ 200: {
2693
+ ok: boolean;
2694
+ host: string;
2695
+ latency_ms: number;
2696
+ hostname?: string;
2697
+ python: boolean;
2698
+ gpu: boolean;
2699
+ slurm: boolean;
2700
+ pbs: boolean;
2701
+ error?: string;
2702
+ };
2703
+ };
2704
+ export type SettingsComputeSshTestResponse = SettingsComputeSshTestResponses[keyof SettingsComputeSshTestResponses];
2661
2705
  export type SettingsComputeSshRemoveData = {
2662
2706
  body?: never;
2663
2707
  path: {
@@ -2687,6 +2731,8 @@ export type SettingsComputeSshRemoveResponses = {
2687
2731
  host: string;
2688
2732
  user?: string;
2689
2733
  port?: number;
2734
+ scheduler?: "none" | "slurm" | "pbs";
2735
+ workdir?: string;
2690
2736
  }>;
2691
2737
  endpoints?: Array<{
2692
2738
  id: string;
@@ -2735,6 +2781,8 @@ export type SettingsComputeEndpointAddResponses = {
2735
2781
  host: string;
2736
2782
  user?: string;
2737
2783
  port?: number;
2784
+ scheduler?: "none" | "slurm" | "pbs";
2785
+ workdir?: string;
2738
2786
  }>;
2739
2787
  endpoints?: Array<{
2740
2788
  id: string;
@@ -2774,6 +2822,8 @@ export type SettingsComputeEndpointRemoveResponses = {
2774
2822
  host: string;
2775
2823
  user?: string;
2776
2824
  port?: number;
2825
+ scheduler?: "none" | "slurm" | "pbs";
2826
+ workdir?: string;
2777
2827
  }>;
2778
2828
  endpoints?: Array<{
2779
2829
  id: string;
@@ -2784,6 +2834,337 @@ export type SettingsComputeEndpointRemoveResponses = {
2784
2834
  };
2785
2835
  };
2786
2836
  export type SettingsComputeEndpointRemoveResponse = SettingsComputeEndpointRemoveResponses[keyof SettingsComputeEndpointRemoveResponses];
2837
+ export type SettingsComputeJobsListData = {
2838
+ body?: never;
2839
+ path?: never;
2840
+ query?: never;
2841
+ url: "/settings/compute/jobs";
2842
+ };
2843
+ export type SettingsComputeJobsListResponses = {
2844
+ /**
2845
+ * Compute jobs
2846
+ */
2847
+ 200: Array<{
2848
+ id: string;
2849
+ name: string;
2850
+ command: string;
2851
+ cwd?: string;
2852
+ target: {
2853
+ kind: "local";
2854
+ } | {
2855
+ kind: "ssh";
2856
+ host_id: string;
2857
+ };
2858
+ target_label: string;
2859
+ scheduler: "none" | "slurm" | "pbs";
2860
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "interrupted";
2861
+ created_at: string;
2862
+ started_at?: string;
2863
+ completed_at?: string;
2864
+ exit_code?: number | null;
2865
+ pid?: number;
2866
+ error?: string;
2867
+ resources?: {
2868
+ cpus?: number;
2869
+ gpus?: number;
2870
+ memory_gb?: number;
2871
+ time_minutes?: number;
2872
+ partition?: string;
2873
+ };
2874
+ modules?: Array<string>;
2875
+ container?: string;
2876
+ artifact_patterns?: Array<string>;
2877
+ artifacts?: Array<{
2878
+ path: string;
2879
+ size: number;
2880
+ sha256: string;
2881
+ modified_at: string;
2882
+ }>;
2883
+ checkpoint_path?: string;
2884
+ checkpoint?: {
2885
+ path: string;
2886
+ size: number;
2887
+ sha256: string;
2888
+ modified_at: string;
2889
+ };
2890
+ reproducibility?: {
2891
+ captured_at: string;
2892
+ command: string;
2893
+ cwd: string;
2894
+ platform: string;
2895
+ arch: string;
2896
+ bun: string;
2897
+ node: string;
2898
+ python?: string;
2899
+ git?: {
2900
+ branch?: string;
2901
+ commit?: string;
2902
+ dirty: boolean;
2903
+ };
2904
+ lockfiles: Array<{
2905
+ path: string;
2906
+ size: number;
2907
+ sha256: string;
2908
+ modified_at: string;
2909
+ }>;
2910
+ resources?: {
2911
+ cpus?: number;
2912
+ gpus?: number;
2913
+ memory_gb?: number;
2914
+ time_minutes?: number;
2915
+ partition?: string;
2916
+ };
2917
+ };
2918
+ capture_error?: string;
2919
+ }>;
2920
+ };
2921
+ export type SettingsComputeJobsListResponse = SettingsComputeJobsListResponses[keyof SettingsComputeJobsListResponses];
2922
+ export type SettingsComputeJobsStartData = {
2923
+ body?: {
2924
+ name: string;
2925
+ command: string;
2926
+ cwd?: string;
2927
+ target: {
2928
+ kind: "local";
2929
+ } | {
2930
+ kind: "ssh";
2931
+ host_id: string;
2932
+ };
2933
+ resources?: {
2934
+ cpus?: number;
2935
+ gpus?: number;
2936
+ memory_gb?: number;
2937
+ time_minutes?: number;
2938
+ partition?: string;
2939
+ };
2940
+ modules?: Array<string>;
2941
+ container?: string;
2942
+ artifacts?: Array<string>;
2943
+ checkpoint?: string;
2944
+ };
2945
+ path?: never;
2946
+ query?: never;
2947
+ url: "/settings/compute/jobs";
2948
+ };
2949
+ export type SettingsComputeJobsStartErrors = {
2950
+ /**
2951
+ * Bad request
2952
+ */
2953
+ 400: BadRequestError;
2954
+ };
2955
+ export type SettingsComputeJobsStartError = SettingsComputeJobsStartErrors[keyof SettingsComputeJobsStartErrors];
2956
+ export type SettingsComputeJobsStartResponses = {
2957
+ /**
2958
+ * Started job
2959
+ */
2960
+ 200: {
2961
+ id: string;
2962
+ name: string;
2963
+ command: string;
2964
+ cwd?: string;
2965
+ target: {
2966
+ kind: "local";
2967
+ } | {
2968
+ kind: "ssh";
2969
+ host_id: string;
2970
+ };
2971
+ target_label: string;
2972
+ scheduler: "none" | "slurm" | "pbs";
2973
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "interrupted";
2974
+ created_at: string;
2975
+ started_at?: string;
2976
+ completed_at?: string;
2977
+ exit_code?: number | null;
2978
+ pid?: number;
2979
+ error?: string;
2980
+ resources?: {
2981
+ cpus?: number;
2982
+ gpus?: number;
2983
+ memory_gb?: number;
2984
+ time_minutes?: number;
2985
+ partition?: string;
2986
+ };
2987
+ modules?: Array<string>;
2988
+ container?: string;
2989
+ artifact_patterns?: Array<string>;
2990
+ artifacts?: Array<{
2991
+ path: string;
2992
+ size: number;
2993
+ sha256: string;
2994
+ modified_at: string;
2995
+ }>;
2996
+ checkpoint_path?: string;
2997
+ checkpoint?: {
2998
+ path: string;
2999
+ size: number;
3000
+ sha256: string;
3001
+ modified_at: string;
3002
+ };
3003
+ reproducibility?: {
3004
+ captured_at: string;
3005
+ command: string;
3006
+ cwd: string;
3007
+ platform: string;
3008
+ arch: string;
3009
+ bun: string;
3010
+ node: string;
3011
+ python?: string;
3012
+ git?: {
3013
+ branch?: string;
3014
+ commit?: string;
3015
+ dirty: boolean;
3016
+ };
3017
+ lockfiles: Array<{
3018
+ path: string;
3019
+ size: number;
3020
+ sha256: string;
3021
+ modified_at: string;
3022
+ }>;
3023
+ resources?: {
3024
+ cpus?: number;
3025
+ gpus?: number;
3026
+ memory_gb?: number;
3027
+ time_minutes?: number;
3028
+ partition?: string;
3029
+ };
3030
+ };
3031
+ capture_error?: string;
3032
+ };
3033
+ };
3034
+ export type SettingsComputeJobsStartResponse = SettingsComputeJobsStartResponses[keyof SettingsComputeJobsStartResponses];
3035
+ export type SettingsComputeJobsClearData = {
3036
+ body?: never;
3037
+ path?: never;
3038
+ query?: never;
3039
+ url: "/settings/compute/jobs/completed";
3040
+ };
3041
+ export type SettingsComputeJobsClearResponses = {
3042
+ /**
3043
+ * Number cleared
3044
+ */
3045
+ 200: {
3046
+ cleared: number;
3047
+ };
3048
+ };
3049
+ export type SettingsComputeJobsClearResponse = SettingsComputeJobsClearResponses[keyof SettingsComputeJobsClearResponses];
3050
+ export type SettingsComputeJobsLogData = {
3051
+ body?: never;
3052
+ path: {
3053
+ id: string;
3054
+ };
3055
+ query?: never;
3056
+ url: "/settings/compute/jobs/{id}/log";
3057
+ };
3058
+ export type SettingsComputeJobsLogErrors = {
3059
+ /**
3060
+ * Not found
3061
+ */
3062
+ 404: NotFoundError;
3063
+ };
3064
+ export type SettingsComputeJobsLogError = SettingsComputeJobsLogErrors[keyof SettingsComputeJobsLogErrors];
3065
+ export type SettingsComputeJobsLogResponses = {
3066
+ /**
3067
+ * Job output
3068
+ */
3069
+ 200: {
3070
+ log: string;
3071
+ };
3072
+ };
3073
+ export type SettingsComputeJobsLogResponse = SettingsComputeJobsLogResponses[keyof SettingsComputeJobsLogResponses];
3074
+ export type SettingsComputeJobsCancelData = {
3075
+ body?: never;
3076
+ path: {
3077
+ id: string;
3078
+ };
3079
+ query?: never;
3080
+ url: "/settings/compute/jobs/{id}/cancel";
3081
+ };
3082
+ export type SettingsComputeJobsCancelErrors = {
3083
+ /**
3084
+ * Not found
3085
+ */
3086
+ 404: NotFoundError;
3087
+ };
3088
+ export type SettingsComputeJobsCancelError = SettingsComputeJobsCancelErrors[keyof SettingsComputeJobsCancelErrors];
3089
+ export type SettingsComputeJobsCancelResponses = {
3090
+ /**
3091
+ * Cancelled job
3092
+ */
3093
+ 200: {
3094
+ id: string;
3095
+ name: string;
3096
+ command: string;
3097
+ cwd?: string;
3098
+ target: {
3099
+ kind: "local";
3100
+ } | {
3101
+ kind: "ssh";
3102
+ host_id: string;
3103
+ };
3104
+ target_label: string;
3105
+ scheduler: "none" | "slurm" | "pbs";
3106
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "interrupted";
3107
+ created_at: string;
3108
+ started_at?: string;
3109
+ completed_at?: string;
3110
+ exit_code?: number | null;
3111
+ pid?: number;
3112
+ error?: string;
3113
+ resources?: {
3114
+ cpus?: number;
3115
+ gpus?: number;
3116
+ memory_gb?: number;
3117
+ time_minutes?: number;
3118
+ partition?: string;
3119
+ };
3120
+ modules?: Array<string>;
3121
+ container?: string;
3122
+ artifact_patterns?: Array<string>;
3123
+ artifacts?: Array<{
3124
+ path: string;
3125
+ size: number;
3126
+ sha256: string;
3127
+ modified_at: string;
3128
+ }>;
3129
+ checkpoint_path?: string;
3130
+ checkpoint?: {
3131
+ path: string;
3132
+ size: number;
3133
+ sha256: string;
3134
+ modified_at: string;
3135
+ };
3136
+ reproducibility?: {
3137
+ captured_at: string;
3138
+ command: string;
3139
+ cwd: string;
3140
+ platform: string;
3141
+ arch: string;
3142
+ bun: string;
3143
+ node: string;
3144
+ python?: string;
3145
+ git?: {
3146
+ branch?: string;
3147
+ commit?: string;
3148
+ dirty: boolean;
3149
+ };
3150
+ lockfiles: Array<{
3151
+ path: string;
3152
+ size: number;
3153
+ sha256: string;
3154
+ modified_at: string;
3155
+ }>;
3156
+ resources?: {
3157
+ cpus?: number;
3158
+ gpus?: number;
3159
+ memory_gb?: number;
3160
+ time_minutes?: number;
3161
+ partition?: string;
3162
+ };
3163
+ };
3164
+ capture_error?: string;
3165
+ };
3166
+ };
3167
+ export type SettingsComputeJobsCancelResponse = SettingsComputeJobsCancelResponses[keyof SettingsComputeJobsCancelResponses];
2787
3168
  export type SettingsPermissionsGetData = {
2788
3169
  body?: never;
2789
3170
  path?: never;
@@ -4635,6 +5016,242 @@ export type FileWriteResponses = {
4635
5016
  200: FileContent;
4636
5017
  };
4637
5018
  export type FileWriteResponse = FileWriteResponses[keyof FileWriteResponses];
5019
+ export type FileInspectData = {
5020
+ body?: never;
5021
+ path?: never;
5022
+ query: {
5023
+ directory?: string;
5024
+ path: string;
5025
+ };
5026
+ url: "/file/inspect";
5027
+ };
5028
+ export type FileInspectResponses = {
5029
+ /**
5030
+ * Scientific file inspection
5031
+ */
5032
+ 200: {
5033
+ format: "bam" | "cram" | "h5ad" | "loom";
5034
+ name: string;
5035
+ size: number;
5036
+ modified: number;
5037
+ signature: boolean;
5038
+ index?: string;
5039
+ tool: {
5040
+ name: string;
5041
+ available: boolean;
5042
+ detail?: string;
5043
+ };
5044
+ details: {
5045
+ [key: string]: unknown;
5046
+ };
5047
+ };
5048
+ };
5049
+ export type FileInspectResponse = FileInspectResponses[keyof FileInspectResponses];
5050
+ export type FileRawData = {
5051
+ body?: never;
5052
+ path?: never;
5053
+ query: {
5054
+ directory?: string;
5055
+ path: string;
5056
+ };
5057
+ url: "/file/raw";
5058
+ };
5059
+ export type FileRawResponses = {
5060
+ /**
5061
+ * Raw file contents
5062
+ */
5063
+ 200: unknown;
5064
+ };
5065
+ export type FileArtifactsData = {
5066
+ body?: never;
5067
+ path?: never;
5068
+ query?: {
5069
+ directory?: string;
5070
+ };
5071
+ url: "/file/artifacts";
5072
+ };
5073
+ export type FileArtifactsResponses = {
5074
+ /**
5075
+ * Research artifacts
5076
+ */
5077
+ 200: Array<{
5078
+ name: string;
5079
+ path: string;
5080
+ kind: "notebook" | "dataset" | "figure" | "report" | "structure" | "sequence" | "genomics" | "spectrum" | "model" | "archive";
5081
+ format: string;
5082
+ size: number;
5083
+ modified: number;
5084
+ }>;
5085
+ };
5086
+ export type FileArtifactsResponse = FileArtifactsResponses[keyof FileArtifactsResponses];
5087
+ export type FileProvenanceData = {
5088
+ body?: never;
5089
+ path?: never;
5090
+ query: {
5091
+ directory?: string;
5092
+ path: string;
5093
+ };
5094
+ url: "/file/provenance";
5095
+ };
5096
+ export type FileProvenanceResponses = {
5097
+ /**
5098
+ * Local provenance
5099
+ */
5100
+ 200: {
5101
+ path: string;
5102
+ tracked: boolean;
5103
+ dirty: boolean;
5104
+ status: "clean" | "modified" | "added" | "deleted" | "untracked" | "local";
5105
+ branch?: string;
5106
+ commit?: {
5107
+ sha: string;
5108
+ author: string;
5109
+ email: string;
5110
+ date: string;
5111
+ message: string;
5112
+ };
5113
+ };
5114
+ };
5115
+ export type FileProvenanceResponse = FileProvenanceResponses[keyof FileProvenanceResponses];
5116
+ export type FileReproducibilityData = {
5117
+ body?: never;
5118
+ path?: never;
5119
+ query?: {
5120
+ directory?: string;
5121
+ };
5122
+ url: "/file/reproducibility";
5123
+ };
5124
+ export type FileReproducibilityResponses = {
5125
+ /**
5126
+ * Project reproducibility audit
5127
+ */
5128
+ 200: {
5129
+ generated_at: string;
5130
+ score: number;
5131
+ status: "ready" | "warnings" | "blocked";
5132
+ git?: {
5133
+ branch?: string;
5134
+ commit?: string;
5135
+ dirty: boolean;
5136
+ };
5137
+ lockfiles: Array<string>;
5138
+ environments: Array<string>;
5139
+ notebooks: {
5140
+ total: number;
5141
+ valid: number;
5142
+ invalid: Array<string>;
5143
+ };
5144
+ artifacts: {
5145
+ total: number;
5146
+ nonempty: number;
5147
+ bytes: number;
5148
+ };
5149
+ checks: Array<{
5150
+ id: string;
5151
+ label: string;
5152
+ status: "pass" | "warn" | "fail";
5153
+ detail: string;
5154
+ weight: number;
5155
+ }>;
5156
+ };
5157
+ };
5158
+ export type FileReproducibilityResponse = FileReproducibilityResponses[keyof FileReproducibilityResponses];
5159
+ export type FileManifestData = {
5160
+ body?: never;
5161
+ path?: never;
5162
+ query?: {
5163
+ directory?: string;
5164
+ };
5165
+ url: "/file/manifest";
5166
+ };
5167
+ export type FileManifestResponses = {
5168
+ /**
5169
+ * Artifact checksum manifest
5170
+ */
5171
+ 200: {
5172
+ format: "openscience.artifact-manifest.v1";
5173
+ generated_at: string;
5174
+ digest: string;
5175
+ artifacts: Array<{
5176
+ name: string;
5177
+ path: string;
5178
+ kind: "notebook" | "dataset" | "figure" | "report" | "structure" | "sequence" | "genomics" | "spectrum" | "model" | "archive";
5179
+ format: string;
5180
+ size: number;
5181
+ modified: number;
5182
+ sha256: string;
5183
+ }>;
5184
+ };
5185
+ };
5186
+ export type FileManifestResponse = FileManifestResponses[keyof FileManifestResponses];
5187
+ export type FileStarterData = {
5188
+ body?: {
5189
+ template: "single-cell" | "dose-response" | "protein-structure";
5190
+ };
5191
+ path?: never;
5192
+ query?: {
5193
+ directory?: string;
5194
+ };
5195
+ url: "/file/starters";
5196
+ };
5197
+ export type FileStarterResponses = {
5198
+ /**
5199
+ * Created starter files
5200
+ */
5201
+ 200: {
5202
+ template: "single-cell" | "dose-response" | "protein-structure";
5203
+ directory: string;
5204
+ files: Array<string>;
5205
+ notebook: string;
5206
+ readme: string;
5207
+ };
5208
+ };
5209
+ export type FileStarterResponse = FileStarterResponses[keyof FileStarterResponses];
5210
+ export type FilePublicationCapabilitiesData = {
5211
+ body?: never;
5212
+ path?: never;
5213
+ query?: {
5214
+ directory?: string;
5215
+ };
5216
+ url: "/file/publication/capabilities";
5217
+ };
5218
+ export type FilePublicationCapabilitiesResponses = {
5219
+ /**
5220
+ * Available local publication formats
5221
+ */
5222
+ 200: {
5223
+ pandoc: boolean;
5224
+ pdf_engine?: string;
5225
+ formats: {
5226
+ [key: string]: boolean;
5227
+ };
5228
+ };
5229
+ };
5230
+ export type FilePublicationCapabilitiesResponse = FilePublicationCapabilitiesResponses[keyof FilePublicationCapabilitiesResponses];
5231
+ export type FilePublicationData = {
5232
+ body?: {
5233
+ path: string;
5234
+ format: "html" | "pdf" | "docx" | "latex" | "pptx";
5235
+ };
5236
+ path?: never;
5237
+ query?: {
5238
+ directory?: string;
5239
+ };
5240
+ url: "/file/publication";
5241
+ };
5242
+ export type FilePublicationResponses = {
5243
+ /**
5244
+ * Created publication artifact
5245
+ */
5246
+ 200: {
5247
+ path: string;
5248
+ format: "html" | "pdf" | "docx" | "latex" | "pptx";
5249
+ size: number;
5250
+ created_at: string;
5251
+ engine: string;
5252
+ };
5253
+ };
5254
+ export type FilePublicationResponse = FilePublicationResponses[keyof FilePublicationResponses];
4638
5255
  export type FileStatusData = {
4639
5256
  body?: never;
4640
5257
  path?: never;
@@ -4650,6 +5267,186 @@ export type FileStatusResponses = {
4650
5267
  200: Array<File>;
4651
5268
  };
4652
5269
  export type FileStatusResponse = FileStatusResponses[keyof FileStatusResponses];
5270
+ export type NotebookExecuteData = {
5271
+ body?: {
5272
+ id: string;
5273
+ language: "python" | "r";
5274
+ code: string;
5275
+ timeout?: number;
5276
+ };
5277
+ path?: never;
5278
+ query?: {
5279
+ directory?: string;
5280
+ };
5281
+ url: "/notebook/execute";
5282
+ };
5283
+ export type NotebookExecuteResponses = {
5284
+ /**
5285
+ * Jupyter-compatible cell outputs
5286
+ */
5287
+ 200: unknown;
5288
+ };
5289
+ export type NotebookStatusData = {
5290
+ body?: never;
5291
+ path?: never;
5292
+ query: {
5293
+ directory?: string;
5294
+ id: string;
5295
+ language: "python" | "r";
5296
+ };
5297
+ url: "/notebook/status";
5298
+ };
5299
+ export type NotebookStatusResponses = {
5300
+ /**
5301
+ * Kernel state
5302
+ */
5303
+ 200: unknown;
5304
+ };
5305
+ export type NotebookRestartData = {
5306
+ body?: {
5307
+ id: string;
5308
+ language: "python" | "r";
5309
+ };
5310
+ path?: never;
5311
+ query?: {
5312
+ directory?: string;
5313
+ };
5314
+ url: "/notebook/restart";
5315
+ };
5316
+ export type NotebookRestartResponses = {
5317
+ /**
5318
+ * Kernel state
5319
+ */
5320
+ 200: unknown;
5321
+ };
5322
+ export type NotebookInterruptData = {
5323
+ body?: {
5324
+ id: string;
5325
+ language: "python" | "r";
5326
+ };
5327
+ path?: never;
5328
+ query?: {
5329
+ directory?: string;
5330
+ };
5331
+ url: "/notebook/interrupt";
5332
+ };
5333
+ export type NotebookInterruptResponses = {
5334
+ /**
5335
+ * Kernel state
5336
+ */
5337
+ 200: unknown;
5338
+ };
5339
+ export type ProvenanceListData = {
5340
+ body?: never;
5341
+ path?: never;
5342
+ query?: {
5343
+ directory?: string;
5344
+ };
5345
+ url: "/provenance";
5346
+ };
5347
+ export type ProvenanceListResponses = {
5348
+ /**
5349
+ * Project provenance graph
5350
+ */
5351
+ 200: unknown;
5352
+ };
5353
+ export type ProvenanceRecordData = {
5354
+ body?: {
5355
+ kind: "artifact" | "run" | "source" | "claim";
5356
+ label: string;
5357
+ artifact_type?: string;
5358
+ path?: string;
5359
+ content_hash?: string;
5360
+ size?: number;
5361
+ tool?: string;
5362
+ status?: "ok" | "error";
5363
+ meta?: {
5364
+ [key: string]: unknown;
5365
+ };
5366
+ derived_from?: string;
5367
+ relation?: "produced" | "consumed" | "derived-from" | "supports" | "refutes";
5368
+ };
5369
+ path?: never;
5370
+ query?: {
5371
+ directory?: string;
5372
+ };
5373
+ url: "/provenance/nodes";
5374
+ };
5375
+ export type ProvenanceRecordErrors = {
5376
+ /**
5377
+ * Invalid link target
5378
+ */
5379
+ 400: unknown;
5380
+ };
5381
+ export type ProvenanceRecordResponses = {
5382
+ /**
5383
+ * Recorded node
5384
+ */
5385
+ 200: unknown;
5386
+ };
5387
+ export type ProvenanceReviewData = {
5388
+ body?: {
5389
+ target: string;
5390
+ claim: string;
5391
+ issue: string;
5392
+ severity: "blocking" | "major" | "minor" | "info";
5393
+ evidence: string;
5394
+ verdict?: "refutes" | "supports";
5395
+ };
5396
+ path?: never;
5397
+ query?: {
5398
+ directory?: string;
5399
+ };
5400
+ url: "/provenance/reviews";
5401
+ };
5402
+ export type ProvenanceReviewErrors = {
5403
+ /**
5404
+ * Invalid target
5405
+ */
5406
+ 400: unknown;
5407
+ };
5408
+ export type ProvenanceReviewResponses = {
5409
+ /**
5410
+ * Recorded finding
5411
+ */
5412
+ 200: unknown;
5413
+ };
5414
+ export type ProvenanceExportData = {
5415
+ body?: never;
5416
+ path?: never;
5417
+ query?: {
5418
+ directory?: string;
5419
+ };
5420
+ url: "/provenance/export";
5421
+ };
5422
+ export type ProvenanceExportResponses = {
5423
+ /**
5424
+ * Portable JSON audit packet
5425
+ */
5426
+ 200: unknown;
5427
+ };
5428
+ export type ProvenanceTraceData = {
5429
+ body?: never;
5430
+ path: {
5431
+ id: string;
5432
+ };
5433
+ query?: {
5434
+ directory?: string;
5435
+ };
5436
+ url: "/provenance/{id}";
5437
+ };
5438
+ export type ProvenanceTraceErrors = {
5439
+ /**
5440
+ * Node not found
5441
+ */
5442
+ 404: unknown;
5443
+ };
5444
+ export type ProvenanceTraceResponses = {
5445
+ /**
5446
+ * Connected lineage
5447
+ */
5448
+ 200: unknown;
5449
+ };
4653
5450
  export type McpStatusData = {
4654
5451
  body?: never;
4655
5452
  path?: never;