throughline 0.3.13 → 0.3.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "throughline",
3
- "version": "0.3.13",
3
+ "version": "0.3.14",
4
4
  "type": "module",
5
5
  "description": "Claude Code hooks plugin for structured context compression (/clear-safe persistent memory)",
6
6
  "keywords": [
@@ -557,7 +557,13 @@ export function main() {
557
557
  }
558
558
 
559
559
  process.stdout.write(ANSI.hideCursor);
560
- process.stdout.write(color(ANSI.dim, `[Throughline] モニター起動 (state: ${getStateDir()}, Ctrl+C で終了)\n`));
560
+ // 起動時に実 runtime での TTY/columns/resolveColumns を出す。
561
+ // diag と runtime で値がズレる (PTY allocation タイミング違い等) を直視できるようにするため。
562
+ const startupCols = resolveColumns();
563
+ const ttyFlag = process.stdout.isTTY ? 'T' : '-';
564
+ process.stdout.write(color(ANSI.dim,
565
+ `[Throughline] モニター起動 [${ttyFlag} cols=${process.stdout.columns ?? '?'} clip=${startupCols}] Ctrl+C で終了\n`,
566
+ ));
561
567
 
562
568
  safeRenderFrame(args);
563
569
  // columns の最後に使った値。polling で resize 検知するために使う。