__                 _ _                _
  / _| ___   ___   __| | |__   __ _ _ __| | __
 | |_ / _ \ / _ \ / _` | '_ \ / _` | '__| |/ /
 |  _| (_) | (_) | (_| | |_) | (_| | |  |   <
 |_|  \___/ \___/ \__,_|_.__/ \__,_|_|  |_|\_\

A personal BBS  ·  Missoula, Montana  ·  formerly NaClCON BBS

Connect from your terminal: telnet naclconbbs.net 23  |  ssh naclconbbs.net -p 2222

  • src/syncterm/scripts/auto/connected/connected.wren console.wren runtes

    From Deucе@VERT to Git commit to main/sbbs/master on Tue Apr 28 04:20:01 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/54756ede4f29cb760ab5cbfb
    Added Files:
    src/syncterm/scripts/auto/connected/connected.wren console.wren runtests.wren src/syncterm/scripts/wrentest.wren
    Modified Files:
    src/syncterm/CMakeLists.txt GNUmakefile Wren.adoc wren_embed_gen.c wren_host.c wren_host_internal.h
    Log Message:
    SyncTERM: split Wren scripts into lazy lib vs auto-loaded entry trees

    Files at scripts/*.wren are pure library modules (loaded only when
    imported). Files at scripts/auto/<event>/*.wren auto-run when the
    framework fires <event> — currently only "connected" exists, but the
    layout reserves room for "startup", "ssh", "ui", etc.

    wren_embed_gen now infers the event from the path and emits it as a
    new field on struct embedded_script; entries with event=NULL are
    libraries. The host filters the auto-load loop by event match.

    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net