mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
fix: add missing imports for vscode and Package in Task.ts
- Added vscode import to fix TypeScript error - Added Package import from shared/package module - Fixes pre-push type checking failure
This commit is contained in:
parent
8bbecace55
commit
10843e87c0
1 changed files with 2 additions and 0 deletions
|
|
@ -2,6 +2,7 @@ import * as path from "path"
|
|||
import os from "os"
|
||||
import crypto from "crypto"
|
||||
import EventEmitter from "events"
|
||||
import * as vscode from "vscode"
|
||||
|
||||
import { Anthropic } from "@anthropic-ai/sdk"
|
||||
import delay from "delay"
|
||||
|
|
@ -58,6 +59,7 @@ import { TerminalRegistry } from "../../integrations/terminal/TerminalRegistry"
|
|||
// utils
|
||||
import { calculateApiCostAnthropic } from "../../shared/cost"
|
||||
import { getWorkspacePath } from "../../utils/path"
|
||||
import { Package } from "../../shared/package"
|
||||
|
||||
// prompts
|
||||
import { formatResponse } from "../prompts/responses"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue