From 4d91a5ffde3056e557c16072f092411c8b18007a Mon Sep 17 00:00:00 2001 From: Calic Date: Sun, 31 May 2026 00:21:51 +0200 Subject: [PATCH] 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 --- README.md | 8 ++++---- fsm.lua | 2 +- init.lua | 2 +- manifest.core | 2 +- manifest.module | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 105ac57..a87717f 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -# lib-sporel.launcher +# lib-management.launcher -Module-discovery and module-switch entry. Lists available modules from the configured modules-dir and launches the selected one via `engine.switch_module`. Typical entry point: `--module=lib-sporel.launcher` boots into a chooser screen rather than directly into a game. +Module-discovery and module-switch entry. Lists available modules from the configured modules-dir and launches the selected one via `engine.switch_module`. Typical entry point: `--module=lib-management.launcher` boots into a chooser screen rather than directly into a game. **Version:** 0.1.0 -**Module-ID:** lib-sporel.launcher +**Module-ID:** lib-management.launcher **Requires:** lib-core.input v>=0.4.0 **Tags:** launcher, menu, system, navigation @@ -12,7 +12,7 @@ Module-discovery and module-switch entry. Lists available modules from the confi ```mermaid graph LR - this["lib-sporel.launcher"] + this["lib-management.launcher"] lib_core_input["lib-core.input"] this --> lib_core_input engine["engine.*"] diff --git a/fsm.lua b/fsm.lua index 4bbfe3f..939222c 100644 --- a/fsm.lua +++ b/fsm.lua @@ -1,5 +1,5 @@ -- Sporel Launcher — pure-Lua finite state machine. --- No engine.* calls; testable directly by lib-sporel.launcher-test. +-- No engine.* calls; testable directly by lib-management.launcher-test. local M = {} diff --git a/init.lua b/init.lua index be6123c..dcdeb41 100644 --- a/init.lua +++ b/init.lua @@ -1,7 +1,7 @@ local input = require("lib-core.input") -- fsm.lua lives in this module's dir; engine_lua_lib's searcher only resolves -- declared lib-deps, so multi-file modules use dofile + engine.module.dir_of. -local fsm = dofile(engine.module.dir_of("lib-sporel.launcher") .. "/fsm.lua") +local fsm = dofile(engine.module.dir_of("lib-management.launcher") .. "/fsm.lua") local STATE_LIST, STATE_QUIT, EXIT = fsm.STATE_LIST, fsm.STATE_QUIT_CONFIRM, fsm.EXIT local state = STATE_LIST diff --git a/manifest.core b/manifest.core index 2cc1599..91b7171 100644 --- a/manifest.core +++ b/manifest.core @@ -1,5 +1,5 @@ { - "id": "lib-sporel.launcher.core", + "id": "lib-management.launcher.core", "kind": "lib", "version": "0.1.0", "license": "Proprietary" diff --git a/manifest.module b/manifest.module index dee6f66..7565458 100644 --- a/manifest.module +++ b/manifest.module @@ -1,5 +1,5 @@ { - "id": "lib-sporel.launcher", + "id": "lib-management.launcher", "version": "0.1.0", "kind": "module", "api": "^0.1",