@promus/cli 0.24.24 → 0.24.26
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/package.json +2 -2
- package/src/index.ts +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promus/cli",
|
|
3
|
-
"version": "0.24.
|
|
3
|
+
"version": "0.24.26",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Promus CLI: sovereign agent gateway on Arbitrum. Runs `promus init` to mint an iNFT and bring up your agent",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@clack/prompts": "^0.8.2",
|
|
35
35
|
"@opentui/core": "^0.1.97",
|
|
36
36
|
"@opentui/solid": "^0.1.97",
|
|
37
|
-
"@promus/core": "0.24.
|
|
37
|
+
"@promus/core": "0.24.21",
|
|
38
38
|
"@promus/gateway": "0.24.20",
|
|
39
39
|
"@promus/plugin-comms": "0.24.20",
|
|
40
40
|
"@promus/plugin-onchain": "0.24.20",
|
package/src/index.ts
CHANGED
|
@@ -36,6 +36,10 @@ async function main(): Promise<void> {
|
|
|
36
36
|
return
|
|
37
37
|
}
|
|
38
38
|
case 'init': {
|
|
39
|
+
// `promus init .` → init in current directory
|
|
40
|
+
if (argv.includes('.')) {
|
|
41
|
+
process.env.PROMUS_ROOT = process.cwd()
|
|
42
|
+
}
|
|
39
43
|
if (argv.includes('--resume')) {
|
|
40
44
|
const { findAndLoadConfig } = await import('./config/load')
|
|
41
45
|
const loaded = await findAndLoadConfig()
|