naracli 1.0.73 → 1.0.74
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/nara-cli-bundle.cjs
CHANGED
|
@@ -173208,7 +173208,7 @@ async function handleAgentGet(agentId, options) {
|
|
|
173208
173208
|
console.log("");
|
|
173209
173209
|
} else {
|
|
173210
173210
|
const tweetText = `Claiming my AI agent ${agentId} on #NaraChain @NaraBuildAI`;
|
|
173211
|
-
const tweetIntent = `https://x.com/intent/tweet?text=${tweetText.replace(/ /g, "%20")}`;
|
|
173211
|
+
const tweetIntent = `https://x.com/intent/tweet?text=${tweetText.replace(/ /g, "%20").replace(/#/g, "%23")}`;
|
|
173212
173212
|
console.log(` Tip: Bind your Twitter to get stake-free PoMI mining credits!`);
|
|
173213
173213
|
console.log(` 1. Post a tweet: ${tweetIntent}`);
|
|
173214
173214
|
console.log(` 2. Then run: npx naracli agent bind-twitter <tweet-url>`);
|
|
@@ -173684,7 +173684,7 @@ Example:
|
|
|
173684
173684
|
} catch {
|
|
173685
173685
|
}
|
|
173686
173686
|
const tweetText = `Claiming my AI agent ${agentId} on #NaraChain @NaraBuildAI`;
|
|
173687
|
-
const tweetIntent = `https://x.com/intent/tweet?text=${tweetText.replace(/ /g, "%20")}`;
|
|
173687
|
+
const tweetIntent = `https://x.com/intent/tweet?text=${tweetText.replace(/ /g, "%20").replace(/#/g, "%23")}`;
|
|
173688
173688
|
console.log("");
|
|
173689
173689
|
console.log(` Bind your Twitter to get stake-free PoMI mining credits!`);
|
|
173690
173690
|
console.log(` 1. Post a tweet: ${tweetIntent}`);
|
|
@@ -174064,7 +174064,7 @@ function registerCommands(program3) {
|
|
|
174064
174064
|
}
|
|
174065
174065
|
|
|
174066
174066
|
// bin/nara-cli.ts
|
|
174067
|
-
var version2 = true ? "1.0.
|
|
174067
|
+
var version2 = true ? "1.0.74" : "dev";
|
|
174068
174068
|
var program2 = new Command();
|
|
174069
174069
|
program2.name("naracli").description("CLI for the Nara chain. Native coin is NARA (not SOL). Mine NARA for free via PoMI quests, manage wallets, register agents, and more. Run 'naracli <command> --help' for details on any command.").version(version2);
|
|
174070
174070
|
program2.option("-r, --rpc-url <url>", "RPC endpoint (default: https://mainnet-api.nara.build/)").option("-w, --wallet <path>", "Path to wallet keypair JSON file (default: ~/.config/nara/id.json)").option("-j, --json", "Output in JSON format");
|
package/package.json
CHANGED
|
@@ -232,7 +232,7 @@ async function handleAgentGet(agentId: string, options: GlobalOptions) {
|
|
|
232
232
|
} else {
|
|
233
233
|
// Not bound — show bind tip
|
|
234
234
|
const tweetText = `Claiming my AI agent ${agentId} on #NaraChain @NaraBuildAI`;
|
|
235
|
-
const tweetIntent = `https://x.com/intent/tweet?text=${tweetText.replace(/ /g, "%20")}`;
|
|
235
|
+
const tweetIntent = `https://x.com/intent/tweet?text=${tweetText.replace(/ /g, "%20").replace(/#/g, "%23")}`;
|
|
236
236
|
console.log(` Tip: Bind your Twitter to get stake-free PoMI mining credits!`);
|
|
237
237
|
console.log(` 1. Post a tweet: ${tweetIntent}`);
|
|
238
238
|
console.log(` 2. Then run: npx naracli agent bind-twitter <tweet-url>`);
|
|
@@ -886,7 +886,7 @@ Example:
|
|
|
886
886
|
// No binding found
|
|
887
887
|
}
|
|
888
888
|
const tweetText = `Claiming my AI agent ${agentId} on #NaraChain @NaraBuildAI`;
|
|
889
|
-
const tweetIntent = `https://x.com/intent/tweet?text=${tweetText.replace(/ /g, "%20")}`;
|
|
889
|
+
const tweetIntent = `https://x.com/intent/tweet?text=${tweetText.replace(/ /g, "%20").replace(/#/g, "%23")}`;
|
|
890
890
|
console.log("");
|
|
891
891
|
console.log(` Bind your Twitter to get stake-free PoMI mining credits!`);
|
|
892
892
|
console.log(` 1. Post a tweet: ${tweetIntent}`);
|