@neovate/code 0.22.0 → 0.22.2
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 +402 -402
- package/dist/index.d.ts +4 -1
- package/dist/index.mjs +403 -403
- package/package.json +1 -1
- package/vendor/takumi.vsix +0 -0
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: {
|
|
@@ -1348,6 +1350,7 @@ export declare type SDKSessionOptions = {
|
|
|
1348
1350
|
model: string;
|
|
1349
1351
|
cwd?: string;
|
|
1350
1352
|
productName?: string;
|
|
1353
|
+
plugins?: Plugin_2[];
|
|
1351
1354
|
};
|
|
1352
1355
|
|
|
1353
1356
|
declare type SDKSystemMessage = {
|