Build project or User extensions that run inside glrs.
An extension default-exports a function receiving Glrs. The same API
works in the TUI and print mode; check Glrs.hasUI before capturing
interactive input.
From 1.0.0 every member here is covered by semver: a break is a major.
Members marked @beta are the exception and may change in a minor.
A field added to a type an extension can construct is declared optional, so
that learning something new about a model or a session is an addition rather
than a break. ModelInfo.missing is the worked example: it arrived required,
broke the model picker, and is optional now.
Build project or User extensions that run inside glrs.
An extension default-exports a function receiving Glrs. The same API works in the TUI and print mode; check Glrs.hasUI before capturing interactive input.
Example: A one-file tool
stability
From 1.0.0 every member here is covered by semver: a break is a major. Members marked
@betaare the exception and may change in a minor.A field added to a type an extension can construct is declared optional, so that learning something new about a model or a session is an addition rather than a break.
ModelInfo.missingis the worked example: it arrived required, broke the model picker, and is optional now.