@synsci/sdk 2.0.55 → 2.0.56
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/gen/types.gen.d.ts +2 -2
- package/dist/src/v2/gen/sdk.gen.d.ts +10 -143
- package/dist/src/v2/gen/sdk.gen.js +14 -288
- package/dist/src/v2/gen/types.gen.d.ts +42 -604
- package/package.json +1 -1
|
@@ -17,6 +17,7 @@ export type Project = {
|
|
|
17
17
|
*/
|
|
18
18
|
start?: string;
|
|
19
19
|
};
|
|
20
|
+
origin?: "openscience";
|
|
20
21
|
time: {
|
|
21
22
|
created: number;
|
|
22
23
|
updated: number;
|
|
@@ -240,7 +241,7 @@ export type UserMessage = {
|
|
|
240
241
|
tier?: string;
|
|
241
242
|
context?: number;
|
|
242
243
|
inference?: {
|
|
243
|
-
source: "
|
|
244
|
+
source: "byok" | "chatgpt" | "local" | "oauth" | "unknown";
|
|
244
245
|
effort: string;
|
|
245
246
|
};
|
|
246
247
|
};
|
|
@@ -812,9 +813,6 @@ export type Session = {
|
|
|
812
813
|
files: number;
|
|
813
814
|
diffs?: Array<FileDiff>;
|
|
814
815
|
};
|
|
815
|
-
share?: {
|
|
816
|
-
url: string;
|
|
817
|
-
};
|
|
818
816
|
title: string;
|
|
819
817
|
version: string;
|
|
820
818
|
time: {
|
|
@@ -1672,7 +1670,7 @@ export type Config = {
|
|
|
1672
1670
|
logLevel?: LogLevel;
|
|
1673
1671
|
server?: ServerConfig;
|
|
1674
1672
|
/**
|
|
1675
|
-
* Command configuration
|
|
1673
|
+
* Command configuration
|
|
1676
1674
|
*/
|
|
1677
1675
|
command?: {
|
|
1678
1676
|
[key: string]: {
|
|
@@ -1722,17 +1720,17 @@ export type Config = {
|
|
|
1722
1720
|
*/
|
|
1723
1721
|
default_agent?: string;
|
|
1724
1722
|
/**
|
|
1725
|
-
*
|
|
1723
|
+
* Provider access configuration. OpenScience uses only user-owned credentials.
|
|
1726
1724
|
*/
|
|
1727
1725
|
billing?: {
|
|
1728
1726
|
/**
|
|
1729
|
-
*
|
|
1727
|
+
* Provider access uses your own API keys, first-party OAuth subscriptions, or local models. Legacy values are migrated to 'byok'.
|
|
1730
1728
|
*/
|
|
1731
|
-
llm?: "
|
|
1729
|
+
llm?: "byok" | null;
|
|
1732
1730
|
/**
|
|
1733
|
-
* @deprecated Retained
|
|
1731
|
+
* @deprecated Retained so existing 2.x config files keep parsing. Compute always uses user-owned routes.
|
|
1734
1732
|
*/
|
|
1735
|
-
compute?: "
|
|
1733
|
+
compute?: "byok";
|
|
1736
1734
|
};
|
|
1737
1735
|
/**
|
|
1738
1736
|
* Custom username to display in conversations instead of system username
|
|
@@ -1747,7 +1745,7 @@ export type Config = {
|
|
|
1747
1745
|
[key: string]: AgentConfig | undefined;
|
|
1748
1746
|
};
|
|
1749
1747
|
/**
|
|
1750
|
-
* Agent configuration
|
|
1748
|
+
* Agent configuration
|
|
1751
1749
|
*/
|
|
1752
1750
|
agent?: {
|
|
1753
1751
|
plan?: AgentConfig;
|
|
@@ -1865,10 +1863,6 @@ export type Config = {
|
|
|
1865
1863
|
* Enable the batch tool
|
|
1866
1864
|
*/
|
|
1867
1865
|
batch_tool?: boolean;
|
|
1868
|
-
/**
|
|
1869
|
-
* Enable OpenTelemetry spans for AI SDK calls (using the 'experimental_telemetry' flag)
|
|
1870
|
-
*/
|
|
1871
|
-
openTelemetry?: boolean;
|
|
1872
1866
|
/**
|
|
1873
1867
|
* Tools that should only be available to primary agents.
|
|
1874
1868
|
*/
|
|
@@ -2015,7 +2009,7 @@ export type Model = {
|
|
|
2015
2009
|
export type Provider = {
|
|
2016
2010
|
id: string;
|
|
2017
2011
|
name: string;
|
|
2018
|
-
source: "env" | "
|
|
2012
|
+
source: "env" | "config" | "custom" | "api";
|
|
2019
2013
|
env: Array<string>;
|
|
2020
2014
|
key?: string;
|
|
2021
2015
|
options: {
|
|
@@ -2466,289 +2460,6 @@ export type GlobalDisposeResponses = {
|
|
|
2466
2460
|
200: boolean;
|
|
2467
2461
|
};
|
|
2468
2462
|
export type GlobalDisposeResponse = GlobalDisposeResponses[keyof GlobalDisposeResponses];
|
|
2469
|
-
export type GlobalSyncData = {
|
|
2470
|
-
body?: never;
|
|
2471
|
-
path?: never;
|
|
2472
|
-
query?: never;
|
|
2473
|
-
url: "/global/sync";
|
|
2474
|
-
};
|
|
2475
|
-
export type GlobalSyncResponses = {
|
|
2476
|
-
/**
|
|
2477
|
-
* Services synced
|
|
2478
|
-
*/
|
|
2479
|
-
200: {
|
|
2480
|
-
user?: unknown;
|
|
2481
|
-
credentials: number;
|
|
2482
|
-
last_synced: number;
|
|
2483
|
-
};
|
|
2484
|
-
};
|
|
2485
|
-
export type GlobalSyncResponse = GlobalSyncResponses[keyof GlobalSyncResponses];
|
|
2486
|
-
export type AccountSessionData = {
|
|
2487
|
-
body?: never;
|
|
2488
|
-
path?: never;
|
|
2489
|
-
query?: never;
|
|
2490
|
-
url: "/account/session";
|
|
2491
|
-
};
|
|
2492
|
-
export type AccountSessionResponses = {
|
|
2493
|
-
/**
|
|
2494
|
-
* Local session status
|
|
2495
|
-
*/
|
|
2496
|
-
200: {
|
|
2497
|
-
session: boolean;
|
|
2498
|
-
};
|
|
2499
|
-
};
|
|
2500
|
-
export type AccountSessionResponse = AccountSessionResponses[keyof AccountSessionResponses];
|
|
2501
|
-
export type AccountGetData = {
|
|
2502
|
-
body?: never;
|
|
2503
|
-
path?: never;
|
|
2504
|
-
query?: never;
|
|
2505
|
-
url: "/account";
|
|
2506
|
-
};
|
|
2507
|
-
export type AccountGetResponses = {
|
|
2508
|
-
/**
|
|
2509
|
-
* Account summary
|
|
2510
|
-
*/
|
|
2511
|
-
200: {
|
|
2512
|
-
session: boolean;
|
|
2513
|
-
user?: unknown;
|
|
2514
|
-
balance_usd: number | null;
|
|
2515
|
-
billing_mode: {
|
|
2516
|
-
mode: "byok" | "managed";
|
|
2517
|
-
balance_cents: number;
|
|
2518
|
-
balance_usd: number;
|
|
2519
|
-
managed_supported: boolean;
|
|
2520
|
-
managed_unlocked: boolean;
|
|
2521
|
-
} | null;
|
|
2522
|
-
funding_context: {
|
|
2523
|
-
type: "personal" | "organization";
|
|
2524
|
-
organization_id?: string;
|
|
2525
|
-
available: boolean;
|
|
2526
|
-
locked: boolean;
|
|
2527
|
-
organizations: Array<{
|
|
2528
|
-
organization_id: string;
|
|
2529
|
-
name: string;
|
|
2530
|
-
slug: string;
|
|
2531
|
-
is_personal: boolean;
|
|
2532
|
-
status: string;
|
|
2533
|
-
role: string;
|
|
2534
|
-
membership_status: string;
|
|
2535
|
-
funding_available: boolean;
|
|
2536
|
-
effective_permissions: Array<string>;
|
|
2537
|
-
}>;
|
|
2538
|
-
};
|
|
2539
|
-
credential: {
|
|
2540
|
-
type: "personal" | "organization";
|
|
2541
|
-
legacy: boolean;
|
|
2542
|
-
} | null;
|
|
2543
|
-
};
|
|
2544
|
-
};
|
|
2545
|
-
export type AccountGetResponse = AccountGetResponses[keyof AccountGetResponses];
|
|
2546
|
-
export type AccountFundingContextGetData = {
|
|
2547
|
-
body?: never;
|
|
2548
|
-
path?: never;
|
|
2549
|
-
query?: never;
|
|
2550
|
-
url: "/account/funding-context";
|
|
2551
|
-
};
|
|
2552
|
-
export type AccountFundingContextGetResponses = {
|
|
2553
|
-
/**
|
|
2554
|
-
* Funding context
|
|
2555
|
-
*/
|
|
2556
|
-
200: {
|
|
2557
|
-
type: "personal" | "organization";
|
|
2558
|
-
organization_id?: string;
|
|
2559
|
-
available: boolean;
|
|
2560
|
-
locked: boolean;
|
|
2561
|
-
organizations: Array<{
|
|
2562
|
-
organization_id: string;
|
|
2563
|
-
name: string;
|
|
2564
|
-
slug: string;
|
|
2565
|
-
is_personal: boolean;
|
|
2566
|
-
status: string;
|
|
2567
|
-
role: string;
|
|
2568
|
-
membership_status: string;
|
|
2569
|
-
funding_available: boolean;
|
|
2570
|
-
effective_permissions: Array<string>;
|
|
2571
|
-
}>;
|
|
2572
|
-
};
|
|
2573
|
-
};
|
|
2574
|
-
export type AccountFundingContextGetResponse = AccountFundingContextGetResponses[keyof AccountFundingContextGetResponses];
|
|
2575
|
-
export type AccountFundingContextSetData = {
|
|
2576
|
-
body?: {
|
|
2577
|
-
organization_id: string | null;
|
|
2578
|
-
};
|
|
2579
|
-
path?: never;
|
|
2580
|
-
query?: never;
|
|
2581
|
-
url: "/account/funding-context";
|
|
2582
|
-
};
|
|
2583
|
-
export type AccountFundingContextSetErrors = {
|
|
2584
|
-
/**
|
|
2585
|
-
* Unavailable organization
|
|
2586
|
-
*/
|
|
2587
|
-
400: {
|
|
2588
|
-
error: string;
|
|
2589
|
-
};
|
|
2590
|
-
};
|
|
2591
|
-
export type AccountFundingContextSetError = AccountFundingContextSetErrors[keyof AccountFundingContextSetErrors];
|
|
2592
|
-
export type AccountFundingContextSetResponses = {
|
|
2593
|
-
/**
|
|
2594
|
-
* Updated funding context
|
|
2595
|
-
*/
|
|
2596
|
-
200: {
|
|
2597
|
-
type: "personal" | "organization";
|
|
2598
|
-
organization_id?: string;
|
|
2599
|
-
available: boolean;
|
|
2600
|
-
locked: boolean;
|
|
2601
|
-
organizations: Array<{
|
|
2602
|
-
organization_id: string;
|
|
2603
|
-
name: string;
|
|
2604
|
-
slug: string;
|
|
2605
|
-
is_personal: boolean;
|
|
2606
|
-
status: string;
|
|
2607
|
-
role: string;
|
|
2608
|
-
membership_status: string;
|
|
2609
|
-
funding_available: boolean;
|
|
2610
|
-
effective_permissions: Array<string>;
|
|
2611
|
-
}>;
|
|
2612
|
-
};
|
|
2613
|
-
};
|
|
2614
|
-
export type AccountFundingContextSetResponse = AccountFundingContextSetResponses[keyof AccountFundingContextSetResponses];
|
|
2615
|
-
export type AccountBalanceData = {
|
|
2616
|
-
body?: never;
|
|
2617
|
-
path?: never;
|
|
2618
|
-
query?: never;
|
|
2619
|
-
url: "/account/balance";
|
|
2620
|
-
};
|
|
2621
|
-
export type AccountBalanceResponses = {
|
|
2622
|
-
/**
|
|
2623
|
-
* Balance
|
|
2624
|
-
*/
|
|
2625
|
-
200: {
|
|
2626
|
-
balance_usd: number | null;
|
|
2627
|
-
};
|
|
2628
|
-
};
|
|
2629
|
-
export type AccountBalanceResponse = AccountBalanceResponses[keyof AccountBalanceResponses];
|
|
2630
|
-
export type AccountDevicesData = {
|
|
2631
|
-
body?: never;
|
|
2632
|
-
path?: never;
|
|
2633
|
-
query?: never;
|
|
2634
|
-
url: "/account/devices";
|
|
2635
|
-
};
|
|
2636
|
-
export type AccountDevicesResponses = {
|
|
2637
|
-
/**
|
|
2638
|
-
* Devices
|
|
2639
|
-
*/
|
|
2640
|
-
200: Array<{
|
|
2641
|
-
key_id: string;
|
|
2642
|
-
name: string;
|
|
2643
|
-
key_prefix: string;
|
|
2644
|
-
created_at: string;
|
|
2645
|
-
last_used_at: string | null;
|
|
2646
|
-
expires_at: string | null;
|
|
2647
|
-
}>;
|
|
2648
|
-
};
|
|
2649
|
-
export type AccountDevicesResponse = AccountDevicesResponses[keyof AccountDevicesResponses];
|
|
2650
|
-
export type AccountDeviceRevokeData = {
|
|
2651
|
-
body?: never;
|
|
2652
|
-
path: {
|
|
2653
|
-
keyID: string;
|
|
2654
|
-
};
|
|
2655
|
-
query?: never;
|
|
2656
|
-
url: "/account/devices/{keyID}";
|
|
2657
|
-
};
|
|
2658
|
-
export type AccountDeviceRevokeResponses = {
|
|
2659
|
-
/**
|
|
2660
|
-
* Device revoked
|
|
2661
|
-
*/
|
|
2662
|
-
200: boolean;
|
|
2663
|
-
};
|
|
2664
|
-
export type AccountDeviceRevokeResponse = AccountDeviceRevokeResponses[keyof AccountDeviceRevokeResponses];
|
|
2665
|
-
export type AccountBillingModeGetData = {
|
|
2666
|
-
body?: never;
|
|
2667
|
-
path?: never;
|
|
2668
|
-
query?: never;
|
|
2669
|
-
url: "/account/billing-mode";
|
|
2670
|
-
};
|
|
2671
|
-
export type AccountBillingModeGetResponses = {
|
|
2672
|
-
/**
|
|
2673
|
-
* Billing mode
|
|
2674
|
-
*/
|
|
2675
|
-
200: {
|
|
2676
|
-
mode: "byok" | "managed";
|
|
2677
|
-
balance_cents: number;
|
|
2678
|
-
balance_usd: number;
|
|
2679
|
-
managed_supported: boolean;
|
|
2680
|
-
managed_unlocked: boolean;
|
|
2681
|
-
} | null;
|
|
2682
|
-
};
|
|
2683
|
-
export type AccountBillingModeGetResponse = AccountBillingModeGetResponses[keyof AccountBillingModeGetResponses];
|
|
2684
|
-
export type AccountBillingModeSetData = {
|
|
2685
|
-
body?: {
|
|
2686
|
-
mode: "byok" | "managed";
|
|
2687
|
-
};
|
|
2688
|
-
path?: never;
|
|
2689
|
-
query?: never;
|
|
2690
|
-
url: "/account/billing-mode";
|
|
2691
|
-
};
|
|
2692
|
-
export type AccountBillingModeSetResponses = {
|
|
2693
|
-
/**
|
|
2694
|
-
* Billing mode
|
|
2695
|
-
*/
|
|
2696
|
-
200: {
|
|
2697
|
-
mode: "byok" | "managed";
|
|
2698
|
-
balance_cents: number;
|
|
2699
|
-
balance_usd: number;
|
|
2700
|
-
managed_supported: boolean;
|
|
2701
|
-
managed_unlocked: boolean;
|
|
2702
|
-
} | null;
|
|
2703
|
-
};
|
|
2704
|
-
export type AccountBillingModeSetResponse = AccountBillingModeSetResponses[keyof AccountBillingModeSetResponses];
|
|
2705
|
-
export type AccountLoginBrowserData = {
|
|
2706
|
-
body?: never;
|
|
2707
|
-
path?: never;
|
|
2708
|
-
query?: never;
|
|
2709
|
-
url: "/account/login-browser";
|
|
2710
|
-
};
|
|
2711
|
-
export type AccountLoginBrowserResponses = {
|
|
2712
|
-
/**
|
|
2713
|
-
* Login result
|
|
2714
|
-
*/
|
|
2715
|
-
200: {
|
|
2716
|
-
ok: boolean;
|
|
2717
|
-
error?: string;
|
|
2718
|
-
};
|
|
2719
|
-
};
|
|
2720
|
-
export type AccountLoginBrowserResponse = AccountLoginBrowserResponses[keyof AccountLoginBrowserResponses];
|
|
2721
|
-
export type AccountLoginKeyData = {
|
|
2722
|
-
body?: {
|
|
2723
|
-
key: string;
|
|
2724
|
-
};
|
|
2725
|
-
path?: never;
|
|
2726
|
-
query?: never;
|
|
2727
|
-
url: "/account/login-key";
|
|
2728
|
-
};
|
|
2729
|
-
export type AccountLoginKeyResponses = {
|
|
2730
|
-
/**
|
|
2731
|
-
* Login result
|
|
2732
|
-
*/
|
|
2733
|
-
200: {
|
|
2734
|
-
ok: boolean;
|
|
2735
|
-
error?: string;
|
|
2736
|
-
};
|
|
2737
|
-
};
|
|
2738
|
-
export type AccountLoginKeyResponse = AccountLoginKeyResponses[keyof AccountLoginKeyResponses];
|
|
2739
|
-
export type AccountLogoutData = {
|
|
2740
|
-
body?: never;
|
|
2741
|
-
path?: never;
|
|
2742
|
-
query?: never;
|
|
2743
|
-
url: "/account/logout";
|
|
2744
|
-
};
|
|
2745
|
-
export type AccountLogoutResponses = {
|
|
2746
|
-
/**
|
|
2747
|
-
* Logged out
|
|
2748
|
-
*/
|
|
2749
|
-
200: boolean;
|
|
2750
|
-
};
|
|
2751
|
-
export type AccountLogoutResponse = AccountLogoutResponses[keyof AccountLogoutResponses];
|
|
2752
2463
|
export type SettingsCredentialsListData = {
|
|
2753
2464
|
body?: never;
|
|
2754
2465
|
path?: never;
|
|
@@ -2776,7 +2487,7 @@ export type SettingsCredentialsListResponses = {
|
|
|
2776
2487
|
connected: boolean;
|
|
2777
2488
|
set_fields: Array<string>;
|
|
2778
2489
|
updated_at: string | null;
|
|
2779
|
-
source: "local" |
|
|
2490
|
+
source: "local" | null;
|
|
2780
2491
|
}>;
|
|
2781
2492
|
};
|
|
2782
2493
|
};
|
|
@@ -2810,7 +2521,7 @@ export type SettingsCredentialsRemoveResponses = {
|
|
|
2810
2521
|
connected: boolean;
|
|
2811
2522
|
set_fields: Array<string>;
|
|
2812
2523
|
updated_at: string | null;
|
|
2813
|
-
source: "local" |
|
|
2524
|
+
source: "local" | null;
|
|
2814
2525
|
}>;
|
|
2815
2526
|
};
|
|
2816
2527
|
};
|
|
@@ -2849,7 +2560,7 @@ export type SettingsCredentialsSetResponses = {
|
|
|
2849
2560
|
connected: boolean;
|
|
2850
2561
|
set_fields: Array<string>;
|
|
2851
2562
|
updated_at: string | null;
|
|
2852
|
-
source: "local" |
|
|
2563
|
+
source: "local" | null;
|
|
2853
2564
|
}>;
|
|
2854
2565
|
};
|
|
2855
2566
|
};
|
|
@@ -2874,6 +2585,7 @@ export type SettingsStorageUsageResponses = {
|
|
|
2874
2585
|
state_dir: string;
|
|
2875
2586
|
pointer: string | null;
|
|
2876
2587
|
total_bytes: number;
|
|
2588
|
+
cache_bytes: number;
|
|
2877
2589
|
scanning: boolean;
|
|
2878
2590
|
updated_at: string | null;
|
|
2879
2591
|
scan_error: string | null;
|
|
@@ -2896,6 +2608,22 @@ export type SettingsStorageUsageResponses = {
|
|
|
2896
2608
|
};
|
|
2897
2609
|
};
|
|
2898
2610
|
export type SettingsStorageUsageResponse = SettingsStorageUsageResponses[keyof SettingsStorageUsageResponses];
|
|
2611
|
+
export type SettingsStorageClearCacheData = {
|
|
2612
|
+
body?: never;
|
|
2613
|
+
path?: never;
|
|
2614
|
+
query?: never;
|
|
2615
|
+
url: "/settings/storage/cache";
|
|
2616
|
+
};
|
|
2617
|
+
export type SettingsStorageClearCacheResponses = {
|
|
2618
|
+
/**
|
|
2619
|
+
* Cache cleared
|
|
2620
|
+
*/
|
|
2621
|
+
200: {
|
|
2622
|
+
ok: true;
|
|
2623
|
+
entries: number;
|
|
2624
|
+
};
|
|
2625
|
+
};
|
|
2626
|
+
export type SettingsStorageClearCacheResponse = SettingsStorageClearCacheResponses[keyof SettingsStorageClearCacheResponses];
|
|
2899
2627
|
export type SettingsStorageResetLocationData = {
|
|
2900
2628
|
body?: never;
|
|
2901
2629
|
path?: never;
|
|
@@ -2977,7 +2705,7 @@ export type SettingsComputeGetResponses = {
|
|
|
2977
2705
|
};
|
|
2978
2706
|
connected: boolean;
|
|
2979
2707
|
enabled: boolean;
|
|
2980
|
-
source: "stored" | "
|
|
2708
|
+
source: "stored" | "modal_toml" | null;
|
|
2981
2709
|
connected_at: string | null;
|
|
2982
2710
|
last_used: string | null;
|
|
2983
2711
|
}>;
|
|
@@ -3062,7 +2790,7 @@ export type SettingsComputeEnvironmentsRepairResponses = {
|
|
|
3062
2790
|
};
|
|
3063
2791
|
connected: boolean;
|
|
3064
2792
|
enabled: boolean;
|
|
3065
|
-
source: "stored" | "
|
|
2793
|
+
source: "stored" | "modal_toml" | null;
|
|
3066
2794
|
connected_at: string | null;
|
|
3067
2795
|
last_used: string | null;
|
|
3068
2796
|
}>;
|
|
@@ -3149,7 +2877,7 @@ export type SettingsComputeProviderDisconnectResponses = {
|
|
|
3149
2877
|
};
|
|
3150
2878
|
connected: boolean;
|
|
3151
2879
|
enabled: boolean;
|
|
3152
|
-
source: "stored" | "
|
|
2880
|
+
source: "stored" | "modal_toml" | null;
|
|
3153
2881
|
connected_at: string | null;
|
|
3154
2882
|
last_used: string | null;
|
|
3155
2883
|
}>;
|
|
@@ -3245,7 +2973,7 @@ export type SettingsComputeProviderConnectResponses = {
|
|
|
3245
2973
|
};
|
|
3246
2974
|
connected: boolean;
|
|
3247
2975
|
enabled: boolean;
|
|
3248
|
-
source: "stored" | "
|
|
2976
|
+
source: "stored" | "modal_toml" | null;
|
|
3249
2977
|
connected_at: string | null;
|
|
3250
2978
|
last_used: string | null;
|
|
3251
2979
|
}>;
|
|
@@ -3341,7 +3069,7 @@ export type SettingsComputeProviderEnabledResponses = {
|
|
|
3341
3069
|
};
|
|
3342
3070
|
connected: boolean;
|
|
3343
3071
|
enabled: boolean;
|
|
3344
|
-
source: "stored" | "
|
|
3072
|
+
source: "stored" | "modal_toml" | null;
|
|
3345
3073
|
connected_at: string | null;
|
|
3346
3074
|
last_used: string | null;
|
|
3347
3075
|
}>;
|
|
@@ -3468,7 +3196,7 @@ export type SettingsComputeModalUpdateResponses = {
|
|
|
3468
3196
|
};
|
|
3469
3197
|
connected: boolean;
|
|
3470
3198
|
enabled: boolean;
|
|
3471
|
-
source: "stored" | "
|
|
3199
|
+
source: "stored" | "modal_toml" | null;
|
|
3472
3200
|
connected_at: string | null;
|
|
3473
3201
|
last_used: string | null;
|
|
3474
3202
|
}>;
|
|
@@ -3638,7 +3366,7 @@ export type SettingsComputeModalConfigureResponses = {
|
|
|
3638
3366
|
};
|
|
3639
3367
|
connected: boolean;
|
|
3640
3368
|
enabled: boolean;
|
|
3641
|
-
source: "stored" | "
|
|
3369
|
+
source: "stored" | "modal_toml" | null;
|
|
3642
3370
|
connected_at: string | null;
|
|
3643
3371
|
last_used: string | null;
|
|
3644
3372
|
}>;
|
|
@@ -3767,7 +3495,7 @@ export type SettingsComputeSshAddResponses = {
|
|
|
3767
3495
|
};
|
|
3768
3496
|
connected: boolean;
|
|
3769
3497
|
enabled: boolean;
|
|
3770
|
-
source: "stored" | "
|
|
3498
|
+
source: "stored" | "modal_toml" | null;
|
|
3771
3499
|
connected_at: string | null;
|
|
3772
3500
|
last_used: string | null;
|
|
3773
3501
|
}>;
|
|
@@ -3889,7 +3617,7 @@ export type SettingsComputeSshRemoveResponses = {
|
|
|
3889
3617
|
};
|
|
3890
3618
|
connected: boolean;
|
|
3891
3619
|
enabled: boolean;
|
|
3892
|
-
source: "stored" | "
|
|
3620
|
+
source: "stored" | "modal_toml" | null;
|
|
3893
3621
|
connected_at: string | null;
|
|
3894
3622
|
last_used: string | null;
|
|
3895
3623
|
}>;
|
|
@@ -3989,7 +3717,7 @@ export type SettingsComputeSshUpdateResponses = {
|
|
|
3989
3717
|
};
|
|
3990
3718
|
connected: boolean;
|
|
3991
3719
|
enabled: boolean;
|
|
3992
|
-
source: "stored" | "
|
|
3720
|
+
source: "stored" | "modal_toml" | null;
|
|
3993
3721
|
connected_at: string | null;
|
|
3994
3722
|
last_used: string | null;
|
|
3995
3723
|
}>;
|
|
@@ -6972,109 +6700,6 @@ export type PutSettingsSandboxData = {
|
|
|
6972
6700
|
export type PutSettingsSandboxResponses = {
|
|
6973
6701
|
200: unknown;
|
|
6974
6702
|
};
|
|
6975
|
-
export type SettingsBillingGetData = {
|
|
6976
|
-
body?: never;
|
|
6977
|
-
path?: never;
|
|
6978
|
-
query?: never;
|
|
6979
|
-
url: "/settings/billing";
|
|
6980
|
-
};
|
|
6981
|
-
export type SettingsBillingGetResponses = {
|
|
6982
|
-
/**
|
|
6983
|
-
* Billing state
|
|
6984
|
-
*/
|
|
6985
|
-
200: {
|
|
6986
|
-
llm: "managed" | "byok" | null;
|
|
6987
|
-
/**
|
|
6988
|
-
* @deprecated Compatibility field. Compute always uses user-owned infrastructure.
|
|
6989
|
-
*/
|
|
6990
|
-
compute: "managed" | "byok";
|
|
6991
|
-
wallet: {
|
|
6992
|
-
/**
|
|
6993
|
-
* Whether a Synthetic Sciences session is available
|
|
6994
|
-
*/
|
|
6995
|
-
signedIn: boolean;
|
|
6996
|
-
/**
|
|
6997
|
-
* Purchased Wallet balance in USD; null when signed out or unavailable
|
|
6998
|
-
*/
|
|
6999
|
-
balanceUsd: number | null;
|
|
7000
|
-
};
|
|
7001
|
-
};
|
|
7002
|
-
};
|
|
7003
|
-
export type SettingsBillingGetResponse = SettingsBillingGetResponses[keyof SettingsBillingGetResponses];
|
|
7004
|
-
export type SettingsBillingUpdateData = {
|
|
7005
|
-
body?: {
|
|
7006
|
-
llm?: "managed" | "byok" | null;
|
|
7007
|
-
/**
|
|
7008
|
-
* @deprecated Accepted for 2.x clients and ignored. Compute always uses user-owned infrastructure.
|
|
7009
|
-
*/
|
|
7010
|
-
compute?: "managed" | "byok";
|
|
7011
|
-
};
|
|
7012
|
-
path?: never;
|
|
7013
|
-
query?: never;
|
|
7014
|
-
url: "/settings/billing";
|
|
7015
|
-
};
|
|
7016
|
-
export type SettingsBillingUpdateResponses = {
|
|
7017
|
-
/**
|
|
7018
|
-
* Updated billing state
|
|
7019
|
-
*/
|
|
7020
|
-
200: {
|
|
7021
|
-
llm: "managed" | "byok" | null;
|
|
7022
|
-
/**
|
|
7023
|
-
* @deprecated Compatibility field. Compute always uses user-owned infrastructure.
|
|
7024
|
-
*/
|
|
7025
|
-
compute: "managed" | "byok";
|
|
7026
|
-
wallet: {
|
|
7027
|
-
/**
|
|
7028
|
-
* Whether a Synthetic Sciences session is available
|
|
7029
|
-
*/
|
|
7030
|
-
signedIn: boolean;
|
|
7031
|
-
/**
|
|
7032
|
-
* Purchased Wallet balance in USD; null when signed out or unavailable
|
|
7033
|
-
*/
|
|
7034
|
-
balanceUsd: number | null;
|
|
7035
|
-
};
|
|
7036
|
-
};
|
|
7037
|
-
};
|
|
7038
|
-
export type SettingsBillingUpdateResponse = SettingsBillingUpdateResponses[keyof SettingsBillingUpdateResponses];
|
|
7039
|
-
export type SettingsWalletGetData = {
|
|
7040
|
-
body?: never;
|
|
7041
|
-
path?: never;
|
|
7042
|
-
query?: never;
|
|
7043
|
-
url: "/settings/wallet";
|
|
7044
|
-
};
|
|
7045
|
-
export type SettingsWalletGetResponses = {
|
|
7046
|
-
/**
|
|
7047
|
-
* Wallet state
|
|
7048
|
-
*/
|
|
7049
|
-
200: {
|
|
7050
|
-
signedIn: boolean;
|
|
7051
|
-
/**
|
|
7052
|
-
* Purchased Wallet balance in USD; null when signed out or unavailable
|
|
7053
|
-
*/
|
|
7054
|
-
balanceUsd: number | null;
|
|
7055
|
-
billingMode: "managed" | "byok" | null;
|
|
7056
|
-
managedSupported: boolean;
|
|
7057
|
-
managedUnlocked: boolean;
|
|
7058
|
-
aceEnabled: boolean;
|
|
7059
|
-
aceContract: {
|
|
7060
|
-
activationAuthorizationUsd: number;
|
|
7061
|
-
reloadThresholdUsd: number;
|
|
7062
|
-
reloadAmountUsd: number;
|
|
7063
|
-
serviceMarginPercent: number;
|
|
7064
|
-
processingFeeDisclosedSeparately: boolean;
|
|
7065
|
-
reloadControlledByAce: boolean;
|
|
7066
|
-
};
|
|
7067
|
-
lifetimeSpentUsd: number | null;
|
|
7068
|
-
transactions: Array<{
|
|
7069
|
-
id: string;
|
|
7070
|
-
amountCents: number;
|
|
7071
|
-
source: string;
|
|
7072
|
-
description: string;
|
|
7073
|
-
createdAt: string;
|
|
7074
|
-
}>;
|
|
7075
|
-
};
|
|
7076
|
-
};
|
|
7077
|
-
export type SettingsWalletGetResponse = SettingsWalletGetResponses[keyof SettingsWalletGetResponses];
|
|
7078
6703
|
export type SettingsUpdatesCheckData = {
|
|
7079
6704
|
body?: never;
|
|
7080
6705
|
path?: never;
|
|
@@ -7252,142 +6877,6 @@ export type SettingsUpdatesDisposeResponses = {
|
|
|
7252
6877
|
204: void;
|
|
7253
6878
|
};
|
|
7254
6879
|
export type SettingsUpdatesDisposeResponse = SettingsUpdatesDisposeResponses[keyof SettingsUpdatesDisposeResponses];
|
|
7255
|
-
export type SettingsResearchToolsGetData = {
|
|
7256
|
-
body?: never;
|
|
7257
|
-
path?: never;
|
|
7258
|
-
query?: never;
|
|
7259
|
-
url: "/settings/research-tools";
|
|
7260
|
-
};
|
|
7261
|
-
export type SettingsResearchToolsGetResponses = {
|
|
7262
|
-
/**
|
|
7263
|
-
* Research tools status
|
|
7264
|
-
*/
|
|
7265
|
-
200: {
|
|
7266
|
-
signedIn: boolean;
|
|
7267
|
-
/**
|
|
7268
|
-
* @deprecated Compatibility summary. Billing is wallet-based and has no search quota.
|
|
7269
|
-
*/
|
|
7270
|
-
plan: {
|
|
7271
|
-
id: string;
|
|
7272
|
-
label: string;
|
|
7273
|
-
status: string | null;
|
|
7274
|
-
};
|
|
7275
|
-
search: {
|
|
7276
|
-
route: "credits" | "managed" | "community";
|
|
7277
|
-
state: "available" | "basic" | "conditional" | "near_limit" | "critical" | "exhausted" | "unavailable";
|
|
7278
|
-
enabled: boolean;
|
|
7279
|
-
balanceUsd: number | null;
|
|
7280
|
-
/**
|
|
7281
|
-
* @deprecated Always null; enhanced search draws from the shared wallet.
|
|
7282
|
-
*/
|
|
7283
|
-
limit: number | null;
|
|
7284
|
-
/**
|
|
7285
|
-
* @deprecated Always null; enhanced search draws from the shared wallet.
|
|
7286
|
-
*/
|
|
7287
|
-
used: number | null;
|
|
7288
|
-
/**
|
|
7289
|
-
* @deprecated Always null; use balanceUsd.
|
|
7290
|
-
*/
|
|
7291
|
-
remaining: number | null;
|
|
7292
|
-
/**
|
|
7293
|
-
* @deprecated Always null; wallet credits do not reset.
|
|
7294
|
-
*/
|
|
7295
|
-
resetAt: string | null;
|
|
7296
|
-
communityFlagEnabled: boolean;
|
|
7297
|
-
};
|
|
7298
|
-
telemetry: {
|
|
7299
|
-
analyticsEnabled: boolean;
|
|
7300
|
-
researchContentEnabled: boolean;
|
|
7301
|
-
userOwnedContentEnabled: boolean;
|
|
7302
|
-
source: "default" | "local" | "account";
|
|
7303
|
-
signedIn: boolean;
|
|
7304
|
-
consentVersion: string;
|
|
7305
|
-
pending: boolean;
|
|
7306
|
-
corrupt: boolean;
|
|
7307
|
-
deletionAvailable: boolean;
|
|
7308
|
-
queuedEvents: number;
|
|
7309
|
-
quarantinedEvents: number;
|
|
7310
|
-
};
|
|
7311
|
-
};
|
|
7312
|
-
};
|
|
7313
|
-
export type SettingsResearchToolsGetResponse = SettingsResearchToolsGetResponses[keyof SettingsResearchToolsGetResponses];
|
|
7314
|
-
export type SettingsResearchToolsTelemetryUpdateData = {
|
|
7315
|
-
body?: {
|
|
7316
|
-
userOwnedContentEnabled: boolean;
|
|
7317
|
-
};
|
|
7318
|
-
path?: never;
|
|
7319
|
-
query?: never;
|
|
7320
|
-
url: "/settings/research-tools/telemetry";
|
|
7321
|
-
};
|
|
7322
|
-
export type SettingsResearchToolsTelemetryUpdateResponses = {
|
|
7323
|
-
/**
|
|
7324
|
-
* Updated research tools status
|
|
7325
|
-
*/
|
|
7326
|
-
200: {
|
|
7327
|
-
signedIn: boolean;
|
|
7328
|
-
/**
|
|
7329
|
-
* @deprecated Compatibility summary. Billing is wallet-based and has no search quota.
|
|
7330
|
-
*/
|
|
7331
|
-
plan: {
|
|
7332
|
-
id: string;
|
|
7333
|
-
label: string;
|
|
7334
|
-
status: string | null;
|
|
7335
|
-
};
|
|
7336
|
-
search: {
|
|
7337
|
-
route: "credits" | "managed" | "community";
|
|
7338
|
-
state: "available" | "basic" | "conditional" | "near_limit" | "critical" | "exhausted" | "unavailable";
|
|
7339
|
-
enabled: boolean;
|
|
7340
|
-
balanceUsd: number | null;
|
|
7341
|
-
/**
|
|
7342
|
-
* @deprecated Always null; enhanced search draws from the shared wallet.
|
|
7343
|
-
*/
|
|
7344
|
-
limit: number | null;
|
|
7345
|
-
/**
|
|
7346
|
-
* @deprecated Always null; enhanced search draws from the shared wallet.
|
|
7347
|
-
*/
|
|
7348
|
-
used: number | null;
|
|
7349
|
-
/**
|
|
7350
|
-
* @deprecated Always null; use balanceUsd.
|
|
7351
|
-
*/
|
|
7352
|
-
remaining: number | null;
|
|
7353
|
-
/**
|
|
7354
|
-
* @deprecated Always null; wallet credits do not reset.
|
|
7355
|
-
*/
|
|
7356
|
-
resetAt: string | null;
|
|
7357
|
-
communityFlagEnabled: boolean;
|
|
7358
|
-
};
|
|
7359
|
-
telemetry: {
|
|
7360
|
-
analyticsEnabled: boolean;
|
|
7361
|
-
researchContentEnabled: boolean;
|
|
7362
|
-
userOwnedContentEnabled: boolean;
|
|
7363
|
-
source: "default" | "local" | "account";
|
|
7364
|
-
signedIn: boolean;
|
|
7365
|
-
consentVersion: string;
|
|
7366
|
-
pending: boolean;
|
|
7367
|
-
corrupt: boolean;
|
|
7368
|
-
deletionAvailable: boolean;
|
|
7369
|
-
queuedEvents: number;
|
|
7370
|
-
quarantinedEvents: number;
|
|
7371
|
-
};
|
|
7372
|
-
};
|
|
7373
|
-
};
|
|
7374
|
-
export type SettingsResearchToolsTelemetryUpdateResponse = SettingsResearchToolsTelemetryUpdateResponses[keyof SettingsResearchToolsTelemetryUpdateResponses];
|
|
7375
|
-
export type SettingsResearchToolsTelemetryDeleteData = {
|
|
7376
|
-
body?: never;
|
|
7377
|
-
path?: never;
|
|
7378
|
-
query?: never;
|
|
7379
|
-
url: "/settings/research-tools/telemetry/account-data";
|
|
7380
|
-
};
|
|
7381
|
-
export type SettingsResearchToolsTelemetryDeleteResponses = {
|
|
7382
|
-
/**
|
|
7383
|
-
* Deletion status
|
|
7384
|
-
*/
|
|
7385
|
-
200: {
|
|
7386
|
-
ok: boolean;
|
|
7387
|
-
message?: string;
|
|
7388
|
-
};
|
|
7389
|
-
};
|
|
7390
|
-
export type SettingsResearchToolsTelemetryDeleteResponse = SettingsResearchToolsTelemetryDeleteResponses[keyof SettingsResearchToolsTelemetryDeleteResponses];
|
|
7391
6880
|
export type SettingsScientificToolsData = {
|
|
7392
6881
|
body?: never;
|
|
7393
6882
|
path?: never;
|
|
@@ -7545,7 +7034,7 @@ export type AuthOnboardingData = {
|
|
|
7545
7034
|
};
|
|
7546
7035
|
export type AuthOnboardingErrors = {
|
|
7547
7036
|
/**
|
|
7548
|
-
* Configuration failed
|
|
7037
|
+
* Configuration failed
|
|
7549
7038
|
*/
|
|
7550
7039
|
500: {
|
|
7551
7040
|
error: string;
|
|
@@ -7554,7 +7043,7 @@ export type AuthOnboardingErrors = {
|
|
|
7554
7043
|
export type AuthOnboardingError = AuthOnboardingErrors[keyof AuthOnboardingErrors];
|
|
7555
7044
|
export type AuthOnboardingResponses = {
|
|
7556
7045
|
/**
|
|
7557
|
-
* Provider credential
|
|
7046
|
+
* Provider credential configured
|
|
7558
7047
|
*/
|
|
7559
7048
|
200: {
|
|
7560
7049
|
configured: true;
|
|
@@ -14600,57 +14089,6 @@ export type SettingsNetworkSetResponses = {
|
|
|
14600
14089
|
};
|
|
14601
14090
|
};
|
|
14602
14091
|
export type SettingsNetworkSetResponse = SettingsNetworkSetResponses[keyof SettingsNetworkSetResponses];
|
|
14603
|
-
export type SettingsUsageGetData = {
|
|
14604
|
-
body?: never;
|
|
14605
|
-
path?: never;
|
|
14606
|
-
query?: {
|
|
14607
|
-
directory?: string;
|
|
14608
|
-
};
|
|
14609
|
-
url: "/settings/usage";
|
|
14610
|
-
};
|
|
14611
|
-
export type SettingsUsageGetResponses = {
|
|
14612
|
-
/**
|
|
14613
|
-
* Usage summary
|
|
14614
|
-
*/
|
|
14615
|
-
200: {
|
|
14616
|
-
sessions: number;
|
|
14617
|
-
total: {
|
|
14618
|
-
cost: number;
|
|
14619
|
-
tokens: {
|
|
14620
|
-
input: number;
|
|
14621
|
-
output: number;
|
|
14622
|
-
reasoning: number;
|
|
14623
|
-
cache_read: number;
|
|
14624
|
-
cache_write: number;
|
|
14625
|
-
};
|
|
14626
|
-
};
|
|
14627
|
-
latest: {
|
|
14628
|
-
id: string;
|
|
14629
|
-
title: string;
|
|
14630
|
-
cost: number;
|
|
14631
|
-
tokens: {
|
|
14632
|
-
input: number;
|
|
14633
|
-
output: number;
|
|
14634
|
-
reasoning: number;
|
|
14635
|
-
cache_read: number;
|
|
14636
|
-
cache_write: number;
|
|
14637
|
-
};
|
|
14638
|
-
} | null;
|
|
14639
|
-
weekly: Array<{
|
|
14640
|
-
date: string;
|
|
14641
|
-
cost: number;
|
|
14642
|
-
tokens: number;
|
|
14643
|
-
}>;
|
|
14644
|
-
by_model: Array<{
|
|
14645
|
-
key: string;
|
|
14646
|
-
provider: string;
|
|
14647
|
-
model: string;
|
|
14648
|
-
cost: number;
|
|
14649
|
-
tokens: number;
|
|
14650
|
-
}>;
|
|
14651
|
-
};
|
|
14652
|
-
};
|
|
14653
|
-
export type SettingsUsageGetResponse = SettingsUsageGetResponses[keyof SettingsUsageGetResponses];
|
|
14654
14092
|
export type InstanceDisposeData = {
|
|
14655
14093
|
body?: never;
|
|
14656
14094
|
path?: never;
|