-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
Fixes #66 Signed-off-by: David Zager <[email protected]>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import { Incident } from "../webview/types"; | ||
|
||
// KaiConfigModels type definition | ||
export interface KaiConfigModels { | ||
provider: string; | ||
args: Record<string, any>; | ||
template?: string; | ||
llamaHeader?: boolean; | ||
llmRetries: number; | ||
llmRetryDelay: number; | ||
} | ||
|
||
// KaiRpcApplicationConfig type definition | ||
export interface KaiInitializeParams { | ||
rootPath: string; | ||
modelProvider: KaiConfigModels; | ||
kaiBackendUrl: string; | ||
|
||
logLevel: string; | ||
stderrLogLevel: string; | ||
fileLogLevel?: string; | ||
logDirPath?: string; | ||
|
||
analyzerLspLspPath: string; | ||
analyzerLspRpcPath: string; | ||
analyzerLspRulesPath: string; | ||
analyzerLspJavaBundlePath: string; | ||
} | ||
|
||
interface GetSolutionParams { | ||
Check warning on line 30 in vscode/src/client/types.ts GitHub Actions / Build (linux)
Check warning on line 30 in vscode/src/client/types.ts GitHub Actions / Build (macos)
Check warning on line 30 in vscode/src/client/types.ts GitHub Actions / Build (windows)
Check warning on line 30 in vscode/src/client/types.ts GitHub Actions / Test (linux)
Check warning on line 30 in vscode/src/client/types.ts GitHub Actions / Test (windows)
Check warning on line 30 in vscode/src/client/types.ts GitHub Actions / Test (macos)
Check warning on line 30 in vscode/src/client/types.ts GitHub Actions / nightly / Build (linux)
Check warning on line 30 in vscode/src/client/types.ts GitHub Actions / nightly / Build (macos)
Check warning on line 30 in vscode/src/client/types.ts GitHub Actions / nightly / Build (windows)
Check warning on line 30 in vscode/src/client/types.ts GitHub Actions / nightly / Test (macos)
Check warning on line 30 in vscode/src/client/types.ts GitHub Actions / nightly / Test (linux)
Check warning on line 30 in vscode/src/client/types.ts GitHub Actions / nightly / Test (windows)
Check warning on line 30 in vscode/src/client/types.ts GitHub Actions / nightly / Build (linux)
Check warning on line 30 in vscode/src/client/types.ts GitHub Actions / nightly / Build (macos)
Check warning on line 30 in vscode/src/client/types.ts GitHub Actions / nightly / Build (windows)
Check warning on line 30 in vscode/src/client/types.ts GitHub Actions / nightly / Test (macos)
Check warning on line 30 in vscode/src/client/types.ts GitHub Actions / nightly / Test (linux)
Check warning on line 30 in vscode/src/client/types.ts GitHub Actions / nightly / Test (windows)
Check warning on line 30 in vscode/src/client/types.ts GitHub Actions / nightly / Build (linux)
Check warning on line 30 in vscode/src/client/types.ts GitHub Actions / nightly / Build (macos)
Check warning on line 30 in vscode/src/client/types.ts GitHub Actions / nightly / Build (windows)
Check warning on line 30 in vscode/src/client/types.ts GitHub Actions / nightly / Test (linux)
Check warning on line 30 in vscode/src/client/types.ts GitHub Actions / nightly / Test (macos)
Check warning on line 30 in vscode/src/client/types.ts GitHub Actions / nightly / Test (windows)
Check warning on line 30 in vscode/src/client/types.ts GitHub Actions / nightly / Build (linux)
Check warning on line 30 in vscode/src/client/types.ts GitHub Actions / nightly / Build (macos)
Check warning on line 30 in vscode/src/client/types.ts GitHub Actions / nightly / Build (windows)
Check warning on line 30 in vscode/src/client/types.ts GitHub Actions / nightly / Test (linux)
Check warning on line 30 in vscode/src/client/types.ts GitHub Actions / nightly / Test (macos)
|
||
file_path: string; | ||
incidents: Incident[]; | ||
} | ||
|
||
interface GetSolutionResult { | ||
Check warning on line 35 in vscode/src/client/types.ts GitHub Actions / Build (linux)
Check warning on line 35 in vscode/src/client/types.ts GitHub Actions / Build (macos)
Check warning on line 35 in vscode/src/client/types.ts GitHub Actions / Build (windows)
Check warning on line 35 in vscode/src/client/types.ts GitHub Actions / Test (linux)
Check warning on line 35 in vscode/src/client/types.ts GitHub Actions / Test (windows)
Check warning on line 35 in vscode/src/client/types.ts GitHub Actions / Test (macos)
Check warning on line 35 in vscode/src/client/types.ts GitHub Actions / nightly / Build (linux)
Check warning on line 35 in vscode/src/client/types.ts GitHub Actions / nightly / Build (macos)
Check warning on line 35 in vscode/src/client/types.ts GitHub Actions / nightly / Build (windows)
Check warning on line 35 in vscode/src/client/types.ts GitHub Actions / nightly / Test (macos)
Check warning on line 35 in vscode/src/client/types.ts GitHub Actions / nightly / Test (linux)
Check warning on line 35 in vscode/src/client/types.ts GitHub Actions / nightly / Test (windows)
Check warning on line 35 in vscode/src/client/types.ts GitHub Actions / nightly / Build (linux)
Check warning on line 35 in vscode/src/client/types.ts GitHub Actions / nightly / Build (macos)
Check warning on line 35 in vscode/src/client/types.ts GitHub Actions / nightly / Build (windows)
Check warning on line 35 in vscode/src/client/types.ts GitHub Actions / nightly / Test (macos)
Check warning on line 35 in vscode/src/client/types.ts GitHub Actions / nightly / Test (linux)
Check warning on line 35 in vscode/src/client/types.ts GitHub Actions / nightly / Test (windows)
Check warning on line 35 in vscode/src/client/types.ts GitHub Actions / nightly / Build (linux)
Check warning on line 35 in vscode/src/client/types.ts GitHub Actions / nightly / Build (macos)
Check warning on line 35 in vscode/src/client/types.ts GitHub Actions / nightly / Build (windows)
Check warning on line 35 in vscode/src/client/types.ts GitHub Actions / nightly / Test (linux)
Check warning on line 35 in vscode/src/client/types.ts GitHub Actions / nightly / Test (macos)
Check warning on line 35 in vscode/src/client/types.ts GitHub Actions / nightly / Test (windows)
Check warning on line 35 in vscode/src/client/types.ts GitHub Actions / nightly / Build (linux)
Check warning on line 35 in vscode/src/client/types.ts GitHub Actions / nightly / Build (macos)
Check warning on line 35 in vscode/src/client/types.ts GitHub Actions / nightly / Build (windows)
Check warning on line 35 in vscode/src/client/types.ts GitHub Actions / nightly / Test (linux)
Check warning on line 35 in vscode/src/client/types.ts GitHub Actions / nightly / Test (macos)
|
||
encountered_errors: string[]; // An array of error messages | ||
modified_files: string[]; // An array of modified file paths | ||
diff: string; // The concatenated diff content | ||
} |