> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qredence.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# By the numbers

> Data collected: 2026-08-17.

Data collected: 2026-08-17.

## Size

Source files: 2,016 TypeScript (`.ts`) + 179 TypeScript JSX (`.tsx`) + 77 Python (`.py`) = \~2,272 source files across `packages/` and `web/`. Test files: 419 `.test.ts`. Config files (`.json`, `.md`, `package.json`, `.npmrc`, `.github/workflows/`): \~328. The `packages/ai/src/models.generated.ts` registry alone is 578 KB (\~7,200 lines). The `packages/coding-agent/src/core/session-manager.ts` session manager is \~11.2k lines.

```mermaid theme={null}
xychart-beta
  title "Lines of code by language"
  x-axis [TypeScript, TypeScript JSX, Python, JSON, Markdown]
  y-axis "Lines" 0 --> 500000
  bar [485853, 35577, 12884, 6093, 59837]
```

Package/module count: 4 npm workspace packages (`packages/ai`, `agent`, `coding-agent`, `tui`) + 4 pnpm workspace packages (`web/app`, `design`, `protocol`, `server`).

## Activity

Commits in the last 90 days: 33 (from `94c724c1` to `706084803`). The most actively changed directories in that window: `packages/coding-agent/src/core/` (session-manager, compaction, skills), `packages/ai/src/providers/`, `web/app/src/`, `packages/coding-agent/src/cli/`. Churn hotspot: `packages/coding-agent/src/core/session-manager.ts` (\~11.2k lines, frequent updates to session persistence and versioning).

## Bot-attributed commits

Of 4,589 total commits, 127 (2.76%) include bot co-authorship (`dependabot`, `github-actions`, `factory-droid`). This is a lower bound — inline AI tools like Copilot leave no git trace.

## Complexity

Average file size by top-level package:

| Package                 | Source files | Avg lines/file |
| ----------------------- | ------------ | -------------- |
| `packages/ai`           | 2017 `.ts`   | \~241          |
| `packages/agent`        | \~60 `.ts`   | \~340          |
| `packages/coding-agent` | \~500 `.ts`  | \~420          |
| `packages/tui`          | \~120 `.ts`  | \~180          |

Deepest import chains: `packages/ai/src/providers/openai-completions.ts` → `packages/ai/src/types.ts` → `packages/ai/src/index.ts`. The `packages/coding-agent/src/core/session-manager.ts` exports 18 public symbols (`AgentSession`, `createAgentSession`, `SessionManager`, etc.).

Related: [Overview](/fleet-prime-agent/introduction), [Dependencies](https://github.com/Qredence/fleet-prime-agent/blob/main/package.json), [Cleanup opportunities](/fleet-prime-agent/cleanup-opportunities)
