style(cli): tighten autonomous mode confirmation copy
Some checks failed
CI / Docker build (linux/amd64) (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Typecheck (push) Has been cancelled
CI / Broker tests (Postgres) (push) Has been cancelled

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Alejandro Gutiérrez
2026-04-06 11:54:55 +01:00
parent 4aa61b40e2
commit ff86db615f

View File

@@ -106,15 +106,12 @@ async function confirmPermissions(): Promise<void> {
console.log(yellow(bold(" Autonomous mode"))); console.log(yellow(bold(" Autonomous mode")));
console.log(""); console.log("");
console.log(" For peers to chat seamlessly, Claude needs to send and"); console.log(" Claude will send and receive peer messages without asking");
console.log(" receive messages without asking for approval each time."); console.log(" you first. Peers exchange text only — no file access,");
console.log(" This means tool calls (like sending a peer message) will"); console.log(" no tool calls, no code execution.");
console.log(" run automatically — the same as running claude with");
console.log(" --dangerously-skip-permissions.");
console.log(""); console.log("");
console.log(dim(" Claude still can't access anything outside your mesh —")); console.log(dim(" Same as: claude --dangerously-skip-permissions"));
console.log(dim(" peers only exchange text messages, not tool calls.")); console.log(dim(" Skip this prompt: claudemesh launch -y"));
console.log(dim(" Skip this prompt next time with: claudemesh launch -y"));
console.log(""); console.log("");
const rl = createInterface({ input: process.stdin, output: process.stdout }); const rl = createInterface({ input: process.stdin, output: process.stdout });