Expand description
The extension points, as data.
They accumulated one at a time, each documented where it lives, which is the right place for the detail and the wrong place for the overview. There was no answer to “what can I hook, when does it fire, how often, and am I allowed to” that did not involve reading nine modules — and no way to check that the answer written in a document still matched the code.
So the overview is a value. all is the list; the reference table in the
extension-point index is rendered from it rather than
typed out, which is what keeps the two from drifting.
§Frequency is a design constraint, not a footnote
A point that fires once per session can afford a subprocess. One that fires
per streamed chunk cannot afford anything — at ten thousand calls a turn,
even a cheap in-process call is the difference between streaming and
stuttering. That is why Frequency::PerStreamChunk points are closed to
scripts by default: not because a script would do something dangerous
there, but because the cost is not one an author can see when they write
it.
Structs§
- Extension
Point - One place something can be plugged in.
- Trust
- Who may do what, by where the extension came from.
Enums§
- Access
- What one kind of author may do at a point.
- Frequency
- How often it fires, to an order of magnitude.
- Kind
- What kind of seam this is.
- Wiring
- How an implementation of a point reaches the engine.
Functions§
- all
- Every extension point the engine has.
- find
- Look one up by id.
- render_
markdown - The reference table, generated.