wormclaude 1.0.77 → 1.0.78

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/cli.js CHANGED
@@ -100,6 +100,20 @@ if (_needLogin) {
100
100
  config.model = _fresh.model;
101
101
  if (!config.apiKey)
102
102
  process.exit(0);
103
+ // Login akışı terminal girişini (stdin raw-mode) kirletiyor → TUI'de mesaj kutusuna yazı gitmiyor.
104
+ // Çözüm: temiz durumla OTOMATİK yeniden başlat (güncelleme akışıyla aynı desen). Kullanıcı elle restart yapmaz.
105
+ {
106
+ process.stdout.write('\n ✓ Giris yapildi, baslatiliyor...\n\n');
107
+ const { spawn } = await import('node:child_process');
108
+ const _cmd = process.platform === 'win32' ? 'wormclaude.cmd' : 'wormclaude';
109
+ const _child = spawn(_cmd, process.argv.slice(2), {
110
+ stdio: 'inherit', shell: true,
111
+ env: { ...process.env, WORMCLAUDE_SKIP_UPDATE: '1' },
112
+ });
113
+ _child.on('exit', (code) => process.exit(code ?? 0));
114
+ _child.on('error', () => { process.stdout.write(' Giris tamam. Lutfen "wormclaude" komutunu tekrar calistir.\n'); process.exit(0); });
115
+ await new Promise(() => { }); // çocuk süreci devralana kadar bekle (ana akışa düşme)
116
+ }
103
117
  }
104
118
  setToolConfig(config); // Agent/alt-agent araçları aynı config'i kullanır
105
119
  const MAX_TURNS = Number(process.env.WORMCLAUDE_MAX_TURNS) || 50; // tur limiti
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.77';
19
+ export const VERSION = '1.0.78';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wormclaude",
3
- "version": "1.0.77",
3
+ "version": "1.0.78",
4
4
  "description": "WormClaude CLI - uncensored security+code assistant (ink TUI, Claude-style)",
5
5
  "type": "module",
6
6
  "bin": {