Commit Graph

9 Commits

Author SHA1 Message Date
Calic
8b833bbb35 launcher 0.2.0: inline status icons + classified update-check + token auth wire
- Async update-check per module on init (git.start_ls_remote_tags),
  polled per frame. Result classified into available / no-update /
  fail / local-only via the new kind field from lib-core.git 0.2.0.
- Pre-emptive dep-check per module (depf.ensure_for_module) on init
  populates a dep_check_result whose ok/conflicts/warnings/errors
  drive the icon strip.
- Inline icon strip per module-row (icons.lua): rotating ASCII
  spinner while pending, yellow warn for auth/network failures or
  dirty deps, blue update-badge with target version (clickable to
  trigger fetch+checkout), red error for dep-check conflicts, gray
  L for repos that genuinely don't exist on the server. Tooltip on
  hover shows the specific reason per icon.
- Click handler splits launch-vs-update by hit-testing the badge
  rect before the row rect. Launch is blocked when dep-check failed.
- On init, reads engine.config("gitea_token") and forwards via
  git.set_token so users can persist their token in their user-data
  engine.json layer instead of using an env var.
- New deps: lib-core.git 0.1.0, lib-management.dep-fetcher 0.1.2.
v0.2.0
2026-05-31 14:09:39 +02:00
Calic
4d91a5ffde rename to lib-management.launcher (was lib-sporel.launcher)
Per ADR-0045 (three-tier library naming) the launcher migrates from
the retired lib-sporel.* prefix to the new lib-management.* tier for
host-infrastructure libs. Updates:

- manifest.module id: lib-sporel.launcher -> lib-management.launcher
- manifest.core id: lib-sporel.launcher.core -> lib-management.launcher.core
- init.lua engine.module.dir_of("lib-management.launcher")
- README + fsm.lua comment refs

Gitea repo renamed in lockstep:
sporel/sporel-module-lib-sporel.launcher ->
sporel/sporel-module-lib-management.launcher
2026-05-31 00:21:51 +02:00
Calic
03027b077a docs: add standard module documentation
Initial README following the project's module documentation structure:
Abstract paragraph, Badges as bold key:value list, Topology section
with auto-generated mermaid graph, Controls describing player input,
Demonstrates listing the Sporel features showcased, References at
the end.

Install pre-commit hook via Sporel --install-hooks=.; topology is
auto-managed by Sporel --lint --fix.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-17 01:39:53 +02:00
Calic
c7cca569de deps(launcher): manifest.module.ci_frames=10 (Test-Opt Phase 4.1) 2026-05-16 01:28:49 +02:00
Calic
decf7b359a deps: bump lib-core.input dep 0.3.0 → 0.4.0 (P.3.10 cascade)
No behavioral change. Only 0.4.0 is now available.
2026-05-15 22:14:24 +02:00
Calic
3fe0d03583 feat(P.3.5): use engine.window.size() instead of hardcoded 1280x720 2026-05-13 02:15:34 +02:00
Calic
5dde5b28c9 fix(P.3.4): correct aabb_contains_point signature + SPOREL_CI self-exit
- hit() now passes rect-table as single arg (not destructured) per
  engine.spatial.aabb_contains_point(rect, px, py) signature.
- update() honors SPOREL_CI=1 via 60-frame self-exit (matches spine-
  prototype pattern). Required for headless smoke (P0-S15).
2026-05-12 23:38:38 +02:00
Calic
4db760bc60 fix(P.3.4): manifest schema — add api, entry_point; exact-match dep version 2026-05-12 23:14:38 +02:00
Calic
141683438d feat(P.3.4): initial — Sporel Launcher v0.1.0 (FSM + click-UI + quit-confirm) 2026-05-12 23:05:55 +02:00