feat(session): Explicit session id naming (#5076)

This commit is contained in:
Armin Ronacher
2026-05-27 21:32:10 +02:00
committed by GitHub
parent 7c02a55632
commit 52dc08c1f7
7 changed files with 307 additions and 27 deletions

View File

@@ -130,6 +130,11 @@ describe("parseArgs", () => {
expect(result.session).toBe("/path/to/session.jsonl");
});
test("parses --session-id", () => {
const result = parseArgs(["--session-id", "orchestrated-session"]);
expect(result.sessionId).toBe("orchestrated-session");
});
test("parses --fork", () => {
const result = parseArgs(["--fork", "1234abcd"]);
expect(result.fork).toBe("1234abcd");