Add tmux-compatible CLI semantics proposal for agent integration#14
Open
danshapiro wants to merge 1 commit intomainfrom
Open
Add tmux-compatible CLI semantics proposal for agent integration#14danshapiro wants to merge 1 commit intomainfrom
danshapiro wants to merge 1 commit intomainfrom
Conversation
Research how AI agents use tmux (send-keys, capture-pane, split-window, etc.) and map each command to freshell equivalents. Covers tab/pane management, terminal I/O, browser/editor panes, coding CLI integration, wait-for-output primitives, and a phased implementation plan. https://claude.ai/code/session_015SDyBrYmnNcCPM8n2cdqqY
Owner
Author
|
handling this locally |
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
This proposal document outlines a comprehensive strategy for providing tmux-compatible CLI semantics in Freshell, enabling AI coding agents to use Freshell as a drop-in replacement for tmux while also exposing Freshell-unique capabilities.
Key Changes
new-tab,kill-tab,list-tabs, etc.)split-pane,send-keys,capture-pane, etc.)open-browser,navigate)wait-forwith pattern matching and stability detection)--claude,--codexflags)tab.pane) with backward compatibility for tmux'ssession:window.panesyntaxFRESHELL,FRESHELL_URL,FRESHELL_TOKEN, etc.) for agent detectionNotable Details
session:window.paneformat while using nativetab.paneaddressingFRESHELL=1environment variable, similar to tmux detectionThis proposal establishes the foundation for making Freshell the preferred terminal multiplexer for AI agents while maintaining compatibility with existing tmux-based tools and orchestration frameworks.
https://claude.ai/code/session_015SDyBrYmnNcCPM8n2cdqqY