chore: fix typescript issues

This commit is contained in:
adamdottv 2025-06-20 07:48:42 -05:00
parent 40b1dd7ef2
commit f7e8dd2ff8
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75
3 changed files with 4 additions and 4 deletions

View file

@ -10,7 +10,7 @@ import { Message } from "../session/message"
import { Provider } from "../provider/provider"
import { App } from "../app/app"
import { Global } from "../global"
import { filter, mapValues } from "remeda"
import { mapValues } from "remeda"
import { NamedError } from "../util/error"
import { ModelsDev } from "../provider/models"
import { Ripgrep } from "../external/ripgrep"

View file

@ -25,7 +25,7 @@ export namespace SystemPrompt {
export async function environment() {
const app = App.info()
const tree = async () => {
;async () => {
const files = await Ripgrep.files({
cwd: app.path.cwd,
})

View file

@ -1,7 +1,7 @@
import { z, type ZodSchema } from "zod"
import { Log } from "./log"
// import { Log } from "./log"
const log = Log.create()
// const log = Log.create()
export abstract class NamedError extends Error {
abstract schema(): ZodSchema