Repository navigation
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
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.
What changed
Adds direct shell commands and durable multi-step automation around Glance's existing native editor API. Users can save repeatable editing workflows, and AI clients can run the same operations through MCP (Model Context Protocol).
For example, after opening the editor with
glance desktop --automation:The shell command now defaults to the CLI;
glance desktopopens the editor. macOS app launches and legacy--cli/desktop flags remain supported, and Linux desktop launchers are updated. Editing and exports require the running, opted-in native editor.Incurs is the Rust library used here to expose a shared command catalog through the CLI and MCP; no JavaScript build toolchain is added.
Validation
Formatting, Clippy, and tests pass:
cargo fmt --check,cargo clippy --all-targets --locked -- -D warnings, andcargo test --locked(176 passed, 17 opt-in tests ignored).User-visible changes are recorded under
Unreleasedin CHANGELOG.md.Usage docs are updated.
CLI/MCP smoke checks cover direct commands, both MCP transports, shared execution history, approval/rejection, and CPU-loop cancellation.
The routing test catches a deliberate regression to GUI-by-default behavior.
Ad-hoc macOS bundle build and bundle/installed command checks pass.
Fork CI for the merge resolution is running; local checks above passed.
Tokio resolves to 1.53.2 for Glance and Incurs. RustSec audit found no Tokio advisories; Socket's PR check reports no new dependency alerts. Its supply-chain score of 58 is separate from the vulnerability score of 100.
tl;dr: Automate screenshot edits and exports from scripts or AI clients, with native undo and inspectable multi-step workflows.