diff --git a/packages/core/src/tool/shell.ts b/packages/core/src/tool/shell.ts index 8a0aa78afd..7ea732f48a 100644 --- a/packages/core/src/tool/shell.ts +++ b/packages/core/src/tool/shell.ts @@ -125,7 +125,7 @@ export const Plugin = { : "Command cancelled" return runtime.session.synthetic({ sessionID, - text: `\n${text}\n`, + text: `Shell command ${state}.\n\nCommand:\n${command}\n\n${state === "completed" ? "Output" : "Details"}:\n${text}`, }) }), Effect.forkIn(scope, { startImmediately: true }),