Complete bridge rename: csproj/sln/build output to SpireLensMcpBridge #9

Merged
romaine-life-app[bot] merged 1 commit from fix/complete-bridge-rename into main 2026-04-30 08:02:14 -07:00
romaine-life-app[bot] commented 2026-04-30 08:02:09 -07:00 (Migrated from github.com)

Why

PR #1 renamed mod_manifest.json's id from SpireLensMcp to SpireLensMcpBridge but stopped at the manifest. The csproj, sln, build output dir, install instructions, and a docs reference still said SpireLensMcp. Per the README's own install pattern ("folder named after the mod ID with the manifest renamed to <id>.json"), that mismatch is load-bearing for STS2's mod loader.

Renames

  • SpireLensMcp.csproj → SpireLensMcpBridge.csproj — default AssemblyName follows the project filename, so the output DLL is now SpireLensMcpBridge.dll automatically.
  • SpireLensMcp.sln → SpireLensMcpBridge.sln + project-line entry updated.
  • build.ps1: project ref, output dir (out/SpireLensMcpBridge/), banner text, install hints in the post-build message.
  • README.md: component description and install snippet.
  • docs/raw-full.md: API-reference preamble.

Out of scope (deliberately not touched)

  • mcp/server.py user-data AppData path SpireLensMcp/ — this is where user-managed saves live (base_saves/, scenario_saves/). Renaming would orphan any user-populated saves on existing installs. The bridge identity rename and the user-data layout are separate concerns; the latter deserves a migration if it's ever changed.
  • C# namespace SpireLens.Mcp — this is the original fork's namespace identity, documented in AUTHORS.md. Renaming it is a wider code change for a different reason (clarifying namespace = clarifying ownership, not bridge naming).
  • AUTHORS.md fork-history entry — historical record of the initial vendor commit's rename, not current state.

Companion

Pairs with the spirelens-side deploy update (separate PR) which copies the build output as mods/SpireLensMcpBridge.{dll,json} and adds stale-file cleanup for the old mods/SpireLensMcp.{dll,json} filenames on existing runners.

## Why PR #1 renamed `mod_manifest.json`'s `id` from `SpireLensMcp` to `SpireLensMcpBridge` but stopped at the manifest. The csproj, sln, build output dir, install instructions, and a docs reference still said `SpireLensMcp`. Per the README's own install pattern ("folder named after the mod ID with the manifest renamed to `<id>.json`"), that mismatch is load-bearing for STS2's mod loader. ## Renames - `SpireLensMcp.csproj` → `SpireLensMcpBridge.csproj` — default `AssemblyName` follows the project filename, so the output DLL is now `SpireLensMcpBridge.dll` automatically. - `SpireLensMcp.sln` → `SpireLensMcpBridge.sln` + project-line entry updated. - `build.ps1`: project ref, output dir (`out/SpireLensMcpBridge/`), banner text, install hints in the post-build message. - `README.md`: component description and install snippet. - `docs/raw-full.md`: API-reference preamble. ## Out of scope (deliberately not touched) - **`mcp/server.py` user-data AppData path `SpireLensMcp/`** — this is where user-managed saves live (`base_saves/`, `scenario_saves/`). Renaming would orphan any user-populated saves on existing installs. The bridge identity rename and the user-data layout are separate concerns; the latter deserves a migration if it's ever changed. - **C# namespace `SpireLens.Mcp`** — this is the original fork's namespace identity, documented in `AUTHORS.md`. Renaming it is a wider code change for a different reason (clarifying namespace = clarifying ownership, not bridge naming). - **`AUTHORS.md`** fork-history entry — historical record of the initial vendor commit's rename, not current state. ## Companion Pairs with the spirelens-side deploy update (separate PR) which copies the build output as `mods/SpireLensMcpBridge.{dll,json}` and adds stale-file cleanup for the old `mods/SpireLensMcp.{dll,json}` filenames on existing runners.
Sign in to join this conversation.
No description provided.