JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 98
  • Score
    100M100P100Q106557F

Package Exports

  • chris-code

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (chris-code) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Chris Code

Open-source AI coding agent with persistent memory, security audit, and collaboration mode.

GitHub Stars License Bun

Quick Start

macOS / Linux:

# One-line install
curl -fsSL https://raw.githubusercontent.com/SuCriss/chris-code/main/install | bash

# Or install via npm
npm install -g chris-code

# Or install via bun
bun install -g chris-code

Windows (PowerShell):

# Install via npm
npm install -g chris-code

# Or install via bun
bun install -g chris-code

Then just run:

chris

First run: use /login to configure your LLM provider (Anthropic, OpenAI, Gemini, or any compatible API).

Features

Persistent Memory System

  • SQLite FTS5 full-text search — instant memory retrieval, no extra API calls
  • Session checkpoints/checkpoint saves state, auto-injects on resume
  • Task tree/task tracks progress across sessions
  • Dream & Distill/dream extracts knowledge from sessions, /distill finds reusable workflows

Security Audit

/audit          # Scan project for vulnerabilities
/audit src/     # Scan specific directory

Detects: hardcoded secrets, SQL injection, XSS, weak crypto, path traversal, and more.

Collaboration Mode

/collab start   # Start LAN broadcast
/collab peers   # See connected developers
/collab stop    # Stop

Share AI sessions with developers on the same network.

Multi-Provider Support

Supports Anthropic, OpenAI, Gemini, Grok, and any OpenAI-compatible API via /login.

Built-in Tools

40+ tools: file operations, shell commands, web search, code intelligence, MCP integration, and more.

Commands

Command Description
/audit Security vulnerability scan
/checkpoint Save session checkpoint
/task Task tree management
/dream Extract knowledge from sessions
/distill Discover reusable workflows
/collab LAN collaboration mode
/login Configure LLM provider
/compact Compress conversation context
/memory Browse memory files
/review Code review

Architecture

src/
├── memdir/           # Memory system (FTS5, checkpoint, paths)
├── services/
│   ├── security/     # Security scanner
│   ├── collab/       # Collaboration mode
│   ├── compact/      # Context compaction
│   └── SessionMemory/# Session notes
├── commands/         # Slash commands
├── components/       # React Ink UI
└── constants/        # Prompts, config

Development

bun install           # Install dependencies
bun run dev           # Dev mode (version 888)
bun run build         # Build for production

Credits

Built on top of claude-code-best with additional features:

  • Persistent memory with SQLite FTS5
  • Session checkpoints and task tracking
  • Security audit scanner
  • LAN collaboration mode
  • Dream & Distill self-evolution

License

MIT