Expand description
Diagnostic / session-introspection natives.
Distinct from the 30 server-command bindings: these expose facts about
the rpc channel itself (protocol version, authenticated user) that don’t
pass through server::command::*. Useful as a connection sanity check the
emacs client can call on connect to verify it’s talking to the right
server, and as the smallest possible end-to-end proof that the host-fn
dispatch path through SessionData works before any DB-touching native
lands.
Constants§
- PROTOCOL_
VERSION - Wire-level protocol revision the server speaks. Bumped when an incompatible change to the request/response envelope or capture protocol ships. The emacs client can refuse to talk to a mismatched server.
- REGISTERED_
NATIVES - Names exposed via
(<name>)in nomiscript. Not counted in the plan’s 30 server-command surface — this is a separate, smaller diagnostic surface that emacs / cli / tui all share.