Skip to content
ABCrimson edited this page Mar 7, 2026 · 4 revisions

@crimson_dev/command Wiki

Welcome to the @crimson_dev/command wiki — the complete reference for building command palettes with the modern web stack.


Quick Navigation

Getting Started

Core Concepts

  • Architecture — Three-layer design, state machine, plugin system
  • State Machine — Events, state transitions, subscriber pattern
  • Search Engine — Fuzzy scoring, incremental filtering, pluggable interface
  • Frecency — Frequency x recency ranking with Temporal decay
  • Keyboard Shortcuts — Registry, parser, conflict detection
  • Telemetry — Pluggable telemetry middleware for analytics

React 19 Adapter

Advanced

Recipes

API Reference

  • Core API — createCommandMachine, createSearchEngine, FrecencyEngine
  • React API — All 14 compound components, hooks, and error boundary
  • WASM API — createWasmSearchEngine, createWorkerWasmSearchEngine
  • Codemod API — CLI usage and transform details

Tooling

Contributing


Stack: TypeScript 6.0.1-rc | React 19.3.0-canary | ES2026 | Node.js 25.8.0 | Radix UI | Vitest | Playwright | Biome

Clone this wiki locally