feat: feature-gate local inference dependencies (#7976)

Signed-off-by: DaeHee Lee <lee111dae11@proton.me>
Signed-off-by: jh-block <jhugo@block.xyz>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: jh-block <jhugo@block.xyz>
This commit is contained in:
이대희
2026-03-24 00:49:24 +09:00
committed by GitHub
parent 79f539f8af
commit c493c6160c
23 changed files with 372 additions and 100 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+25
View File
@@ -473,6 +473,15 @@ export type ExtensionResponse = {
warnings?: Array<string>;
};
export type FeaturesResponse = {
/**
* Map of feature name to enabled status
*/
features: {
[key: string]: boolean;
};
};
export type ForkRequest = {
copy: boolean;
timestamp?: number | null;
@@ -3124,6 +3133,22 @@ export type TranscribeDictationResponses = {
export type TranscribeDictationResponse = TranscribeDictationResponses[keyof TranscribeDictationResponses];
export type GetFeaturesData = {
body?: never;
path?: never;
query?: never;
url: '/features';
};
export type GetFeaturesResponses = {
/**
* Compile-time feature flags
*/
200: FeaturesResponse;
};
export type GetFeaturesResponse = GetFeaturesResponses[keyof GetFeaturesResponses];
export type StartNanogptSetupData = {
body?: never;
path?: never;