@synsci/sdk 2.0.69 → 2.0.70-test.33899238260
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.
|
@@ -536,7 +536,6 @@ export declare class Preferences extends HeyApiClient {
|
|
|
536
536
|
delegation_diversity?: "focused" | "balanced" | "exploratory";
|
|
537
537
|
compaction_auto?: boolean;
|
|
538
538
|
compaction_threshold?: number;
|
|
539
|
-
compaction_warn_tokens?: number;
|
|
540
539
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SettingsPreferencesUpdateResponses, unknown, ThrowOnError, "fields">;
|
|
541
540
|
/**
|
|
542
541
|
* Clear one completed desktop onboarding draft binding
|
|
@@ -933,7 +933,6 @@ export class Preferences extends HeyApiClient {
|
|
|
933
933
|
{ in: "body", key: "delegation_diversity" },
|
|
934
934
|
{ in: "body", key: "compaction_auto" },
|
|
935
935
|
{ in: "body", key: "compaction_threshold" },
|
|
936
|
-
{ in: "body", key: "compaction_warn_tokens" },
|
|
937
936
|
],
|
|
938
937
|
},
|
|
939
938
|
]);
|
|
@@ -99,6 +99,12 @@ export type EventProjectTrustChanged = {
|
|
|
99
99
|
};
|
|
100
100
|
};
|
|
101
101
|
};
|
|
102
|
+
export type EventAccountUpdated = {
|
|
103
|
+
type: "account.updated";
|
|
104
|
+
properties: {
|
|
105
|
+
refreshed_at: number;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
102
108
|
export type EventLspClientDiagnostics = {
|
|
103
109
|
type: "lsp.client.diagnostics";
|
|
104
110
|
properties: {
|
|
@@ -991,7 +997,7 @@ export type EventWorktreeFailed = {
|
|
|
991
997
|
message: string;
|
|
992
998
|
};
|
|
993
999
|
};
|
|
994
|
-
export type Event = EventServerConnected | EventGlobalDisposed | EventInstallationUpdated | EventInstallationUpdateAvailable | EventProjectUpdated | EventServerInstanceDisposed | EventProjectTrustChanged | EventLspClientDiagnostics | EventLspUpdated | EventFileWatcherUpdated | EventSessionFilesystemChanged | EventProjectAccessChanged | EventVcsBranchUpdated | EventFileEdited | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied | EventSessionContext | EventSessionCompaction | EventSessionRequestProgress | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventTodoUpdated | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventSkillUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventWorktreeReady | EventWorktreeFailed;
|
|
1000
|
+
export type Event = EventServerConnected | EventGlobalDisposed | EventInstallationUpdated | EventInstallationUpdateAvailable | EventProjectUpdated | EventServerInstanceDisposed | EventProjectTrustChanged | EventAccountUpdated | EventLspClientDiagnostics | EventLspUpdated | EventFileWatcherUpdated | EventSessionFilesystemChanged | EventProjectAccessChanged | EventVcsBranchUpdated | EventFileEdited | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied | EventSessionContext | EventSessionCompaction | EventSessionRequestProgress | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventTodoUpdated | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventSkillUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventWorktreeReady | EventWorktreeFailed;
|
|
995
1001
|
export type GlobalEvent = {
|
|
996
1002
|
directory: string;
|
|
997
1003
|
payload: Event;
|
|
@@ -1862,10 +1868,6 @@ export type Config = {
|
|
|
1862
1868
|
* Compact when context exceeds this fraction of the model window (default: 0.75)
|
|
1863
1869
|
*/
|
|
1864
1870
|
threshold?: number;
|
|
1865
|
-
/**
|
|
1866
|
-
* Show a compact-or-restart notice in the workspace when the conversation context exceeds this many tokens (default: 120000)
|
|
1867
|
-
*/
|
|
1868
|
-
warn_tokens?: number;
|
|
1869
1871
|
/**
|
|
1870
1872
|
* Assumed context window (tokens) when a provider reports 0 (default: 128000)
|
|
1871
1873
|
*/
|
|
@@ -2524,6 +2526,9 @@ export type AccountGetResponses = {
|
|
|
2524
2526
|
*/
|
|
2525
2527
|
200: {
|
|
2526
2528
|
session: boolean;
|
|
2529
|
+
refreshing: boolean;
|
|
2530
|
+
refreshed_at: number | null;
|
|
2531
|
+
error?: string;
|
|
2527
2532
|
user?: unknown;
|
|
2528
2533
|
balance_usd: number | null;
|
|
2529
2534
|
billing_mode: {
|
|
@@ -6842,10 +6847,6 @@ export type SettingsPreferencesGetResponses = {
|
|
|
6842
6847
|
* Fraction of the model window that triggers automatic compaction (compaction.threshold)
|
|
6843
6848
|
*/
|
|
6844
6849
|
compaction_threshold?: number;
|
|
6845
|
-
/**
|
|
6846
|
-
* Conversation size in tokens above which the workspace warns (compaction.warn_tokens)
|
|
6847
|
-
*/
|
|
6848
|
-
compaction_warn_tokens?: number;
|
|
6849
6850
|
};
|
|
6850
6851
|
};
|
|
6851
6852
|
export type SettingsPreferencesGetResponse = SettingsPreferencesGetResponses[keyof SettingsPreferencesGetResponses];
|
|
@@ -6869,7 +6870,6 @@ export type SettingsPreferencesUpdateData = {
|
|
|
6869
6870
|
delegation_diversity?: "focused" | "balanced" | "exploratory";
|
|
6870
6871
|
compaction_auto?: boolean;
|
|
6871
6872
|
compaction_threshold?: number;
|
|
6872
|
-
compaction_warn_tokens?: number;
|
|
6873
6873
|
};
|
|
6874
6874
|
path?: never;
|
|
6875
6875
|
query?: never;
|
|
@@ -6910,10 +6910,6 @@ export type SettingsPreferencesUpdateResponses = {
|
|
|
6910
6910
|
* Fraction of the model window that triggers automatic compaction (compaction.threshold)
|
|
6911
6911
|
*/
|
|
6912
6912
|
compaction_threshold?: number;
|
|
6913
|
-
/**
|
|
6914
|
-
* Conversation size in tokens above which the workspace warns (compaction.warn_tokens)
|
|
6915
|
-
*/
|
|
6916
|
-
compaction_warn_tokens?: number;
|
|
6917
6913
|
};
|
|
6918
6914
|
};
|
|
6919
6915
|
export type SettingsPreferencesUpdateResponse = SettingsPreferencesUpdateResponses[keyof SettingsPreferencesUpdateResponses];
|
|
@@ -7486,6 +7482,9 @@ export type SettingsWalletGetResponses = {
|
|
|
7486
7482
|
description: string;
|
|
7487
7483
|
createdAt: string;
|
|
7488
7484
|
}>;
|
|
7485
|
+
refreshing: boolean;
|
|
7486
|
+
refreshedAt: number | null;
|
|
7487
|
+
error?: string;
|
|
7489
7488
|
};
|
|
7490
7489
|
};
|
|
7491
7490
|
export type SettingsWalletGetResponse = SettingsWalletGetResponses[keyof SettingsWalletGetResponses];
|