Arckode Framework (v1.4.3) is an AI-first TypeScript/Bun framework for building modular APIs with clean architecture, SOLID principles, and zero magic. Designed so that AI agents can read the composition root and understand the entire system—explicit module contracts, no decorators, no implicit conventions. Targets Bun >= 1.0, and requires peer dependencies mysql2, pg, redis, and nodemailer. Released as an npm package with a CLI tool for scaffolding projects and modules. Differentiators: predictable architecture for AI code generation, strong separation of concerns via RepositoryAdapter pattern, and built-in module system enforcing explicit boundaries.
npm install arckode-frameworkNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a minimal 'productos' module with RepositoryAdapter and starts the app.
Update custom repository implementations to match new interface signature.
Move action definitions to create callback using router parameter.
Use composition root pattern: createModule().create({...}) receives resolved dependencies.Install Bun (bun.sh) and run scripts with bun CLI.
Move socket logic to composition-root.ts and use event system.
Run: bun install -g arckode-framework
Run: bun install inside project directory
Install required peer: bun add mysql2 pg redis nodemailer
Change to: import { createModule } from 'arckode-framework'