We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a778e23 commit 60cc4eeCopy full SHA for 60cc4ee
registry/coder/modules/claude-code/main.test.ts
@@ -205,6 +205,17 @@ describe("claude-code", async () => {
205
ai_prompt: "test prompt",
206
},
207
});
208
+
209
+ const projectDir = "/home/coder/project";
210
+ const projectDirName = projectDir.replace(/\//g, "-");
211
+ const sessionDir = `/home/coder/.claude/projects/${projectDirName}`;
212
+ await execContainer(id, ["mkdir", "-p", sessionDir]);
213
+ await execContainer(id, [
214
+ "bash",
215
+ "-c",
216
+ `echo '{"type":"user","isSidechain":false}' > ${sessionDir}/session-123.jsonl`,
217
+ ]);
218
219
await execModuleScript(id);
220
221
const startLog = await execContainer(id, [
0 commit comments