* feat(telemetry): configurable and implicit session ID ingestion
Support ingesting session and client identifiers from configured headers
(telemetry.session.headers.id and telemetry.session.headers.client) and
built-in agent headers (x-opencode-session, x-session-id, mcp-session-id,
etc.) when omitted from request body. Emit standard session.id, user.id,
and gen_ai.conversation.id attributes with client namespacing.
* feat(telemetry): capture structured tool calls in LLM output messages
Extract tool calls across streaming SSE deltas and non-streaming chat
responses. Populate standard OpenInference (llm.output_messages.*.tool_calls)
span attributes, clamp attribute lengths to telemetry.max_attribute_length,
and serialize tool calls into output.value when content is empty so trace
viewers display tool invocations.
* feat(server,cli): add discovery and broadcast controls with config decoupling
Add configuration and CLI controls to enable or disable server UDP beacon broadcasting (lemond --broadcast / --no-broadcast) and client auto-discovery (lemonade --discovery / --no-discovery). Broadcast state is configured via a new broadcast boolean key (defaulting to true) with backward-compatible normalization for no_broadcast. Transient CLI startup overrides are isolated in process memory to prevent leaking into persistent config.json on dynamic configuration updates.
* fix(server): add seamless legacy no_broadcast config migration and ctor normalization
* docs: sync generated backend configuration boilerplate
* fix(server): track effective broadcast state changes and expand migration tests
* fix(server): normalize legacy keys per source before defaults merge
* feat(telemetry): add unified OTLP telemetry
Introduce a unified, lightweight, zero-dependency telemetry layer to
replace the legacy openinference namespace. Group OTLP transport
options under a nested otlp object, and replace the format string
with a semantics list (allowing multiple active tracing conventions).
This implementation:
1. Allows users to specify semantics: [openinference, otel_genai].
2. Collects and compiles trace attributes for OpenInference and
OpenTelemetry GenAI in a single pass when both are active.
3. Integrates queue capacity, retry/backoff, and batch exporting.
4. Refactors code structure, C++ config unit tests, python integration
tests, CLI commands, and markdown documentation.
* build: globally define NOMINMAX on Windows in CMake