@neovate/code 0.22.0 → 0.22.1
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 +399 -399
- package/dist/index.d.ts +3 -1
- package/dist/index.mjs +399 -399
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import EventEmitter from 'events';
|
|
2
2
|
import { LanguageModelV2 } from '@openrouter/ai-sdk-provider';
|
|
3
|
+
import type { OpenAICompatibleProvider } from '@ai-sdk/openai-compatible';
|
|
3
4
|
import type { OpenAIProvider } from '@ai-sdk/openai';
|
|
4
5
|
import * as z from 'zod';
|
|
5
6
|
import { z as _zod } from 'zod';
|
|
6
7
|
|
|
7
8
|
/** Supported application types for open and detect operations */
|
|
8
|
-
declare type App = 'cursor' | 'vscode' | 'vscode-insiders' | 'zed' | 'windsurf' | 'iterm' | 'warp' | 'terminal' | 'antigravity' | 'finder' | 'sourcetree';
|
|
9
|
+
declare type App = 'cursor' | 'vscode' | 'vscode-insiders' | 'zed' | 'windsurf' | 'iterm' | 'warp' | 'terminal' | 'antigravity' | 'finder' | 'sourcetree' | 'fork';
|
|
9
10
|
|
|
10
11
|
declare type ApprovalCategory = 'read' | 'write' | 'command' | 'network' | 'ask';
|
|
11
12
|
|
|
@@ -945,6 +946,7 @@ declare type Plugin_2 = {
|
|
|
945
946
|
models: ModelMap;
|
|
946
947
|
defaultModelCreator: (name: string, provider: Provider) => LanguageModelV2;
|
|
947
948
|
createOpenAI: (options: any) => OpenAIProvider;
|
|
949
|
+
createOpenAICompatible: (options: any) => OpenAICompatibleProvider;
|
|
948
950
|
}) => Promise<ProvidersMap> | ProvidersMap;
|
|
949
951
|
modelAlias?: (this: PluginContext, modelAlias: ModelAlias) => Promise<ModelAlias> | ModelAlias;
|
|
950
952
|
initialized?: (this: PluginContext, opts: {
|