Sync windows/pkg/ with root lua sources (stale since April 2026) #18
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
windows/pkg/lmcp.lua,windows/pkg/server.lua, andwindows/pkg/json.luaare April-2026 snapshots that have drifted out of sync with the rootlmcp.lua/server.lua/json.lua. They are missing every feature added since April:fetchtool (issue #3)web_searchtool (issue #4)edit_file,shell_bgtoolsGoal
Decide on a sync strategy so the Windows MSI ships a current lmcp surface.
Options
windows/pkg/{lmcp,server,json}.luabecome symlinks (or post-checkout copies vialmcp.wxsor a Make target) of the root files. Zero duplication.windows/pkg/if the Windows builds happen on a separate branch or external pipeline. Currently unclear from the repo whether they are still active.Scope
make check-windows-syncrule and anlmcp.wxscomment.Priority
Low unless the Windows MSI is actively shipped to anyone. Surfaced during issue #14 Phase 5 review.
Option 1 for v1.1.0
Acked: Option 1 (symlink/copy-at-build) for v1.1.0. Sketch: replace
windows/pkg/{lmcp,server,json}.luawith build-time copies driven by a Makefile or a tinywindows/sync.sh;lmcp.wxsruns the sync as a pre-step. Avoids the divergence trap that bit us this session. Awaiting v1.1.0 milestone assignment from a repo-write account.Implemented (Option 1). Commit
7e62f71on master, tagv1.1.0.Added in
windows/:sync.sh— copies root{lmcp,server,json}.luatopkg/. Idempotent; fails loud if a source is missing; logs each sync with a timestamp. Run before invoking WiX.README.md— workflow doc + a tracked-vs-generated map so future contributors know not to editpkg/*.luadirectly.lmcp.wxs— MSI manifest (was already on disk, now tracked;Versionbumped 0.1.0 → 1.1.0).pkg/install_service.bat+pkg/start.bat— Windows service installer + launcher (already on disk, now tracked).New
.gitignoreat repo root:Verification:
Failure mode this addresses (the issue's headline): the prior April-2026
pkg/*.luasnapshot was missing every feature added since then. Runningsync.shbefore each MSI build now guaranteespkg/matches master. Forgetting to run is failure-loud (MSI ships last sync's snapshot, easy to spot in QA), not silent.Out of scope (potential future):
lmcp.wxs Versionfrom git tag — kept explicit for now.candle.exe + light.exeon a Windows box.Closes the v1.1.0 milestone alongside #11 and #20.