@synsci/sdk 2.0.31 → 2.0.32-test.98.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 +32 -82
- package/dist/src/v2/gen/sdk.gen.js +25 -154
- package/dist/src/v2/gen/types.gen.d.ts +294 -229
- package/package.json +13 -13
- package/dist/test/review-contract.d.ts +0 -25
- package/dist/test/review-contract.js +0 -10
- package/dist/test/review.test.d.ts +0 -1
- package/dist/test/review.test.js +0 -21
|
@@ -173,6 +173,27 @@ export type UserMessage = {
|
|
|
173
173
|
tools?: {
|
|
174
174
|
[key: string]: boolean;
|
|
175
175
|
};
|
|
176
|
+
internal?: {
|
|
177
|
+
type: "prompt";
|
|
178
|
+
epoch: string;
|
|
179
|
+
} | {
|
|
180
|
+
type: "continuation";
|
|
181
|
+
kind: "output" | "contract" | "review" | "review-summary" | "compaction" | "task";
|
|
182
|
+
text: string;
|
|
183
|
+
epoch: string;
|
|
184
|
+
transaction: string;
|
|
185
|
+
} | {
|
|
186
|
+
type: "compaction";
|
|
187
|
+
auto: boolean;
|
|
188
|
+
epoch: string;
|
|
189
|
+
transaction: string;
|
|
190
|
+
focus?: string;
|
|
191
|
+
handoffFile?: string;
|
|
192
|
+
trigger?: "proactive" | "overflow" | "manual";
|
|
193
|
+
before?: number;
|
|
194
|
+
headTokens?: number;
|
|
195
|
+
continuationID?: string;
|
|
196
|
+
};
|
|
176
197
|
effort?: ResearchEffort;
|
|
177
198
|
delegation?: boolean;
|
|
178
199
|
variant?: string;
|
|
@@ -234,6 +255,9 @@ export type AssistantMessage = {
|
|
|
234
255
|
parentID: string;
|
|
235
256
|
modelID: string;
|
|
236
257
|
providerID: string;
|
|
258
|
+
internal?: {
|
|
259
|
+
step: number;
|
|
260
|
+
};
|
|
237
261
|
reasoningEffort?: string;
|
|
238
262
|
mode: string;
|
|
239
263
|
agent: string;
|
|
@@ -370,6 +394,7 @@ export type ToolStateRunning = {
|
|
|
370
394
|
input: {
|
|
371
395
|
[key: string]: unknown;
|
|
372
396
|
};
|
|
397
|
+
raw?: string;
|
|
373
398
|
title?: string;
|
|
374
399
|
metadata?: {
|
|
375
400
|
[key: string]: unknown;
|
|
@@ -383,6 +408,7 @@ export type ToolStateCompleted = {
|
|
|
383
408
|
input: {
|
|
384
409
|
[key: string]: unknown;
|
|
385
410
|
};
|
|
411
|
+
raw?: string;
|
|
386
412
|
output: string;
|
|
387
413
|
title: string;
|
|
388
414
|
metadata: {
|
|
@@ -400,6 +426,7 @@ export type ToolStateError = {
|
|
|
400
426
|
input: {
|
|
401
427
|
[key: string]: unknown;
|
|
402
428
|
};
|
|
429
|
+
raw?: string;
|
|
403
430
|
error: string;
|
|
404
431
|
metadata?: {
|
|
405
432
|
[key: string]: unknown;
|
|
@@ -795,7 +822,7 @@ export type Pty = {
|
|
|
795
822
|
allowed: boolean;
|
|
796
823
|
reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
|
|
797
824
|
message?: string;
|
|
798
|
-
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command";
|
|
825
|
+
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command" | "publication_export";
|
|
799
826
|
mode: "read_only" | "sandboxed" | "host";
|
|
800
827
|
projectID: string;
|
|
801
828
|
sessionID: string;
|
|
@@ -1621,7 +1648,7 @@ export type Config = {
|
|
|
1621
1648
|
*/
|
|
1622
1649
|
default_agent?: string;
|
|
1623
1650
|
/**
|
|
1624
|
-
*
|
|
1651
|
+
* How LLM inference is paid for when using Ace or user-owned credentials. Legacy compute is ignored.
|
|
1625
1652
|
*/
|
|
1626
1653
|
billing?: {
|
|
1627
1654
|
/**
|
|
@@ -1629,7 +1656,7 @@ export type Config = {
|
|
|
1629
1656
|
*/
|
|
1630
1657
|
llm?: "managed" | "byok" | null;
|
|
1631
1658
|
/**
|
|
1632
|
-
*
|
|
1659
|
+
* @deprecated Retained only so existing 2.x config files keep parsing. Managed compute is retired; all compute uses user-owned routes regardless of this value.
|
|
1633
1660
|
*/
|
|
1634
1661
|
compute?: "managed" | "byok";
|
|
1635
1662
|
};
|
|
@@ -1951,15 +1978,6 @@ export type TextPartInput = {
|
|
|
1951
1978
|
id?: string;
|
|
1952
1979
|
type: "text";
|
|
1953
1980
|
text: string;
|
|
1954
|
-
synthetic?: boolean;
|
|
1955
|
-
ignored?: boolean;
|
|
1956
|
-
time?: {
|
|
1957
|
-
start: number;
|
|
1958
|
-
end?: number;
|
|
1959
|
-
};
|
|
1960
|
-
metadata?: {
|
|
1961
|
-
[key: string]: unknown;
|
|
1962
|
-
};
|
|
1963
1981
|
};
|
|
1964
1982
|
export type FilePartInput = {
|
|
1965
1983
|
id?: string;
|
|
@@ -2376,7 +2394,7 @@ export type AccountGetResponses = {
|
|
|
2376
2394
|
200: {
|
|
2377
2395
|
session: boolean;
|
|
2378
2396
|
user?: unknown;
|
|
2379
|
-
balance_usd: number;
|
|
2397
|
+
balance_usd: number | null;
|
|
2380
2398
|
billing_mode: {
|
|
2381
2399
|
mode: "byok" | "managed";
|
|
2382
2400
|
balance_cents: number;
|
|
@@ -2397,7 +2415,7 @@ export type AccountBalanceResponses = {
|
|
|
2397
2415
|
* Balance
|
|
2398
2416
|
*/
|
|
2399
2417
|
200: {
|
|
2400
|
-
balance_usd: number;
|
|
2418
|
+
balance_usd: number | null;
|
|
2401
2419
|
};
|
|
2402
2420
|
};
|
|
2403
2421
|
export type AccountBalanceResponse = AccountBalanceResponses[keyof AccountBalanceResponses];
|
|
@@ -3750,6 +3768,9 @@ export type SettingsComputeJobsListResponses = {
|
|
|
3750
3768
|
};
|
|
3751
3769
|
};
|
|
3752
3770
|
handoff: {
|
|
3771
|
+
/**
|
|
3772
|
+
* @deprecated Compatibility field. Managed compute is retired and this value is always unavailable.
|
|
3773
|
+
*/
|
|
3753
3774
|
atlas_compute_id: {
|
|
3754
3775
|
status: "available";
|
|
3755
3776
|
value: string;
|
|
@@ -3775,7 +3796,7 @@ export type SettingsComputeJobsListResponses = {
|
|
|
3775
3796
|
allowed: boolean;
|
|
3776
3797
|
reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
|
|
3777
3798
|
message?: string;
|
|
3778
|
-
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command";
|
|
3799
|
+
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command" | "publication_export";
|
|
3779
3800
|
mode: "read_only" | "sandboxed" | "host";
|
|
3780
3801
|
projectID: string;
|
|
3781
3802
|
sessionID: string;
|
|
@@ -4232,6 +4253,9 @@ export type SettingsComputeJobsStartResponses = {
|
|
|
4232
4253
|
};
|
|
4233
4254
|
};
|
|
4234
4255
|
handoff: {
|
|
4256
|
+
/**
|
|
4257
|
+
* @deprecated Compatibility field. Managed compute is retired and this value is always unavailable.
|
|
4258
|
+
*/
|
|
4235
4259
|
atlas_compute_id: {
|
|
4236
4260
|
status: "available";
|
|
4237
4261
|
value: string;
|
|
@@ -4257,7 +4281,7 @@ export type SettingsComputeJobsStartResponses = {
|
|
|
4257
4281
|
allowed: boolean;
|
|
4258
4282
|
reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
|
|
4259
4283
|
message?: string;
|
|
4260
|
-
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command";
|
|
4284
|
+
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command" | "publication_export";
|
|
4261
4285
|
mode: "read_only" | "sandboxed" | "host";
|
|
4262
4286
|
projectID: string;
|
|
4263
4287
|
sessionID: string;
|
|
@@ -4889,6 +4913,9 @@ export type SettingsComputeJobsRetryResponses = {
|
|
|
4889
4913
|
};
|
|
4890
4914
|
};
|
|
4891
4915
|
handoff: {
|
|
4916
|
+
/**
|
|
4917
|
+
* @deprecated Compatibility field. Managed compute is retired and this value is always unavailable.
|
|
4918
|
+
*/
|
|
4892
4919
|
atlas_compute_id: {
|
|
4893
4920
|
status: "available";
|
|
4894
4921
|
value: string;
|
|
@@ -4914,7 +4941,7 @@ export type SettingsComputeJobsRetryResponses = {
|
|
|
4914
4941
|
allowed: boolean;
|
|
4915
4942
|
reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
|
|
4916
4943
|
message?: string;
|
|
4917
|
-
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command";
|
|
4944
|
+
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command" | "publication_export";
|
|
4918
4945
|
mode: "read_only" | "sandboxed" | "host";
|
|
4919
4946
|
projectID: string;
|
|
4920
4947
|
sessionID: string;
|
|
@@ -5344,6 +5371,9 @@ export type SettingsComputeJobsReleaseResponses = {
|
|
|
5344
5371
|
};
|
|
5345
5372
|
};
|
|
5346
5373
|
handoff: {
|
|
5374
|
+
/**
|
|
5375
|
+
* @deprecated Compatibility field. Managed compute is retired and this value is always unavailable.
|
|
5376
|
+
*/
|
|
5347
5377
|
atlas_compute_id: {
|
|
5348
5378
|
status: "available";
|
|
5349
5379
|
value: string;
|
|
@@ -5369,7 +5399,7 @@ export type SettingsComputeJobsReleaseResponses = {
|
|
|
5369
5399
|
allowed: boolean;
|
|
5370
5400
|
reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
|
|
5371
5401
|
message?: string;
|
|
5372
|
-
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command";
|
|
5402
|
+
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command" | "publication_export";
|
|
5373
5403
|
mode: "read_only" | "sandboxed" | "host";
|
|
5374
5404
|
projectID: string;
|
|
5375
5405
|
sessionID: string;
|
|
@@ -5795,6 +5825,9 @@ export type SettingsComputeJobsCancelResponses = {
|
|
|
5795
5825
|
};
|
|
5796
5826
|
};
|
|
5797
5827
|
handoff: {
|
|
5828
|
+
/**
|
|
5829
|
+
* @deprecated Compatibility field. Managed compute is retired and this value is always unavailable.
|
|
5830
|
+
*/
|
|
5798
5831
|
atlas_compute_id: {
|
|
5799
5832
|
status: "available";
|
|
5800
5833
|
value: string;
|
|
@@ -5820,7 +5853,7 @@ export type SettingsComputeJobsCancelResponses = {
|
|
|
5820
5853
|
allowed: boolean;
|
|
5821
5854
|
reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
|
|
5822
5855
|
message?: string;
|
|
5823
|
-
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command";
|
|
5856
|
+
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command" | "publication_export";
|
|
5824
5857
|
mode: "read_only" | "sandboxed" | "host";
|
|
5825
5858
|
projectID: string;
|
|
5826
5859
|
sessionID: string;
|
|
@@ -5923,50 +5956,6 @@ export type SettingsComputeJobsCancelResponses = {
|
|
|
5923
5956
|
};
|
|
5924
5957
|
};
|
|
5925
5958
|
export type SettingsComputeJobsCancelResponse = SettingsComputeJobsCancelResponses[keyof SettingsComputeJobsCancelResponses];
|
|
5926
|
-
export type SettingsReviewGetData = {
|
|
5927
|
-
body?: never;
|
|
5928
|
-
path?: never;
|
|
5929
|
-
query?: never;
|
|
5930
|
-
url: "/settings/review";
|
|
5931
|
-
};
|
|
5932
|
-
export type SettingsReviewGetResponses = {
|
|
5933
|
-
/**
|
|
5934
|
-
* Reviewer preferences
|
|
5935
|
-
*/
|
|
5936
|
-
200: {
|
|
5937
|
-
auto: boolean;
|
|
5938
|
-
model?: {
|
|
5939
|
-
providerID: string;
|
|
5940
|
-
modelID: string;
|
|
5941
|
-
} | null;
|
|
5942
|
-
};
|
|
5943
|
-
};
|
|
5944
|
-
export type SettingsReviewGetResponse = SettingsReviewGetResponses[keyof SettingsReviewGetResponses];
|
|
5945
|
-
export type SettingsReviewSetData = {
|
|
5946
|
-
body?: {
|
|
5947
|
-
auto: boolean;
|
|
5948
|
-
model?: {
|
|
5949
|
-
providerID: string;
|
|
5950
|
-
modelID: string;
|
|
5951
|
-
} | null;
|
|
5952
|
-
};
|
|
5953
|
-
path?: never;
|
|
5954
|
-
query?: never;
|
|
5955
|
-
url: "/settings/review";
|
|
5956
|
-
};
|
|
5957
|
-
export type SettingsReviewSetResponses = {
|
|
5958
|
-
/**
|
|
5959
|
-
* Updated preferences
|
|
5960
|
-
*/
|
|
5961
|
-
200: {
|
|
5962
|
-
auto: boolean;
|
|
5963
|
-
model?: {
|
|
5964
|
-
providerID: string;
|
|
5965
|
-
modelID: string;
|
|
5966
|
-
} | null;
|
|
5967
|
-
};
|
|
5968
|
-
};
|
|
5969
|
-
export type SettingsReviewSetResponse = SettingsReviewSetResponses[keyof SettingsReviewSetResponses];
|
|
5970
5959
|
export type SettingsPreferencesGetData = {
|
|
5971
5960
|
body?: never;
|
|
5972
5961
|
path?: never;
|
|
@@ -5980,6 +5969,9 @@ export type SettingsPreferencesGetResponses = {
|
|
|
5980
5969
|
200: {
|
|
5981
5970
|
reasoning_effort?: "minimal" | "low" | "medium" | "high";
|
|
5982
5971
|
intent?: "commercial" | "non-commercial";
|
|
5972
|
+
/**
|
|
5973
|
+
* @deprecated No billing effect. OpenScience compute is user-owned.
|
|
5974
|
+
*/
|
|
5983
5975
|
extra_budget_usd?: number;
|
|
5984
5976
|
show_trace?: boolean;
|
|
5985
5977
|
show_local_models?: boolean;
|
|
@@ -5993,6 +5985,9 @@ export type SettingsPreferencesUpdateData = {
|
|
|
5993
5985
|
body?: {
|
|
5994
5986
|
reasoning_effort?: "minimal" | "low" | "medium" | "high";
|
|
5995
5987
|
intent?: "commercial" | "non-commercial";
|
|
5988
|
+
/**
|
|
5989
|
+
* @deprecated No billing effect. OpenScience compute is user-owned.
|
|
5990
|
+
*/
|
|
5996
5991
|
extra_budget_usd?: number;
|
|
5997
5992
|
show_trace?: boolean;
|
|
5998
5993
|
show_local_models?: boolean;
|
|
@@ -6011,6 +6006,9 @@ export type SettingsPreferencesUpdateResponses = {
|
|
|
6011
6006
|
200: {
|
|
6012
6007
|
reasoning_effort?: "minimal" | "low" | "medium" | "high";
|
|
6013
6008
|
intent?: "commercial" | "non-commercial";
|
|
6009
|
+
/**
|
|
6010
|
+
* @deprecated No billing effect. OpenScience compute is user-owned.
|
|
6011
|
+
*/
|
|
6014
6012
|
extra_budget_usd?: number;
|
|
6015
6013
|
show_trace?: boolean;
|
|
6016
6014
|
show_local_models?: boolean;
|
|
@@ -6120,16 +6118,19 @@ export type SettingsBillingGetResponses = {
|
|
|
6120
6118
|
*/
|
|
6121
6119
|
200: {
|
|
6122
6120
|
llm: "managed" | "byok" | null;
|
|
6121
|
+
/**
|
|
6122
|
+
* @deprecated Compatibility field. Compute always uses user-owned infrastructure.
|
|
6123
|
+
*/
|
|
6123
6124
|
compute: "managed" | "byok";
|
|
6124
6125
|
wallet: {
|
|
6125
6126
|
/**
|
|
6126
|
-
* Whether a
|
|
6127
|
+
* Whether a Synthetic Sciences session is available
|
|
6127
6128
|
*/
|
|
6128
6129
|
signedIn: boolean;
|
|
6129
6130
|
/**
|
|
6130
|
-
* Credit balance in USD;
|
|
6131
|
+
* Credit balance in USD; null when signed out or unavailable
|
|
6131
6132
|
*/
|
|
6132
|
-
balanceUsd: number;
|
|
6133
|
+
balanceUsd: number | null;
|
|
6133
6134
|
};
|
|
6134
6135
|
};
|
|
6135
6136
|
};
|
|
@@ -6137,6 +6138,9 @@ export type SettingsBillingGetResponse = SettingsBillingGetResponses[keyof Setti
|
|
|
6137
6138
|
export type SettingsBillingUpdateData = {
|
|
6138
6139
|
body?: {
|
|
6139
6140
|
llm?: "managed" | "byok" | null;
|
|
6141
|
+
/**
|
|
6142
|
+
* @deprecated Accepted for 2.x clients and ignored. Compute always uses user-owned infrastructure.
|
|
6143
|
+
*/
|
|
6140
6144
|
compute?: "managed" | "byok";
|
|
6141
6145
|
};
|
|
6142
6146
|
path?: never;
|
|
@@ -6149,16 +6153,19 @@ export type SettingsBillingUpdateResponses = {
|
|
|
6149
6153
|
*/
|
|
6150
6154
|
200: {
|
|
6151
6155
|
llm: "managed" | "byok" | null;
|
|
6156
|
+
/**
|
|
6157
|
+
* @deprecated Compatibility field. Compute always uses user-owned infrastructure.
|
|
6158
|
+
*/
|
|
6152
6159
|
compute: "managed" | "byok";
|
|
6153
6160
|
wallet: {
|
|
6154
6161
|
/**
|
|
6155
|
-
* Whether a
|
|
6162
|
+
* Whether a Synthetic Sciences session is available
|
|
6156
6163
|
*/
|
|
6157
6164
|
signedIn: boolean;
|
|
6158
6165
|
/**
|
|
6159
|
-
* Credit balance in USD;
|
|
6166
|
+
* Credit balance in USD; null when signed out or unavailable
|
|
6160
6167
|
*/
|
|
6161
|
-
balanceUsd: number;
|
|
6168
|
+
balanceUsd: number | null;
|
|
6162
6169
|
};
|
|
6163
6170
|
};
|
|
6164
6171
|
};
|
|
@@ -6176,12 +6183,12 @@ export type SettingsWalletGetResponses = {
|
|
|
6176
6183
|
200: {
|
|
6177
6184
|
signedIn: boolean;
|
|
6178
6185
|
/**
|
|
6179
|
-
* Wallet balance in USD;
|
|
6186
|
+
* Wallet balance in USD; null when signed out or unavailable
|
|
6180
6187
|
*/
|
|
6181
|
-
balanceUsd: number;
|
|
6188
|
+
balanceUsd: number | null;
|
|
6182
6189
|
billingMode: "managed" | "byok" | null;
|
|
6183
6190
|
managedSupported: boolean;
|
|
6184
|
-
lifetimeSpentUsd: number;
|
|
6191
|
+
lifetimeSpentUsd: number | null;
|
|
6185
6192
|
transactions: Array<{
|
|
6186
6193
|
id: string;
|
|
6187
6194
|
amountCents: number;
|
|
@@ -6224,24 +6231,40 @@ export type SettingsResearchToolsGetResponses = {
|
|
|
6224
6231
|
*/
|
|
6225
6232
|
200: {
|
|
6226
6233
|
signedIn: boolean;
|
|
6234
|
+
/**
|
|
6235
|
+
* @deprecated Compatibility summary. Billing is wallet-based and has no search quota.
|
|
6236
|
+
*/
|
|
6227
6237
|
plan: {
|
|
6228
6238
|
id: string;
|
|
6229
6239
|
label: string;
|
|
6230
6240
|
status: string | null;
|
|
6231
6241
|
};
|
|
6232
6242
|
search: {
|
|
6233
|
-
route: "managed" | "community";
|
|
6234
|
-
state: "available" | "
|
|
6243
|
+
route: "credits" | "managed" | "community";
|
|
6244
|
+
state: "available" | "basic" | "conditional" | "near_limit" | "critical" | "exhausted" | "unavailable";
|
|
6235
6245
|
enabled: boolean;
|
|
6246
|
+
balanceUsd: number | null;
|
|
6247
|
+
/**
|
|
6248
|
+
* @deprecated Always null; enhanced search draws from the shared wallet.
|
|
6249
|
+
*/
|
|
6236
6250
|
limit: number | null;
|
|
6251
|
+
/**
|
|
6252
|
+
* @deprecated Always null; enhanced search draws from the shared wallet.
|
|
6253
|
+
*/
|
|
6237
6254
|
used: number | null;
|
|
6255
|
+
/**
|
|
6256
|
+
* @deprecated Always null; use balanceUsd.
|
|
6257
|
+
*/
|
|
6238
6258
|
remaining: number | null;
|
|
6259
|
+
/**
|
|
6260
|
+
* @deprecated Always null; wallet credits do not reset.
|
|
6261
|
+
*/
|
|
6239
6262
|
resetAt: string | null;
|
|
6240
6263
|
communityFlagEnabled: boolean;
|
|
6241
6264
|
};
|
|
6242
6265
|
telemetry: {
|
|
6243
6266
|
analyticsEnabled: boolean;
|
|
6244
|
-
researchContentEnabled:
|
|
6267
|
+
researchContentEnabled: boolean;
|
|
6245
6268
|
source: "default" | "local" | "account";
|
|
6246
6269
|
signedIn: boolean;
|
|
6247
6270
|
consentVersion: string;
|
|
@@ -6266,24 +6289,40 @@ export type SettingsResearchToolsTelemetryUpdateResponses = {
|
|
|
6266
6289
|
*/
|
|
6267
6290
|
200: {
|
|
6268
6291
|
signedIn: boolean;
|
|
6292
|
+
/**
|
|
6293
|
+
* @deprecated Compatibility summary. Billing is wallet-based and has no search quota.
|
|
6294
|
+
*/
|
|
6269
6295
|
plan: {
|
|
6270
6296
|
id: string;
|
|
6271
6297
|
label: string;
|
|
6272
6298
|
status: string | null;
|
|
6273
6299
|
};
|
|
6274
6300
|
search: {
|
|
6275
|
-
route: "managed" | "community";
|
|
6276
|
-
state: "available" | "
|
|
6301
|
+
route: "credits" | "managed" | "community";
|
|
6302
|
+
state: "available" | "basic" | "conditional" | "near_limit" | "critical" | "exhausted" | "unavailable";
|
|
6277
6303
|
enabled: boolean;
|
|
6304
|
+
balanceUsd: number | null;
|
|
6305
|
+
/**
|
|
6306
|
+
* @deprecated Always null; enhanced search draws from the shared wallet.
|
|
6307
|
+
*/
|
|
6278
6308
|
limit: number | null;
|
|
6309
|
+
/**
|
|
6310
|
+
* @deprecated Always null; enhanced search draws from the shared wallet.
|
|
6311
|
+
*/
|
|
6279
6312
|
used: number | null;
|
|
6313
|
+
/**
|
|
6314
|
+
* @deprecated Always null; use balanceUsd.
|
|
6315
|
+
*/
|
|
6280
6316
|
remaining: number | null;
|
|
6317
|
+
/**
|
|
6318
|
+
* @deprecated Always null; wallet credits do not reset.
|
|
6319
|
+
*/
|
|
6281
6320
|
resetAt: string | null;
|
|
6282
6321
|
communityFlagEnabled: boolean;
|
|
6283
6322
|
};
|
|
6284
6323
|
telemetry: {
|
|
6285
6324
|
analyticsEnabled: boolean;
|
|
6286
|
-
researchContentEnabled:
|
|
6325
|
+
researchContentEnabled: boolean;
|
|
6287
6326
|
source: "default" | "local" | "account";
|
|
6288
6327
|
signedIn: boolean;
|
|
6289
6328
|
consentVersion: string;
|
|
@@ -6496,7 +6535,7 @@ export type ProjectExecutionData = {
|
|
|
6496
6535
|
query: {
|
|
6497
6536
|
directory?: string;
|
|
6498
6537
|
sessionID: string;
|
|
6499
|
-
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command";
|
|
6538
|
+
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command" | "publication_export";
|
|
6500
6539
|
};
|
|
6501
6540
|
url: "/project/{projectID}/execution";
|
|
6502
6541
|
};
|
|
@@ -6515,7 +6554,7 @@ export type ProjectExecutionResponses = {
|
|
|
6515
6554
|
allowed: boolean;
|
|
6516
6555
|
reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
|
|
6517
6556
|
message?: string;
|
|
6518
|
-
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command";
|
|
6557
|
+
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command" | "publication_export";
|
|
6519
6558
|
mode: "read_only" | "sandboxed" | "host";
|
|
6520
6559
|
projectID: string;
|
|
6521
6560
|
sessionID: string;
|
|
@@ -6969,6 +7008,7 @@ export type SessionListResponses = {
|
|
|
6969
7008
|
export type SessionListResponse = SessionListResponses[keyof SessionListResponses];
|
|
6970
7009
|
export type SessionCreateData = {
|
|
6971
7010
|
body?: {
|
|
7011
|
+
id?: string;
|
|
6972
7012
|
parentID?: string;
|
|
6973
7013
|
title?: string;
|
|
6974
7014
|
permission?: PermissionRuleset;
|
|
@@ -7368,6 +7408,8 @@ export type SessionTraceResponses = {
|
|
|
7368
7408
|
path?: string;
|
|
7369
7409
|
kind?: string;
|
|
7370
7410
|
sha256?: string;
|
|
7411
|
+
provenanceID?: string;
|
|
7412
|
+
producedAt?: number;
|
|
7371
7413
|
durable: boolean;
|
|
7372
7414
|
completedAt?: number;
|
|
7373
7415
|
}>;
|
|
@@ -7456,7 +7498,10 @@ export type SessionTraceResponses = {
|
|
|
7456
7498
|
detail: string;
|
|
7457
7499
|
}>;
|
|
7458
7500
|
missing: Array<string>;
|
|
7459
|
-
|
|
7501
|
+
/**
|
|
7502
|
+
* @deprecated Always zero; reviewer-gated research completion is retired.
|
|
7503
|
+
*/
|
|
7504
|
+
openFindings?: number;
|
|
7460
7505
|
failedCandidates: number;
|
|
7461
7506
|
strategy: {
|
|
7462
7507
|
mode: "explore" | "refine" | "pivot" | "fuse" | "verify";
|
|
@@ -7514,6 +7559,19 @@ export type SessionTraceResponses = {
|
|
|
7514
7559
|
detail?: string;
|
|
7515
7560
|
updatedAt: number;
|
|
7516
7561
|
}>;
|
|
7562
|
+
preregistration?: {
|
|
7563
|
+
artifact: {
|
|
7564
|
+
ref: string;
|
|
7565
|
+
note?: string;
|
|
7566
|
+
verifiedAt: number;
|
|
7567
|
+
kind: "artifact";
|
|
7568
|
+
artifactID: string;
|
|
7569
|
+
versionID: string;
|
|
7570
|
+
path: string;
|
|
7571
|
+
sha256: string;
|
|
7572
|
+
};
|
|
7573
|
+
frozenAt: number;
|
|
7574
|
+
};
|
|
7517
7575
|
failures: Array<{
|
|
7518
7576
|
id: string;
|
|
7519
7577
|
stage: string;
|
|
@@ -7572,6 +7630,9 @@ export type SessionTraceResponses = {
|
|
|
7572
7630
|
wallClockMs?: number;
|
|
7573
7631
|
costUsd?: number;
|
|
7574
7632
|
};
|
|
7633
|
+
limitOrigins?: {
|
|
7634
|
+
tokens: "default" | "explicit" | "unknown";
|
|
7635
|
+
};
|
|
7575
7636
|
runtimeFinalizationCalls?: number;
|
|
7576
7637
|
runtimeModelCalls?: number;
|
|
7577
7638
|
runtimeFinalizing?: boolean;
|
|
@@ -7788,85 +7849,6 @@ export type SessionTodoResponses = {
|
|
|
7788
7849
|
200: Array<Todo>;
|
|
7789
7850
|
};
|
|
7790
7851
|
export type SessionTodoResponse = SessionTodoResponses[keyof SessionTodoResponses];
|
|
7791
|
-
export type SessionReviewData = {
|
|
7792
|
-
body?: never;
|
|
7793
|
-
path: {
|
|
7794
|
-
/**
|
|
7795
|
-
* Session ID
|
|
7796
|
-
*/
|
|
7797
|
-
sessionID: string;
|
|
7798
|
-
};
|
|
7799
|
-
query?: {
|
|
7800
|
-
directory?: string;
|
|
7801
|
-
};
|
|
7802
|
-
url: "/session/{sessionID}/review";
|
|
7803
|
-
};
|
|
7804
|
-
export type SessionReviewErrors = {
|
|
7805
|
-
/**
|
|
7806
|
-
* Bad request
|
|
7807
|
-
*/
|
|
7808
|
-
400: BadRequestError;
|
|
7809
|
-
/**
|
|
7810
|
-
* Not found
|
|
7811
|
-
*/
|
|
7812
|
-
404: NotFoundError;
|
|
7813
|
-
};
|
|
7814
|
-
export type SessionReviewError = SessionReviewErrors[keyof SessionReviewErrors];
|
|
7815
|
-
export type SessionReviewResponses = {
|
|
7816
|
-
/**
|
|
7817
|
-
* Review started
|
|
7818
|
-
*/
|
|
7819
|
-
200: {
|
|
7820
|
-
started: boolean;
|
|
7821
|
-
};
|
|
7822
|
-
};
|
|
7823
|
-
export type SessionReviewResponse = SessionReviewResponses[keyof SessionReviewResponses];
|
|
7824
|
-
export type SessionReviewArtifactData = {
|
|
7825
|
-
body?: {
|
|
7826
|
-
artifactID: string;
|
|
7827
|
-
versionID: string;
|
|
7828
|
-
};
|
|
7829
|
-
path: {
|
|
7830
|
-
/**
|
|
7831
|
-
* Session ID
|
|
7832
|
-
*/
|
|
7833
|
-
sessionID: string;
|
|
7834
|
-
};
|
|
7835
|
-
query?: {
|
|
7836
|
-
directory?: string;
|
|
7837
|
-
};
|
|
7838
|
-
url: "/session/{sessionID}/review/artifact";
|
|
7839
|
-
};
|
|
7840
|
-
export type SessionReviewArtifactErrors = {
|
|
7841
|
-
/**
|
|
7842
|
-
* Bad request
|
|
7843
|
-
*/
|
|
7844
|
-
400: BadRequestError;
|
|
7845
|
-
/**
|
|
7846
|
-
* Not found
|
|
7847
|
-
*/
|
|
7848
|
-
404: NotFoundError;
|
|
7849
|
-
};
|
|
7850
|
-
export type SessionReviewArtifactError = SessionReviewArtifactErrors[keyof SessionReviewArtifactErrors];
|
|
7851
|
-
export type SessionReviewArtifactResponses = {
|
|
7852
|
-
/**
|
|
7853
|
-
* Exact-version review started
|
|
7854
|
-
*/
|
|
7855
|
-
200: {
|
|
7856
|
-
started: boolean;
|
|
7857
|
-
target: {
|
|
7858
|
-
id: string;
|
|
7859
|
-
artifactID: string;
|
|
7860
|
-
versionID: string;
|
|
7861
|
-
version: number;
|
|
7862
|
-
filename: string;
|
|
7863
|
-
mimeType: string;
|
|
7864
|
-
size: number;
|
|
7865
|
-
sha256: string;
|
|
7866
|
-
};
|
|
7867
|
-
};
|
|
7868
|
-
};
|
|
7869
|
-
export type SessionReviewArtifactResponse = SessionReviewArtifactResponses[keyof SessionReviewArtifactResponses];
|
|
7870
7852
|
export type SessionInitData = {
|
|
7871
7853
|
body?: {
|
|
7872
7854
|
modelID: string;
|
|
@@ -8265,6 +8247,8 @@ export type SessionCommandData = {
|
|
|
8265
8247
|
model?: string;
|
|
8266
8248
|
arguments: string;
|
|
8267
8249
|
command: string;
|
|
8250
|
+
effort?: ResearchEffort;
|
|
8251
|
+
delegation?: boolean;
|
|
8268
8252
|
variant?: string;
|
|
8269
8253
|
tier?: string;
|
|
8270
8254
|
parts?: Array<{
|
|
@@ -8535,6 +8519,11 @@ export type SearchQueryResponses = {
|
|
|
8535
8519
|
role: string;
|
|
8536
8520
|
snippet: string;
|
|
8537
8521
|
}>;
|
|
8522
|
+
files: Array<{
|
|
8523
|
+
path: string;
|
|
8524
|
+
name: string;
|
|
8525
|
+
snippet?: string;
|
|
8526
|
+
}>;
|
|
8538
8527
|
artifacts: Array<{
|
|
8539
8528
|
path: string;
|
|
8540
8529
|
name: string;
|
|
@@ -8897,6 +8886,12 @@ export type FileReadData = {
|
|
|
8897
8886
|
};
|
|
8898
8887
|
url: "/file/content";
|
|
8899
8888
|
};
|
|
8889
|
+
export type FileReadErrors = {
|
|
8890
|
+
/**
|
|
8891
|
+
* File not found
|
|
8892
|
+
*/
|
|
8893
|
+
404: unknown;
|
|
8894
|
+
};
|
|
8900
8895
|
export type FileReadResponses = {
|
|
8901
8896
|
/**
|
|
8902
8897
|
* File content
|
|
@@ -8947,6 +8942,15 @@ export type FileTrashListResponses = {
|
|
|
8947
8942
|
kind?: "file" | "directory";
|
|
8948
8943
|
store?: "data" | "workspace";
|
|
8949
8944
|
payloadPath?: string;
|
|
8945
|
+
payloadIdentity?: {
|
|
8946
|
+
dev: number;
|
|
8947
|
+
ino: number;
|
|
8948
|
+
size: number;
|
|
8949
|
+
mode: number;
|
|
8950
|
+
mtimeMs: number;
|
|
8951
|
+
ctimeMs: number;
|
|
8952
|
+
kind: "file" | "directory";
|
|
8953
|
+
};
|
|
8950
8954
|
state: "trash" | "restored";
|
|
8951
8955
|
trashedAt: number;
|
|
8952
8956
|
expiresAt: number;
|
|
@@ -8987,6 +8991,15 @@ export type FileTrashCreateResponses = {
|
|
|
8987
8991
|
kind?: "file" | "directory";
|
|
8988
8992
|
store?: "data" | "workspace";
|
|
8989
8993
|
payloadPath?: string;
|
|
8994
|
+
payloadIdentity?: {
|
|
8995
|
+
dev: number;
|
|
8996
|
+
ino: number;
|
|
8997
|
+
size: number;
|
|
8998
|
+
mode: number;
|
|
8999
|
+
mtimeMs: number;
|
|
9000
|
+
ctimeMs: number;
|
|
9001
|
+
kind: "file" | "directory";
|
|
9002
|
+
};
|
|
8990
9003
|
state: "trash" | "restored";
|
|
8991
9004
|
trashedAt: number;
|
|
8992
9005
|
expiresAt: number;
|
|
@@ -9032,6 +9045,15 @@ export type FileTrashRestoreResponses = {
|
|
|
9032
9045
|
kind?: "file" | "directory";
|
|
9033
9046
|
store?: "data" | "workspace";
|
|
9034
9047
|
payloadPath?: string;
|
|
9048
|
+
payloadIdentity?: {
|
|
9049
|
+
dev: number;
|
|
9050
|
+
ino: number;
|
|
9051
|
+
size: number;
|
|
9052
|
+
mode: number;
|
|
9053
|
+
mtimeMs: number;
|
|
9054
|
+
ctimeMs: number;
|
|
9055
|
+
kind: "file" | "directory";
|
|
9056
|
+
};
|
|
9035
9057
|
state: "trash" | "restored";
|
|
9036
9058
|
trashedAt: number;
|
|
9037
9059
|
expiresAt: number;
|
|
@@ -9073,6 +9095,15 @@ export type FileTrashPurgeResponses = {
|
|
|
9073
9095
|
kind?: "file" | "directory";
|
|
9074
9096
|
store?: "data" | "workspace";
|
|
9075
9097
|
payloadPath?: string;
|
|
9098
|
+
payloadIdentity?: {
|
|
9099
|
+
dev: number;
|
|
9100
|
+
ino: number;
|
|
9101
|
+
size: number;
|
|
9102
|
+
mode: number;
|
|
9103
|
+
mtimeMs: number;
|
|
9104
|
+
ctimeMs: number;
|
|
9105
|
+
kind: "file" | "directory";
|
|
9106
|
+
};
|
|
9076
9107
|
state: "trash" | "restored";
|
|
9077
9108
|
trashedAt: number;
|
|
9078
9109
|
expiresAt: number;
|
|
@@ -9148,14 +9179,34 @@ export type FileRawData = {
|
|
|
9148
9179
|
directory?: string;
|
|
9149
9180
|
path: string;
|
|
9150
9181
|
sessionID?: string;
|
|
9182
|
+
maxBytes?: number;
|
|
9183
|
+
inline?: "true" | "false";
|
|
9151
9184
|
};
|
|
9152
9185
|
url: "/file/raw";
|
|
9153
9186
|
};
|
|
9187
|
+
export type FileRawErrors = {
|
|
9188
|
+
/**
|
|
9189
|
+
* File not found
|
|
9190
|
+
*/
|
|
9191
|
+
404: unknown;
|
|
9192
|
+
/**
|
|
9193
|
+
* File exceeds the caller's byte limit
|
|
9194
|
+
*/
|
|
9195
|
+
413: unknown;
|
|
9196
|
+
/**
|
|
9197
|
+
* Requested byte range is not satisfiable
|
|
9198
|
+
*/
|
|
9199
|
+
416: unknown;
|
|
9200
|
+
};
|
|
9154
9201
|
export type FileRawResponses = {
|
|
9155
9202
|
/**
|
|
9156
9203
|
* Raw file contents
|
|
9157
9204
|
*/
|
|
9158
9205
|
200: unknown;
|
|
9206
|
+
/**
|
|
9207
|
+
* Requested byte range
|
|
9208
|
+
*/
|
|
9209
|
+
206: unknown;
|
|
9159
9210
|
};
|
|
9160
9211
|
export type FileArtifactsData = {
|
|
9161
9212
|
body?: never;
|
|
@@ -10055,9 +10106,16 @@ export type FilePublicationData = {
|
|
|
10055
10106
|
path?: never;
|
|
10056
10107
|
query?: {
|
|
10057
10108
|
directory?: string;
|
|
10109
|
+
sessionID?: string;
|
|
10058
10110
|
};
|
|
10059
10111
|
url: "/file/publication";
|
|
10060
10112
|
};
|
|
10113
|
+
export type FilePublicationErrors = {
|
|
10114
|
+
/**
|
|
10115
|
+
* The session cannot read the manuscript or write the export
|
|
10116
|
+
*/
|
|
10117
|
+
403: unknown;
|
|
10118
|
+
};
|
|
10061
10119
|
export type FilePublicationResponses = {
|
|
10062
10120
|
/**
|
|
10063
10121
|
* Created publication artifact
|
|
@@ -10079,10 +10137,15 @@ export type FileReviewsCurrentData = {
|
|
|
10079
10137
|
query: {
|
|
10080
10138
|
directory?: string;
|
|
10081
10139
|
path: string;
|
|
10140
|
+
sessionID?: string;
|
|
10082
10141
|
};
|
|
10083
10142
|
url: "/file/reviews";
|
|
10084
10143
|
};
|
|
10085
10144
|
export type FileReviewsCurrentErrors = {
|
|
10145
|
+
/**
|
|
10146
|
+
* The session cannot read this manuscript
|
|
10147
|
+
*/
|
|
10148
|
+
403: unknown;
|
|
10086
10149
|
/**
|
|
10087
10150
|
* No publication preflight exists for this manuscript
|
|
10088
10151
|
*/
|
|
@@ -10098,6 +10161,11 @@ export type FileReviewsCurrentResponses = {
|
|
|
10098
10161
|
projectID: string;
|
|
10099
10162
|
path: string;
|
|
10100
10163
|
artifactHash: string;
|
|
10164
|
+
dependencies?: Array<{
|
|
10165
|
+
kind: "bibliography" | "figure";
|
|
10166
|
+
path: string;
|
|
10167
|
+
artifactHash: string;
|
|
10168
|
+
}>;
|
|
10101
10169
|
version: number;
|
|
10102
10170
|
status: "blocked" | "warnings" | "ready";
|
|
10103
10171
|
summary: {
|
|
@@ -10141,6 +10209,7 @@ export type FileReviewsCurrentResponses = {
|
|
|
10141
10209
|
actor: string;
|
|
10142
10210
|
at: number;
|
|
10143
10211
|
artifactHash: string;
|
|
10212
|
+
dependencyHash?: string;
|
|
10144
10213
|
};
|
|
10145
10214
|
createdAt: number;
|
|
10146
10215
|
updatedAt: number;
|
|
@@ -10156,9 +10225,16 @@ export type FileReviewsRunData = {
|
|
|
10156
10225
|
path?: never;
|
|
10157
10226
|
query?: {
|
|
10158
10227
|
directory?: string;
|
|
10228
|
+
sessionID?: string;
|
|
10159
10229
|
};
|
|
10160
10230
|
url: "/file/reviews";
|
|
10161
10231
|
};
|
|
10232
|
+
export type FileReviewsRunErrors = {
|
|
10233
|
+
/**
|
|
10234
|
+
* The session cannot read this manuscript
|
|
10235
|
+
*/
|
|
10236
|
+
403: unknown;
|
|
10237
|
+
};
|
|
10162
10238
|
export type FileReviewsRunResponses = {
|
|
10163
10239
|
/**
|
|
10164
10240
|
* Generated publication preflight
|
|
@@ -10169,6 +10245,11 @@ export type FileReviewsRunResponses = {
|
|
|
10169
10245
|
projectID: string;
|
|
10170
10246
|
path: string;
|
|
10171
10247
|
artifactHash: string;
|
|
10248
|
+
dependencies?: Array<{
|
|
10249
|
+
kind: "bibliography" | "figure";
|
|
10250
|
+
path: string;
|
|
10251
|
+
artifactHash: string;
|
|
10252
|
+
}>;
|
|
10172
10253
|
version: number;
|
|
10173
10254
|
status: "blocked" | "warnings" | "ready";
|
|
10174
10255
|
summary: {
|
|
@@ -10212,6 +10293,7 @@ export type FileReviewsRunResponses = {
|
|
|
10212
10293
|
actor: string;
|
|
10213
10294
|
at: number;
|
|
10214
10295
|
artifactHash: string;
|
|
10296
|
+
dependencyHash?: string;
|
|
10215
10297
|
};
|
|
10216
10298
|
createdAt: number;
|
|
10217
10299
|
updatedAt: number;
|
|
@@ -10224,9 +10306,16 @@ export type FileReviewsHistoryData = {
|
|
|
10224
10306
|
query: {
|
|
10225
10307
|
directory?: string;
|
|
10226
10308
|
path: string;
|
|
10309
|
+
sessionID?: string;
|
|
10227
10310
|
};
|
|
10228
10311
|
url: "/file/reviews/history";
|
|
10229
10312
|
};
|
|
10313
|
+
export type FileReviewsHistoryErrors = {
|
|
10314
|
+
/**
|
|
10315
|
+
* The session cannot read this manuscript
|
|
10316
|
+
*/
|
|
10317
|
+
403: unknown;
|
|
10318
|
+
};
|
|
10230
10319
|
export type FileReviewsHistoryResponses = {
|
|
10231
10320
|
/**
|
|
10232
10321
|
* Publication preflight history
|
|
@@ -10237,6 +10326,11 @@ export type FileReviewsHistoryResponses = {
|
|
|
10237
10326
|
projectID: string;
|
|
10238
10327
|
path: string;
|
|
10239
10328
|
artifactHash: string;
|
|
10329
|
+
dependencies?: Array<{
|
|
10330
|
+
kind: "bibliography" | "figure";
|
|
10331
|
+
path: string;
|
|
10332
|
+
artifactHash: string;
|
|
10333
|
+
}>;
|
|
10240
10334
|
version: number;
|
|
10241
10335
|
status: "blocked" | "warnings" | "ready";
|
|
10242
10336
|
summary: {
|
|
@@ -10280,6 +10374,7 @@ export type FileReviewsHistoryResponses = {
|
|
|
10280
10374
|
actor: string;
|
|
10281
10375
|
at: number;
|
|
10282
10376
|
artifactHash: string;
|
|
10377
|
+
dependencyHash?: string;
|
|
10283
10378
|
};
|
|
10284
10379
|
createdAt: number;
|
|
10285
10380
|
updatedAt: number;
|
|
@@ -10298,10 +10393,15 @@ export type FileReviewsResolveData = {
|
|
|
10298
10393
|
};
|
|
10299
10394
|
query?: {
|
|
10300
10395
|
directory?: string;
|
|
10396
|
+
sessionID?: string;
|
|
10301
10397
|
};
|
|
10302
10398
|
url: "/file/reviews/{id}/findings/{finding}";
|
|
10303
10399
|
};
|
|
10304
10400
|
export type FileReviewsResolveErrors = {
|
|
10401
|
+
/**
|
|
10402
|
+
* The session cannot read the reviewed manuscript
|
|
10403
|
+
*/
|
|
10404
|
+
403: unknown;
|
|
10305
10405
|
/**
|
|
10306
10406
|
* Finding cannot be updated
|
|
10307
10407
|
*/
|
|
@@ -10317,6 +10417,11 @@ export type FileReviewsResolveResponses = {
|
|
|
10317
10417
|
projectID: string;
|
|
10318
10418
|
path: string;
|
|
10319
10419
|
artifactHash: string;
|
|
10420
|
+
dependencies?: Array<{
|
|
10421
|
+
kind: "bibliography" | "figure";
|
|
10422
|
+
path: string;
|
|
10423
|
+
artifactHash: string;
|
|
10424
|
+
}>;
|
|
10320
10425
|
version: number;
|
|
10321
10426
|
status: "blocked" | "warnings" | "ready";
|
|
10322
10427
|
summary: {
|
|
@@ -10360,6 +10465,7 @@ export type FileReviewsResolveResponses = {
|
|
|
10360
10465
|
actor: string;
|
|
10361
10466
|
at: number;
|
|
10362
10467
|
artifactHash: string;
|
|
10468
|
+
dependencyHash?: string;
|
|
10363
10469
|
};
|
|
10364
10470
|
createdAt: number;
|
|
10365
10471
|
updatedAt: number;
|
|
@@ -10375,10 +10481,15 @@ export type FileReviewsFinalizeData = {
|
|
|
10375
10481
|
};
|
|
10376
10482
|
query?: {
|
|
10377
10483
|
directory?: string;
|
|
10484
|
+
sessionID?: string;
|
|
10378
10485
|
};
|
|
10379
10486
|
url: "/file/reviews/{id}/finalize";
|
|
10380
10487
|
};
|
|
10381
10488
|
export type FileReviewsFinalizeErrors = {
|
|
10489
|
+
/**
|
|
10490
|
+
* The session cannot read the reviewed manuscript
|
|
10491
|
+
*/
|
|
10492
|
+
403: unknown;
|
|
10382
10493
|
/**
|
|
10383
10494
|
* Review is blocked, stale, or already invalid
|
|
10384
10495
|
*/
|
|
@@ -10394,6 +10505,11 @@ export type FileReviewsFinalizeResponses = {
|
|
|
10394
10505
|
projectID: string;
|
|
10395
10506
|
path: string;
|
|
10396
10507
|
artifactHash: string;
|
|
10508
|
+
dependencies?: Array<{
|
|
10509
|
+
kind: "bibliography" | "figure";
|
|
10510
|
+
path: string;
|
|
10511
|
+
artifactHash: string;
|
|
10512
|
+
}>;
|
|
10397
10513
|
version: number;
|
|
10398
10514
|
status: "blocked" | "warnings" | "ready";
|
|
10399
10515
|
summary: {
|
|
@@ -10437,6 +10553,7 @@ export type FileReviewsFinalizeResponses = {
|
|
|
10437
10553
|
actor: string;
|
|
10438
10554
|
at: number;
|
|
10439
10555
|
artifactHash: string;
|
|
10556
|
+
dependencyHash?: string;
|
|
10440
10557
|
};
|
|
10441
10558
|
createdAt: number;
|
|
10442
10559
|
updatedAt: number;
|
|
@@ -10591,7 +10708,7 @@ export type KernelsListResponses = {
|
|
|
10591
10708
|
allowed: boolean;
|
|
10592
10709
|
reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
|
|
10593
10710
|
message?: string;
|
|
10594
|
-
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command";
|
|
10711
|
+
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command" | "publication_export";
|
|
10595
10712
|
mode: "read_only" | "sandboxed" | "host";
|
|
10596
10713
|
projectID: string;
|
|
10597
10714
|
sessionID: string;
|
|
@@ -10706,7 +10823,7 @@ export type KernelsRestartByIdResponses = {
|
|
|
10706
10823
|
allowed: boolean;
|
|
10707
10824
|
reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
|
|
10708
10825
|
message?: string;
|
|
10709
|
-
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command";
|
|
10826
|
+
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command" | "publication_export";
|
|
10710
10827
|
mode: "read_only" | "sandboxed" | "host";
|
|
10711
10828
|
projectID: string;
|
|
10712
10829
|
sessionID: string;
|
|
@@ -10820,7 +10937,7 @@ export type KernelsStopByIdResponses = {
|
|
|
10820
10937
|
allowed: boolean;
|
|
10821
10938
|
reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
|
|
10822
10939
|
message?: string;
|
|
10823
|
-
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command";
|
|
10940
|
+
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command" | "publication_export";
|
|
10824
10941
|
mode: "read_only" | "sandboxed" | "host";
|
|
10825
10942
|
projectID: string;
|
|
10826
10943
|
sessionID: string;
|
|
@@ -10934,7 +11051,7 @@ export type KernelsInterruptByIdResponses = {
|
|
|
10934
11051
|
allowed: boolean;
|
|
10935
11052
|
reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
|
|
10936
11053
|
message?: string;
|
|
10937
|
-
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command";
|
|
11054
|
+
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command" | "publication_export";
|
|
10938
11055
|
mode: "read_only" | "sandboxed" | "host";
|
|
10939
11056
|
projectID: string;
|
|
10940
11057
|
sessionID: string;
|
|
@@ -11087,7 +11204,7 @@ export type KernelsStatusResponses = {
|
|
|
11087
11204
|
allowed: boolean;
|
|
11088
11205
|
reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
|
|
11089
11206
|
message?: string;
|
|
11090
|
-
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command";
|
|
11207
|
+
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command" | "publication_export";
|
|
11091
11208
|
mode: "read_only" | "sandboxed" | "host";
|
|
11092
11209
|
projectID: string;
|
|
11093
11210
|
sessionID: string;
|
|
@@ -11201,7 +11318,7 @@ export type KernelsRestartResponses = {
|
|
|
11201
11318
|
allowed: boolean;
|
|
11202
11319
|
reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
|
|
11203
11320
|
message?: string;
|
|
11204
|
-
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command";
|
|
11321
|
+
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command" | "publication_export";
|
|
11205
11322
|
mode: "read_only" | "sandboxed" | "host";
|
|
11206
11323
|
projectID: string;
|
|
11207
11324
|
sessionID: string;
|
|
@@ -11315,7 +11432,7 @@ export type KernelsStopResponses = {
|
|
|
11315
11432
|
allowed: boolean;
|
|
11316
11433
|
reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
|
|
11317
11434
|
message?: string;
|
|
11318
|
-
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command";
|
|
11435
|
+
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command" | "publication_export";
|
|
11319
11436
|
mode: "read_only" | "sandboxed" | "host";
|
|
11320
11437
|
projectID: string;
|
|
11321
11438
|
sessionID: string;
|
|
@@ -11429,7 +11546,7 @@ export type KernelsInterruptResponses = {
|
|
|
11429
11546
|
allowed: boolean;
|
|
11430
11547
|
reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
|
|
11431
11548
|
message?: string;
|
|
11432
|
-
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command";
|
|
11549
|
+
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command" | "publication_export";
|
|
11433
11550
|
mode: "read_only" | "sandboxed" | "host";
|
|
11434
11551
|
projectID: string;
|
|
11435
11552
|
sessionID: string;
|
|
@@ -11613,7 +11730,7 @@ export type NotebookKernelsResponses = {
|
|
|
11613
11730
|
allowed: boolean;
|
|
11614
11731
|
reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
|
|
11615
11732
|
message?: string;
|
|
11616
|
-
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command";
|
|
11733
|
+
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command" | "publication_export";
|
|
11617
11734
|
mode: "read_only" | "sandboxed" | "host";
|
|
11618
11735
|
projectID: string;
|
|
11619
11736
|
sessionID: string;
|
|
@@ -11728,7 +11845,7 @@ export type NotebookKernelRestartResponses = {
|
|
|
11728
11845
|
allowed: boolean;
|
|
11729
11846
|
reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
|
|
11730
11847
|
message?: string;
|
|
11731
|
-
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command";
|
|
11848
|
+
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command" | "publication_export";
|
|
11732
11849
|
mode: "read_only" | "sandboxed" | "host";
|
|
11733
11850
|
projectID: string;
|
|
11734
11851
|
sessionID: string;
|
|
@@ -11842,7 +11959,7 @@ export type NotebookKernelStopResponses = {
|
|
|
11842
11959
|
allowed: boolean;
|
|
11843
11960
|
reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
|
|
11844
11961
|
message?: string;
|
|
11845
|
-
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command";
|
|
11962
|
+
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command" | "publication_export";
|
|
11846
11963
|
mode: "read_only" | "sandboxed" | "host";
|
|
11847
11964
|
projectID: string;
|
|
11848
11965
|
sessionID: string;
|
|
@@ -11956,7 +12073,7 @@ export type NotebookKernelInterruptResponses = {
|
|
|
11956
12073
|
allowed: boolean;
|
|
11957
12074
|
reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
|
|
11958
12075
|
message?: string;
|
|
11959
|
-
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command";
|
|
12076
|
+
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command" | "publication_export";
|
|
11960
12077
|
mode: "read_only" | "sandboxed" | "host";
|
|
11961
12078
|
projectID: string;
|
|
11962
12079
|
sessionID: string;
|
|
@@ -12110,7 +12227,7 @@ export type NotebookStatusResponses = {
|
|
|
12110
12227
|
allowed: boolean;
|
|
12111
12228
|
reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
|
|
12112
12229
|
message?: string;
|
|
12113
|
-
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command";
|
|
12230
|
+
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command" | "publication_export";
|
|
12114
12231
|
mode: "read_only" | "sandboxed" | "host";
|
|
12115
12232
|
projectID: string;
|
|
12116
12233
|
sessionID: string;
|
|
@@ -12225,7 +12342,7 @@ export type NotebookRestartResponses = {
|
|
|
12225
12342
|
allowed: boolean;
|
|
12226
12343
|
reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
|
|
12227
12344
|
message?: string;
|
|
12228
|
-
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command";
|
|
12345
|
+
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command" | "publication_export";
|
|
12229
12346
|
mode: "read_only" | "sandboxed" | "host";
|
|
12230
12347
|
projectID: string;
|
|
12231
12348
|
sessionID: string;
|
|
@@ -12340,7 +12457,7 @@ export type NotebookStopResponses = {
|
|
|
12340
12457
|
allowed: boolean;
|
|
12341
12458
|
reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
|
|
12342
12459
|
message?: string;
|
|
12343
|
-
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command";
|
|
12460
|
+
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command" | "publication_export";
|
|
12344
12461
|
mode: "read_only" | "sandboxed" | "host";
|
|
12345
12462
|
projectID: string;
|
|
12346
12463
|
sessionID: string;
|
|
@@ -12455,7 +12572,7 @@ export type NotebookInterruptResponses = {
|
|
|
12455
12572
|
allowed: boolean;
|
|
12456
12573
|
reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
|
|
12457
12574
|
message?: string;
|
|
12458
|
-
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command";
|
|
12575
|
+
capability: "terminal" | "kernel" | "shell" | "local_job" | "remote_job" | "package_install" | "project_plugin" | "project_mcp" | "project_formatter" | "project_lsp" | "provider_token_command" | "publication_export";
|
|
12459
12576
|
mode: "read_only" | "sandboxed" | "host";
|
|
12460
12577
|
projectID: string;
|
|
12461
12578
|
sessionID: string;
|
|
@@ -12564,59 +12681,7 @@ export type ProvenanceReviewsListData = {
|
|
|
12564
12681
|
};
|
|
12565
12682
|
export type ProvenanceReviewsListResponses = {
|
|
12566
12683
|
/**
|
|
12567
|
-
*
|
|
12568
|
-
*/
|
|
12569
|
-
200: unknown;
|
|
12570
|
-
};
|
|
12571
|
-
export type ProvenanceReviewData = {
|
|
12572
|
-
body?: {
|
|
12573
|
-
target: string;
|
|
12574
|
-
claim: string;
|
|
12575
|
-
issue: string;
|
|
12576
|
-
severity: "blocking" | "major" | "minor" | "info";
|
|
12577
|
-
evidence: string;
|
|
12578
|
-
verdict?: "refutes" | "supports";
|
|
12579
|
-
};
|
|
12580
|
-
path?: never;
|
|
12581
|
-
query?: {
|
|
12582
|
-
directory?: string;
|
|
12583
|
-
};
|
|
12584
|
-
url: "/provenance/reviews";
|
|
12585
|
-
};
|
|
12586
|
-
export type ProvenanceReviewErrors = {
|
|
12587
|
-
/**
|
|
12588
|
-
* Invalid target
|
|
12589
|
-
*/
|
|
12590
|
-
400: unknown;
|
|
12591
|
-
};
|
|
12592
|
-
export type ProvenanceReviewResponses = {
|
|
12593
|
-
/**
|
|
12594
|
-
* Recorded finding
|
|
12595
|
-
*/
|
|
12596
|
-
200: unknown;
|
|
12597
|
-
};
|
|
12598
|
-
export type ProvenanceReviewsResolveData = {
|
|
12599
|
-
body?: {
|
|
12600
|
-
actor: string;
|
|
12601
|
-
reason: string;
|
|
12602
|
-
};
|
|
12603
|
-
path: {
|
|
12604
|
-
id: string;
|
|
12605
|
-
};
|
|
12606
|
-
query?: {
|
|
12607
|
-
directory?: string;
|
|
12608
|
-
};
|
|
12609
|
-
url: "/provenance/reviews/{id}/resolve";
|
|
12610
|
-
};
|
|
12611
|
-
export type ProvenanceReviewsResolveErrors = {
|
|
12612
|
-
/**
|
|
12613
|
-
* Not a refuting finding
|
|
12614
|
-
*/
|
|
12615
|
-
400: unknown;
|
|
12616
|
-
};
|
|
12617
|
-
export type ProvenanceReviewsResolveResponses = {
|
|
12618
|
-
/**
|
|
12619
|
-
* Resolution node
|
|
12684
|
+
* Historical review findings
|
|
12620
12685
|
*/
|
|
12621
12686
|
200: unknown;
|
|
12622
12687
|
};
|