Files
claudecodeui/examples/plugins/hello-world/manifest.json
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

14 lines
319 B
JSON

{
"name": "hello-world",
"displayName": "Hello World",
"version": "1.0.0",
"description": "A minimal example plugin that demonstrates the plugin API.",
"author": "Claude Code UI",
"icon": "Puzzle",
"type": "iframe",
"slot": "tab",
"entry": "index.html",
"server": "server.js",
"permissions": []
}