mirror of
https://github.com/openprose/prose.git
synced 2026-09-19 05:55:05 +08:00
2c363b8202
Align the public artifacts with what npm and the code actually deliver — the
seams the 2026-06-06 investor-DD fanout independently verified as overstated.
Presentation/disclosure only; no runtime, invariant, or spec edit.
- IDD-vers: fix the two stale "live on npm" version callouts to reactor 0.3.1 /
CLI 0.2.2 (devtools 0.2.0 unchanged); reactor README "ideal surface" 0.3.0->0.3.1.
- IDD-reuse (+G27): devtools --describe COST ROLLUP now leads with the defensible
memo-skip count and demotes provider-prompt-cache `reuse=%` to a labeled
secondary line ("provider-reported; can be 0% on the default model"); test added.
- BR-F7 (+G10): dated cryptographic-signer roadmap line (targeted 2026 H2, tracked
as C3) at the three null-signer disclosure sites + the tamper-evident-not-proof
threat-model sentence. Also fixed the broken `@openprose/reactor/sdk` subpath
cites in the devtools README -> root `@openprose/reactor` (NOT `/internals` as
the plan said; these symbols are root exports), and the non-public
`new FileSystemReceiptLedger` -> the public `createFileSystemReceiptLedger`.
- IDD-footprint: rewrote the "Air-gapped?" note + added a quickstart footprint
line with the measured ~99 MB / ~100 packages (2026-06-06), preserving the
true SDK-core zero-dep claim.
- IDD-skew: ranged the devtools/CLI `@openprose/reactor` workspace ref
workspace:* -> workspace:^ (pnpm pack now emits ^0.3.1, verified) so npm
dedupes one SDK copy. (Republish of devtools 0.2.1 still required to land it on
npm — separate release action.)
Gate: pnpm --filter @openprose/reactor-devtools test green (96/96).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
65 lines
1.9 KiB
JSON
65 lines
1.9 KiB
JSON
{
|
|
"name": "@openprose/reactor-devtools",
|
|
"version": "0.2.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/openprose/prose.git",
|
|
"directory": "packages/reactor-devtools"
|
|
},
|
|
"license": "MIT",
|
|
"description": "DevTools / visualization for the @openprose/reactor harness: replays a saved receipt ledger and animates the DAG (flashes on render, dim pulses on memo-skip, per-facet edge lights, a fresh-vs-reused token/$ meter).",
|
|
"type": "commonjs",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"sideEffects": false,
|
|
"bin": {
|
|
"reactor-devtools": "./dist/cli.js"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"src/public",
|
|
"fixtures/masked-relay",
|
|
"fixtures/surprise-cost",
|
|
"fixtures/agent-observatory",
|
|
"fixtures/inbox-triage",
|
|
"fixtures/monorepo-ci",
|
|
"fixtures/research-tree"
|
|
],
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./server": {
|
|
"types": "./dist/server/index.d.ts",
|
|
"default": "./dist/server/index.js"
|
|
},
|
|
"./data": {
|
|
"types": "./dist/data/index.d.ts",
|
|
"default": "./dist/data/index.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"scripts": {
|
|
"build": "rm -rf dist && tsc -p tsconfig.build.json && pnpm run copy:public",
|
|
"prepack": "pnpm build",
|
|
"copy:public": "node -e \"require('fs').cpSync('src/public','dist/public',{recursive:true})\"",
|
|
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
"fixtures:gen": "pnpm build && node dist/fixtures/generate.js",
|
|
"record": "pnpm build && node scripts/record-demo.mjs",
|
|
"test:runtime": "pnpm build && node --test $(find dist -name '*.test.js' -type f | sort)",
|
|
"test": "pnpm typecheck && pnpm test:runtime"
|
|
},
|
|
"dependencies": {
|
|
"@openprose/reactor": "workspace:^"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.11.0",
|
|
"playwright": "1.60.0",
|
|
"typescript": "^5.6.3"
|
|
}
|
|
}
|