# @tinoy/pi-cache-prefix-log

> One JSONL row per cache-prefix change, so a real cache miss can be named from the log.

Latest version **0.2.0** (published 2026-09-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install @tinoy/pi-cache-prefix-log
pnpm add @tinoy/pi-cache-prefix-log
yarn add @tinoy/pi-cache-prefix-log
bun add @tinoy/pi-cache-prefix-log
```

## Health

**Score 65/100 (B)** — status: active.

Positive: esm support; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; no types; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2026-09-24 |
| First published | 2026-09-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=22 |
| Dependencies | 0 |
| Unpacked size | 14 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 1 |
| Maintainers | tinoy |
| Keywords | pi-package |

## Links

- npm: https://www.npmjs.com/package/@tinoy/pi-cache-prefix-log
- Repository: https://github.com/tinoy1336/pi-extensions
- Homepage: https://github.com/tinoy1336/pi-extensions/tree/main/packages/cache-prefix-log#readme
- Issues: https://github.com/tinoy1336/pi-extensions/issues
- npm.io page: https://npm.io/package/@tinoy/pi-cache-prefix-log

## Recent versions

- 0.2.0 (latest) — 2026-09-24
- 0.1.0 — 2026-09-23

## README

# @tinoy/pi-cache-prefix-log

One JSONL row per cache-prefix change, so a real cache miss can be named from the log.

```bash
pi install npm:@tinoy/pi-cache-prefix-log
```

## What it needs at call time

A writable state directory (`$XDG_STATE_HOME`, else `~/.local/state`).

## Registers

no tool

## Works better with

| Neighbour | You gain | You lose without it | Install |
| --- | --- | --- | --- |
| `@tinoy/pi-canon` | the tail-section ids canon publishes are recorded with each row | the rows carry the prefix fingerprint without the section ids | `pi install npm:@tinoy/pi-canon` |

## Dependencies

pi-supplied imports (`@earendil-works/pi-coding-agent` or "none") are peer dependencies with a `*` range and are
never bundled. This package has no npm dependencies.

## Licence

MIT — see the repository [LICENSE](../../LICENSE).

---
_Source: https://npm.io/package/@tinoy/pi-cache-prefix-log · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
