Skip to content
API reference

goal/host

Import
import * as api from "@fungi.computer/shiitake-extensions/goal/host";
Kind Export Description
constant goalCatalog The commands this extension advertises to every client.
constant goalExtension Ordinary roster when no created-Agent directory is available.
function goalExtensionFor() Botanical’s Session goal; hosts with created-Agent facts include them in progress.

goalCatalogconstant

Section titled “goalCatalog”
Signature
const goalCatalog: Json;

The commands this extension advertises to every client.


goalExtensionconstant

Section titled “goalExtension”
Signature
const goalExtension: RosteredExtensionV0;

Ordinary roster when no created-Agent directory is available.

goalExtensionFor()function

Section titled “goalExtensionFor()”
Signature
function goalExtensionFor(subagents?): RosteredExtensionV0;

Botanical’s Session goal; hosts with created-Agent facts include them in progress.

Parameter Type
subagents? Readonly<{ hasLiveChildCommand: (sessionId) => boolean; read: (sessionId, limit) => Promise<Readonly<{ agents: readonly Readonly<{ agentId: string; name: string; sessionId: … | …; }>[]; more: number; }>>; open: (agentId, signal) => Promise<Readonly<{ agent: SubagentAgent; release: () => Promise<void>; }>>; }>

RosteredExtensionV0