Repository navigation
v0.12.0
pi-intercom 0.12.0 makes extension-driven coordination safer and easier to control. Extensions can now request a message through the current session without bypassing user consent or losing delivery feedback. Teams can also isolate intercom traffic with explicit scopes, which keeps unrelated sessions out of each other's routing and presence. For quieter sessions, the generic intercom tool can stay hidden until it is useful.
Highlights
- Extensions can now ask pi-intercom to send a message through the current session without losing user consent, sender attribution, or delivery feedback.
- Teams can isolate intercom traffic with
PI_INTERCOM_SCOPE_ID, so unrelated sessions do not see or receive each other's scoped messages. - The generic
intercomtool can stay hidden until it is first useful, keeping quiet sessions less cluttered.
Full changelog
Highlights
- Extensions can now ask pi-intercom to send a message through the current session without losing user consent, sender attribution, or delivery feedback.
- Teams can isolate intercom traffic with
PI_INTERCOM_SCOPE_ID, so unrelated sessions do not see or receive each other's scoped messages. - The generic
intercomtool can stay hidden until it is first useful, keeping quiet sessions less cluttered.
Added
- Added a consent-aware extension outbox API with
intercom:outbox-requestandintercom:outbox-resultevents for notify-only same-process extension sends. Outbox sends honorconfirmSend, always return a terminal result for valid request IDs, use scoped target resolution, and leave attributed sender-side transcript traces. Thanks to @elecnix for #110. - Added opt-in broker-enforced routing scopes through
PI_INTERCOM_SCOPE_ID. Scoped sessions only see, route, recover mailbox messages, receive presence events, and use extension-bus owner, publish, and state traffic with sessions in the exact same opaque scope. Unscoped sessions keep existing behavior. Thanks to @YeungKC for issue #112. - Added opt-in
after-first-usevisibility for the genericintercomtool, keeping its model schema and prompt out of unused sessions until an inbound message, overlay send, or bundled skill load reveals it. Broker reception and the child-onlycontact_supervisortool remain available while it is hidden. Thanks to @XWIlluDelu for PR #111.