Skip to content

InputAPI

Defined in: namespaces-core-plugins.ts:685

Inbound mirror of fn-97 (fn-98): external messages → IngressPipeline → parsed intents → handlers. Promise methods route through the fn-89 Invoker; read-shaped denials are timing-padded (50ms ± 10%).

fn-98

channels: object

Defined in: namespaces-core-plugins.ts:705

Channel contributor sub-bridge.

register(definition, handlers): Promise<AnyJSONValue>

Registers a channel definition + handlers. [input.channel.register]

AnyJSONValue

AnyJSONValue

Promise<AnyJSONValue>

unregisterChannel(channelDefId): Promise<AnyJSONValue>

Unregisters a channel definition. [input.channel.register] QUIRK: named unregisterChannel (mirrors the fn-97 unbindChannel JSExport selector-clash pattern).

string

Promise<AnyJSONValue>


parsers: object

Defined in: namespaces-core-plugins.ts:716

Parser contributor sub-bridge.

register(parserId, parseFn): Promise<AnyJSONValue>

Registers a parser. [input.parser.register]

string

(message) => AnyJSONValue | Promise<AnyJSONValue>

Promise<AnyJSONValue>

unregister(parserId): Promise<AnyJSONValue>

Unregisters a parser. [input.parser.register]

string

Promise<AnyJSONValue>


intents: object

Defined in: namespaces-core-plugins.ts:723

Intent contributor sub-bridge.

register(intentId, handler): Promise<AnyJSONValue>

Registers an intent handler. [input.intent.register]

string

(intent) => void | Promise<void>

Promise<AnyJSONValue>

unregister(intentId): Promise<AnyJSONValue>

Unregisters an intent. [input.intent.register]

string

Promise<AnyJSONValue>


auth: object

Defined in: namespaces-core-plugins.ts:730

Auth-strategy contributor sub-bridge.

register(authId, strategy): Promise<AnyJSONValue>

Registers an auth strategy. [input.auth.register]

string

AnyJSONValue

Promise<AnyJSONValue>

unregister(authId): Promise<AnyJSONValue>

Unregisters an auth strategy. [input.auth.register]

string

Promise<AnyJSONValue>

onMessage(channelId, handler): SubscriptionHandle

Defined in: namespaces-core-plugins.ts:687

Subscribes to inbound messages on an own channel (SYNC handle). [input.subscribe.messages]

string

(message) => void

SubscriptionHandle


onIntent(intentId, handler): SubscriptionHandle

Defined in: namespaces-core-plugins.ts:689

Subscribes to own-registered intents (SYNC handle). [input.subscribe.intents]

string

(intent) => void

SubscriptionHandle


onNotificationReply(handler): SubscriptionHandle

Defined in: namespaces-core-plugins.ts:691

Subscribes to notification replies (SYNC handle). [input.subscribe.messages]

(reply) => void

SubscriptionHandle


recent(channelId, filter?): Promise<AnyJSONValue>

Defined in: namespaces-core-plugins.ts:693

Recent messages (hard ceiling 1000 with truncated flag). [input.subscribe.messages]

string

AnyJSONValue

Promise<AnyJSONValue>


reply(handle, body, attachments?): Promise<AnyJSONValue>

Defined in: namespaces-core-plugins.ts:695

Replies to an inbound message. [input.reply]

AnyJSONValue

AnyJSONValue

BlobRef[]

Promise<AnyJSONValue>


replyToNotification(correlationId, body, attachments?): Promise<AnyJSONValue>

Defined in: namespaces-core-plugins.ts:697

Replies correlated to an outbound notification. [input.reply]

string

AnyJSONValue

BlobRef[]

Promise<AnyJSONValue>


listChannels(): Promise<AnyJSONValue[]>

Defined in: namespaces-core-plugins.ts:699

Lists visible channels. [input.subscribe.messages]

Promise<AnyJSONValue[]>


recordOutboundForReplyMap(params): Promise<AnyJSONValue>

Defined in: namespaces-core-plugins.ts:701

Seeds the reply map for free-form correlation. [input.reply]

AnyJSONValue

Promise<AnyJSONValue>


deliverIngress(params): Promise<AnyJSONValue>

Defined in: namespaces-core-plugins.ts:703

Delivers ingress for an owned channel. [input.channel.register]

AnyJSONValue

Promise<AnyJSONValue>