pyvider 2025-11-04
Migrated CLI output from `click
94 files · 1,652+ · 3,610-

Migrated to provide-foundation Console Output

10 files changed
  • settings.local.json Updated settings.local.json (+8/-4 lines)
  • .gitignore Added .gitignore (+3 lines)
  • Makefile Added Makefile (+13 lines)
  • ai2.sh Removed content from ai2.sh (-1642 lines)
  • components_commands.py Updated components_commands.py (+4/-4 lines)
  • install_command.py Updated install_command.py (+13/-23 lines)
  • launch_context_command.py Updated launch_context_command.py (+42/-41 lines)
  • main.py Updated main.py (+35/-4 lines)
  • provide_command.py Updated provide_command.py (+56/-57 lines)
  • utils.py Added utils.py (+5 lines)
  • Replaced click.secho() calls with pout() from provide.foundation.console across multiple CLI modules: decouple behavioral
    1 file
    • provide.foundation.console

Encryption Docstring Fix

24 files changed
  • cli.md Removed content from cli.md (-10 lines)
  • common.md Removed content from common.md (-10 lines)
  • index.md Removed content from index.md (-13 lines)
  • data_sources.md Removed content from data_sources.md (-10 lines)
  • ephemerals.md Removed content from ephemerals.md (-9 lines)
  • exceptions.md Removed content from exceptions.md (-52 lines)
  • functions.md Removed content from functions.md (-10 lines)
  • hub.md Removed content from hub.md (-10 lines)
  • index.md Removed content from index.md (-10 lines)
  • observability.md Removed content from observability.md (-30 lines)
  • index.md Removed content from index.md (-10 lines)
  • index.md Removed content from index.md (-10 lines)
  • resources.md Removed content from resources.md (-10 lines)
  • index.md Removed content from index.md (-10 lines)
  • types.md Removed content from types.md (-10 lines)
  • README.md Removed content from README.md (-79 lines)
  • bundling-components.md Removed content from bundling-components.md (-85 lines)
  • capability-composition.md Removed content from capability-composition.md (-31 lines)
  • capability-lifecycle.md Removed content from capability-lifecycle.md (-20 lines)
  • capability-marketplace.md Removed content from capability-marketplace.md (-74 lines)
  • creating-capabilities.md Removed content from creating-capabilities.md (-29 lines)
  • using-capabilities.md Removed content from using-capabilities.md (-76 lines)
  • guidelines.md Removed content from guidelines.md (-1 lines)
  • mkdocs.yml Updated mkdocs.yml (+6/-4 lines)
  • Changed bracket notation in encryption format documentation from [1 byte: version][16 bytes: salt]... to 1 byte (version) + 16 bytes (salt)... to avoid RST/docstring rendering issues specify errata
    106 files
    • settings.local.json
    • .gitignore
    • .mutmut-config.py
    • Makefile
    • cli.md
    • common.md
    • index.md
    • data_sources.md
    • ephemerals.md
    • exceptions.md
    • functions.md
    • hub.md
    • index.md
    • observability.md
    • index.md
    • index.md
    • resources.md
    • index.md
    • types.md
    • README.md
    • bundling-components.md
    • capability-composition.md
    • capability-lifecycle.md
    • capability-marketplace.md
    • creating-capabilities.md
    • using-capabilities.md
    • guidelines.md
    • installation.md
    • mkdocs.yml
    • check_doc_links.py
    • ai2.sh
    • components_commands.py
    • install_command.py
    • launch_context_command.py
    • main.py
    • provide_command.py
    • encryption.py
    • utils.py
    • test_cli_utils.py
    • test_context.py
    • test_launch_context_command.py
    • test_provide_command.py
    • test_pyvider_cli.py
    • test_availability.py
    • test_base_context.py
    • test_config.py
    • test_encryption_unit.py
    • test_launch_context.py
    • test_launch_context_extra.py
    • conftest.py
    • test_terraform_conversion.py
    • test_base_data_source.py
    • test_exceptions_hierarchy.py
    • test_diagnostics_api.py
    • test_private_state_encryption.py
    • test_schema_caching.py
    • test_base_function.py
    • test_base_function_complete.py
    • test_function_adapters_extraction.py
    • test_function_adapters_types.py
    • test_discovery.py
    • test_handler_metrics.py
    • test_cty_conversions.py
    • test_function_adapter.py
    • test_service.py
    • test_pyvider_provider.py
    • test_base_resource.py
    • test_base_resource_conversion.py
    • test_base_resource_lifecycle.py
    • test_protocol.py
    • test_resource_protocol.py
    • test_tdd_ephemeral_resource_lifecycle.py
    • test_tdd_private_state.py
    • test_tdd_private_state_in_read.py
    • test_tdd_private_state_lifecycle.py
    • test_tdd_resource_context_contract.py
    • test_factory_helpers.py
    • test_transforms.py
    • test_transformation_operations.py
    • test_tdd_capability_association.py
    • test_handler_core.py
    • test_handler_resources.py
    • test_version.py
    • test_dict_to_proto_function.py
    • conftest.py
    • test_apply_resource_change_advanced.py
    • test_apply_resource_change_core.py
    • test_call_function_advanced.py
    • test_call_function_core.py
    • test_close_ephemeral_resource.py
    • test_configure_provider.py
    • test_enhanced_error_messages.py
    • test_get_functions.py
    • test_get_metadata.py
    • test_get_provider_schema.py
    • test_handler_utils_diagnostics.py
    • test_import_resource_state.py
    • test_move_resource_state.py
    • test_open_ephemeral_resource.py
    • test_plan_resource_change_basic.py
    • test_plan_resource_change_implementation.py
    • test_read_data_source.py
    • test_read_resource.py
    • test_renew_ephemeral_resource.py
    • test_stop_provider.py
    • test_structured_logging.py
  • Applied to module docstring and encrypt()/decrypt() method docstrings specify errata
    106 files
    • settings.local.json
    • .gitignore
    • .mutmut-config.py
    • Makefile
    • cli.md
    • common.md
    • index.md
    • data_sources.md
    • ephemerals.md
    • exceptions.md
    • functions.md
    • hub.md
    • index.md
    • observability.md
    • index.md
    • index.md
    • resources.md
    • index.md
    • types.md
    • README.md
    • bundling-components.md
    • capability-composition.md
    • capability-lifecycle.md
    • capability-marketplace.md
    • creating-capabilities.md
    • using-capabilities.md
    • guidelines.md
    • installation.md
    • mkdocs.yml
    • check_doc_links.py
    • ai2.sh
    • components_commands.py
    • install_command.py
    • launch_context_command.py
    • main.py
    • provide_command.py
    • encryption.py
    • utils.py
    • test_cli_utils.py
    • test_context.py
    • test_launch_context_command.py
    • test_provide_command.py
    • test_pyvider_cli.py
    • test_availability.py
    • test_base_context.py
    • test_config.py
    • test_encryption_unit.py
    • test_launch_context.py
    • test_launch_context_extra.py
    • conftest.py
    • test_terraform_conversion.py
    • test_base_data_source.py
    • test_exceptions_hierarchy.py
    • test_diagnostics_api.py
    • test_private_state_encryption.py
    • test_schema_caching.py
    • test_base_function.py
    • test_base_function_complete.py
    • test_function_adapters_extraction.py
    • test_function_adapters_types.py
    • test_discovery.py
    • test_handler_metrics.py
    • test_cty_conversions.py
    • test_function_adapter.py
    • test_service.py
    • test_pyvider_provider.py
    • test_base_resource.py
    • test_base_resource_conversion.py
    • test_base_resource_lifecycle.py
    • test_protocol.py
    • test_resource_protocol.py
    • test_tdd_ephemeral_resource_lifecycle.py
    • test_tdd_private_state.py
    • test_tdd_private_state_in_read.py
    • test_tdd_private_state_lifecycle.py
    • test_tdd_resource_context_contract.py
    • test_factory_helpers.py
    • test_transforms.py
    • test_transformation_operations.py
    • test_tdd_capability_association.py
    • test_handler_core.py
    • test_handler_resources.py
    • test_version.py
    • test_dict_to_proto_function.py
    • conftest.py
    • test_apply_resource_change_advanced.py
    • test_apply_resource_change_core.py
    • test_call_function_advanced.py
    • test_call_function_core.py
    • test_close_ephemeral_resource.py
    • test_configure_provider.py
    • test_enhanced_error_messages.py
    • test_get_functions.py
    • test_get_metadata.py
    • test_get_provider_schema.py
    • test_handler_utils_diagnostics.py
    • test_import_resource_state.py
    • test_move_resource_state.py
    • test_open_ephemeral_resource.py
    • test_plan_resource_change_basic.py
    • test_plan_resource_change_implementation.py
    • test_read_data_source.py
    • test_read_resource.py
    • test_renew_ephemeral_resource.py
    • test_stop_provider.py
    • test_structured_logging.py

Widespread Type Annotation Improvements

60 files changed
  • encryption.py Updated encryption.py (+3/-3 lines)
  • test_diagnostics_api.py Updated test_diagnostics_api.py (+4/-4 lines)
  • test_private_state_encryption.py Updated test_private_state_encryption.py (+10/-7 lines)
  • test_schema_caching.py Updated test_schema_caching.py (+4/-2 lines)
  • test_base_function_complete.py Updated test_base_function_complete.py (+15/-13 lines)
  • test_discovery.py Updated test_discovery.py (+26/-22 lines)
  • test_handler_metrics.py Updated test_handler_metrics.py (+13/-10 lines)
  • test_cty_conversions.py Updated test_cty_conversions.py (+20/-18 lines)
  • test_service.py Updated test_service.py (+21/-21 lines)
  • test_pyvider_provider.py Updated test_pyvider_provider.py (+1/-1 lines)
  • test_protocol.py Updated test_protocol.py (+7/-5 lines)
  • test_structured_logging.py Updated test_structured_logging.py (+104/-92 lines)
  • test_cli_utils.py Updated test_cli_utils.py (+1/-1 lines)
  • test_context.py Updated test_context.py (+3/-8 lines)
  • test_provide_command.py Updated test_provide_command.py (+15/-13 lines)
  • test_availability.py Updated test_availability.py (+5/-4 lines)
  • test_config.py Updated test_config.py (+16/-21 lines)
  • test_encryption_unit.py Updated test_encryption_unit.py (+30/-29 lines)
  • test_launch_context.py Updated test_launch_context.py (+15/-11 lines)
  • test_function_adapters_extraction.py Updated test_function_adapters_extraction.py (+6/-3 lines)
  • test_function_adapters_types.py Updated test_function_adapters_types.py (+3/-3 lines)
  • test_function_adapter.py Updated test_function_adapter.py (+1/-1 lines)
  • test_base_resource.py Updated test_base_resource.py (+5/-4 lines)
  • test_base_resource_conversion.py Updated test_base_resource_conversion.py (+8/-8 lines)
  • test_base_resource_lifecycle.py Updated test_base_resource_lifecycle.py (+2/-2 lines)
  • test_resource_protocol.py Updated test_resource_protocol.py (+8/-5 lines)
  • test_tdd_ephemeral_resource_lifecycle.py Updated test_tdd_ephemeral_resource_lifecycle.py (+2/-2 lines)
  • test_tdd_private_state.py Updated test_tdd_private_state.py (+6/-4 lines)
  • test_tdd_private_state_in_read.py Updated test_tdd_private_state_in_read.py (+6/-4 lines)
  • test_tdd_private_state_lifecycle.py Updated test_tdd_private_state_lifecycle.py (+2/-2 lines)
  • test_tdd_resource_context_contract.py Updated test_tdd_resource_context_contract.py (+8/-4 lines)
  • test_factory_helpers.py Updated test_factory_helpers.py (+8/-6 lines)
  • test_transforms.py Updated test_transforms.py (+2/-2 lines)
  • test_transformation_operations.py Updated test_transformation_operations.py (+2/-2 lines)
  • test_tdd_capability_association.py Updated test_tdd_capability_association.py (+2/-2 lines)
  • test_handler_core.py Updated test_handler_core.py (+91/-18 lines)
  • test_handler_resources.py Updated test_handler_resources.py (+16/-16 lines)
  • test_version.py Updated test_version.py (+3/-3 lines)
  • test_dict_to_proto_function.py Updated test_dict_to_proto_function.py (+21/-17 lines)
  • conftest.py Updated conftest.py (+2/-2 lines)
  • test_apply_resource_change_advanced.py Updated test_apply_resource_change_advanced.py (+9/-51 lines)
  • test_apply_resource_change_core.py Updated test_apply_resource_change_core.py (+17/-14 lines)
  • test_call_function_advanced.py Updated test_call_function_advanced.py (+103/-135 lines)
  • test_call_function_core.py Updated test_call_function_core.py (+62/-59 lines)
  • test_close_ephemeral_resource.py Updated test_close_ephemeral_resource.py (+43/-21 lines)
  • test_configure_provider.py Updated test_configure_provider.py (+37/-31 lines)
  • test_enhanced_error_messages.py Updated test_enhanced_error_messages.py (+63/-57 lines)
  • test_get_functions.py Updated test_get_functions.py (+81/-41 lines)
  • test_get_metadata.py Updated test_get_metadata.py (+85/-57 lines)
  • test_get_provider_schema.py Updated test_get_provider_schema.py (+91/-64 lines)
  • test_handler_utils_diagnostics.py Updated test_handler_utils_diagnostics.py (+1/-1 lines)
  • test_import_resource_state.py Updated test_import_resource_state.py (+16/-14 lines)
  • test_move_resource_state.py Updated test_move_resource_state.py (+24/-22 lines)
  • test_open_ephemeral_resource.py Updated test_open_ephemeral_resource.py (+112/-113 lines)
  • test_plan_resource_change_basic.py Updated test_plan_resource_change_basic.py (+21/-11 lines)
  • test_plan_resource_change_implementation.py Updated test_plan_resource_change_implementation.py (+17/-6 lines)
  • test_read_data_source.py Updated test_read_data_source.py (+57/-39 lines)
  • test_read_resource.py Updated test_read_resource.py (+40/-35 lines)
  • test_renew_ephemeral_resource.py Updated test_renew_ephemeral_resource.py (+29/-13 lines)
  • test_stop_provider.py Updated test_stop_provider.py (+42/-43 lines)
  • Added type annotations to test fixtures, parameters, and return types across 35+ test files qualify behavioral
    1 file
    • check_doc_links.py
  • Modernized mock patterns: replaced nested with patch(...): blocks with single with patch(...), patch(...): syntax qualify internal
    11 files
    • .mutmut-config.py
    • installation.md
    • test_launch_context_command.py
    • test_pyvider_cli.py
    • test_base_context.py
    • test_launch_context_extra.py
    • conftest.py
    • test_terraform_conversion.py
    • test_base_data_source.py
    • test_exceptions_hierarchy.py
    • test_base_function.py
  • Key test files updated: test_diagnostics_api.py, test_private_state_encryption.py, test_schema_caching.py, test_base_function_complete.py, test_function_adapters_*.py, test_discovery.py, test_handler_metrics.py, test_cty_conversions.py, test_service.py, test_pyvider_provider.py, test_base_resource*.py, test_protocol.py, and many tfprotov6 handler test files qualify internal
    11 files
    • encryption.py
    • test_diagnostics_api.py
    • test_private_state_encryption.py
    • test_schema_caching.py
    • test_base_function_complete.py
    • test_discovery.py
    • test_handler_metrics.py
    • test_cty_conversions.py
    • test_service.py
    • test_pyvider_provider.py
    • test_protocol.py
  • Updated test_structured_logging.py with significant restructuring decouple internal
    1 file
    • test_structured_logging.py