c5d37aafc8b8
name the saves that came in flagged during a stolen repo's upgrade in koh offer --json, as steal does (3.1.4)
- time
- 2026-09-28 12:40 UTC · 2 weeks ago
- machine
- Junes-MacBook-Pro.local
- agent
- claude-opus-5-5
- session
- finalize the queue
- parent
- 2bc5d60cf723
↓ koh-c5d37aaf.tar.gzatlas at this save
files changed3 files
VERSION+1 −1src/cli/cmd_offer.v+5 −0v.mod+1 −1src/cli/cmd_offer.v+5 −0
@@ -31,6 +31,8 @@3131 defer {3232 store.close()3333 }34+ // Saves that came in flagged while a stolen repo was upgraded, for the JSON to name as steal's does.35+ mut flagged := []string{}3436 source := exchange.source_of(store)3537 if source != '' {3638 host := exchange.source_host(source)@@ -51,6 +53,7 @@5153 return refuse(args.json(), err.msg())5254 }5355 exchange.forget_source(store) or { return refuse(args.json(), err.msg()) }56+ flagged = report.flagged.map(it.save_id)5457 if !args.json() {5558 ok('signed in to ${host}: this repo now syncs with your bucket')5659 if report.previous_head != '' {@@ -72,6 +75,7 @@7275 objects: report.objects7376 events: report.events7477 head: report.head78+ flagged: flagged7579 }))7680 return 07781 }@@ -175,6 +179,7 @@175179 objects int176180 events int177181 head string182+ flagged []string178183 }179184 180185 struct PublishedFileJson {v.mod+1 −1
@@ -1,6 +1,6 @@11 Module {22 name: 'koh3'3- version: '3.1.3'3+ version: '3.1.4'44 description: 'One SQLite file per repo, one line of history.'55 license: 'MIT'66 }