Repository navigation
Editor mode: files and an editor beside the session - #61
Merged
Merged
Conversation
Ctrl+Shift+E (or the top-bar button) hides both sidebars, narrows the terminal to the left and shows the session's folder as a tree (Git-ignored files left out, changed files marked) beside a read-only editor. Listing and reading run off the UI thread; files over 50K lines or 8 MB, and non-UTF-8 files, show a note instead.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
… Claudiu tool switches Settings becomes a category dialog (General, Sessions, Claude Code tools, Claudiu tools, About): one page per category, one size on every page, one Save and Cancel, keyboard navigation from the category list, the last page remembered for the run, and a rejected value switches to its page. Pages and launch changes: - Claude Code tool trimming: 15 switches, applied per session through a --settings file; nothing is trimmed by default. - New-session defaults: model, effort and permission mode, passed as claude flags to new sessions only. - Claudiu tool switches: Visual, GitHub, Other sessions and Model switch; a switched-off feature loses its MCP tools and instruction text. Also: the mod folder is named by a hash of its files so two builds stop overwriting each other's copy, and a refused advisor change is retried and reported only once Claude Code applied it. Carries the uncommitted editor-mode edits already in src/app/mod.rs, src/app/sessions.rs, src/store.rs, src/panels/workspace_view.rs, README.md, src/claude/mcp.rs and mod/hooks/register.js. Refs #65 Refs #66 Refs #68 Refs #69 Refs #70 Refs #71
…g attaches Claudiu now asks GitHub for the title and state of each attached issue or pull request (new items within seconds, all items every two minutes) instead of trusting a title from the model. Closed and merged items stay, marked as such. Attaches could vanish: append_line used writeln! on an unbuffered file, which wrote each line in many pieces, so the poller could read half a line and drop it as unparseable. The line now goes out in a single write.
Editor mode shows the session's files beside its terminal, with language servers for diagnostics and tree-sitter highlighting for the grammars we ship. Ask-Claude, file ops, git line tracking and a file picker come with it. Also move the agent instructions from AGENTS.md into CLAUDE.md, remove the mod's background compaction draft (Claude Code's own precompute is used instead), make a hand-off compact idle sessions, and rename the plugin to Claudiu.
…ailures - Ask Claude and Fix with Claude only reuse a running session that works in the request's folder, so a prompt about one repository cannot land in a session on another. - The gutter diff treats a file path as one literal file; `[id].tsx` no longer picks up a neighbour's changes. - The background `git status` runs with --no-optional-locks, so it cannot make Claude's own git commands fail on index.lock. - A clean tab whose file turns too large or non-text updates its stamp, so the once-a-second check stops re-reading it. - A file refresh asked for during a listing is queued instead of dropped. - Attached-item lookups back off when GitHub cannot answer, and skip sessions whose folder is gone. - Find in files reads the stored text instead of running the editor's tab and line-end processing. - priority.rs holds '\0' instead of a raw NUL byte, which made git treat it as binary; a test now guards every source file. - Renaming or deleting a file updates Back, Forward and recent files. - The three files.rs tests canonicalize the temp dir, since /var is a symlink to /private/var on macOS.
…, approval for prompted sessions - Remove the left sidebar notice that appeared at 95% of a usage limit and offered an account switch. Hand off stays a step the user starts. - A session that asks Claudiu to open another one with a first message now needs the user's yes. Closing the dialog answers "The user declined." at once. Starting without a prompt is unchanged. - Record in CLAUDE.md that the editor's @file#L reference is the one place Claudiu types into a terminal, and correct the README and mod comment that said nothing is typed. - Correct the README: Claudiu changes two kinds of Claude Code data (the compaction switches and an alt account's shared config file), and it talks to GitHub beyond the update check.
Claude Code documents disableArtifact as deprecated in favour of enableArtifact: false. Write both, since versions before 2.1.242 read only the old key.
…witches at session start The switches used to call $.config.set and /advisor in the running session, and Claude Code saves both to its own settings. A change for one session therefore wrote ~/.claude/settings.json for every session and account, and Claude Code's plugin API has no session-only way to set those rows. Claudiu now stores the choice in the session record and writes it into the per-session --settings file next to the tool trims (autoCompactEnabled, precomputeCompactionEnabled, advisorModel). A running session keeps its value; the sidebar shows "On -> Off" until the next start or resume. The mod no longer handles those commands. Refs #75
…ing to ~/.claude On Windows without Developer Mode the alt's settings.json was a hard link to the main file. Claude Code saves it by replacing the file, which broke the link and let the copies drift, and the rejoin step then wrote the newer alt copy into ~/.claude. settings.json, CLAUDE.md and keybindings.json are now copied from the main folder before every alt launch, through a temp file and a rename so an old hard link is never written through. Edits made inside the alt are replaced, and a file removed from main is removed from the alt. A main file that cannot be read leaves the alt's copy alone. Folders still link to the main ones; other top-level files belong to each alt. The rejoin step is gone, and the README and the "Add an account" dialog describe the new behavior.
A Claude session already running in the folder takes the request itself, so the test only saw a new session start when nothing was left running.
…dvisor switches at session start" The maintainer wants the sidebar's switches to change Claude Code's settings for every session, inside Claudiu or not, as /config does. They are live again: they go through the mod, and Claude Code saves them. This reverts commit 0d62f8b.
…alt, and write tool trims into settings.json All accounts belong to the same person, so their configuration should be the same, and a change made anywhere (including Claude Code outside Claudiu) should reach the others. config_sync copies settings.json, CLAUDE.md and keybindings.json between the main folder and every alt folder in both directions, every 3 seconds and before a session starts. An account counts as changed when it differs from the value every account last agreed on, not when its file is newer, because Claude Code rewrites these files constantly. The newest change wins; a deleted file is not deleted elsewhere. User-level MCP servers and project trust are synced the same way in each account's .claude.json, which is only written while no Claudiu session uses it. A new account cannot wipe the others' servers. The Settings dialog's tool trims are written into Claude Code's own settings.json instead of a per-session --settings file, and switching one off removes only the lines Claudiu added. A settings.json that is not valid JSON is never overwritten. Alt accounts link folders only; the file copy and rejoin code is gone. serde_json keeps key order so the user's files are not reshuffled.
This branch was successfully deployed
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.
Closes #60
First slice of editor mode: items 1–7 of #60 (layout, file tree, ignore rules, change marks, opening files). Editing, tabs, quick open, find in files, the selection hand-off, highlighting and LSP follow in this PR before it merges.
Summary
Evidence
files::tests(4): disabling the ignore check and the change marks turns two of them red:left: ["src", "target", ".gitignore", "debug.log", "README.md"]/src/deep/a.rs is not marked: {}; restored, all pass.sessions_and_the_shell_panel(ignored, realclaude): editor mode keeps the same terminal entity and process, lists the folder, opens a file, leaves the sidebars as they were, and closing the session drops its pane. Passes.set_valueholds the UI thread ~285 ms (release, test platform); reading is off-thread.just lintclean,cargo test --locked118 passed.Risk
Easy to undo: new modules plus a few gated lines. The editor is read-only until saving lands. Not yet viewed in a real window.