Posted April 24, 2026 by jay3d
Phase 2 of the v1.0 roadmap is complete with 5 new features and a major overhaul of the table renderer and history compaction system.
File discovery tools -- Claude can now find files and search text without shelling out. The glob tool uses native MatchPatternNoCase() with a stack-based directory walker. Supports *.c, **.h (recursive), and Amiga #? patterns. The search tool does literal text search across files or directories with optional case-insensitive mode. Both tools share the same walker and are significantly more token-efficient than shell commands.
System info tool -- sysinfo queries memory, assigns, volumes, libraries, and running tasks via direct exec/dos API calls. No shell overhead, compact output. One tool call replaces avail + status + assign.
Smart compaction -- History compaction is now importance-scored. User messages score highest, assistant conclusions next, then file writes, tool calls, reads, and empty outputs lowest. Messages are removed lowest-score-first across multiple passes. Before removing, an auto-summary is generated: "(Compacted context: asked about Mirari PPC; web_fetch generationamiga.com; web_fetch amiga-news.de...)". The original first question is always preserved. The /compact command now uses the same smart compaction instead of blindly chopping from the front.
Pre-flight token estimate -- Before each API call, GuruShell estimates the token count as (totalBytes + promptLen) / 4. If over 80% of the 200K context window, it auto-compacts with a warning instead of wasting an API call that would return HTTP 400.
Table word wrapping -- Long table cells now wrap to the next line within the cell, with all other columns aligned accordingly. No more clipped text. Column widths are dynamically computed based on column count and an 80-column budget. Tables that end a response now flush immediately instead of being delayed until the next message.
OpenLibrary() instead of OpenResource() for vampire.resource/debug now works)/help output replaced with ASCII (was showing garbled 'a')**** artifact fixed (3+ consecutive stars now handled properly)Phase 3 focuses on Amiga integration: ARexx port for OS-wide automation, command history with arrow keys, multi-line input, clipboard, batch mode, and a non-blocking event loop.
Extract the LHA -- it contains GuruShell, GuruShell.prompt, and GuruShell.readme. All three files must be in the same directory.
Requires AmigaOS 3.2+, Roadshow TCP/IP, AmiSSL v5, and a Claude API key.