squidclaw 0.4.2 → 0.4.4

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.
Files changed (2) hide show
  1. package/bin/squidclaw.js +1 -30
  2. package/package.json +1 -1
package/bin/squidclaw.js CHANGED
@@ -529,36 +529,7 @@ program
529
529
  if (!agentId) { console.log('No agents found. Run: squidclaw hatch'); return; }
530
530
  await hatchTUI(agentId);
531
531
  });
532
- import { registerUninstallCommand } from '../lib/cli/uninstall-cmd.js';
533
- program
534
- .command('wake')
535
- .description('🦑 Wake up an agent (first-time hatching conversation)')
536
- .argument('[agentId]', 'Agent ID')
537
- .action(async (agentId) => {
538
- const { hatchTUI } = await import('../lib/cli/hatch-tui.js');
539
- if (!agentId) {
540
- const config = (await import('../lib/core/config.js')).loadConfig();
541
- const home = (await import('../lib/core/config.js')).getHome();
542
- const { readdirSync, readFileSync } = await import('fs');
543
- const { join } = await import('path');
544
- const agentsDir = join(home, 'agents');
545
- try {
546
- const dirs = readdirSync(agentsDir);
547
- for (const d of dirs) {
548
- try {
549
- const m = JSON.parse(readFileSync(join(agentsDir, d, 'agent.json'), 'utf8'));
550
- if (!m.hatched) { agentId = m.id; break; }
551
- } catch {}
552
- }
553
- if (!agentId && dirs.length > 0) {
554
- const m = JSON.parse(readFileSync(join(agentsDir, dirs[0], 'agent.json'), 'utf8'));
555
- agentId = m.id;
556
- }
557
- } catch {}
558
- }
559
- if (!agentId) { console.log('No agents found. Run: squidclaw hatch'); return; }
560
- await hatchTUI(agentId);
561
- });
532
+ import { registerUninstallCommand } from "../lib/cli/uninstall-cmd.js";
562
533
  registerUninstallCommand(program);
563
534
  // Auto-hatch on first run (no args)
564
535
  if (process.argv.length <= 2) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squidclaw",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
4
4
  "description": "🦑 AI agent platform — human-like agents for WhatsApp, Telegram & more",
5
5
  "main": "lib/engine.js",
6
6
  "bin": {