Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
16 changes: 13 additions & 3 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -260,9 +260,19 @@ print_done() {
printf " %s$%s source %s\n" "$C_GREEN" "$C_RESET" "$(detect_shell_profile)"
fi
printf " %s$%s nemoclaw %s connect\n" "$C_GREEN" "$C_RESET" "$sandbox_name"
if [[ "$agent_name" == "openclaw" || -z "$agent_name" ]]; then
printf " %ssandbox@%s$%s openclaw tui\n" "$C_GREEN" "$sandbox_name" "$C_RESET"
fi
local agent_cmd
case "$agent_name" in
hermes)
agent_cmd="hermes"
;;
"" | openclaw)
agent_cmd="openclaw tui"
;;
*)
agent_cmd="$agent_name"
;;
esac
printf " %ssandbox@%s$%s %s\n" "$C_GREEN" "$sandbox_name" "$C_RESET" "$agent_cmd"
elif [[ "$NEMOCLAW_READY_NOW" == true ]]; then
printf " ${C_GREEN}NemoClaw CLI is installed.${C_RESET}\n"
printf " ${C_DIM}Onboarding has not run yet.${C_RESET}\n"
Expand Down
6 changes: 4 additions & 2 deletions src/nemoclaw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1230,11 +1230,13 @@ async function sandboxConnect(sandboxName, { dangerouslySkipPermissions = false
!["1", "true"].includes(String(process.env.NEMOCLAW_NO_CONNECT_HINT || ""))
) {
console.log("");
const agentName = sb?.agent || "openclaw";
const agentCmd = agentName === "openclaw" ? "openclaw tui" : agentName;
console.log(` ${G}✓${R} Connecting to sandbox '${sandboxName}'`);
console.log(
` ${D}Inside the sandbox, run \`openclaw tui\` to start chatting with the agent.${R}`,
` ${D}Inside the sandbox, run \`${agentCmd}\` to start chatting with the agent.${R}`,
);
console.log(` ${D}Type \`exit\` (or Ctrl-D) to return to the host shell.${R}`);
console.log(` ${D}Type \`/exit\` to leave the chat, then \`exit\` to return to the host shell.${R}`);
console.log("");
}
const result = spawnSync(getOpenshellBinary(), ["sandbox", "connect", sandboxName], {
Expand Down