fix(core): format background shell completion notice

This commit is contained in:
Kit Langton 2026-06-30 23:51:13 -04:00
commit 5735a14188

View file

@ -125,7 +125,7 @@ export const Plugin = {
: "Command cancelled"
return runtime.session.synthetic({
sessionID,
text: `<shell id="${callID}" state="${state}" command="${command}">\n${text}\n</shell>`,
text: `Shell command ${state}.\n\nCommand:\n${command}\n\n${state === "completed" ? "Output" : "Details"}:\n${text}`,
})
}),
Effect.forkIn(scope, { startImmediately: true }),