Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 3 additions & 12 deletions bin/nemoclaw.js
Original file line number Diff line number Diff line change
Expand Up @@ -850,8 +850,9 @@ function showStatus() {
}

async function listSandboxes() {
const recovery = await recoverRegistryEntries();
const { sandboxes, defaultSandbox } = recovery;
// list is read-only — just show what the registry has, no recovery or
// gateway restarts. Use `nemoclaw <name> connect` to trigger recovery.
const { sandboxes, defaultSandbox } = registry.listSandboxes();
if (sandboxes.length === 0) {
console.log("");
const session = onboardSession.loadSession();
Expand All @@ -875,16 +876,6 @@ async function listSandboxes() {
);

console.log("");
if (recovery.recoveredFromSession) {
console.log(" Recovered sandbox inventory from the last onboard session.");
console.log("");
}
if (recovery.recoveredFromGateway > 0) {
console.log(
` Recovered ${recovery.recoveredFromGateway} sandbox entr${recovery.recoveredFromGateway === 1 ? "y" : "ies"} from the live OpenShell gateway.`,
);
console.log("");
}
console.log(" Sandboxes:");
for (const sb of sandboxes) {
const def = sb.name === defaultSandbox ? " *" : "";
Expand Down
2 changes: 2 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,7 @@ install_nemoclaw() {
spin "Preparing OpenClaw package" bash -c "$(declare -f info warn pre_extract_openclaw); pre_extract_openclaw \"\$1\"" _ "$(pwd)" \
|| warn "Pre-extraction failed — npm install may fail if openclaw tarball is broken"
spin "Installing NemoClaw dependencies" npm install --ignore-scripts
spin "Building NemoClaw CLI modules" npm run --if-present build:cli
spin "Building NemoClaw plugin" bash -c 'cd nemoclaw && npm install --ignore-scripts && npm run build'
spin "Linking NemoClaw CLI" npm link
else
Expand All @@ -725,6 +726,7 @@ install_nemoclaw() {
spin "Preparing OpenClaw package" bash -c "$(declare -f info warn pre_extract_openclaw); pre_extract_openclaw \"\$1\"" _ "$nemoclaw_src" \
|| warn "Pre-extraction failed — npm install may fail if openclaw tarball is broken"
spin "Installing NemoClaw dependencies" bash -c "cd \"$nemoclaw_src\" && npm install --ignore-scripts"
spin "Building NemoClaw CLI modules" bash -c "cd \"$nemoclaw_src\" && npm run --if-present build:cli"
spin "Building NemoClaw plugin" bash -c "cd \"$nemoclaw_src\"/nemoclaw && npm install --ignore-scripts && npm run build"
spin "Linking NemoClaw CLI" bash -c "cd \"$nemoclaw_src\" && npm link"
fi
Expand Down
Loading
Loading