caelum0x 83e5de1131 test(gate): run workspace package suites via root test:packages in test:all (recoder-a8v9)
47 workspace packages declared test scripts but no gate ever ran them. Added
root script test:packages (pnpm -r --filter './packages/*' minus the two
broken vendored forks, --if-present) and wired it into test:all alongside
test:core/test:platforms.

Fixed the 9 package suites the never-run gate had been hiding:
- runner mismatch: agent-policy (4 files) + agent-memory (1) were vitest-style
  files run under node --test — switched to vitest run + vitest ^2.1.9 devDep
  (lockfile synced with pnpm install --lockfile-only); stray vitest files in
  coordination, recodergit, and agent-mcp converted to node:test + node:assert
  (vitest silently skips node:test files, so mixed packages stay on node --test)
- conductor-ui: vitest run with zero test files exited 1 — now --passWithNoTests
- runtime: two pi fail-safe fixture tests used cwd=process.cwd() where the
  workspace installs a real node_modules/.bin/pi — now use os.tmpdir() as cwd

recoder-cli-router (~66 real assertion failures) and recoder-code (babel parse
death, 0 tests run) are genuinely broken vendored forks — excluded from the
gate with bd follow-ups recoder-860b and recoder-tyi3 filed instead of hiding
the failures.

Verification: per-package suites green under the new gate; follow-ups filed
for the two excluded forks.
2026-08-03 00:06:10 +03:00

34 lines
779 B
JSON

{
"name": "@recoder/agent-memory",
"version": "0.1.0",
"description": "Reviewed memory lifecycle helpers for Recoder Agent OS",
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"files": ["dist"],
"scripts": {
"build": "tsup",
"check-types": "tsc --noEmit",
"clean": "rm -rf .turbo dist node_modules",
"test": "vitest run"
},
"dependencies": {
"@recoder/agent-os": "workspace:*"
},
"devDependencies": {
"@types/node": "^20.10.0",
"tsup": "^8.0.0",
"tsx": "^4.7.0",
"typescript": "^5.0.0",
"vitest": "^2.1.9"
}
}