Repository navigation
refactor(bridge-rimtalk): resolve enums by name, fix About dependencies, and remove obsolete coordinator - #23
Merged
Merged
Conversation
…es, and remove obsolete coordinator
refactor: delegate bridge plumbing to Core and resolve RimTalk enums by name
Replace local reflection/registration plumbing with RimMind-Core helpers
(ExternalModBridgeCoordinator, ReflectionAccessor, SoftDependencyDetector)
and resolve RimTalk enum members by name instead of hardcoded integer
values, so the bridge no longer breaks when RimTalk reorders its enums.
- RimTalkApiShim: drop the one-shot type resolution cache in favor of
Accessor.GetCachedType; add TryResolveEnumValue and warn-once when a
nested enum or member is missing; AddPromptEntry/RegisterPawnHook now
take role/position/operation names ("System", "Relative", "Append").
- ContextPullBridge: only set IsRegistered after the provider actually
registers, honor both enableContextPull and pullRimTalkHistory, and
format role labels from ToString() instead of int mapping.
- RimMindProviderReader: null-pawn and missing-provider short-circuit,
per-category warn-once via a concurrent set, plus ResetForTesting.
- Debug actions: report source providers and registered context keys
with owner mods instead of scanning RimMind provider categories.
- Remove BridgeModuleCoordinator, the csproj deploy target, and
deploy-single.sh; deploy-single.ps1 now builds per GameVersion and
mirrors with robocopy while excluding Core/Newtonsoft assemblies.
- Tests: cover null pawns, missing nested enums, IsRegistered
boundaries, real enum names, and add RimTalk.Data role stubs.
- CI: trigger on IntegrationTests changes and allow manual dispatch.
- Docs: rewrite README/AGENTS/About to describe dialogue gating and
bidirectional context instead of bubble pipeline harmonization.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase 2 full-codebase cleanup & Water-Dispenser refactor verified locally across 1.6 & 1.7 builds and full test suite.