@totalreclaw/totalreclaw 3.2.1 → 3.2.3
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/onboarding-cli.ts +5 -1
- package/package.json +1 -1
package/onboarding-cli.ts
CHANGED
|
@@ -472,7 +472,11 @@ export function printStatus(
|
|
|
472
472
|
const stateFileExists = fs.existsSync(statePath);
|
|
473
473
|
if (credExists) {
|
|
474
474
|
const creds = loadCredentialsJson(credentialsPath);
|
|
475
|
-
|
|
475
|
+
// Accept both canonical `mnemonic` and legacy `recovery_phrase` — same
|
|
476
|
+
// back-compat pattern used by fs-helpers.ts::extractBootstrapMnemonic.
|
|
477
|
+
const hasMnemonic =
|
|
478
|
+
(typeof creds?.mnemonic === 'string' && creds.mnemonic.trim().length > 0) ||
|
|
479
|
+
(typeof creds?.recovery_phrase === 'string' && creds.recovery_phrase.trim().length > 0);
|
|
476
480
|
if (hasMnemonic) {
|
|
477
481
|
out.write(COPY.statusActive);
|
|
478
482
|
if (stateFileExists) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@totalreclaw/totalreclaw",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.3",
|
|
4
4
|
"description": "End-to-end encrypted, agent-portable memory for OpenClaw and any LLM-agent runtime. XChaCha20-Poly1305 with protobuf v4 + on-chain Memory Taxonomy v1 (claim / preference / directive / commitment / episode / summary).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|