mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-06 08:18:39 +00:00
Type fixes
This commit is contained in:
parent
f905f51955
commit
bae5aeb4db
2 changed files with 7 additions and 2 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import { TaskCommandName } from "@benchmark/types"
|
||||
|
||||
import { IpcMessageType, IpcClient, IpcOrigin } from "../src/index.js"
|
||||
import { IpcMessageType, IpcOrigin } from "@benchmark/types"
|
||||
import { IpcClient } from "../src/index.js"
|
||||
|
||||
async function main(socketPath: string, prompt: string) {
|
||||
try {
|
||||
|
|
|
|||
|
|
@ -115,8 +115,12 @@ export async function activate(context: vscode.ExtensionContext) {
|
|||
registerCodeActions(context)
|
||||
registerTerminalActions(context)
|
||||
|
||||
if (process.env.ROO_CODE_IPC_SOCKET_PATH) {
|
||||
outputChannel.appendLine(`ROO_CODE_IPC_SOCKET_PATH: ${process.env.ROO_CODE_IPC_SOCKET_PATH}`)
|
||||
}
|
||||
|
||||
// Implements the `RooCodeAPI` interface.
|
||||
return new API(outputChannel, provider, "/tmp/roo-code-ipc.sock")
|
||||
return new API(outputChannel, provider, process.env.ROO_CODE_IPC_SOCKET_PATH)
|
||||
}
|
||||
|
||||
// This method is called when your extension is deactivated
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue