OpenHealthSim

Complete public hook reference

Generated from the actual public contracts in this build. Source locations refer to the SDK package layout in the author kit.

Read the reference boundaries and download the source definitions. A declared API is not a permission or an enabled provider.

Generated from public production HookMap declarations by node scripts/generate-hook-reference.mjs. Do not edit this file directly.

Only implemented hooks are listed. Domain hooks are added with their emitting plugins. Test, testkit and development hooks are excluded.

HookModeSignatureSource
command/afteremit(command: SessionCommand, result: SessionDispatchResult) => voidplugins/session-log/src/index.ts:30
command/beforebail(command: SessionCommand, context: CommandContext) => void | string | { code?: string; message: string }plugins/session-log/src/index.ts:26
input/observationwaterfall(observation: TimedCanonicalObservation, next: () => TimedCanonicalObservation | null | Promise<TimedCanonicalObservation | null>) => TimedCanonicalObservation | null | Promise<TimedCanonicalObservation | null>plugins/interfaces/src/index.ts:26
instance/statusemit(snapshot: InterfaceSnapshot) => voidplugins/interfaces/src/index.ts:30
network-policy/changedemit(snapshot:NetworkPolicyStateSnapshot)=>voidplugins/network-policy/src/policy-state.ts:10
network/changedemit(event:{activeRequests:number;activeOutsideLan:number})=>voidplugins/network-policy/src/index.ts:22
network/revokedemit(event:{id:string;owner:string;reason:'policy_changed'|'retired'})=>voidplugins/network-policy/src/index.ts:18
pairing/connectionemit(event: PairingConnection) => voidplugins/pairing/src/service.ts:22
plugin/disposedemit(event: { id: string }) => voidpackages/kernel/src/runtime.ts:23
plugin/failedemit(event: { id: string; state: 'FAILED' } | { id: string; error: string }) => voidpackages/kernel/src/runtime.ts:19
plugin/loadedemit(event: { id: string; state: 'ACTIVE' }) => voidpackages/kernel/src/runtime.ts:15
public-clients/changedemit() => voidpackages/cli/src/host.ts:117
router/deliverwaterfall(message: OutputMessage, next: () => DeliveryReport[] | Promise<DeliveryReport[]>) => DeliveryReport[] | Promise<DeliveryReport[]>plugins/router/src/index.ts:22
router/routewaterfall(message: OutputMessage, next: () => OutputMessage | Promise<OutputMessage | null>) => OutputMessage | null | Promise<OutputMessage | null>plugins/router/src/index.ts:17
runtime/stopemit() => voidpackages/cli/src/host.ts:115
session/eventemit(event: SessionEvent) => voidplugins/session-log/src/index.ts:34
site/changedserial(snapshot: SiteSnapshot) => void | Promise<void>plugins/site/src/index.ts:26