xonecas.io
64875
Mc

mini-coder / commit 8771ec0

fix: show full session ID in status bar to restore resume functionality

The session ID was truncated to 8 chars via slice(0, 8) in commit b0caa32,
causing users who copied the ID from the status bar to get 'Session not found'
when running mc -r <id>. Restore the full ID display.

xonecas2026-03-19 8771ec04b6efc1151183cfbbb9bcd8a87e2eaaeb parent 51d2cc4

2 files changed

TODO.md+0−1
@@ -1,6 +1,5 @@
11 # TODO
22
3-- Bug: Users cannot resume sessions, `mc -r <sessiond id>` starts a new session instead of resuming correctly.
43 - Prompt UI is missing provider information in some cases. Zen models omit the `zen/` prefix while OAuth models correctly show `anthropic`. Refactor so current provider is always clear.
54 - Banner doesn't show reasoning or verbose status. Users can't tell if these are active without toggling.
65 - Status bar drops the cwd path when the line gets long (observed with long OAuth model names on second turn). May be a terminal width truncation issue.
src/cli/status-bar.ts+1−4
@@ -85,10 +85,7 @@ function fitStatusSegments(
8585
8686 export function renderStatusBar(opts: StatusBarData): void {
8787 const cols = Math.max(20, terminal.stdoutColumns || 80);
88- const required = [
89- c.cyan(opts.model),
90- c.dim(`#${opts.sessionId.slice(0, 8)}`),
91- ];
88+ const required = [c.cyan(opts.model), c.dim(`#${opts.sessionId}`)];
9289 const optional: string[] = [];
9390
9491 if (opts.provider && opts.provider !== "zen") {