Expand description
The pieces of the jev REPL, exposed so they can be driven without a terminal.
Modules§
- app
- REPL state: the transcript, the input line, the session being built, and what each command does.
- builder
- Builder mode: compose a question in a form instead of a one-line command, with the JSON it will send rendered beside it as you type.
- codegen
- Turn the current session into a program written against this SDK.
- editor
- Sketch mode: a small text editor over one page of
sketchnotation. The page is parsed on every keystroke, so the gutter and the preview pane always show what the text currently means. - format
- Turning answers, questions and errors into styled transcript lines.
- highlight
- Small hand-rolled highlighters for the three languages this REPL shows: the JSON going over the wire, the Rust it generates, and the command line you are typing.
- lessons
- The guided track: ten short lessons, each with one command to try.
- mock
- Offline answers, so the shapes can be learned without an API key.
- presets
- Ready-made sessions to poke at:
:preset <name>. - session
- The thing you are building in the REPL: a
state, some named questions, a model. - sketch
- Sketch notation: the whole request written as one page of plain text, the way you would scribble a rubric on paper. The shape of each question is read off its punctuation, so there is nothing to select — you write what you mean and the gutter tells you what it became.
- ui
- Layout: a status strip, the transcript, a live view of the session, and the input line.
- wrap
- Word wrapping that keeps span styles, so the transcript can be scrolled by exact line count.