@emblemvault/agentwallet 3.0.0 → 3.0.1
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/emblemai.js +5 -2
- package/package.json +1 -1
package/emblemai.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* EmblemAI
|
|
4
|
+
* EmblemAI — Agent Command & Control
|
|
5
5
|
*
|
|
6
6
|
* Interactive mode (default):
|
|
7
7
|
* emblemai -p "password"
|
|
@@ -23,6 +23,9 @@ import { getPassword, authenticate, webLogin, promptPassword, authMenu, readPlug
|
|
|
23
23
|
import { processCommand } from './src/commands.js';
|
|
24
24
|
import { PluginManager } from './src/plugins/loader.js';
|
|
25
25
|
import * as glow from './src/glow.js';
|
|
26
|
+
import { createRequire } from 'module';
|
|
27
|
+
const require = createRequire(import.meta.url);
|
|
28
|
+
const { version: PKG_VERSION } = require('./package.json');
|
|
26
29
|
|
|
27
30
|
// History directory — partitioned by vaultId
|
|
28
31
|
const HISTORY_DIR = path.join(os.homedir(), '.emblemai', 'history');
|
|
@@ -417,7 +420,7 @@ async function main() {
|
|
|
417
420
|
console.log('');
|
|
418
421
|
console.log(fmt.brand('╔═══════════════════════════════════════════════════════════╗'));
|
|
419
422
|
console.log(fmt.brand('║') + ' ' + fmt.brand('║'));
|
|
420
|
-
console.log(fmt.brand('║') + ` ${chalk.bold.white('⚡ EMBLEM AI')} ${chalk.dim(
|
|
423
|
+
console.log(fmt.brand('║') + ` ${chalk.bold.white('⚡ EMBLEM AI')} ${chalk.dim(`v${PKG_VERSION} — Agent Command & Control`)} ` + fmt.brand('║'));
|
|
421
424
|
console.log(fmt.brand('║') + ' ' + fmt.brand('║'));
|
|
422
425
|
console.log(fmt.brand('║') + ` ${chalk.dim('Powered by Hustle Incognito')} ` + fmt.brand('║'));
|
|
423
426
|
console.log(fmt.brand('║') + ' ' + fmt.brand('║'));
|
package/package.json
CHANGED