chore: generate

This commit is contained in:
opencode-agent[bot] 2026-05-20 19:09:16 +00:00
parent ed839846d1
commit 3553754083
3 changed files with 11 additions and 5 deletions

View file

@ -323,7 +323,8 @@ export function RunCommandMenuBody(props: {
category: "Suggested",
display: "View subagents",
footer: `${props.subagents().length} active`,
keywords: props.subagents()
keywords: props
.subagents()
.map((item) => `${item.label} ${item.description} ${item.title ?? ""}`)
.join(" "),
},

View file

@ -569,9 +569,9 @@ export class RunFooter implements FooterApi {
? 1 + VARIANT_ROWS
: this.promptRoute.type === "subagent-menu"
? 1 + this.subagentMenuRows
: this.promptRoute.type === "subagent"
? this.base + SUBAGENT_INSPECTOR_ROWS
: Math.max(base + TEXTAREA_MIN_ROWS, Math.min(base + PROMPT_MAX_ROWS, base + this.rows))
: this.promptRoute.type === "subagent"
? this.base + SUBAGENT_INSPECTOR_ROWS
: Math.max(base + TEXTAREA_MIN_ROWS, Math.min(base + PROMPT_MAX_ROWS, base + this.rows))
if (height !== this.renderer.footerHeight) {
this.renderer.footerHeight = height

View file

@ -124,7 +124,12 @@ function provider() {
} satisfies RunProvider
}
function subagent(input: { sessionID: string; label: string; description: string; status?: FooterSubagentTab["status"] }) {
function subagent(input: {
sessionID: string
label: string
description: string
status?: FooterSubagentTab["status"]
}) {
return {
sessionID: input.sessionID,
partID: `part-${input.sessionID}`,