• v1.2.2 a00a75d105

    v1.2.2 Stable

    kahliburke released this 2026-04-12 09:43:24 -07:00 | 296 commits to main since this release

    Main-thread eval for GLMakie/GLFW (#21)

    The ex MCP tool now supports mt=true (main-thread mode), which routes evals through the REPL backend on thread 1. This is required for GLMakie, GLFW, and any library that needs the main thread for OpenGL/GPU calls.

    Usage

    ex(e="using GLMakie; GLMakie.activate!()", mt=true)
    ex(e="fig = Figure(); scatter(fig[1,1], [1,2,3], [4,5,6]); display(fig)", mt=true)
    

    Without mt=true, async evals run on default-pool threads, causing ThreadAssertionError. With mt=true, the gate spawns the eval on the interactive pool, and gate_eval routes through REPL.call_on_backend to execute on thread 1.

    Install

    ]app add Kaimon@1.2.2
    

    Full Changelog: https://github.com/kahliburke/Kaimon.jl/compare/v1.2.1...v1.2.2

    Downloads