Skip to content

v2.2.0 - Terminal Visual Layer, Stack Presets & Offline Catalog Distribution

Choose a tag to compare

@kok-o kok-o released this 27 Sep 18:55
· 56 commits to main since this release

ContextOS v2.2.0: Terminal Visual Layer, Stack Presets & Offline Catalog Distribution

ContextOS 2.2.0 delivers a major developer experience (DX) upgrade: a zero-dependency interactive terminal visual layer, stack presets, batch installation, Levenshtein typo suggestions, and autonomous offline distribution of all 36 catalog skills directly within consumer projects.

What's New in v2.2.0

1. Terminal Visual Layer (bin/lib/ui.js)

  • ASCII Brand Banner & Status Badges: Clean branded terminal experience for init and installer flows.
  • Strictly Aligned 4-Step Stepper: Replaced disjointed log outputs with an aligned progression grid ([1/4] through [4/4]), clear sub-explanations, and uniform indentation.
  • Dynamic Progress Bar: Built-in renderProgressBar with automated TTY width detection and ANSI escape stripping for crisp boxed borders.
  • Pixel-Perfect Success Card: Replaces unstructured terminal dumps with a single summary card displaying immediate next steps, profile switching, and export commands.

2. Autonomous Offline Catalog Distribution

  • Direct Catalog Distribution: Consumer init now packages the 36-skill catalog (.agents/catalog/skills, 326 KB) directly into consumer projects.
  • Complete Offline Autonomy: Consumer projects can browse (contextos skill list --available) and install (contextos skill add <name>) domain skills without requiring internet connectivity or global npm caches.

3. Stack Presets & Bulk Installation

  • Init Presets (--preset <name>):
    • frontend: react, react-best-practices, nextjs, typescript, ui-ux-pro, impeccable-design, state-management, web-accessibility
    • backend: system-design, api-design, node, fastapi, nestjs, database, ddd
    • devops: docker, ci-cd, terraform, security-audit, performance
    • full: installs all 36 catalog skills
  • Bulk Installation Flag (--all):
    • contextos init --all and contextos skill add --all install all catalog skills in a single atomic pass with an interactive progress bar.

4. Levenshtein Typo Suggestions

  • Fuzzy matching on misspelled skill names automatically guides developers (e.g. contextos skill add reat -> suggestions: react).
  • Built-in skills guide developers toward contextos skill override <name> if they attempt to shadow core skills.

Verification & Test Evidence

  • Test Suite: 482 passing unit and integration tests across 111 suites.
  • Catalog Validation: 36 catalog skills validated with 0 errors and 0 warnings.
  • Secrets Audit: 654 files scanned, zero secrets or credentials detected.
  • Cross-Platform Compatibility: Validated on Windows (PowerShell/cmd) and POSIX shells.