D2: engine commands for the remote browser, compare and sync; save before upload

deploy.browse, readRemote, writeRemote, renameRemote, mkdirRemote,
deleteRemote (confirm: true required), compare, sync (confirmDelete
required for deletions). deploy.upload saves dirty buffers under its
paths first (saveFirst, default true) without queueing uploads on save.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
danny 2026-11-06 19:41:31 +01:00
parent a8ad74755c
commit 7601ce12f6
5 changed files with 673 additions and 11 deletions

View file

@ -3,6 +3,7 @@
mod app;
mod buffer;
pub mod deploy;
mod deploy_remote;
mod file;
pub mod git;
pub mod git_blame;
@ -98,6 +99,7 @@ pub(crate) const BUILTIN_COMMAND_IDS: &[&[&str]] = &[
app::COMMAND_IDS,
buffer::COMMAND_IDS,
deploy::COMMAND_IDS,
deploy_remote::COMMAND_IDS,
file::COMMAND_IDS,
git::COMMAND_IDS,
git_blame::COMMAND_IDS,