docs: soften restart description wording
This commit is contained in:
@@ -66,7 +66,7 @@ registerResource({
|
|||||||
'--rebuild rebuilds the container image first (required for package changes). ' +
|
'--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 — ' +
|
'--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). ' +
|
'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.',
|
'Without --message, the container stops and only starts again on the next user message.',
|
||||||
handler: async (args, ctx) => {
|
handler: async (args, ctx) => {
|
||||||
const id = (args.id as string) || (ctx.caller === 'agent' ? ctx.agentGroupId : undefined);
|
const id = (args.id as string) || (ctx.caller === 'agent' ? ctx.agentGroupId : undefined);
|
||||||
if (!id) throw new Error('--id is required');
|
if (!id) throw new Error('--id is required');
|
||||||
|
|||||||
Reference in New Issue
Block a user