mcp.essentials.task.input wakes waiting ElicitAsync callers.
When to use it
The host already runs NATS and wants KV plus a native subject instead of a database plus a separate bus.Intended how-to
- Add
McpEssentials.Natsand a NATS connection. - Put each
StoredMcpTaskin a JetStream KV bucket keyed by task id, includingOwnerUserId. - Register the store as a singleton with the same current-user factory as Authenticated tasks.
- After a successful resolve, publish task id plus request id on
mcp.essentials.task.input. Subscribers raiseInputResponseReceived.
TTL
KV entry TTL fromDiscardAfter (CreatedAt + 2×TimeToLive).
See Stores.