Skip to content

Commit b9028f2

Browse files
committed
feat(update): add remote comparison plans (#108)
* feat(update): add remote comparison plans * fix(update): commit selected Skills atomically * fix(update): harden remote update plans
1 parent e96a08b commit b9028f2

10 files changed

Lines changed: 3577 additions & 263 deletions

File tree

crates/skilld-command/src/lib.rs

Lines changed: 478 additions & 174 deletions
Large diffs are not rendered by default.

crates/skilld-command/src/local_store.rs

Lines changed: 313 additions & 44 deletions
Large diffs are not rendered by default.

crates/skilld-command/src/output.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use clap::error::ErrorKind;
22
use serde::Serialize;
3-
use skilld_core::UpdateCheckV1;
3+
use skilld_core::UpdatePlanV1;
44
use unicode_width::{UnicodeWidthChar, UnicodeWidthStr};
55

66
use crate::{CommandError, CommandErrorKind};
@@ -106,7 +106,7 @@ pub(crate) fn render_display(kind: ErrorKind, path: &str, text: &str) -> Vec<u8>
106106
}
107107

108108
pub(crate) fn render_update_check(
109-
outcome: &UpdateCheckV1,
109+
outcome: &UpdatePlanV1,
110110
mode: OutputMode,
111111
) -> Result<Vec<u8>, CommandError> {
112112
if mode != OutputMode::JsonV1 {

0 commit comments

Comments
 (0)