Cheat sheet
CLI
muscat-pk new my-plugin --type python muscat-pk dev muscat-pk dev --robot-ip <ip> --robot-token <t> muscat-pk build muscat-pk sdk update <ver> muscat-pk type change --to ros2 muscat-pk update --global
SDK
const rb = useRb();
await rb.action("grip", { width });
rb.sub("state", (p) => ...);
rb.toast({ type: "success", message });
plugin = RBPluginCall()
@plugin.serve("grip")
plugin.publish("state", {...})
@plugin.router.on("/hello")
ctx = PluginProgramContext(plugin_id=...)