@synsci/sdk 2.0.30 → 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.
@@ -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
- * Managed Credits vs bring-your-own-key spend, toggled independently for LLM inference and compute.
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
- * How GPU/compute is paid for. 'managed' runs on Gateway-provisioned compute billed to your wallet (via the bundled gateway CLI); 'byok' uses your own connected GPU providers (Modal, Tinker, TensorPool, …). Unset = byok.
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 Gateway session (thk_ key) is available
6127
+ * Whether a Synthetic Sciences session is available
6127
6128
  */
6128
6129
  signedIn: boolean;
6129
6130
  /**
6130
- * Credit balance in USD; -1 when signed out or unavailable
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 Gateway session (thk_ key) is available
6162
+ * Whether a Synthetic Sciences session is available
6156
6163
  */
6157
6164
  signedIn: boolean;
6158
6165
  /**
6159
- * Credit balance in USD; -1 when signed out or unavailable
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; -1 when signed out or unavailable
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" | "near_limit" | "critical" | "exhausted" | "conditional" | "unavailable";
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: false;
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" | "near_limit" | "critical" | "exhausted" | "conditional" | "unavailable";
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: false;
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
  }>;
@@ -7385,7 +7427,7 @@ export type SessionTraceResponses = {
7385
7427
  completedAt?: number;
7386
7428
  }>;
7387
7429
  failures: Array<{
7388
- kind: "model" | "tool" | "approval" | "job";
7430
+ kind: "model" | "runtime" | "tool" | "approval" | "job";
7389
7431
  id: string;
7390
7432
  message: string;
7391
7433
  createdAt: number;
@@ -7456,7 +7498,10 @@ export type SessionTraceResponses = {
7456
7498
  detail: string;
7457
7499
  }>;
7458
7500
  missing: Array<string>;
7459
- openFindings: number;
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,11 +7630,22 @@ 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;
7578
7639
  runtimeExhausted?: boolean;
7579
7640
  runtimeReason?: string;
7641
+ runtimeEpoch?: number;
7642
+ runtimeBaseline?: {
7643
+ modelCalls: number;
7644
+ toolCalls: number;
7645
+ tokens: number;
7646
+ wallClockMs: number;
7647
+ costUsd: number;
7648
+ };
7580
7649
  lastUsage?: {
7581
7650
  modelCalls: number;
7582
7651
  toolCalls: number;
@@ -7780,85 +7849,6 @@ export type SessionTodoResponses = {
7780
7849
  200: Array<Todo>;
7781
7850
  };
7782
7851
  export type SessionTodoResponse = SessionTodoResponses[keyof SessionTodoResponses];
7783
- export type SessionReviewData = {
7784
- body?: never;
7785
- path: {
7786
- /**
7787
- * Session ID
7788
- */
7789
- sessionID: string;
7790
- };
7791
- query?: {
7792
- directory?: string;
7793
- };
7794
- url: "/session/{sessionID}/review";
7795
- };
7796
- export type SessionReviewErrors = {
7797
- /**
7798
- * Bad request
7799
- */
7800
- 400: BadRequestError;
7801
- /**
7802
- * Not found
7803
- */
7804
- 404: NotFoundError;
7805
- };
7806
- export type SessionReviewError = SessionReviewErrors[keyof SessionReviewErrors];
7807
- export type SessionReviewResponses = {
7808
- /**
7809
- * Review started
7810
- */
7811
- 200: {
7812
- started: boolean;
7813
- };
7814
- };
7815
- export type SessionReviewResponse = SessionReviewResponses[keyof SessionReviewResponses];
7816
- export type SessionReviewArtifactData = {
7817
- body?: {
7818
- artifactID: string;
7819
- versionID: string;
7820
- };
7821
- path: {
7822
- /**
7823
- * Session ID
7824
- */
7825
- sessionID: string;
7826
- };
7827
- query?: {
7828
- directory?: string;
7829
- };
7830
- url: "/session/{sessionID}/review/artifact";
7831
- };
7832
- export type SessionReviewArtifactErrors = {
7833
- /**
7834
- * Bad request
7835
- */
7836
- 400: BadRequestError;
7837
- /**
7838
- * Not found
7839
- */
7840
- 404: NotFoundError;
7841
- };
7842
- export type SessionReviewArtifactError = SessionReviewArtifactErrors[keyof SessionReviewArtifactErrors];
7843
- export type SessionReviewArtifactResponses = {
7844
- /**
7845
- * Exact-version review started
7846
- */
7847
- 200: {
7848
- started: boolean;
7849
- target: {
7850
- id: string;
7851
- artifactID: string;
7852
- versionID: string;
7853
- version: number;
7854
- filename: string;
7855
- mimeType: string;
7856
- size: number;
7857
- sha256: string;
7858
- };
7859
- };
7860
- };
7861
- export type SessionReviewArtifactResponse = SessionReviewArtifactResponses[keyof SessionReviewArtifactResponses];
7862
7852
  export type SessionInitData = {
7863
7853
  body?: {
7864
7854
  modelID: string;
@@ -8257,6 +8247,8 @@ export type SessionCommandData = {
8257
8247
  model?: string;
8258
8248
  arguments: string;
8259
8249
  command: string;
8250
+ effort?: ResearchEffort;
8251
+ delegation?: boolean;
8260
8252
  variant?: string;
8261
8253
  tier?: string;
8262
8254
  parts?: Array<{
@@ -8527,6 +8519,11 @@ export type SearchQueryResponses = {
8527
8519
  role: string;
8528
8520
  snippet: string;
8529
8521
  }>;
8522
+ files: Array<{
8523
+ path: string;
8524
+ name: string;
8525
+ snippet?: string;
8526
+ }>;
8530
8527
  artifacts: Array<{
8531
8528
  path: string;
8532
8529
  name: string;
@@ -8889,6 +8886,12 @@ export type FileReadData = {
8889
8886
  };
8890
8887
  url: "/file/content";
8891
8888
  };
8889
+ export type FileReadErrors = {
8890
+ /**
8891
+ * File not found
8892
+ */
8893
+ 404: unknown;
8894
+ };
8892
8895
  export type FileReadResponses = {
8893
8896
  /**
8894
8897
  * File content
@@ -8939,6 +8942,15 @@ export type FileTrashListResponses = {
8939
8942
  kind?: "file" | "directory";
8940
8943
  store?: "data" | "workspace";
8941
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
+ };
8942
8954
  state: "trash" | "restored";
8943
8955
  trashedAt: number;
8944
8956
  expiresAt: number;
@@ -8979,6 +8991,15 @@ export type FileTrashCreateResponses = {
8979
8991
  kind?: "file" | "directory";
8980
8992
  store?: "data" | "workspace";
8981
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
+ };
8982
9003
  state: "trash" | "restored";
8983
9004
  trashedAt: number;
8984
9005
  expiresAt: number;
@@ -9024,6 +9045,15 @@ export type FileTrashRestoreResponses = {
9024
9045
  kind?: "file" | "directory";
9025
9046
  store?: "data" | "workspace";
9026
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
+ };
9027
9057
  state: "trash" | "restored";
9028
9058
  trashedAt: number;
9029
9059
  expiresAt: number;
@@ -9065,6 +9095,15 @@ export type FileTrashPurgeResponses = {
9065
9095
  kind?: "file" | "directory";
9066
9096
  store?: "data" | "workspace";
9067
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
+ };
9068
9107
  state: "trash" | "restored";
9069
9108
  trashedAt: number;
9070
9109
  expiresAt: number;
@@ -9140,14 +9179,34 @@ export type FileRawData = {
9140
9179
  directory?: string;
9141
9180
  path: string;
9142
9181
  sessionID?: string;
9182
+ maxBytes?: number;
9183
+ inline?: "true" | "false";
9143
9184
  };
9144
9185
  url: "/file/raw";
9145
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
+ };
9146
9201
  export type FileRawResponses = {
9147
9202
  /**
9148
9203
  * Raw file contents
9149
9204
  */
9150
9205
  200: unknown;
9206
+ /**
9207
+ * Requested byte range
9208
+ */
9209
+ 206: unknown;
9151
9210
  };
9152
9211
  export type FileArtifactsData = {
9153
9212
  body?: never;
@@ -10047,9 +10106,16 @@ export type FilePublicationData = {
10047
10106
  path?: never;
10048
10107
  query?: {
10049
10108
  directory?: string;
10109
+ sessionID?: string;
10050
10110
  };
10051
10111
  url: "/file/publication";
10052
10112
  };
10113
+ export type FilePublicationErrors = {
10114
+ /**
10115
+ * The session cannot read the manuscript or write the export
10116
+ */
10117
+ 403: unknown;
10118
+ };
10053
10119
  export type FilePublicationResponses = {
10054
10120
  /**
10055
10121
  * Created publication artifact
@@ -10071,10 +10137,15 @@ export type FileReviewsCurrentData = {
10071
10137
  query: {
10072
10138
  directory?: string;
10073
10139
  path: string;
10140
+ sessionID?: string;
10074
10141
  };
10075
10142
  url: "/file/reviews";
10076
10143
  };
10077
10144
  export type FileReviewsCurrentErrors = {
10145
+ /**
10146
+ * The session cannot read this manuscript
10147
+ */
10148
+ 403: unknown;
10078
10149
  /**
10079
10150
  * No publication preflight exists for this manuscript
10080
10151
  */
@@ -10090,6 +10161,11 @@ export type FileReviewsCurrentResponses = {
10090
10161
  projectID: string;
10091
10162
  path: string;
10092
10163
  artifactHash: string;
10164
+ dependencies?: Array<{
10165
+ kind: "bibliography" | "figure";
10166
+ path: string;
10167
+ artifactHash: string;
10168
+ }>;
10093
10169
  version: number;
10094
10170
  status: "blocked" | "warnings" | "ready";
10095
10171
  summary: {
@@ -10133,6 +10209,7 @@ export type FileReviewsCurrentResponses = {
10133
10209
  actor: string;
10134
10210
  at: number;
10135
10211
  artifactHash: string;
10212
+ dependencyHash?: string;
10136
10213
  };
10137
10214
  createdAt: number;
10138
10215
  updatedAt: number;
@@ -10148,9 +10225,16 @@ export type FileReviewsRunData = {
10148
10225
  path?: never;
10149
10226
  query?: {
10150
10227
  directory?: string;
10228
+ sessionID?: string;
10151
10229
  };
10152
10230
  url: "/file/reviews";
10153
10231
  };
10232
+ export type FileReviewsRunErrors = {
10233
+ /**
10234
+ * The session cannot read this manuscript
10235
+ */
10236
+ 403: unknown;
10237
+ };
10154
10238
  export type FileReviewsRunResponses = {
10155
10239
  /**
10156
10240
  * Generated publication preflight
@@ -10161,6 +10245,11 @@ export type FileReviewsRunResponses = {
10161
10245
  projectID: string;
10162
10246
  path: string;
10163
10247
  artifactHash: string;
10248
+ dependencies?: Array<{
10249
+ kind: "bibliography" | "figure";
10250
+ path: string;
10251
+ artifactHash: string;
10252
+ }>;
10164
10253
  version: number;
10165
10254
  status: "blocked" | "warnings" | "ready";
10166
10255
  summary: {
@@ -10204,6 +10293,7 @@ export type FileReviewsRunResponses = {
10204
10293
  actor: string;
10205
10294
  at: number;
10206
10295
  artifactHash: string;
10296
+ dependencyHash?: string;
10207
10297
  };
10208
10298
  createdAt: number;
10209
10299
  updatedAt: number;
@@ -10216,9 +10306,16 @@ export type FileReviewsHistoryData = {
10216
10306
  query: {
10217
10307
  directory?: string;
10218
10308
  path: string;
10309
+ sessionID?: string;
10219
10310
  };
10220
10311
  url: "/file/reviews/history";
10221
10312
  };
10313
+ export type FileReviewsHistoryErrors = {
10314
+ /**
10315
+ * The session cannot read this manuscript
10316
+ */
10317
+ 403: unknown;
10318
+ };
10222
10319
  export type FileReviewsHistoryResponses = {
10223
10320
  /**
10224
10321
  * Publication preflight history
@@ -10229,6 +10326,11 @@ export type FileReviewsHistoryResponses = {
10229
10326
  projectID: string;
10230
10327
  path: string;
10231
10328
  artifactHash: string;
10329
+ dependencies?: Array<{
10330
+ kind: "bibliography" | "figure";
10331
+ path: string;
10332
+ artifactHash: string;
10333
+ }>;
10232
10334
  version: number;
10233
10335
  status: "blocked" | "warnings" | "ready";
10234
10336
  summary: {
@@ -10272,6 +10374,7 @@ export type FileReviewsHistoryResponses = {
10272
10374
  actor: string;
10273
10375
  at: number;
10274
10376
  artifactHash: string;
10377
+ dependencyHash?: string;
10275
10378
  };
10276
10379
  createdAt: number;
10277
10380
  updatedAt: number;
@@ -10290,10 +10393,15 @@ export type FileReviewsResolveData = {
10290
10393
  };
10291
10394
  query?: {
10292
10395
  directory?: string;
10396
+ sessionID?: string;
10293
10397
  };
10294
10398
  url: "/file/reviews/{id}/findings/{finding}";
10295
10399
  };
10296
10400
  export type FileReviewsResolveErrors = {
10401
+ /**
10402
+ * The session cannot read the reviewed manuscript
10403
+ */
10404
+ 403: unknown;
10297
10405
  /**
10298
10406
  * Finding cannot be updated
10299
10407
  */
@@ -10309,6 +10417,11 @@ export type FileReviewsResolveResponses = {
10309
10417
  projectID: string;
10310
10418
  path: string;
10311
10419
  artifactHash: string;
10420
+ dependencies?: Array<{
10421
+ kind: "bibliography" | "figure";
10422
+ path: string;
10423
+ artifactHash: string;
10424
+ }>;
10312
10425
  version: number;
10313
10426
  status: "blocked" | "warnings" | "ready";
10314
10427
  summary: {
@@ -10352,6 +10465,7 @@ export type FileReviewsResolveResponses = {
10352
10465
  actor: string;
10353
10466
  at: number;
10354
10467
  artifactHash: string;
10468
+ dependencyHash?: string;
10355
10469
  };
10356
10470
  createdAt: number;
10357
10471
  updatedAt: number;
@@ -10367,10 +10481,15 @@ export type FileReviewsFinalizeData = {
10367
10481
  };
10368
10482
  query?: {
10369
10483
  directory?: string;
10484
+ sessionID?: string;
10370
10485
  };
10371
10486
  url: "/file/reviews/{id}/finalize";
10372
10487
  };
10373
10488
  export type FileReviewsFinalizeErrors = {
10489
+ /**
10490
+ * The session cannot read the reviewed manuscript
10491
+ */
10492
+ 403: unknown;
10374
10493
  /**
10375
10494
  * Review is blocked, stale, or already invalid
10376
10495
  */
@@ -10386,6 +10505,11 @@ export type FileReviewsFinalizeResponses = {
10386
10505
  projectID: string;
10387
10506
  path: string;
10388
10507
  artifactHash: string;
10508
+ dependencies?: Array<{
10509
+ kind: "bibliography" | "figure";
10510
+ path: string;
10511
+ artifactHash: string;
10512
+ }>;
10389
10513
  version: number;
10390
10514
  status: "blocked" | "warnings" | "ready";
10391
10515
  summary: {
@@ -10429,6 +10553,7 @@ export type FileReviewsFinalizeResponses = {
10429
10553
  actor: string;
10430
10554
  at: number;
10431
10555
  artifactHash: string;
10556
+ dependencyHash?: string;
10432
10557
  };
10433
10558
  createdAt: number;
10434
10559
  updatedAt: number;
@@ -10583,7 +10708,7 @@ export type KernelsListResponses = {
10583
10708
  allowed: boolean;
10584
10709
  reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
10585
10710
  message?: string;
10586
- 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";
10587
10712
  mode: "read_only" | "sandboxed" | "host";
10588
10713
  projectID: string;
10589
10714
  sessionID: string;
@@ -10698,7 +10823,7 @@ export type KernelsRestartByIdResponses = {
10698
10823
  allowed: boolean;
10699
10824
  reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
10700
10825
  message?: string;
10701
- 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";
10702
10827
  mode: "read_only" | "sandboxed" | "host";
10703
10828
  projectID: string;
10704
10829
  sessionID: string;
@@ -10812,7 +10937,7 @@ export type KernelsStopByIdResponses = {
10812
10937
  allowed: boolean;
10813
10938
  reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
10814
10939
  message?: string;
10815
- 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";
10816
10941
  mode: "read_only" | "sandboxed" | "host";
10817
10942
  projectID: string;
10818
10943
  sessionID: string;
@@ -10926,7 +11051,7 @@ export type KernelsInterruptByIdResponses = {
10926
11051
  allowed: boolean;
10927
11052
  reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
10928
11053
  message?: string;
10929
- 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";
10930
11055
  mode: "read_only" | "sandboxed" | "host";
10931
11056
  projectID: string;
10932
11057
  sessionID: string;
@@ -11079,7 +11204,7 @@ export type KernelsStatusResponses = {
11079
11204
  allowed: boolean;
11080
11205
  reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
11081
11206
  message?: string;
11082
- 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";
11083
11208
  mode: "read_only" | "sandboxed" | "host";
11084
11209
  projectID: string;
11085
11210
  sessionID: string;
@@ -11193,7 +11318,7 @@ export type KernelsRestartResponses = {
11193
11318
  allowed: boolean;
11194
11319
  reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
11195
11320
  message?: string;
11196
- 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";
11197
11322
  mode: "read_only" | "sandboxed" | "host";
11198
11323
  projectID: string;
11199
11324
  sessionID: string;
@@ -11307,7 +11432,7 @@ export type KernelsStopResponses = {
11307
11432
  allowed: boolean;
11308
11433
  reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
11309
11434
  message?: string;
11310
- 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";
11311
11436
  mode: "read_only" | "sandboxed" | "host";
11312
11437
  projectID: string;
11313
11438
  sessionID: string;
@@ -11421,7 +11546,7 @@ export type KernelsInterruptResponses = {
11421
11546
  allowed: boolean;
11422
11547
  reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
11423
11548
  message?: string;
11424
- 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";
11425
11550
  mode: "read_only" | "sandboxed" | "host";
11426
11551
  projectID: string;
11427
11552
  sessionID: string;
@@ -11605,7 +11730,7 @@ export type NotebookKernelsResponses = {
11605
11730
  allowed: boolean;
11606
11731
  reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
11607
11732
  message?: string;
11608
- 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";
11609
11734
  mode: "read_only" | "sandboxed" | "host";
11610
11735
  projectID: string;
11611
11736
  sessionID: string;
@@ -11720,7 +11845,7 @@ export type NotebookKernelRestartResponses = {
11720
11845
  allowed: boolean;
11721
11846
  reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
11722
11847
  message?: string;
11723
- 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";
11724
11849
  mode: "read_only" | "sandboxed" | "host";
11725
11850
  projectID: string;
11726
11851
  sessionID: string;
@@ -11834,7 +11959,7 @@ export type NotebookKernelStopResponses = {
11834
11959
  allowed: boolean;
11835
11960
  reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
11836
11961
  message?: string;
11837
- 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";
11838
11963
  mode: "read_only" | "sandboxed" | "host";
11839
11964
  projectID: string;
11840
11965
  sessionID: string;
@@ -11948,7 +12073,7 @@ export type NotebookKernelInterruptResponses = {
11948
12073
  allowed: boolean;
11949
12074
  reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
11950
12075
  message?: string;
11951
- 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";
11952
12077
  mode: "read_only" | "sandboxed" | "host";
11953
12078
  projectID: string;
11954
12079
  sessionID: string;
@@ -12102,7 +12227,7 @@ export type NotebookStatusResponses = {
12102
12227
  allowed: boolean;
12103
12228
  reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
12104
12229
  message?: string;
12105
- 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";
12106
12231
  mode: "read_only" | "sandboxed" | "host";
12107
12232
  projectID: string;
12108
12233
  sessionID: string;
@@ -12217,7 +12342,7 @@ export type NotebookRestartResponses = {
12217
12342
  allowed: boolean;
12218
12343
  reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
12219
12344
  message?: string;
12220
- 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";
12221
12346
  mode: "read_only" | "sandboxed" | "host";
12222
12347
  projectID: string;
12223
12348
  sessionID: string;
@@ -12332,7 +12457,7 @@ export type NotebookStopResponses = {
12332
12457
  allowed: boolean;
12333
12458
  reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
12334
12459
  message?: string;
12335
- 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";
12336
12461
  mode: "read_only" | "sandboxed" | "host";
12337
12462
  projectID: string;
12338
12463
  sessionID: string;
@@ -12447,7 +12572,7 @@ export type NotebookInterruptResponses = {
12447
12572
  allowed: boolean;
12448
12573
  reason: "allowed" | "project_untrusted" | "sandbox_unavailable";
12449
12574
  message?: string;
12450
- 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";
12451
12576
  mode: "read_only" | "sandboxed" | "host";
12452
12577
  projectID: string;
12453
12578
  sessionID: string;
@@ -12556,59 +12681,7 @@ export type ProvenanceReviewsListData = {
12556
12681
  };
12557
12682
  export type ProvenanceReviewsListResponses = {
12558
12683
  /**
12559
- * Reviewer findings
12560
- */
12561
- 200: unknown;
12562
- };
12563
- export type ProvenanceReviewData = {
12564
- body?: {
12565
- target: string;
12566
- claim: string;
12567
- issue: string;
12568
- severity: "blocking" | "major" | "minor" | "info";
12569
- evidence: string;
12570
- verdict?: "refutes" | "supports";
12571
- };
12572
- path?: never;
12573
- query?: {
12574
- directory?: string;
12575
- };
12576
- url: "/provenance/reviews";
12577
- };
12578
- export type ProvenanceReviewErrors = {
12579
- /**
12580
- * Invalid target
12581
- */
12582
- 400: unknown;
12583
- };
12584
- export type ProvenanceReviewResponses = {
12585
- /**
12586
- * Recorded finding
12587
- */
12588
- 200: unknown;
12589
- };
12590
- export type ProvenanceReviewsResolveData = {
12591
- body?: {
12592
- actor: string;
12593
- reason: string;
12594
- };
12595
- path: {
12596
- id: string;
12597
- };
12598
- query?: {
12599
- directory?: string;
12600
- };
12601
- url: "/provenance/reviews/{id}/resolve";
12602
- };
12603
- export type ProvenanceReviewsResolveErrors = {
12604
- /**
12605
- * Not a refuting finding
12606
- */
12607
- 400: unknown;
12608
- };
12609
- export type ProvenanceReviewsResolveResponses = {
12610
- /**
12611
- * Resolution node
12684
+ * Historical review findings
12612
12685
  */
12613
12686
  200: unknown;
12614
12687
  };