Plugin load order is undefined. If a consumer (ClawPrompts) loads before PrismFacet, it can't call __prismFacet.addRouter directly (slot is undefined). Now it pushes ops onto the well-known __prismFacetPending array; PrismFacet's installCrossPluginApi() drains the queue when it runs. Marker __real: true on the installed API so consumers can tell stub from real. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
4.3 KiB
4.3 KiB