v3/implementation/adrs/ADR-010-NODE-ONLY.md
Status: Implemented Date: 2026-01-03
v2 attempted to support both Node.js and Deno runtimes. This added complexity without clear benefit.
Issues:
v3 will support Node.js 20+ only. Deno support removed.
Focus on Node.js:
If Deno support needed:
// Remove Deno-specific code
- src/cli/main.deno.ts ❌
- deno.json ❌
- Deno imports ❌
// Keep Node-only
+ src/cli/main.ts ✅
+ package.json ✅
+ Node imports ✅
Package.json Updates:
{
"engines": {
"node": ">=20.0.0"
},
"type": "module"
}
ESM-Only:
// All imports use ESM syntax
import { Agent } from './agent.js';
export { Agent };
// No CommonJS
// const Agent = require('./agent'); ❌
Node.js 20+ Features Used:
Implementation Date: 2026-01-04 Status: ✅ Complete