actions-runtime 1.1.2__tar.gz → 1.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/PKG-INFO +4 -3
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/README.md +1 -1
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/build.py +1 -1
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/pyproject.toml +4 -3
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/__init__.py +1 -1
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_action_package_handler.py +9 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_actions_import.py +3 -1
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_actions_process_pool.py +34 -67
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_api_action_routes.py +12 -1
- actions_runtime-1.2.0/src/actions/server/_api_mcp_catalog.py +60 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_cli_impl.py +71 -2
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/action_package_handling/__init__.py +14 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/package_deps/_pip_deps.py +15 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/package_deps/analyzer.py +40 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_download_rcc.py +1 -1
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_protocols.py +9 -1
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_rcc.py +263 -7
- actions_runtime-1.2.0/src/actions/server/_rcc_platform.py +72 -0
- actions_runtime-1.2.0/src/actions/server/_rcc_provider_plan.py +410 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_rcc_runtime_adapter.py +51 -2
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_server.py +16 -2
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_settings.py +6 -2
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/deployments/package_revision_compiler.py +170 -31
- actions_runtime-1.2.0/src/actions/server/env/__init__.py +74 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/bootstrap.py +3 -2
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/rcc_execution.py +1 -1
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/robot_execution.py +2 -1
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/robot_validation.py +2 -1
- actions_runtime-1.2.0/src/actions/server/mcp/catalog.py +545 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/mcp/setup_mcp_server_v2.py +258 -13
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/templates/action-templates.yaml +3 -1
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/templates/action-templates.zip +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/templates/zips/basic.zip +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/templates/zips/mcp-v2-showcase.zip +0 -0
- actions_runtime-1.2.0/src/actions/server/templates/zips/rattler-uv.zip +0 -0
- actions_runtime-1.2.0/src/actions/server/templates/zips/uv-native.zip +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/vendored_deps/action_package_handling/__init__.py +14 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/vendored_deps/package_deps/_pip_deps.py +15 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/vendored_deps/package_deps/analyzer.py +40 -0
- actions_runtime-1.1.2/src/actions/server/_rcc_platform.py +0 -55
- actions_runtime-1.1.2/src/actions/server/env/__init__.py +0 -26
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/oauth2/actions-oauth-config.yaml +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/oauth2/oauth-config.yaml +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/README.md +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/__main__.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_actions_cloud.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_actions_run.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_actions_run_helpers.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_api_action_package.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_api_analytics.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_api_oauth2.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_api_robots.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_api_run.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_api_schedules.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_api_secrets.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_api_triggers.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_api_work_items.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_app.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_artifact_storage.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_ask_user.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_browser_session.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_build_common/__init__.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_build_common/build_executable.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_build_common/entitlements.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_build_common/file_from_function.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_build_common/mcp_bundle.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_build_common/process_call.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_build_common/py.typed +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_build_common/rcc_bundle.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_build_common/root_dir.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_build_common/signing.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_build_common/version_from_github_actions.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_build_common/workflows.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_build_common/zip_assets.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_cli_helpers.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/__init__.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/action_package_handling/cli_errors.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/app_mutex.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/autoexit.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/callback.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/gallery.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/gen_certificate.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/locations.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/ls_protocols.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/monitor.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/null.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/oauth2_settings.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/package_deps/__init__.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/package_deps/_conda_deps.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/package_deps/_deps_protocols.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/package_deps/_package_deps.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/package_deps/conda_cloud.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/package_deps/conda_impl/__init__.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/package_deps/conda_impl/conda_channel.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/package_deps/conda_impl/conda_match_spec.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/package_deps/conda_impl/conda_path.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/package_deps/conda_impl/conda_url.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/package_deps/conda_impl/conda_version.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/package_deps/pip_impl/__init__.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/package_deps/pip_impl/pip_distlib_util.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/package_deps/pip_impl/pip_packaging_structure.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/package_deps/pip_impl/pip_packaging_version.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/package_deps/pypi_cloud.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/package_exclude.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/process.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/process_logging.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/protocols.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/py.typed +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/run_in_thread.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/system_mutex.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/termcolors/__init__.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/text.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/tools.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/uris.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/url_callback_server.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/wait_for.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/yaml_with_location.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_community_expose.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_community_expose_lifecycle.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_database.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_datadir_commands.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_datadir_restore.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_devenv.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_directory_publication.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_encryption.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_errors.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_errors_action_server.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_gen_ids.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_local_authorization.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_local_provider_setup.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_mode.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_models.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_new_project.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_new_project_helpers.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_notifications.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_oauth2.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_oauth2_config.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_portable_paths.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_preload_actions/__init__.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_preload_actions/preload_actions.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_preload_actions/preload_actions_autoexit.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_preload_actions/preload_actions_server_main.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_preload_actions/preload_actions_streams.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_preload_actions/preload_actions_teardown.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_rcc_robot_utils.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_robo_utils/auth.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_robo_utils/callback.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_robo_utils/constants.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_robo_utils/log_custom_handler.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_robo_utils/log_formatter.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_robo_utils/process.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_robo_utils/run_in_thread.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_robo_utils/system_mutex.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_robot_artifacts.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_robot_inputs.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_runs_state_cache.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_scheduler.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_selftest.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_server_websockets.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_slugify.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_static_contents.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_storage.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_triggers.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_user_session.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_watcher.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_whitelist.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_work_items_import.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_work_items_paths.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/api.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/bin/.gitignore +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/canvas_lifecycle.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/cli.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/data_queries/__init__.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/data_queries/_invoice_task.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/data_queries/canvas.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/data_queries/canvas_mcp.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/data_queries/generated.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/data_queries/invoice_effects.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/data_queries/invoice_worker.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/data_queries/invoices.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/data_queries/knowledge.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/data_queries/knowledge_execution.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/data_queries/knowledge_normalization.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/data_queries/knowledge_operations.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/data_queries/knowledge_values.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/data_queries/knowledge_versions.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/data_queries/parquet_gate.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/data_queries/reconciliation.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/data_queries/review.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/data_queries/review_models.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/data_queries/sealed_duckdb.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/data_queries/sealed_postgres.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/data_queries/sealed_sources.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/data_queries/service.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/decisions/__init__.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/decisions/api.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/decisions/fixtures.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/decisions/models.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/decisions/openai.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/decisions/service.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/decisions/work_items.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/deployments/__init__.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/deployments/canonical.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/deployments/capability_bundle.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/deployments/capability_bundle_compiler.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/deployments/foundry_repository.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/deployments/foundry_service.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/deployments/foundry_values.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/deployments/ids.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/deployments/logical_bindings.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/deployments/provider_registry.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/deployments/source_manifest.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/deployments/source_read.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/deployments/source_staging.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/__init__.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/activated_execution.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/app_sessions.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/authoring.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/authoring_bindings.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/authoring_values.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/authoring_work_items.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/boot.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/discovery.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/execution_port.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/execution_profiles.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/execution_selection.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/generated_knowledge.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/generic_execution_port.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/generic_input_view.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/generic_output_view.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/generic_projection.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/generic_view.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/generic_work_item_execution.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/headless_discovery.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/internal_child_admission.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/internal_child_ipc_server.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/internal_child_lifecycle.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/internal_delegation.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/invocation_discovery.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/knowledge_authority.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/knowledge_host.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/knowledge_models.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/logical_execution.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/logical_preparation.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/logical_receipts.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/mcp.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/model_invocation_publication.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/models.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/package_registry.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/provider_bootstrap.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/provider_catalog.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/provider_config.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/provider_execution.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/provider_models.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/provider_registry.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/reviewed_view.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/robot_authoring.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/robot_execution_selection.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/robot_journal.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/robot_lifecycle.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/robot_package_admission.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/robot_package_builder.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/robot_receipts.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/robot_retained_projection.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/robot_runtime_profile.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/robot_runtime_runner.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/robot_validation_store.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/robot_work_item_authority.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/run_output_transport.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/runtime_profile.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/sql_authoring.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/sql_authorization.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/standalone_execution.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/foundry/work_item_execution.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/index.html +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/managed_work_items/__init__.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/managed_work_items/admission.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/managed_work_items/api.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/managed_work_items/authorization.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/managed_work_items/composite.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/managed_work_items/contracts.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/managed_work_items/generic_service.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/managed_work_items/mcp.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/managed_work_items/model_publication.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/managed_work_items/native_completion.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/managed_work_items/native_runs.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/managed_work_items/publication_policy.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/managed_work_items/sql_service.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/mcp/__init__.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/mcp/gateway_metadata.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/mcp/resource_routing.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/mcp/setup_mcp_server_from_actions.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/mcp/task_adapter.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/mcp/task_wire.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/migrations/__init__.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/migrations/migration_add_action_enabled.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/migrations/migration_add_action_managed_params.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/migrations/migration_add_action_options.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/migrations/migration_add_code_verifier.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/migrations/migration_add_foundry_records.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/migrations/migration_add_invoice_reviews.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/migrations/migration_add_is_consequential.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/migrations/migration_add_knowledge_revisions.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/migrations/migration_add_mcp_catalog_names.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/migrations/migration_add_mcp_resource_routing.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/migrations/migration_add_provider_registry.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/migrations/migration_add_request_id_to_run.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/migrations/migration_add_robot_run_columns.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/migrations/migration_add_run_child_lineage.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/migrations/migration_add_run_execution_intent.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/migrations/migration_add_run_outputs.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/migrations/migration_add_run_task_receipts.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/migrations/migration_add_schedules.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/migrations/migration_add_session_and_indexes.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/migrations/migration_align_schema_indexes.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/migrations/migration_allow_package_less_canvas.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/migrations/migration_initial.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/migrations/migration_reconcile_run_columns.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/migrations/migration_reconcile_schema.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/package/__init__.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/package/_package_build.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/package/_package_build_cli.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/package/_package_metadata.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/package/_package_publish.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/package/_package_publish_api.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/package/_package_reader.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/package/package_exclude.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/py.typed +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/run_outputs/__init__.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/run_outputs/cancellation_confirmation.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/run_outputs/claimed_intent.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/run_outputs/claimed_task_state.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/run_outputs/detached.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/run_outputs/filesystem.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/run_outputs/models.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/run_outputs/service.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/run_outputs/task_host.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/run_outputs/task_service.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/run_outputs/transport.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/run_outputs/types.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/templates/zips/advanced.zip +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/templates/zips/canvas-query.zip +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/templates/zips/minimal.zip +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/templates/zips/workflow-producer-consumer.zip +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/vendored_deps/README.md +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/vendored_deps/__init__.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/vendored_deps/action_package_handling/cli_errors.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/vendored_deps/gen_certificate.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/vendored_deps/ls_protocols.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/vendored_deps/oauth2_settings.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/vendored_deps/package_deps/__init__.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/vendored_deps/package_deps/_conda_deps.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/vendored_deps/package_deps/_deps_protocols.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/vendored_deps/package_deps/_package_deps.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/vendored_deps/package_deps/conda_cloud.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/vendored_deps/package_deps/conda_impl/__init__.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/vendored_deps/package_deps/conda_impl/conda_channel.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/vendored_deps/package_deps/conda_impl/conda_match_spec.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/vendored_deps/package_deps/conda_impl/conda_path.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/vendored_deps/package_deps/conda_impl/conda_url.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/vendored_deps/package_deps/conda_impl/conda_version.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/vendored_deps/package_deps/pip_impl/__init__.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/vendored_deps/package_deps/pip_impl/pip_distlib_util.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/vendored_deps/package_deps/pip_impl/pip_packaging_structure.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/vendored_deps/package_deps/pip_impl/pip_packaging_version.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/vendored_deps/package_deps/pypi_cloud.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/vendored_deps/termcolors/__init__.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/vendored_deps/url_callback_server.py +0 -0
- {actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/vendored_deps/yaml_with_location.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: actions-runtime
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2.0
|
|
4
4
|
Summary: Actions Runtime — serve Python actions through HTTP and MCP
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
Author: Joshua Yorko
|
|
@@ -11,7 +11,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.12
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.13
|
|
13
13
|
Provides-Extra: data-duckdb
|
|
14
|
-
Requires-Dist: actions-core (>=1.1.
|
|
14
|
+
Requires-Dist: actions-core (>=1.1.1,<2.0.0)
|
|
15
15
|
Requires-Dist: actions-http-helper (>=1.0.3,<2.0.0)
|
|
16
16
|
Requires-Dist: actions-work-items (>=0.5.0,<0.6.0)
|
|
17
17
|
Requires-Dist: aiohttp (>=3.14.4,<4.0.0)
|
|
@@ -26,6 +26,7 @@ Requires-Dist: jsonschema (>=4.23.0,<5.0.0)
|
|
|
26
26
|
Requires-Dist: jsonschema-specifications (>=2024.10.1,<2025.0.0)
|
|
27
27
|
Requires-Dist: mcp (>=2.0.0,<3.0.0)
|
|
28
28
|
Requires-Dist: msgspec (>=0.19,<0.20)
|
|
29
|
+
Requires-Dist: packaging (>=26.0,<27)
|
|
29
30
|
Requires-Dist: psutil (>=5.0,<8.0)
|
|
30
31
|
Requires-Dist: psycopg[binary] (>=3.2.0,<4.0.0)
|
|
31
32
|
Requires-Dist: pydantic (>=2.12.4,<3.0.0)
|
|
@@ -123,7 +124,7 @@ The `package.yaml` file is required for specifying the Python environment and de
|
|
|
123
124
|
|
|
124
125
|
### Community RCC Fork
|
|
125
126
|
|
|
126
|
-
This Action Server uses the **joshyorko/rcc v18.
|
|
127
|
+
This Action Server uses the **joshyorko/rcc v18.20.0** community fork, which provides:
|
|
127
128
|
- **Faster startup** - no proprietary cloud service calls
|
|
128
129
|
- **Official sources** - downloads micromamba directly from conda-forge instead of Robocorp CDN
|
|
129
130
|
- **Decoupled infrastructure** - works fully offline after initial environment bootstrap
|
|
@@ -76,7 +76,7 @@ The `package.yaml` file is required for specifying the Python environment and de
|
|
|
76
76
|
|
|
77
77
|
### Community RCC Fork
|
|
78
78
|
|
|
79
|
-
This Action Server uses the **joshyorko/rcc v18.
|
|
79
|
+
This Action Server uses the **joshyorko/rcc v18.20.0** community fork, which provides:
|
|
80
80
|
- **Faster startup** - no proprietary cloud service calls
|
|
81
81
|
- **Official sources** - downloads micromamba directly from conda-forge instead of Robocorp CDN
|
|
82
82
|
- **Decoupled infrastructure** - works fully offline after initial environment bootstrap
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "actions-runtime"
|
|
3
|
-
version = "1.
|
|
3
|
+
version = "1.2.0"
|
|
4
4
|
description = "Actions Runtime — serve Python actions through HTTP and MCP"
|
|
5
5
|
authors = ["Joshua Yorko"]
|
|
6
6
|
maintainers = ["Joshua Yorko"]
|
|
@@ -13,7 +13,7 @@ include = [
|
|
|
13
13
|
{ path = "oauth2/*.yaml", format = "sdist" },
|
|
14
14
|
"src/actions/server/_static_contents.py",
|
|
15
15
|
{ path = "src/actions/server/_oauth2_config.py", format = ["sdist", "wheel"] },
|
|
16
|
-
{ path = "src/actions/server/bin/rcc-18.
|
|
16
|
+
{ path = "src/actions/server/bin/rcc-18.20.0*", format = ["sdist", "wheel"] },
|
|
17
17
|
"src/actions/server/templates/action-templates.zip",
|
|
18
18
|
"src/actions/server/templates/action-templates.yaml",
|
|
19
19
|
]
|
|
@@ -31,6 +31,7 @@ jsonschema = "^4.23.0"
|
|
|
31
31
|
# See: https://github.com/python-jsonschema/jsonschema-specifications/issues/61
|
|
32
32
|
jsonschema-specifications = "^2024.10.1"
|
|
33
33
|
msgspec = "^0.19"
|
|
34
|
+
packaging = ">=26.0,<27"
|
|
34
35
|
psutil = ">=5.0,<8.0"
|
|
35
36
|
rfc8785 = "0.1.4"
|
|
36
37
|
pydantic = "^2.12.4"
|
|
@@ -42,7 +43,7 @@ certifi = ">=2026.10.19"
|
|
|
42
43
|
pyjwt = ">=2.14.0,<3.0.0"
|
|
43
44
|
urllib3 = ">=2.8.0,<3.0.0"
|
|
44
45
|
httpx2 = ">=2.12.0,<3.0.0"
|
|
45
|
-
actions-core = { version = ">=1.1.
|
|
46
|
+
actions-core = { version = ">=1.1.1,<2.0.0" }
|
|
46
47
|
actions-http-helper = "^1.0.3"
|
|
47
48
|
termcolor = "^3.2.0"
|
|
48
49
|
uvicorn = "^0.38.0"
|
{actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_action_package_handler.py
RENAMED
|
@@ -459,6 +459,15 @@ class ActionPackageHandler:
|
|
|
459
459
|
from ._rcc import get_rcc
|
|
460
460
|
|
|
461
461
|
if self._package_yaml_contents:
|
|
462
|
+
from ._rcc_provider_plan import is_provider_plan, validate_provider_plan
|
|
463
|
+
|
|
464
|
+
if is_provider_plan(self._package_yaml_contents):
|
|
465
|
+
try:
|
|
466
|
+
validate_provider_plan(
|
|
467
|
+
self._package_yaml_contents, devenv=devenv
|
|
468
|
+
)
|
|
469
|
+
except ValueError as exc:
|
|
470
|
+
raise ActionServerValidationError(str(exc)) from exc
|
|
462
471
|
# Verify the version of the package.yaml file.
|
|
463
472
|
spec_version = self._package_yaml_contents.get("spec-version")
|
|
464
473
|
if not spec_version:
|
|
@@ -156,7 +156,7 @@ def import_action_package(
|
|
|
156
156
|
from ._errors_action_server import ActionServerValidationError
|
|
157
157
|
from ._gen_ids import gen_uuid
|
|
158
158
|
from ._models import ActionPackage, get_db
|
|
159
|
-
from ._rcc_runtime_adapter import load_descriptor
|
|
159
|
+
from ._rcc_runtime_adapter import bind_actions_rcc_home, load_descriptor
|
|
160
160
|
from ._robo_utils.process import build_python_launch_env
|
|
161
161
|
|
|
162
162
|
log.debug("Importing action package from: %s", action_package_dir)
|
|
@@ -257,6 +257,8 @@ def import_action_package(
|
|
|
257
257
|
|
|
258
258
|
launch_env = {key: value for key, value in use_env.items() if key != "runtime"}
|
|
259
259
|
env = build_python_launch_env(launch_env)
|
|
260
|
+
if runtime_descriptor is not None:
|
|
261
|
+
bind_actions_rcc_home(env)
|
|
260
262
|
|
|
261
263
|
try:
|
|
262
264
|
# any actions version will do at this point.
|
|
@@ -133,7 +133,6 @@ class ProcessHandle:
|
|
|
133
133
|
JsonRpcStreamWriter,
|
|
134
134
|
)
|
|
135
135
|
from actions.server._robo_utils.callback import Callback
|
|
136
|
-
from actions.server._robo_utils.run_in_thread import run_in_thread
|
|
137
136
|
|
|
138
137
|
from ._actions_run_helpers import (
|
|
139
138
|
_add_preload_actions_dir_to_env_pythonpath,
|
|
@@ -142,6 +141,7 @@ class ProcessHandle:
|
|
|
142
141
|
from ._preload_actions.preload_actions_streams import JsonRpcStreamReaderThread
|
|
143
142
|
from ._rcc_runtime_adapter import (
|
|
144
143
|
RccProcessHandle,
|
|
144
|
+
bind_actions_rcc_home,
|
|
145
145
|
build_exec_command,
|
|
146
146
|
get_rcc_location,
|
|
147
147
|
load_descriptor,
|
|
@@ -174,6 +174,8 @@ class ProcessHandle:
|
|
|
174
174
|
env = {key: value for key, value in persisted_env.items() if key != "runtime"}
|
|
175
175
|
_add_preload_actions_dir_to_env_pythonpath(env)
|
|
176
176
|
env = build_python_launch_env(env)
|
|
177
|
+
if runtime_descriptor is not None:
|
|
178
|
+
bind_actions_rcc_home(env)
|
|
177
179
|
# Shouldn't be there, but just making sure... if it is it can
|
|
178
180
|
# affect how the logs are generated and if wrong the logs would
|
|
179
181
|
# also be wrong.
|
|
@@ -235,36 +237,8 @@ class ProcessHandle:
|
|
|
235
237
|
|
|
236
238
|
if use_tcp:
|
|
237
239
|
server_socket = _create_server_socket("127.0.0.1", 0)
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
def cleanup_startup():
|
|
242
|
-
startup_cancelled.set()
|
|
243
|
-
try:
|
|
244
|
-
try:
|
|
245
|
-
server_socket.shutdown(socket_module.SHUT_RDWR)
|
|
246
|
-
except (AttributeError, OSError):
|
|
247
|
-
pass
|
|
248
|
-
finally:
|
|
249
|
-
try:
|
|
250
|
-
server_socket.close()
|
|
251
|
-
except (AttributeError, OSError):
|
|
252
|
-
pass
|
|
253
|
-
|
|
254
|
-
if connection_future is not None:
|
|
255
|
-
try:
|
|
256
|
-
connection_future.cancel()
|
|
257
|
-
except BaseException:
|
|
258
|
-
log.debug(
|
|
259
|
-
"Unable to cancel the TCP accept future.", exc_info=True
|
|
260
|
-
)
|
|
261
|
-
try:
|
|
262
|
-
connection_future.result(timeout=1)
|
|
263
|
-
except BaseException:
|
|
264
|
-
log.debug(
|
|
265
|
-
"TCP accept future finished during startup cleanup.",
|
|
266
|
-
exc_info=True,
|
|
267
|
-
)
|
|
240
|
+
s = None
|
|
241
|
+
read_from = write_to = None
|
|
268
242
|
|
|
269
243
|
def cleanup_process():
|
|
270
244
|
try:
|
|
@@ -274,6 +248,7 @@ class ProcessHandle:
|
|
|
274
248
|
from ._robo_utils.process import kill_process_and_subprocesses
|
|
275
249
|
|
|
276
250
|
kill_process_and_subprocesses(self._process.pid)
|
|
251
|
+
self._process.wait(timeout=5)
|
|
277
252
|
except BaseException:
|
|
278
253
|
log.exception("Unable to clean up the failed TCP worker startup.")
|
|
279
254
|
|
|
@@ -298,18 +273,7 @@ class ProcessHandle:
|
|
|
298
273
|
else:
|
|
299
274
|
cmdline = worker_command
|
|
300
275
|
|
|
301
|
-
|
|
302
|
-
server_socket.listen(1)
|
|
303
|
-
server_socket.settimeout(0.2)
|
|
304
|
-
while not startup_cancelled.is_set():
|
|
305
|
-
try:
|
|
306
|
-
sock, _addr = server_socket.accept()
|
|
307
|
-
except socket_module.timeout:
|
|
308
|
-
continue
|
|
309
|
-
return sock
|
|
310
|
-
raise RuntimeError("TCP worker startup was cancelled")
|
|
311
|
-
|
|
312
|
-
connection_future = run_in_thread(accept_connection)
|
|
276
|
+
server_socket.listen(1)
|
|
313
277
|
|
|
314
278
|
self._process = subprocess.Popen(cmdline, **subprocess_kwargs)
|
|
315
279
|
self._rcc_wrapper = (
|
|
@@ -335,34 +299,37 @@ class ProcessHandle:
|
|
|
335
299
|
)
|
|
336
300
|
t.name = f"Stdout reader (pid: {pid})"
|
|
337
301
|
t.start()
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
302
|
+
startup_timeout = settings.worker_startup_timeout
|
|
303
|
+
server_socket.settimeout(startup_timeout)
|
|
304
|
+
try:
|
|
305
|
+
s, _addr = server_socket.accept()
|
|
306
|
+
except TimeoutError as error:
|
|
307
|
+
raise RuntimeError(
|
|
308
|
+
"Worker startup connection timed out after "
|
|
309
|
+
f"{startup_timeout:g} seconds"
|
|
310
|
+
) from error
|
|
311
|
+
|
|
312
|
+
s.settimeout(None)
|
|
313
|
+
read_from = s.makefile("rb")
|
|
314
|
+
write_to = s.makefile("wb")
|
|
315
|
+
self._socket = s
|
|
316
|
+
self._writer = JsonRpcStreamWriter(write_to, sort_keys=True)
|
|
317
|
+
self._reader = JsonRpcStreamReaderThread(
|
|
318
|
+
read_from, self._read_queue, lambda *args, **kwargs: None
|
|
348
319
|
)
|
|
349
|
-
|
|
320
|
+
except BaseException:
|
|
321
|
+
for stream in (read_from, write_to, s):
|
|
322
|
+
if stream is not None:
|
|
323
|
+
try:
|
|
324
|
+
stream.close()
|
|
325
|
+
except OSError:
|
|
326
|
+
log.debug(
|
|
327
|
+
"Unable to close worker startup stream.", exc_info=True
|
|
328
|
+
)
|
|
350
329
|
cleanup_process()
|
|
351
330
|
raise
|
|
352
331
|
finally:
|
|
353
|
-
|
|
354
|
-
try:
|
|
355
|
-
server_socket.close()
|
|
356
|
-
except (AttributeError, OSError):
|
|
357
|
-
pass
|
|
358
|
-
read_from = s.makefile("rb")
|
|
359
|
-
write_to = s.makefile("wb")
|
|
360
|
-
self._socket = s
|
|
361
|
-
|
|
362
|
-
self._writer = JsonRpcStreamWriter(write_to, sort_keys=True)
|
|
363
|
-
self._reader = JsonRpcStreamReaderThread(
|
|
364
|
-
read_from, self._read_queue, lambda *args, **kwargs: None
|
|
365
|
-
)
|
|
332
|
+
server_socket.close()
|
|
366
333
|
else:
|
|
367
334
|
# Will start things using the stdin/stdout for communicating.
|
|
368
335
|
worker_command = [
|
|
@@ -114,6 +114,7 @@ class _ActionRoutes:
|
|
|
114
114
|
invoice_canvas: "InvoiceCanvasMcp | None" = None,
|
|
115
115
|
canvas_foundry: "CanvasMcp | None" = None,
|
|
116
116
|
task_service: "TaskService | None" = None,
|
|
117
|
+
compact_discovery: bool = False,
|
|
117
118
|
):
|
|
118
119
|
"""
|
|
119
120
|
Args:
|
|
@@ -139,6 +140,7 @@ class _ActionRoutes:
|
|
|
139
140
|
invoice_canvas=invoice_canvas,
|
|
140
141
|
canvas_foundry=canvas_foundry,
|
|
141
142
|
task_service=task_service,
|
|
143
|
+
compact_discovery=compact_discovery,
|
|
142
144
|
)
|
|
143
145
|
|
|
144
146
|
def setup_mcp_server(self, api_key: str | None) -> None:
|
|
@@ -265,6 +267,7 @@ class _ActionRoutes:
|
|
|
265
267
|
|
|
266
268
|
from . import _actions_run
|
|
267
269
|
from ._models import Action, ActionPackage, McpCatalogName, get_db
|
|
270
|
+
from .mcp.catalog import BUILTIN_TOOL_NAMES
|
|
268
271
|
from .mcp.setup_mcp_server_from_actions import McpServerSetupHelper
|
|
269
272
|
|
|
270
273
|
db = get_db()
|
|
@@ -306,8 +309,16 @@ class _ActionRoutes:
|
|
|
306
309
|
actions_to_register.append((action_package, action))
|
|
307
310
|
|
|
308
311
|
reserved_names = {binding.id: binding for binding in db.all(McpCatalogName)}
|
|
312
|
+
legacy_tool_owners = {
|
|
313
|
+
binding.name: (binding.package_name, binding.action_name)
|
|
314
|
+
for binding in reserved_names.values()
|
|
315
|
+
if binding.namespace == "tool" and binding.name in BUILTIN_TOOL_NAMES
|
|
316
|
+
}
|
|
317
|
+
next_mcp_server_setup_helper._catalog.discovery_tool_names = (
|
|
318
|
+
BUILTIN_TOOL_NAMES.difference(legacy_tool_owners)
|
|
319
|
+
)
|
|
309
320
|
tool_names = next_mcp_server_setup_helper.resolve_tool_names(
|
|
310
|
-
actions_to_register
|
|
321
|
+
actions_to_register, bare_name_owners=legacy_tool_owners
|
|
311
322
|
)
|
|
312
323
|
# HTTP exposes resources and prompts too; its operation namespace must
|
|
313
324
|
# therefore include every admitted action, not only MCP tools.
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"""Authenticated read-only HTTP access to the active ordinary MCP catalog."""
|
|
2
|
+
|
|
3
|
+
from collections.abc import Callable
|
|
4
|
+
from typing import Any
|
|
5
|
+
|
|
6
|
+
from fastapi import APIRouter, HTTPException
|
|
7
|
+
from pydantic import BaseModel, ConfigDict, StrictInt
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class CatalogSearchRequest(BaseModel):
|
|
11
|
+
model_config = ConfigDict(extra="forbid")
|
|
12
|
+
|
|
13
|
+
query: str = ""
|
|
14
|
+
package: str | None = None
|
|
15
|
+
category: str | None = None
|
|
16
|
+
limit: StrictInt = 20
|
|
17
|
+
page_token: str | None = None
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class CatalogDescribeRequest(BaseModel):
|
|
21
|
+
model_config = ConfigDict(extra="forbid")
|
|
22
|
+
|
|
23
|
+
names: list[str]
|
|
24
|
+
revision: str
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
def create_mcp_catalog_router(
|
|
28
|
+
helper: Callable[[], Any],
|
|
29
|
+
) -> APIRouter:
|
|
30
|
+
router = APIRouter(prefix="/api/catalog/v1", tags=["MCP catalog"])
|
|
31
|
+
|
|
32
|
+
@router.post("/search")
|
|
33
|
+
def search(request: CatalogSearchRequest) -> dict[str, Any]:
|
|
34
|
+
try:
|
|
35
|
+
return (
|
|
36
|
+
helper()
|
|
37
|
+
._catalog_projection()
|
|
38
|
+
.search(
|
|
39
|
+
request.query,
|
|
40
|
+
package=request.package,
|
|
41
|
+
category=request.category,
|
|
42
|
+
limit=request.limit,
|
|
43
|
+
page_token=request.page_token,
|
|
44
|
+
)
|
|
45
|
+
)
|
|
46
|
+
except (TypeError, ValueError) as exc:
|
|
47
|
+
raise HTTPException(status_code=422, detail=str(exc)) from exc
|
|
48
|
+
|
|
49
|
+
@router.post("/describe")
|
|
50
|
+
def describe(request: CatalogDescribeRequest) -> dict[str, Any]:
|
|
51
|
+
try:
|
|
52
|
+
return (
|
|
53
|
+
helper()
|
|
54
|
+
._catalog_projection()
|
|
55
|
+
.describe(request.names, revision=request.revision)
|
|
56
|
+
)
|
|
57
|
+
except (TypeError, ValueError) as exc:
|
|
58
|
+
raise HTTPException(status_code=422, detail=str(exc)) from exc
|
|
59
|
+
|
|
60
|
+
return router
|
|
@@ -74,6 +74,20 @@ def str2bool(v):
|
|
|
74
74
|
raise argparse.ArgumentTypeError("Boolean value expected.")
|
|
75
75
|
|
|
76
76
|
|
|
77
|
+
def _worker_startup_timeout(value: str) -> float:
|
|
78
|
+
try:
|
|
79
|
+
timeout = float(value)
|
|
80
|
+
except ValueError as error:
|
|
81
|
+
raise argparse.ArgumentTypeError(
|
|
82
|
+
"Worker startup timeout must be a number."
|
|
83
|
+
) from error
|
|
84
|
+
if not 1.0 <= timeout <= 300.0:
|
|
85
|
+
raise argparse.ArgumentTypeError(
|
|
86
|
+
"Worker startup timeout must be between 1 and 300 seconds."
|
|
87
|
+
)
|
|
88
|
+
return timeout
|
|
89
|
+
|
|
90
|
+
|
|
77
91
|
def _add_start_server_command(command_parser, defaults):
|
|
78
92
|
from actions.server._cli_helpers import add_data_args, add_verbose_args
|
|
79
93
|
|
|
@@ -193,6 +207,16 @@ def _add_start_server_command(command_parser, defaults):
|
|
|
193
207
|
"interfere with a subsequent run)."
|
|
194
208
|
),
|
|
195
209
|
)
|
|
210
|
+
start_parser.add_argument(
|
|
211
|
+
"--worker-startup-timeout",
|
|
212
|
+
type=_worker_startup_timeout,
|
|
213
|
+
default=defaults["worker_startup_timeout"],
|
|
214
|
+
metavar="SECONDS",
|
|
215
|
+
help=(
|
|
216
|
+
"Maximum seconds to wait for an action worker to connect during startup "
|
|
217
|
+
"(1-300, default: %(default)s)."
|
|
218
|
+
),
|
|
219
|
+
)
|
|
196
220
|
|
|
197
221
|
start_parser.add_argument(
|
|
198
222
|
"--full-openapi-spec",
|
|
@@ -208,6 +232,16 @@ def _add_start_server_command(command_parser, defaults):
|
|
|
208
232
|
help="When specified changes to Action Packages will be automatically picked up by the Action Server.",
|
|
209
233
|
)
|
|
210
234
|
|
|
235
|
+
start_parser.add_argument(
|
|
236
|
+
"--mcp-catalog-mode",
|
|
237
|
+
choices=("full", "compact"),
|
|
238
|
+
default="full",
|
|
239
|
+
help=(
|
|
240
|
+
"Use the full MCP tool listing by default, or opt in to compact discovery "
|
|
241
|
+
"with catalog search/describe/call for ordinary Actions."
|
|
242
|
+
),
|
|
243
|
+
)
|
|
244
|
+
|
|
211
245
|
start_parser.add_argument(
|
|
212
246
|
"--parent-pid",
|
|
213
247
|
type=int,
|
|
@@ -626,6 +660,41 @@ def _create_parser():
|
|
|
626
660
|
help="Cleans up caches from tools used to build the environment (such as micromamba, pip and uv).",
|
|
627
661
|
)
|
|
628
662
|
|
|
663
|
+
profile_parser = env_subparser.add_parser(
|
|
664
|
+
"profile",
|
|
665
|
+
help="Inspect or manage the RCC profile for the Actions or Robots home.",
|
|
666
|
+
)
|
|
667
|
+
profile_subparser = profile_parser.add_subparsers(
|
|
668
|
+
dest="env_profile_command", required=True
|
|
669
|
+
)
|
|
670
|
+
|
|
671
|
+
profile_status = profile_subparser.add_parser(
|
|
672
|
+
"status", help="Show the selected RCC home and safe profile settings."
|
|
673
|
+
)
|
|
674
|
+
profile_status.add_argument(
|
|
675
|
+
"--target", choices=("actions", "robots"), required=True
|
|
676
|
+
)
|
|
677
|
+
profile_status.add_argument("--json", action="store_true")
|
|
678
|
+
|
|
679
|
+
profile_import = profile_subparser.add_parser(
|
|
680
|
+
"import", help="Import a profile into one selected RCC home."
|
|
681
|
+
)
|
|
682
|
+
profile_import.add_argument(
|
|
683
|
+
"--target", choices=("actions", "robots"), required=True
|
|
684
|
+
)
|
|
685
|
+
profile_import.add_argument("--filename", required=True, metavar="PATH")
|
|
686
|
+
profile_import.add_argument(
|
|
687
|
+
"--switch", action="store_true", help="Activate this profile after import."
|
|
688
|
+
)
|
|
689
|
+
|
|
690
|
+
profile_switch = profile_subparser.add_parser(
|
|
691
|
+
"switch", help="Activate a named profile in one selected RCC home."
|
|
692
|
+
)
|
|
693
|
+
profile_switch.add_argument(
|
|
694
|
+
"--target", choices=("actions", "robots"), required=True
|
|
695
|
+
)
|
|
696
|
+
profile_switch.add_argument("--name", required=True, metavar="PROFILE")
|
|
697
|
+
|
|
629
698
|
_add_cloud_command(command_subparser, defaults)
|
|
630
699
|
_add_oauth2_command(command_subparser, defaults)
|
|
631
700
|
_add_devenv_command(command_subparser, defaults)
|
|
@@ -957,7 +1026,7 @@ def _main_retcode(
|
|
|
957
1026
|
try:
|
|
958
1027
|
# Initialize both RCC instances with separate homes to avoid holotree lock contention
|
|
959
1028
|
with initialize_rcc_actions(rcc_location, actions_home) as rcc:
|
|
960
|
-
with initialize_rcc_robots(rcc_location, robots_home):
|
|
1029
|
+
with initialize_rcc_robots(rcc_location, robots_home) as robots_rcc:
|
|
961
1030
|
if command == "package":
|
|
962
1031
|
from actions.server.package._package_build_cli import (
|
|
963
1032
|
handle_package_command,
|
|
@@ -968,7 +1037,7 @@ def _main_retcode(
|
|
|
968
1037
|
if command == "env":
|
|
969
1038
|
from actions.server.env import handle_env_command
|
|
970
1039
|
|
|
971
|
-
return handle_env_command(base_args, rcc)
|
|
1040
|
+
return handle_env_command(base_args, rcc, robots_rcc)
|
|
972
1041
|
|
|
973
1042
|
if command == "cloud":
|
|
974
1043
|
from actions.server._actions_cloud import handle_cloud_command
|
|
@@ -286,6 +286,11 @@ def create_hash(contents: str) -> str:
|
|
|
286
286
|
def create_conda_contents_from_package_yaml_contents(
|
|
287
287
|
package_yaml: Path, package_yaml_contents: dict
|
|
288
288
|
) -> dict:
|
|
289
|
+
from actions.server._rcc_provider_plan import (
|
|
290
|
+
is_provider_plan,
|
|
291
|
+
validate_provider_plan,
|
|
292
|
+
)
|
|
293
|
+
|
|
289
294
|
from ..termcolors import bold_yellow
|
|
290
295
|
|
|
291
296
|
def _get_in_dict(
|
|
@@ -323,6 +328,15 @@ def create_conda_contents_from_package_yaml_contents(
|
|
|
323
328
|
f"Dict not found as top-level element (in {package_yaml})."
|
|
324
329
|
)
|
|
325
330
|
|
|
331
|
+
if is_provider_plan(package_yaml_contents):
|
|
332
|
+
try:
|
|
333
|
+
validate_provider_plan(package_yaml_contents)
|
|
334
|
+
except ValueError as exc:
|
|
335
|
+
raise ActionPackageError(f"Invalid RCC provider plan: {exc}") from exc
|
|
336
|
+
# RCC consumes the guarded package.yaml plan itself. Rewriting this
|
|
337
|
+
# structure to a legacy Conda manifest would discard provider identity.
|
|
338
|
+
return package_yaml_contents
|
|
339
|
+
|
|
326
340
|
python_deps = _get_in_dict(package_yaml_contents, "dependencies", dict)
|
|
327
341
|
conda_forge = _get_in_dict(python_deps, "conda-forge", list)
|
|
328
342
|
local_wheels = _get_in_dict(python_deps, "local-wheels", list, required=False)
|
{actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/package_deps/_pip_deps.py
RENAMED
|
@@ -76,3 +76,18 @@ class PipDeps:
|
|
|
76
76
|
|
|
77
77
|
def iter_deps_infos(self) -> Iterator[PipDepInfo]:
|
|
78
78
|
yield from self._deps.values()
|
|
79
|
+
|
|
80
|
+
def add_exact_pin(
|
|
81
|
+
self, name: str, version: str, dep_range: _RangeTypedDict
|
|
82
|
+
) -> None:
|
|
83
|
+
"""Store a previously validated provider-plan pin."""
|
|
84
|
+
self._deps[name] = PipDepInfo(
|
|
85
|
+
name=name,
|
|
86
|
+
extras=None,
|
|
87
|
+
constraints=[("==", version)],
|
|
88
|
+
marker=None,
|
|
89
|
+
url="",
|
|
90
|
+
requirement=f"{name}=={version}",
|
|
91
|
+
dep_range=dep_range,
|
|
92
|
+
error_msg=None,
|
|
93
|
+
)
|
{actions_runtime-1.1.2 → actions_runtime-1.2.0}/src/actions/server/_common/package_deps/analyzer.py
RENAMED
|
@@ -460,6 +460,46 @@ class PackageYamlAnalyzer(BaseAnalyzer):
|
|
|
460
460
|
)
|
|
461
461
|
|
|
462
462
|
dependencies = data.get(dependencies_key_entry)
|
|
463
|
+
from actions.server._rcc_provider_plan import (
|
|
464
|
+
is_provider_plan,
|
|
465
|
+
validate_provider_plan,
|
|
466
|
+
)
|
|
467
|
+
|
|
468
|
+
if is_provider_plan(data):
|
|
469
|
+
location = getattr(
|
|
470
|
+
dependencies, "as_range", lambda: create_range_from_location(0, 0)
|
|
471
|
+
)()
|
|
472
|
+
try:
|
|
473
|
+
requirements = validate_provider_plan(data)
|
|
474
|
+
except ValueError as exc:
|
|
475
|
+
self._additional_load_errors.append(
|
|
476
|
+
{
|
|
477
|
+
"range": location,
|
|
478
|
+
"severity": _DiagnosticSeverity.Error,
|
|
479
|
+
"source": "sema4ai",
|
|
480
|
+
"message": str(exc),
|
|
481
|
+
}
|
|
482
|
+
)
|
|
483
|
+
return
|
|
484
|
+
for requirement in requirements:
|
|
485
|
+
kind = requirement["kind"]
|
|
486
|
+
if kind == "python-package":
|
|
487
|
+
self._pip_deps.add_exact_pin(
|
|
488
|
+
requirement["name"],
|
|
489
|
+
requirement["constraint"].removeprefix("=="),
|
|
490
|
+
location,
|
|
491
|
+
)
|
|
492
|
+
elif (
|
|
493
|
+
kind in {"system-package", "python-version"}
|
|
494
|
+
and requirement["provider"] != "uv-runtime"
|
|
495
|
+
):
|
|
496
|
+
self._conda_deps.add_dep(
|
|
497
|
+
requirement["name"]
|
|
498
|
+
+ requirement["constraint"].removeprefix("="),
|
|
499
|
+
location,
|
|
500
|
+
)
|
|
501
|
+
return
|
|
502
|
+
|
|
463
503
|
if dependencies is None:
|
|
464
504
|
diagnostic = {
|
|
465
505
|
"range": create_range_from_location(0, 0),
|
|
@@ -138,7 +138,13 @@ class ArgumentsNamespaceNewTemplates(ArgumentsNamespace):
|
|
|
138
138
|
|
|
139
139
|
class ArgumentsNamespaceEnv(ArgumentsNamespace):
|
|
140
140
|
command: Literal["env"]
|
|
141
|
-
env_command: Literal["clean-tools-caches"]
|
|
141
|
+
env_command: Literal["clean-tools-caches", "profile"]
|
|
142
|
+
env_profile_command: Literal["status", "import", "switch"]
|
|
143
|
+
target: Literal["actions", "robots"]
|
|
144
|
+
json: bool
|
|
145
|
+
filename: str
|
|
146
|
+
switch: bool
|
|
147
|
+
name: str
|
|
142
148
|
|
|
143
149
|
|
|
144
150
|
class ArgumentsNamespaceDownloadRcc(ArgumentsNamespace):
|
|
@@ -223,6 +229,7 @@ class ArgumentsNamespaceStart(ArgumentsNamespaceBaseImportOrStart):
|
|
|
223
229
|
parent_pid: int
|
|
224
230
|
port: bool
|
|
225
231
|
server_url: str
|
|
232
|
+
worker_startup_timeout: float
|
|
226
233
|
cors_allow_origins: Sequence[str]
|
|
227
234
|
https: bool
|
|
228
235
|
ssl_self_signed: bool
|
|
@@ -230,6 +237,7 @@ class ArgumentsNamespaceStart(ArgumentsNamespaceBaseImportOrStart):
|
|
|
230
237
|
ssl_certfile: str
|
|
231
238
|
oauth2_settings: str
|
|
232
239
|
auto_reload: bool
|
|
240
|
+
mcp_catalog_mode: str
|
|
233
241
|
# Distributed mode (Redis)
|
|
234
242
|
redis_url: Optional[str]
|
|
235
243
|
redis_password: Optional[str]
|