▲ | electric_muse 4 days ago | |
This is such a useful pattern. I’ve ended up building similar things over and over again. For example, simplifying the worker-page connection in a browser or between chrome extension “background” scripts and content scripts. There’s a reason many prefer “npm install” on some simple sdk that just wraps an API. This also reminds me a lot of MCP, especially the bi-directional nature and capability focus. |