Skip to content

Releases: frybox/ruyishell

ruyishell v0.1.6

Choose a tag to compare

@github-actions github-actions released this 15 Sep 14:02

ruyishell v0.1.6

Session-switch fix, three-state approval, llama.cpp compatibility & Windows ConPTY improvements


🚀 New Features

  • Three-state permission approval: approval = "ask" (default, reads free, writes ask) / "always" / "never", with /approve command and --always-approve/--never-approve startup flags
  • /history <number>: recall a previous user input to the current edit line from shell history
  • llama.cpp context overflow auto-adaptation: recognize llama.cpp's "exceeds the available context size" error, parse the server's actual n_ctx and adjust the window dynamically, no hardcoded limit needed
  • Shell events get their own role: shell events become an independent events role; tool calls are displayed paired with their results
  • HumanDuration smart display: render duration in its largest non-zero unit(s), no trailing zero segments

🐛 Fixes

  • Session switch no longer leaks old shell events: reset the shell event ring and half-typed line on session switch, preventing old-session context from bleeding into the new session
  • PowerShell input line preserved after mode switch: keep the PowerShell prompt row intact when switching between shell and AI mode
  • Windows ConPTY window size polling: actively poll console size on Windows so ConPTY keeps up with resize events
  • Pty slave cross-platform refactor + macOS reconnect: split reopen logic by platform (unix/windows); on macOS the revoked pty slave can be reopened after a session leader is killed
  • Guarantee reply stream ends on a fresh line
  • Bash OSC 7 cwd marker now actually emits
  • cd in shell mode syncs rysh cwd
  • Windows terminal color detection no longer discards all colors
  • Blank line between thinking and answer on phase switch

📚 Documentation

  • docs/roadmap.md: task provenance and model A/B evaluation planning
  • README adds error-in-shell scenario description (both English and Chinese)
  • Real-time thread inline design document

🔧 Build Fix

  • Replace syscall.Dup2 with unix.Dup2 in cmd/rysh/ptyslave_unix.go to fix cross-compilation on linux/arm64 (Go 1.25+ deprecated syscall.Dup2)

Full changelog: v0.1.5...v0.1.6


Install

macOS / Linux:

curl -fsSL https://github.com/frybox/ruyishell/releases/latest/download/install.sh | bash

Windows: download the zip for your CPU architecture and put rysh.exe on your PATH.

ruyishell v0.1.5

Choose a tag to compare

@github-actions github-actions released this 08 Sep 06:24

ruyishell — prebuilt binaries for macOS / Linux / Windows.

What's new in v0.1.5

Fixes

  • Agent: subagent briefs actually reach the worker now. Spawn took the
    brief argument but dropped it, so every worker started with an empty
    task and wandered ("subagents always drift"). Regression guard added:
    the brief text must appear in the worker's first request.

Install

macOS / Linux:

curl -fsSL https://github.com/frybox/ruyishell/releases/latest/download/install.sh | bash

Windows: download the zip for your CPU architecture and put rysh.exe on your PATH.

ruyishell v0.1.4

Choose a tag to compare

@github-actions github-actions released this 08 Sep 05:22

ruyishell — prebuilt binaries for macOS / Linux / Windows.

What's new in v0.1.4

Features

  • Provider: openai-responses and anthropic-messages wire APIs. NewClient
    picks the streaming client by spec.API (default remains
    openai-completions); native wire clients for OpenAI Responses SSE and
    Anthropic Messages SSE (x-api-key + anthropic-version). Spec.MaxTokens
    plumbed through (Anthropic requires max_tokens; defaults to 4096).
  • AI UI: Esc cancels the in-flight task while streaming (matches the
    pi/codex/grok convention); non-streaming Esc still clears the draft
    (undoable).

Fixes

  • Shell: a space key while a foreground child runs (pager, ssh, interactive
    program) is forwarded to the child as literal input, no longer read as the
    fresh-prompt mode-switch gesture.

Install

macOS / Linux:

curl -fsSL https://github.com/frybox/ruyishell/releases/latest/download/install.sh | bash

Windows: download the zip for your CPU architecture and put rysh.exe on your PATH.

ruyishell v0.1.3

Choose a tag to compare

@github-actions github-actions released this 07 Sep 03:58

ruyishell — prebuilt binaries for macOS / Linux / Windows.

macOS / Linux:

curl -fsSL https://github.com/frybox/ruyishell/releases/latest/download/install.sh | bash

Windows: download the zip for your CPU architecture and put rysh.exe on your PATH.