Compare commits
2 Commits
d11df74ecd
...
40cd8f332c
| Author | SHA1 | Date | |
|---|---|---|---|
| 40cd8f332c | |||
| c00b618706 |
|
|
@ -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": {
|
||||
|
|
|
|||
|
|
@ -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}`)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user