Compare commits

..

2 Commits

Author SHA1 Message Date
40cd8f332c Update list status icons 2026-02-24 19:02:52 -08:00
c00b618706 5 2026-02-24 10:24:59 -08:00
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@because/sandlot",
"version": "0.0.4",
"version": "0.0.5",
"description": "Sandboxed, branch-based development with Claude",
"type": "module",
"bin": {

View File

@ -58,7 +58,7 @@ export async function action(opts: { json?: boolean }) {
return
}
const icons: Record<string, string> = { idle: `${dim}${reset}`, active: `${cyan}${reset}`, dirty: `${yellow}${reset}`, saved: `${green}${reset}` }
const icons: Record<string, string> = { idle: `${dim}${reset}`, active: `${cyan}${reset}`, dirty: `${yellow}${reset}`, saved: `${green}${reset}` }
const branchColors: Record<string, string> = { idle: dim, active: cyan, dirty: yellow, saved: green }
const branchWidth = Math.max(6, ...sessions.map((s) => s.branch.length))
const cols = process.stdout.columns || 80
@ -76,5 +76,5 @@ export async function action(opts: { json?: boolean }) {
console.log(`${icon} ${bc}${s.branch.padEnd(branchWidth)}${reset} ${dim}${truncated}${reset}`)
}
console.log(`\n${dim}◌ idle${reset} · ${cyan}◯ active${reset} · ${yellow} unsaved${reset} · ${green}● saved${reset}`)
console.log(`\n${dim}◯ idle${reset} · ${cyan}◎ active${reset} · ${yellow} unsaved${reset} · ${green}● saved${reset}`)
}