Build ctx once and share it between both plugin runtimes

The sandbox's context builder was a near-copy of the Node runtime's. Both
now come from createPluginContext in @yaakapp-internal/lib, with each
runtime supplying only a transport.

The two places hosts genuinely differ are optional transport methods:
`stream` (a window reporting navigation until it closes) and `form` (a
prompt that re-renders as values change). The sandbox has neither, so
openUrl refuses and a form is drawn once from its defaults.
This commit is contained in:
Gregory Schier
2026-08-18 15:22:49 -07:00
parent f8d6dfbdaa
commit 20c0efc2a5
4 changed files with 200 additions and 530 deletions
File diff suppressed because one or more lines are too long