@otonix/cli 2.1.4 → 2.1.5
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/commands/agent.js +13 -4
- package/dist/commands/launch.js +1 -1
- package/dist/index.js +2 -2
- package/dist/lib/display.js +2 -2
- package/package.json +1 -1
package/dist/commands/agent.js
CHANGED
|
@@ -49,11 +49,20 @@ export function agentCommand(program) {
|
|
|
49
49
|
row("Created at", new Date().toLocaleString());
|
|
50
50
|
row("Status", chalk.yellow("⊘ Not registered"));
|
|
51
51
|
br();
|
|
52
|
-
console.log(chalk.dim("
|
|
53
|
-
console.log(" "
|
|
52
|
+
console.log(chalk.dim("─".repeat(44)));
|
|
53
|
+
console.log(chalk.bold(" Next steps:"));
|
|
54
54
|
br();
|
|
55
|
-
console.log(chalk.
|
|
56
|
-
console.log("
|
|
55
|
+
console.log(" " + chalk.bold.white("1.") + chalk.dim(" Make sure your creator wallet has:"));
|
|
56
|
+
console.log(" " + chalk.yellow("≥ 200 $OTX") + chalk.dim(" (registration fee — auto-sent by CLI)"));
|
|
57
|
+
console.log(" " + chalk.yellow("≥ 0.005 ETH") + chalk.dim(" (gas for the $OTX transfer)"));
|
|
58
|
+
console.log(" " + chalk.dim(" Check: ") + mono("otonix wallet balance"));
|
|
59
|
+
br();
|
|
60
|
+
console.log(" " + chalk.bold.white("2.") + chalk.dim(" Fund the agent wallet with ETH for deploy gas:"));
|
|
61
|
+
console.log(" " + chalk.yellow("≥ 0.003 ETH") + chalk.dim(" → ") + chalk.white(agent.address));
|
|
62
|
+
br();
|
|
63
|
+
console.log(" " + chalk.bold.white("3.") + chalk.dim(" Register this agent (sends 200 $OTX automatically):"));
|
|
64
|
+
console.log(" " + mono(`otonix agent:register --name ${name}`));
|
|
65
|
+
console.log(chalk.dim("─".repeat(44)));
|
|
57
66
|
});
|
|
58
67
|
program
|
|
59
68
|
.command("agent:register")
|
package/dist/commands/launch.js
CHANGED
|
@@ -173,7 +173,7 @@ export function launchCommand(program) {
|
|
|
173
173
|
const tokenAddress = waitResult.address;
|
|
174
174
|
deploySpinner.stop();
|
|
175
175
|
br();
|
|
176
|
-
console.log(chalk.bold.hex("#
|
|
176
|
+
console.log(chalk.bold.hex("#3d9eff")("◈ Token deployed — Verified by Otonix ✓"));
|
|
177
177
|
console.log(chalk.dim("─".repeat(44)));
|
|
178
178
|
br();
|
|
179
179
|
row("Token name", opts.name);
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ if (showBanner)
|
|
|
14
14
|
const program = new Command();
|
|
15
15
|
program
|
|
16
16
|
.name("otonix")
|
|
17
|
-
.description(chalk.bold.hex("#
|
|
17
|
+
.description(chalk.bold.hex("#3d9eff")("OTONIX CLI") + chalk.dim(" — Web4 Autonomous Agent Infrastructure"))
|
|
18
18
|
.version("2.1.4", "-v, --version")
|
|
19
19
|
.configureOutput({
|
|
20
20
|
writeOut: str => process.stdout.write(str),
|
|
@@ -29,7 +29,7 @@ program
|
|
|
29
29
|
.action(async () => {
|
|
30
30
|
const { loadConfig, configPath } = await import("./lib/config.js");
|
|
31
31
|
const cfg = loadConfig();
|
|
32
|
-
console.log("\n" + chalk.bold.hex("#
|
|
32
|
+
console.log("\n" + chalk.bold.hex("#3d9eff")("◈ OTONIX") + " " + chalk.dim("Config") + "\n" + chalk.dim("─".repeat(44)));
|
|
33
33
|
console.log(chalk.dim("File: ") + chalk.white(configPath()));
|
|
34
34
|
console.log(chalk.dim("Wallet: ") + chalk.white(cfg.wallet?.address ?? "(none)"));
|
|
35
35
|
console.log(chalk.dim("Agents: ") + chalk.white(Object.keys(cfg.agents).join(", ") || "(none)"));
|
package/dist/lib/display.js
CHANGED
|
@@ -2,8 +2,8 @@ import chalk from "chalk";
|
|
|
2
2
|
import { createRequire } from "module";
|
|
3
3
|
const _require = createRequire(import.meta.url);
|
|
4
4
|
const { version: CLI_VERSION } = _require("../../package.json");
|
|
5
|
-
const BLUE = "#
|
|
6
|
-
const BLUE_DIM = "#
|
|
5
|
+
const BLUE = "#3d9eff";
|
|
6
|
+
const BLUE_DIM = "#1a7bdc";
|
|
7
7
|
export const brand = chalk.bold.hex(BLUE);
|
|
8
8
|
export const dim = chalk.dim;
|
|
9
9
|
export const ok = chalk.green;
|