@newtype-ai/nit 0.4.18 → 0.4.19
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/cli.js +12 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -40,7 +40,7 @@ var FETCH_TIMEOUT_MS = 3e3;
|
|
|
40
40
|
var REGISTRY_URL = "https://registry.npmjs.org/@newtype-ai/nit/latest";
|
|
41
41
|
function getCurrentVersion() {
|
|
42
42
|
try {
|
|
43
|
-
return "0.4.
|
|
43
|
+
return "0.4.19";
|
|
44
44
|
} catch {
|
|
45
45
|
return "0.0.0";
|
|
46
46
|
}
|
|
@@ -210,7 +210,17 @@ async function main() {
|
|
|
210
210
|
}
|
|
211
211
|
async function cmdInit() {
|
|
212
212
|
const result = await init();
|
|
213
|
-
console.log(
|
|
213
|
+
console.log();
|
|
214
|
+
console.log(dim(" _ _ _____"));
|
|
215
|
+
console.log(dim(' | \\ |"| ___ |_ " _|'));
|
|
216
|
+
console.log(dim('<| \\| |> |_"_| | |'));
|
|
217
|
+
console.log(dim("U| |\\ |u | | /| |\\"));
|
|
218
|
+
console.log(dim(" |_| \\_| U/| |\\u u |_|U"));
|
|
219
|
+
console.log(dim(" || \\\\,-.-,_|___|_,-._// \\\\_"));
|
|
220
|
+
console.log(dim(` (_") (_/ \\_)-' '-(_/(__) (__)`));
|
|
221
|
+
console.log();
|
|
222
|
+
const count = 3009 > 0 ? `the ~${3009 .toLocaleString()}th` : "a new";
|
|
223
|
+
console.log(bold(`welcome ${count} nit!`));
|
|
214
224
|
console.log();
|
|
215
225
|
console.log(` Agent ID: ${green(result.agentId)}`);
|
|
216
226
|
console.log(` Public key: ${dim(result.publicKey)}`);
|