CLI
This release adds configurable CLI logging with clean stdout/stderr separation, OTLP protobuf ingestion for the local telemetry server, MCP server reliability improvements, and a lighter, modernized pure-ESM package footprint.
New Features
- Global
--log-levelOption: Added a--log-level <level>flag (debug,info,warn,error) andGENKIT_LOG_LEVELenvironment variable to control log verbosity across the CLI and its internal servers. - OTLP Protobuf Support in Local Telemetry Server: Added
application/x-protobufingestion on/api/otlp/v1/tracesand/api/otlp/v1/logs(with/api/otlp/v1/metricsacknowledged), and switchedgenkit start --otelto export usinghttp/protobuffor out-of-the-box compatibility with Go, Python, Java, and JS OpenTelemetry SDKs. - Streamlined Genkit MCP Tools: Updated
start_runtime,list_flows, andrun_flowMCP tool descriptions with multi-language runtime examples and clearer JSON input guidance, and removed the redundantget_usage_guidetool in favor of the live Genkit documentation tools (search_genkit_docs,list_genkit_docs,read_genkit_docs). - Smaller Footprint & Modernized Runtime: Migrated CLI packages to pure ESM (requiring Node.js
>=20.19.0), modernized core runtime dependencies, and replaced the logging backend with a lightweight built-in logger—cuttinggenkit-cliunpacked size by ~19% and removing 25 transitive dependencies for faster installs.
Fixes
- Clean
stdout/stderrOutput Separation: Routed all CLI logs and status messages tostderrsostdoutremains clean for piping command output (such as JSON fromflow:run,trace:get, andtrace:list). - MCP Server Startup & Telemetry Reuse: Skipped notifications when running
genkit mcpsostdiotransport stays uninterrupted, and reused the local telemetry server across MCP runtime starts and restarts. - Loopback Telemetry Port Probing: Probed and bound the local telemetry server explicitly on
127.0.0.1to prevent port-detection mismatches on dual-stack or restricted hosts. - Deprecated
genkit init:ai-tools: Replacedgenkit init:ai-toolswith a deprecation notice pointing to Genkit Agent Skills (npx skills add genkit-ai/skills) andgenkit mcp, and added a startup warning when an outdated legacyGENKIT.mdfile is detected in a workspace.
Dev UI
This release adds full support for the A2UI 1.0 protocol and improves overall UI responsiveness with a lighter client runtime.
New Features
- A2UI 1.0 Protocol Support: Added full support for A2UI
v1.0alongsidev0.9in message previews and inspectors, including the A2UI 1.0 Basic Catalog, inlinecomponentsand initialdataModeloncreateSurfacemessages,@pathdata bindings, schema validation, and{ messages }payload wrappers (in addition to bare arrays and legacy{ envelopes }payloads). - Faster, Lighter Runtime: Removed legacy change-detection runtime overhead for a smaller client bundle and snappier responsiveness across the Developer UI.