Commit Graph

3 Commits

Author SHA1 Message Date
simosmik
c9465a64be fix: hello world plugin 2026-03-05 12:18:38 +00:00
simosmik
2588851746 feat(plugins): add backend subprocess support via RPC bridge
Extend the plugin system so plugins can optionally declare a
entry in their manifest. The host spawns a Node.js subprocess for that
script, assigns it a random local port, and exposes an RPC proxy route
() that the sandboxed iframe can call via
postMessage — avoiding the need for the iframe to hold auth tokens.

Changes:
- Add plugin process manager to spawn/stop server subprocesses
- Wire subprocess lifecycle into enable/disable and uninstall routes
- Add RPC proxy route on the host server
- Extend PluginsContext and PluginTabContent to handle ccui:rpc and
  ccui:rpc-response postMessage events
- Add hello-world server.js as a reference subprocess implementation
- Update manifest.json and README with server field documentation
2026-03-05 11:58:04 +00:00
simosmik
6517ec4ecd Feat: initial plugin system (Frontend only) 2026-03-05 11:27:45 +00:00