Skip to main content

Crate jev_repl

Crate jev_repl 

Source
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.
cost
What a session costs: the tokens a request carries, the tokens its answers bring back, and the money that is at rates you supply.
editor
Sketch mode: a small text editor over one page of sketch notation. The page is parsed on every keystroke, so the gutter and the preview pane always show what the text currently means.
evaluate
Scoring a rubric against states someone has already labelled.
format
Turning answers, questions and errors into styled transcript lines.
headless
jev with no terminal in the way: a page in, an answer page out.
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.
install
Where the jev MCP server and the jev skill go, for each agent that can host them.
installer
jev install — put the MCP server and the skill where an agent will find them.
lessons
The guided track: eleven short lessons, each with one command to try.
mcp
jev as an MCP server: the one-shot commands, offered to an agent as tools.
mock
Offline answers, so the shapes can be learned without an API key.
presets
Ready-made sessions to poke at: :preset <name>.
serve
The MCP server on a pipe: newline-delimited JSON-RPC in on stdin, the same out on stdout.
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.
skill
The jev skill: what an agent reads to write a page that parses and a request worth sending.
ui
Layout: a status strip, the transcript, a live view of the session, and the input line.
words
Word-wise motion, and the keys that ask for it.
wrap
Word wrapping that keeps span styles, so the transcript can be scrolled by exact line count.