You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b5fb1df
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: packages/tui/src/mini/demo.ts
+15-20Lines changed: 15 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -504,19 +504,24 @@ function emitPatch(state: State): void {
504
504
})
505
505
}
506
506
507
+
functionsubagentLaunch(sessionID: string){
508
+
return{
509
+
output: [
510
+
`The subagent is working in the background (sessionID: ${sessionID}). You will receive a <subagent> message when it goes idle, and again after each later round of work.`,
511
+
"DO NOT sleep, poll for progress, ask the subagent for status, or duplicate this subagent's work; avoid working with the same files or topics it is using.",
512
+
"Work on non-overlapping tasks, or briefly tell the user what you launched and end your response.",
513
+
"To send it follow-ups or change its instructions while it runs, call subagent again with this sessionID.",
514
+
].join("\n"),
515
+
metadata: { sessionID,status: "running"},
516
+
}
517
+
}
518
+
507
519
functionemitTask(state: State): void{
508
520
constref=make(state,"subagent",{
509
521
description: "Scan run/* for reducer touchpoints",
0 commit comments