fix: reset is_background (#644)

This commit is contained in:
Mingholy
2025-09-18 13:27:09 +08:00
committed by GitHub
parent 724c24933c
commit 56808ac210
2 changed files with 5 additions and 1 deletions

View File

@@ -419,6 +419,11 @@ export class ShellTool extends BaseDeclarativeTool<
type: 'string', type: 'string',
description: getCommandDescription(), description: getCommandDescription(),
}, },
is_background: {
type: 'boolean',
description:
'Whether to run the command in background. Default is false. Set to true for long-running processes like development servers, watchers, or daemons that should continue running without blocking further commands.',
},
description: { description: {
type: 'string', type: 'string',
description: description:

View File

@@ -14,7 +14,6 @@ const ajValidator = new AjvClass({ coerceTypes: true });
const addFormatsFunc = (addFormats as any).default || addFormats; const addFormatsFunc = (addFormats as any).default || addFormats;
addFormatsFunc(ajValidator); addFormatsFunc(ajValidator);
/** /**
* Simple utility to validate objects against JSON Schemas * Simple utility to validate objects against JSON Schemas
*/ */