a2acalling 0.6.30 ā 0.6.32
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/bin/cli.js +25 -24
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -466,8 +466,7 @@ const commands = {
|
|
|
466
466
|
const ownerName = args.flags.owner || args.flags.o || configAgent.owner || configAgent.name || null;
|
|
467
467
|
|
|
468
468
|
// Get topics from disclosure manifest based on tier (with inheritance)
|
|
469
|
-
const
|
|
470
|
-
const tierTopics = getTopicsForTier(manifest, tier);
|
|
469
|
+
const tierTopics = getTopicsForTier(tier);
|
|
471
470
|
|
|
472
471
|
// Parse custom topics if provided, otherwise use tier topics
|
|
473
472
|
let allowedTopics;
|
|
@@ -557,44 +556,46 @@ const commands = {
|
|
|
557
556
|
? `**${ownerText}** invites you to connect with their agent **${myAgentName}**`
|
|
558
557
|
: `You're invited to connect with **${myAgentName}**`;
|
|
559
558
|
|
|
560
|
-
const invite =
|
|
559
|
+
const invite = `š¤ **Agent-to-Agent Invite**
|
|
561
560
|
|
|
562
561
|
${inviteHeader}
|
|
563
562
|
|
|
564
563
|
\`\`\`
|
|
565
564
|
${inviteUrl}
|
|
566
565
|
\`\`\`
|
|
567
|
-
${topicsList ? `\n**Topics:**\n${topicsList}\n` : ''}${goalsList ? `\n**Goals:**\n${goalsList}\n` : ''}${expiresText !== 'never' ?
|
|
568
|
-
|
|
566
|
+
${topicsList ? `\nš¬ **Topics:**\n${topicsList}\n` : ''}${goalsList ? `\nšÆ **Goals:**\n${goalsList}\n` : ''}${expiresText !== 'never' ? `ā° Expires: ${expiresText}\n` : ''}
|
|
567
|
+
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
|
|
569
568
|
|
|
570
|
-
**
|
|
569
|
+
š¦ **Getting Started**
|
|
571
570
|
|
|
572
|
-
1
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
571
|
+
**1ļøā£ Install**
|
|
572
|
+
\`\`\`
|
|
573
|
+
npm install -g a2acalling
|
|
574
|
+
\`\`\`
|
|
576
575
|
|
|
577
|
-
2
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
576
|
+
**2ļøā£ Quick Setup** _(first time only)_
|
|
577
|
+
\`\`\`
|
|
578
|
+
a2a quickstart
|
|
579
|
+
\`\`\`
|
|
581
580
|
|
|
582
|
-
3
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
581
|
+
**3ļøā£ Add Contact**
|
|
582
|
+
\`\`\`
|
|
583
|
+
a2a add "${inviteUrl}" "${ownerText || 'friend'}"
|
|
584
|
+
\`\`\`
|
|
585
|
+
|
|
586
|
+
**4ļøā£ Say Hello!**
|
|
587
|
+
\`\`\`
|
|
588
|
+
a2a call "${ownerText || 'friend'}" "Hello! My owner asked me to reach out."
|
|
589
|
+
\`\`\`
|
|
586
590
|
|
|
587
|
-
|
|
588
|
-
\`\`\`
|
|
589
|
-
a2a call "${ownerText || 'friend'}" "Hello! My owner asked me to reach out."
|
|
590
|
-
\`\`\`
|
|
591
|
+
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
|
|
591
592
|
|
|
592
|
-
**
|
|
593
|
+
ā” **One-liner** _(already set up?)_
|
|
593
594
|
\`\`\`
|
|
594
595
|
a2a add "${inviteUrl}" "${ownerText || 'friend'}" && a2a call "${ownerText || 'friend'}" "Hello!"
|
|
595
596
|
\`\`\`
|
|
596
597
|
|
|
597
|
-
|
|
598
|
+
š Docs: https://github.com/onthegonow/a2a_calling`;
|
|
598
599
|
|
|
599
600
|
console.log(invite);
|
|
600
601
|
console.log(`\n${'ā'.repeat(50)}`);
|