repowisenarcooo/inkos

Architecture of narcooo/inkos

narcooo/inkos is 780 source files holding 4,505 symbols across 2 modules, written mainly in TypeScript, JavaScript. The largest module is packages, with 759 files, and 21 files are entry points into the dependency graph.

How inkos fits together

Input enters through the command line entry point at packages/cli/src/index.ts, the terminal interface in packages/cli/src/tui/app.ts, or the Studio web app, whose API server is packages/studio/src/api/server.ts. The core package in packages/core holds the writing logic, with packages/core/src/agent/index.ts exposing the agent and packages/core/src/agent/agent-tools.ts defining the tools the agent can call. Model access sits in packages/core/src/llm/providers/index.ts, which connects the agent to the configured model services. The Studio chat page in packages/studio/src/pages/ChatPage.tsx is one front end onto the same agent. Results are saved as files in the book project, and the agent's completion status comes from real tool results and those files.

Largest modules

  • packages: 759 files and 147,294 lines of code
  • root: 9 files and 2,799 lines of code
  • .github: 6 files and 459 lines of code
  • scripts: 5 files and 396 lines of code
  • skills: 1 file and 628 lines of code

Languages

By file count: TypeScript 735 files, JavaScript 5 files.

Documentation

Repowise documents inkos in 806 pages generated from the source.

More on inkos: summary and FAQ, codebase overview, code health.

Related guide: Best dependency graph tools for monorepos