mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-21 05:52:35 +08:00
refactor: renegare sdk
This commit is contained in:
@@ -251,8 +251,7 @@ function detail(entry: Entry): string {
|
||||
|
||||
function describe(bucket: Bucket, count: number, dryRun: boolean): { label: string; action: string } {
|
||||
if (bucket === "markers-only") return { label: `markers-only (${count})`, action: dryRun ? "would reset" : "reset" }
|
||||
if (bucket === "cosmetic-only")
|
||||
return { label: `cosmetic-only (${count})`, action: dryRun ? "would reset" : "reset" }
|
||||
if (bucket === "cosmetic-only") return { label: `cosmetic-only (${count})`, action: dryRun ? "would reset" : "reset" }
|
||||
if (bucket === "small-diff") return { label: `small-diff (${count})`, action: dryRun ? "would reset" : "reset" }
|
||||
if (bucket === "large-diff") return { label: `large-diff (${count})`, action: "skipped" }
|
||||
if (bucket === "identical") return { label: `identical (${count})`, action: "nothing to do" }
|
||||
|
||||
@@ -10,15 +10,7 @@
|
||||
|
||||
import path from "node:path"
|
||||
import { error, header, info, success, warn } from "./utils/logger"
|
||||
import {
|
||||
annotate,
|
||||
annotates,
|
||||
changed,
|
||||
clean,
|
||||
fresh,
|
||||
ranges,
|
||||
supported,
|
||||
} from "./utils/markers"
|
||||
import { annotate, annotates, changed, clean, fresh, ranges, supported } from "./utils/markers"
|
||||
import { last, normalize, root, translate, upstream } from "./utils/upstream"
|
||||
|
||||
interface Args {
|
||||
|
||||
Reference in New Issue
Block a user