Repository navigation
Releases
Twig 0.7.0
Twig 0.7.0 brings the plugin system from upstream LearnHarness 0.6.1 into Twig, while keeping Twig's own FSRS/Anki review, scratchpad and calculator, themes, inline side questions, SVG figures and code exercises.
Plugins. A plugin host with lifecycle, trusted local frontends and backends, plugin-owned data, settings pages, sidebar doors, surfaces, submissions, workers, agents and document conversion. The plugin APIs are documented in docs/plugin-api/ and shipped as an authoring kit: 22 reference pages, TypeScript declarations, example plugins and an install tool.
One Core plugin ships: Rich Code Blocks — static chemical structures, musical notation and technical diagrams from SMILES, ABC and TikZ fences, layered over Twig's ordinary code renderer so copy and theming still work.
New in 0.7.0 after the merge: the tutor gets a native read-only mistakes tool, so it can list, filter and summarize the learner's recorded mistakes, or pull one record with its reasoning, instead of being told a data-file path.
0.7.0 — 2026-11-13
Plugins
- Plugin host — upstream's plugin lifecycle, trusted local frontends/backends, plugin-owned data, settings, actions, surfaces, submissions, workers and document conversion are integrated.
- Core plugin catalog — Rich Code Blocks is the shipped optional Core plugin. Drawing Pad, Flashcards and Coding Questions are not shipped because Twig keeps those features native.
- Code-block dispatch — plugin code-block renderers now layer over Twig's ordinary code renderer, so
smiles,abcandtikzfences render while ordinary code keeps Twig's copy/theme behavior.
Preserved native features
- FSRS-6 + Anki — native review scheduling and Anki export, with review sessions still opening ordinary practice sessions.
- Drawing board — Twig's persistent scratchpad, calculator and inline SVG figures.
- Themes, side questions, SVG and code exercises — Twig's implementations remain in place; the upstream side companion, headless browser isolation and native coding plugin are not adopted.
Build and packaging
- Plugin setup, Core package staging, authoring-kit generation and packaged-server smoke checks.
- Packaged-server payload now strips traced repo
data/and validates the Core plugin payload before shipping.
Downloads
Twig-0.7.0-x86_64.AppImage— portable Linux build; make it executable and run it.Twig-0.7.0-amd64.deb— Debian/Ubuntu package.latest-linux.yml— the auto-update feed for the Linux builds.
macOS and Windows installers for 0.7.0 are not in this release: GitHub Actions is currently disabled on this fork, so the cross-platform packaging workflow could not run. They will be uploaded here once it is re-enabled.
0.6.1
0.6.1 — 2026-11-09
Teaching
- Clearer learner-facing prose — rewrote the shared, teacher, prober, practice, capstone, readings, discuss, and side-chat prompts in natural explanatory prose. Every action now has a concrete actor, and the prompts reject compressed pseudo-English such as "the limit removes the corner." Added
docs/style-rubric.mdandnpm run style-check. - Direct answers — scoped the discovery method to teaching a new step, so direct questions get a direct answer first.
Branding
- New app icon — replaced the mark with the orange connected-circle emblem on a transparent background for macOS, Windows, Linux, and the web app.
0.6.0
0.6.0 — 2026-11-08
Twig's first feature release after syncing upstream LearnHarness 0.5.0.
Learning
- FSRS-6 review — completed practice becomes a derived spaced-repetition queue; review sessions are ordinary practice sessions and review state is never written back to the graph.
- Code exercises in four languages — Python (bundled Pyodide), JavaScript and TypeScript (opaque-origin workers with
sucrasetype-stripping), and C++ (locally detectedclang++/g++with bounded compile/run). - Read by sentence — full-screen sentence-by-sentence reading with blur/hide/dim, adjustable type, browser-voice default, optional ElevenLabs read-aloud,
Mod+R, andgg/Gsession navigation. - Readings — primer, overview, deep-dive, recap and node readings from a frozen lesson snapshot, with citation checks and Discuss.
- Capstone projects — pitch a project, lock a file-verifiable brief, get a read-only review and a gap report that can seed teaching or practice.
- Mistakes review — nine-type error taxonomy, per-miss analysis, opt-out and a rolling cost cap.
Practice and notes
- Side questions — ask about a passage without derailing the lesson; threads stay attached to the block.
- Per-lesson notes — resizable notes panel, quote-to-notes, stale-write warning.
- Quote int 4391 o composer — quote selected tutor text directly into a reply.
- Edit last message — durable rewind of transcript, plan, graph traces, jobs and queued steers.
- Scratchpad and calculator — pressure-sensitive drawing sidebar, draggable scientific calculator, inert
svgfigures.
Context and exports
- Session attachments — content-addressed PDFs, EPUBs and images under
data/attachments/, with previews, scoped readers, reversible detach and zip-bomb caps. - Graph exports — Anki with stable node ids and four note types, Obsidian vault export, and a tidy-graph proposal workflow.
- Full themes — eleven presets, Dark/Light/System mode, server first paint, Electron chrome sync and WCAG-checked colors.
Reliability and security
- Upstream 0.5.0: paperclip/path attachments, learner-image snapshots, folder and PDF imports, Exa/Firecrawl/Ollama search, file-access restrictions, atomic store writes, Claude CLI guards, projection/recovery fixes.
- Twig fixes: Deepgram training opt-out, compaction lost-write and research-brief fixes, cancelled-import audit gate, updater feed restriction, IPC/credential hardening, Claude CLI abandoned-stream recovery, graph read hoist, empty-answer recovery.
- Fork security hardening: SSRF-safe web fetch, safe regex and pre-read caps, demo/SVG sandbox, sandboxed Chrome fallback.
Branding
- Transparent Twig mark, README banner, app icon for macOS/Windows/Linux, Twig naming in docs and graph exports.
Notes
- macOS builds are signed and notarized when the repository signing secrets are configured; otherwise the release workflow publishes an unsigned DMG/ZIP with a warning.