Skip to content

@fungi.computer/corral

CorralCommandRunner = (args) => Promise<void>>

Optional injected helper runner; arguments include the executable path.

readonly string[]

Promise<void>


CorralEnvironment = Readonly<{ HERDR_BIN_PATH?: string; HERDR_ENV?: string; HERDR_PANE_ID?: string; }>

Pane environment supplied by the local Herdr host.


CorralActivity = "idle" | "working" | "unknown"

Observed Session activity; unknown means observation is unavailable.

const default: ShiitakeClientExtensionV0

Default fungi client entry; activates only in an existing Herdr environment.

attachCorral(activity, options): Effect<void, Error, Scope>>

Attach reporting to activity supplied by the client; never opens a Session watch.

Stream<CorralActivity>

Readonly<{ environment: CorralEnvironment; onError: (cause) => void; run?: CorralCommandRunner; }>

Effect<void, Error, Scope>