waybetter/packages/runtime
CRT 639943200f runtime: the site runtime's composition (siteRuntime, pageStrings, panelButton, commandReport)
What every app's page runtime entry did by hand (moved from wayBetter for X's inject/entry.tsx):

- siteRuntime.ts: pageInvoke (the IPC bridge read at call time), createFeatureFlags (parts that
  install on enable and dispose on disable, the flags native code delivers, a deck column's
  overrides on top of them, recorded at once and applied when <html> exists) and
  installSiteRuntime (the runtime object with the members native code calls, the plugin API views,
  developer-mode errors, its window names, the queued native deliveries, the command report).
- pageStrings.ts: the page's language (English built in, deliveries checked as data, the
  bundled-plugin namespace rule).
- panelButton.ts: the way into the panel from the page (the site's own navigation entry when the
  adapter mounts one, else a floating button that hides under the site's overlays and sits above
  its bottom bar).
- commandReport.ts: the palette command report and developer-mode start errors.
- tests/siteRuntime.test.ts.
2026-09-30 07:28:54 +00:00
..
src runtime: the site runtime's composition (siteRuntime, pageStrings, panelButton, commandReport) 2026-09-30 07:28:54 +00:00
tests runtime: the site runtime's composition (siteRuntime, pageStrings, panelButton, commandReport) 2026-09-30 07:28:54 +00:00
package.json npm: publish as one package waybetter (waybetter/runtime/*, waybetter/shell/*); @waybetter scope is taken 2026-09-27 22:54:03 +00:00
README.md npm: publish as one package waybetter (waybetter/runtime/*, waybetter/shell/*); @waybetter scope is taken 2026-09-27 22:54:03 +00:00
tsconfig.build.json packages: make runtime and shell publishable to npm 2026-09-27 22:41:01 +00:00

runtime (internal)

Sources of waybetter/runtime/*. Published as part of the waybetter package; not published on its own.