Route our backend calls through condenser.plugin.useSend instead of @decky callables, and navigation through condenser.nav. Reuse the httpPlatform/deckyPlatform split from dev-next so the same lib code runs on Decky and condenser.
useSend(pluginKey)(action, data) maps to a Node backend export. Map our callable names to backend.ts exports. Navigation: Router/Navigation calls map to condenser.nav navigate/back and the page/route surface.
Route our backend calls through condenser.plugin.useSend instead of @decky callables, and navigation through condenser.nav. Reuse the httpPlatform/deckyPlatform split from dev-next so the same lib code runs on Decky and condenser.
useSend(pluginKey)(action, data) maps to a Node backend export. Map our callable names to backend.ts exports. Navigation: Router/Navigation calls map to condenser.nav navigate/back and the page/route surface.