Skip to content

Commit 27b1f66

Browse files
Merge pull request #1468 from corbitsdev/cl-10640-rename-mark-ramp
refactor(tui): rename mark and ramp glyph modules
2 parents 1b07411 + 9f2af89 commit 27b1f66

18 files changed

Lines changed: 24 additions & 19 deletions

‎docs/TUI.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ on `LIVE_WORD_MS`; gated turns still read `waiting` or `stopping`.
160160
`ACTIVITY_STATES` exported from the session chrome module is the source
161161
of truth for what the slot can say, not this list. It is led by a single
162162
density cell
163-
(`rampPulse`, `src/tui/ramp.ts`). The cell, not the word,
163+
(`rampPulse`, `src/tui/ramp-glyphs.ts`). The cell, not the word,
164164
is what says whether the session is healthy, and it carries four states:
165165

166166
| State | Cell | Reads as |

‎src/tui/chrome-state.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import {
2020
} from "./geometry/zones.js";
2121
import { CREDENTIAL_FAILURE_USER_MESSAGE } from "../inference-error-message.js";
2222
import type { Telemetry } from "../telemetry/index.js";
23-
import type { RampPhase } from "./ramp.js";
23+
import type { RampPhase } from "./ramp-glyphs.js";
2424

2525
/**
2626
* Linger window for a finished agent row after `finishedAt`; mid of the

‎src/tui/landing.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import {
4141
} from "./landing";
4242
import { LOCKUP_WORDMARK } from "./lockup";
4343
import { MARK_LARGE, MARK_MID, MARK_SMALL } from "./mark-shape";
44-
import { SNOW_CHAR } from "./mark-anim";
44+
import { SNOW_CHAR } from "./mark-raster";
4545

4646
const SIZE = { width: 80, height: 24 } as const;
4747
const NOTICE = "Anonymous usage telemetry is enabled. Disable in /settings.";

‎src/tui/landing.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import {
1919
MARK_SMALL,
2020
type MarkGrid,
2121
} from "./mark-shape.js";
22-
import { renderMark } from "./mark-anim.js";
22+
import { renderMark } from "./mark-raster.js";
2323
import { UI } from "./theme.js";
2424
import { stringWidth } from "./view/height.js";
2525

‎src/tui/lockup.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
STALL_BLINK_BURST_MS,
1212
STALL_BLINK_CYCLE_MS,
1313
type RampPhase,
14-
} from "./ramp";
14+
} from "./ramp-glyphs";
1515
import { UI } from "./theme";
1616

1717
const idle = (nowMs: number): LockupInput => ({

‎src/tui/lockup.ts‎

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,22 @@
44
* It rides the prompt box's bottom border. Idle it reads `corbits code`;
55
* while a turn runs it reads the live phase — `thinking`, `responding`,
66
* the running tool's name — led by a single density cell (`rampPulse` in
7-
* `ramp.ts`): the word alone printed the same static `working` for a
7+
* `ramp-glyphs.ts`): the word alone printed the same static `working` for a
88
* live run and a hung one. The cell cycles while the turn moves, holds a
99
* static half block on an operator gate, and blinks a bang when stalled
10-
* (glyph and motion carry the states — see ramp.ts).
10+
* (glyph and motion carry the states — see ramp-glyphs.ts).
1111
*
1212
* Cell and word share the phase's color, so the slot never disagrees
1313
* with it. Pure and clock-injected: `nowMs` in, cells out.
1414
*/
1515

16-
import { type MarkCell } from "./mark-anim.js";
17-
import { rampFg, rampPulse, type RampPhase, type StallAge } from "./ramp.js";
16+
import { type MarkCell } from "./mark-raster.js";
17+
import {
18+
rampFg,
19+
rampPulse,
20+
type RampPhase,
21+
type StallAge,
22+
} from "./ramp-glyphs.js";
1823
import { UI } from "./theme.js";
1924
import { stringWidth } from "./view/height.js";
2025

‎src/tui/mark-anim.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
markText,
88
renderMark,
99
smooth,
10-
} from "./mark-anim";
10+
} from "./mark-raster";
1111
import { MARK_COLS, MARK_LARGE, MARK_ROWS } from "./mark-shape";
1212
import { UI } from "./theme";
1313

‎src/tui/provider/surface.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { PRODUCT_NAME } from "../../branding.js";
1616
import { ollamaDiscoveryFailureLine } from "../../provider/ollama.js";
1717
import { TELEMETRY_NOTICE } from "../../telemetry/index.js";
1818
import { wrapLines } from "../view/height.js";
19-
import { rampFor, rampLine } from "../ramp.js";
19+
import { rampFor, rampLine } from "../ramp-glyphs.js";
2020
import { destroySubtree } from "../teardown.js";
2121
import { UI } from "../theme.js";
2222
import {
File renamed without changes.

0 commit comments

Comments
 (0)