Skip to content

v0.5.0 — free-lane definition history

Choose a tag to compare

@ChasLui ChasLui released this 09 Nov 12:22
· 19 commits to main since this release

Free-lane definitions now survive a plugin-host restart. NodeCode's CLI keeps
defun and friends in a layer; the plugin now keeps the same definition forms
in a per-session history file and replays them into a fresh nodecode trial
image.

  • History lives in ~/.nodecode-magpie/history/<hash>.jsonl; override the
    directory with NODECODE_MAGPIE_HISTORY
  • Only definition heads are replayed (defun, defvar, defparameter,
    defconstant, defmacro, defmethod, defclass, defstruct, deftype,
    defpackage, define-*), so shell commands and other side effects never run
    twice
  • Values, * / / history and background results remain per-image
  • 500-form cap per session, file compacted to the last 1000 lines
  • Includes 63 tests