This commit is contained in:
Dax Raad
2025-08-06 20:20:20 -04:00
parent 390b660c81
commit 323ce486a5
20 changed files with 303 additions and 534 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ import { generateObject, type ModelMessage } from "ai"
import PROMPT_GENERATE from "./generate.txt"
import { SystemPrompt } from "../session/system"
import { State } from "../project/state"
import { Session } from "../session"
import { Paths } from "../project/path"
export namespace Agent {
export const Info = z
@@ -26,7 +26,7 @@ export namespace Agent {
})
export type Info = z.infer<typeof Info>
const state = State.create(
() => Session.use().directory,
() => Paths.use().directory,
async () => {
const cfg = await Config.get()
const result: Record<string, Info> = {