Something went wrong. Try again.
fork of prime agent with changes i want but are not upstreamable probqbly (and some fixes)
Something went wrong. Try again.
546 B · 11 lines
TypeScript
123456789101112import { join } from "node:path";import { describe, expect, it } from "vitest";import { manifestPathIn, snapshotPathIn } from "../src/core/kernel/state-snapshot.js";
describe("kernel state snapshot paths", () => { it("places snapshot + manifest inside the session artifact directory", () => { const artifactDir = "/home/u/.prime/agent/session-artifacts/abc-123"; expect(snapshotPathIn(artifactDir)).toBe(join(artifactDir, "kernel-state.dill")); expect(manifestPathIn(artifactDir)).toBe(join(artifactDir, "kernel-state.json")); });});