mirror of
https://github.com/logos-co/logos-capability-module.git
synced 2026-08-27 10:41:08 +00:00
* Identify requestModule caller from the RPC token, not fromModuleName. fromModuleName is leftover ABI: any loaded allowlisted name could be written there. Use logos::currentCaller() (host → core) for policy and the token push instead. Co-authored-by: Cursor <cursoragent@cursor.com> * chore(deps): follow logos-cpp-sdk master for logos_caller.h module-builder's lock still had cpp-sdk 95d7b3, which does not ship the caller header requestModule now includes. Follow cpp-sdk master (937f17, #151). Co-authored-by: Cursor <cursoragent@cursor.com> * fix(identity): fall back when mocks/old hosts omit the caller Direct impl tests and logoscore doctests do not always run under logos_module_set_call_caller. Use fromModuleName only in that case; a named currentCaller still wins, so spoofing the leftover ABI stays denied. Also follow qt-sdk, plugin-qt, protocol, and lidl master so qt-generator sees lidl/identity.hpp and the generated glue actually pushes the caller document. Co-authored-by: Cursor <cursoragent@cursor.com> * Revert fromModuleName fallback; simulate identity with CallCaller. requestModule identity is only logos::currentCaller(). Tests (and every other C++ module) open that stack with logos::CallCaller, the same push generated RPC glue performs. Pin cpp-sdk feat/call-caller-raii for that type until #152 lands. Co-authored-by: Cursor <cursoragent@cursor.com> * Take CallCaller from logos-test-framework, not cpp-sdk. The production SDK has no CallCaller; unit tests get the RAII stand-in via logos_test.h. Pin the test-framework branch until that lands on master. Co-authored-by: Cursor <cursoragent@cursor.com> * Track logos-test-framework master now that CallCaller landed (#7). Co-authored-by: Cursor <cursoragent@cursor.com> * Point the composition doctest at a host that actually injects the caller. logoscore-cli's lock still predates CallerScope and currentCallerJson, so requestModule saw Unknown and returned empty. Override protocol, plugin-qt, and the SDKs onto master for that build — the same dispatch path, not a fallback in capability. Co-authored-by: Cursor <cursoragent@cursor.com> * Rebuild logos_host via liblogos #186; root plugin-qt overrides never reached it. logoscore-cli does not follows plugin-qt into liblogos, so logos_host kept shipping without currentCallerJson. Pin liblogos to the protocol-0.8 branch and keep dumping the daemon log if this still fails. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Cursor <cursoragent@cursor.com>