@neovate/code 0.26.1 → 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/index.d.ts CHANGED
@@ -295,6 +295,12 @@ declare type Config = {
295
295
  * - object: extended notification config (reserved for future use, e.g., url)
296
296
  */
297
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';
298
304
  };
299
305
 
300
306
  declare type ConfigGetInput = {
@@ -594,6 +600,7 @@ declare type GlobalDataRecentModelsGetOutput = {
594
600
  success: boolean;
595
601
  data: {
596
602
  recentModels: string[];
603
+ thinkingLevel: string | undefined;
597
604
  };
598
605
  };
599
606
 
@@ -932,6 +939,10 @@ declare type HandlerMap = {
932
939
  input: UtilsPlaySoundInput;
933
940
  output: UtilsPlaySoundOutput;
934
941
  };
942
+ 'utils.notify': {
943
+ input: UtilsNotifyInput;
944
+ output: UtilsNotifyOutput;
945
+ };
935
946
  toolApproval: {
936
947
  input: ToolApprovalInput;
937
948
  output: ToolApprovalOutput;
@@ -1211,6 +1222,7 @@ declare type ModelsListOutput = {
1211
1222
  groupedModels: Array<{
1212
1223
  provider: string;
1213
1224
  providerId: string;
1225
+ isActive: boolean;
1214
1226
  models: Array<{
1215
1227
  name: string;
1216
1228
  modelId: string;
@@ -1229,6 +1241,7 @@ declare type ModelsListOutput = {
1229
1241
  modelId: string;
1230
1242
  }>;
1231
1243
  recentModels: string[];
1244
+ thinkingLevel: string | undefined;
1232
1245
  };
1233
1246
  };
1234
1247
 
@@ -1810,7 +1823,7 @@ export declare function _query(opts: {
1810
1823
  responseFormat?: ResponseFormat;
1811
1824
  }): Promise<LoopResult>;
1812
1825
 
1813
- declare type ReasoningEffort = 'low' | 'medium' | 'high' | 'max';
1826
+ declare type ReasoningEffort = 'low' | 'medium' | 'high' | 'max' | 'xhigh';
1814
1827
 
1815
1828
  declare type ReasoningPart = {
1816
1829
  type: 'reasoning';
@@ -2095,6 +2108,7 @@ declare type SessionInitializeOutput = {
2095
2108
  sessionSummary: string | undefined;
2096
2109
  pastedTextMap: Record<string, string>;
2097
2110
  pastedImageMap: Record<string, string>;
2111
+ thinkingLevel: string | undefined;
2098
2112
  };
2099
2113
  };
2100
2114
 
@@ -2659,6 +2673,13 @@ declare type UtilsGetPathsOutput = {
2659
2673
  };
2660
2674
  };
2661
2675
 
2676
+ declare type UtilsNotifyInput = {
2677
+ cwd: string;
2678
+ config: string | false | undefined;
2679
+ };
2680
+
2681
+ declare type UtilsNotifyOutput = SuccessResponse;
2682
+
2662
2683
  declare type UtilsOnRequestHook = (req: {
2663
2684
  url: string;
2664
2685
  method: string;