goose2 session working dir (#8624)

This commit is contained in:
Lifei Zhou
2026-04-18 04:50:37 +10:00
committed by GitHub
parent d52cde3fb9
commit 2533765359
24 changed files with 448 additions and 257 deletions
+1 -2
View File
@@ -21,7 +21,6 @@ export interface AcpSendMessageOptions {
}
export interface AcpPrepareSessionOptions {
workingDir?: string;
personaId?: string;
}
@@ -67,9 +66,9 @@ export async function acpSendMessage(
export async function acpPrepareSession(
sessionId: string,
providerId: string,
workingDir: string,
options: AcpPrepareSessionOptions = {},
): Promise<void> {
const workingDir = options.workingDir ?? "~/.goose/artifacts";
await sessionTracker.prepareSession(
sessionId,
providerId,