wormclaude 1.0.49 → 1.0.50

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.49';
19
+ export const VERSION = '1.0.50';
package/dist/tui.js CHANGED
@@ -186,11 +186,13 @@ export async function runTui() {
186
186
  const inputLines = inputBoxLines(W); // çok-satırlı giriş (sarılmış)
187
187
  const m = cmdMatches();
188
188
  if (m.length) {
189
- // DİKEY slash menü (alt alta), seçili kırmızı kutunun üstünde.
190
- const items = m.slice(0, 8);
191
- const sel = Math.min(cmdSel, items.length - 1);
192
- const menu = items.map((c, i) => {
193
- const on = i === sel;
189
+ // DİKEY slash menü — KAYAN pencere (8 satır, seçimi takip eder), seçili kırmızı.
190
+ const sel = Math.min(cmdSel, m.length - 1);
191
+ const WIN = 8;
192
+ const start = Math.max(0, Math.min(sel - 3, m.length - WIN));
193
+ const view = m.slice(start, start + WIN);
194
+ const menu = view.map((c, i) => {
195
+ const on = (start + i) === sel;
194
196
  return ' ' + paint((on ? '✶ ' : ' ') + c.name.padEnd(13), on ? theme.redBright : theme.grey) + paint(cmdDesc(c.name) || c.desc || '', theme.greyDim);
195
197
  });
196
198
  body = [...menu, line, ...inputLines, line];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wormclaude",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "description": "WormClaude CLI - uncensored security+code assistant (ink TUI, Claude-style)",
5
5
  "type": "module",
6
6
  "bin": {