Build and modify TypeScript apps that use the missive.js service bus. Use whenever you see `missive.js`, `createCommandBus`/`createQueryBus`/`createEventBus`, `CommandHandlerDefinition`/ `QueryHandlerDefinition`/`EventHandlerDefinition`, intents, envelopes, stamps, or a CQRS-style command/query/event bus in a TS/JS project. Covers defining typed contracts, writing and registering handlers, dispatching intents, reading results and stamps, configuring the built-in middlewares (validator, cacher, logger, lock, retryer, webhook, feature-flag, mocker, async), and implementing custom adapters (cache, lock, logger). Trigger even when the user does not name the library explicitly but is clearly modeling commands, queries, events, handlers, or cross-cutting middleware on a bus.
2026-06-22