{"_id":"@ai-flight-recorder/core","_rev":"2-f873fcb84718955cdc0306c4720d2716","name":"@ai-flight-recorder/core","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@ai-flight-recorder/core","version":"0.1.0","keywords":["ai","llm","observability","debugging","recording","replay","openai","anthropic","gemini","mcp","flight-recorder"],"author":{"name":"Matt Smith"},"license":"MIT","_id":"@ai-flight-recorder/core@0.1.0","maintainers":[{"name":"allthingssmitty","email":"runner_28@hotmail.com"}],"homepage":"https://github.com/AllThingsSmitty/ai-flight-recorder#readme","bugs":{"url":"https://github.com/AllThingsSmitty/ai-flight-recorder/issues"},"dist":{"shasum":"171135182bdc9c77790cf3c3358f506332e9dfe9","tarball":"https://registry.npmjs.org/@ai-flight-recorder/core/-/core-0.1.0.tgz","fileCount":154,"integrity":"sha512-uWakA34zQIXobTt4j/uJ3SKUvhhp2x7mnMNYhKde/DrWNgl76cC+pVzVUKs+jyCkMpngLcPaBRtwFUl5Sk+7kA==","signatures":[{"sig":"MEUCIEIRG0w5oPL94djKx0lZnyabi21SZTUhvyJe7fv5wVPkAiEA2nb+ZxUbtGx+cr/50vheDKY7UXQIN3gl4aKwWZZTm/Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":64572},"main":"./dist/index.js","type":"module","_from":"file:ai-flight-recorder-core-0.1.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"dev":"tsc --build --watch","lint":"eslint src","build":"tsc --build","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"allthingssmitty","email":"runner_28@hotmail.com"},"_resolved":"C:\\Users\\C8M9S\\AppData\\Local\\Temp\\9e767b2816cd2be3c156d09afcb97bd5\\ai-flight-recorder-core-0.1.0.tgz","_integrity":"sha512-uWakA34zQIXobTt4j/uJ3SKUvhhp2x7mnMNYhKde/DrWNgl76cC+pVzVUKs+jyCkMpngLcPaBRtwFUl5Sk+7kA==","repository":{"url":"git+https://github.com/AllThingsSmitty/ai-flight-recorder.git","type":"git","directory":"packages/core"},"_npmVersion":"11.3.0","description":"Core domain types and engine for AI Flight Recorder — record, replay, and inspect AI sessions","directories":{},"_nodeVersion":"22.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/core_0.1.0_1785161343263_0.38909668830519206","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@ai-flight-recorder/core","version":"0.1.1","description":"Core domain types and engine for AI Flight Recorder — record, replay, and inspect AI sessions","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts"}},"keywords":["ai","llm","observability","debugging","recording","replay","openai","anthropic","gemini","mcp","flight-recorder"],"author":{"name":"Matt Smith"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/AllThingsSmitty/ai-flight-recorder.git","directory":"packages/core"},"homepage":"https://github.com/AllThingsSmitty/ai-flight-recorder#readme","publishConfig":{"access":"public"},"devDependencies":{"typescript":"^5"},"scripts":{"build":"tsc --build","dev":"tsc --build --watch","typecheck":"tsc --noEmit","lint":"eslint src","clean":"rm -rf dist"},"_id":"@ai-flight-recorder/core@0.1.1","bugs":{"url":"https://github.com/AllThingsSmitty/ai-flight-recorder/issues"},"_integrity":"sha512-vUvM3FIg34EVvKYo4roT7dPB6QxEbqSt29OHwmN1j3hkJEtWH/KPDbwmhuAkngY6uwEaT7DO68CxwCDPvvUxvw==","_resolved":"/tmp/a3b87ef739f6418e934c2ca4ab53a500/ai-flight-recorder-core-0.1.1.tgz","_from":"file:ai-flight-recorder-core-0.1.1.tgz","_nodeVersion":"22.23.1","_npmVersion":"10.9.8","dist":{"integrity":"sha512-vUvM3FIg34EVvKYo4roT7dPB6QxEbqSt29OHwmN1j3hkJEtWH/KPDbwmhuAkngY6uwEaT7DO68CxwCDPvvUxvw==","shasum":"ee68e68b20756199b3825b7d1b0e8661648f7509","tarball":"https://registry.npmjs.org/@ai-flight-recorder/core/-/core-0.1.1.tgz","fileCount":155,"unpackedSize":66060,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCZfa9PG9nEoZXNEhunuTM9w/IgAmRsrzatXdoJd2qzFwIhANXfZoTJAIPvWK4EHmmr884X7uRqC4XCoNPWbs1zN5lo"}]},"_npmUser":{"name":"allthingssmitty","email":"runner_28@hotmail.com"},"directories":{},"maintainers":[{"name":"allthingssmitty","email":"runner_28@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_0.1.1_1785162805813_0.9707030520906106"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-27T14:09:03.031Z","modified":"2026-07-27T14:33:26.101Z","0.1.0":"2026-07-27T14:09:03.398Z","0.1.1":"2026-07-27T14:33:25.955Z"},"bugs":{"url":"https://github.com/AllThingsSmitty/ai-flight-recorder/issues"},"author":{"name":"Matt Smith"},"license":"MIT","homepage":"https://github.com/AllThingsSmitty/ai-flight-recorder#readme","keywords":["ai","llm","observability","debugging","recording","replay","openai","anthropic","gemini","mcp","flight-recorder"],"repository":{"type":"git","url":"git+https://github.com/AllThingsSmitty/ai-flight-recorder.git","directory":"packages/core"},"description":"Core domain types and engine for AI Flight Recorder — record, replay, and inspect AI sessions","maintainers":[{"name":"allthingssmitty","email":"runner_28@hotmail.com"}],"readme":"# @ai-flight-recorder/core\n\n[![npm](https://img.shields.io/npm/v/@ai-flight-recorder/core.svg)](https://www.npmjs.com/package/@ai-flight-recorder/core)\n\nCore domain model for [AI Flight Recorder](https://github.com/AllThingsSmitty/ai-flight-recorder) — events, sessions, the recorder engine, and the replay engine.\n\n> **Most users should install [`@ai-flight-recorder/sdk`](https://www.npmjs.com/package/@ai-flight-recorder/sdk) instead.** This package contains the internal domain model and is intended for authors building custom adapters, transports, or tooling on top of the recorder.\n\n## Install\n\n```bash\nnpm install @ai-flight-recorder/core\n```\n\n## What's in this package\n\n| Module | Description |\n|---|---|\n| `events/` | All `AIEvent` types — `PromptEvent`, `CompletionEvent`, `ToolCallEvent`, `TokenEvent`, and more |\n| `session/` | `Session` type and serialization (`serializeSession` / `deserializeSession`) |\n| `recorder/` | `Recorder` — the low-level event sink that sessions write to |\n| `replay/` | `ReplayEngine` and `ReplayState` for replaying a recorded session |\n| `plugins/` | `Plugin` and `Transport` interfaces |\n\n## Usage\n\n```ts\nimport type { AIEvent, Session } from \"@ai-flight-recorder/core\";\nimport { Recorder } from \"@ai-flight-recorder/core\";\n```\n\nFor provider adapters, plugins, transports, and the high-level `FlightRecorder` API, see [`@ai-flight-recorder/sdk`](https://www.npmjs.com/package/@ai-flight-recorder/sdk).\n\n## License\n\nMIT\n","readmeFilename":"README.md"}