Add Claude integration, git panel, command palette, and markdown preview#2
Open
Add Claude integration, git panel, command palette, and markdown preview#2
Conversation
…wn preview Phase 2 implementation transforming the terminal wrapper into a Claude Code cockpit: Claude CLI detection via PTY side-channel scanner, git IPC handlers with allowlisted subcommands, searchable command palette (Ctrl+Shift+P), git status sidebar with stage/unstage, @codemirror/merge diff view, markdown preview for .md files, and auto-start Claude setting. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…e sessions - Replace emoji file icons with atom-file-icons for extension-specific colored icons - Add right-click context menu to terminal (copy, paste, select all, clear) - Add Ctrl+C/Ctrl+V clipboard integration in terminal via custom key handler - Strip CLAUDE_CODE_ENTRYPOINT and related env vars from PTY to prevent nested session detection when running claude inside the terminal - Inline git handlers and Claude scanner into main process bundle - Add clipboard read/write IPC handlers Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
claudeScanner.js) detects Claude startup/exit, model name, and cost — displays green indicator, model badge, and cost in terminal pane headersgitHandlers.jswith allowlisted subcommands (status,diff,show,add,restore,rev-parse) usingexecFilewith path validation and 10s timeout@codemirror/mergeMergeView showing side-by-side original (HEAD) vs current file content, read-only with Tokyo Night Storm theme.mdfilesclaudein new terminal panesgetLanguageExtension()into reusableutils/languages.jsTest plan
npm run buildpasses with no errorsnpm run dev, no console errorsclaudein new panes.mdfile shows Preview toggle; clicking it renders markdown alongside source🤖 Generated with Claude Code