Files
Igor SirotinandClaude Fable 5 dfe8ccf3ef build: prepare 0.2.2 against delivery_module v0.2.0 (#63)
* build: prepare 0.2.2 against delivery_module v0.2.0

delivery_module v0.2.0 is tagged and about to enter logos-modules-release,
so this module moves its pin from v0.1.3 to the release it will be
installed alongside. The subset of the contract chat_module consumes
(createNode/start/subscribe/send + the messageReceived and
connectionStateChanged events) is unchanged in v0.2.0, and the flat
createNode config shape this module sends still parses, so only the pin,
the lock and the hand-maintained contract copy's version move — switching
to the published .lidl output v0.2.0 now ships stays #58's scope.

0.2.1 is tagged and released against delivery v0.1.3, so the work since
it gets a version of its own to be released under.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* fix: send the layered createNode config so ports auto-assign again

delivery_module v0.2.0 no longer injects port 0 for unpinned listening
ports (delivery-module#79 dropped it: the injected top-level keys forced
every config through the legacy flat parser and broke the layered
shapes). Our config was flat-shaped too — the top-level logLevel is a
bare kernel key — so both doc-test instances bound the fixed default
tcp/60000 (SO_REUSEPORT lets the second bind land silently), announced
the same address under different peer ids, and the exchange never
completed.

The layered app-developer shape from delivery_module's docs restores
auto-assignment: the messaging layer defaults every unpinned port to 0
(OS-assigned). logLevel moves into messagingOverrides, where the layered
grammar carries it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-04 16:34:15 +01:00

45 lines
888 B
JSON

{
"name": "chat_module",
"display_name": "Chat Module",
"version": "0.2.2",
"description": "Chat module for Logos",
"author": "Logos Core Team",
"type": "core",
"interface": "cdylib",
"category": "chat",
"main": "chat_module_plugin",
"dependencies": ["delivery_module"],
"include": [],
"capabilities": [],
"codegen": {
"lidl": "rust-lib/chat_module.lidl",
"rust": { "crate": "rust-lib" }
},
"dependency_overrides": {
"delivery_module": {
"file": "rust-lib/deps/delivery_module.lidl"
}
},
"nix": {
"external_libraries": [],
"packages": {
"build": [],
"runtime": []
},
"cmake": {
"find_packages": [],
"extra_include_dirs": []
},
"rust": {
"toolchain": "1.95.0",
"packages": {
"build": ["pkg-config", "perl", "protobuf"],
"runtime": []
}
}
}
}