@neovate/code 0.12.4 → 0.12.6

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
@@ -176,6 +176,7 @@ export declare class Context {
176
176
  version: string;
177
177
  config: Config;
178
178
  paths: Paths;
179
+ argvConfig: Record<string, any>;
179
180
  mcpManager: MCPManager;
180
181
  constructor(opts: ContextOpts);
181
182
  apply(applyOpts: Omit<PluginApplyOpts, 'pluginContext'>): Promise<any>;
@@ -552,7 +553,7 @@ declare interface Provider {
552
553
  api?: string;
553
554
  doc: string;
554
555
  models: Record<string, string | Omit<Model, 'id' | 'cost'>>;
555
- createModel(name: string, provider: Provider): LanguageModelV1;
556
+ createModel(name: string, provider: Provider, globalConfigDir: string): Promise<LanguageModelV1> | LanguageModelV1;
556
557
  options?: {
557
558
  baseURL?: string;
558
559
  apiKey?: string;