Files
Dario LipicarandClaude Opus 4.8 73409fc07f doctest: Qt-free cdylib outbound (modules().<dep> over the lp_* C ABI) (#121)
* doctest: Qt-free cdylib outbound + pin cpp-sdk/plugin-qt branches

New doctest cdylib-qt-free-outbound: a C++ cdylib (cpp_relay_module) forwards
to a dependency (cpp_counter_module) through modules() — which, for a cdylib,
calls the logos-protocol lp_* C ABI directly (logos::LpClient), with no Qt in
the module code. Driven end-to-end via logoscore (addTo/peek). Added to
doctests.yml run block + README.

flake.lock pins logos-cpp-sdk feat/qt-free-outbound + logos-plugin-qt
feat/cdylib-lp-outbound (the ApiStyle::Lp generator + the cdylib apiStyle=lp
selection) so the doctest exercises the Qt-free outbound path.

* lock: cpp-sdk e1d270b (unconditional cdylib modules() wiring); doctest debug prints

* fix(cdylib): bump logos-plugin-core to the lp-outbound backend rev

The coreBackend (used by type:core modules, which is every cdylib module
in the doctest) resolves to the `logos-plugin-core` input — a second node
pointing at the same logos-plugin-qt repo. Its lock was still at 650ecfa,
the commit *before* `apiStyle = cdylib -> "lp"`, so `--general-only` ran
with `--api-style qt` and emitted the Qt (LogosAPI*-ctor) LogosModules
umbrella. The cdylib C-ABI export wrapper calls `new LogosModules()`
(no-arg, Qt-free), so dep-less cdylib modules failed to compile.

Pin logos-plugin-core to 6af8ebf (== logos-plugin-qt) so both backends
emit the Qt-free lp_* umbrella. Also drop the temporary RELAY-DBG fprintf
debugging from the cdylib-qt-free-outbound doctest.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* chore: bump logos-cpp-sdk to 3f18e82 (logos_lp_client.h in include/cpp)

Picks up the cpp-sdk fix that ships logos_lp_client.h into the include/cpp
source-export root, so cdylib modules with a dependency (whose generated
wrapper includes logos_lp_client.h -> logos_result.h) compile without the
StdLogosResult redefinition.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* chore: bump logos-cpp-sdk to f66b38b (cdylib token handshake fix)

Picks up the cpp-sdk fix routing logos_module_accept_token into the
protocol TokenManager so cdylib modules' Qt-free outbound calls
authenticate and return real results.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* chore: re-pin cpp-sdk + plugin-qt/core to master (post #88/#11 merge)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-14 00:55:49 -03:00
..