wormclaude 1.0.210 → 1.0.211

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/api.js CHANGED
@@ -118,6 +118,11 @@ function _lastTargetFromMessages(messages) {
118
118
  const hostRe = /\b((?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z]{2,24})\b/i;
119
119
  const badExt = /\.(?:js|ts|tsx|jsx|json|html?|css|png|jpe?g|gif|svg|md|txt|py|sh|yml|yaml|lock|map|ico|woff2?|mjs|cjs)$/i;
120
120
  for (let i = messages.length - 1; i >= 0; i--) {
121
+ // SADECE KULLANICI mesajları: model build sonrası nutkunda "https://site.com" UYDURUYORDU →
122
+ // CLI onu scanTarget sanıp SecurityScan'e çeviriyordu (build'i taramaya çeviren spurious döngü +
123
+ // donma). Tarama hedefini SADECE kullanıcı verir; modelin hayali URL'i hedef olamaz.
124
+ if (messages[i]?.role !== 'user')
125
+ continue;
121
126
  const c = messages[i]?.content;
122
127
  const s = typeof c === 'string' ? c : Array.isArray(c) ? c.map((x) => x?.text || '').join(' ') : '';
123
128
  if (!s)
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.210';
19
+ export const VERSION = '1.0.211';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wormclaude",
3
- "version": "1.0.210",
3
+ "version": "1.0.211",
4
4
  "description": "WormClaude CLI - uncensored security+code assistant (ink TUI, Claude-style)",
5
5
  "type": "module",
6
6
  "bin": {