hffmnnj.cache-protect 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -142,6 +142,6 @@ bun test # full plugin suite, after build
142
142
 
143
143
  `bun run check` builds the safety entrypoint (`dist/index.js`) and the local prompt-cache watch entrypoint (`dist/prompt-cache.js` with generated `prompt-cache/index.ts`).
144
144
 
145
- The host test launches a child process with isolated HOME/XDG/config/database paths under `/var/tmp/james/opencode/cache-protect-host-*`. Its only configured provider is a loopback scripted server with a synthetic key. It disables built-in providers and model fetching/snapshots; it does not borrow credentials or make paid calls. Scripted provider requests exercise the real native schema, executor, prompt/context hooks, history, inbox, permission filtering, and package loader. Regressions include stale pending-ID wake, repeated denied/empty wakes, host reopen, and a delivered-ID no-op wake followed by a rejected new stale prompt. Hosts and loopback servers are closed in `finally`; isolated evidence directories are retained rather than recursively deleted.
145
+ The host test launches a child process with isolated HOME/XDG/config/database paths under a per-run temporary directory outside the checkout. Its only configured provider is a loopback scripted server with a synthetic key. It disables built-in providers and model fetching/snapshots; it does not borrow credentials or make paid calls. Scripted provider requests exercise the real native schema, executor, prompt/context hooks, history, inbox, permission filtering, and package loader. Regressions include stale pending-ID wake, repeated denied/empty wakes, host reopen, and a delivered-ID no-op wake followed by a rejected new stale prompt. Hosts and loopback servers are closed in `finally`; isolated evidence directories are retained rather than recursively deleted.
146
146
 
147
147
  `registerCacheProtect` exposes an internal injected clock for deterministic tests. This is not a user configuration override; the shipped default always uses `Date.now()` and the fixed cutoff.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hffmnnj.cache-protect",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "exports": { ".": "./dist/index.js" },
6
6
  "files": [