feat: add copy-archive global action - #39
Open
backnotprop wants to merge 2 commits into
Open
Conversation
Expose copy-and-archive as a bindable global plugin action in both Lite runtimes, so clearing the annotation list after handing it to an agent no longer requires opening the manager pane. refs #36
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.
Adds a global
copy-archiveaction next tocopy-context, so the "hand annotations to the agent, then clear the list" step can be bound to one Herdr key instead ofprefix+mthenC.What changed
src/export-archive.tsmirrorsexport.tsand callscopyAndArchiveAnnotationswith the same dependencies the manager passes. Outcomes map to notifications: archived (exit 0), nothing to copy (exit 0, same wording ascopy-context), clipboard or store failure (exit 1). Archived sets remain restorable from the manager.copy-archivesubcommand inrust/src/cli.rswith the same wiring and messages;lite-rs/herdr-plugin.tomlgains the action.copy-contextinherdr-plugin.toml,lite/herdr-plugin.toml, andlite-rs/herdr-plugin.toml. No existing id, command, key, or platform gate changed.process.copy-archive.*cases inscripts/parity-lite.py(empty, populated with store bytes compared, clipboard failure, missing state), plus averify_manifests()step that compares action and pane declarations across the three manifests and asserts every entrypoint is driven.docs/rust-lite-parity-proof.mdanddocs/rust-lite-parity.mdupdated.rust-lite-cinow also runs onsrc/**,lite/**, andherdr-plugin.tomlchanges since the harness reads them.[[keys.command]]binding (prefix+ctrl+a).Validation
bun test73 pass,bunx tsc --noEmitcleancargo fmt --check,cargo clippy --all-targets -D warnings,cargo test56 lib + 4 integration passscripts/parity-lite.sh: 459 observables, 92 screens, zero divergences / 1 deliberatescripts/smoke-rust-lite.sh: 0 failures.refs #36