@neovate/code 0.26.0 → 0.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/cli.mjs +695 -664
- package/dist/index.d.ts +24 -2
- package/dist/index.mjs +697 -666
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -132,7 +132,8 @@ declare enum ApiFormat {
|
|
|
132
132
|
Anthropic = "anthropic",
|
|
133
133
|
OpenAI = "openai",
|
|
134
134
|
Responses = "responses",
|
|
135
|
-
Google = "google"
|
|
135
|
+
Google = "google",
|
|
136
|
+
_OpenRouter = "_openrouter"
|
|
136
137
|
}
|
|
137
138
|
|
|
138
139
|
/** Supported application types for open and detect operations */
|
|
@@ -294,6 +295,12 @@ declare type Config = {
|
|
|
294
295
|
* - object: extended notification config (reserved for future use, e.g., url)
|
|
295
296
|
*/
|
|
296
297
|
notification?: boolean | string;
|
|
298
|
+
/**
|
|
299
|
+
* Default thinking/reasoning effort level for models that support it.
|
|
300
|
+
* - 'low', 'medium', 'high', 'max', 'xhigh': Use specified level if supported
|
|
301
|
+
* - 'maxOrXhigh': Prefer xhigh if available, otherwise max
|
|
302
|
+
*/
|
|
303
|
+
thinkingLevel?: 'low' | 'medium' | 'high' | 'max' | 'xhigh' | 'maxOrXhigh';
|
|
297
304
|
};
|
|
298
305
|
|
|
299
306
|
declare type ConfigGetInput = {
|
|
@@ -593,6 +600,7 @@ declare type GlobalDataRecentModelsGetOutput = {
|
|
|
593
600
|
success: boolean;
|
|
594
601
|
data: {
|
|
595
602
|
recentModels: string[];
|
|
603
|
+
thinkingLevel: string | undefined;
|
|
596
604
|
};
|
|
597
605
|
};
|
|
598
606
|
|
|
@@ -931,6 +939,10 @@ declare type HandlerMap = {
|
|
|
931
939
|
input: UtilsPlaySoundInput;
|
|
932
940
|
output: UtilsPlaySoundOutput;
|
|
933
941
|
};
|
|
942
|
+
'utils.notify': {
|
|
943
|
+
input: UtilsNotifyInput;
|
|
944
|
+
output: UtilsNotifyOutput;
|
|
945
|
+
};
|
|
934
946
|
toolApproval: {
|
|
935
947
|
input: ToolApprovalInput;
|
|
936
948
|
output: ToolApprovalOutput;
|
|
@@ -1210,6 +1222,7 @@ declare type ModelsListOutput = {
|
|
|
1210
1222
|
groupedModels: Array<{
|
|
1211
1223
|
provider: string;
|
|
1212
1224
|
providerId: string;
|
|
1225
|
+
isActive: boolean;
|
|
1213
1226
|
models: Array<{
|
|
1214
1227
|
name: string;
|
|
1215
1228
|
modelId: string;
|
|
@@ -1228,6 +1241,7 @@ declare type ModelsListOutput = {
|
|
|
1228
1241
|
modelId: string;
|
|
1229
1242
|
}>;
|
|
1230
1243
|
recentModels: string[];
|
|
1244
|
+
thinkingLevel: string | undefined;
|
|
1231
1245
|
};
|
|
1232
1246
|
};
|
|
1233
1247
|
|
|
@@ -1809,7 +1823,7 @@ export declare function _query(opts: {
|
|
|
1809
1823
|
responseFormat?: ResponseFormat;
|
|
1810
1824
|
}): Promise<LoopResult>;
|
|
1811
1825
|
|
|
1812
|
-
declare type ReasoningEffort = 'low' | 'medium' | 'high' | 'max';
|
|
1826
|
+
declare type ReasoningEffort = 'low' | 'medium' | 'high' | 'max' | 'xhigh';
|
|
1813
1827
|
|
|
1814
1828
|
declare type ReasoningPart = {
|
|
1815
1829
|
type: 'reasoning';
|
|
@@ -2094,6 +2108,7 @@ declare type SessionInitializeOutput = {
|
|
|
2094
2108
|
sessionSummary: string | undefined;
|
|
2095
2109
|
pastedTextMap: Record<string, string>;
|
|
2096
2110
|
pastedImageMap: Record<string, string>;
|
|
2111
|
+
thinkingLevel: string | undefined;
|
|
2097
2112
|
};
|
|
2098
2113
|
};
|
|
2099
2114
|
|
|
@@ -2658,6 +2673,13 @@ declare type UtilsGetPathsOutput = {
|
|
|
2658
2673
|
};
|
|
2659
2674
|
};
|
|
2660
2675
|
|
|
2676
|
+
declare type UtilsNotifyInput = {
|
|
2677
|
+
cwd: string;
|
|
2678
|
+
config: string | false | undefined;
|
|
2679
|
+
};
|
|
2680
|
+
|
|
2681
|
+
declare type UtilsNotifyOutput = SuccessResponse;
|
|
2682
|
+
|
|
2661
2683
|
declare type UtilsOnRequestHook = (req: {
|
|
2662
2684
|
url: string;
|
|
2663
2685
|
method: string;
|