mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
add status
This commit is contained in:
parent
01149d85bc
commit
99d5724b06
1 changed files with 5 additions and 0 deletions
|
|
@ -190,6 +190,11 @@ export function Autocomplete(props: {
|
|||
description: "list agents",
|
||||
onSelect: () => command.trigger("agent.list"),
|
||||
},
|
||||
{
|
||||
display: "/status",
|
||||
description: "show status",
|
||||
onSelect: () => command.trigger("opencode.status"),
|
||||
},
|
||||
)
|
||||
const max = firstBy(results, [(x) => x.display.length, "desc"])?.display.length
|
||||
if (!max) return results
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue