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.74.0

Louis Choquel49926b42e118
diff --git a/.badges/tests.json b/.badges/tests.json
index e45bc4dc0..c6c5e6ea9 100644
--- a/.badges/tests.json
+++ b/.badges/tests.json
@@ -1,7 +1,7 @@
{
"schemaVersion": 1,
"label": "tests",
- "message": "14703",
+ "message": "14311",
"color": "blue",
"cacheSeconds": 300
}
diff --git a/.test_durations b/.test_durations
index 34bc130ba..cb74aa481 100644
--- a/.test_durations
+++ b/.test_durations
@@ -504,6 +504,24 @@
"tests/integration/pipelex/libraries/test_dependency_concept_field_refs.py::TestDependencyConceptFieldRefs::test_a_crate_of_the_consumer_loads_without_its_dependency": 0.0381,
"tests/integration/pipelex/libraries/test_dependency_concept_field_refs.py::TestDependencyConceptFieldRefs::test_a_gap_in_the_dependency_s_own_dependencies_does_not_refuse_the_consumer": 0.3526,
"tests/integration/pipelex/libraries/test_dependency_concept_field_refs.py::TestDependencyConceptFieldRefs::test_consumer_field_typed_by_a_dependency_concept_is_fully_defined": 0.1087,
+ "tests/integration/pipelex/libraries/test_dependency_pipe_scope.py::TestDependencyPipeScope::test_a_bare_self_reference_to_a_failed_exported_pipe_never_falls_to_a_private_namesake": 9.7537,
+ "tests/integration/pipelex/libraries/test_dependency_pipe_scope.py::TestDependencyPipeScope::test_a_consumer_pipe_wrapping_a_dependency_pipe_of_the_same_domain_code_needs_its_inputs": 9.7639,
+ "tests/integration/pipelex/libraries/test_dependency_pipe_scope.py::TestDependencyPipeScope::test_a_crate_of_the_consumer_loads_without_its_dependency": 11.9698,
+ "tests/integration/pipelex/libraries/test_dependency_pipe_scope.py::TestDependencyPipeScope::test_a_dependency_pipe_that_fails_to_build_is_refused_naming_why": 11.9797,
+ "tests/integration/pipelex/libraries/test_dependency_pipe_scope.py::TestDependencyPipeScope::test_a_dependency_runs_its_own_helper_not_the_consumer_s": 11.9534,
+ "tests/integration/pipelex/libraries/test_dependency_pipe_scope.py::TestDependencyPipeScope::test_a_dependency_s_reference_to_another_package_is_not_validated_against_the_consumer_s": 11.9782,
+ "tests/integration/pipelex/libraries/test_dependency_pipe_scope.py::TestDependencyPipeScope::test_a_dependency_with_an_internal_controller_loads_alone": 9.7521,
+ "tests/integration/pipelex/libraries/test_dependency_pipe_scope.py::TestDependencyPipeScope::test_a_missing_pipe_of_a_loaded_dependency_is_refused": 9.7659,
+ "tests/integration/pipelex/libraries/test_dependency_pipe_scope.py::TestDependencyPipeScope::test_two_packages_declaring_the_same_domain_code_each_call_their_own": 11.9761,
+ "tests/integration/pipelex/libraries/test_dependency_private_pipes.py::TestDependencyPrivatePipes::test_a_consumer_cannot_reference_a_private_helper": 11.9699,
+ "tests/integration/pipelex/libraries/test_dependency_private_pipes.py::TestDependencyPrivatePipes::test_a_private_helper_named_through_the_package_alias_travels_with_its_caller": 11.9759,
+ "tests/integration/pipelex/libraries/test_dependency_private_pipes.py::TestDependencyPrivatePipes::test_a_private_pipe_nothing_public_reaches_is_not_loaded": 9.7673,
+ "tests/integration/pipelex/libraries/test_dependency_private_pipes.py::TestDependencyPrivatePipes::test_a_private_pipe_sharing_an_exported_pipe_s_code_does_not_make_a_bare_reference_ambiguous": 9.7682,
+ "tests/integration/pipelex/libraries/test_dependency_private_pipes.py::TestDependencyPrivatePipes::test_a_reference_to_a_withheld_private_pipe_is_refused_as_unexported[github.com/invented/probe-lib/probe->orphan]": 11.9688,
+ "tests/integration/pipelex/libraries/test_dependency_private_pipes.py::TestDependencyPrivatePipes::test_a_reference_to_a_withheld_private_pipe_is_refused_as_unexported[github.com/invented/probe-lib/probe->probe_dep.orphan]": 9.7633,
+ "tests/integration/pipelex/libraries/test_dependency_private_pipes.py::TestDependencyPrivatePipes::test_an_exported_controller_runs_its_private_helper": 9.7808,
+ "tests/integration/pipelex/libraries/test_dependency_private_pipes.py::TestDependencyPrivatePipes::test_exports_are_scoped_by_domain": 11.9715,
+ "tests/integration/pipelex/libraries/test_dependency_private_pipes.py::TestDependencyPrivatePipes::test_the_entry_door_reaches_a_private_helper_by_hand": 9.7622,
"tests/integration/pipelex/libraries/test_hosted_pipe_func_load.py::TestHostedPipeFuncLoad::test_hosted_load_captures_source_without_registering": 1.5245,
"tests/integration/pipelex/libraries/test_hosted_pipe_func_load.py::TestHostedPipeFuncLoad::test_hosted_load_rejects_colliding_source_paths": 0.1507,
"tests/integration/pipelex/libraries/test_hosted_structures_refusal.py::TestHostedStructuresRefusal::test_direct_mode_imports_the_structure_class": 0.1034,
@@ -3858,16 +3876,23 @@
"tests/unit/pipelex/cogt/img_gen/test_img_gen_size_parsing.py::TestImgGenSizeParsing::test_serialization_round_trip[size_value4]": 0.0008,
"tests/unit/pipelex/cogt/img_gen/test_img_gen_size_parsing.py::TestImgGenSizeParsing::test_unset_size_round_trip": 0.1081,
"tests/unit/pipelex/cogt/img_gen/test_img_gen_worker_config_faults.py::TestImgGenWorkerConfigFaults::test_unusable_model_spec_is_a_configuration_fault[azure-None-does not have rules configured]": 0.0033,
+ "tests/unit/pipelex/cogt/img_gen/test_img_gen_worker_config_faults.py::TestImgGenWorkerConfigFaults::test_unusable_model_spec_is_a_configuration_fault[azure-rules7-unknown aspect_ratio taxonomy 'gemini_9_turbo']": 0.0057,
"tests/unit/pipelex/cogt/img_gen/test_img_gen_worker_config_faults.py::TestImgGenWorkerConfigFaults::test_unusable_model_spec_is_a_configuration_fault[azure-rules9-unknown aspect_ratio taxonomy 'gemini_9_turbo']": 0.0026,
"tests/unit/pipelex/cogt/img_gen/test_img_gen_worker_config_faults.py::TestImgGenWorkerConfigFaults::test_unusable_model_spec_is_a_configuration_fault[fal-None-does not have rules configured]": 0.0026,
"tests/unit/pipelex/cogt/img_gen/test_img_gen_worker_config_faults.py::TestImgGenWorkerConfigFaults::test_unusable_model_spec_is_a_configuration_fault[fal-rules11-unknown prompt taxonomy 'weird']": 0.0047,
+ "tests/unit/pipelex/cogt/img_gen/test_img_gen_worker_config_faults.py::TestImgGenWorkerConfigFaults::test_unusable_model_spec_is_a_configuration_fault[fal-rules4-must include a 'model_choice' entry]": 0.3457,
"tests/unit/pipelex/cogt/img_gen/test_img_gen_worker_config_faults.py::TestImgGenWorkerConfigFaults::test_unusable_model_spec_is_a_configuration_fault[fal-rules5-must include a 'model_choice' entry]": 0.0031,
+ "tests/unit/pipelex/cogt/img_gen/test_img_gen_worker_config_faults.py::TestImgGenWorkerConfigFaults::test_unusable_model_spec_is_a_configuration_fault[fal-rules9-unknown prompt taxonomy 'weird']": 0.0101,
"tests/unit/pipelex/cogt/img_gen/test_img_gen_worker_config_faults.py::TestImgGenWorkerConfigFaults::test_unusable_model_spec_is_a_configuration_fault[huggingface-None-does not have rules configured]": 0.0032,
+ "tests/unit/pipelex/cogt/img_gen/test_img_gen_worker_config_faults.py::TestImgGenWorkerConfigFaults::test_unusable_model_spec_is_a_configuration_fault[huggingface-rules10-unknown prompt taxonomy 'weird']": 0.3468,
"tests/unit/pipelex/cogt/img_gen/test_img_gen_worker_config_faults.py::TestImgGenWorkerConfigFaults::test_unusable_model_spec_is_a_configuration_fault[huggingface-rules12-unknown prompt taxonomy 'weird']": 0.0033,
+ "tests/unit/pipelex/cogt/img_gen/test_img_gen_worker_config_faults.py::TestImgGenWorkerConfigFaults::test_unusable_model_spec_is_a_configuration_fault[huggingface-rules5-must include a 'model_choice' entry]": 0.0059,
"tests/unit/pipelex/cogt/img_gen/test_img_gen_worker_config_faults.py::TestImgGenWorkerConfigFaults::test_unusable_model_spec_is_a_configuration_fault[huggingface-rules6-must include a 'model_choice' entry]": 0.0028,
"tests/unit/pipelex/cogt/img_gen/test_img_gen_worker_config_faults.py::TestImgGenWorkerConfigFaults::test_unusable_model_spec_is_a_configuration_fault[openai-None-does not have rules configured]": 0.0676,
"tests/unit/pipelex/cogt/img_gen/test_img_gen_worker_config_faults.py::TestImgGenWorkerConfigFaults::test_unusable_model_spec_is_a_configuration_fault[openai-rules10-unknown prompt taxonomy 'weird']": 0.0039,
+ "tests/unit/pipelex/cogt/img_gen/test_img_gen_worker_config_faults.py::TestImgGenWorkerConfigFaults::test_unusable_model_spec_is_a_configuration_fault[openai-rules6-unknown aspect_ratio taxonomy 'gemini_9_turbo']": 0.3345,
"tests/unit/pipelex/cogt/img_gen/test_img_gen_worker_config_faults.py::TestImgGenWorkerConfigFaults::test_unusable_model_spec_is_a_configuration_fault[openai-rules7-unknown aspect_ratio taxonomy 'gemini_9_turbo']": 0.0035,
+ "tests/unit/pipelex/cogt/img_gen/test_img_gen_worker_config_faults.py::TestImgGenWorkerConfigFaults::test_unusable_model_spec_is_a_configuration_fault[openai-rules8-unknown prompt taxonomy 'weird']": 0.3385,
"tests/unit/pipelex/cogt/img_gen/test_img_gen_worker_factory.py::TestImgGenWorkerFactory::test_azure_rest_builds_worker_without_registry": 0.0031,
"tests/unit/pipelex/cogt/img_gen/test_img_gen_worker_factory.py::TestImgGenWorkerFactory::test_cached_sdk_instance_skips_client_factory": 0.0038,
"tests/unit/pipelex/cogt/img_gen/test_img_gen_worker_factory.py::TestImgGenWorkerFactory::test_fal_builds_async_client_with_api_key": 0.0022,
@@ -6845,6 +6870,7 @@
"tests/unit/pipelex/errors/test_validation_error_types.py::TestValidationErrorTypeRegistry::test_every_registered_type_is_accepted_by_its_wire_value[optional_not_handled]": 1.2372,
"tests/unit/pipelex/errors/test_validation_error_types.py::TestValidationErrorTypeRegistry::test_every_registered_type_is_accepted_by_its_wire_value[optional_output_required]": 0.0009,
"tests/unit/pipelex/errors/test_validation_error_types.py::TestValidationErrorTypeRegistry::test_every_registered_type_is_accepted_by_its_wire_value[template_private_name]": 0.0551,
+ "tests/unit/pipelex/errors/test_validation_error_types.py::TestValidationErrorTypeRegistry::test_every_registered_type_is_accepted_by_its_wire_value[unexported_pipe_dependency]": 0.1291,
"tests/unit/pipelex/errors/test_validation_error_types.py::TestValidationErrorTypeRegistry::test_every_registered_type_is_accepted_by_its_wire_value[unknown_concept]": 0.0203,
"tests/unit/pipelex/errors/test_validation_error_types.py::TestValidationErrorTypeRegistry::test_every_registered_type_is_accepted_by_its_wire_value[unknown_factory_error]": 0.0146,
"tests/unit/pipelex/errors/test_validation_error_types.py::TestValidationErrorTypeRegistry::test_every_registered_type_is_accepted_by_its_wire_value[unknown_model]": 0.0872,
@@ -7775,12 +7801,21 @@
"tests/unit/pipelex/libraries/test_crate_qualification.py::TestCrateQualification::test_special_outcomes_pass_through_untouched": 0.0016,
"tests/unit/pipelex/libraries/test_crate_qualification.py::TestCrateQualification::test_string_described_concept_passes_through": 0.0012,
"tests/unit/pipelex/libraries/test_crate_qualification.py::TestCrateQualification::test_structure_field_refs": 0.0021,
+ "tests/unit/pipelex/libraries/test_crate_qualification_under_package_alias.py::TestCrateQualificationUnderAPackageAlias::test_concept_refs_are_not_aliased": 0.0046,
+ "tests/unit/pipelex/libraries/test_crate_qualification_under_package_alias.py::TestCrateQualificationUnderAPackageAlias::test_every_controller_kind_is_aliased": 0.3297,
+ "tests/unit/pipelex/libraries/test_crate_qualification_under_package_alias.py::TestCrateQualificationUnderAPackageAlias::test_is_idempotent": 0.3455,
+ "tests/unit/pipelex/libraries/test_crate_qualification_under_package_alias.py::TestCrateQualificationUnderAPackageAlias::test_special_outcomes_and_already_aliased_refs_are_left_alone": 0.0037,
"tests/unit/pipelex/libraries/test_dependency_multi_file_reconciliation.py::TestDependencyMultiFileReconciliation::test_signature_and_concrete_sibling_reconcile_to_concrete": 0.9559,
"tests/unit/pipelex/libraries/test_dependency_multi_file_reconciliation.py::TestDependencyMultiFileReconciliation::test_two_concrete_definitions_raise": 0.1589,
"tests/unit/pipelex/libraries/test_dependency_multi_file_reconciliation.py::TestDependencyMultiFileReconciliation::test_typeless_header_and_concrete_sibling_reconcile_to_concrete": 0.1551,
"tests/unit/pipelex/libraries/test_dependency_pipe_build_refusals.py::TestDependencyPipeBuildRefusals::test_other_input_refusal_in_a_dependency_pipe_is_located": 0.0049,
"tests/unit/pipelex/libraries/test_dependency_pipe_build_refusals.py::TestDependencyPipeBuildRefusals::test_unknown_model_in_a_dependency_helper_names_the_authored_pipe": 0.0068,
"tests/unit/pipelex/libraries/test_dependency_pipe_build_refusals.py::TestDependencyPipeBuildRefusals::test_unknown_model_in_a_dependency_pipe_names_the_dependency_file": 0.1217,
+ "tests/unit/pipelex/libraries/test_dependency_pipe_reachability.py::TestDependencyPipeReachability::test_a_cycle_terminates": 0.0022,
+ "tests/unit/pipelex/libraries/test_dependency_pipe_reachability.py::TestDependencyPipeReachability::test_a_ref_without_its_domain_follows_only_the_exported_match_when_there_is_one": 0.002,
+ "tests/unit/pipelex/libraries/test_dependency_pipe_reachability.py::TestDependencyPipeReachability::test_a_ref_without_its_domain_reaches_every_pipe_of_that_code": 0.3206,
+ "tests/unit/pipelex/libraries/test_dependency_pipe_reachability.py::TestDependencyPipeReachability::test_every_controller_kind_is_followed_across_several_hops": 0.1328,
+ "tests/unit/pipelex/libraries/test_dependency_pipe_reachability.py::TestDependencyPipeReachability::test_refs_outside_the_package_or_to_undeclared_pipes_are_not_followed": 0.0007,
"tests/unit/pipelex/libraries/test_dependency_preliminary_text_export.py::TestDependencyPreliminaryTextExport::test_synthetic_helpers_are_filtered_when_parent_is_not_exported": 0.1714,
"tests/unit/pipelex/libraries/test_dependency_preliminary_text_export.py::TestDependencyPreliminaryTextExport::test_synthetic_helpers_load_when_parent_is_exported": 0.811,
"tests/unit/pipelex/libraries/test_dependency_ref_qualification.py::TestDependencyRefQualification::test_dependency_in_body_ref_is_qualified_to_its_own_domain": 1.089,
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4ab140e28..33f613480 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,15 +1,15 @@
# Changelog
-## [Unreleased]
-
-### Changed
-
-- **The hosted-only inference provider plugin is no longer shipped (Breaking)**: its built-in plugin, its sdk tokens, its error classes and their reference pages, and the `PipelexBackend` member naming its backend are removed, leaving `PipelexBackend.INTERNAL` alone. A project config that still declares the hosted backend disabled, or a routing profile that names it but is not active, keeps booting; a model spec naming one of its sdk tokens now fails when its worker is built, unless a plugin of your own registers that token.
+## [v0.74.0] - 2026-10-05
### Added
- **A reference to a package's private pipe is refused as unexported**: a consumer naming a pipe that a loaded dependency package declares but does not export is refused at load with the new `PipeValidationErrorType` value `unexported_pipe_dependency`, whose item names the referring pipe in `pipe_code` and the reference in `missing_pipe_code`.
+### Changed
+
+- **The hosted-only inference provider plugin is no longer shipped (Breaking)**: its built-in plugin, its sdk tokens, its error classes and their reference pages, and the `PipelexBackend` member naming its backend are removed, leaving `PipelexBackend.INTERNAL` alone. A project config that still declares the hosted backend disabled, or a routing profile that names it but is not active, keeps booting; a model spec naming one of its sdk tokens now fails when its worker is built, unless a plugin of your own registers that token.
+
### Fixed
- **A dependency package's pipes call their own sub-pipes**: a sequence, parallel, condition or batch inside an installed package now reaches the package's own pipe, stored as `alias->domain.code`, where it used to look the plain `domain.code` up in the consumer's library. A package whose controllers call its own pipes, such as `github.com/Pipelex/methods/documents` from 0.1.3, no longer fails to load with `PipeNotFoundError`, and a consumer pipe of the same domain and code is no longer run in the package's place.
diff --git a/docs/api-server/openapi/pipelex-api.openapi.yaml b/docs/api-server/openapi/pipelex-api.openapi.yaml
index 0634d5a63..a53507dc3 100644
--- a/docs/api-server/openapi/pipelex-api.openapi.yaml
+++ b/docs/api-server/openapi/pipelex-api.openapi.yaml
@@ -11,7 +11,7 @@ info:
license:
name: Elastic License 2.0
identifier: Elastic-2.0
- version: 0.73.0
+ version: 0.74.0
paths:
/health:
get:
diff --git a/pyproject.toml b/pyproject.toml
index 47095bef0..c5ee9665f 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "pipelex"
-version = "0.73.0"
+version = "0.74.0"
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]" }]
diff --git a/uv.lock b/uv.lock
index 8cce70a61..7de3f1a1f 100644
--- a/uv.lock
+++ b/uv.lock
@@ -3530,7 +3530,7 @@ wheels = [
[[package]]
name = "pipelex"
-version = "0.73.0"
+version = "0.74.0"
source = { editable = "." }
dependencies = [
{ name = "aiofiles" },