remove artifacts dir handling (#8945)
This commit is contained in:
@@ -53,7 +53,7 @@ describe("acpNotificationHandler", () => {
|
||||
"local-session",
|
||||
"goose-session",
|
||||
"goose",
|
||||
"/Users/aharvard/.goose/artifacts",
|
||||
"/Users/aharvard",
|
||||
);
|
||||
setActiveMessageId("goose-session", "assistant-1");
|
||||
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user