Skip to content

Commit 10843e8

Browse files
committed
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
1 parent 8bbecac commit 10843e8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/task/Task.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import * as path from "path"
22
import os from "os"
33
import crypto from "crypto"
44
import EventEmitter from "events"
5+
import * as vscode from "vscode"
56

67
import { Anthropic } from "@anthropic-ai/sdk"
78
import delay from "delay"
@@ -58,6 +59,7 @@ import { TerminalRegistry } from "../../integrations/terminal/TerminalRegistry"
5859
// utils
5960
import { calculateApiCostAnthropic } from "../../shared/cost"
6061
import { getWorkspacePath } from "../../utils/path"
62+
import { Package } from "../../shared/package"
6163

6264
// prompts
6365
import { formatResponse } from "../prompts/responses"

0 commit comments

Comments
 (0)