@neovate/code 0.22.3 → 0.22.4
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 +589 -585
- package/dist/index.d.ts +6 -18
- package/dist/index.mjs +576 -572
- package/package.json +2 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AnthropicProvider } from '@ai-sdk/anthropic';
|
|
1
2
|
import EventEmitter from 'events';
|
|
2
3
|
import { LanguageModelV2 } from '@openrouter/ai-sdk-provider';
|
|
3
4
|
import type { OpenAICompatibleProvider } from '@ai-sdk/openai-compatible';
|
|
@@ -390,6 +391,10 @@ declare type GitStatusOutput = {
|
|
|
390
391
|
email: boolean;
|
|
391
392
|
};
|
|
392
393
|
isMerging: boolean;
|
|
394
|
+
unstagedFiles: Array<{
|
|
395
|
+
status: string;
|
|
396
|
+
file: string;
|
|
397
|
+
}>;
|
|
393
398
|
};
|
|
394
399
|
error?: string;
|
|
395
400
|
};
|
|
@@ -1014,6 +1019,7 @@ declare type Plugin_2 = {
|
|
|
1014
1019
|
defaultModelCreator: (name: string, provider: Provider) => LanguageModelV2;
|
|
1015
1020
|
createOpenAI: (options: any) => OpenAIProvider;
|
|
1016
1021
|
createOpenAICompatible: (options: any) => OpenAICompatibleProvider;
|
|
1022
|
+
createAnthropic: (options: any) => AnthropicProvider;
|
|
1017
1023
|
}) => Promise<ProvidersMap> | ProvidersMap;
|
|
1018
1024
|
modelAlias?: (this: PluginContext, modelAlias: ModelAlias) => Promise<ModelAlias> | ModelAlias;
|
|
1019
1025
|
initialized?: (this: PluginContext, opts: {
|
|
@@ -1066,24 +1072,6 @@ declare type Plugin_2 = {
|
|
|
1066
1072
|
name: string;
|
|
1067
1073
|
payload: Record<string, any>;
|
|
1068
1074
|
}) => Promise<void> | void;
|
|
1069
|
-
_serverAppData?: (this: PluginContext, opts: {
|
|
1070
|
-
context: any;
|
|
1071
|
-
cwd: string;
|
|
1072
|
-
}) => Promise<any> | any;
|
|
1073
|
-
_serverRoutes?: (this: PluginContext, opts: {
|
|
1074
|
-
app: any;
|
|
1075
|
-
prefix: string;
|
|
1076
|
-
opts: any;
|
|
1077
|
-
}) => Promise<any> | any;
|
|
1078
|
-
_serverRouteCompletions?: (this: PluginContext, opts: {
|
|
1079
|
-
message: {
|
|
1080
|
-
role: 'user';
|
|
1081
|
-
content: string;
|
|
1082
|
-
attachedContexts: any[];
|
|
1083
|
-
contextContent: string;
|
|
1084
|
-
};
|
|
1085
|
-
attachedContexts: any[];
|
|
1086
|
-
}) => Promise<any> | any;
|
|
1087
1075
|
};
|
|
1088
1076
|
export { Plugin_2 as Plugin }
|
|
1089
1077
|
|