BBS:      TELESC.NET.BR
Assunto:  src/syncterm/scripts/auto/connected/connected.wren console.wren runtes
De:       Deuc¨
Data:     Tue, 28 Apr 2026 04:20:01 -0700
-----------------------------------------------------------
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//*.wren auto-run when the
framework fires   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) 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]