squidclaw 0.4.2 → 0.4.3

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 +0 -30
  2. package/package.json +1 -1
package/bin/squidclaw.js CHANGED
@@ -500,36 +500,6 @@ if (process.argv.length <= 2) {
500
500
  process.exit(0);
501
501
  }
502
502
 
503
- program
504
- .command('wake')
505
- .description('🦑 Wake up an agent (first-time hatching conversation)')
506
- .argument('[agentId]', 'Agent ID')
507
- .action(async (agentId) => {
508
- const { hatchTUI } = await import('../lib/cli/hatch-tui.js');
509
- if (!agentId) {
510
- const config = (await import('../lib/core/config.js')).loadConfig();
511
- const home = (await import('../lib/core/config.js')).getHome();
512
- const { readdirSync, readFileSync } = await import('fs');
513
- const { join } = await import('path');
514
- const agentsDir = join(home, 'agents');
515
- try {
516
- const dirs = readdirSync(agentsDir);
517
- for (const d of dirs) {
518
- try {
519
- const m = JSON.parse(readFileSync(join(agentsDir, d, 'agent.json'), 'utf8'));
520
- if (!m.hatched) { agentId = m.id; break; }
521
- } catch {}
522
- }
523
- if (!agentId && dirs.length > 0) {
524
- const m = JSON.parse(readFileSync(join(agentsDir, dirs[0], 'agent.json'), 'utf8'));
525
- agentId = m.id;
526
- }
527
- } catch {}
528
- }
529
- if (!agentId) { console.log('No agents found. Run: squidclaw hatch'); return; }
530
- await hatchTUI(agentId);
531
- });
532
- import { registerUninstallCommand } from '../lib/cli/uninstall-cmd.js';
533
503
  program
534
504
  .command('wake')
535
505
  .description('🦑 Wake up an agent (first-time hatching conversation)')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squidclaw",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "🦑 AI agent platform — human-like agents for WhatsApp, Telegram & more",
5
5
  "main": "lib/engine.js",
6
6
  "bin": {