remove artifacts dir handling (#8945)

This commit is contained in:
Jack Amadeo
2026-05-04 09:15:02 -04:00
committed by GitHub
parent 5f9a5a53db
commit 5021a88ce3
22 changed files with 103 additions and 410 deletions
@@ -53,7 +53,7 @@ describe("acpNotificationHandler", () => {
"local-session",
"goose-session",
"goose",
"/Users/aharvard/.goose/artifacts",
"/Users/aharvard",
);
setActiveMessageId("goose-session", "assistant-1");
+1 -1
View File
@@ -226,7 +226,7 @@ export async function acpLoadSession(
gooseSessionId: string,
workingDir?: string,
): Promise<void> {
const effectiveWorkingDir = workingDir ?? "~/.goose/artifacts";
const effectiveWorkingDir = workingDir ?? "~";
const sid = sessionId.slice(0, 8);
const t0 = performance.now();
const rollbackSessionRegistration = sessionTracker.registerSession(
+1 -1
View File
@@ -98,7 +98,7 @@ export async function forkSession(sessionId: string): Promise<AcpSessionInfo> {
const client = await getClient();
const response = await client.unstable_forkSession({
sessionId,
cwd: "~/.goose/artifacts",
cwd: "~",
});
return {
sessionId: response.sessionId,
@@ -197,7 +197,7 @@
"openFile": "Open file",
"openFolder": "Open folder",
"openPath": "Open path",
"pathOutsideRoots": "Path is outside allowed project/artifacts roots.",
"pathOutsideRoots": "Path is outside allowed roots",
"structuredContent": "Structured content",
"structuredOutput": "Structured output",
"structuredOutputLines": "{{count}} lines"