{"_id":"agui-session-recorder","name":"agui-session-recorder","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"agui-session-recorder","version":"0.1.0","description":"Session capture, snapshot reduction, playback, and repro fixture export for AG-UI event streams.","type":"module","exports":{".":"./src/index.js"},"scripts":{"test":"node --test"},"keywords":["ag-ui","agent-ui","session-recorder","debugging","replay"],"license":"MIT","engines":{"node":">=18"},"_id":"agui-session-recorder@0.1.0","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-1BkeAx7NOY5pX7UqMRbVet3nk+n6f8vzp+aXbwYiWasuS8qRh9ThW3WhcgsdDBfALuhbfTkXOZTtFdiJqPw3Yw==","shasum":"575cd7bde772d1851eac047386d5cf46ba98e6f5","tarball":"https://registry.npmjs.org/agui-session-recorder/-/agui-session-recorder-0.1.0.tgz","fileCount":4,"unpackedSize":7228,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBQh0rJ9Ki50wKVQeUd1l8F2AQN9xLdSzHH7DGX11cLbAiAYEgxY8jdSqXJtbdpKjfyuqUzrh2EZ4xNay1ap+sFr9g=="}]},"_npmUser":{"name":"ryanmccollum1","email":"eldiablo27033@gmail.com"},"directories":{},"maintainers":[{"name":"ryanmccollum1","email":"eldiablo27033@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/agui-session-recorder_0.1.0_1775066569206_0.6389472764450479"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-01T18:02:49.205Z","0.1.0":"2026-04-01T18:02:49.354Z","modified":"2026-04-01T18:02:49.589Z"},"maintainers":[{"name":"ryanmccollum1","email":"eldiablo27033@gmail.com"}],"description":"Session capture, snapshot reduction, playback, and repro fixture export for AG-UI event streams.","keywords":["ag-ui","agent-ui","session-recorder","debugging","replay"],"license":"MIT","readme":"# agui-session-recorder\n\n`agui-session-recorder` captures AG-UI event streams, reduces them into deterministic snapshots, and exports repro fixtures for broken sessions.\n\n## Features\n\n- Records text, tool, state, and lifecycle events\n- Reconstructs message buffers and session state\n- Stores checkpoint snapshots at configurable intervals\n- Replays a session from the nearest checkpoint instead of from the beginning\n\n## Usage\n\n```js\nimport { SessionRecorder } from \"agui-session-recorder\";\n\nconst recorder = new SessionRecorder({ checkpointInterval: 2 });\nrecorder.record({ type: \"run_started\", runId: \"run-1\" });\nrecorder.record({ type: \"text_delta\", messageId: \"m1\", delta: \"Hello\" });\nrecorder.record({ type: \"text_completed\", messageId: \"m1\" });\n\nconst session = recorder.finalize();\nconsole.log(session.snapshots.length);\n```\n","readmeFilename":"README.md","_rev":"1-f522bd7cbc136b9b2d2b5f61f6492fbc"}