dacty-create 1.0.3 → 1.0.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.
@@ -36,7 +36,7 @@ async function createAgent() {
36
36
  console.log(chalk.cyan.bold('╚════════════════════════════════════════╝'));
37
37
  console.log('\n');
38
38
 
39
- // Prompt user for agent details
39
+ // Prompt user for agent details (simplified - no type selection)
40
40
  const answers = await inquirer.prompt([
41
41
  {
42
42
  type: 'input',
@@ -48,20 +48,9 @@ async function createAgent() {
48
48
  {
49
49
  type: 'input',
50
50
  name: 'description',
51
- message: 'Agent Description:',
51
+ message: 'Agent Description (optional):',
52
52
  default: 'An autonomous agent in the Dactyclaw ecosystem'
53
53
  },
54
- {
55
- type: 'list',
56
- name: 'agentType',
57
- message: 'Agent Type:',
58
- choices: [
59
- { name: 'Monitor Agent (tracks blockchain activity)', value: 'monitor' },
60
- { name: 'Trading Agent (executes trades)', value: 'trading' },
61
- { name: 'Utility Agent (general purpose)', value: 'utility' },
62
- { name: 'Custom Agent', value: 'custom' }
63
- ]
64
- },
65
54
  {
66
55
  type: 'input',
67
56
  name: 'githubUsername',
@@ -69,6 +58,9 @@ async function createAgent() {
69
58
  default: ''
70
59
  }
71
60
  ]);
61
+
62
+ // Set default agent type to 'utility' (can be used for anything)
63
+ answers.agentType = 'utility';
72
64
 
73
65
  const spinner = ora();
74
66
 
@@ -362,7 +354,7 @@ package-lock.json
362
354
  console.log(chalk.white(` Name: ${agentConfig.name}`));
363
355
  console.log(chalk.white(` DNA: ${agentConfig.dna}`));
364
356
  console.log(chalk.white(` Wallet Address: ${wallet.address}`));
365
- console.log(chalk.white(` Type: ${agentConfig.agentType}`));
357
+ console.log(chalk.white(` Type: Utility Agent (flexible for any use)`));
366
358
  console.log(chalk.white(` Network: ${agentConfig.network}`));
367
359
  console.log(chalk.white(` Directory: ${agentDir}`));
368
360
  console.log(chalk.gray('─'.repeat(60)));
@@ -370,18 +362,17 @@ package-lock.json
370
362
 
371
363
  console.log(chalk.cyan('Security Notice:'));
372
364
  console.log(chalk.gray('─'.repeat(60)));
373
- console.log(chalk.yellow(` ⚠️ Your private key is stored in .env file`));
374
- console.log(chalk.yellow(` ⚠️ NEVER commit .env to version control`));
375
- console.log(chalk.yellow(` ⚠️ Keep your private key safe and secure`));
365
+ console.log(chalk.white(` Private key stored in .env (gitignored)`));
366
+ console.log(chalk.white(` Ready to launch token with npx dacty-launch`));
376
367
  console.log(chalk.gray('─'.repeat(60)));
377
368
  console.log('\n');
378
369
 
379
370
  console.log(chalk.cyan('Next Steps:'));
380
371
  console.log(chalk.gray('─'.repeat(60)));
381
372
  console.log(chalk.white(` 1. cd ${path.basename(agentDir)}`));
382
- console.log(chalk.white(` 2. npm install`));
383
- console.log(chalk.white(` 3. npm run dev`));
384
- console.log(chalk.white(` 4. npx dacty-launch (to launch token)`));
373
+ console.log(chalk.white(` 2. npx dacty-launch (to deploy token)`));
374
+ console.log(chalk.white(` 3. Monitor on Clanker.world`));
375
+ console.log(chalk.white(` 4. Earn 80% of trading fees`));
385
376
  console.log(chalk.gray('─'.repeat(60)));
386
377
  console.log('\n');
387
378
 
package/lib/index.mjs CHANGED
@@ -36,7 +36,7 @@ async function createAgent() {
36
36
  console.log(chalk.cyan.bold('╚════════════════════════════════════════╝'));
37
37
  console.log('\n');
38
38
 
39
- // Prompt user for agent details
39
+ // Prompt user for agent details (simplified - no type selection)
40
40
  const answers = await inquirer.prompt([
41
41
  {
42
42
  type: 'input',
@@ -48,20 +48,9 @@ async function createAgent() {
48
48
  {
49
49
  type: 'input',
50
50
  name: 'description',
51
- message: 'Agent Description:',
51
+ message: 'Agent Description (optional):',
52
52
  default: 'An autonomous agent in the Dactyclaw ecosystem'
53
53
  },
54
- {
55
- type: 'list',
56
- name: 'agentType',
57
- message: 'Agent Type:',
58
- choices: [
59
- { name: 'Monitor Agent (tracks blockchain activity)', value: 'monitor' },
60
- { name: 'Trading Agent (executes trades)', value: 'trading' },
61
- { name: 'Utility Agent (general purpose)', value: 'utility' },
62
- { name: 'Custom Agent', value: 'custom' }
63
- ]
64
- },
65
54
  {
66
55
  type: 'input',
67
56
  name: 'githubUsername',
@@ -69,6 +58,9 @@ async function createAgent() {
69
58
  default: ''
70
59
  }
71
60
  ]);
61
+
62
+ // Set default agent type to 'utility' (can be used for anything)
63
+ answers.agentType = 'utility';
72
64
 
73
65
  const spinner = ora();
74
66
 
@@ -362,7 +354,7 @@ package-lock.json
362
354
  console.log(chalk.white(` Name: ${agentConfig.name}`));
363
355
  console.log(chalk.white(` DNA: ${agentConfig.dna}`));
364
356
  console.log(chalk.white(` Wallet Address: ${wallet.address}`));
365
- console.log(chalk.white(` Type: ${agentConfig.agentType}`));
357
+ console.log(chalk.white(` Type: Utility Agent (flexible for any use)`));
366
358
  console.log(chalk.white(` Network: ${agentConfig.network}`));
367
359
  console.log(chalk.white(` Directory: ${agentDir}`));
368
360
  console.log(chalk.gray('─'.repeat(60)));
@@ -370,18 +362,17 @@ package-lock.json
370
362
 
371
363
  console.log(chalk.cyan('Security Notice:'));
372
364
  console.log(chalk.gray('─'.repeat(60)));
373
- console.log(chalk.yellow(` ⚠️ Your private key is stored in .env file`));
374
- console.log(chalk.yellow(` ⚠️ NEVER commit .env to version control`));
375
- console.log(chalk.yellow(` ⚠️ Keep your private key safe and secure`));
365
+ console.log(chalk.white(` Private key stored in .env (gitignored)`));
366
+ console.log(chalk.white(` Ready to launch token with npx dacty-launch`));
376
367
  console.log(chalk.gray('─'.repeat(60)));
377
368
  console.log('\n');
378
369
 
379
370
  console.log(chalk.cyan('Next Steps:'));
380
371
  console.log(chalk.gray('─'.repeat(60)));
381
372
  console.log(chalk.white(` 1. cd ${path.basename(agentDir)}`));
382
- console.log(chalk.white(` 2. npm install`));
383
- console.log(chalk.white(` 3. npm run dev`));
384
- console.log(chalk.white(` 4. npx dacty-launch (to launch token)`));
373
+ console.log(chalk.white(` 2. npx dacty-launch (to deploy token)`));
374
+ console.log(chalk.white(` 3. Monitor on Clanker.world`));
375
+ console.log(chalk.white(` 4. Earn 80% of trading fees`));
385
376
  console.log(chalk.gray('─'.repeat(60)));
386
377
  console.log('\n');
387
378
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dacty-create",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Create and deploy agents in the Dactyclaw ecosystem",
5
5
  "type": "module",
6
6
  "bin": {