fix build error

This commit is contained in:
Dallin Romney 2024-12-13 17:15:13 -08:00
parent 205a6137be
commit 6f12051dec
4 changed files with 3 additions and 8 deletions

View file

@ -1,6 +1,6 @@
import ignore from "ignore";
import { FileType, IDE, SlashCommand } from "../..";
import type { FileType, IDE, SlashCommand } from "../..";
import {
defaultIgnoreDir,
defaultIgnoreFile,

View file

@ -73,11 +73,6 @@ This is the question that you should select relevant files for: "${input}"`;
return [];
}
// IMPORANT
// const subDirPrefix = filterDirUri
// ? getUriPathBasename(filterDirUri) + "/"
// : "";
const fileUris = content
.split("<results>")[1]
?.split("</results>")[0]

2
core/index.d.ts vendored
View file

@ -492,7 +492,7 @@ export interface LLMOptions {
deploymentId?: string;
}
export type RequireAtLeastOne<T, Keys extends keyof T = keyof T> = Pick<
type RequireAtLeastOne<T, Keys extends keyof T = keyof T> = Pick<
T,
Exclude<keyof T, Keys>
> &

View file

@ -1,6 +1,6 @@
import ignore, { Ignore } from "ignore";
import { FileType, IDE } from "..";
import type { FileType, IDE } from "..";
import {
DEFAULT_IGNORE_DIRS,