the card shows which directory it is

a commander's card gave its name and its cost and nothing to connect it to
`commanders/<n>/` on disk. the owner is the only person who will ever look
at that directory, and finding out which one a card was meant opening it
and reading a path out of a tool call.

#40 beside the title, monospaced and muted, with the full path on hover.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Officer-Session: 656f5c85-e49a-4f1f-b9f3-042a04b4d043
This commit is contained in:
2026-08-25 07:46:29 +00:00
co-authored by Claude Opus 5
parent a3fced25c4
commit 4d2ee284ff
3 changed files with 15 additions and 0 deletions
+3
View File
@@ -265,6 +265,9 @@ commandHqRouter.get('/commanders', async (ctx) => {
// until then the transcript still reports the opening brief, and the row is the only source that is
// right from the start.
...(row.name ? { title: row.name } : {}),
// Its directory name, which is also its id. Shown beside the title so the owner can tell which
// `commanders/<n>/` on disk a card is, without opening it and reading a path out of a tool call.
dirName: row.dirName,
categoryId: row.categoryId,
tagIds: tagsByRow.get(row.id) ?? [],
running: runningById.get(row.sessionId!) ?? false,