wormclaude 1.0.180 → 1.0.181

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.
@@ -238,7 +238,11 @@ function extractTopLevelJsonObjects(text) {
238
238
  // tara(?!f) → "taraf/tarafından" YANLIŞ yakalanmaz; "keşif" (isim) + "keşf" (keşfet fiili) ayrı.
239
239
  const _SCAN_NOUN_RE = /\b(?:recon|keşif|keşf|kesif|tar[aı](?!f)|scan|securityscan|zafiyet|enjeksiyon|injection|sqli|xss)/i;
240
240
  const _SCAN_ACT_RE = /(başl|basl|çalıştır|calistir|gerçekleştir|gerceklestir|kullan|aca[gğ]|ece[gğ]|acak|ecek|[ıiuü]yor|start|run\b|launch|initiat|perform)/i;
241
- function _scanIntent(s) { return _SCAN_NOUN_RE.test(s) && _SCAN_ACT_RE.test(s); }
241
+ // Tamamlanmış tarama ÖZETİ imzaları (geçmiş-zaman tamamlama + sonuç yapısı). Bir SONUÇ anlatımı,
242
+ // YENİ tarama NİYETİ değil → 6.5 narrasyon-sentezi tetiklenmemeli (yoksa modelin her özeti yeni
243
+ // taramaya dönüp SONSUZ DÖNGÜ olur: full→özet→"xss gerçekleştirdi"→xss→özet→…).
244
+ const _SCAN_RESULT_RE = /(gerçekleştir(di|ildi)|gerceklestir(di|ildi)|tamamlandı|tamamlandi|yapıldı|yapildi|tespit edildi|bulundu|##\s|alt alan ad|subdomain|parametreli\s*\(?get)/i;
245
+ function _scanIntent(s) { return _SCAN_NOUN_RE.test(s) && _SCAN_ACT_RE.test(s) && !_SCAN_RESULT_RE.test(s); }
242
246
  export function recoverInlineToolCalls(text, opts) {
243
247
  const t = (text || '').trim();
244
248
  const scanTarget = (opts?.scanTarget || '').trim();
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.180';
19
+ export const VERSION = '1.0.181';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wormclaude",
3
- "version": "1.0.180",
3
+ "version": "1.0.181",
4
4
  "description": "WormClaude CLI - uncensored security+code assistant (ink TUI, Claude-style)",
5
5
  "type": "module",
6
6
  "bin": {