wormclaude 1.0.45 → 1.0.46

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/dist/theme.js CHANGED
@@ -16,4 +16,4 @@ export const theme = {
16
16
  synType: '#a78bfa', // tip/sınıf adları, sabitler
17
17
  synProp: '#e0e0e0', // özellik/anahtar adları
18
18
  };
19
- export const VERSION = '1.0.45';
19
+ export const VERSION = '1.0.46';
package/dist/tui.js CHANGED
@@ -108,10 +108,10 @@ export async function runTui() {
108
108
  ['◷', 'Context', ctx + ' tokens', theme.grey],
109
109
  ['▸', 'Workspace', process.cwd(), theme.grey],
110
110
  ];
111
- const cell = ([ic, lb, val, col]) => ' ' + paint(ic + ' ', theme.red) + paint(lb.padEnd(9), theme.greyDim) + paint(val, col);
112
- const colW = Math.max(28, Math.floor(W / 2)); // sol sütun genişliği
113
- const narrow = W < 64;
114
- if (narrow)
111
+ const cell = ([ic, lb, val, col]) => ' ' + paint(ic + ' ', theme.red) + paint(lb.padEnd(11), theme.greyDim) + paint(val, col);
112
+ // Sol sütun genişliği = en uzun sol hücre + 4 boşluk (sağ sütun yakın dursun, çok açılmasın).
113
+ const colW = Math.max(...L.map((r) => vis(cell(r)))) + 4;
114
+ if (W < colW + 30)
115
115
  return [...L, ...R].map((r) => fit(cell(r), W)); // dar ekran → alt alta
116
116
  return [0, 1, 2].map((i) => fit(padVis(cell(L[i]), colW) + cell(R[i]), W)); // geniş → 2 sütun
117
117
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wormclaude",
3
- "version": "1.0.45",
3
+ "version": "1.0.46",
4
4
  "description": "WormClaude CLI - uncensored security+code assistant (ink TUI, Claude-style)",
5
5
  "type": "module",
6
6
  "bin": {