@roo-code/types 1.25.0 → 1.27.0
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/index.cjs +297 -320
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1082 -259
- package/dist/index.d.ts +1082 -259
- package/dist/index.js +284 -319
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -161,6 +161,7 @@ declare const bedrockModels: {
|
|
|
161
161
|
readonly supportsImages: true;
|
|
162
162
|
readonly supportsComputerUse: true;
|
|
163
163
|
readonly supportsPromptCache: true;
|
|
164
|
+
readonly supportsReasoningBudget: true;
|
|
164
165
|
readonly inputPrice: 3;
|
|
165
166
|
readonly outputPrice: 15;
|
|
166
167
|
readonly cacheWritesPrice: 3.75;
|
|
@@ -175,6 +176,7 @@ declare const bedrockModels: {
|
|
|
175
176
|
readonly supportsImages: true;
|
|
176
177
|
readonly supportsComputerUse: true;
|
|
177
178
|
readonly supportsPromptCache: true;
|
|
179
|
+
readonly supportsReasoningBudget: true;
|
|
178
180
|
readonly inputPrice: 15;
|
|
179
181
|
readonly outputPrice: 75;
|
|
180
182
|
readonly cacheWritesPrice: 18.75;
|
|
@@ -189,6 +191,7 @@ declare const bedrockModels: {
|
|
|
189
191
|
readonly supportsImages: true;
|
|
190
192
|
readonly supportsComputerUse: true;
|
|
191
193
|
readonly supportsPromptCache: true;
|
|
194
|
+
readonly supportsReasoningBudget: true;
|
|
192
195
|
readonly inputPrice: 3;
|
|
193
196
|
readonly outputPrice: 15;
|
|
194
197
|
readonly cacheWritesPrice: 3.75;
|
|
@@ -778,6 +781,29 @@ declare const geminiModels: {
|
|
|
778
781
|
readonly cacheReadsPrice: 0.625;
|
|
779
782
|
}];
|
|
780
783
|
};
|
|
784
|
+
readonly "gemini-2.5-pro-preview-06-05": {
|
|
785
|
+
readonly maxTokens: 65535;
|
|
786
|
+
readonly contextWindow: 1048576;
|
|
787
|
+
readonly supportsImages: true;
|
|
788
|
+
readonly supportsPromptCache: true;
|
|
789
|
+
readonly inputPrice: 2.5;
|
|
790
|
+
readonly outputPrice: 15;
|
|
791
|
+
readonly cacheReadsPrice: 0.625;
|
|
792
|
+
readonly cacheWritesPrice: 4.5;
|
|
793
|
+
readonly maxThinkingTokens: 32768;
|
|
794
|
+
readonly supportsReasoningBudget: true;
|
|
795
|
+
readonly tiers: [{
|
|
796
|
+
readonly contextWindow: 200000;
|
|
797
|
+
readonly inputPrice: 1.25;
|
|
798
|
+
readonly outputPrice: 10;
|
|
799
|
+
readonly cacheReadsPrice: 0.31;
|
|
800
|
+
}, {
|
|
801
|
+
readonly contextWindow: number;
|
|
802
|
+
readonly inputPrice: 2.5;
|
|
803
|
+
readonly outputPrice: 15;
|
|
804
|
+
readonly cacheReadsPrice: 0.625;
|
|
805
|
+
}];
|
|
806
|
+
};
|
|
781
807
|
readonly "gemini-2.0-flash-001": {
|
|
782
808
|
readonly maxTokens: 8192;
|
|
783
809
|
readonly contextWindow: 1048576;
|
|
@@ -1170,9 +1196,9 @@ declare const openAiNativeModels: {
|
|
|
1170
1196
|
readonly contextWindow: 200000;
|
|
1171
1197
|
readonly supportsImages: true;
|
|
1172
1198
|
readonly supportsPromptCache: true;
|
|
1173
|
-
readonly inputPrice:
|
|
1174
|
-
readonly outputPrice:
|
|
1175
|
-
readonly cacheReadsPrice:
|
|
1199
|
+
readonly inputPrice: 2;
|
|
1200
|
+
readonly outputPrice: 8;
|
|
1201
|
+
readonly cacheReadsPrice: 0.5;
|
|
1176
1202
|
readonly supportsReasoningEffort: true;
|
|
1177
1203
|
readonly reasoningEffort: "medium";
|
|
1178
1204
|
};
|
|
@@ -1181,9 +1207,9 @@ declare const openAiNativeModels: {
|
|
|
1181
1207
|
readonly contextWindow: 200000;
|
|
1182
1208
|
readonly supportsImages: true;
|
|
1183
1209
|
readonly supportsPromptCache: true;
|
|
1184
|
-
readonly inputPrice:
|
|
1185
|
-
readonly outputPrice:
|
|
1186
|
-
readonly cacheReadsPrice:
|
|
1210
|
+
readonly inputPrice: 2;
|
|
1211
|
+
readonly outputPrice: 8;
|
|
1212
|
+
readonly cacheReadsPrice: 0.5;
|
|
1187
1213
|
readonly reasoningEffort: "high";
|
|
1188
1214
|
};
|
|
1189
1215
|
readonly "o3-low": {
|
|
@@ -1191,9 +1217,9 @@ declare const openAiNativeModels: {
|
|
|
1191
1217
|
readonly contextWindow: 200000;
|
|
1192
1218
|
readonly supportsImages: true;
|
|
1193
1219
|
readonly supportsPromptCache: true;
|
|
1194
|
-
readonly inputPrice:
|
|
1195
|
-
readonly outputPrice:
|
|
1196
|
-
readonly cacheReadsPrice:
|
|
1220
|
+
readonly inputPrice: 2;
|
|
1221
|
+
readonly outputPrice: 8;
|
|
1222
|
+
readonly cacheReadsPrice: 0.5;
|
|
1197
1223
|
readonly reasoningEffort: "low";
|
|
1198
1224
|
};
|
|
1199
1225
|
readonly "o4-mini": {
|
|
@@ -1323,8 +1349,8 @@ declare const openRouterDefaultModelInfo: ModelInfo;
|
|
|
1323
1349
|
declare const OPENROUTER_DEFAULT_PROVIDER_NAME = "[default]";
|
|
1324
1350
|
declare const OPEN_ROUTER_PROMPT_CACHING_MODELS: Set<string>;
|
|
1325
1351
|
declare const OPEN_ROUTER_COMPUTER_USE_MODELS: Set<string>;
|
|
1326
|
-
declare const OPEN_ROUTER_REASONING_BUDGET_MODELS: Set<string>;
|
|
1327
1352
|
declare const OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS: Set<string>;
|
|
1353
|
+
declare const OPEN_ROUTER_REASONING_BUDGET_MODELS: Set<string>;
|
|
1328
1354
|
|
|
1329
1355
|
declare const requestyDefaultModelId = "coding/claude-4-sonnet";
|
|
1330
1356
|
declare const requestyDefaultModelInfo: ModelInfo;
|
|
@@ -1389,6 +1415,16 @@ declare const vertexModels: {
|
|
|
1389
1415
|
readonly inputPrice: 2.5;
|
|
1390
1416
|
readonly outputPrice: 15;
|
|
1391
1417
|
};
|
|
1418
|
+
readonly "gemini-2.5-pro-preview-06-05": {
|
|
1419
|
+
readonly maxTokens: 65535;
|
|
1420
|
+
readonly contextWindow: 1048576;
|
|
1421
|
+
readonly supportsImages: true;
|
|
1422
|
+
readonly supportsPromptCache: true;
|
|
1423
|
+
readonly inputPrice: 2.5;
|
|
1424
|
+
readonly outputPrice: 15;
|
|
1425
|
+
readonly maxThinkingTokens: 32768;
|
|
1426
|
+
readonly supportsReasoningBudget: true;
|
|
1427
|
+
};
|
|
1392
1428
|
readonly "gemini-2.5-pro-exp-03-25": {
|
|
1393
1429
|
readonly maxTokens: 65535;
|
|
1394
1430
|
readonly contextWindow: 1048576;
|
|
@@ -1701,154 +1737,70 @@ declare const vscodeLlmModels: {
|
|
|
1701
1737
|
type XAIModelId = keyof typeof xaiModels;
|
|
1702
1738
|
declare const xaiDefaultModelId: XAIModelId;
|
|
1703
1739
|
declare const xaiModels: {
|
|
1704
|
-
readonly "grok-
|
|
1705
|
-
readonly maxTokens: 8192;
|
|
1706
|
-
readonly contextWindow: 131072;
|
|
1707
|
-
readonly supportsImages: false;
|
|
1708
|
-
readonly supportsPromptCache: false;
|
|
1709
|
-
readonly inputPrice: 3;
|
|
1710
|
-
readonly outputPrice: 15;
|
|
1711
|
-
readonly description: "xAI's Grok-3 beta model with 131K context window";
|
|
1712
|
-
};
|
|
1713
|
-
readonly "grok-3-fast-beta": {
|
|
1714
|
-
readonly maxTokens: 8192;
|
|
1715
|
-
readonly contextWindow: 131072;
|
|
1716
|
-
readonly supportsImages: false;
|
|
1717
|
-
readonly supportsPromptCache: false;
|
|
1718
|
-
readonly inputPrice: 5;
|
|
1719
|
-
readonly outputPrice: 25;
|
|
1720
|
-
readonly description: "xAI's Grok-3 fast beta model with 131K context window";
|
|
1721
|
-
};
|
|
1722
|
-
readonly "grok-3-mini-beta": {
|
|
1740
|
+
readonly "grok-2-1212": {
|
|
1723
1741
|
readonly maxTokens: 8192;
|
|
1724
1742
|
readonly contextWindow: 131072;
|
|
1725
1743
|
readonly supportsImages: false;
|
|
1726
1744
|
readonly supportsPromptCache: false;
|
|
1727
|
-
readonly inputPrice:
|
|
1728
|
-
readonly outputPrice:
|
|
1729
|
-
readonly description: "xAI's Grok-
|
|
1730
|
-
readonly supportsReasoningEffort: true;
|
|
1745
|
+
readonly inputPrice: 2;
|
|
1746
|
+
readonly outputPrice: 10;
|
|
1747
|
+
readonly description: "xAI's Grok-2 model (version 1212) with 128K context window";
|
|
1731
1748
|
};
|
|
1732
|
-
readonly "grok-
|
|
1749
|
+
readonly "grok-2-vision-1212": {
|
|
1733
1750
|
readonly maxTokens: 8192;
|
|
1734
|
-
readonly contextWindow:
|
|
1735
|
-
readonly supportsImages:
|
|
1751
|
+
readonly contextWindow: 32768;
|
|
1752
|
+
readonly supportsImages: true;
|
|
1736
1753
|
readonly supportsPromptCache: false;
|
|
1737
|
-
readonly inputPrice:
|
|
1738
|
-
readonly outputPrice:
|
|
1739
|
-
readonly description: "xAI's Grok-
|
|
1740
|
-
readonly supportsReasoningEffort: true;
|
|
1754
|
+
readonly inputPrice: 2;
|
|
1755
|
+
readonly outputPrice: 10;
|
|
1756
|
+
readonly description: "xAI's Grok-2 Vision model (version 1212) with image support and 32K context window";
|
|
1741
1757
|
};
|
|
1742
1758
|
readonly "grok-3": {
|
|
1743
1759
|
readonly maxTokens: 8192;
|
|
1744
1760
|
readonly contextWindow: 131072;
|
|
1745
1761
|
readonly supportsImages: false;
|
|
1746
|
-
readonly supportsPromptCache:
|
|
1762
|
+
readonly supportsPromptCache: true;
|
|
1747
1763
|
readonly inputPrice: 3;
|
|
1748
1764
|
readonly outputPrice: 15;
|
|
1749
|
-
readonly
|
|
1765
|
+
readonly cacheWritesPrice: 0.75;
|
|
1766
|
+
readonly cacheReadsPrice: 0.75;
|
|
1767
|
+
readonly description: "xAI's Grok-3 model with 128K context window";
|
|
1750
1768
|
};
|
|
1751
1769
|
readonly "grok-3-fast": {
|
|
1752
1770
|
readonly maxTokens: 8192;
|
|
1753
1771
|
readonly contextWindow: 131072;
|
|
1754
1772
|
readonly supportsImages: false;
|
|
1755
|
-
readonly supportsPromptCache:
|
|
1773
|
+
readonly supportsPromptCache: true;
|
|
1756
1774
|
readonly inputPrice: 5;
|
|
1757
1775
|
readonly outputPrice: 25;
|
|
1758
|
-
readonly
|
|
1776
|
+
readonly cacheWritesPrice: 1.25;
|
|
1777
|
+
readonly cacheReadsPrice: 1.25;
|
|
1778
|
+
readonly description: "xAI's Grok-3 fast model with 128K context window";
|
|
1759
1779
|
};
|
|
1760
1780
|
readonly "grok-3-mini": {
|
|
1761
1781
|
readonly maxTokens: 8192;
|
|
1762
1782
|
readonly contextWindow: 131072;
|
|
1763
1783
|
readonly supportsImages: false;
|
|
1764
|
-
readonly supportsPromptCache:
|
|
1784
|
+
readonly supportsPromptCache: true;
|
|
1765
1785
|
readonly inputPrice: 0.3;
|
|
1766
1786
|
readonly outputPrice: 0.5;
|
|
1767
|
-
readonly
|
|
1787
|
+
readonly cacheWritesPrice: 0.07;
|
|
1788
|
+
readonly cacheReadsPrice: 0.07;
|
|
1789
|
+
readonly description: "xAI's Grok-3 mini model with 128K context window";
|
|
1768
1790
|
readonly supportsReasoningEffort: true;
|
|
1769
1791
|
};
|
|
1770
1792
|
readonly "grok-3-mini-fast": {
|
|
1771
1793
|
readonly maxTokens: 8192;
|
|
1772
1794
|
readonly contextWindow: 131072;
|
|
1773
1795
|
readonly supportsImages: false;
|
|
1774
|
-
readonly supportsPromptCache:
|
|
1796
|
+
readonly supportsPromptCache: true;
|
|
1775
1797
|
readonly inputPrice: 0.6;
|
|
1776
1798
|
readonly outputPrice: 4;
|
|
1777
|
-
readonly
|
|
1799
|
+
readonly cacheWritesPrice: 0.15;
|
|
1800
|
+
readonly cacheReadsPrice: 0.15;
|
|
1801
|
+
readonly description: "xAI's Grok-3 mini fast model with 128K context window";
|
|
1778
1802
|
readonly supportsReasoningEffort: true;
|
|
1779
1803
|
};
|
|
1780
|
-
readonly "grok-2-latest": {
|
|
1781
|
-
readonly maxTokens: 8192;
|
|
1782
|
-
readonly contextWindow: 131072;
|
|
1783
|
-
readonly supportsImages: false;
|
|
1784
|
-
readonly supportsPromptCache: false;
|
|
1785
|
-
readonly inputPrice: 2;
|
|
1786
|
-
readonly outputPrice: 10;
|
|
1787
|
-
readonly description: "xAI's Grok-2 model - latest version with 131K context window";
|
|
1788
|
-
};
|
|
1789
|
-
readonly "grok-2": {
|
|
1790
|
-
readonly maxTokens: 8192;
|
|
1791
|
-
readonly contextWindow: 131072;
|
|
1792
|
-
readonly supportsImages: false;
|
|
1793
|
-
readonly supportsPromptCache: false;
|
|
1794
|
-
readonly inputPrice: 2;
|
|
1795
|
-
readonly outputPrice: 10;
|
|
1796
|
-
readonly description: "xAI's Grok-2 model with 131K context window";
|
|
1797
|
-
};
|
|
1798
|
-
readonly "grok-2-1212": {
|
|
1799
|
-
readonly maxTokens: 8192;
|
|
1800
|
-
readonly contextWindow: 131072;
|
|
1801
|
-
readonly supportsImages: false;
|
|
1802
|
-
readonly supportsPromptCache: false;
|
|
1803
|
-
readonly inputPrice: 2;
|
|
1804
|
-
readonly outputPrice: 10;
|
|
1805
|
-
readonly description: "xAI's Grok-2 model (version 1212) with 131K context window";
|
|
1806
|
-
};
|
|
1807
|
-
readonly "grok-2-vision-latest": {
|
|
1808
|
-
readonly maxTokens: 8192;
|
|
1809
|
-
readonly contextWindow: 32768;
|
|
1810
|
-
readonly supportsImages: true;
|
|
1811
|
-
readonly supportsPromptCache: false;
|
|
1812
|
-
readonly inputPrice: 2;
|
|
1813
|
-
readonly outputPrice: 10;
|
|
1814
|
-
readonly description: "xAI's Grok-2 Vision model - latest version with image support and 32K context window";
|
|
1815
|
-
};
|
|
1816
|
-
readonly "grok-2-vision": {
|
|
1817
|
-
readonly maxTokens: 8192;
|
|
1818
|
-
readonly contextWindow: 32768;
|
|
1819
|
-
readonly supportsImages: true;
|
|
1820
|
-
readonly supportsPromptCache: false;
|
|
1821
|
-
readonly inputPrice: 2;
|
|
1822
|
-
readonly outputPrice: 10;
|
|
1823
|
-
readonly description: "xAI's Grok-2 Vision model with image support and 32K context window";
|
|
1824
|
-
};
|
|
1825
|
-
readonly "grok-2-vision-1212": {
|
|
1826
|
-
readonly maxTokens: 8192;
|
|
1827
|
-
readonly contextWindow: 32768;
|
|
1828
|
-
readonly supportsImages: true;
|
|
1829
|
-
readonly supportsPromptCache: false;
|
|
1830
|
-
readonly inputPrice: 2;
|
|
1831
|
-
readonly outputPrice: 10;
|
|
1832
|
-
readonly description: "xAI's Grok-2 Vision model (version 1212) with image support and 32K context window";
|
|
1833
|
-
};
|
|
1834
|
-
readonly "grok-vision-beta": {
|
|
1835
|
-
readonly maxTokens: 8192;
|
|
1836
|
-
readonly contextWindow: 8192;
|
|
1837
|
-
readonly supportsImages: true;
|
|
1838
|
-
readonly supportsPromptCache: false;
|
|
1839
|
-
readonly inputPrice: 5;
|
|
1840
|
-
readonly outputPrice: 15;
|
|
1841
|
-
readonly description: "xAI's Grok Vision Beta model with image support and 8K context window";
|
|
1842
|
-
};
|
|
1843
|
-
readonly "grok-beta": {
|
|
1844
|
-
readonly maxTokens: 8192;
|
|
1845
|
-
readonly contextWindow: 131072;
|
|
1846
|
-
readonly supportsImages: false;
|
|
1847
|
-
readonly supportsPromptCache: false;
|
|
1848
|
-
readonly inputPrice: 5;
|
|
1849
|
-
readonly outputPrice: 15;
|
|
1850
|
-
readonly description: "xAI's Grok Beta model (legacy) with 131K context window";
|
|
1851
|
-
};
|
|
1852
1804
|
};
|
|
1853
1805
|
|
|
1854
1806
|
/**
|
|
@@ -1858,11 +1810,6 @@ type Keys<T> = keyof T;
|
|
|
1858
1810
|
type Values<T> = T[keyof T];
|
|
1859
1811
|
type Equals<X, Y> = (<T>() => T extends X ? 1 : 2) extends <T>() => T extends Y ? 1 : 2 ? true : false;
|
|
1860
1812
|
type AssertEqual<T extends true> = T;
|
|
1861
|
-
/**
|
|
1862
|
-
* Creates a type-safe keys array that enforces ALL keys from type T are present.
|
|
1863
|
-
* Returns a compile-time error if any keys are missing or extra keys are provided.
|
|
1864
|
-
*/
|
|
1865
|
-
declare function keysOf<T>(): <const U extends readonly (keyof T)[]>(keys: keyof T extends U[number] ? (U[number] extends keyof T ? U : never) : never) => U;
|
|
1866
1813
|
|
|
1867
1814
|
/**
|
|
1868
1815
|
* ProviderName
|
|
@@ -3032,6 +2979,9 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
3032
2979
|
declare const providerSettingsSchema: z.ZodObject<{
|
|
3033
2980
|
codeIndexOpenAiKey: z.ZodOptional<z.ZodString>;
|
|
3034
2981
|
codeIndexQdrantApiKey: z.ZodOptional<z.ZodString>;
|
|
2982
|
+
codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
|
|
2983
|
+
codebaseIndexOpenAiCompatibleApiKey: z.ZodOptional<z.ZodString>;
|
|
2984
|
+
codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
|
|
3035
2985
|
includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
3036
2986
|
diffEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3037
2987
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3218,6 +3168,9 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3218
3168
|
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
3219
3169
|
codeIndexOpenAiKey?: string | undefined;
|
|
3220
3170
|
codeIndexQdrantApiKey?: string | undefined;
|
|
3171
|
+
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
3172
|
+
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
3173
|
+
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
3221
3174
|
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
3222
3175
|
includeMaxTokens?: boolean | undefined;
|
|
3223
3176
|
diffEnabled?: boolean | undefined;
|
|
@@ -3327,6 +3280,9 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3327
3280
|
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
3328
3281
|
codeIndexOpenAiKey?: string | undefined;
|
|
3329
3282
|
codeIndexQdrantApiKey?: string | undefined;
|
|
3283
|
+
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
3284
|
+
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
3285
|
+
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
3330
3286
|
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
3331
3287
|
includeMaxTokens?: boolean | undefined;
|
|
3332
3288
|
diffEnabled?: boolean | undefined;
|
|
@@ -3434,7 +3390,9 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3434
3390
|
litellmModelId?: string | undefined;
|
|
3435
3391
|
}>;
|
|
3436
3392
|
type ProviderSettings = z.infer<typeof providerSettingsSchema>;
|
|
3437
|
-
declare const PROVIDER_SETTINGS_KEYS:
|
|
3393
|
+
declare const PROVIDER_SETTINGS_KEYS: ["reasoningEffort", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleBaseUrl", "codebaseIndexOpenAiCompatibleApiKey", "codebaseIndexOpenAiCompatibleModelDimension", "apiProvider", "includeMaxTokens", "diffEnabled", "fuzzyMatchThreshold", "modelTemperature", "rateLimitSeconds", "enableReasoningEffort", "modelMaxTokens", "modelMaxThinkingTokens", "apiModelId", "apiKey", "anthropicBaseUrl", "anthropicUseAuthToken", "glamaModelId", "glamaApiKey", "openRouterApiKey", "openRouterModelId", "openRouterBaseUrl", "openRouterSpecificProvider", "openRouterUseMiddleOutTransform", "awsAccessKey", "awsSecretKey", "awsSessionToken", "awsRegion", "awsUseCrossRegionInference", "awsUsePromptCache", "awsProfile", "awsUseProfile", "awsCustomArn", "awsModelContextWindow", "awsBedrockEndpointEnabled", "awsBedrockEndpoint", "vertexKeyFile", "vertexJsonCredentials", "vertexProjectId", "vertexRegion", "openAiBaseUrl", "openAiApiKey", "openAiLegacyFormat", "openAiR1FormatEnabled", "openAiModelId", "openAiCustomModelInfo", "openAiUseAzure", "azureApiVersion", "openAiStreamingEnabled", "openAiHostHeader", "openAiHeaders", "ollamaModelId", "ollamaBaseUrl", "vsCodeLmModelSelector", "lmStudioModelId", "lmStudioBaseUrl", "lmStudioDraftModelId", "lmStudioSpeculativeDecodingEnabled", "geminiApiKey", "googleGeminiBaseUrl", "openAiNativeApiKey", "openAiNativeBaseUrl", "mistralApiKey", "mistralCodestralUrl", "deepSeekBaseUrl", "deepSeekApiKey", "unboundApiKey", "unboundModelId", "requestyApiKey", "requestyModelId", "fakeAi", "xaiApiKey", "groqApiKey", "chutesApiKey", "litellmBaseUrl", "litellmApiKey", "litellmModelId"];
|
|
3394
|
+
declare const MODEL_ID_KEYS: Partial<keyof ProviderSettings>[];
|
|
3395
|
+
declare const getModelId: (settings: ProviderSettings) => string | undefined;
|
|
3438
3396
|
|
|
3439
3397
|
/**
|
|
3440
3398
|
* GlobalSettings
|
|
@@ -3501,6 +3459,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
3501
3459
|
alwaysAllowReadOnlyOutsideWorkspace: z.ZodOptional<z.ZodBoolean>;
|
|
3502
3460
|
alwaysAllowWrite: z.ZodOptional<z.ZodBoolean>;
|
|
3503
3461
|
alwaysAllowWriteOutsideWorkspace: z.ZodOptional<z.ZodBoolean>;
|
|
3462
|
+
alwaysAllowWriteProtected: z.ZodOptional<z.ZodBoolean>;
|
|
3504
3463
|
writeDelayMs: z.ZodOptional<z.ZodNumber>;
|
|
3505
3464
|
alwaysAllowBrowser: z.ZodOptional<z.ZodBoolean>;
|
|
3506
3465
|
alwaysApproveResubmit: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3543,14 +3502,20 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
3543
3502
|
diffEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3544
3503
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
3545
3504
|
experiments: z.ZodOptional<z.ZodObject<{
|
|
3546
|
-
powerSteering: z.ZodBoolean
|
|
3547
|
-
|
|
3505
|
+
powerSteering: z.ZodOptional<z.ZodBoolean>;
|
|
3506
|
+
disableCompletionCommand: z.ZodOptional<z.ZodBoolean>;
|
|
3507
|
+
marketplace: z.ZodOptional<z.ZodBoolean>;
|
|
3508
|
+
multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
|
|
3548
3509
|
}, "strip", z.ZodTypeAny, {
|
|
3549
|
-
powerSteering
|
|
3550
|
-
|
|
3510
|
+
powerSteering?: boolean | undefined;
|
|
3511
|
+
disableCompletionCommand?: boolean | undefined;
|
|
3512
|
+
marketplace?: boolean | undefined;
|
|
3513
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
3551
3514
|
}, {
|
|
3552
|
-
powerSteering
|
|
3553
|
-
|
|
3515
|
+
powerSteering?: boolean | undefined;
|
|
3516
|
+
disableCompletionCommand?: boolean | undefined;
|
|
3517
|
+
marketplace?: boolean | undefined;
|
|
3518
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
3554
3519
|
}>>;
|
|
3555
3520
|
codebaseIndexModels: z.ZodOptional<z.ZodObject<{
|
|
3556
3521
|
openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -3567,6 +3532,13 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
3567
3532
|
}, {
|
|
3568
3533
|
dimension: number;
|
|
3569
3534
|
}>>>;
|
|
3535
|
+
"openai-compatible": z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3536
|
+
dimension: z.ZodNumber;
|
|
3537
|
+
}, "strip", z.ZodTypeAny, {
|
|
3538
|
+
dimension: number;
|
|
3539
|
+
}, {
|
|
3540
|
+
dimension: number;
|
|
3541
|
+
}>>>;
|
|
3570
3542
|
}, "strip", z.ZodTypeAny, {
|
|
3571
3543
|
openai?: Record<string, {
|
|
3572
3544
|
dimension: number;
|
|
@@ -3574,6 +3546,9 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
3574
3546
|
ollama?: Record<string, {
|
|
3575
3547
|
dimension: number;
|
|
3576
3548
|
}> | undefined;
|
|
3549
|
+
"openai-compatible"?: Record<string, {
|
|
3550
|
+
dimension: number;
|
|
3551
|
+
}> | undefined;
|
|
3577
3552
|
}, {
|
|
3578
3553
|
openai?: Record<string, {
|
|
3579
3554
|
dimension: number;
|
|
@@ -3581,27 +3556,30 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
3581
3556
|
ollama?: Record<string, {
|
|
3582
3557
|
dimension: number;
|
|
3583
3558
|
}> | undefined;
|
|
3559
|
+
"openai-compatible"?: Record<string, {
|
|
3560
|
+
dimension: number;
|
|
3561
|
+
}> | undefined;
|
|
3584
3562
|
}>>;
|
|
3585
3563
|
codebaseIndexConfig: z.ZodOptional<z.ZodObject<{
|
|
3586
3564
|
codebaseIndexEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3587
3565
|
codebaseIndexQdrantUrl: z.ZodOptional<z.ZodString>;
|
|
3588
|
-
codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama"]>>;
|
|
3566
|
+
codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama", "openai-compatible"]>>;
|
|
3589
3567
|
codebaseIndexEmbedderBaseUrl: z.ZodOptional<z.ZodString>;
|
|
3590
3568
|
codebaseIndexEmbedderModelId: z.ZodOptional<z.ZodString>;
|
|
3591
3569
|
}, "strip", z.ZodTypeAny, {
|
|
3592
3570
|
codebaseIndexEnabled?: boolean | undefined;
|
|
3593
3571
|
codebaseIndexQdrantUrl?: string | undefined;
|
|
3594
|
-
codebaseIndexEmbedderProvider?: "openai" | "ollama" | undefined;
|
|
3572
|
+
codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
|
|
3595
3573
|
codebaseIndexEmbedderBaseUrl?: string | undefined;
|
|
3596
3574
|
codebaseIndexEmbedderModelId?: string | undefined;
|
|
3597
3575
|
}, {
|
|
3598
3576
|
codebaseIndexEnabled?: boolean | undefined;
|
|
3599
3577
|
codebaseIndexQdrantUrl?: string | undefined;
|
|
3600
|
-
codebaseIndexEmbedderProvider?: "openai" | "ollama" | undefined;
|
|
3578
|
+
codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
|
|
3601
3579
|
codebaseIndexEmbedderBaseUrl?: string | undefined;
|
|
3602
3580
|
codebaseIndexEmbedderModelId?: string | undefined;
|
|
3603
3581
|
}>>;
|
|
3604
|
-
language: z.ZodOptional<z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"]>>;
|
|
3582
|
+
language: z.ZodOptional<z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "id", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"]>>;
|
|
3605
3583
|
telemetrySetting: z.ZodOptional<z.ZodEnum<["unset", "enabled", "disabled"]>>;
|
|
3606
3584
|
mcpEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3607
3585
|
enableMcpServerCreation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3673,7 +3651,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
3673
3651
|
diffEnabled?: boolean | undefined;
|
|
3674
3652
|
fuzzyMatchThreshold?: number | undefined;
|
|
3675
3653
|
rateLimitSeconds?: number | undefined;
|
|
3676
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
3654
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
3677
3655
|
mode?: string | undefined;
|
|
3678
3656
|
customInstructions?: string | undefined;
|
|
3679
3657
|
customModes?: {
|
|
@@ -3716,6 +3694,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
3716
3694
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
3717
3695
|
alwaysAllowWrite?: boolean | undefined;
|
|
3718
3696
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
3697
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
3719
3698
|
writeDelayMs?: number | undefined;
|
|
3720
3699
|
alwaysAllowBrowser?: boolean | undefined;
|
|
3721
3700
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -3755,8 +3734,10 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
3755
3734
|
terminalZdotdir?: boolean | undefined;
|
|
3756
3735
|
terminalCompressProgressBar?: boolean | undefined;
|
|
3757
3736
|
experiments?: {
|
|
3758
|
-
powerSteering
|
|
3759
|
-
|
|
3737
|
+
powerSteering?: boolean | undefined;
|
|
3738
|
+
disableCompletionCommand?: boolean | undefined;
|
|
3739
|
+
marketplace?: boolean | undefined;
|
|
3740
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
3760
3741
|
} | undefined;
|
|
3761
3742
|
codebaseIndexModels?: {
|
|
3762
3743
|
openai?: Record<string, {
|
|
@@ -3765,11 +3746,14 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
3765
3746
|
ollama?: Record<string, {
|
|
3766
3747
|
dimension: number;
|
|
3767
3748
|
}> | undefined;
|
|
3749
|
+
"openai-compatible"?: Record<string, {
|
|
3750
|
+
dimension: number;
|
|
3751
|
+
}> | undefined;
|
|
3768
3752
|
} | undefined;
|
|
3769
3753
|
codebaseIndexConfig?: {
|
|
3770
3754
|
codebaseIndexEnabled?: boolean | undefined;
|
|
3771
3755
|
codebaseIndexQdrantUrl?: string | undefined;
|
|
3772
|
-
codebaseIndexEmbedderProvider?: "openai" | "ollama" | undefined;
|
|
3756
|
+
codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
|
|
3773
3757
|
codebaseIndexEmbedderBaseUrl?: string | undefined;
|
|
3774
3758
|
codebaseIndexEmbedderModelId?: string | undefined;
|
|
3775
3759
|
} | undefined;
|
|
@@ -3789,7 +3773,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
3789
3773
|
diffEnabled?: boolean | undefined;
|
|
3790
3774
|
fuzzyMatchThreshold?: number | undefined;
|
|
3791
3775
|
rateLimitSeconds?: number | undefined;
|
|
3792
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
3776
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
3793
3777
|
mode?: string | undefined;
|
|
3794
3778
|
customInstructions?: string | undefined;
|
|
3795
3779
|
customModes?: {
|
|
@@ -3832,6 +3816,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
3832
3816
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
3833
3817
|
alwaysAllowWrite?: boolean | undefined;
|
|
3834
3818
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
3819
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
3835
3820
|
writeDelayMs?: number | undefined;
|
|
3836
3821
|
alwaysAllowBrowser?: boolean | undefined;
|
|
3837
3822
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -3871,8 +3856,10 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
3871
3856
|
terminalZdotdir?: boolean | undefined;
|
|
3872
3857
|
terminalCompressProgressBar?: boolean | undefined;
|
|
3873
3858
|
experiments?: {
|
|
3874
|
-
powerSteering
|
|
3875
|
-
|
|
3859
|
+
powerSteering?: boolean | undefined;
|
|
3860
|
+
disableCompletionCommand?: boolean | undefined;
|
|
3861
|
+
marketplace?: boolean | undefined;
|
|
3862
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
3876
3863
|
} | undefined;
|
|
3877
3864
|
codebaseIndexModels?: {
|
|
3878
3865
|
openai?: Record<string, {
|
|
@@ -3881,11 +3868,14 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
3881
3868
|
ollama?: Record<string, {
|
|
3882
3869
|
dimension: number;
|
|
3883
3870
|
}> | undefined;
|
|
3871
|
+
"openai-compatible"?: Record<string, {
|
|
3872
|
+
dimension: number;
|
|
3873
|
+
}> | undefined;
|
|
3884
3874
|
} | undefined;
|
|
3885
3875
|
codebaseIndexConfig?: {
|
|
3886
3876
|
codebaseIndexEnabled?: boolean | undefined;
|
|
3887
3877
|
codebaseIndexQdrantUrl?: string | undefined;
|
|
3888
|
-
codebaseIndexEmbedderProvider?: "openai" | "ollama" | undefined;
|
|
3878
|
+
codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
|
|
3889
3879
|
codebaseIndexEmbedderBaseUrl?: string | undefined;
|
|
3890
3880
|
codebaseIndexEmbedderModelId?: string | undefined;
|
|
3891
3881
|
} | undefined;
|
|
@@ -3903,13 +3893,16 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
3903
3893
|
historyPreviewCollapsed?: boolean | undefined;
|
|
3904
3894
|
}>;
|
|
3905
3895
|
type GlobalSettings = z.infer<typeof globalSettingsSchema>;
|
|
3906
|
-
declare const GLOBAL_SETTINGS_KEYS:
|
|
3896
|
+
declare const GLOBAL_SETTINGS_KEYS: ["diffEnabled", "fuzzyMatchThreshold", "rateLimitSeconds", "language", "mode", "customInstructions", "customModes", "currentApiConfigName", "listApiConfigMeta", "pinnedApiConfigs", "lastShownAnnouncementId", "taskHistory", "condensingApiConfigId", "customCondensingPrompt", "autoApprovalEnabled", "alwaysAllowReadOnly", "alwaysAllowReadOnlyOutsideWorkspace", "alwaysAllowWrite", "alwaysAllowWriteOutsideWorkspace", "alwaysAllowWriteProtected", "writeDelayMs", "alwaysAllowBrowser", "alwaysApproveResubmit", "requestDelaySeconds", "alwaysAllowMcp", "alwaysAllowModeSwitch", "alwaysAllowSubtasks", "alwaysAllowExecute", "allowedCommands", "allowedMaxRequests", "autoCondenseContext", "autoCondenseContextPercent", "maxConcurrentFileReads", "browserToolEnabled", "browserViewportSize", "screenshotQuality", "remoteBrowserEnabled", "remoteBrowserHost", "cachedChromeHostUrl", "enableCheckpoints", "ttsEnabled", "ttsSpeed", "soundEnabled", "soundVolume", "maxOpenTabsContext", "maxWorkspaceFiles", "showRooIgnoredFiles", "maxReadFileLine", "terminalOutputLineLimit", "terminalShellIntegrationTimeout", "terminalShellIntegrationDisabled", "terminalCommandDelay", "terminalPowershellCounter", "terminalZshClearEolMark", "terminalZshOhMy", "terminalZshP10k", "terminalZdotdir", "terminalCompressProgressBar", "experiments", "codebaseIndexModels", "codebaseIndexConfig", "telemetrySetting", "mcpEnabled", "enableMcpServerCreation", "modeApiConfigs", "customModePrompts", "customSupportPrompts", "enhancementApiConfigId", "historyPreviewCollapsed"];
|
|
3907
3897
|
/**
|
|
3908
3898
|
* RooCodeSettings
|
|
3909
3899
|
*/
|
|
3910
3900
|
declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
3911
3901
|
codeIndexOpenAiKey: z.ZodOptional<z.ZodString>;
|
|
3912
3902
|
codeIndexQdrantApiKey: z.ZodOptional<z.ZodString>;
|
|
3903
|
+
codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
|
|
3904
|
+
codebaseIndexOpenAiCompatibleApiKey: z.ZodOptional<z.ZodString>;
|
|
3905
|
+
codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
|
|
3913
3906
|
includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
3914
3907
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3915
3908
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4151,6 +4144,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4151
4144
|
alwaysAllowReadOnlyOutsideWorkspace: z.ZodOptional<z.ZodBoolean>;
|
|
4152
4145
|
alwaysAllowWrite: z.ZodOptional<z.ZodBoolean>;
|
|
4153
4146
|
alwaysAllowWriteOutsideWorkspace: z.ZodOptional<z.ZodBoolean>;
|
|
4147
|
+
alwaysAllowWriteProtected: z.ZodOptional<z.ZodBoolean>;
|
|
4154
4148
|
writeDelayMs: z.ZodOptional<z.ZodNumber>;
|
|
4155
4149
|
alwaysAllowBrowser: z.ZodOptional<z.ZodBoolean>;
|
|
4156
4150
|
alwaysApproveResubmit: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4193,14 +4187,20 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4193
4187
|
diffEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
4194
4188
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
4195
4189
|
experiments: z.ZodOptional<z.ZodObject<{
|
|
4196
|
-
powerSteering: z.ZodBoolean
|
|
4197
|
-
|
|
4190
|
+
powerSteering: z.ZodOptional<z.ZodBoolean>;
|
|
4191
|
+
disableCompletionCommand: z.ZodOptional<z.ZodBoolean>;
|
|
4192
|
+
marketplace: z.ZodOptional<z.ZodBoolean>;
|
|
4193
|
+
multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
|
|
4198
4194
|
}, "strip", z.ZodTypeAny, {
|
|
4199
|
-
powerSteering
|
|
4200
|
-
|
|
4195
|
+
powerSteering?: boolean | undefined;
|
|
4196
|
+
disableCompletionCommand?: boolean | undefined;
|
|
4197
|
+
marketplace?: boolean | undefined;
|
|
4198
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
4201
4199
|
}, {
|
|
4202
|
-
powerSteering
|
|
4203
|
-
|
|
4200
|
+
powerSteering?: boolean | undefined;
|
|
4201
|
+
disableCompletionCommand?: boolean | undefined;
|
|
4202
|
+
marketplace?: boolean | undefined;
|
|
4203
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
4204
4204
|
}>>;
|
|
4205
4205
|
codebaseIndexModels: z.ZodOptional<z.ZodObject<{
|
|
4206
4206
|
openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -4217,6 +4217,13 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4217
4217
|
}, {
|
|
4218
4218
|
dimension: number;
|
|
4219
4219
|
}>>>;
|
|
4220
|
+
"openai-compatible": z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4221
|
+
dimension: z.ZodNumber;
|
|
4222
|
+
}, "strip", z.ZodTypeAny, {
|
|
4223
|
+
dimension: number;
|
|
4224
|
+
}, {
|
|
4225
|
+
dimension: number;
|
|
4226
|
+
}>>>;
|
|
4220
4227
|
}, "strip", z.ZodTypeAny, {
|
|
4221
4228
|
openai?: Record<string, {
|
|
4222
4229
|
dimension: number;
|
|
@@ -4224,6 +4231,9 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4224
4231
|
ollama?: Record<string, {
|
|
4225
4232
|
dimension: number;
|
|
4226
4233
|
}> | undefined;
|
|
4234
|
+
"openai-compatible"?: Record<string, {
|
|
4235
|
+
dimension: number;
|
|
4236
|
+
}> | undefined;
|
|
4227
4237
|
}, {
|
|
4228
4238
|
openai?: Record<string, {
|
|
4229
4239
|
dimension: number;
|
|
@@ -4231,27 +4241,30 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4231
4241
|
ollama?: Record<string, {
|
|
4232
4242
|
dimension: number;
|
|
4233
4243
|
}> | undefined;
|
|
4244
|
+
"openai-compatible"?: Record<string, {
|
|
4245
|
+
dimension: number;
|
|
4246
|
+
}> | undefined;
|
|
4234
4247
|
}>>;
|
|
4235
4248
|
codebaseIndexConfig: z.ZodOptional<z.ZodObject<{
|
|
4236
4249
|
codebaseIndexEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
4237
4250
|
codebaseIndexQdrantUrl: z.ZodOptional<z.ZodString>;
|
|
4238
|
-
codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama"]>>;
|
|
4251
|
+
codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama", "openai-compatible"]>>;
|
|
4239
4252
|
codebaseIndexEmbedderBaseUrl: z.ZodOptional<z.ZodString>;
|
|
4240
4253
|
codebaseIndexEmbedderModelId: z.ZodOptional<z.ZodString>;
|
|
4241
4254
|
}, "strip", z.ZodTypeAny, {
|
|
4242
4255
|
codebaseIndexEnabled?: boolean | undefined;
|
|
4243
4256
|
codebaseIndexQdrantUrl?: string | undefined;
|
|
4244
|
-
codebaseIndexEmbedderProvider?: "openai" | "ollama" | undefined;
|
|
4257
|
+
codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
|
|
4245
4258
|
codebaseIndexEmbedderBaseUrl?: string | undefined;
|
|
4246
4259
|
codebaseIndexEmbedderModelId?: string | undefined;
|
|
4247
4260
|
}, {
|
|
4248
4261
|
codebaseIndexEnabled?: boolean | undefined;
|
|
4249
4262
|
codebaseIndexQdrantUrl?: string | undefined;
|
|
4250
|
-
codebaseIndexEmbedderProvider?: "openai" | "ollama" | undefined;
|
|
4263
|
+
codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
|
|
4251
4264
|
codebaseIndexEmbedderBaseUrl?: string | undefined;
|
|
4252
4265
|
codebaseIndexEmbedderModelId?: string | undefined;
|
|
4253
4266
|
}>>;
|
|
4254
|
-
language: z.ZodOptional<z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"]>>;
|
|
4267
|
+
language: z.ZodOptional<z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "id", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"]>>;
|
|
4255
4268
|
telemetrySetting: z.ZodOptional<z.ZodEnum<["unset", "enabled", "disabled"]>>;
|
|
4256
4269
|
mcpEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
4257
4270
|
enableMcpServerCreation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4323,6 +4336,9 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4323
4336
|
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
4324
4337
|
codeIndexOpenAiKey?: string | undefined;
|
|
4325
4338
|
codeIndexQdrantApiKey?: string | undefined;
|
|
4339
|
+
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
4340
|
+
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
4341
|
+
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
4326
4342
|
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
4327
4343
|
includeMaxTokens?: boolean | undefined;
|
|
4328
4344
|
diffEnabled?: boolean | undefined;
|
|
@@ -4428,7 +4444,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4428
4444
|
litellmBaseUrl?: string | undefined;
|
|
4429
4445
|
litellmApiKey?: string | undefined;
|
|
4430
4446
|
litellmModelId?: string | undefined;
|
|
4431
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
4447
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
4432
4448
|
mode?: string | undefined;
|
|
4433
4449
|
customInstructions?: string | undefined;
|
|
4434
4450
|
customModes?: {
|
|
@@ -4471,6 +4487,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4471
4487
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
4472
4488
|
alwaysAllowWrite?: boolean | undefined;
|
|
4473
4489
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
4490
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
4474
4491
|
writeDelayMs?: number | undefined;
|
|
4475
4492
|
alwaysAllowBrowser?: boolean | undefined;
|
|
4476
4493
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -4510,8 +4527,10 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4510
4527
|
terminalZdotdir?: boolean | undefined;
|
|
4511
4528
|
terminalCompressProgressBar?: boolean | undefined;
|
|
4512
4529
|
experiments?: {
|
|
4513
|
-
powerSteering
|
|
4514
|
-
|
|
4530
|
+
powerSteering?: boolean | undefined;
|
|
4531
|
+
disableCompletionCommand?: boolean | undefined;
|
|
4532
|
+
marketplace?: boolean | undefined;
|
|
4533
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
4515
4534
|
} | undefined;
|
|
4516
4535
|
codebaseIndexModels?: {
|
|
4517
4536
|
openai?: Record<string, {
|
|
@@ -4520,11 +4539,14 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4520
4539
|
ollama?: Record<string, {
|
|
4521
4540
|
dimension: number;
|
|
4522
4541
|
}> | undefined;
|
|
4542
|
+
"openai-compatible"?: Record<string, {
|
|
4543
|
+
dimension: number;
|
|
4544
|
+
}> | undefined;
|
|
4523
4545
|
} | undefined;
|
|
4524
4546
|
codebaseIndexConfig?: {
|
|
4525
4547
|
codebaseIndexEnabled?: boolean | undefined;
|
|
4526
4548
|
codebaseIndexQdrantUrl?: string | undefined;
|
|
4527
|
-
codebaseIndexEmbedderProvider?: "openai" | "ollama" | undefined;
|
|
4549
|
+
codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
|
|
4528
4550
|
codebaseIndexEmbedderBaseUrl?: string | undefined;
|
|
4529
4551
|
codebaseIndexEmbedderModelId?: string | undefined;
|
|
4530
4552
|
} | undefined;
|
|
@@ -4544,6 +4566,9 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4544
4566
|
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
4545
4567
|
codeIndexOpenAiKey?: string | undefined;
|
|
4546
4568
|
codeIndexQdrantApiKey?: string | undefined;
|
|
4569
|
+
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
4570
|
+
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
4571
|
+
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
4547
4572
|
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
4548
4573
|
includeMaxTokens?: boolean | undefined;
|
|
4549
4574
|
diffEnabled?: boolean | undefined;
|
|
@@ -4649,7 +4674,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4649
4674
|
litellmBaseUrl?: string | undefined;
|
|
4650
4675
|
litellmApiKey?: string | undefined;
|
|
4651
4676
|
litellmModelId?: string | undefined;
|
|
4652
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
4677
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
4653
4678
|
mode?: string | undefined;
|
|
4654
4679
|
customInstructions?: string | undefined;
|
|
4655
4680
|
customModes?: {
|
|
@@ -4692,6 +4717,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4692
4717
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
4693
4718
|
alwaysAllowWrite?: boolean | undefined;
|
|
4694
4719
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
4720
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
4695
4721
|
writeDelayMs?: number | undefined;
|
|
4696
4722
|
alwaysAllowBrowser?: boolean | undefined;
|
|
4697
4723
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -4731,8 +4757,10 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4731
4757
|
terminalZdotdir?: boolean | undefined;
|
|
4732
4758
|
terminalCompressProgressBar?: boolean | undefined;
|
|
4733
4759
|
experiments?: {
|
|
4734
|
-
powerSteering
|
|
4735
|
-
|
|
4760
|
+
powerSteering?: boolean | undefined;
|
|
4761
|
+
disableCompletionCommand?: boolean | undefined;
|
|
4762
|
+
marketplace?: boolean | undefined;
|
|
4763
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
4736
4764
|
} | undefined;
|
|
4737
4765
|
codebaseIndexModels?: {
|
|
4738
4766
|
openai?: Record<string, {
|
|
@@ -4741,11 +4769,14 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4741
4769
|
ollama?: Record<string, {
|
|
4742
4770
|
dimension: number;
|
|
4743
4771
|
}> | undefined;
|
|
4772
|
+
"openai-compatible"?: Record<string, {
|
|
4773
|
+
dimension: number;
|
|
4774
|
+
}> | undefined;
|
|
4744
4775
|
} | undefined;
|
|
4745
4776
|
codebaseIndexConfig?: {
|
|
4746
4777
|
codebaseIndexEnabled?: boolean | undefined;
|
|
4747
4778
|
codebaseIndexQdrantUrl?: string | undefined;
|
|
4748
|
-
codebaseIndexEmbedderProvider?: "openai" | "ollama" | undefined;
|
|
4779
|
+
codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
|
|
4749
4780
|
codebaseIndexEmbedderBaseUrl?: string | undefined;
|
|
4750
4781
|
codebaseIndexEmbedderModelId?: string | undefined;
|
|
4751
4782
|
} | undefined;
|
|
@@ -4766,8 +4797,8 @@ type RooCodeSettings = GlobalSettings & ProviderSettings;
|
|
|
4766
4797
|
/**
|
|
4767
4798
|
* SecretState
|
|
4768
4799
|
*/
|
|
4769
|
-
|
|
4770
|
-
|
|
4800
|
+
declare const SECRET_STATE_KEYS: readonly ["apiKey", "glamaApiKey", "openRouterApiKey", "awsAccessKey", "awsSecretKey", "awsSessionToken", "openAiApiKey", "geminiApiKey", "openAiNativeApiKey", "deepSeekApiKey", "mistralApiKey", "unboundApiKey", "requestyApiKey", "xaiApiKey", "groqApiKey", "chutesApiKey", "litellmApiKey", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleApiKey"];
|
|
4801
|
+
type SecretState = Pick<ProviderSettings, (typeof SECRET_STATE_KEYS)[number]>;
|
|
4771
4802
|
declare const isSecretStateKey: (key: string) => key is Keys<SecretState>;
|
|
4772
4803
|
/**
|
|
4773
4804
|
* GlobalState
|
|
@@ -4775,16 +4806,75 @@ declare const isSecretStateKey: (key: string) => key is Keys<SecretState>;
|
|
|
4775
4806
|
type GlobalState = Omit<RooCodeSettings, Keys<SecretState>>;
|
|
4776
4807
|
declare const GLOBAL_STATE_KEYS: Keys<GlobalState>[];
|
|
4777
4808
|
declare const isGlobalStateKey: (key: string) => key is Keys<GlobalState>;
|
|
4809
|
+
/**
|
|
4810
|
+
* Evals
|
|
4811
|
+
*/
|
|
4812
|
+
declare const EVALS_SETTINGS: RooCodeSettings;
|
|
4813
|
+
declare const EVALS_TIMEOUT: number;
|
|
4778
4814
|
|
|
4779
4815
|
/**
|
|
4780
4816
|
* ClineAsk
|
|
4781
4817
|
*/
|
|
4818
|
+
/**
|
|
4819
|
+
* Array of possible ask types that the LLM can use to request user interaction or approval.
|
|
4820
|
+
* These represent different scenarios where the assistant needs user input to proceed.
|
|
4821
|
+
*
|
|
4822
|
+
* @constant
|
|
4823
|
+
* @readonly
|
|
4824
|
+
*
|
|
4825
|
+
* Ask type descriptions:
|
|
4826
|
+
* - `followup`: LLM asks a clarifying question to gather more information needed to complete the task
|
|
4827
|
+
* - `command`: Permission to execute a terminal/shell command
|
|
4828
|
+
* - `command_output`: Permission to read the output from a previously executed command
|
|
4829
|
+
* - `completion_result`: Task has been completed, awaiting user feedback or a new task
|
|
4830
|
+
* - `tool`: Permission to use a tool for file operations (read, write, search, etc.)
|
|
4831
|
+
* - `api_req_failed`: API request failed, asking user whether to retry
|
|
4832
|
+
* - `resume_task`: Confirmation needed to resume a previously paused task
|
|
4833
|
+
* - `resume_completed_task`: Confirmation needed to resume a task that was already marked as completed
|
|
4834
|
+
* - `mistake_limit_reached`: Too many errors encountered, needs user guidance on how to proceed
|
|
4835
|
+
* - `browser_action_launch`: Permission to open or interact with a browser
|
|
4836
|
+
* - `use_mcp_server`: Permission to use Model Context Protocol (MCP) server functionality
|
|
4837
|
+
* - `auto_approval_max_req_reached`: Auto-approval limit has been reached, manual approval required
|
|
4838
|
+
*/
|
|
4782
4839
|
declare const clineAsks: readonly ["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"];
|
|
4783
4840
|
declare const clineAskSchema: z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached"]>;
|
|
4784
4841
|
type ClineAsk = z.infer<typeof clineAskSchema>;
|
|
4785
4842
|
/**
|
|
4786
4843
|
* ClineSay
|
|
4787
4844
|
*/
|
|
4845
|
+
/**
|
|
4846
|
+
* Array of possible say types that represent different kinds of messages the assistant can send.
|
|
4847
|
+
* These are used to categorize and handle various types of communication from the LLM to the user.
|
|
4848
|
+
*
|
|
4849
|
+
* @constant
|
|
4850
|
+
* @readonly
|
|
4851
|
+
*
|
|
4852
|
+
* Say type descriptions:
|
|
4853
|
+
* - `error`: General error message
|
|
4854
|
+
* - `api_req_started`: Indicates an API request has been initiated
|
|
4855
|
+
* - `api_req_finished`: Indicates an API request has completed successfully
|
|
4856
|
+
* - `api_req_retried`: Indicates an API request is being retried after a failure
|
|
4857
|
+
* - `api_req_retry_delayed`: Indicates an API request retry has been delayed
|
|
4858
|
+
* - `api_req_deleted`: Indicates an API request has been deleted/cancelled
|
|
4859
|
+
* - `text`: General text message or assistant response
|
|
4860
|
+
* - `reasoning`: Assistant's reasoning or thought process (often hidden from user)
|
|
4861
|
+
* - `completion_result`: Final result of task completion
|
|
4862
|
+
* - `user_feedback`: Message containing user feedback
|
|
4863
|
+
* - `user_feedback_diff`: Diff-formatted feedback from user showing requested changes
|
|
4864
|
+
* - `command_output`: Output from an executed command
|
|
4865
|
+
* - `shell_integration_warning`: Warning about shell integration issues or limitations
|
|
4866
|
+
* - `browser_action`: Action performed in the browser
|
|
4867
|
+
* - `browser_action_result`: Result of a browser action
|
|
4868
|
+
* - `mcp_server_request_started`: MCP server request has been initiated
|
|
4869
|
+
* - `mcp_server_response`: Response received from MCP server
|
|
4870
|
+
* - `subtask_result`: Result of a completed subtask
|
|
4871
|
+
* - `checkpoint_saved`: Indicates a checkpoint has been saved
|
|
4872
|
+
* - `rooignore_error`: Error related to .rooignore file processing
|
|
4873
|
+
* - `diff_error`: Error occurred while applying a diff/patch
|
|
4874
|
+
* - `condense_context`: Context condensation/summarization has started
|
|
4875
|
+
* - `condense_context_error`: Error occurred during context condensation
|
|
4876
|
+
* - `codebase_search_result`: Results from searching the codebase
|
|
4877
|
+
*/
|
|
4788
4878
|
declare const clineSays: readonly ["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result"];
|
|
4789
4879
|
declare const clineSaySchema: z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result"]>;
|
|
4790
4880
|
type ClineSay = z.infer<typeof clineSaySchema>;
|
|
@@ -4862,6 +4952,7 @@ declare const clineMessageSchema: z.ZodObject<{
|
|
|
4862
4952
|
newContextTokens: number;
|
|
4863
4953
|
summary: string;
|
|
4864
4954
|
}>>;
|
|
4955
|
+
isProtected: z.ZodOptional<z.ZodBoolean>;
|
|
4865
4956
|
}, "strip", z.ZodTypeAny, {
|
|
4866
4957
|
type: "ask" | "say";
|
|
4867
4958
|
ts: number;
|
|
@@ -4883,6 +4974,7 @@ declare const clineMessageSchema: z.ZodObject<{
|
|
|
4883
4974
|
newContextTokens: number;
|
|
4884
4975
|
summary: string;
|
|
4885
4976
|
} | undefined;
|
|
4977
|
+
isProtected?: boolean | undefined;
|
|
4886
4978
|
}, {
|
|
4887
4979
|
type: "ask" | "say";
|
|
4888
4980
|
ts: number;
|
|
@@ -4904,6 +4996,7 @@ declare const clineMessageSchema: z.ZodObject<{
|
|
|
4904
4996
|
newContextTokens: number;
|
|
4905
4997
|
summary: string;
|
|
4906
4998
|
} | undefined;
|
|
4999
|
+
isProtected?: boolean | undefined;
|
|
4907
5000
|
}>;
|
|
4908
5001
|
type ClineMessage = z.infer<typeof clineMessageSchema>;
|
|
4909
5002
|
/**
|
|
@@ -5020,6 +5113,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
5020
5113
|
newContextTokens: number;
|
|
5021
5114
|
summary: string;
|
|
5022
5115
|
}>>;
|
|
5116
|
+
isProtected: z.ZodOptional<z.ZodBoolean>;
|
|
5023
5117
|
}, "strip", z.ZodTypeAny, {
|
|
5024
5118
|
type: "ask" | "say";
|
|
5025
5119
|
ts: number;
|
|
@@ -5041,6 +5135,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
5041
5135
|
newContextTokens: number;
|
|
5042
5136
|
summary: string;
|
|
5043
5137
|
} | undefined;
|
|
5138
|
+
isProtected?: boolean | undefined;
|
|
5044
5139
|
}, {
|
|
5045
5140
|
type: "ask" | "say";
|
|
5046
5141
|
ts: number;
|
|
@@ -5062,6 +5157,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
5062
5157
|
newContextTokens: number;
|
|
5063
5158
|
summary: string;
|
|
5064
5159
|
} | undefined;
|
|
5160
|
+
isProtected?: boolean | undefined;
|
|
5065
5161
|
}>;
|
|
5066
5162
|
}, "strip", z.ZodTypeAny, {
|
|
5067
5163
|
message: {
|
|
@@ -5085,6 +5181,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
5085
5181
|
newContextTokens: number;
|
|
5086
5182
|
summary: string;
|
|
5087
5183
|
} | undefined;
|
|
5184
|
+
isProtected?: boolean | undefined;
|
|
5088
5185
|
};
|
|
5089
5186
|
taskId: string;
|
|
5090
5187
|
action: "created" | "updated";
|
|
@@ -5110,6 +5207,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
5110
5207
|
newContextTokens: number;
|
|
5111
5208
|
summary: string;
|
|
5112
5209
|
} | undefined;
|
|
5210
|
+
isProtected?: boolean | undefined;
|
|
5113
5211
|
};
|
|
5114
5212
|
taskId: string;
|
|
5115
5213
|
action: "created" | "updated";
|
|
@@ -5199,6 +5297,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
5199
5297
|
newContextTokens: number;
|
|
5200
5298
|
summary: string;
|
|
5201
5299
|
} | undefined;
|
|
5300
|
+
isProtected?: boolean | undefined;
|
|
5202
5301
|
};
|
|
5203
5302
|
taskId: string;
|
|
5204
5303
|
action: "created" | "updated";
|
|
@@ -5254,6 +5353,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
5254
5353
|
newContextTokens: number;
|
|
5255
5354
|
summary: string;
|
|
5256
5355
|
} | undefined;
|
|
5356
|
+
isProtected?: boolean | undefined;
|
|
5257
5357
|
};
|
|
5258
5358
|
taskId: string;
|
|
5259
5359
|
action: "created" | "updated";
|
|
@@ -5319,6 +5419,9 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
5319
5419
|
configuration: z.ZodObject<{
|
|
5320
5420
|
codeIndexOpenAiKey: z.ZodOptional<z.ZodString>;
|
|
5321
5421
|
codeIndexQdrantApiKey: z.ZodOptional<z.ZodString>;
|
|
5422
|
+
codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
|
|
5423
|
+
codebaseIndexOpenAiCompatibleApiKey: z.ZodOptional<z.ZodString>;
|
|
5424
|
+
codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
|
|
5322
5425
|
includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
5323
5426
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5324
5427
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5560,6 +5663,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
5560
5663
|
alwaysAllowReadOnlyOutsideWorkspace: z.ZodOptional<z.ZodBoolean>;
|
|
5561
5664
|
alwaysAllowWrite: z.ZodOptional<z.ZodBoolean>;
|
|
5562
5665
|
alwaysAllowWriteOutsideWorkspace: z.ZodOptional<z.ZodBoolean>;
|
|
5666
|
+
alwaysAllowWriteProtected: z.ZodOptional<z.ZodBoolean>;
|
|
5563
5667
|
writeDelayMs: z.ZodOptional<z.ZodNumber>;
|
|
5564
5668
|
alwaysAllowBrowser: z.ZodOptional<z.ZodBoolean>;
|
|
5565
5669
|
alwaysApproveResubmit: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5602,14 +5706,20 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
5602
5706
|
diffEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
5603
5707
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
5604
5708
|
experiments: z.ZodOptional<z.ZodObject<{
|
|
5605
|
-
powerSteering: z.ZodBoolean
|
|
5606
|
-
|
|
5709
|
+
powerSteering: z.ZodOptional<z.ZodBoolean>;
|
|
5710
|
+
disableCompletionCommand: z.ZodOptional<z.ZodBoolean>;
|
|
5711
|
+
marketplace: z.ZodOptional<z.ZodBoolean>;
|
|
5712
|
+
multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
|
|
5607
5713
|
}, "strip", z.ZodTypeAny, {
|
|
5608
|
-
powerSteering
|
|
5609
|
-
|
|
5714
|
+
powerSteering?: boolean | undefined;
|
|
5715
|
+
disableCompletionCommand?: boolean | undefined;
|
|
5716
|
+
marketplace?: boolean | undefined;
|
|
5717
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
5610
5718
|
}, {
|
|
5611
|
-
powerSteering
|
|
5612
|
-
|
|
5719
|
+
powerSteering?: boolean | undefined;
|
|
5720
|
+
disableCompletionCommand?: boolean | undefined;
|
|
5721
|
+
marketplace?: boolean | undefined;
|
|
5722
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
5613
5723
|
}>>;
|
|
5614
5724
|
codebaseIndexModels: z.ZodOptional<z.ZodObject<{
|
|
5615
5725
|
openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -5626,6 +5736,13 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
5626
5736
|
}, {
|
|
5627
5737
|
dimension: number;
|
|
5628
5738
|
}>>>;
|
|
5739
|
+
"openai-compatible": z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5740
|
+
dimension: z.ZodNumber;
|
|
5741
|
+
}, "strip", z.ZodTypeAny, {
|
|
5742
|
+
dimension: number;
|
|
5743
|
+
}, {
|
|
5744
|
+
dimension: number;
|
|
5745
|
+
}>>>;
|
|
5629
5746
|
}, "strip", z.ZodTypeAny, {
|
|
5630
5747
|
openai?: Record<string, {
|
|
5631
5748
|
dimension: number;
|
|
@@ -5633,6 +5750,9 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
5633
5750
|
ollama?: Record<string, {
|
|
5634
5751
|
dimension: number;
|
|
5635
5752
|
}> | undefined;
|
|
5753
|
+
"openai-compatible"?: Record<string, {
|
|
5754
|
+
dimension: number;
|
|
5755
|
+
}> | undefined;
|
|
5636
5756
|
}, {
|
|
5637
5757
|
openai?: Record<string, {
|
|
5638
5758
|
dimension: number;
|
|
@@ -5640,27 +5760,30 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
5640
5760
|
ollama?: Record<string, {
|
|
5641
5761
|
dimension: number;
|
|
5642
5762
|
}> | undefined;
|
|
5763
|
+
"openai-compatible"?: Record<string, {
|
|
5764
|
+
dimension: number;
|
|
5765
|
+
}> | undefined;
|
|
5643
5766
|
}>>;
|
|
5644
5767
|
codebaseIndexConfig: z.ZodOptional<z.ZodObject<{
|
|
5645
5768
|
codebaseIndexEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
5646
5769
|
codebaseIndexQdrantUrl: z.ZodOptional<z.ZodString>;
|
|
5647
|
-
codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama"]>>;
|
|
5770
|
+
codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama", "openai-compatible"]>>;
|
|
5648
5771
|
codebaseIndexEmbedderBaseUrl: z.ZodOptional<z.ZodString>;
|
|
5649
5772
|
codebaseIndexEmbedderModelId: z.ZodOptional<z.ZodString>;
|
|
5650
5773
|
}, "strip", z.ZodTypeAny, {
|
|
5651
5774
|
codebaseIndexEnabled?: boolean | undefined;
|
|
5652
5775
|
codebaseIndexQdrantUrl?: string | undefined;
|
|
5653
|
-
codebaseIndexEmbedderProvider?: "openai" | "ollama" | undefined;
|
|
5776
|
+
codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
|
|
5654
5777
|
codebaseIndexEmbedderBaseUrl?: string | undefined;
|
|
5655
5778
|
codebaseIndexEmbedderModelId?: string | undefined;
|
|
5656
5779
|
}, {
|
|
5657
5780
|
codebaseIndexEnabled?: boolean | undefined;
|
|
5658
5781
|
codebaseIndexQdrantUrl?: string | undefined;
|
|
5659
|
-
codebaseIndexEmbedderProvider?: "openai" | "ollama" | undefined;
|
|
5782
|
+
codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
|
|
5660
5783
|
codebaseIndexEmbedderBaseUrl?: string | undefined;
|
|
5661
5784
|
codebaseIndexEmbedderModelId?: string | undefined;
|
|
5662
5785
|
}>>;
|
|
5663
|
-
language: z.ZodOptional<z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"]>>;
|
|
5786
|
+
language: z.ZodOptional<z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "id", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"]>>;
|
|
5664
5787
|
telemetrySetting: z.ZodOptional<z.ZodEnum<["unset", "enabled", "disabled"]>>;
|
|
5665
5788
|
mcpEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
5666
5789
|
enableMcpServerCreation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5732,6 +5855,9 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
5732
5855
|
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
5733
5856
|
codeIndexOpenAiKey?: string | undefined;
|
|
5734
5857
|
codeIndexQdrantApiKey?: string | undefined;
|
|
5858
|
+
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
5859
|
+
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
5860
|
+
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
5735
5861
|
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
5736
5862
|
includeMaxTokens?: boolean | undefined;
|
|
5737
5863
|
diffEnabled?: boolean | undefined;
|
|
@@ -5837,7 +5963,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
5837
5963
|
litellmBaseUrl?: string | undefined;
|
|
5838
5964
|
litellmApiKey?: string | undefined;
|
|
5839
5965
|
litellmModelId?: string | undefined;
|
|
5840
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
5966
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
5841
5967
|
mode?: string | undefined;
|
|
5842
5968
|
customInstructions?: string | undefined;
|
|
5843
5969
|
customModes?: {
|
|
@@ -5880,6 +6006,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
5880
6006
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
5881
6007
|
alwaysAllowWrite?: boolean | undefined;
|
|
5882
6008
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
6009
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
5883
6010
|
writeDelayMs?: number | undefined;
|
|
5884
6011
|
alwaysAllowBrowser?: boolean | undefined;
|
|
5885
6012
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -5919,8 +6046,10 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
5919
6046
|
terminalZdotdir?: boolean | undefined;
|
|
5920
6047
|
terminalCompressProgressBar?: boolean | undefined;
|
|
5921
6048
|
experiments?: {
|
|
5922
|
-
powerSteering
|
|
5923
|
-
|
|
6049
|
+
powerSteering?: boolean | undefined;
|
|
6050
|
+
disableCompletionCommand?: boolean | undefined;
|
|
6051
|
+
marketplace?: boolean | undefined;
|
|
6052
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
5924
6053
|
} | undefined;
|
|
5925
6054
|
codebaseIndexModels?: {
|
|
5926
6055
|
openai?: Record<string, {
|
|
@@ -5929,11 +6058,14 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
5929
6058
|
ollama?: Record<string, {
|
|
5930
6059
|
dimension: number;
|
|
5931
6060
|
}> | undefined;
|
|
6061
|
+
"openai-compatible"?: Record<string, {
|
|
6062
|
+
dimension: number;
|
|
6063
|
+
}> | undefined;
|
|
5932
6064
|
} | undefined;
|
|
5933
6065
|
codebaseIndexConfig?: {
|
|
5934
6066
|
codebaseIndexEnabled?: boolean | undefined;
|
|
5935
6067
|
codebaseIndexQdrantUrl?: string | undefined;
|
|
5936
|
-
codebaseIndexEmbedderProvider?: "openai" | "ollama" | undefined;
|
|
6068
|
+
codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
|
|
5937
6069
|
codebaseIndexEmbedderBaseUrl?: string | undefined;
|
|
5938
6070
|
codebaseIndexEmbedderModelId?: string | undefined;
|
|
5939
6071
|
} | undefined;
|
|
@@ -5953,6 +6085,9 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
5953
6085
|
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
5954
6086
|
codeIndexOpenAiKey?: string | undefined;
|
|
5955
6087
|
codeIndexQdrantApiKey?: string | undefined;
|
|
6088
|
+
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
6089
|
+
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
6090
|
+
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
5956
6091
|
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
5957
6092
|
includeMaxTokens?: boolean | undefined;
|
|
5958
6093
|
diffEnabled?: boolean | undefined;
|
|
@@ -6058,7 +6193,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6058
6193
|
litellmBaseUrl?: string | undefined;
|
|
6059
6194
|
litellmApiKey?: string | undefined;
|
|
6060
6195
|
litellmModelId?: string | undefined;
|
|
6061
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
6196
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
6062
6197
|
mode?: string | undefined;
|
|
6063
6198
|
customInstructions?: string | undefined;
|
|
6064
6199
|
customModes?: {
|
|
@@ -6101,6 +6236,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6101
6236
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
6102
6237
|
alwaysAllowWrite?: boolean | undefined;
|
|
6103
6238
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
6239
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
6104
6240
|
writeDelayMs?: number | undefined;
|
|
6105
6241
|
alwaysAllowBrowser?: boolean | undefined;
|
|
6106
6242
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -6140,8 +6276,10 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6140
6276
|
terminalZdotdir?: boolean | undefined;
|
|
6141
6277
|
terminalCompressProgressBar?: boolean | undefined;
|
|
6142
6278
|
experiments?: {
|
|
6143
|
-
powerSteering
|
|
6144
|
-
|
|
6279
|
+
powerSteering?: boolean | undefined;
|
|
6280
|
+
disableCompletionCommand?: boolean | undefined;
|
|
6281
|
+
marketplace?: boolean | undefined;
|
|
6282
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
6145
6283
|
} | undefined;
|
|
6146
6284
|
codebaseIndexModels?: {
|
|
6147
6285
|
openai?: Record<string, {
|
|
@@ -6150,11 +6288,14 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6150
6288
|
ollama?: Record<string, {
|
|
6151
6289
|
dimension: number;
|
|
6152
6290
|
}> | undefined;
|
|
6291
|
+
"openai-compatible"?: Record<string, {
|
|
6292
|
+
dimension: number;
|
|
6293
|
+
}> | undefined;
|
|
6153
6294
|
} | undefined;
|
|
6154
6295
|
codebaseIndexConfig?: {
|
|
6155
6296
|
codebaseIndexEnabled?: boolean | undefined;
|
|
6156
6297
|
codebaseIndexQdrantUrl?: string | undefined;
|
|
6157
|
-
codebaseIndexEmbedderProvider?: "openai" | "ollama" | undefined;
|
|
6298
|
+
codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
|
|
6158
6299
|
codebaseIndexEmbedderBaseUrl?: string | undefined;
|
|
6159
6300
|
codebaseIndexEmbedderModelId?: string | undefined;
|
|
6160
6301
|
} | undefined;
|
|
@@ -6180,6 +6321,9 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6180
6321
|
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
6181
6322
|
codeIndexOpenAiKey?: string | undefined;
|
|
6182
6323
|
codeIndexQdrantApiKey?: string | undefined;
|
|
6324
|
+
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
6325
|
+
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
6326
|
+
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
6183
6327
|
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
6184
6328
|
includeMaxTokens?: boolean | undefined;
|
|
6185
6329
|
diffEnabled?: boolean | undefined;
|
|
@@ -6285,7 +6429,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6285
6429
|
litellmBaseUrl?: string | undefined;
|
|
6286
6430
|
litellmApiKey?: string | undefined;
|
|
6287
6431
|
litellmModelId?: string | undefined;
|
|
6288
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
6432
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
6289
6433
|
mode?: string | undefined;
|
|
6290
6434
|
customInstructions?: string | undefined;
|
|
6291
6435
|
customModes?: {
|
|
@@ -6328,6 +6472,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6328
6472
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
6329
6473
|
alwaysAllowWrite?: boolean | undefined;
|
|
6330
6474
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
6475
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
6331
6476
|
writeDelayMs?: number | undefined;
|
|
6332
6477
|
alwaysAllowBrowser?: boolean | undefined;
|
|
6333
6478
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -6367,8 +6512,10 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6367
6512
|
terminalZdotdir?: boolean | undefined;
|
|
6368
6513
|
terminalCompressProgressBar?: boolean | undefined;
|
|
6369
6514
|
experiments?: {
|
|
6370
|
-
powerSteering
|
|
6371
|
-
|
|
6515
|
+
powerSteering?: boolean | undefined;
|
|
6516
|
+
disableCompletionCommand?: boolean | undefined;
|
|
6517
|
+
marketplace?: boolean | undefined;
|
|
6518
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
6372
6519
|
} | undefined;
|
|
6373
6520
|
codebaseIndexModels?: {
|
|
6374
6521
|
openai?: Record<string, {
|
|
@@ -6377,11 +6524,14 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6377
6524
|
ollama?: Record<string, {
|
|
6378
6525
|
dimension: number;
|
|
6379
6526
|
}> | undefined;
|
|
6527
|
+
"openai-compatible"?: Record<string, {
|
|
6528
|
+
dimension: number;
|
|
6529
|
+
}> | undefined;
|
|
6380
6530
|
} | undefined;
|
|
6381
6531
|
codebaseIndexConfig?: {
|
|
6382
6532
|
codebaseIndexEnabled?: boolean | undefined;
|
|
6383
6533
|
codebaseIndexQdrantUrl?: string | undefined;
|
|
6384
|
-
codebaseIndexEmbedderProvider?: "openai" | "ollama" | undefined;
|
|
6534
|
+
codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
|
|
6385
6535
|
codebaseIndexEmbedderBaseUrl?: string | undefined;
|
|
6386
6536
|
codebaseIndexEmbedderModelId?: string | undefined;
|
|
6387
6537
|
} | undefined;
|
|
@@ -6406,6 +6556,9 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6406
6556
|
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
6407
6557
|
codeIndexOpenAiKey?: string | undefined;
|
|
6408
6558
|
codeIndexQdrantApiKey?: string | undefined;
|
|
6559
|
+
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
6560
|
+
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
6561
|
+
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
6409
6562
|
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
6410
6563
|
includeMaxTokens?: boolean | undefined;
|
|
6411
6564
|
diffEnabled?: boolean | undefined;
|
|
@@ -6511,7 +6664,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6511
6664
|
litellmBaseUrl?: string | undefined;
|
|
6512
6665
|
litellmApiKey?: string | undefined;
|
|
6513
6666
|
litellmModelId?: string | undefined;
|
|
6514
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
6667
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
6515
6668
|
mode?: string | undefined;
|
|
6516
6669
|
customInstructions?: string | undefined;
|
|
6517
6670
|
customModes?: {
|
|
@@ -6554,6 +6707,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6554
6707
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
6555
6708
|
alwaysAllowWrite?: boolean | undefined;
|
|
6556
6709
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
6710
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
6557
6711
|
writeDelayMs?: number | undefined;
|
|
6558
6712
|
alwaysAllowBrowser?: boolean | undefined;
|
|
6559
6713
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -6593,8 +6747,10 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6593
6747
|
terminalZdotdir?: boolean | undefined;
|
|
6594
6748
|
terminalCompressProgressBar?: boolean | undefined;
|
|
6595
6749
|
experiments?: {
|
|
6596
|
-
powerSteering
|
|
6597
|
-
|
|
6750
|
+
powerSteering?: boolean | undefined;
|
|
6751
|
+
disableCompletionCommand?: boolean | undefined;
|
|
6752
|
+
marketplace?: boolean | undefined;
|
|
6753
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
6598
6754
|
} | undefined;
|
|
6599
6755
|
codebaseIndexModels?: {
|
|
6600
6756
|
openai?: Record<string, {
|
|
@@ -6603,11 +6759,14 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6603
6759
|
ollama?: Record<string, {
|
|
6604
6760
|
dimension: number;
|
|
6605
6761
|
}> | undefined;
|
|
6762
|
+
"openai-compatible"?: Record<string, {
|
|
6763
|
+
dimension: number;
|
|
6764
|
+
}> | undefined;
|
|
6606
6765
|
} | undefined;
|
|
6607
6766
|
codebaseIndexConfig?: {
|
|
6608
6767
|
codebaseIndexEnabled?: boolean | undefined;
|
|
6609
6768
|
codebaseIndexQdrantUrl?: string | undefined;
|
|
6610
|
-
codebaseIndexEmbedderProvider?: "openai" | "ollama" | undefined;
|
|
6769
|
+
codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
|
|
6611
6770
|
codebaseIndexEmbedderBaseUrl?: string | undefined;
|
|
6612
6771
|
codebaseIndexEmbedderModelId?: string | undefined;
|
|
6613
6772
|
} | undefined;
|
|
@@ -6635,6 +6794,9 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6635
6794
|
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
6636
6795
|
codeIndexOpenAiKey?: string | undefined;
|
|
6637
6796
|
codeIndexQdrantApiKey?: string | undefined;
|
|
6797
|
+
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
6798
|
+
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
6799
|
+
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
6638
6800
|
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
6639
6801
|
includeMaxTokens?: boolean | undefined;
|
|
6640
6802
|
diffEnabled?: boolean | undefined;
|
|
@@ -6740,7 +6902,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6740
6902
|
litellmBaseUrl?: string | undefined;
|
|
6741
6903
|
litellmApiKey?: string | undefined;
|
|
6742
6904
|
litellmModelId?: string | undefined;
|
|
6743
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
6905
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
6744
6906
|
mode?: string | undefined;
|
|
6745
6907
|
customInstructions?: string | undefined;
|
|
6746
6908
|
customModes?: {
|
|
@@ -6783,6 +6945,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6783
6945
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
6784
6946
|
alwaysAllowWrite?: boolean | undefined;
|
|
6785
6947
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
6948
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
6786
6949
|
writeDelayMs?: number | undefined;
|
|
6787
6950
|
alwaysAllowBrowser?: boolean | undefined;
|
|
6788
6951
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -6822,8 +6985,10 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6822
6985
|
terminalZdotdir?: boolean | undefined;
|
|
6823
6986
|
terminalCompressProgressBar?: boolean | undefined;
|
|
6824
6987
|
experiments?: {
|
|
6825
|
-
powerSteering
|
|
6826
|
-
|
|
6988
|
+
powerSteering?: boolean | undefined;
|
|
6989
|
+
disableCompletionCommand?: boolean | undefined;
|
|
6990
|
+
marketplace?: boolean | undefined;
|
|
6991
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
6827
6992
|
} | undefined;
|
|
6828
6993
|
codebaseIndexModels?: {
|
|
6829
6994
|
openai?: Record<string, {
|
|
@@ -6832,11 +6997,14 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6832
6997
|
ollama?: Record<string, {
|
|
6833
6998
|
dimension: number;
|
|
6834
6999
|
}> | undefined;
|
|
7000
|
+
"openai-compatible"?: Record<string, {
|
|
7001
|
+
dimension: number;
|
|
7002
|
+
}> | undefined;
|
|
6835
7003
|
} | undefined;
|
|
6836
7004
|
codebaseIndexConfig?: {
|
|
6837
7005
|
codebaseIndexEnabled?: boolean | undefined;
|
|
6838
7006
|
codebaseIndexQdrantUrl?: string | undefined;
|
|
6839
|
-
codebaseIndexEmbedderProvider?: "openai" | "ollama" | undefined;
|
|
7007
|
+
codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
|
|
6840
7008
|
codebaseIndexEmbedderBaseUrl?: string | undefined;
|
|
6841
7009
|
codebaseIndexEmbedderModelId?: string | undefined;
|
|
6842
7010
|
} | undefined;
|
|
@@ -6864,6 +7032,9 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6864
7032
|
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
6865
7033
|
codeIndexOpenAiKey?: string | undefined;
|
|
6866
7034
|
codeIndexQdrantApiKey?: string | undefined;
|
|
7035
|
+
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
7036
|
+
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
7037
|
+
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
6867
7038
|
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
6868
7039
|
includeMaxTokens?: boolean | undefined;
|
|
6869
7040
|
diffEnabled?: boolean | undefined;
|
|
@@ -6969,7 +7140,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6969
7140
|
litellmBaseUrl?: string | undefined;
|
|
6970
7141
|
litellmApiKey?: string | undefined;
|
|
6971
7142
|
litellmModelId?: string | undefined;
|
|
6972
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
7143
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
6973
7144
|
mode?: string | undefined;
|
|
6974
7145
|
customInstructions?: string | undefined;
|
|
6975
7146
|
customModes?: {
|
|
@@ -7012,6 +7183,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7012
7183
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
7013
7184
|
alwaysAllowWrite?: boolean | undefined;
|
|
7014
7185
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
7186
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
7015
7187
|
writeDelayMs?: number | undefined;
|
|
7016
7188
|
alwaysAllowBrowser?: boolean | undefined;
|
|
7017
7189
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -7051,8 +7223,10 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7051
7223
|
terminalZdotdir?: boolean | undefined;
|
|
7052
7224
|
terminalCompressProgressBar?: boolean | undefined;
|
|
7053
7225
|
experiments?: {
|
|
7054
|
-
powerSteering
|
|
7055
|
-
|
|
7226
|
+
powerSteering?: boolean | undefined;
|
|
7227
|
+
disableCompletionCommand?: boolean | undefined;
|
|
7228
|
+
marketplace?: boolean | undefined;
|
|
7229
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
7056
7230
|
} | undefined;
|
|
7057
7231
|
codebaseIndexModels?: {
|
|
7058
7232
|
openai?: Record<string, {
|
|
@@ -7061,11 +7235,14 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7061
7235
|
ollama?: Record<string, {
|
|
7062
7236
|
dimension: number;
|
|
7063
7237
|
}> | undefined;
|
|
7238
|
+
"openai-compatible"?: Record<string, {
|
|
7239
|
+
dimension: number;
|
|
7240
|
+
}> | undefined;
|
|
7064
7241
|
} | undefined;
|
|
7065
7242
|
codebaseIndexConfig?: {
|
|
7066
7243
|
codebaseIndexEnabled?: boolean | undefined;
|
|
7067
7244
|
codebaseIndexQdrantUrl?: string | undefined;
|
|
7068
|
-
codebaseIndexEmbedderProvider?: "openai" | "ollama" | undefined;
|
|
7245
|
+
codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
|
|
7069
7246
|
codebaseIndexEmbedderBaseUrl?: string | undefined;
|
|
7070
7247
|
codebaseIndexEmbedderModelId?: string | undefined;
|
|
7071
7248
|
} | undefined;
|
|
@@ -7150,6 +7327,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
7150
7327
|
newContextTokens: number;
|
|
7151
7328
|
summary: string;
|
|
7152
7329
|
}>>;
|
|
7330
|
+
isProtected: z.ZodOptional<z.ZodBoolean>;
|
|
7153
7331
|
}, "strip", z.ZodTypeAny, {
|
|
7154
7332
|
type: "ask" | "say";
|
|
7155
7333
|
ts: number;
|
|
@@ -7171,6 +7349,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
7171
7349
|
newContextTokens: number;
|
|
7172
7350
|
summary: string;
|
|
7173
7351
|
} | undefined;
|
|
7352
|
+
isProtected?: boolean | undefined;
|
|
7174
7353
|
}, {
|
|
7175
7354
|
type: "ask" | "say";
|
|
7176
7355
|
ts: number;
|
|
@@ -7192,6 +7371,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
7192
7371
|
newContextTokens: number;
|
|
7193
7372
|
summary: string;
|
|
7194
7373
|
} | undefined;
|
|
7374
|
+
isProtected?: boolean | undefined;
|
|
7195
7375
|
}>;
|
|
7196
7376
|
}, "strip", z.ZodTypeAny, {
|
|
7197
7377
|
message: {
|
|
@@ -7215,6 +7395,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
7215
7395
|
newContextTokens: number;
|
|
7216
7396
|
summary: string;
|
|
7217
7397
|
} | undefined;
|
|
7398
|
+
isProtected?: boolean | undefined;
|
|
7218
7399
|
};
|
|
7219
7400
|
taskId: string;
|
|
7220
7401
|
action: "created" | "updated";
|
|
@@ -7240,6 +7421,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
7240
7421
|
newContextTokens: number;
|
|
7241
7422
|
summary: string;
|
|
7242
7423
|
} | undefined;
|
|
7424
|
+
isProtected?: boolean | undefined;
|
|
7243
7425
|
};
|
|
7244
7426
|
taskId: string;
|
|
7245
7427
|
action: "created" | "updated";
|
|
@@ -7269,6 +7451,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
7269
7451
|
newContextTokens: number;
|
|
7270
7452
|
summary: string;
|
|
7271
7453
|
} | undefined;
|
|
7454
|
+
isProtected?: boolean | undefined;
|
|
7272
7455
|
};
|
|
7273
7456
|
taskId: string;
|
|
7274
7457
|
action: "created" | "updated";
|
|
@@ -7298,6 +7481,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
7298
7481
|
newContextTokens: number;
|
|
7299
7482
|
summary: string;
|
|
7300
7483
|
} | undefined;
|
|
7484
|
+
isProtected?: boolean | undefined;
|
|
7301
7485
|
};
|
|
7302
7486
|
taskId: string;
|
|
7303
7487
|
action: "created" | "updated";
|
|
@@ -7602,6 +7786,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7602
7786
|
configuration: z.ZodObject<{
|
|
7603
7787
|
codeIndexOpenAiKey: z.ZodOptional<z.ZodString>;
|
|
7604
7788
|
codeIndexQdrantApiKey: z.ZodOptional<z.ZodString>;
|
|
7789
|
+
codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
|
|
7790
|
+
codebaseIndexOpenAiCompatibleApiKey: z.ZodOptional<z.ZodString>;
|
|
7791
|
+
codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
|
|
7605
7792
|
includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
7606
7793
|
modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7607
7794
|
enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -7843,6 +8030,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7843
8030
|
alwaysAllowReadOnlyOutsideWorkspace: z.ZodOptional<z.ZodBoolean>;
|
|
7844
8031
|
alwaysAllowWrite: z.ZodOptional<z.ZodBoolean>;
|
|
7845
8032
|
alwaysAllowWriteOutsideWorkspace: z.ZodOptional<z.ZodBoolean>;
|
|
8033
|
+
alwaysAllowWriteProtected: z.ZodOptional<z.ZodBoolean>;
|
|
7846
8034
|
writeDelayMs: z.ZodOptional<z.ZodNumber>;
|
|
7847
8035
|
alwaysAllowBrowser: z.ZodOptional<z.ZodBoolean>;
|
|
7848
8036
|
alwaysApproveResubmit: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -7885,14 +8073,20 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7885
8073
|
diffEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
7886
8074
|
fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
|
|
7887
8075
|
experiments: z.ZodOptional<z.ZodObject<{
|
|
7888
|
-
powerSteering: z.ZodBoolean
|
|
7889
|
-
|
|
8076
|
+
powerSteering: z.ZodOptional<z.ZodBoolean>;
|
|
8077
|
+
disableCompletionCommand: z.ZodOptional<z.ZodBoolean>;
|
|
8078
|
+
marketplace: z.ZodOptional<z.ZodBoolean>;
|
|
8079
|
+
multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
|
|
7890
8080
|
}, "strip", z.ZodTypeAny, {
|
|
7891
|
-
powerSteering
|
|
7892
|
-
|
|
8081
|
+
powerSteering?: boolean | undefined;
|
|
8082
|
+
disableCompletionCommand?: boolean | undefined;
|
|
8083
|
+
marketplace?: boolean | undefined;
|
|
8084
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
7893
8085
|
}, {
|
|
7894
|
-
powerSteering
|
|
7895
|
-
|
|
8086
|
+
powerSteering?: boolean | undefined;
|
|
8087
|
+
disableCompletionCommand?: boolean | undefined;
|
|
8088
|
+
marketplace?: boolean | undefined;
|
|
8089
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
7896
8090
|
}>>;
|
|
7897
8091
|
codebaseIndexModels: z.ZodOptional<z.ZodObject<{
|
|
7898
8092
|
openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -7909,6 +8103,13 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7909
8103
|
}, {
|
|
7910
8104
|
dimension: number;
|
|
7911
8105
|
}>>>;
|
|
8106
|
+
"openai-compatible": z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8107
|
+
dimension: z.ZodNumber;
|
|
8108
|
+
}, "strip", z.ZodTypeAny, {
|
|
8109
|
+
dimension: number;
|
|
8110
|
+
}, {
|
|
8111
|
+
dimension: number;
|
|
8112
|
+
}>>>;
|
|
7912
8113
|
}, "strip", z.ZodTypeAny, {
|
|
7913
8114
|
openai?: Record<string, {
|
|
7914
8115
|
dimension: number;
|
|
@@ -7916,6 +8117,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7916
8117
|
ollama?: Record<string, {
|
|
7917
8118
|
dimension: number;
|
|
7918
8119
|
}> | undefined;
|
|
8120
|
+
"openai-compatible"?: Record<string, {
|
|
8121
|
+
dimension: number;
|
|
8122
|
+
}> | undefined;
|
|
7919
8123
|
}, {
|
|
7920
8124
|
openai?: Record<string, {
|
|
7921
8125
|
dimension: number;
|
|
@@ -7923,27 +8127,30 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7923
8127
|
ollama?: Record<string, {
|
|
7924
8128
|
dimension: number;
|
|
7925
8129
|
}> | undefined;
|
|
8130
|
+
"openai-compatible"?: Record<string, {
|
|
8131
|
+
dimension: number;
|
|
8132
|
+
}> | undefined;
|
|
7926
8133
|
}>>;
|
|
7927
8134
|
codebaseIndexConfig: z.ZodOptional<z.ZodObject<{
|
|
7928
8135
|
codebaseIndexEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
7929
8136
|
codebaseIndexQdrantUrl: z.ZodOptional<z.ZodString>;
|
|
7930
|
-
codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama"]>>;
|
|
8137
|
+
codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama", "openai-compatible"]>>;
|
|
7931
8138
|
codebaseIndexEmbedderBaseUrl: z.ZodOptional<z.ZodString>;
|
|
7932
8139
|
codebaseIndexEmbedderModelId: z.ZodOptional<z.ZodString>;
|
|
7933
8140
|
}, "strip", z.ZodTypeAny, {
|
|
7934
8141
|
codebaseIndexEnabled?: boolean | undefined;
|
|
7935
8142
|
codebaseIndexQdrantUrl?: string | undefined;
|
|
7936
|
-
codebaseIndexEmbedderProvider?: "openai" | "ollama" | undefined;
|
|
8143
|
+
codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
|
|
7937
8144
|
codebaseIndexEmbedderBaseUrl?: string | undefined;
|
|
7938
8145
|
codebaseIndexEmbedderModelId?: string | undefined;
|
|
7939
8146
|
}, {
|
|
7940
8147
|
codebaseIndexEnabled?: boolean | undefined;
|
|
7941
8148
|
codebaseIndexQdrantUrl?: string | undefined;
|
|
7942
|
-
codebaseIndexEmbedderProvider?: "openai" | "ollama" | undefined;
|
|
8149
|
+
codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
|
|
7943
8150
|
codebaseIndexEmbedderBaseUrl?: string | undefined;
|
|
7944
8151
|
codebaseIndexEmbedderModelId?: string | undefined;
|
|
7945
8152
|
}>>;
|
|
7946
|
-
language: z.ZodOptional<z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"]>>;
|
|
8153
|
+
language: z.ZodOptional<z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "id", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"]>>;
|
|
7947
8154
|
telemetrySetting: z.ZodOptional<z.ZodEnum<["unset", "enabled", "disabled"]>>;
|
|
7948
8155
|
mcpEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
7949
8156
|
enableMcpServerCreation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -8015,6 +8222,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8015
8222
|
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
8016
8223
|
codeIndexOpenAiKey?: string | undefined;
|
|
8017
8224
|
codeIndexQdrantApiKey?: string | undefined;
|
|
8225
|
+
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
8226
|
+
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
8227
|
+
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
8018
8228
|
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
8019
8229
|
includeMaxTokens?: boolean | undefined;
|
|
8020
8230
|
diffEnabled?: boolean | undefined;
|
|
@@ -8120,7 +8330,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8120
8330
|
litellmBaseUrl?: string | undefined;
|
|
8121
8331
|
litellmApiKey?: string | undefined;
|
|
8122
8332
|
litellmModelId?: string | undefined;
|
|
8123
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
8333
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
8124
8334
|
mode?: string | undefined;
|
|
8125
8335
|
customInstructions?: string | undefined;
|
|
8126
8336
|
customModes?: {
|
|
@@ -8163,6 +8373,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8163
8373
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
8164
8374
|
alwaysAllowWrite?: boolean | undefined;
|
|
8165
8375
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
8376
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
8166
8377
|
writeDelayMs?: number | undefined;
|
|
8167
8378
|
alwaysAllowBrowser?: boolean | undefined;
|
|
8168
8379
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -8202,8 +8413,10 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8202
8413
|
terminalZdotdir?: boolean | undefined;
|
|
8203
8414
|
terminalCompressProgressBar?: boolean | undefined;
|
|
8204
8415
|
experiments?: {
|
|
8205
|
-
powerSteering
|
|
8206
|
-
|
|
8416
|
+
powerSteering?: boolean | undefined;
|
|
8417
|
+
disableCompletionCommand?: boolean | undefined;
|
|
8418
|
+
marketplace?: boolean | undefined;
|
|
8419
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
8207
8420
|
} | undefined;
|
|
8208
8421
|
codebaseIndexModels?: {
|
|
8209
8422
|
openai?: Record<string, {
|
|
@@ -8212,11 +8425,14 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8212
8425
|
ollama?: Record<string, {
|
|
8213
8426
|
dimension: number;
|
|
8214
8427
|
}> | undefined;
|
|
8428
|
+
"openai-compatible"?: Record<string, {
|
|
8429
|
+
dimension: number;
|
|
8430
|
+
}> | undefined;
|
|
8215
8431
|
} | undefined;
|
|
8216
8432
|
codebaseIndexConfig?: {
|
|
8217
8433
|
codebaseIndexEnabled?: boolean | undefined;
|
|
8218
8434
|
codebaseIndexQdrantUrl?: string | undefined;
|
|
8219
|
-
codebaseIndexEmbedderProvider?: "openai" | "ollama" | undefined;
|
|
8435
|
+
codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
|
|
8220
8436
|
codebaseIndexEmbedderBaseUrl?: string | undefined;
|
|
8221
8437
|
codebaseIndexEmbedderModelId?: string | undefined;
|
|
8222
8438
|
} | undefined;
|
|
@@ -8236,6 +8452,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8236
8452
|
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
8237
8453
|
codeIndexOpenAiKey?: string | undefined;
|
|
8238
8454
|
codeIndexQdrantApiKey?: string | undefined;
|
|
8455
|
+
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
8456
|
+
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
8457
|
+
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
8239
8458
|
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
8240
8459
|
includeMaxTokens?: boolean | undefined;
|
|
8241
8460
|
diffEnabled?: boolean | undefined;
|
|
@@ -8341,7 +8560,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8341
8560
|
litellmBaseUrl?: string | undefined;
|
|
8342
8561
|
litellmApiKey?: string | undefined;
|
|
8343
8562
|
litellmModelId?: string | undefined;
|
|
8344
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
8563
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
8345
8564
|
mode?: string | undefined;
|
|
8346
8565
|
customInstructions?: string | undefined;
|
|
8347
8566
|
customModes?: {
|
|
@@ -8384,6 +8603,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8384
8603
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
8385
8604
|
alwaysAllowWrite?: boolean | undefined;
|
|
8386
8605
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
8606
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
8387
8607
|
writeDelayMs?: number | undefined;
|
|
8388
8608
|
alwaysAllowBrowser?: boolean | undefined;
|
|
8389
8609
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -8423,8 +8643,10 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8423
8643
|
terminalZdotdir?: boolean | undefined;
|
|
8424
8644
|
terminalCompressProgressBar?: boolean | undefined;
|
|
8425
8645
|
experiments?: {
|
|
8426
|
-
powerSteering
|
|
8427
|
-
|
|
8646
|
+
powerSteering?: boolean | undefined;
|
|
8647
|
+
disableCompletionCommand?: boolean | undefined;
|
|
8648
|
+
marketplace?: boolean | undefined;
|
|
8649
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
8428
8650
|
} | undefined;
|
|
8429
8651
|
codebaseIndexModels?: {
|
|
8430
8652
|
openai?: Record<string, {
|
|
@@ -8433,11 +8655,14 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8433
8655
|
ollama?: Record<string, {
|
|
8434
8656
|
dimension: number;
|
|
8435
8657
|
}> | undefined;
|
|
8658
|
+
"openai-compatible"?: Record<string, {
|
|
8659
|
+
dimension: number;
|
|
8660
|
+
}> | undefined;
|
|
8436
8661
|
} | undefined;
|
|
8437
8662
|
codebaseIndexConfig?: {
|
|
8438
8663
|
codebaseIndexEnabled?: boolean | undefined;
|
|
8439
8664
|
codebaseIndexQdrantUrl?: string | undefined;
|
|
8440
|
-
codebaseIndexEmbedderProvider?: "openai" | "ollama" | undefined;
|
|
8665
|
+
codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
|
|
8441
8666
|
codebaseIndexEmbedderBaseUrl?: string | undefined;
|
|
8442
8667
|
codebaseIndexEmbedderModelId?: string | undefined;
|
|
8443
8668
|
} | undefined;
|
|
@@ -8463,6 +8688,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8463
8688
|
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
8464
8689
|
codeIndexOpenAiKey?: string | undefined;
|
|
8465
8690
|
codeIndexQdrantApiKey?: string | undefined;
|
|
8691
|
+
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
8692
|
+
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
8693
|
+
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
8466
8694
|
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
8467
8695
|
includeMaxTokens?: boolean | undefined;
|
|
8468
8696
|
diffEnabled?: boolean | undefined;
|
|
@@ -8568,7 +8796,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8568
8796
|
litellmBaseUrl?: string | undefined;
|
|
8569
8797
|
litellmApiKey?: string | undefined;
|
|
8570
8798
|
litellmModelId?: string | undefined;
|
|
8571
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
8799
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
8572
8800
|
mode?: string | undefined;
|
|
8573
8801
|
customInstructions?: string | undefined;
|
|
8574
8802
|
customModes?: {
|
|
@@ -8611,6 +8839,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8611
8839
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
8612
8840
|
alwaysAllowWrite?: boolean | undefined;
|
|
8613
8841
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
8842
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
8614
8843
|
writeDelayMs?: number | undefined;
|
|
8615
8844
|
alwaysAllowBrowser?: boolean | undefined;
|
|
8616
8845
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -8650,8 +8879,10 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8650
8879
|
terminalZdotdir?: boolean | undefined;
|
|
8651
8880
|
terminalCompressProgressBar?: boolean | undefined;
|
|
8652
8881
|
experiments?: {
|
|
8653
|
-
powerSteering
|
|
8654
|
-
|
|
8882
|
+
powerSteering?: boolean | undefined;
|
|
8883
|
+
disableCompletionCommand?: boolean | undefined;
|
|
8884
|
+
marketplace?: boolean | undefined;
|
|
8885
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
8655
8886
|
} | undefined;
|
|
8656
8887
|
codebaseIndexModels?: {
|
|
8657
8888
|
openai?: Record<string, {
|
|
@@ -8660,11 +8891,14 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8660
8891
|
ollama?: Record<string, {
|
|
8661
8892
|
dimension: number;
|
|
8662
8893
|
}> | undefined;
|
|
8894
|
+
"openai-compatible"?: Record<string, {
|
|
8895
|
+
dimension: number;
|
|
8896
|
+
}> | undefined;
|
|
8663
8897
|
} | undefined;
|
|
8664
8898
|
codebaseIndexConfig?: {
|
|
8665
8899
|
codebaseIndexEnabled?: boolean | undefined;
|
|
8666
8900
|
codebaseIndexQdrantUrl?: string | undefined;
|
|
8667
|
-
codebaseIndexEmbedderProvider?: "openai" | "ollama" | undefined;
|
|
8901
|
+
codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
|
|
8668
8902
|
codebaseIndexEmbedderBaseUrl?: string | undefined;
|
|
8669
8903
|
codebaseIndexEmbedderModelId?: string | undefined;
|
|
8670
8904
|
} | undefined;
|
|
@@ -8689,6 +8923,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8689
8923
|
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
8690
8924
|
codeIndexOpenAiKey?: string | undefined;
|
|
8691
8925
|
codeIndexQdrantApiKey?: string | undefined;
|
|
8926
|
+
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
8927
|
+
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
8928
|
+
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
8692
8929
|
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
8693
8930
|
includeMaxTokens?: boolean | undefined;
|
|
8694
8931
|
diffEnabled?: boolean | undefined;
|
|
@@ -8794,7 +9031,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8794
9031
|
litellmBaseUrl?: string | undefined;
|
|
8795
9032
|
litellmApiKey?: string | undefined;
|
|
8796
9033
|
litellmModelId?: string | undefined;
|
|
8797
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
9034
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
8798
9035
|
mode?: string | undefined;
|
|
8799
9036
|
customInstructions?: string | undefined;
|
|
8800
9037
|
customModes?: {
|
|
@@ -8837,6 +9074,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8837
9074
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
8838
9075
|
alwaysAllowWrite?: boolean | undefined;
|
|
8839
9076
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
9077
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
8840
9078
|
writeDelayMs?: number | undefined;
|
|
8841
9079
|
alwaysAllowBrowser?: boolean | undefined;
|
|
8842
9080
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -8876,8 +9114,10 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8876
9114
|
terminalZdotdir?: boolean | undefined;
|
|
8877
9115
|
terminalCompressProgressBar?: boolean | undefined;
|
|
8878
9116
|
experiments?: {
|
|
8879
|
-
powerSteering
|
|
8880
|
-
|
|
9117
|
+
powerSteering?: boolean | undefined;
|
|
9118
|
+
disableCompletionCommand?: boolean | undefined;
|
|
9119
|
+
marketplace?: boolean | undefined;
|
|
9120
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
8881
9121
|
} | undefined;
|
|
8882
9122
|
codebaseIndexModels?: {
|
|
8883
9123
|
openai?: Record<string, {
|
|
@@ -8886,11 +9126,14 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8886
9126
|
ollama?: Record<string, {
|
|
8887
9127
|
dimension: number;
|
|
8888
9128
|
}> | undefined;
|
|
9129
|
+
"openai-compatible"?: Record<string, {
|
|
9130
|
+
dimension: number;
|
|
9131
|
+
}> | undefined;
|
|
8889
9132
|
} | undefined;
|
|
8890
9133
|
codebaseIndexConfig?: {
|
|
8891
9134
|
codebaseIndexEnabled?: boolean | undefined;
|
|
8892
9135
|
codebaseIndexQdrantUrl?: string | undefined;
|
|
8893
|
-
codebaseIndexEmbedderProvider?: "openai" | "ollama" | undefined;
|
|
9136
|
+
codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
|
|
8894
9137
|
codebaseIndexEmbedderBaseUrl?: string | undefined;
|
|
8895
9138
|
codebaseIndexEmbedderModelId?: string | undefined;
|
|
8896
9139
|
} | undefined;
|
|
@@ -8918,6 +9161,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8918
9161
|
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
8919
9162
|
codeIndexOpenAiKey?: string | undefined;
|
|
8920
9163
|
codeIndexQdrantApiKey?: string | undefined;
|
|
9164
|
+
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
9165
|
+
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
9166
|
+
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
8921
9167
|
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
8922
9168
|
includeMaxTokens?: boolean | undefined;
|
|
8923
9169
|
diffEnabled?: boolean | undefined;
|
|
@@ -9023,7 +9269,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9023
9269
|
litellmBaseUrl?: string | undefined;
|
|
9024
9270
|
litellmApiKey?: string | undefined;
|
|
9025
9271
|
litellmModelId?: string | undefined;
|
|
9026
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
9272
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
9027
9273
|
mode?: string | undefined;
|
|
9028
9274
|
customInstructions?: string | undefined;
|
|
9029
9275
|
customModes?: {
|
|
@@ -9066,6 +9312,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9066
9312
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
9067
9313
|
alwaysAllowWrite?: boolean | undefined;
|
|
9068
9314
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
9315
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
9069
9316
|
writeDelayMs?: number | undefined;
|
|
9070
9317
|
alwaysAllowBrowser?: boolean | undefined;
|
|
9071
9318
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -9105,8 +9352,10 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9105
9352
|
terminalZdotdir?: boolean | undefined;
|
|
9106
9353
|
terminalCompressProgressBar?: boolean | undefined;
|
|
9107
9354
|
experiments?: {
|
|
9108
|
-
powerSteering
|
|
9109
|
-
|
|
9355
|
+
powerSteering?: boolean | undefined;
|
|
9356
|
+
disableCompletionCommand?: boolean | undefined;
|
|
9357
|
+
marketplace?: boolean | undefined;
|
|
9358
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
9110
9359
|
} | undefined;
|
|
9111
9360
|
codebaseIndexModels?: {
|
|
9112
9361
|
openai?: Record<string, {
|
|
@@ -9115,11 +9364,14 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9115
9364
|
ollama?: Record<string, {
|
|
9116
9365
|
dimension: number;
|
|
9117
9366
|
}> | undefined;
|
|
9367
|
+
"openai-compatible"?: Record<string, {
|
|
9368
|
+
dimension: number;
|
|
9369
|
+
}> | undefined;
|
|
9118
9370
|
} | undefined;
|
|
9119
9371
|
codebaseIndexConfig?: {
|
|
9120
9372
|
codebaseIndexEnabled?: boolean | undefined;
|
|
9121
9373
|
codebaseIndexQdrantUrl?: string | undefined;
|
|
9122
|
-
codebaseIndexEmbedderProvider?: "openai" | "ollama" | undefined;
|
|
9374
|
+
codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
|
|
9123
9375
|
codebaseIndexEmbedderBaseUrl?: string | undefined;
|
|
9124
9376
|
codebaseIndexEmbedderModelId?: string | undefined;
|
|
9125
9377
|
} | undefined;
|
|
@@ -9147,6 +9399,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9147
9399
|
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
9148
9400
|
codeIndexOpenAiKey?: string | undefined;
|
|
9149
9401
|
codeIndexQdrantApiKey?: string | undefined;
|
|
9402
|
+
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
9403
|
+
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
9404
|
+
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
9150
9405
|
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
9151
9406
|
includeMaxTokens?: boolean | undefined;
|
|
9152
9407
|
diffEnabled?: boolean | undefined;
|
|
@@ -9252,7 +9507,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9252
9507
|
litellmBaseUrl?: string | undefined;
|
|
9253
9508
|
litellmApiKey?: string | undefined;
|
|
9254
9509
|
litellmModelId?: string | undefined;
|
|
9255
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
9510
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
9256
9511
|
mode?: string | undefined;
|
|
9257
9512
|
customInstructions?: string | undefined;
|
|
9258
9513
|
customModes?: {
|
|
@@ -9295,6 +9550,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9295
9550
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
9296
9551
|
alwaysAllowWrite?: boolean | undefined;
|
|
9297
9552
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
9553
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
9298
9554
|
writeDelayMs?: number | undefined;
|
|
9299
9555
|
alwaysAllowBrowser?: boolean | undefined;
|
|
9300
9556
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -9334,8 +9590,10 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9334
9590
|
terminalZdotdir?: boolean | undefined;
|
|
9335
9591
|
terminalCompressProgressBar?: boolean | undefined;
|
|
9336
9592
|
experiments?: {
|
|
9337
|
-
powerSteering
|
|
9338
|
-
|
|
9593
|
+
powerSteering?: boolean | undefined;
|
|
9594
|
+
disableCompletionCommand?: boolean | undefined;
|
|
9595
|
+
marketplace?: boolean | undefined;
|
|
9596
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
9339
9597
|
} | undefined;
|
|
9340
9598
|
codebaseIndexModels?: {
|
|
9341
9599
|
openai?: Record<string, {
|
|
@@ -9344,11 +9602,14 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9344
9602
|
ollama?: Record<string, {
|
|
9345
9603
|
dimension: number;
|
|
9346
9604
|
}> | undefined;
|
|
9605
|
+
"openai-compatible"?: Record<string, {
|
|
9606
|
+
dimension: number;
|
|
9607
|
+
}> | undefined;
|
|
9347
9608
|
} | undefined;
|
|
9348
9609
|
codebaseIndexConfig?: {
|
|
9349
9610
|
codebaseIndexEnabled?: boolean | undefined;
|
|
9350
9611
|
codebaseIndexQdrantUrl?: string | undefined;
|
|
9351
|
-
codebaseIndexEmbedderProvider?: "openai" | "ollama" | undefined;
|
|
9612
|
+
codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
|
|
9352
9613
|
codebaseIndexEmbedderBaseUrl?: string | undefined;
|
|
9353
9614
|
codebaseIndexEmbedderModelId?: string | undefined;
|
|
9354
9615
|
} | undefined;
|
|
@@ -9398,6 +9659,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9398
9659
|
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
9399
9660
|
codeIndexOpenAiKey?: string | undefined;
|
|
9400
9661
|
codeIndexQdrantApiKey?: string | undefined;
|
|
9662
|
+
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
9663
|
+
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
9664
|
+
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
9401
9665
|
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
9402
9666
|
includeMaxTokens?: boolean | undefined;
|
|
9403
9667
|
diffEnabled?: boolean | undefined;
|
|
@@ -9503,7 +9767,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9503
9767
|
litellmBaseUrl?: string | undefined;
|
|
9504
9768
|
litellmApiKey?: string | undefined;
|
|
9505
9769
|
litellmModelId?: string | undefined;
|
|
9506
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
9770
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
9507
9771
|
mode?: string | undefined;
|
|
9508
9772
|
customInstructions?: string | undefined;
|
|
9509
9773
|
customModes?: {
|
|
@@ -9546,6 +9810,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9546
9810
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
9547
9811
|
alwaysAllowWrite?: boolean | undefined;
|
|
9548
9812
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
9813
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
9549
9814
|
writeDelayMs?: number | undefined;
|
|
9550
9815
|
alwaysAllowBrowser?: boolean | undefined;
|
|
9551
9816
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -9585,8 +9850,10 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9585
9850
|
terminalZdotdir?: boolean | undefined;
|
|
9586
9851
|
terminalCompressProgressBar?: boolean | undefined;
|
|
9587
9852
|
experiments?: {
|
|
9588
|
-
powerSteering
|
|
9589
|
-
|
|
9853
|
+
powerSteering?: boolean | undefined;
|
|
9854
|
+
disableCompletionCommand?: boolean | undefined;
|
|
9855
|
+
marketplace?: boolean | undefined;
|
|
9856
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
9590
9857
|
} | undefined;
|
|
9591
9858
|
codebaseIndexModels?: {
|
|
9592
9859
|
openai?: Record<string, {
|
|
@@ -9595,11 +9862,14 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9595
9862
|
ollama?: Record<string, {
|
|
9596
9863
|
dimension: number;
|
|
9597
9864
|
}> | undefined;
|
|
9865
|
+
"openai-compatible"?: Record<string, {
|
|
9866
|
+
dimension: number;
|
|
9867
|
+
}> | undefined;
|
|
9598
9868
|
} | undefined;
|
|
9599
9869
|
codebaseIndexConfig?: {
|
|
9600
9870
|
codebaseIndexEnabled?: boolean | undefined;
|
|
9601
9871
|
codebaseIndexQdrantUrl?: string | undefined;
|
|
9602
|
-
codebaseIndexEmbedderProvider?: "openai" | "ollama" | undefined;
|
|
9872
|
+
codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
|
|
9603
9873
|
codebaseIndexEmbedderBaseUrl?: string | undefined;
|
|
9604
9874
|
codebaseIndexEmbedderModelId?: string | undefined;
|
|
9605
9875
|
} | undefined;
|
|
@@ -9638,6 +9908,9 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9638
9908
|
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
9639
9909
|
codeIndexOpenAiKey?: string | undefined;
|
|
9640
9910
|
codeIndexQdrantApiKey?: string | undefined;
|
|
9911
|
+
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
9912
|
+
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
9913
|
+
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
9641
9914
|
apiProvider?: "openai" | "ollama" | "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
9642
9915
|
includeMaxTokens?: boolean | undefined;
|
|
9643
9916
|
diffEnabled?: boolean | undefined;
|
|
@@ -9743,7 +10016,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9743
10016
|
litellmBaseUrl?: string | undefined;
|
|
9744
10017
|
litellmApiKey?: string | undefined;
|
|
9745
10018
|
litellmModelId?: string | undefined;
|
|
9746
|
-
language?: "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
10019
|
+
language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
|
|
9747
10020
|
mode?: string | undefined;
|
|
9748
10021
|
customInstructions?: string | undefined;
|
|
9749
10022
|
customModes?: {
|
|
@@ -9786,6 +10059,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9786
10059
|
alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined;
|
|
9787
10060
|
alwaysAllowWrite?: boolean | undefined;
|
|
9788
10061
|
alwaysAllowWriteOutsideWorkspace?: boolean | undefined;
|
|
10062
|
+
alwaysAllowWriteProtected?: boolean | undefined;
|
|
9789
10063
|
writeDelayMs?: number | undefined;
|
|
9790
10064
|
alwaysAllowBrowser?: boolean | undefined;
|
|
9791
10065
|
alwaysApproveResubmit?: boolean | undefined;
|
|
@@ -9825,8 +10099,10 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9825
10099
|
terminalZdotdir?: boolean | undefined;
|
|
9826
10100
|
terminalCompressProgressBar?: boolean | undefined;
|
|
9827
10101
|
experiments?: {
|
|
9828
|
-
powerSteering
|
|
9829
|
-
|
|
10102
|
+
powerSteering?: boolean | undefined;
|
|
10103
|
+
disableCompletionCommand?: boolean | undefined;
|
|
10104
|
+
marketplace?: boolean | undefined;
|
|
10105
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
9830
10106
|
} | undefined;
|
|
9831
10107
|
codebaseIndexModels?: {
|
|
9832
10108
|
openai?: Record<string, {
|
|
@@ -9835,11 +10111,14 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9835
10111
|
ollama?: Record<string, {
|
|
9836
10112
|
dimension: number;
|
|
9837
10113
|
}> | undefined;
|
|
10114
|
+
"openai-compatible"?: Record<string, {
|
|
10115
|
+
dimension: number;
|
|
10116
|
+
}> | undefined;
|
|
9838
10117
|
} | undefined;
|
|
9839
10118
|
codebaseIndexConfig?: {
|
|
9840
10119
|
codebaseIndexEnabled?: boolean | undefined;
|
|
9841
10120
|
codebaseIndexQdrantUrl?: string | undefined;
|
|
9842
|
-
codebaseIndexEmbedderProvider?: "openai" | "ollama" | undefined;
|
|
10121
|
+
codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
|
|
9843
10122
|
codebaseIndexEmbedderBaseUrl?: string | undefined;
|
|
9844
10123
|
codebaseIndexEmbedderModelId?: string | undefined;
|
|
9845
10124
|
} | undefined;
|
|
@@ -9913,6 +10192,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9913
10192
|
newContextTokens: number;
|
|
9914
10193
|
summary: string;
|
|
9915
10194
|
}>>;
|
|
10195
|
+
isProtected: z.ZodOptional<z.ZodBoolean>;
|
|
9916
10196
|
}, "strip", z.ZodTypeAny, {
|
|
9917
10197
|
type: "ask" | "say";
|
|
9918
10198
|
ts: number;
|
|
@@ -9934,6 +10214,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9934
10214
|
newContextTokens: number;
|
|
9935
10215
|
summary: string;
|
|
9936
10216
|
} | undefined;
|
|
10217
|
+
isProtected?: boolean | undefined;
|
|
9937
10218
|
}, {
|
|
9938
10219
|
type: "ask" | "say";
|
|
9939
10220
|
ts: number;
|
|
@@ -9955,6 +10236,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9955
10236
|
newContextTokens: number;
|
|
9956
10237
|
summary: string;
|
|
9957
10238
|
} | undefined;
|
|
10239
|
+
isProtected?: boolean | undefined;
|
|
9958
10240
|
}>;
|
|
9959
10241
|
}, "strip", z.ZodTypeAny, {
|
|
9960
10242
|
message: {
|
|
@@ -9978,6 +10260,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9978
10260
|
newContextTokens: number;
|
|
9979
10261
|
summary: string;
|
|
9980
10262
|
} | undefined;
|
|
10263
|
+
isProtected?: boolean | undefined;
|
|
9981
10264
|
};
|
|
9982
10265
|
taskId: string;
|
|
9983
10266
|
action: "created" | "updated";
|
|
@@ -10003,6 +10286,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10003
10286
|
newContextTokens: number;
|
|
10004
10287
|
summary: string;
|
|
10005
10288
|
} | undefined;
|
|
10289
|
+
isProtected?: boolean | undefined;
|
|
10006
10290
|
};
|
|
10007
10291
|
taskId: string;
|
|
10008
10292
|
action: "created" | "updated";
|
|
@@ -10032,6 +10316,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10032
10316
|
newContextTokens: number;
|
|
10033
10317
|
summary: string;
|
|
10034
10318
|
} | undefined;
|
|
10319
|
+
isProtected?: boolean | undefined;
|
|
10035
10320
|
};
|
|
10036
10321
|
taskId: string;
|
|
10037
10322
|
action: "created" | "updated";
|
|
@@ -10061,6 +10346,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10061
10346
|
newContextTokens: number;
|
|
10062
10347
|
summary: string;
|
|
10063
10348
|
} | undefined;
|
|
10349
|
+
isProtected?: boolean | undefined;
|
|
10064
10350
|
};
|
|
10065
10351
|
taskId: string;
|
|
10066
10352
|
action: "created" | "updated";
|
|
@@ -10334,6 +10620,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10334
10620
|
newContextTokens: number;
|
|
10335
10621
|
summary: string;
|
|
10336
10622
|
} | undefined;
|
|
10623
|
+
isProtected?: boolean | undefined;
|
|
10337
10624
|
};
|
|
10338
10625
|
taskId: string;
|
|
10339
10626
|
action: "created" | "updated";
|
|
@@ -10437,6 +10724,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10437
10724
|
newContextTokens: number;
|
|
10438
10725
|
summary: string;
|
|
10439
10726
|
} | undefined;
|
|
10727
|
+
isProtected?: boolean | undefined;
|
|
10440
10728
|
};
|
|
10441
10729
|
taskId: string;
|
|
10442
10730
|
action: "created" | "updated";
|
|
@@ -10689,19 +10977,19 @@ interface RooCodeIpcServer extends EventEmitter<IpcServerEvents> {
|
|
|
10689
10977
|
declare const codebaseIndexConfigSchema: z.ZodObject<{
|
|
10690
10978
|
codebaseIndexEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
10691
10979
|
codebaseIndexQdrantUrl: z.ZodOptional<z.ZodString>;
|
|
10692
|
-
codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama"]>>;
|
|
10980
|
+
codebaseIndexEmbedderProvider: z.ZodOptional<z.ZodEnum<["openai", "ollama", "openai-compatible"]>>;
|
|
10693
10981
|
codebaseIndexEmbedderBaseUrl: z.ZodOptional<z.ZodString>;
|
|
10694
10982
|
codebaseIndexEmbedderModelId: z.ZodOptional<z.ZodString>;
|
|
10695
10983
|
}, "strip", z.ZodTypeAny, {
|
|
10696
10984
|
codebaseIndexEnabled?: boolean | undefined;
|
|
10697
10985
|
codebaseIndexQdrantUrl?: string | undefined;
|
|
10698
|
-
codebaseIndexEmbedderProvider?: "openai" | "ollama" | undefined;
|
|
10986
|
+
codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
|
|
10699
10987
|
codebaseIndexEmbedderBaseUrl?: string | undefined;
|
|
10700
10988
|
codebaseIndexEmbedderModelId?: string | undefined;
|
|
10701
10989
|
}, {
|
|
10702
10990
|
codebaseIndexEnabled?: boolean | undefined;
|
|
10703
10991
|
codebaseIndexQdrantUrl?: string | undefined;
|
|
10704
|
-
codebaseIndexEmbedderProvider?: "openai" | "ollama" | undefined;
|
|
10992
|
+
codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | undefined;
|
|
10705
10993
|
codebaseIndexEmbedderBaseUrl?: string | undefined;
|
|
10706
10994
|
codebaseIndexEmbedderModelId?: string | undefined;
|
|
10707
10995
|
}>;
|
|
@@ -10724,6 +11012,13 @@ declare const codebaseIndexModelsSchema: z.ZodObject<{
|
|
|
10724
11012
|
}, {
|
|
10725
11013
|
dimension: number;
|
|
10726
11014
|
}>>>;
|
|
11015
|
+
"openai-compatible": z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11016
|
+
dimension: z.ZodNumber;
|
|
11017
|
+
}, "strip", z.ZodTypeAny, {
|
|
11018
|
+
dimension: number;
|
|
11019
|
+
}, {
|
|
11020
|
+
dimension: number;
|
|
11021
|
+
}>>>;
|
|
10727
11022
|
}, "strip", z.ZodTypeAny, {
|
|
10728
11023
|
openai?: Record<string, {
|
|
10729
11024
|
dimension: number;
|
|
@@ -10731,6 +11026,9 @@ declare const codebaseIndexModelsSchema: z.ZodObject<{
|
|
|
10731
11026
|
ollama?: Record<string, {
|
|
10732
11027
|
dimension: number;
|
|
10733
11028
|
}> | undefined;
|
|
11029
|
+
"openai-compatible"?: Record<string, {
|
|
11030
|
+
dimension: number;
|
|
11031
|
+
}> | undefined;
|
|
10734
11032
|
}, {
|
|
10735
11033
|
openai?: Record<string, {
|
|
10736
11034
|
dimension: number;
|
|
@@ -10738,6 +11036,9 @@ declare const codebaseIndexModelsSchema: z.ZodObject<{
|
|
|
10738
11036
|
ollama?: Record<string, {
|
|
10739
11037
|
dimension: number;
|
|
10740
11038
|
}> | undefined;
|
|
11039
|
+
"openai-compatible"?: Record<string, {
|
|
11040
|
+
dimension: number;
|
|
11041
|
+
}> | undefined;
|
|
10741
11042
|
}>;
|
|
10742
11043
|
type CodebaseIndexModels = z.infer<typeof codebaseIndexModelsSchema>;
|
|
10743
11044
|
/**
|
|
@@ -10746,12 +11047,21 @@ type CodebaseIndexModels = z.infer<typeof codebaseIndexModelsSchema>;
|
|
|
10746
11047
|
declare const codebaseIndexProviderSchema: z.ZodObject<{
|
|
10747
11048
|
codeIndexOpenAiKey: z.ZodOptional<z.ZodString>;
|
|
10748
11049
|
codeIndexQdrantApiKey: z.ZodOptional<z.ZodString>;
|
|
11050
|
+
codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional<z.ZodString>;
|
|
11051
|
+
codebaseIndexOpenAiCompatibleApiKey: z.ZodOptional<z.ZodString>;
|
|
11052
|
+
codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional<z.ZodNumber>;
|
|
10749
11053
|
}, "strip", z.ZodTypeAny, {
|
|
10750
11054
|
codeIndexOpenAiKey?: string | undefined;
|
|
10751
11055
|
codeIndexQdrantApiKey?: string | undefined;
|
|
11056
|
+
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
11057
|
+
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
11058
|
+
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
10752
11059
|
}, {
|
|
10753
11060
|
codeIndexOpenAiKey?: string | undefined;
|
|
10754
11061
|
codeIndexQdrantApiKey?: string | undefined;
|
|
11062
|
+
codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
|
|
11063
|
+
codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
|
|
11064
|
+
codebaseIndexOpenAiCompatibleModelDimension?: number | undefined;
|
|
10755
11065
|
}>;
|
|
10756
11066
|
type CodebaseIndexProvider = z.infer<typeof codebaseIndexProviderSchema>;
|
|
10757
11067
|
|
|
@@ -10762,6 +11072,29 @@ interface CloudUserInfo {
|
|
|
10762
11072
|
name?: string;
|
|
10763
11073
|
email?: string;
|
|
10764
11074
|
picture?: string;
|
|
11075
|
+
organizationId?: string;
|
|
11076
|
+
organizationName?: string;
|
|
11077
|
+
organizationRole?: string;
|
|
11078
|
+
}
|
|
11079
|
+
/**
|
|
11080
|
+
* CloudOrganization Types
|
|
11081
|
+
*/
|
|
11082
|
+
interface CloudOrganization {
|
|
11083
|
+
id: string;
|
|
11084
|
+
name: string;
|
|
11085
|
+
slug?: string;
|
|
11086
|
+
image_url?: string;
|
|
11087
|
+
has_image?: boolean;
|
|
11088
|
+
created_at?: number;
|
|
11089
|
+
updated_at?: number;
|
|
11090
|
+
}
|
|
11091
|
+
interface CloudOrganizationMembership {
|
|
11092
|
+
id: string;
|
|
11093
|
+
organization: CloudOrganization;
|
|
11094
|
+
role: string;
|
|
11095
|
+
permissions?: string[];
|
|
11096
|
+
created_at?: number;
|
|
11097
|
+
updated_at?: number;
|
|
10765
11098
|
}
|
|
10766
11099
|
/**
|
|
10767
11100
|
* OrganizationAllowList
|
|
@@ -11001,25 +11334,48 @@ type OrganizationSettings = z.infer<typeof organizationSettingsSchema>;
|
|
|
11001
11334
|
*/
|
|
11002
11335
|
declare const ORGANIZATION_ALLOW_ALL: OrganizationAllowList;
|
|
11003
11336
|
declare const ORGANIZATION_DEFAULT: OrganizationSettings;
|
|
11337
|
+
/**
|
|
11338
|
+
* Share Types
|
|
11339
|
+
*/
|
|
11340
|
+
declare const shareResponseSchema: z.ZodObject<{
|
|
11341
|
+
success: z.ZodBoolean;
|
|
11342
|
+
shareUrl: z.ZodOptional<z.ZodString>;
|
|
11343
|
+
error: z.ZodOptional<z.ZodString>;
|
|
11344
|
+
}, "strip", z.ZodTypeAny, {
|
|
11345
|
+
success: boolean;
|
|
11346
|
+
error?: string | undefined;
|
|
11347
|
+
shareUrl?: string | undefined;
|
|
11348
|
+
}, {
|
|
11349
|
+
success: boolean;
|
|
11350
|
+
error?: string | undefined;
|
|
11351
|
+
shareUrl?: string | undefined;
|
|
11352
|
+
}>;
|
|
11353
|
+
type ShareResponse = z.infer<typeof shareResponseSchema>;
|
|
11004
11354
|
|
|
11005
11355
|
/**
|
|
11006
11356
|
* ExperimentId
|
|
11007
11357
|
*/
|
|
11008
|
-
declare const experimentIds: readonly ["powerSteering", "
|
|
11009
|
-
declare const experimentIdsSchema: z.ZodEnum<["powerSteering", "
|
|
11358
|
+
declare const experimentIds: readonly ["powerSteering", "disableCompletionCommand", "marketplace", "multiFileApplyDiff"];
|
|
11359
|
+
declare const experimentIdsSchema: z.ZodEnum<["powerSteering", "disableCompletionCommand", "marketplace", "multiFileApplyDiff"]>;
|
|
11010
11360
|
type ExperimentId = z.infer<typeof experimentIdsSchema>;
|
|
11011
11361
|
/**
|
|
11012
11362
|
* Experiments
|
|
11013
11363
|
*/
|
|
11014
11364
|
declare const experimentsSchema: z.ZodObject<{
|
|
11015
|
-
powerSteering: z.ZodBoolean
|
|
11016
|
-
|
|
11365
|
+
powerSteering: z.ZodOptional<z.ZodBoolean>;
|
|
11366
|
+
disableCompletionCommand: z.ZodOptional<z.ZodBoolean>;
|
|
11367
|
+
marketplace: z.ZodOptional<z.ZodBoolean>;
|
|
11368
|
+
multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
|
|
11017
11369
|
}, "strip", z.ZodTypeAny, {
|
|
11018
|
-
powerSteering
|
|
11019
|
-
|
|
11370
|
+
powerSteering?: boolean | undefined;
|
|
11371
|
+
disableCompletionCommand?: boolean | undefined;
|
|
11372
|
+
marketplace?: boolean | undefined;
|
|
11373
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
11020
11374
|
}, {
|
|
11021
|
-
powerSteering
|
|
11022
|
-
|
|
11375
|
+
powerSteering?: boolean | undefined;
|
|
11376
|
+
disableCompletionCommand?: boolean | undefined;
|
|
11377
|
+
marketplace?: boolean | undefined;
|
|
11378
|
+
multiFileApplyDiff?: boolean | undefined;
|
|
11023
11379
|
}>;
|
|
11024
11380
|
type Experiments = z.infer<typeof experimentsSchema>;
|
|
11025
11381
|
|
|
@@ -11065,6 +11421,462 @@ declare const historyItemSchema: z.ZodObject<{
|
|
|
11065
11421
|
}>;
|
|
11066
11422
|
type HistoryItem = z.infer<typeof historyItemSchema>;
|
|
11067
11423
|
|
|
11424
|
+
/**
|
|
11425
|
+
* Schema for MCP parameter definitions
|
|
11426
|
+
*/
|
|
11427
|
+
declare const mcpParameterSchema: z.ZodObject<{
|
|
11428
|
+
name: z.ZodString;
|
|
11429
|
+
key: z.ZodString;
|
|
11430
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
11431
|
+
optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
11432
|
+
}, "strip", z.ZodTypeAny, {
|
|
11433
|
+
name: string;
|
|
11434
|
+
key: string;
|
|
11435
|
+
optional: boolean;
|
|
11436
|
+
placeholder?: string | undefined;
|
|
11437
|
+
}, {
|
|
11438
|
+
name: string;
|
|
11439
|
+
key: string;
|
|
11440
|
+
placeholder?: string | undefined;
|
|
11441
|
+
optional?: boolean | undefined;
|
|
11442
|
+
}>;
|
|
11443
|
+
type McpParameter = z.infer<typeof mcpParameterSchema>;
|
|
11444
|
+
/**
|
|
11445
|
+
* Schema for MCP installation method with name
|
|
11446
|
+
*/
|
|
11447
|
+
declare const mcpInstallationMethodSchema: z.ZodObject<{
|
|
11448
|
+
name: z.ZodString;
|
|
11449
|
+
content: z.ZodString;
|
|
11450
|
+
parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11451
|
+
name: z.ZodString;
|
|
11452
|
+
key: z.ZodString;
|
|
11453
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
11454
|
+
optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
11455
|
+
}, "strip", z.ZodTypeAny, {
|
|
11456
|
+
name: string;
|
|
11457
|
+
key: string;
|
|
11458
|
+
optional: boolean;
|
|
11459
|
+
placeholder?: string | undefined;
|
|
11460
|
+
}, {
|
|
11461
|
+
name: string;
|
|
11462
|
+
key: string;
|
|
11463
|
+
placeholder?: string | undefined;
|
|
11464
|
+
optional?: boolean | undefined;
|
|
11465
|
+
}>, "many">>;
|
|
11466
|
+
prerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11467
|
+
}, "strip", z.ZodTypeAny, {
|
|
11468
|
+
name: string;
|
|
11469
|
+
content: string;
|
|
11470
|
+
parameters?: {
|
|
11471
|
+
name: string;
|
|
11472
|
+
key: string;
|
|
11473
|
+
optional: boolean;
|
|
11474
|
+
placeholder?: string | undefined;
|
|
11475
|
+
}[] | undefined;
|
|
11476
|
+
prerequisites?: string[] | undefined;
|
|
11477
|
+
}, {
|
|
11478
|
+
name: string;
|
|
11479
|
+
content: string;
|
|
11480
|
+
parameters?: {
|
|
11481
|
+
name: string;
|
|
11482
|
+
key: string;
|
|
11483
|
+
placeholder?: string | undefined;
|
|
11484
|
+
optional?: boolean | undefined;
|
|
11485
|
+
}[] | undefined;
|
|
11486
|
+
prerequisites?: string[] | undefined;
|
|
11487
|
+
}>;
|
|
11488
|
+
type McpInstallationMethod = z.infer<typeof mcpInstallationMethodSchema>;
|
|
11489
|
+
/**
|
|
11490
|
+
* Component type validation
|
|
11491
|
+
*/
|
|
11492
|
+
declare const marketplaceItemTypeSchema: z.ZodEnum<["mode", "mcp"]>;
|
|
11493
|
+
type MarketplaceItemType = z.infer<typeof marketplaceItemTypeSchema>;
|
|
11494
|
+
/**
|
|
11495
|
+
* Type-specific schemas for YAML parsing (without type field, added programmatically)
|
|
11496
|
+
*/
|
|
11497
|
+
declare const modeMarketplaceItemSchema: z.ZodObject<{
|
|
11498
|
+
id: z.ZodString;
|
|
11499
|
+
name: z.ZodString;
|
|
11500
|
+
description: z.ZodString;
|
|
11501
|
+
author: z.ZodOptional<z.ZodString>;
|
|
11502
|
+
authorUrl: z.ZodOptional<z.ZodString>;
|
|
11503
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11504
|
+
prerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11505
|
+
} & {
|
|
11506
|
+
content: z.ZodString;
|
|
11507
|
+
}, "strip", z.ZodTypeAny, {
|
|
11508
|
+
description: string;
|
|
11509
|
+
name: string;
|
|
11510
|
+
id: string;
|
|
11511
|
+
content: string;
|
|
11512
|
+
prerequisites?: string[] | undefined;
|
|
11513
|
+
author?: string | undefined;
|
|
11514
|
+
authorUrl?: string | undefined;
|
|
11515
|
+
tags?: string[] | undefined;
|
|
11516
|
+
}, {
|
|
11517
|
+
description: string;
|
|
11518
|
+
name: string;
|
|
11519
|
+
id: string;
|
|
11520
|
+
content: string;
|
|
11521
|
+
prerequisites?: string[] | undefined;
|
|
11522
|
+
author?: string | undefined;
|
|
11523
|
+
authorUrl?: string | undefined;
|
|
11524
|
+
tags?: string[] | undefined;
|
|
11525
|
+
}>;
|
|
11526
|
+
type ModeMarketplaceItem = z.infer<typeof modeMarketplaceItemSchema>;
|
|
11527
|
+
declare const mcpMarketplaceItemSchema: z.ZodObject<{
|
|
11528
|
+
id: z.ZodString;
|
|
11529
|
+
name: z.ZodString;
|
|
11530
|
+
description: z.ZodString;
|
|
11531
|
+
author: z.ZodOptional<z.ZodString>;
|
|
11532
|
+
authorUrl: z.ZodOptional<z.ZodString>;
|
|
11533
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11534
|
+
prerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11535
|
+
} & {
|
|
11536
|
+
url: z.ZodString;
|
|
11537
|
+
content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
11538
|
+
name: z.ZodString;
|
|
11539
|
+
content: z.ZodString;
|
|
11540
|
+
parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11541
|
+
name: z.ZodString;
|
|
11542
|
+
key: z.ZodString;
|
|
11543
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
11544
|
+
optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
11545
|
+
}, "strip", z.ZodTypeAny, {
|
|
11546
|
+
name: string;
|
|
11547
|
+
key: string;
|
|
11548
|
+
optional: boolean;
|
|
11549
|
+
placeholder?: string | undefined;
|
|
11550
|
+
}, {
|
|
11551
|
+
name: string;
|
|
11552
|
+
key: string;
|
|
11553
|
+
placeholder?: string | undefined;
|
|
11554
|
+
optional?: boolean | undefined;
|
|
11555
|
+
}>, "many">>;
|
|
11556
|
+
prerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11557
|
+
}, "strip", z.ZodTypeAny, {
|
|
11558
|
+
name: string;
|
|
11559
|
+
content: string;
|
|
11560
|
+
parameters?: {
|
|
11561
|
+
name: string;
|
|
11562
|
+
key: string;
|
|
11563
|
+
optional: boolean;
|
|
11564
|
+
placeholder?: string | undefined;
|
|
11565
|
+
}[] | undefined;
|
|
11566
|
+
prerequisites?: string[] | undefined;
|
|
11567
|
+
}, {
|
|
11568
|
+
name: string;
|
|
11569
|
+
content: string;
|
|
11570
|
+
parameters?: {
|
|
11571
|
+
name: string;
|
|
11572
|
+
key: string;
|
|
11573
|
+
placeholder?: string | undefined;
|
|
11574
|
+
optional?: boolean | undefined;
|
|
11575
|
+
}[] | undefined;
|
|
11576
|
+
prerequisites?: string[] | undefined;
|
|
11577
|
+
}>, "many">]>;
|
|
11578
|
+
parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11579
|
+
name: z.ZodString;
|
|
11580
|
+
key: z.ZodString;
|
|
11581
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
11582
|
+
optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
11583
|
+
}, "strip", z.ZodTypeAny, {
|
|
11584
|
+
name: string;
|
|
11585
|
+
key: string;
|
|
11586
|
+
optional: boolean;
|
|
11587
|
+
placeholder?: string | undefined;
|
|
11588
|
+
}, {
|
|
11589
|
+
name: string;
|
|
11590
|
+
key: string;
|
|
11591
|
+
placeholder?: string | undefined;
|
|
11592
|
+
optional?: boolean | undefined;
|
|
11593
|
+
}>, "many">>;
|
|
11594
|
+
}, "strip", z.ZodTypeAny, {
|
|
11595
|
+
description: string;
|
|
11596
|
+
name: string;
|
|
11597
|
+
id: string;
|
|
11598
|
+
url: string;
|
|
11599
|
+
content: string | {
|
|
11600
|
+
name: string;
|
|
11601
|
+
content: string;
|
|
11602
|
+
parameters?: {
|
|
11603
|
+
name: string;
|
|
11604
|
+
key: string;
|
|
11605
|
+
optional: boolean;
|
|
11606
|
+
placeholder?: string | undefined;
|
|
11607
|
+
}[] | undefined;
|
|
11608
|
+
prerequisites?: string[] | undefined;
|
|
11609
|
+
}[];
|
|
11610
|
+
parameters?: {
|
|
11611
|
+
name: string;
|
|
11612
|
+
key: string;
|
|
11613
|
+
optional: boolean;
|
|
11614
|
+
placeholder?: string | undefined;
|
|
11615
|
+
}[] | undefined;
|
|
11616
|
+
prerequisites?: string[] | undefined;
|
|
11617
|
+
author?: string | undefined;
|
|
11618
|
+
authorUrl?: string | undefined;
|
|
11619
|
+
tags?: string[] | undefined;
|
|
11620
|
+
}, {
|
|
11621
|
+
description: string;
|
|
11622
|
+
name: string;
|
|
11623
|
+
id: string;
|
|
11624
|
+
url: string;
|
|
11625
|
+
content: string | {
|
|
11626
|
+
name: string;
|
|
11627
|
+
content: string;
|
|
11628
|
+
parameters?: {
|
|
11629
|
+
name: string;
|
|
11630
|
+
key: string;
|
|
11631
|
+
placeholder?: string | undefined;
|
|
11632
|
+
optional?: boolean | undefined;
|
|
11633
|
+
}[] | undefined;
|
|
11634
|
+
prerequisites?: string[] | undefined;
|
|
11635
|
+
}[];
|
|
11636
|
+
parameters?: {
|
|
11637
|
+
name: string;
|
|
11638
|
+
key: string;
|
|
11639
|
+
placeholder?: string | undefined;
|
|
11640
|
+
optional?: boolean | undefined;
|
|
11641
|
+
}[] | undefined;
|
|
11642
|
+
prerequisites?: string[] | undefined;
|
|
11643
|
+
author?: string | undefined;
|
|
11644
|
+
authorUrl?: string | undefined;
|
|
11645
|
+
tags?: string[] | undefined;
|
|
11646
|
+
}>;
|
|
11647
|
+
type McpMarketplaceItem = z.infer<typeof mcpMarketplaceItemSchema>;
|
|
11648
|
+
/**
|
|
11649
|
+
* Unified marketplace item schema using discriminated union
|
|
11650
|
+
*/
|
|
11651
|
+
declare const marketplaceItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
11652
|
+
id: z.ZodString;
|
|
11653
|
+
name: z.ZodString;
|
|
11654
|
+
description: z.ZodString;
|
|
11655
|
+
author: z.ZodOptional<z.ZodString>;
|
|
11656
|
+
authorUrl: z.ZodOptional<z.ZodString>;
|
|
11657
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11658
|
+
prerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11659
|
+
} & {
|
|
11660
|
+
content: z.ZodString;
|
|
11661
|
+
} & {
|
|
11662
|
+
type: z.ZodLiteral<"mode">;
|
|
11663
|
+
}, "strip", z.ZodTypeAny, {
|
|
11664
|
+
type: "mode";
|
|
11665
|
+
description: string;
|
|
11666
|
+
name: string;
|
|
11667
|
+
id: string;
|
|
11668
|
+
content: string;
|
|
11669
|
+
prerequisites?: string[] | undefined;
|
|
11670
|
+
author?: string | undefined;
|
|
11671
|
+
authorUrl?: string | undefined;
|
|
11672
|
+
tags?: string[] | undefined;
|
|
11673
|
+
}, {
|
|
11674
|
+
type: "mode";
|
|
11675
|
+
description: string;
|
|
11676
|
+
name: string;
|
|
11677
|
+
id: string;
|
|
11678
|
+
content: string;
|
|
11679
|
+
prerequisites?: string[] | undefined;
|
|
11680
|
+
author?: string | undefined;
|
|
11681
|
+
authorUrl?: string | undefined;
|
|
11682
|
+
tags?: string[] | undefined;
|
|
11683
|
+
}>, z.ZodObject<{
|
|
11684
|
+
id: z.ZodString;
|
|
11685
|
+
name: z.ZodString;
|
|
11686
|
+
description: z.ZodString;
|
|
11687
|
+
author: z.ZodOptional<z.ZodString>;
|
|
11688
|
+
authorUrl: z.ZodOptional<z.ZodString>;
|
|
11689
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11690
|
+
prerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11691
|
+
} & {
|
|
11692
|
+
url: z.ZodString;
|
|
11693
|
+
content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
11694
|
+
name: z.ZodString;
|
|
11695
|
+
content: z.ZodString;
|
|
11696
|
+
parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11697
|
+
name: z.ZodString;
|
|
11698
|
+
key: z.ZodString;
|
|
11699
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
11700
|
+
optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
11701
|
+
}, "strip", z.ZodTypeAny, {
|
|
11702
|
+
name: string;
|
|
11703
|
+
key: string;
|
|
11704
|
+
optional: boolean;
|
|
11705
|
+
placeholder?: string | undefined;
|
|
11706
|
+
}, {
|
|
11707
|
+
name: string;
|
|
11708
|
+
key: string;
|
|
11709
|
+
placeholder?: string | undefined;
|
|
11710
|
+
optional?: boolean | undefined;
|
|
11711
|
+
}>, "many">>;
|
|
11712
|
+
prerequisites: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11713
|
+
}, "strip", z.ZodTypeAny, {
|
|
11714
|
+
name: string;
|
|
11715
|
+
content: string;
|
|
11716
|
+
parameters?: {
|
|
11717
|
+
name: string;
|
|
11718
|
+
key: string;
|
|
11719
|
+
optional: boolean;
|
|
11720
|
+
placeholder?: string | undefined;
|
|
11721
|
+
}[] | undefined;
|
|
11722
|
+
prerequisites?: string[] | undefined;
|
|
11723
|
+
}, {
|
|
11724
|
+
name: string;
|
|
11725
|
+
content: string;
|
|
11726
|
+
parameters?: {
|
|
11727
|
+
name: string;
|
|
11728
|
+
key: string;
|
|
11729
|
+
placeholder?: string | undefined;
|
|
11730
|
+
optional?: boolean | undefined;
|
|
11731
|
+
}[] | undefined;
|
|
11732
|
+
prerequisites?: string[] | undefined;
|
|
11733
|
+
}>, "many">]>;
|
|
11734
|
+
parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11735
|
+
name: z.ZodString;
|
|
11736
|
+
key: z.ZodString;
|
|
11737
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
11738
|
+
optional: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
11739
|
+
}, "strip", z.ZodTypeAny, {
|
|
11740
|
+
name: string;
|
|
11741
|
+
key: string;
|
|
11742
|
+
optional: boolean;
|
|
11743
|
+
placeholder?: string | undefined;
|
|
11744
|
+
}, {
|
|
11745
|
+
name: string;
|
|
11746
|
+
key: string;
|
|
11747
|
+
placeholder?: string | undefined;
|
|
11748
|
+
optional?: boolean | undefined;
|
|
11749
|
+
}>, "many">>;
|
|
11750
|
+
} & {
|
|
11751
|
+
type: z.ZodLiteral<"mcp">;
|
|
11752
|
+
}, "strip", z.ZodTypeAny, {
|
|
11753
|
+
type: "mcp";
|
|
11754
|
+
description: string;
|
|
11755
|
+
name: string;
|
|
11756
|
+
id: string;
|
|
11757
|
+
url: string;
|
|
11758
|
+
content: string | {
|
|
11759
|
+
name: string;
|
|
11760
|
+
content: string;
|
|
11761
|
+
parameters?: {
|
|
11762
|
+
name: string;
|
|
11763
|
+
key: string;
|
|
11764
|
+
optional: boolean;
|
|
11765
|
+
placeholder?: string | undefined;
|
|
11766
|
+
}[] | undefined;
|
|
11767
|
+
prerequisites?: string[] | undefined;
|
|
11768
|
+
}[];
|
|
11769
|
+
parameters?: {
|
|
11770
|
+
name: string;
|
|
11771
|
+
key: string;
|
|
11772
|
+
optional: boolean;
|
|
11773
|
+
placeholder?: string | undefined;
|
|
11774
|
+
}[] | undefined;
|
|
11775
|
+
prerequisites?: string[] | undefined;
|
|
11776
|
+
author?: string | undefined;
|
|
11777
|
+
authorUrl?: string | undefined;
|
|
11778
|
+
tags?: string[] | undefined;
|
|
11779
|
+
}, {
|
|
11780
|
+
type: "mcp";
|
|
11781
|
+
description: string;
|
|
11782
|
+
name: string;
|
|
11783
|
+
id: string;
|
|
11784
|
+
url: string;
|
|
11785
|
+
content: string | {
|
|
11786
|
+
name: string;
|
|
11787
|
+
content: string;
|
|
11788
|
+
parameters?: {
|
|
11789
|
+
name: string;
|
|
11790
|
+
key: string;
|
|
11791
|
+
placeholder?: string | undefined;
|
|
11792
|
+
optional?: boolean | undefined;
|
|
11793
|
+
}[] | undefined;
|
|
11794
|
+
prerequisites?: string[] | undefined;
|
|
11795
|
+
}[];
|
|
11796
|
+
parameters?: {
|
|
11797
|
+
name: string;
|
|
11798
|
+
key: string;
|
|
11799
|
+
placeholder?: string | undefined;
|
|
11800
|
+
optional?: boolean | undefined;
|
|
11801
|
+
}[] | undefined;
|
|
11802
|
+
prerequisites?: string[] | undefined;
|
|
11803
|
+
author?: string | undefined;
|
|
11804
|
+
authorUrl?: string | undefined;
|
|
11805
|
+
tags?: string[] | undefined;
|
|
11806
|
+
}>]>;
|
|
11807
|
+
type MarketplaceItem = z.infer<typeof marketplaceItemSchema>;
|
|
11808
|
+
/**
|
|
11809
|
+
* Installation options for marketplace items
|
|
11810
|
+
*/
|
|
11811
|
+
declare const installMarketplaceItemOptionsSchema: z.ZodObject<{
|
|
11812
|
+
target: z.ZodDefault<z.ZodOptional<z.ZodEnum<["global", "project"]>>>;
|
|
11813
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
11814
|
+
}, "strip", z.ZodTypeAny, {
|
|
11815
|
+
target: "global" | "project";
|
|
11816
|
+
parameters?: Record<string, any> | undefined;
|
|
11817
|
+
}, {
|
|
11818
|
+
parameters?: Record<string, any> | undefined;
|
|
11819
|
+
target?: "global" | "project" | undefined;
|
|
11820
|
+
}>;
|
|
11821
|
+
type InstallMarketplaceItemOptions = z.infer<typeof installMarketplaceItemOptionsSchema>;
|
|
11822
|
+
|
|
11823
|
+
/**
|
|
11824
|
+
* McpExecutionStatus
|
|
11825
|
+
*/
|
|
11826
|
+
declare const mcpExecutionStatusSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
11827
|
+
executionId: z.ZodString;
|
|
11828
|
+
status: z.ZodLiteral<"started">;
|
|
11829
|
+
serverName: z.ZodString;
|
|
11830
|
+
toolName: z.ZodString;
|
|
11831
|
+
}, "strip", z.ZodTypeAny, {
|
|
11832
|
+
status: "started";
|
|
11833
|
+
executionId: string;
|
|
11834
|
+
serverName: string;
|
|
11835
|
+
toolName: string;
|
|
11836
|
+
}, {
|
|
11837
|
+
status: "started";
|
|
11838
|
+
executionId: string;
|
|
11839
|
+
serverName: string;
|
|
11840
|
+
toolName: string;
|
|
11841
|
+
}>, z.ZodObject<{
|
|
11842
|
+
executionId: z.ZodString;
|
|
11843
|
+
status: z.ZodLiteral<"output">;
|
|
11844
|
+
response: z.ZodString;
|
|
11845
|
+
}, "strip", z.ZodTypeAny, {
|
|
11846
|
+
status: "output";
|
|
11847
|
+
executionId: string;
|
|
11848
|
+
response: string;
|
|
11849
|
+
}, {
|
|
11850
|
+
status: "output";
|
|
11851
|
+
executionId: string;
|
|
11852
|
+
response: string;
|
|
11853
|
+
}>, z.ZodObject<{
|
|
11854
|
+
executionId: z.ZodString;
|
|
11855
|
+
status: z.ZodLiteral<"completed">;
|
|
11856
|
+
response: z.ZodOptional<z.ZodString>;
|
|
11857
|
+
}, "strip", z.ZodTypeAny, {
|
|
11858
|
+
status: "completed";
|
|
11859
|
+
executionId: string;
|
|
11860
|
+
response?: string | undefined;
|
|
11861
|
+
}, {
|
|
11862
|
+
status: "completed";
|
|
11863
|
+
executionId: string;
|
|
11864
|
+
response?: string | undefined;
|
|
11865
|
+
}>, z.ZodObject<{
|
|
11866
|
+
executionId: z.ZodString;
|
|
11867
|
+
status: z.ZodLiteral<"error">;
|
|
11868
|
+
error: z.ZodOptional<z.ZodString>;
|
|
11869
|
+
}, "strip", z.ZodTypeAny, {
|
|
11870
|
+
status: "error";
|
|
11871
|
+
executionId: string;
|
|
11872
|
+
error?: string | undefined;
|
|
11873
|
+
}, {
|
|
11874
|
+
status: "error";
|
|
11875
|
+
executionId: string;
|
|
11876
|
+
error?: string | undefined;
|
|
11877
|
+
}>]>;
|
|
11878
|
+
type McpExecutionStatus = z.infer<typeof mcpExecutionStatusSchema>;
|
|
11879
|
+
|
|
11068
11880
|
/**
|
|
11069
11881
|
* GroupOptions
|
|
11070
11882
|
*/
|
|
@@ -11307,6 +12119,10 @@ declare enum TelemetryEventName {
|
|
|
11307
12119
|
PROMPT_ENHANCED = "Prompt Enhanced",
|
|
11308
12120
|
TITLE_BUTTON_CLICKED = "Title Button Clicked",
|
|
11309
12121
|
AUTHENTICATION_INITIATED = "Authentication Initiated",
|
|
12122
|
+
MARKETPLACE_ITEM_INSTALLED = "Marketplace Item Installed",
|
|
12123
|
+
MARKETPLACE_ITEM_REMOVED = "Marketplace Item Removed",
|
|
12124
|
+
MARKETPLACE_TAB_VIEWED = "Marketplace Tab Viewed",
|
|
12125
|
+
MARKETPLACE_INSTALL_BUTTON_CLICKED = "Marketplace Install Button Clicked",
|
|
11310
12126
|
SCHEMA_VALIDATION_ERROR = "Schema Validation Error",
|
|
11311
12127
|
DIFF_APPLICATION_ERROR = "Diff Application Error",
|
|
11312
12128
|
SHELL_INTEGRATION_ERROR = "Shell Integration Error",
|
|
@@ -11411,7 +12227,7 @@ type TelemetryEvent = {
|
|
|
11411
12227
|
* RooCodeTelemetryEvent
|
|
11412
12228
|
*/
|
|
11413
12229
|
declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
11414
|
-
type: z.ZodEnum<[TelemetryEventName.TASK_CREATED, TelemetryEventName.TASK_RESTARTED, TelemetryEventName.TASK_COMPLETED, TelemetryEventName.TASK_CONVERSATION_MESSAGE, TelemetryEventName.MODE_SWITCH, TelemetryEventName.TOOL_USED, TelemetryEventName.CHECKPOINT_CREATED, TelemetryEventName.CHECKPOINT_RESTORED, TelemetryEventName.CHECKPOINT_DIFFED, TelemetryEventName.CODE_ACTION_USED, TelemetryEventName.PROMPT_ENHANCED, TelemetryEventName.TITLE_BUTTON_CLICKED, TelemetryEventName.AUTHENTICATION_INITIATED, TelemetryEventName.SCHEMA_VALIDATION_ERROR, TelemetryEventName.DIFF_APPLICATION_ERROR, TelemetryEventName.SHELL_INTEGRATION_ERROR, TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR, TelemetryEventName.CONTEXT_CONDENSED, TelemetryEventName.SLIDING_WINDOW_TRUNCATION]>;
|
|
12230
|
+
type: z.ZodEnum<[TelemetryEventName.TASK_CREATED, TelemetryEventName.TASK_RESTARTED, TelemetryEventName.TASK_COMPLETED, TelemetryEventName.TASK_CONVERSATION_MESSAGE, TelemetryEventName.MODE_SWITCH, TelemetryEventName.TOOL_USED, TelemetryEventName.CHECKPOINT_CREATED, TelemetryEventName.CHECKPOINT_RESTORED, TelemetryEventName.CHECKPOINT_DIFFED, TelemetryEventName.CODE_ACTION_USED, TelemetryEventName.PROMPT_ENHANCED, TelemetryEventName.TITLE_BUTTON_CLICKED, TelemetryEventName.AUTHENTICATION_INITIATED, TelemetryEventName.MARKETPLACE_ITEM_INSTALLED, TelemetryEventName.MARKETPLACE_ITEM_REMOVED, TelemetryEventName.SCHEMA_VALIDATION_ERROR, TelemetryEventName.DIFF_APPLICATION_ERROR, TelemetryEventName.SHELL_INTEGRATION_ERROR, TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR, TelemetryEventName.CONTEXT_CONDENSED, TelemetryEventName.SLIDING_WINDOW_TRUNCATION]>;
|
|
11415
12231
|
properties: z.ZodObject<{
|
|
11416
12232
|
taskId: z.ZodOptional<z.ZodString>;
|
|
11417
12233
|
apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
|
|
@@ -11453,7 +12269,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
11453
12269
|
isSubtask?: boolean | undefined;
|
|
11454
12270
|
}>;
|
|
11455
12271
|
}, "strip", z.ZodTypeAny, {
|
|
11456
|
-
type: TelemetryEventName.TASK_CREATED | TelemetryEventName.TASK_RESTARTED | TelemetryEventName.TASK_COMPLETED | TelemetryEventName.TASK_CONVERSATION_MESSAGE | TelemetryEventName.MODE_SWITCH | TelemetryEventName.TOOL_USED | TelemetryEventName.CHECKPOINT_CREATED | TelemetryEventName.CHECKPOINT_RESTORED | TelemetryEventName.CHECKPOINT_DIFFED | TelemetryEventName.CONTEXT_CONDENSED | TelemetryEventName.SLIDING_WINDOW_TRUNCATION | TelemetryEventName.CODE_ACTION_USED | TelemetryEventName.PROMPT_ENHANCED | TelemetryEventName.TITLE_BUTTON_CLICKED | TelemetryEventName.AUTHENTICATION_INITIATED | TelemetryEventName.SCHEMA_VALIDATION_ERROR | TelemetryEventName.DIFF_APPLICATION_ERROR | TelemetryEventName.SHELL_INTEGRATION_ERROR | TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR;
|
|
12272
|
+
type: TelemetryEventName.TASK_CREATED | TelemetryEventName.TASK_RESTARTED | TelemetryEventName.TASK_COMPLETED | TelemetryEventName.TASK_CONVERSATION_MESSAGE | TelemetryEventName.MODE_SWITCH | TelemetryEventName.TOOL_USED | TelemetryEventName.CHECKPOINT_CREATED | TelemetryEventName.CHECKPOINT_RESTORED | TelemetryEventName.CHECKPOINT_DIFFED | TelemetryEventName.CONTEXT_CONDENSED | TelemetryEventName.SLIDING_WINDOW_TRUNCATION | TelemetryEventName.CODE_ACTION_USED | TelemetryEventName.PROMPT_ENHANCED | TelemetryEventName.TITLE_BUTTON_CLICKED | TelemetryEventName.AUTHENTICATION_INITIATED | TelemetryEventName.MARKETPLACE_ITEM_INSTALLED | TelemetryEventName.MARKETPLACE_ITEM_REMOVED | TelemetryEventName.SCHEMA_VALIDATION_ERROR | TelemetryEventName.DIFF_APPLICATION_ERROR | TelemetryEventName.SHELL_INTEGRATION_ERROR | TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR;
|
|
11457
12273
|
properties: {
|
|
11458
12274
|
appName: string;
|
|
11459
12275
|
appVersion: string;
|
|
@@ -11469,7 +12285,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
11469
12285
|
isSubtask?: boolean | undefined;
|
|
11470
12286
|
};
|
|
11471
12287
|
}, {
|
|
11472
|
-
type: TelemetryEventName.TASK_CREATED | TelemetryEventName.TASK_RESTARTED | TelemetryEventName.TASK_COMPLETED | TelemetryEventName.TASK_CONVERSATION_MESSAGE | TelemetryEventName.MODE_SWITCH | TelemetryEventName.TOOL_USED | TelemetryEventName.CHECKPOINT_CREATED | TelemetryEventName.CHECKPOINT_RESTORED | TelemetryEventName.CHECKPOINT_DIFFED | TelemetryEventName.CONTEXT_CONDENSED | TelemetryEventName.SLIDING_WINDOW_TRUNCATION | TelemetryEventName.CODE_ACTION_USED | TelemetryEventName.PROMPT_ENHANCED | TelemetryEventName.TITLE_BUTTON_CLICKED | TelemetryEventName.AUTHENTICATION_INITIATED | TelemetryEventName.SCHEMA_VALIDATION_ERROR | TelemetryEventName.DIFF_APPLICATION_ERROR | TelemetryEventName.SHELL_INTEGRATION_ERROR | TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR;
|
|
12288
|
+
type: TelemetryEventName.TASK_CREATED | TelemetryEventName.TASK_RESTARTED | TelemetryEventName.TASK_COMPLETED | TelemetryEventName.TASK_CONVERSATION_MESSAGE | TelemetryEventName.MODE_SWITCH | TelemetryEventName.TOOL_USED | TelemetryEventName.CHECKPOINT_CREATED | TelemetryEventName.CHECKPOINT_RESTORED | TelemetryEventName.CHECKPOINT_DIFFED | TelemetryEventName.CONTEXT_CONDENSED | TelemetryEventName.SLIDING_WINDOW_TRUNCATION | TelemetryEventName.CODE_ACTION_USED | TelemetryEventName.PROMPT_ENHANCED | TelemetryEventName.TITLE_BUTTON_CLICKED | TelemetryEventName.AUTHENTICATION_INITIATED | TelemetryEventName.MARKETPLACE_ITEM_INSTALLED | TelemetryEventName.MARKETPLACE_ITEM_REMOVED | TelemetryEventName.SCHEMA_VALIDATION_ERROR | TelemetryEventName.DIFF_APPLICATION_ERROR | TelemetryEventName.SHELL_INTEGRATION_ERROR | TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR;
|
|
11473
12289
|
properties: {
|
|
11474
12290
|
appName: string;
|
|
11475
12291
|
appVersion: string;
|
|
@@ -11525,6 +12341,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
11525
12341
|
newContextTokens: number;
|
|
11526
12342
|
summary: string;
|
|
11527
12343
|
}>>;
|
|
12344
|
+
isProtected: z.ZodOptional<z.ZodBoolean>;
|
|
11528
12345
|
}, "strip", z.ZodTypeAny, {
|
|
11529
12346
|
type: "ask" | "say";
|
|
11530
12347
|
ts: number;
|
|
@@ -11546,6 +12363,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
11546
12363
|
newContextTokens: number;
|
|
11547
12364
|
summary: string;
|
|
11548
12365
|
} | undefined;
|
|
12366
|
+
isProtected?: boolean | undefined;
|
|
11549
12367
|
}, {
|
|
11550
12368
|
type: "ask" | "say";
|
|
11551
12369
|
ts: number;
|
|
@@ -11567,6 +12385,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
11567
12385
|
newContextTokens: number;
|
|
11568
12386
|
summary: string;
|
|
11569
12387
|
} | undefined;
|
|
12388
|
+
isProtected?: boolean | undefined;
|
|
11570
12389
|
}>;
|
|
11571
12390
|
apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
|
|
11572
12391
|
modelId: z.ZodOptional<z.ZodString>;
|
|
@@ -11601,6 +12420,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
11601
12420
|
newContextTokens: number;
|
|
11602
12421
|
summary: string;
|
|
11603
12422
|
} | undefined;
|
|
12423
|
+
isProtected?: boolean | undefined;
|
|
11604
12424
|
};
|
|
11605
12425
|
appName: string;
|
|
11606
12426
|
appVersion: string;
|
|
@@ -11636,6 +12456,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
11636
12456
|
newContextTokens: number;
|
|
11637
12457
|
summary: string;
|
|
11638
12458
|
} | undefined;
|
|
12459
|
+
isProtected?: boolean | undefined;
|
|
11639
12460
|
};
|
|
11640
12461
|
appName: string;
|
|
11641
12462
|
appVersion: string;
|
|
@@ -11674,6 +12495,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
11674
12495
|
newContextTokens: number;
|
|
11675
12496
|
summary: string;
|
|
11676
12497
|
} | undefined;
|
|
12498
|
+
isProtected?: boolean | undefined;
|
|
11677
12499
|
};
|
|
11678
12500
|
appName: string;
|
|
11679
12501
|
appVersion: string;
|
|
@@ -11712,6 +12534,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
11712
12534
|
newContextTokens: number;
|
|
11713
12535
|
summary: string;
|
|
11714
12536
|
} | undefined;
|
|
12537
|
+
isProtected?: boolean | undefined;
|
|
11715
12538
|
};
|
|
11716
12539
|
appName: string;
|
|
11717
12540
|
appVersion: string;
|
|
@@ -11925,14 +12748,14 @@ type TerminalActionPromptType = `TERMINAL_${TerminalActionName}`;
|
|
|
11925
12748
|
/**
|
|
11926
12749
|
* Command
|
|
11927
12750
|
*/
|
|
11928
|
-
declare const commandIds: readonly ["activationCompleted", "plusButtonClicked", "promptsButtonClicked", "mcpButtonClicked", "historyButtonClicked", "popoutButtonClicked", "accountButtonClicked", "settingsButtonClicked", "openInNewTab", "showHumanRelayDialog", "registerHumanRelayCallback", "unregisterHumanRelayCallback", "handleHumanRelayResponse", "newTask", "setCustomStoragePath", "focusInput", "acceptInput"];
|
|
12751
|
+
declare const commandIds: readonly ["activationCompleted", "plusButtonClicked", "promptsButtonClicked", "mcpButtonClicked", "historyButtonClicked", "marketplaceButtonClicked", "popoutButtonClicked", "accountButtonClicked", "settingsButtonClicked", "openInNewTab", "showHumanRelayDialog", "registerHumanRelayCallback", "unregisterHumanRelayCallback", "handleHumanRelayResponse", "newTask", "setCustomStoragePath", "focusInput", "acceptInput"];
|
|
11929
12752
|
type CommandId = (typeof commandIds)[number];
|
|
11930
12753
|
/**
|
|
11931
12754
|
* Language
|
|
11932
12755
|
*/
|
|
11933
|
-
declare const languages: readonly ["ca", "de", "en", "es", "fr", "hi", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"];
|
|
11934
|
-
declare const languagesSchema: z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"]>;
|
|
12756
|
+
declare const languages: readonly ["ca", "de", "en", "es", "fr", "hi", "id", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"];
|
|
12757
|
+
declare const languagesSchema: z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "id", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"]>;
|
|
11935
12758
|
type Language = z.infer<typeof languagesSchema>;
|
|
11936
12759
|
declare const isLanguage: (value: string) => value is Language;
|
|
11937
12760
|
|
|
11938
|
-
export { ANTHROPIC_DEFAULT_MAX_TOKENS, type Ack, type AnthropicModelId, type AssertEqual, BEDROCK_DEFAULT_CONTEXT, BEDROCK_DEFAULT_TEMPERATURE, BEDROCK_MAX_TOKENS, BEDROCK_REGIONS, BEDROCK_REGION_INFO, type BedrockModelId, type ChutesModelId, type ClineAsk, type ClineMessage, type ClineSay, type CloudUserInfo, type CodeActionId, type CodeActionName, type CodebaseIndexConfig, type CodebaseIndexModels, type CodebaseIndexProvider, type CommandExecutionStatus, type CommandId, type ContextCondense, type CustomModePrompts, type CustomModesSettings, type CustomSupportPrompts, DEEP_SEEK_DEFAULT_TEMPERATURE, type DeepSeekModelId, type Equals, type ExperimentId, type Experiments, GLAMA_DEFAULT_TEMPERATURE, GLOBAL_SETTINGS_KEYS, GLOBAL_STATE_KEYS, type GeminiModelId, type GlobalSettings, type GlobalState, type GroqModelId, type GroupEntry, type GroupOptions, type HistoryItem, type IpcClientEvents, type IpcMessage, IpcMessageType, IpcOrigin, type IpcServerEvents, type Keys, LITELLM_COMPUTER_USE_MODELS, LMSTUDIO_DEFAULT_TEMPERATURE, type Language, MISTRAL_DEFAULT_TEMPERATURE, type MistralModelId, type ModeConfig, type ModelInfo, type ModelParameter, OPENAI_AZURE_AI_INFERENCE_PATH, OPENAI_NATIVE_DEFAULT_TEMPERATURE, OPENROUTER_DEFAULT_PROVIDER_NAME, OPEN_ROUTER_COMPUTER_USE_MODELS, OPEN_ROUTER_PROMPT_CACHING_MODELS, OPEN_ROUTER_REASONING_BUDGET_MODELS, OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS, ORGANIZATION_ALLOW_ALL, ORGANIZATION_DEFAULT, type OpenAiNativeModelId, type OrganizationAllowList, type OrganizationCloudSettings, type OrganizationDefaultSettings, type OrganizationSettings, PROVIDER_SETTINGS_KEYS, type PromptComponent, type ProviderName, type ProviderSettings, type ProviderSettingsEntry, type ReasoningEffort, type RooCodeAPI, type RooCodeAPIEvents, RooCodeEventName, type RooCodeEvents, type RooCodeIpcServer, type RooCodeSettings, type RooCodeTelemetryEvent, SECRET_STATE_KEYS, type SecretState, type TaskCommand, TaskCommandName, type TaskEvent, type TelemetryClient, type TelemetryEvent, TelemetryEventName, type TelemetryEventSubscription, type TelemetryProperties, type TelemetryPropertiesProvider, type TelemetrySetting, type TerminalActionId, type TerminalActionName, type TerminalActionPromptType, type TokenUsage, type ToolGroup, type ToolName, type ToolProgressStatus, type ToolUsage, VERTEX_REGIONS, type Values, type VertexModelId, type VscodeLlmModelId, type XAIModelId, ackSchema, anthropicDefaultModelId, anthropicModels, appPropertiesSchema, azureOpenAiDefaultApiVersion, bedrockDefaultModelId, bedrockDefaultPromptRouterModelId, bedrockModels, chutesDefaultModelId, chutesModels, clineAskSchema, clineAsks, clineMessageSchema, clineSaySchema, clineSays, codeActionIds, codebaseIndexConfigSchema, codebaseIndexModelsSchema, codebaseIndexProviderSchema, commandExecutionStatusSchema, commandIds, contextCondenseSchema, customModePromptsSchema, customModesSettingsSchema, customSupportPromptsSchema, deepSeekDefaultModelId, deepSeekModels, experimentIds, experimentIdsSchema, experimentsSchema, geminiDefaultModelId, geminiModels, glamaDefaultModelId, glamaDefaultModelInfo, globalSettingsSchema, groqDefaultModelId, groqModels, groupEntrySchema, groupOptionsSchema, historyItemSchema, ipcMessageSchema, isGlobalStateKey, isLanguage, isModelParameter, isSecretStateKey,
|
|
12761
|
+
export { ANTHROPIC_DEFAULT_MAX_TOKENS, type Ack, type AnthropicModelId, type AssertEqual, BEDROCK_DEFAULT_CONTEXT, BEDROCK_DEFAULT_TEMPERATURE, BEDROCK_MAX_TOKENS, BEDROCK_REGIONS, BEDROCK_REGION_INFO, type BedrockModelId, type ChutesModelId, type ClineAsk, type ClineMessage, type ClineSay, type CloudOrganization, type CloudOrganizationMembership, type CloudUserInfo, type CodeActionId, type CodeActionName, type CodebaseIndexConfig, type CodebaseIndexModels, type CodebaseIndexProvider, type CommandExecutionStatus, type CommandId, type ContextCondense, type CustomModePrompts, type CustomModesSettings, type CustomSupportPrompts, DEEP_SEEK_DEFAULT_TEMPERATURE, type DeepSeekModelId, EVALS_SETTINGS, EVALS_TIMEOUT, type Equals, type ExperimentId, type Experiments, GLAMA_DEFAULT_TEMPERATURE, GLOBAL_SETTINGS_KEYS, GLOBAL_STATE_KEYS, type GeminiModelId, type GlobalSettings, type GlobalState, type GroqModelId, type GroupEntry, type GroupOptions, type HistoryItem, type InstallMarketplaceItemOptions, type IpcClientEvents, type IpcMessage, IpcMessageType, IpcOrigin, type IpcServerEvents, type Keys, LITELLM_COMPUTER_USE_MODELS, LMSTUDIO_DEFAULT_TEMPERATURE, type Language, MISTRAL_DEFAULT_TEMPERATURE, MODEL_ID_KEYS, type MarketplaceItem, type MarketplaceItemType, type McpExecutionStatus, type McpInstallationMethod, type McpMarketplaceItem, type McpParameter, type MistralModelId, type ModeConfig, type ModeMarketplaceItem, type ModelInfo, type ModelParameter, OPENAI_AZURE_AI_INFERENCE_PATH, OPENAI_NATIVE_DEFAULT_TEMPERATURE, OPENROUTER_DEFAULT_PROVIDER_NAME, OPEN_ROUTER_COMPUTER_USE_MODELS, OPEN_ROUTER_PROMPT_CACHING_MODELS, OPEN_ROUTER_REASONING_BUDGET_MODELS, OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS, ORGANIZATION_ALLOW_ALL, ORGANIZATION_DEFAULT, type OpenAiNativeModelId, type OrganizationAllowList, type OrganizationCloudSettings, type OrganizationDefaultSettings, type OrganizationSettings, PROVIDER_SETTINGS_KEYS, type PromptComponent, type ProviderName, type ProviderSettings, type ProviderSettingsEntry, type ReasoningEffort, type RooCodeAPI, type RooCodeAPIEvents, RooCodeEventName, type RooCodeEvents, type RooCodeIpcServer, type RooCodeSettings, type RooCodeTelemetryEvent, SECRET_STATE_KEYS, type SecretState, type ShareResponse, type TaskCommand, TaskCommandName, type TaskEvent, type TelemetryClient, type TelemetryEvent, TelemetryEventName, type TelemetryEventSubscription, type TelemetryProperties, type TelemetryPropertiesProvider, type TelemetrySetting, type TerminalActionId, type TerminalActionName, type TerminalActionPromptType, type TokenUsage, type ToolGroup, type ToolName, type ToolProgressStatus, type ToolUsage, VERTEX_REGIONS, type Values, type VertexModelId, type VscodeLlmModelId, type XAIModelId, ackSchema, anthropicDefaultModelId, anthropicModels, appPropertiesSchema, azureOpenAiDefaultApiVersion, bedrockDefaultModelId, bedrockDefaultPromptRouterModelId, bedrockModels, chutesDefaultModelId, chutesModels, clineAskSchema, clineAsks, clineMessageSchema, clineSaySchema, clineSays, codeActionIds, codebaseIndexConfigSchema, codebaseIndexModelsSchema, codebaseIndexProviderSchema, commandExecutionStatusSchema, commandIds, contextCondenseSchema, customModePromptsSchema, customModesSettingsSchema, customSupportPromptsSchema, deepSeekDefaultModelId, deepSeekModels, experimentIds, experimentIdsSchema, experimentsSchema, geminiDefaultModelId, geminiModels, getModelId, glamaDefaultModelId, glamaDefaultModelInfo, globalSettingsSchema, groqDefaultModelId, groqModels, groupEntrySchema, groupOptionsSchema, historyItemSchema, installMarketplaceItemOptionsSchema, ipcMessageSchema, isGlobalStateKey, isLanguage, isModelParameter, isSecretStateKey, languages, languagesSchema, litellmDefaultModelId, litellmDefaultModelInfo, marketplaceItemSchema, marketplaceItemTypeSchema, mcpExecutionStatusSchema, mcpInstallationMethodSchema, mcpMarketplaceItemSchema, mcpParameterSchema, mistralDefaultModelId, mistralModels, modeConfigSchema, modeMarketplaceItemSchema, modelInfoSchema, modelParameters, modelParametersSchema, openAiModelInfoSaneDefaults, openAiNativeDefaultModelId, openAiNativeModels, openRouterDefaultModelId, openRouterDefaultModelInfo, organizationAllowListSchema, organizationCloudSettingsSchema, organizationDefaultSettingsSchema, organizationSettingsSchema, promptComponentSchema, providerNames, providerNamesSchema, providerSettingsEntrySchema, providerSettingsSchema, providerSettingsSchemaDiscriminated, reasoningEfforts, reasoningEffortsSchema, requestyDefaultModelId, requestyDefaultModelInfo, rooCodeEventsSchema, rooCodeSettingsSchema, rooCodeTelemetryEventSchema, shareResponseSchema, taskCommandSchema, taskEventSchema, taskPropertiesSchema, telemetryPropertiesSchema, telemetrySettings, telemetrySettingsSchema, terminalActionIds, tokenUsageSchema, toolGroups, toolGroupsSchema, toolNames, toolNamesSchema, toolProgressStatusSchema, toolUsageSchema, unboundDefaultModelId, unboundDefaultModelInfo, vertexDefaultModelId, vertexModels, vscodeLlmDefaultModelId, vscodeLlmModels, xaiDefaultModelId, xaiModels };
|