Files
oh-my-pi/packages/typescript-edit-benchmark/package.json
T
can1357 7c64576524 feat(hashline): replaced file-hash anchors with opaque snapshot-store tags
- Replaced 4-hex content-derived file hashes with 3-hex opaque tags minted by InMemorySnapshotStore, making tags session-bound pointers rather than content fingerprints.
- Removed lru-cache dependency; replaced LRU-bounded per-path rings with a flat 4096-slot global ring using a scrambled permutation to prevent LLM tag extrapolation.
- Made SnapshotStore required in Patcher (was optional); tag resolution now drives stale-anchor detection instead of recomputing hashes at apply time.
- Changed literal payload sigil from `|` to `+` and accepted `^A` shorthand for `^A-A`; added lenient recovery for bare bodies, lone `-` rows, and overlapping bare/concrete block pairs.
2026-05-28 01:00:23 +02:00

52 lines
1.4 KiB
JSON

{
"type": "module",
"private": true,
"name": "@oh-my-pi/typescript-edit-benchmark",
"version": "0.0.1",
"description": "Edit benchmark suite using TypeScript source code mutations",
"author": "Can Boluk",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/can1357/oh-my-pi.git",
"directory": "packages/typescript-edit-benchmark"
},
"main": "./src/index.ts",
"bin": {
"typescript-edit-benchmark": "src/index.ts"
},
"scripts": {
"check": "biome check . && bun run check:types",
"check:types": "tsgo -p tsconfig.json --noEmit",
"lint": "biome lint .",
"test": "bun test",
"fix": "biome check --write --unsafe .",
"fmt": "biome format --write .",
"generate": "bun run src/generate.ts --typescript-dir /tmp/pi-mono-source --count-per-type 4",
"start": "bun run src/index.ts"
},
"dependencies": {
"@babel/generator": "catalog:",
"@babel/parser": "catalog:",
"@babel/traverse": "catalog:",
"@babel/types": "catalog:",
"@oh-my-pi/hashline": "catalog:",
"@oh-my-pi/pi-agent-core": "catalog:",
"@oh-my-pi/pi-coding-agent": "catalog:",
"@oh-my-pi/pi-utils": "catalog:",
"diff": "catalog:",
"prettier": "catalog:",
"regexp-tree": "catalog:",
"@oh-my-pi/pi-ai": "catalog:",
"@oh-my-pi/pi-tui": "catalog:"
},
"devDependencies": {
"@types/babel__generator": "catalog:",
"@types/babel__traverse": "catalog:",
"@types/bun": "catalog:"
},
"engines": {
"bun": ">=1.3.14"
}
}