chore: generate
This commit is contained in:
@@ -323,7 +323,8 @@ export function RunCommandMenuBody(props: {
|
|||||||
category: "Suggested",
|
category: "Suggested",
|
||||||
display: "View subagents",
|
display: "View subagents",
|
||||||
footer: `${props.subagents().length} active`,
|
footer: `${props.subagents().length} active`,
|
||||||
keywords: props.subagents()
|
keywords: props
|
||||||
|
.subagents()
|
||||||
.map((item) => `${item.label} ${item.description} ${item.title ?? ""}`)
|
.map((item) => `${item.label} ${item.description} ${item.title ?? ""}`)
|
||||||
.join(" "),
|
.join(" "),
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -569,9 +569,9 @@ export class RunFooter implements FooterApi {
|
|||||||
? 1 + VARIANT_ROWS
|
? 1 + VARIANT_ROWS
|
||||||
: this.promptRoute.type === "subagent-menu"
|
: this.promptRoute.type === "subagent-menu"
|
||||||
? 1 + this.subagentMenuRows
|
? 1 + this.subagentMenuRows
|
||||||
: this.promptRoute.type === "subagent"
|
: this.promptRoute.type === "subagent"
|
||||||
? this.base + SUBAGENT_INSPECTOR_ROWS
|
? this.base + SUBAGENT_INSPECTOR_ROWS
|
||||||
: Math.max(base + TEXTAREA_MIN_ROWS, Math.min(base + PROMPT_MAX_ROWS, base + this.rows))
|
: Math.max(base + TEXTAREA_MIN_ROWS, Math.min(base + PROMPT_MAX_ROWS, base + this.rows))
|
||||||
|
|
||||||
if (height !== this.renderer.footerHeight) {
|
if (height !== this.renderer.footerHeight) {
|
||||||
this.renderer.footerHeight = height
|
this.renderer.footerHeight = height
|
||||||
|
|||||||
@@ -124,7 +124,12 @@ function provider() {
|
|||||||
} satisfies RunProvider
|
} 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 {
|
return {
|
||||||
sessionID: input.sessionID,
|
sessionID: input.sessionID,
|
||||||
partID: `part-${input.sessionID}`,
|
partID: `part-${input.sessionID}`,
|
||||||
|
|||||||
Reference in New Issue
Block a user