feat: Interactive REPL + enhanced tools (edit, glob, grep)#100
Merged
feat: Interactive REPL + enhanced tools (edit, glob, grep)#100
Conversation
…gramming Three new tools to close the gap with Claude Code CLI: - edit_file: targeted find-and-replace with exact match, multi-match rejection, and permission preservation - glob: file pattern matching with recursive ** support, skips .git/node_modules - grep: regex content search with file:line output, file type filtering, and directory exclusions Includes 24 unit tests covering edge cases (no match, multiple matches, invalid regex, permissions, etc). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Terminal-based interactive mode with persistent conversation history across prompts, making ShellForge usable as a pair-programming tool. Key features: - Conversation history maintained across prompts (the core innovation) - Shell command passthrough with ! prefix - Ctrl+C interrupts current run without killing the session - ANSI color output for prompt, errors, and governance denials - Session stats (turns, tool calls, denials, duration) after each run Includes 13 unit tests covering command parsing, shell execution, EOF handling, and REPL lifecycle. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Wire up the REPL and enhanced tools (edit_file, glob, grep) into the CLI. shellforge chat starts an interactive pair-programming session with persistent conversation history across prompts. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
shellforge chat— pair-programming mode with persistent conversation history across prompts, color output, Ctrl+C handling,!shell escape**supportfile:lineoutput formatCloses the feature gap with Claude Code CLI for interactive local-model coding.
CLI
Test plan
go build ./cmd/shellforge/succeedsshellforge chatinteractive session🤖 Generated with Claude Code