naracli 1.0.68 → 1.0.69
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
|
@@ -172412,10 +172412,10 @@ async function handleAgentGet(agentId, options) {
|
|
|
172412
172412
|
console.log(` Tip: Submit a tweet to earn stake-free PoMI mining credits!`);
|
|
172413
172413
|
}
|
|
172414
172414
|
console.log(` npx naracli agent submit-tweet <tweet-url>`);
|
|
172415
|
-
console.log(`
|
|
172415
|
+
console.log(` Tweet must include #NaraChain. Credits are based on likes, bookmarks, retweets, and quotes.`);
|
|
172416
172416
|
console.log("");
|
|
172417
172417
|
} else {
|
|
172418
|
-
const tweetText = `Claiming my AI agent ${agentId} on NaraChain @NaraBuildAI`;
|
|
172418
|
+
const tweetText = `Claiming my AI agent ${agentId} on #NaraChain @NaraBuildAI`;
|
|
172419
172419
|
const tweetIntent = `https://x.com/intent/tweet?text=${tweetText.replace(/ /g, "%20")}`;
|
|
172420
172420
|
console.log(` Tip: Bind your Twitter to get stake-free PoMI mining credits!`);
|
|
172421
172421
|
console.log(` 1. Post a tweet: ${tweetIntent}`);
|
|
@@ -172843,7 +172843,7 @@ function registerAgentCommands(program3) {
|
|
|
172843
172843
|
});
|
|
172844
172844
|
agent.command("bind-twitter [tweet-url]").description("Bind twitter to your agent for stake-free PoMI credits").option("--agent-id <id>", "Agent ID (defaults to saved myid)").addHelpText("after", `
|
|
172845
172845
|
Tweet content (replace <agent-id> with yours):
|
|
172846
|
-
Claiming my AI agent "<agent-id>" on NaraChain @NaraBuildAI
|
|
172846
|
+
Claiming my AI agent "<agent-id>" on #NaraChain @NaraBuildAI
|
|
172847
172847
|
|
|
172848
172848
|
Tweet URL format:
|
|
172849
172849
|
https://x.com/<username>/status/<id>
|
|
@@ -172869,7 +172869,7 @@ Example:
|
|
|
172869
172869
|
}
|
|
172870
172870
|
} catch {
|
|
172871
172871
|
}
|
|
172872
|
-
const tweetText = `Claiming my AI agent ${agentId} on NaraChain @NaraBuildAI`;
|
|
172872
|
+
const tweetText = `Claiming my AI agent ${agentId} on #NaraChain @NaraBuildAI`;
|
|
172873
172873
|
const tweetIntent = `https://x.com/intent/tweet?text=${tweetText.replace(/ /g, "%20")}`;
|
|
172874
172874
|
console.log("");
|
|
172875
172875
|
console.log(` Bind your Twitter to get stake-free PoMI mining credits!`);
|
|
@@ -173190,7 +173190,7 @@ function registerCommands(program3) {
|
|
|
173190
173190
|
}
|
|
173191
173191
|
|
|
173192
173192
|
// bin/nara-cli.ts
|
|
173193
|
-
var version2 = true ? "1.0.
|
|
173193
|
+
var version2 = true ? "1.0.69" : "dev";
|
|
173194
173194
|
var program2 = new Command();
|
|
173195
173195
|
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);
|
|
173196
173196
|
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
|
@@ -188,11 +188,11 @@ async function handleAgentGet(agentId: string, options: GlobalOptions) {
|
|
|
188
188
|
console.log(` Tip: Submit a tweet to earn stake-free PoMI mining credits!`);
|
|
189
189
|
}
|
|
190
190
|
console.log(` npx naracli agent submit-tweet <tweet-url>`);
|
|
191
|
-
console.log(`
|
|
191
|
+
console.log(` Tweet must include #NaraChain. Credits are based on likes, bookmarks, retweets, and quotes.`);
|
|
192
192
|
console.log("");
|
|
193
193
|
} else {
|
|
194
194
|
// Not bound — show bind tip
|
|
195
|
-
const tweetText = `Claiming my AI agent ${agentId} on NaraChain @NaraBuildAI`;
|
|
195
|
+
const tweetText = `Claiming my AI agent ${agentId} on #NaraChain @NaraBuildAI`;
|
|
196
196
|
const tweetIntent = `https://x.com/intent/tweet?text=${tweetText.replace(/ /g, "%20")}`;
|
|
197
197
|
console.log(` Tip: Bind your Twitter to get stake-free PoMI mining credits!`);
|
|
198
198
|
console.log(` 1. Post a tweet: ${tweetIntent}`);
|
|
@@ -794,7 +794,7 @@ export function registerAgentCommands(program: Command): void {
|
|
|
794
794
|
.option("--agent-id <id>", "Agent ID (defaults to saved myid)")
|
|
795
795
|
.addHelpText("after", `
|
|
796
796
|
Tweet content (replace <agent-id> with yours):
|
|
797
|
-
Claiming my AI agent "<agent-id>" on NaraChain @NaraBuildAI
|
|
797
|
+
Claiming my AI agent "<agent-id>" on #NaraChain @NaraBuildAI
|
|
798
798
|
|
|
799
799
|
Tweet URL format:
|
|
800
800
|
https://x.com/<username>/status/<id>
|
|
@@ -824,7 +824,7 @@ Example:
|
|
|
824
824
|
} catch {
|
|
825
825
|
// No binding found
|
|
826
826
|
}
|
|
827
|
-
const tweetText = `Claiming my AI agent ${agentId} on NaraChain @NaraBuildAI`;
|
|
827
|
+
const tweetText = `Claiming my AI agent ${agentId} on #NaraChain @NaraBuildAI`;
|
|
828
828
|
const tweetIntent = `https://x.com/intent/tweet?text=${tweetText.replace(/ /g, "%20")}`;
|
|
829
829
|
console.log("");
|
|
830
830
|
console.log(` Bind your Twitter to get stake-free PoMI mining credits!`);
|