Skip to content

Build AI methods with your coding agent, then run them anywhere: as an MCP for chatbots, as a webapp for people, or via API for your software.

Release v0.23.4

Louis Choquel8094a2348c94
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7c8be5a04..fa8e76ed7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,11 @@
# Changelog
+## [v0.23.4] - 2026-04-02
+
+### Changed
+
+- **Pipe spec output alias**: Removed `output_type` alias from `parse_pipe_spec`, keeping only `output_concept` as the single alias for the `output` field. Simplified the alias resolution logic accordingly.
+
## [v0.23.3] - 2026-04-02
### Changed
diff --git a/pipelex/builder/operations/pipe_ops.py b/pipelex/builder/operations/pipe_ops.py
index beea6faad..61a868843 100644
--- a/pipelex/builder/operations/pipe_ops.py
+++ b/pipelex/builder/operations/pipe_ops.py
@@ -28,8 +28,8 @@ from pipelex.builder.pipe.pipe_spec_map import pipe_type_to_spec_class
# Aliases that agents may use instead of "pipe_code". First found is promoted when canonical key is absent; extras are dropped.
_PIPE_CODE_ALIASES = ("pipe", "the_pipe_code", "code", "name", "pipe_name", "pipe_ref")
-# Aliases that agents may use instead of "output".
-_OUTPUT_ALIASES = ("output_concept", "output_type")
+# Alias that agents may use instead of "output".
+_OUTPUT_ALIAS = "output_concept"
def _normalize_sub_pipe_dict(data: dict[str, Any]) -> None:
@@ -110,19 +110,17 @@ def parse_pipe_spec(pipe_type: str, spec_data: dict[str, Any]) -> PipeSpec:
else:
spec_data.pop("expression")
- # Accept output aliases (e.g. "output_concept", "output_type") → promote to "output".
- # When both "output" and an alias coexist, try the alias value first (agents often put
+ # Accept "output_concept" as an alias for "output".
+ # When both "output" and the alias coexist, try the alias value first (agents often put
# the correct concept name in the alias), falling back to the original "output" value.
output_fallback: Any | None = None
- for alias in _OUTPUT_ALIASES:
- if alias in spec_data:
- alias_value = spec_data.pop(alias)
- if "output" not in spec_data:
- spec_data["output"] = alias_value
- else:
- output_fallback = spec_data["output"]
- spec_data["output"] = alias_value
- break
+ if _OUTPUT_ALIAS in spec_data:
+ alias_value = spec_data.pop(_OUTPUT_ALIAS)
+ if "output" not in spec_data:
+ spec_data["output"] = alias_value
+ else:
+ output_fallback = spec_data["output"]
+ spec_data["output"] = alias_value
# Accept output as dict → extract the concept string
# Agents sometimes structure the output like inputs (as a dict).
diff --git a/pyproject.toml b/pyproject.toml
index 15ed9d853..22ce7e0de 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "pipelex"
-version = "0.23.3"
+version = "0.23.4"
description = "Execute composable AI methods declared in the MTHDS open standard"
authors = [{ name = "Evotis S.A.S.", email = "[email protected]" }]
maintainers = [{ name = "Pipelex staff", email = "[email protected]" }]