mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-25 14:43:05 +09:00
Checkpoint: File edits
Automatic checkpoint created by Claude Code - Branch: v3 - Timestamp: 2026-01-07T20:25:59Z - Changes: 1 file(s) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
bb942df19c
commit
72e77e1dc5
1 file changed
+15
-6
@@ -63,16 +63,25 @@ const listCommand: Command = {
|
||||
output.writeln();
|
||||
|
||||
const rows = claims.map(c => ({
|
||||
Issue: c.issueId,
|
||||
Claimant: c.claimant.type === 'human'
|
||||
issue: c.issueId,
|
||||
claimant: c.claimant.type === 'human'
|
||||
? `👤 ${c.claimant.name}`
|
||||
: `🤖 ${c.claimant.agentType}`,
|
||||
Status: formatStatus(c.status),
|
||||
Progress: `${c.progress}%`,
|
||||
Since: formatDuration(Date.now() - c.claimedAt.getTime()),
|
||||
status: formatStatus(c.status),
|
||||
progress: `${c.progress}%`,
|
||||
since: formatDuration(Date.now() - c.claimedAt.getTime()),
|
||||
}));
|
||||
|
||||
output.printTable(rows);
|
||||
output.printTable({
|
||||
columns: [
|
||||
{ key: 'issue', header: 'Issue', width: 12 },
|
||||
{ key: 'claimant', header: 'Claimant', width: 18 },
|
||||
{ key: 'status', header: 'Status', width: 20 },
|
||||
{ key: 'progress', header: 'Progress', width: 10 },
|
||||
{ key: 'since', header: 'Since', width: 10 },
|
||||
],
|
||||
data: rows,
|
||||
});
|
||||
|
||||
if (ctx.flags.format === 'json') {
|
||||
output.printJson(claims);
|
||||
|
||||
Reference in new issue
Block a user