Files
openclaw/repro.ts
Clawd Bot ca9b510922 chore: align with upstream openclaw/openclaw and overlay local additions
- Reset master to upstream/main (16,697 commits)
- Overlay 2,271 local-only files (skills, tools, workspace, configs, apps)
- Restore IDENTITY.md and USER.md templates
- Build verified, gateway running, Discord working

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 07:40:46 +01:00

18 lines
453 B
TypeScript

import { SessionManager } from "@mariozechner/pi-coding-agent";
import os from "os";
import path from "path";
async function run() {
try {
const tmpFile = path.join(os.tmpdir(), "test-session.jsonl");
console.log(`Attempting to open session at: ${tmpFile}`);
const sessionManager = SessionManager.open(tmpFile);
console.log("Success!");
} catch (err: any) {
console.error("Caught error:");
console.error(err);
}
}
run();