wormclaude 1.0.221 → 1.0.222

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/i18n.js CHANGED
@@ -95,6 +95,7 @@ const STR = {
95
95
  'tui.mcpConnected': '🔌 {0} MCP sunucusu bağlandı',
96
96
  'tui.autoCompacted': '✎ bağlam otomatik özetlendi',
97
97
  'tui.loopStop': 'Aynı adım tekrarlandı, döngü önlemek için durduruldu.',
98
+ 'tui.userStopped': '■ durduruldu (Esc).',
98
99
  'tui.connErr': '[bağlantı hatası: {0}]',
99
100
  'tui.learned': '✎ eğitim datasına eklendi',
100
101
  'tui.userCancel': 'kullanıcı iptal etti',
@@ -162,6 +163,7 @@ const STR = {
162
163
  'tui.mcpConnected': '🔌 {0} MCP server(s) connected',
163
164
  'tui.autoCompacted': '✎ context auto-summarized',
164
165
  'tui.loopStop': 'Same step repeated, stopped to avoid a loop.',
166
+ 'tui.userStopped': '■ stopped (Esc).',
165
167
  'tui.connErr': '[connection error: {0}]',
166
168
  'tui.learned': '',
167
169
  'tui.userCancel': 'user cancelled',
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.221';
19
+ export const VERSION = '1.0.222';
package/dist/tui.js CHANGED
@@ -795,6 +795,14 @@ export async function runTui() {
795
795
  } // Hayır / No
796
796
  return;
797
797
  }
798
+ // ÇALIŞAN TURU DURDUR: perm/ask dialogu YOKKEN Esc → uçuştaki isteği kes (app'i kapatma).
799
+ // Altyapı (turnAbort→signal→api.ts reader.cancel + loop break) hazırdı ama bu dal eksikti:
800
+ // model çok dosya okuyup takıldığında Esc'in hiçbir etkisi olmuyordu.
801
+ if (busy && turnAbort && key && key.name === 'escape') {
802
+ turnAbort.abort();
803
+ printItem({ kind: 'note', text: t('tui.userStopped') });
804
+ return;
805
+ }
798
806
  if (key && key.ctrl && key.name === 'c') {
799
807
  if (inputBuf) {
800
808
  inputBuf = '';
@@ -802,6 +810,12 @@ export async function runTui() {
802
810
  refresh();
803
811
  return;
804
812
  }
813
+ // Tur çalışıyorsa ilk Ctrl+C turu durdurur (app'i kapatmaz); boştayken çift-C çıkış.
814
+ if (busy && turnAbort) {
815
+ turnAbort.abort();
816
+ printItem({ kind: 'note', text: t('tui.userStopped') });
817
+ return;
818
+ }
805
819
  const now = Date.now();
806
820
  if (now - ctrlcAt < 2000) {
807
821
  quit();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wormclaude",
3
- "version": "1.0.221",
3
+ "version": "1.0.222",
4
4
  "description": "WormClaude CLI - uncensored security+code assistant (ink TUI, Claude-style)",
5
5
  "type": "module",
6
6
  "bin": {