Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: