mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
chore(vscode-ide-companion): wip
This commit is contained in:
@@ -34,9 +34,6 @@ export type { ChatMessage, PlanEntry, ToolCallUpdateData };
|
|||||||
*
|
*
|
||||||
* Coordinates various modules and provides unified interface
|
* Coordinates various modules and provides unified interface
|
||||||
*/
|
*/
|
||||||
interface AgentConnectOptions {
|
|
||||||
autoAuthenticate?: boolean;
|
|
||||||
}
|
|
||||||
interface AgentSessionOptions {
|
interface AgentSessionOptions {
|
||||||
autoAuthenticate?: boolean;
|
autoAuthenticate?: boolean;
|
||||||
}
|
}
|
||||||
@@ -192,14 +189,12 @@ export class QwenAgentManager {
|
|||||||
async connect(
|
async connect(
|
||||||
workingDir: string,
|
workingDir: string,
|
||||||
cliEntryPath: string,
|
cliEntryPath: string,
|
||||||
options?: AgentConnectOptions,
|
|
||||||
): Promise<QwenConnectionResult> {
|
): Promise<QwenConnectionResult> {
|
||||||
this.currentWorkingDir = workingDir;
|
this.currentWorkingDir = workingDir;
|
||||||
return this.connectionHandler.connect(
|
return this.connectionHandler.connect(
|
||||||
this.connection,
|
this.connection,
|
||||||
workingDir,
|
workingDir,
|
||||||
cliEntryPath,
|
cliEntryPath,
|
||||||
options,
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -576,7 +576,6 @@ export class WebViewProvider {
|
|||||||
const connectResult = await this.agentManager.connect(
|
const connectResult = await this.agentManager.connect(
|
||||||
workingDir,
|
workingDir,
|
||||||
bundledCliEntry,
|
bundledCliEntry,
|
||||||
options,
|
|
||||||
);
|
);
|
||||||
console.log('[WebViewProvider] Agent connected successfully');
|
console.log('[WebViewProvider] Agent connected successfully');
|
||||||
this.agentInitialized = true;
|
this.agentInitialized = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user