fix(core): format background shell completion notice
This commit is contained in:
parent
3e583a3f5a
commit
5735a14188
1 changed files with 1 additions and 1 deletions
|
|
@ -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 }),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue