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:
hannesrudolph 2025-07-15 09:23:47 -06:00
parent 8bbecace55
commit 10843e87c0

View file

@ -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"