From dc13300fb1724592269f7cee23d94fe635dd25e6 Mon Sep 17 00:00:00 2001 From: gavrielc Date: Sat, 9 May 2026 20:43:41 +0300 Subject: [PATCH] docs: clarify --message flag on restart for config help Explain that --message sets an on-wake instruction so the fresh container can continue after restart (verify tools, notify user). Without it, the container only comes back on the next user message. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/cli/resources/groups.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/cli/resources/groups.ts b/src/cli/resources/groups.ts index 848b35a..980f5ef 100644 --- a/src/cli/resources/groups.ts +++ b/src/cli/resources/groups.ts @@ -63,8 +63,10 @@ registerResource({ description: 'Restart containers for a group. Use --id [--rebuild] [--message ]. ' + 'From inside a container, --id is auto-filled and only the calling session is restarted. ' + - '--rebuild rebuilds the container image first. --message sets an on-wake message for the fresh container; ' + - 'if omitted, containers come back on the next user message.', + '--rebuild rebuilds the container image first (required for package changes). ' + + '--message sets an on-wake instruction for the fresh container to act on when it starts — ' + + 'use this when you need to continue after the restart (e.g. verify a new tool works, notify the user). ' + + 'Without --message, the container is killed and only comes back on the next user message.', handler: async (args, ctx) => { const id = (args.id as string) || (ctx.caller === 'agent' ? ctx.agentGroupId : undefined); if (!id) throw new Error('--id is required');