mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-27 17:28:50 +00:00
chore: generate
This commit is contained in:
parent
dabf2dc013
commit
d96e3a5423
2 changed files with 4 additions and 10 deletions
|
|
@ -52,9 +52,7 @@ export const Parameters = Schema.Struct({
|
|||
})
|
||||
|
||||
function output(sessionID: SessionID, text: string) {
|
||||
return [`<task id="${sessionID}" state="completed">`, "<task_result>", text, "</task_result>", "</task>"].join(
|
||||
"\n",
|
||||
)
|
||||
return [`<task id="${sessionID}" state="completed">`, "<task_result>", text, "</task_result>", "</task>"].join("\n")
|
||||
}
|
||||
|
||||
function backgroundOutput(sessionID: SessionID) {
|
||||
|
|
|
|||
|
|
@ -264,13 +264,9 @@ describe("run entry body", () => {
|
|||
subagent_type: "explore",
|
||||
},
|
||||
title: "",
|
||||
output: [
|
||||
'<task id="child-1" state="completed">',
|
||||
"<task_result>",
|
||||
"",
|
||||
"</task_result>",
|
||||
"</task>",
|
||||
].join("\n"),
|
||||
output: ['<task id="child-1" state="completed">', "<task_result>", "", "</task_result>", "</task>"].join(
|
||||
"\n",
|
||||
),
|
||||
metadata: {
|
||||
sessionId: "child-1",
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue