pi-jev-lens 0.5.0 → 0.5.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 +3 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -99,7 +99,7 @@ For development, clone the repository and load it directly:
99
99
  ```sh
100
100
  git clone https://github.com/dizk/jev-lens.git && cd jev-lens && npm install
101
101
  echo 'TYPESAFE_API_KEY=...' > .env
102
- pi -e ./packages/pi/index.ts
102
+ pi -e ./packages/pi-jev-lens/index.ts
103
103
  ```
104
104
 
105
105
  ## How it works
@@ -271,10 +271,10 @@ as a library; its README shows the API. What is where:
271
271
  | the jev questions, the state shape, the decision rule, block expansion | `packages/core/src/presend.ts` | `@typesafe-ai/sdk` |
272
272
  | the parser for bash display commands | `packages/core/src/shell-display.ts` | nothing |
273
273
  | the recall tool's slicing | `packages/core/src/recall.ts` | nothing |
274
- | the wiring for pi (tool_result, the recall tool, the UI) | `packages/pi/index.ts`, `packages/pi/src/ui.ts` | pi |
274
+ | the wiring for pi (tool_result, the recall tool, the UI) | `packages/pi-jev-lens/index.ts`, `packages/pi-jev-lens/src/ui.ts` | pi |
275
275
  | the wiring for Claude Code (PostToolUse hook, MCP server) | `packages/claude-code/src/` | Claude Code |
276
276
  | the benchmark and the metrics on real trajectories | `eval/presend-score.ts`, `eval/bench/` | run `eval/bench/fetch.sh` first |
277
- | post-send decisions and the frozen ledger (pi only) | `packages/core/src/classifier.ts`, `packages/pi/src/policy.ts`, `packages/pi/src/ledger.ts` | `@typesafe-ai/sdk` |
277
+ | post-send decisions and the frozen ledger (pi only) | `packages/core/src/classifier.ts`, `packages/pi-jev-lens/src/policy.ts`, `packages/pi-jev-lens/src/ledger.ts` | `@typesafe-ai/sdk` |
278
278
 
279
279
  The sequence is this. When a large tool result arrives, code builds the views from the text. jev says which view is
280
280
  enough and whether the exact text is needed. Code applies the selection policy. If needed, a second request expands
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "pi-jev-lens",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "pi extension that compresses large tool results before they reach the model: jev picks the view (outline, relevant blocks, sections, signals, testlog), full text stays recallable",
5
5
  "author": "Didrik Rognstad",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "git+https://github.com/dizk/jev-lens.git",
10
- "directory": "packages/pi"
10
+ "directory": "packages/pi-jev-lens"
11
11
  },
12
12
  "homepage": "https://github.com/dizk/jev-lens#readme",
13
13
  "bugs": {