Skip to content

v0.1.0 โ€” Initial Release: Universal TTY โ†” AI Agent Bridge

Choose a tag to compare

@0xLeif 0xLeif released this 27 Jul 16:33

Rune v0.1.0 โ€” Initial Release

Rune is a Ruby CLI tool and library designed from the ground up to be human and AI agent first-class. It serves as a universal pseudo-terminal (PTY) runner and structured data bridge for any CLI command or interactive TUI application.

Features

  • Dual Output Modes: Formatted terminal output for humans, raw structured JSON (--json) or streaming NDJSON (--ndjson) for AI agents.
  • Universal PTY Process Runner (Rune::PTYRunner): Spawns any binary or TUI in a pseudo-terminal session, stripping ANSI codes and measuring duration in milliseconds.
  • Terminal Pager Bypass: Automatically injects PAGER=cat / GIT_PAGER=cat so commands like git log return immediately without hanging.
  • Auto-Parsers (Rune::Parsers):
    • TableParser: Parses space or pipe-delimited terminal tables into array of hashes.
    • KeyValueParser: Parses key-value output into typed hashes.
    • TextSanitizer: Normalizes line endings and cleans ANSI escape codes.
  • Interactive Script DSL (Rune::Script): Step-by-step TUI script automation DSL for driving interactive prompts.
  • CorvidLabs Integration: Pre-configured with fledge task runner, spec-sync contracts (specs/), and GitHub Actions CI workflow.

Install

gem install rune