Repository navigation
Veyra Studio: a Claude Code panel beside the editor - #68
Merged
Merged
Conversation
A native chat panel on the right (the sparkle in the right-hand strip, or Ctrl+Alt+C / ⌥⌘C) that runs the user's own Claude Code CLI in its documented streaming JSON mode, the way Anthropic's Agent SDK drives it: claude -p --input-format stream-json --output-format stream-json --verbose --include-partial-messages --permission-prompt-tool=stdio - Streaming Markdown answers with Copy on code blocks; each step Claude takes (read, search, run, edit) as a line you can click to open the file. - Permission cards for edits and commands, with the diff or the command, answered through the CLI's can_use_tool control requests: Allow, Always allow / Allow all edits, Deny. - Ask before edits / Edit automatically / Plan only (changed live with set_permission_mode); Default / Opus / Sonnet / Haiku. - The editor's selection (or open file) is attached as a chip; "Ask Claude About This" (⌥⌘K) and "Fix with Claude" in the editor's context menu and the command palette, the latter sending the editor's problems. - Stop (or Esc) interrupts the turn; files Claude changed are reloaded in the editor; conversations are saved per folder and continued with --resume. - Not installed: an install card using Anthropic's official installer. Not signed in: a Sign in card that opens Claude Code in a terminal for /login. Veyra never handles Claude credentials. Rust (src-tauri/src/claude.rs) only carries JSON lines between the CLI and the panel; every flag value from the panel is checked so it can't become another flag. Tests: 3 Rust unit tests, 13 protocol tests against recorded Agent SDK message shapes, and 6 interface tests with a stand-in CLI. The full Playwright suite passes (58). Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
A native Claude Code panel on the right of the editor. Open it with the sparkle in the right-hand strip, or Ctrl+Alt+C (⌥⌘C). It runs the user's own
claudeCLI in its documented streaming JSON mode, the same way Anthropic's Agent SDK drives it.--resume.Tests: 3 Rust, 13 protocol and 6 interface tests. The full Playwright suite passes (58).
🤖 Generated with Claude Code