Skip to content

CresoEdit v2.0.0

Latest

Choose a tag to compare

@bwfront bwfront released this 05 Dec 18:52

Creso Pilot and pull requests

  • New Pull requests view in the fullscreen AI workspace (rail entry above the chats): the repository's open PRs with author, branches, checks, review state, and draft flag. Open a PR to read its description, checks, reviews, and comments, open its changed files in the diff view, comment, approve, request changes, merge (squash, merge commit, or rebase, optionally deleting the branch), or check out its branch (open editors with unsaved edits are protected). Everything goes through the GitHub CLI (gh); nothing runs while the view is closed.
  • When merging a PR fails (for example because of conflicts), Fix and merge with agent starts an agent chat in a separate worktree of the PR branch: it resolves what blocks the merge, runs the checks, pushes, and merges. The worktree is removed once the PR is merged or closed. Error messages in the PR and Pilot views have a Copy button.
  • Review with agent on a PR starts a normal agent chat that reviews it (Codex uses its /review). When the review is done, its findings are posted to the PR as one review comment marked as written by an agent. Turn this off under Settings → Agents → GitHub → Post agent reviews to GitHub (on by default). Clicking it again for the same PR and agent reuses that review chat. Approve and Request changes are disabled on your own pull requests, which GitHub does not allow.
  • Settings → Agents → GitHub shows whether gh is installed and signed in, installs it with Homebrew, and runs gh auth login in the built-in terminal.
  • New Creso Pilot view in the fullscreen AI workspace works through a project's agent-ready GitHub issues on its own, one at a time: press Play and it picks issues labeled agent:ready (priority first, then oldest, waiting for Depends on #N), runs each in its own Git worktree outside the project as a normal full-auto agent chat you can follow live, and ends with an open PR (default) or a merge into the base branch. Agents post product questions on the issue and label it agent:blocked; the Pilot then moves on. Results, the queue, and a per-project manual test list written by the agent are shown in the view.
  • Pilot settings per project (Pilot view → Settings): ordered provider list (each with an account and a model picked from the list the provider's CLI reports, fetched automatically) with fallback when a provider fails or hits its usage limit (retry every 5 minutes when none is available), per-issue provider override from the queue, pickup label, base branch (picked from the repository's branches), what happens when an issue is done, environment variables for runs (e.g. a shared CARGO_TARGET_DIR), and an editable workflow prompt (Edit in editor opens it as a file; Reset to default). The settings are laid out in labeled sections. See the new guide docs/creso-pilot.md (Docs button in both views). A warning must be confirmed once per project before agents run without asking; it can be revoked in the settings.
  • Desktop notifications when an issue is done, the queue is empty, or no provider is available (can be turned off), and a small status indicator in the sidebar while the Pilot runs or is paused.
  • The Remote Companion has a Pilot tab per workspace: state, the current issue with phase, provider, and elapsed time (linking to its live chat), the queue, recent results with GitHub links, and the manual test list. Finished issues and "no provider available" show up as alerts. Once the Pilot is set up on the desktop, it can be started, paused, and stopped from the phone.

Performance

  • Typing in one split pane really no longer redraws the other panes. Typing with instant autosave also no longer redraws the workspace and the Git sidebar on every keystroke.
  • Typing with the Git sidebar open no longer redraws the sidebar on every keystroke; it redraws only when the Git state it shows changes.

Editor

  • New Show whitespace setting (Settings → Editor, off by default) draws faint markers for spaces and tabs. Toggle it from the View menu or with Editor: Toggle Show Whitespace in Quick Open (>).
  • Code editors show indent guides: a faint vertical line per indentation level that follows the file's indentation width and runs through blank lines, with the guide of the block at the cursor drawn stronger. Turn them off under Settings → Editor → Indent guides.
  • New setting Bracket pair colors (Settings → Editor, off by default): matching (), [] and {} in code are colored by nesting depth using the theme's colors, and a closing bracket with no opener stands out. Brackets in strings and comments are left alone. Large files are skipped.
  • A minimap at the right edge of each editor shows the whole file in syntax colors, with the visible area, Git changes, Find in File matches, and the selection. Click it to jump, or drag the visible area to scroll. Turn it off or change its width in Settings → Editor, or use Toggle Minimap. Very large files and files with very long lines don't show it.
  • Sticky scroll: while you scroll through a long function or class, its first line stays pinned at the top of the editor, outermost scope first. Click a pinned line to jump to it. Turn it on in Settings → Editor (Sticky scroll), and set how many lines can be pinned with Sticky scroll max lines (default 5).
  • Select All Occurrences (⌃⌘G) puts a cursor on every match of the selection, or of the word under the cursor. It is in the Edit menu and in Quick Open (>), and the status bar says so when it stops at 500 cursors.
  • Add Cursor Above / Below and Select Next Occurrence are now in the Edit menu, and you can rebind them in Settings → Keybindings. A changed shortcut keeps working after a restart.
  • The editor follows a project's .editorconfig: indentation (spaces or tabs, and width) per file, line endings on every save, and trailing whitespace and the final newline when you save with Cmd+S or Save & Close. Turn it off under Settings → Editor → EditorConfig.
  • The Tab size setting now applies to the editor; before, the editor always indented with 2 spaces.
  • Format Document now formats C and C++ with clang-format (using the project's .clang-format) and CSS, SCSS, HTML, Markdown, and YAML with Prettier, using the project's own Prettier from node_modules when there is one.
  • JavaScript, TypeScript, and JSON are formatted with Prettier when the project has a Prettier config and no Biome config; Biome is still the default.
  • New Format on save setting (Settings → Editor, off by default): ⌘S and Save & Close format the file first, while autosave never does. If the formatter is missing, slow, or fails, the file is saved unformatted and the status bar says why.
  • The status bar names the formatter that ran, for example "Formatted with rustfmt" or "Saved: main.rs (formatted with rustfmt)".
  • Escape in the editor collapses extra cursors back to one again, after ⌘D, Select All Occurrences, or Alt-click.
  • New Outline sidebar tab (Cmd+Shift+E, or "Outline: Show Sidebar" in the command palette): it lists the classes, functions, methods, and constants of the active file, highlights the one the cursor is in, filters by name, and jumps to a symbol on click.

Tasks

  • Save commands such as cargo test or npm run dev as named tasks for each project and run them with Run Task (⌘⌥R, the command palette, or the ▶ Run Task button in the terminal panel). Add, edit, rename, and delete tasks right in the picker; they are stored in .cresoedit/tasks.toml in the project.
  • Each task runs in its own terminal tab with its working directory and environment variables. The tab shows whether the task is running or how it ended (with the exit code), Stop ends it, and running it again restarts it in the same tab.
  • Settings → Tasks lists the project's tasks and can open the tasks file in the editor or copy its path.
  • Snippets from your snippet files and the project's .vscode/*.code-snippets appear in the completion menu. Accepting one inserts it with placeholders: Tab and Shift-Tab move between them, and Esc ends the snippet. Use Snippets: Configure Snippets to edit the snippet file for the current language, or turn snippets off under Settings → Editor.

Security

  • Updated the WebAssembly runtime used by language packs and Wasm extensions to fix nine security advisories.