March 1, 2026
SDK Contract Alignment Audit (NPM Docs)
Completed a source-level audit of ~/GitHub/sdk and updated NPM SDK docs to match the implemented 0.6.x runtime.
What Changed
- Replaced legacy factory-based examples (
createNPC,createCortex,createMemory,createBridge,createGhost) with current store/thunk patterns. - Updated CLI docs to the actual command surface implemented in
packages/node/src/cli.ts. - Aligned integration examples to
createSDKStore,setNPCInfo,processNPC, and runtime thunks. - Documented current Node config resolution and env vars (
FORBOCAI_API_URL,FORBOCAI_API_KEY). - Rewrote module pages (NPC, Cortex, Memory, Bridge, Soul, Ghost) and workflow pages to eliminate removed APIs.
Impact
NPM docs now reflect the currently implemented SDK behavior and command contracts, reducing onboarding and integration drift.
