wormclaude 1.0.198 → 1.0.199

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.198';
19
+ export const VERSION = '1.0.199';
package/dist/tui.js CHANGED
@@ -534,16 +534,16 @@ export async function runTui() {
534
534
  for (let i = 0; i < toolCalls.length; i++) {
535
535
  let _content = capToolOut(toolCalls[i].name, results[i].output || '');
536
536
  if (!results[i].ok && !_willStop) {
537
- _content += getLang() === 'en'
538
- ? '\n\n[REFLECT] This call failed. Before continuing, think briefly: (1) WHY did it fail? (2) Do NOT repeat the same call verbatim — fix the arguments or try a DIFFERENT approach/tool. (3) If it cannot be solved, tell the user plainly. Never give up silently or loop.'
539
- : '\n\n[DÜŞÜN] Bu çağrı başarısız oldu. Devam etmeden kısaca düşün: (1) NEDEN başarısız oldu? (2) Aynı çağrıyı AYNEN tekrarlamaparametreyi düzelt ya da BAŞKA bir yol/araç dene. (3) Çözülemiyorsa kullanıcıya açıkça söyle. Asla sessizce pes etme, döngüye girme.';
537
+ // Direktif İNGİLİZCE (model-yönlü) Türkçe direktif instruction-following'i bozar
538
+ // (prompt-language-english kuralı). Model yine sohbet diliyle (TR) cevaplar.
539
+ _content += '\n\n[REFLECT] This call failed. Before continuing, think briefly: (1) WHY did it fail? (2) Do NOT repeat the same call verbatim fix the arguments or try a DIFFERENT approach/tool. (3) If it cannot be solved, tell the user plainly in their language. Never give up silently or loop.';
540
540
  }
541
541
  history.push({ role: 'tool', tool_call_id: toolCalls[i].id, content: _content });
542
542
  }
543
543
  if (_willStop) {
544
- history.push({ role: 'user', content: getLang() === 'en'
545
- ? 'Several commands failed required tools/syntax are not available here (e.g. grep/openssl/hydra on Windows). STOP running commands now and give a SHORT summary of what you found so far. Do NOT call more tools, do NOT use grep/sed/awk.'
546
- : 'Komutlar başarısız oldubu ortamda gerekli araç/sözdizim yok (Windows\'ta grep/openssl/hydra gibi). Komut çalıştırmayı ŞİMDİ BIRAK, şu ana kadarki bulguları KISA özetle. Başka araç çağırma, grep/sed/awk kullanma.' });
544
+ // Model-yönlü direktif İNGİLİZCE (Türkçe direktif instruction-following'i bozar);
545
+ // model yine kullanıcının diliyle özetler. (Kullanıcı-yönlü not aşağıda TR kalır.)
546
+ history.push({ role: 'user', content: 'Several commands failed required tools/syntax are not available here (e.g. grep/openssl/hydra on Windows). STOP running commands now and give a SHORT summary of what you found so far, in the user\'s language. Do NOT call more tools, do NOT use grep/sed/awk.' });
547
547
  printItem({ kind: 'note', text: getLang() === 'en' ? 'Commands kept failing — wrapping up.' : 'Komutlar başarısız oldu — özetle bitiriliyor.' });
548
548
  consecFail = 0;
549
549
  totalFails = 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wormclaude",
3
- "version": "1.0.198",
3
+ "version": "1.0.199",
4
4
  "description": "WormClaude CLI - uncensored security+code assistant (ink TUI, Claude-style)",
5
5
  "type": "module",
6
6
  "bin": {