# Ferrite CLI 0.1.14

> Ferrite CLI 0.1.14 carries the current RSX generator, so ferrite rsx sync reads an optional [server] table in rsx.toml.

Ferrite CLI 0.1.14 carries the current RSX generator, so `ferrite rsx sync`
reads an optional `[server]` table in `rsx.toml`. An application without that
table generates the same files it did under 0.1.13. It is built for macOS on Apple silicon and x86-64 Linux, and
it keeps 0.1.13's SDK twin, so `ferrite --version` still reports
`sha256:a65578ab…`.

## What changed

- **An RSX server hook.** A `[server]` table in `rsx.toml` lets an application
  own part of its server integration. `configure` names an application
  function, such as `access::configure`, through which the generated route
  table passes its builder. `package_modules` lists up to 32 installed package
  modules that the generated `src/lib.rs` mounts beside the application's own.
  `forward_headers` adds lowercase header names to every API route in the
  synthesized `ferrite.json` other than `/_assets/`, up to the platform's limit
  of 16 per route.
  `[[server.egress]]` entries declare an egress handle and its explicit HTTPS
  destinations. Sync refuses an unknown key or a malformed value with
  `RSX_CONFIG_INVALID`.
- **`disable_live_subscriptions`.** Setting it to `true` removes the `/_live/`
  route from the synthesized `ferrite.json`. Sync refuses it while
  `app/live.rs` exists, so live subscriptions cannot be switched off underneath
  a registered source.
- **`rsx.toml` as a source.** When `[server]` is present, the generated
  `src/lib.rs` records `rsx.toml` among its sources, and so does the route
  table when `configure` is set, which makes `ferrite rsx check` report drift
  after an edit to that table. Without `[server]`, the recorded sources do not
  change.

## Also in the Labs repository

Neither of these is part of the CLI binary.

- **qjs-engine 0.1.3** is published in the Labs package registry. It counts
  fuel across every replay round, limits declared guest memory to 64 MiB
  including growth, and adds a wall-clock budget: `execute` and `execute_with`
  take a `&ferrite_app::Clock` before the dispatch closure, forward clock
  movement draws on a two-second budget checked inside interpreter chunks, and
  moving the clock backwards does not refund it. `execute_with_wall_limit` lets
  a trusted server-function consumer set its own budget under the same fuel,
  memory and host-call accounting. Any CLI version receives it through
  `ferrite add qjs-engine` once the instance's registry carries it. Code
  written against the `Clock` parameter does not compile against 0.1.2, so
  check the `version` of the `qjs-engine` entry in
  `https://packages.<base>/registry.json`, the index `ferrite add` reads,
  before relying on it.
- **Six package demos.** Agent Desk, Connector Console, Demo Market, Member
  Hub, Reading Room and Script Lab are in the Labs repository under
  `apps/demo-*`. Each mounts its packages from a `ferrite-packages.json`
  manifest, and Labs CI submits each complete demo through the CLI's collection
  and projection path. Reading Room uses the `[server]` hook. Script Lab's browser
  preview is turned off for now; its bounded JavaScript and WebAssembly remain
  available.

See [Rsx](/docs/rsx) for the `app/` conventions and `rsx.toml`.
