mirror of
https://github.com/logos-co/logos-logoscore-cli.git
synced 2026-08-30 20:31:09 +00:00
* Surface module events in module-info module-info now reports a module's events alongside its methods. The core_service gateway calls the wrapped module's getPluginEvents introspection and threads the result into the module-info payload, and the client prints an Events section (name + params, no return type, plus the per-event description) after Methods. - core_service_impl: getModuleInfo also invokeRemoteMethod(name, "getPluginEvents") -> info["events"]. - output: print an Events section mirroring Methods (multi-line descriptions preserved, indented). - docs: README + spec event examples. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * Fix off-by-one in description rendering; add events output test Address review feedback (#38): - output: the multi-line description loop used 'start <= size()', which printed an extra blank indented line when a description ended with a trailing newline. Use a strict '<' bound (applied to both the methods and events loops). - test_output: new human-mode test asserts the Events section renders 'name(params)' with no return arrow and preserves a multi-line description. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>