GHHG10/CodeServer / opencode /packages /tui /src /routes /session /dialog-subagent.tsx
GHHG10's picture
download
raw
612 Bytes
import { DialogSelect } from "../../ui/dialog-select"
import { useRoute } from "../../context/route"
export function DialogSubagent(props: { sessionID: string }) {
const route = useRoute()
return (
<DialogSelect
title="Subagent Actions"
options={[
{
title: "Open",
value: "subagent.view",
description: "the subagent's session",
onSelect: (dialog) => {
route.navigate({
type: "session",
sessionID: props.sessionID,
})
dialog.clear()
},
},
]}
/>
)
}

Xet Storage Details

Size:
612 Bytes
·
Xet hash:
bf9e5c3adb2802857eb28296f1659ef4de316a4c2b0969e57efa4eb1bb65e25b

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.