apm-cli 0.35.1__tar.gz → 0.36.1__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.
- {apm_cli-0.35.1 → apm_cli-0.36.1}/NOTICE +2 -39
- {apm_cli-0.35.1 → apm_cli-0.36.1}/PKG-INFO +9 -12
- {apm_cli-0.35.1 → apm_cli-0.36.1}/README.md +6 -6
- {apm_cli-0.35.1 → apm_cli-0.36.1}/pyproject.toml +8 -14
- apm_cli-0.36.1/src/apm_cli/adapters/client/_remote_shapes.py +387 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/adapters/client/antigravity.py +3 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/adapters/client/base.py +176 -22
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/adapters/client/claude.py +252 -37
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/adapters/client/codex.py +24 -22
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/adapters/client/copilot.py +101 -104
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/adapters/client/cursor.py +13 -13
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/adapters/client/gemini.py +22 -27
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/adapters/client/hermes.py +78 -31
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/adapters/client/intellij.py +5 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/adapters/client/kiro.py +21 -29
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/adapters/client/opencode.py +138 -7
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/adapters/client/vscode.py +62 -20
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/adapters/client/windsurf.py +3 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/adopt/discovery.py +4 -3
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/adopt/manifest_edit.py +2 -2
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/bundle/agent_plugin_exporter.py +7 -2
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/bundle/export_common.py +2 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/bundle/local_bundle.py +13 -3
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/bundle/lockfile_enrichment.py +2 -4
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/bundle/plugin_exporter.py +101 -12
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/bundle/plugin_hooks.py +33 -1
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/bundle/plugin_layout.py +4 -2
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/bundle/unpacker.py +56 -16
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/cache/git_cache.py +227 -132
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/cli.py +36 -6
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/_helpers.py +50 -30
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/approve.py +47 -28
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/audit.py +36 -34
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/auth.py +1 -1
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/compile/cli.py +90 -34
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/compile/watcher.py +2 -2
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/config.py +73 -41
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/deps/cli.py +98 -62
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/deps/why.py +1 -1
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/discover.py +1 -1
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/doctor.py +2 -1
- apm_cli-0.36.1/src/apm_cli/commands/export_patch.py +767 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/find.py +1 -1
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/init.py +155 -52
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/install.py +54 -31
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/lifecycle.py +9 -15
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/lock.py +7 -10
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/marketplace/__init__.py +137 -91
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/marketplace/check.py +7 -83
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/marketplace/plugin/__init__.py +17 -8
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/marketplace/plugin/add.py +7 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/marketplace/plugin/set.py +13 -7
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/mcp.py +163 -28
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/outdated.py +2 -2
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/pack.py +1 -1
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/policy.py +10 -3
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/prune.py +29 -8
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/targets.py +2 -1
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/uninstall/cli.py +92 -40
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/uninstall/engine.py +118 -32
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/uninstall/lockfile_state.py +1 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/uninstall/profile_scope.py +41 -22
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/update.py +53 -25
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/view.py +35 -6
- apm_cli-0.36.1/src/apm_cli/commands/view_file.py +152 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/compilation/agents_compiler.py +20 -22
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/compilation/context_optimizer.py +43 -27
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/compilation/root_context_protection.py +9 -2
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/compilation/user_root_context.py +1 -1
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/config.py +90 -3
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/copilot_plugins/settings.py +3 -5
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/core/apm_yml.py +0 -49
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/core/auth.py +426 -407
- apm_cli-0.36.1/src/apm_cli/core/auth_chain.py +406 -0
- apm_cli-0.36.1/src/apm_cli/core/auth_outcome.py +454 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/core/azure_cli.py +34 -4
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/core/build_orchestrator.py +4 -4
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/core/command_logger.py +76 -8
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/core/deployment_ledger.py +60 -10
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/core/deployment_state.py +2 -1
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/core/lifecycle_scripts.py +72 -18
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/core/null_logger.py +5 -1
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/core/safe_installer.py +10 -4
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/core/scope.py +47 -6
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/core/script_executors.py +47 -16
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/core/script_trust.py +24 -3
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/core/target_detection.py +63 -46
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/core/tls_trust.py +156 -14
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/core/token_manager.py +107 -15
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/__init__.py +0 -3
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/_shared.py +5 -1
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/apm_resolver.py +136 -4
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/artifactory_entry.py +4 -6
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/artifactory_orchestrator.py +56 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/bare_cache.py +55 -40
- apm_cli-0.36.1/src/apm_cli/deps/carried_license.py +300 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/clone_engine.py +34 -63
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/dependency_graph.py +1 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/download_strategies.py +120 -134
- apm_cli-0.36.1/src/apm_cli/deps/file_provenance.py +462 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/git_file_transport.py +23 -3
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/git_reference_resolver.py +39 -49
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/git_semver_resolver.py +2 -2
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/github_downloader.py +87 -37
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/github_downloader_validation.py +75 -53
- apm_cli-0.36.1/src/apm_cli/deps/lock_parent_placement.py +149 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/lockfile.py +180 -31
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/package_validator.py +7 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/path_anchoring.py +20 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/plugin_parser.py +30 -1
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/reachability.py +199 -13
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/registry/auth.py +9 -1
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/registry/client.py +65 -71
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/registry/config_loader.py +8 -6
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/registry/semver.py +20 -2
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/registry_proxy.py +38 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/tiered_ref_resolver.py +2 -2
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/virtual_file.py +5 -1
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/why_walker.py +31 -12
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/drift.py +99 -18
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/artifactory_resolver.py +18 -43
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/audit_replay.py +62 -2
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/context.py +19 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/deployment_plan.py +1 -1
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/drift.py +72 -90
- apm_cli-0.36.1/src/apm_cli/install/drift_claims.py +78 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/drift_render.py +31 -5
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/exec_gate.py +13 -14
- apm_cli-0.36.1/src/apm_cli/install/failure_residue.py +133 -0
- apm_cli-0.36.1/src/apm_cli/install/finalization.py +36 -0
- apm_cli-0.36.1/src/apm_cli/install/helpers/plan_inputs.py +56 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/helpers/reconciliation_scope.py +2 -2
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/helpers/ref_reuse.py +8 -3
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/legacy_plugin_compat.py +3 -1
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/local_bundle_handler.py +42 -31
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/local_bundle_paths.py +86 -3
- apm_cli-0.36.1/src/apm_cli/install/local_edits.py +177 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/locking.py +84 -14
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/lsp/integration.py +188 -41
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/manifest_helpers.py +5 -2
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/manifest_reconcile.py +20 -15
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/mcp/command.py +4 -2
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/mcp/integration.py +29 -21
- apm_cli-0.36.1/src/apm_cli/install/mcp/ownership.py +616 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/mcp/writer.py +5 -3
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/native_plugin_admission.py +9 -8
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/package_resolution.py +142 -8
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/package_selection.py +9 -1
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/phases/_redownload.py +9 -3
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/phases/cleanup.py +182 -33
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/phases/integrate.py +21 -4
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/phases/local_content.py +43 -36
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/phases/lockfile.py +28 -11
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/phases/policy_gate.py +4 -2
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/phases/policy_target_check.py +8 -19
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/phases/resolve.py +5 -4
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/phases/targets.py +24 -48
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/pipeline.py +95 -95
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/plan.py +3 -12
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/request.py +3 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/resolution_staging.py +20 -0
- apm_cli-0.36.1/src/apm_cli/install/selected_cleanup.py +56 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/service.py +156 -84
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/service_integration.py +66 -51
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/services.py +46 -37
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/source_helpers.py +67 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/sources.py +17 -17
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/target_filter.py +2 -10
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/template.py +31 -29
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/validation.py +115 -75
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/_hook_dropped_targets.py +2 -2
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/agent_integrator.py +220 -119
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/base_integrator.py +66 -26
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/canvas_integrator.py +3 -8
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/cleanup.py +96 -23
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/hook_command_paths.py +41 -0
- apm_cli-0.36.1/src/apm_cli/integration/hook_file_routing.py +158 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/hook_integrator.py +98 -106
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/hook_native_formats.py +60 -7
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/hook_ownership.py +44 -0
- apm_cli-0.36.1/src/apm_cli/integration/hook_reintegration.py +76 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/hook_source_selection.py +72 -22
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/instruction_integrator.py +37 -81
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/kiro_hook_integrator.py +2 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/lsp_integrator.py +287 -67
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/mcp_config_view.py +28 -43
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/mcp_integrator.py +87 -20
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/mcp_integrator_install.py +394 -57
- apm_cli-0.36.1/src/apm_cli/integration/skill_adoption.py +281 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/skill_integrator.py +69 -133
- apm_cli-0.36.1/src/apm_cli/integration/skill_layout.py +113 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/skill_preflight.py +112 -8
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/skill_support.py +0 -57
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/targets.py +330 -57
- apm_cli-0.36.1/src/apm_cli/marketplace/authoring_source.py +77 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/marketplace/builder.py +86 -28
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/marketplace/client.py +135 -77
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/marketplace/errors.py +13 -1
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/marketplace/models.py +29 -1
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/marketplace/output_mappers.py +2 -2
- apm_cli-0.36.1/src/apm_cli/marketplace/reconcile.py +268 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/marketplace/ref_resolver.py +137 -87
- apm_cli-0.36.1/src/apm_cli/marketplace/registration.py +189 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/marketplace/registry.py +81 -5
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/marketplace/resolver.py +57 -27
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/marketplace/source_identity.py +43 -0
- apm_cli-0.36.1/src/apm_cli/marketplace/user_manifest.py +170 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/marketplace/yml_editor.py +4 -1
- apm_cli-0.36.1/src/apm_cli/mcp_transport.py +96 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/models/apm_package.py +147 -45
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/models/dependency/identity.py +36 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/models/dependency/materialization.py +82 -13
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/models/dependency/mcp.py +34 -3
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/models/dependency/object_fields.py +1 -1
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/models/dependency/reference.py +38 -3
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/models/dependency/registry_entry.py +1 -1
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/models/dependency/replacement.py +11 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/models/dependency/selection.py +31 -3
- apm_cli-0.36.1/src/apm_cli/models/dependency/subsets.py +259 -0
- apm_cli-0.36.1/src/apm_cli/models/manifest_io.py +83 -0
- apm_cli-0.36.1/src/apm_cli/models/manifest_targets.py +225 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/policy/_constraint_pinning.py +88 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/policy/_gitlab.py +291 -52
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/policy/_help_text.py +3 -1
- apm_cli-0.36.1/src/apm_cli/policy/_policy_http.py +39 -0
- apm_cli-0.36.1/src/apm_cli/policy/_remote.py +191 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/policy/ci_checks.py +189 -100
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/policy/discovery.py +242 -294
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/policy/install_preflight.py +10 -4
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/policy/matcher.py +27 -3
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/policy/outcome_routing.py +4 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/policy/parser.py +8 -3
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/policy/policy_checks.py +146 -46
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/primitives/discovery.py +1 -6
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/registry/client.py +29 -3
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/security/executables.py +178 -97
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/security/file_scanner.py +14 -3
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/utils/console.py +16 -3
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/utils/content_hash.py +14 -3
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/utils/file_ops.py +53 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/utils/git_env.py +256 -44
- apm_cli-0.36.1/src/apm_cli/utils/git_sparse.py +613 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/utils/github_host.py +47 -70
- apm_cli-0.36.1/src/apm_cli/utils/http_credentials.py +392 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/utils/path_security.py +9 -0
- apm_cli-0.36.1/src/apm_cli/utils/paths.py +160 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/utils/yaml_io.py +5 -1
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli.egg-info/PKG-INFO +9 -12
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli.egg-info/SOURCES.txt +24 -5
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli.egg-info/requires.txt +1 -4
- {apm_cli-0.35.1 → apm_cli-0.36.1}/tests/test_github_downloader.py +11 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/tests/test_gitlab_git_transport.py +6 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/tests/test_lockfile.py +3 -3
- apm_cli-0.35.1/src/apm_cli/deps/aggregator.py +0 -63
- apm_cli-0.35.1/src/apm_cli/install/finalization.py +0 -19
- apm_cli-0.35.1/src/apm_cli/install/helpers/plan_inputs.py +0 -28
- apm_cli-0.35.1/src/apm_cli/install/mcp/ownership.py +0 -305
- apm_cli-0.35.1/src/apm_cli/integration/hook_file_routing.py +0 -217
- apm_cli-0.35.1/src/apm_cli/integration/hook_reintegration.py +0 -37
- apm_cli-0.35.1/src/apm_cli/models/dependency/subsets.py +0 -122
- apm_cli-0.35.1/src/apm_cli/utils/git_sparse.py +0 -309
- apm_cli-0.35.1/src/apm_cli/utils/paths.py +0 -66
- apm_cli-0.35.1/src/apm_cli/workflow/__init__.py +0 -1
- apm_cli-0.35.1/src/apm_cli/workflow/discovery.py +0 -101
- apm_cli-0.35.1/src/apm_cli/workflow/parser.py +0 -92
- apm_cli-0.35.1/src/apm_cli/workflow/runner.py +0 -203
- {apm_cli-0.35.1 → apm_cli-0.36.1}/LICENSE +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/LICENSE-DOCS +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/LICENSING.md +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/setup.cfg +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/adapters/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/adapters/client/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/adapters/client/_mcp_runtime_args.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/adapters/package_manager/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/adapters/package_manager/base.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/adapters/package_manager/default_manager.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/adopt/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/adopt/materialize.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/adopt/render.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/adopt/safety.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/agent_plugins/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/agent_plugins/assets.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/agent_plugins/constants.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/agent_plugins/errors.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/agent_plugins/io.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/agent_plugins/ir.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/agent_plugins/loader.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/agent_plugins/projection.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/agent_plugins/validation.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/bootstrap_mirror.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/bundle/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/bundle/attest.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/bundle/claude_plugin_exporter.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/bundle/formats.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/bundle/packer.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/bundle/reproducible_archive.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/cache/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/cache/cleanup.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/cache/http_cache.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/cache/integrity.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/cache/locking.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/cache/paths.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/cache/url_normalize.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/codex_plugins/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/codex_plugins/admission.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/codex_plugins/client.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/codex_plugins/manifest.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/codex_plugins/registrar.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/codex_plugins/snapshot.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/_apm_yml_writer.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/cache.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/compile/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/deps/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/deps/_utils.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/experimental.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/list_cmd.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/marketplace/audit.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/marketplace/doctor.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/marketplace/init.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/marketplace/migrate.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/marketplace/outdated.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/marketplace/plugin/remove.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/marketplace/validate.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/plugin/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/plugin/init.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/publish.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/run.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/runtime.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/self_update.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/commands/uninstall/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/compilation/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/compilation/build_id.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/compilation/claude_formatter.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/compilation/constants.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/compilation/constitution.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/compilation/constitution_block.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/compilation/distributed_compiler.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/compilation/footer.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/compilation/gemini_formatter.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/compilation/injector.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/compilation/inventory.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/compilation/link_resolver.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/compilation/managed_section.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/compilation/output_writer.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/compilation/template_builder.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/constants.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/copilot_plugins/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/copilot_plugins/capability.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/copilot_plugins/catalog.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/copilot_plugins/constants.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/copilot_plugins/registrar.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/core/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/core/_child_tls/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/core/_child_tls/_apm_tls.pth +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/core/_child_tls/_apm_tls_bootstrap.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/core/conflict_detector.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/core/docker_args.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/core/errors.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/core/experimental.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/core/host_providers.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/core/install_audit.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/core/operations.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/core/output_mode.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/core/plugin_manifest.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/core/project_name.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/core/script_runner.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/core/target_catalog.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/git_auth_env.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/git_remote_ops.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/github_rate_limit.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/host_backends.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/immutable_requirements.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/installed_package.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/outdated_ref_cache.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/outdated_row.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/registry/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/registry/extractor.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/registry/feature_gate.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/registry/outdated.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/registry/resolver.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/revision_pins.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/shared_clone_cache.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/transport_selection.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/deps/verifier.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/entrypoint.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/export/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/export/authoring.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/export/declared_license.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/export/formats.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/export/purl.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/export/sbom.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/export/spdx.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/export/spdx_data.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/factory.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/hook_contract.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/argv.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/audit_target_roots.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/cache_pin.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/deployable_source_plan.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/deployed_paths.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/dry_run_plan.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/errors.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/gitlab_resolver.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/heals/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/heals/base.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/heals/branch_ref_drift.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/heals/buggy_lockfile_recovery.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/helpers/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/helpers/absence_observation.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/helpers/no_work.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/helpers/ref_seed.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/helpers/security_scan.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/insecure_policy.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/integrity.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/lsp/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/mcp/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/mcp/args.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/mcp/conflicts.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/mcp/entry.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/mcp/registry.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/mcp/warnings.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/outcome.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/phases/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/phases/_skip_logic.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/phases/audit.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/phases/codex_plugins.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/phases/copilot_plugins.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/phases/download.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/phases/finalize.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/phases/heal.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/phases/post_deps_local.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/presentation/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/presentation/dry_run.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/presentation/resolution.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/primitive_classification.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/project_package.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/registry_wiring.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/replay_transport.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/root_redirect.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/skill_path_migration.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/summary.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/target_hints.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/target_warnings.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/install/transaction.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/_shared.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/command_integrator.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/copilot_app_db.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/copilot_app_project.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/copilot_app_workflow_integrator.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/copilot_app_ws.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/copilot_cowork_paths.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/coverage.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/dispatch.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/hook_bundle.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/hook_command_warnings.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/hook_cursor_preflight.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/hook_ir.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/opencode_frontmatter.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/prompt_integrator.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/skill_package_routing.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/skill_transformer.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/integration/utils.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/marketplace/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/marketplace/_git_utils.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/marketplace/_io.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/marketplace/_shared.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/marketplace/audit.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/marketplace/auth_helpers.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/marketplace/diagnostics.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/marketplace/drift_check.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/marketplace/git_stderr.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/marketplace/init_template.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/marketplace/migration.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/marketplace/output_profiles.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/marketplace/semver.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/marketplace/shadow_detector.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/marketplace/tag_pattern.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/marketplace/validator.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/marketplace/version_check.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/marketplace/version_pins.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/marketplace/version_resolver.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/marketplace/yml_schema.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/models/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/models/dependency/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/models/dependency/host_virtual.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/models/dependency/lsp.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/models/dependency/provider_coordinates.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/models/dependency/types.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/models/format_detection.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/models/manifest_contract.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/models/plugin.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/models/results.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/models/validation.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/output/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/output/formatters.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/output/models.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/output/script_formatters.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/policy/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/policy/_shared.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/policy/inheritance.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/policy/models.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/policy/project_config.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/policy/schema.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/primitives/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/primitives/models.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/primitives/parser.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/registry/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/registry/integration.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/registry/operations.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/runtime/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/runtime/base.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/runtime/codex_runtime.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/runtime/copilot_runtime.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/runtime/factory.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/runtime/llm_runtime.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/runtime/manager.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/runtime/registry.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/runtime/utils.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/security/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/security/audit_report.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/security/content_scanner.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/security/external/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/security/external/base.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/security/external/gate.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/security/external/generic_sarif.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/security/external/options.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/security/external/registry.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/security/external/runner.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/security/external/sarif_ingest.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/security/external/skillspector.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/security/gate.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/security/primitive_discovery.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/update_policy.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/utils/__init__.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/utils/archive.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/utils/atomic_io.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/utils/diagnostics.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/utils/exclude.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/utils/guards.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/utils/helpers.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/utils/install_tui.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/utils/net.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/utils/normalization.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/utils/patterns.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/utils/perf_stats.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/utils/reflink.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/utils/short_sha.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/utils/staging_guard.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/utils/subprocess_env.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/utils/version_checker.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/version.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli/version_output.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli.egg-info/dependency_links.txt +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli.egg-info/entry_points.txt +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/src/apm_cli.egg-info/top_level.txt +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/tests/test_apm_package_models.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/tests/test_apm_resolver.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/tests/test_codex_docker_args_fix.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/tests/test_codex_empty_string_and_defaults.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/tests/test_collision_integration.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/tests/test_console.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/tests/test_distributed_compilation.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/tests/test_empty_string_and_defaults.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/tests/test_enhanced_discovery.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/tests/test_github_downloader_token_precedence.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/tests/test_runnable_prompts.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/tests/test_runtime_manager_token_precedence.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/tests/test_token_manager.py +0 -0
- {apm_cli-0.35.1 → apm_cli-0.36.1}/tests/test_virtual_package_multi_install.py +0 -0
|
@@ -697,43 +697,6 @@ SOFTWARE.
|
|
|
697
697
|
|
|
698
698
|
---
|
|
699
699
|
|
|
700
|
-
## Component. tomli
|
|
701
|
-
|
|
702
|
-
- Version requirement: `>=1.2.0; python_version<'3.11'`
|
|
703
|
-
- Upstream: https://github.com/hukkin/tomli
|
|
704
|
-
- SPDX: `MIT`
|
|
705
|
-
- Notes: Conditional dependency: only installed on Python < 3.11. Still ships in the sdist/wheel install graph.
|
|
706
|
-
|
|
707
|
-
### Open Source License/Copyright Notice.
|
|
708
|
-
|
|
709
|
-
_Copyright (c) 2021 Taneli Hukkinen_
|
|
710
|
-
|
|
711
|
-
```
|
|
712
|
-
MIT License
|
|
713
|
-
|
|
714
|
-
Copyright (c) 2021 Taneli Hukkinen
|
|
715
|
-
|
|
716
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
717
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
718
|
-
in the Software without restriction, including without limitation the rights
|
|
719
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
720
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
721
|
-
furnished to do so, subject to the following conditions:
|
|
722
|
-
|
|
723
|
-
The above copyright notice and this permission notice shall be included in all
|
|
724
|
-
copies or substantial portions of the Software.
|
|
725
|
-
|
|
726
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
727
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
728
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
729
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
730
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
731
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
732
|
-
SOFTWARE.
|
|
733
|
-
```
|
|
734
|
-
|
|
735
|
-
---
|
|
736
|
-
|
|
737
700
|
## Component. toml
|
|
738
701
|
|
|
739
702
|
- Version requirement: `>=0.10.2`
|
|
@@ -1325,10 +1288,10 @@ _Copyright (c) 2014-2026 Anthon van der Neut, Ruamel bvba_
|
|
|
1325
1288
|
|
|
1326
1289
|
## Component. filelock
|
|
1327
1290
|
|
|
1328
|
-
- Version requirement: `>=
|
|
1291
|
+
- Version requirement: `>=4.2.1`
|
|
1329
1292
|
- Upstream: https://github.com/tox-dev/filelock
|
|
1330
1293
|
- SPDX: `MIT`
|
|
1331
|
-
- Notes: Used for cross-process file-based locks in the persistent install cache. Attribution verified against the locked
|
|
1294
|
+
- Notes: Used for cross-process file-based locks in the persistent install cache. Attribution verified against the locked 4.2.10 release; this does not assert that every release admitted by filelock>=4.2.1 uses MIT.
|
|
1332
1295
|
|
|
1333
1296
|
### Open Source License/Copyright Notice.
|
|
1334
1297
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: apm-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.36.1
|
|
4
4
|
Summary: MCP configuration tool
|
|
5
5
|
Author-email: Daniel Meppiel <user@example.com>
|
|
6
6
|
License:
|
|
@@ -207,13 +207,11 @@ License:
|
|
|
207
207
|
limitations under the License.
|
|
208
208
|
|
|
209
209
|
Classifier: Programming Language :: Python :: 3
|
|
210
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
211
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
212
210
|
Classifier: Programming Language :: Python :: 3.11
|
|
213
211
|
Classifier: Programming Language :: Python :: 3.12
|
|
214
212
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
215
213
|
Classifier: Operating System :: OS Independent
|
|
216
|
-
Requires-Python: >=3.
|
|
214
|
+
Requires-Python: >=3.11
|
|
217
215
|
Description-Content-Type: text/markdown
|
|
218
216
|
License-File: LICENSE
|
|
219
217
|
License-File: LICENSE-DOCS
|
|
@@ -227,7 +225,6 @@ Requires-Dist: truststore>=0.10.0
|
|
|
227
225
|
Requires-Dist: python-frontmatter>=1.0.0
|
|
228
226
|
Requires-Dist: llm>=0.28
|
|
229
227
|
Requires-Dist: llm-github-models>=0.18.0
|
|
230
|
-
Requires-Dist: tomli>=1.2.0; python_version < "3.11"
|
|
231
228
|
Requires-Dist: toml>=0.10.2
|
|
232
229
|
Requires-Dist: tomlkit>=0.13
|
|
233
230
|
Requires-Dist: rich>=13.0.0
|
|
@@ -235,7 +232,7 @@ Requires-Dist: rich-click>=1.7.0
|
|
|
235
232
|
Requires-Dist: watchdog>=3.0.0
|
|
236
233
|
Requires-Dist: GitPython>=3.1.0
|
|
237
234
|
Requires-Dist: ruamel.yaml>=0.18.0
|
|
238
|
-
Requires-Dist: filelock>=
|
|
235
|
+
Requires-Dist: filelock>=4.2.1
|
|
239
236
|
Requires-Dist: websockets<17,>=12
|
|
240
237
|
Provides-Extra: dev
|
|
241
238
|
Requires-Dist: pytest>=7.0.0; extra == "dev"
|
|
@@ -385,7 +382,7 @@ You do not need Homebrew to use APM.
|
|
|
385
382
|
#### Linux / macOS
|
|
386
383
|
|
|
387
384
|
```bash
|
|
388
|
-
# pip (Python 3.
|
|
385
|
+
# pip (Python 3.11+)
|
|
389
386
|
pip install apm-cli
|
|
390
387
|
```
|
|
391
388
|
|
|
@@ -427,13 +424,13 @@ Or add an MCP server (wired into Copilot, Claude, Cursor, Codex, OpenCode, Gemin
|
|
|
427
424
|
apm install --mcp io.github.github/github-mcp-server --transport http # connects over HTTPS
|
|
428
425
|
```
|
|
429
426
|
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
## Works with agentrc
|
|
427
|
+
Teach your coding agent to use APM with the [official guide](https://github.com/microsoft/apm/tree/main/packages/apm-guide) (an expert agent plus the `apm-usage` skill):
|
|
433
428
|
|
|
434
|
-
|
|
429
|
+
```bash
|
|
430
|
+
apm install microsoft/apm/packages/apm-guide#v0.35.1
|
|
431
|
+
```
|
|
435
432
|
|
|
436
|
-
|
|
433
|
+
See the **[Getting Started guide](https://microsoft.github.io/apm/quickstart/)** for the full walkthrough.
|
|
437
434
|
|
|
438
435
|
## Community
|
|
439
436
|
|
|
@@ -131,7 +131,7 @@ You do not need Homebrew to use APM.
|
|
|
131
131
|
#### Linux / macOS
|
|
132
132
|
|
|
133
133
|
```bash
|
|
134
|
-
# pip (Python 3.
|
|
134
|
+
# pip (Python 3.11+)
|
|
135
135
|
pip install apm-cli
|
|
136
136
|
```
|
|
137
137
|
|
|
@@ -173,13 +173,13 @@ Or add an MCP server (wired into Copilot, Claude, Cursor, Codex, OpenCode, Gemin
|
|
|
173
173
|
apm install --mcp io.github.github/github-mcp-server --transport http # connects over HTTPS
|
|
174
174
|
```
|
|
175
175
|
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
## Works with agentrc
|
|
176
|
+
Teach your coding agent to use APM with the [official guide](https://github.com/microsoft/apm/tree/main/packages/apm-guide) (an expert agent plus the `apm-usage` skill):
|
|
179
177
|
|
|
180
|
-
|
|
178
|
+
```bash
|
|
179
|
+
apm install microsoft/apm/packages/apm-guide#v0.35.1
|
|
180
|
+
```
|
|
181
181
|
|
|
182
|
-
|
|
182
|
+
See the **[Getting Started guide](https://microsoft.github.io/apm/quickstart/)** for the full walkthrough.
|
|
183
183
|
|
|
184
184
|
## Community
|
|
185
185
|
|
|
@@ -4,18 +4,16 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "apm-cli"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.36.1"
|
|
8
8
|
description = "MCP configuration tool"
|
|
9
9
|
readme = "README.md"
|
|
10
|
-
requires-python = ">=3.
|
|
10
|
+
requires-python = ">=3.11"
|
|
11
11
|
license = {file = "LICENSE"}
|
|
12
12
|
authors = [
|
|
13
13
|
{name = "Daniel Meppiel", email = "user@example.com"}
|
|
14
14
|
]
|
|
15
15
|
classifiers = [
|
|
16
16
|
"Programming Language :: Python :: 3",
|
|
17
|
-
"Programming Language :: Python :: 3.9",
|
|
18
|
-
"Programming Language :: Python :: 3.10",
|
|
19
17
|
"Programming Language :: Python :: 3.11",
|
|
20
18
|
"Programming Language :: Python :: 3.12",
|
|
21
19
|
"License :: OSI Approved :: Apache Software License",
|
|
@@ -30,7 +28,6 @@ dependencies = [
|
|
|
30
28
|
"python-frontmatter>=1.0.0",
|
|
31
29
|
"llm>=0.28",
|
|
32
30
|
"llm-github-models>=0.18.0",
|
|
33
|
-
"tomli>=1.2.0; python_version<'3.11'",
|
|
34
31
|
"toml>=0.10.2",
|
|
35
32
|
"tomlkit>=0.13",
|
|
36
33
|
"rich>=13.0.0",
|
|
@@ -38,7 +35,7 @@ dependencies = [
|
|
|
38
35
|
"watchdog>=3.0.0",
|
|
39
36
|
"GitPython>=3.1.0",
|
|
40
37
|
"ruamel.yaml>=0.18.0",
|
|
41
|
-
"filelock>=
|
|
38
|
+
"filelock>=4.2.1",
|
|
42
39
|
"websockets>=12,<17",
|
|
43
40
|
]
|
|
44
41
|
|
|
@@ -75,15 +72,9 @@ include = ["apm_cli*"]
|
|
|
75
72
|
# .pth inline), but packaging it keeps the source tree and wheel in sync.
|
|
76
73
|
"apm_cli.core._child_tls" = ["*.pth"]
|
|
77
74
|
|
|
78
|
-
[tool.uv]
|
|
79
|
-
# filelock >=4.2.1 (the first release with the GHSA-v4x8-3wr5-3wq8 family of
|
|
80
|
-
# fixes) requires Python >=3.11. Keep Python 3.10 on the 3.x line already
|
|
81
|
-
# shipped (3.29.0) rather than resolving to the vulnerable 4.1.x releases.
|
|
82
|
-
constraint-dependencies = ["filelock==3.29.0; python_version < '3.11'"]
|
|
83
|
-
|
|
84
75
|
[tool.ruff]
|
|
85
76
|
line-length = 100
|
|
86
|
-
target-version = "
|
|
77
|
+
target-version = "py311"
|
|
87
78
|
|
|
88
79
|
[tool.ruff.lint]
|
|
89
80
|
select = [
|
|
@@ -107,6 +98,7 @@ ignore = [
|
|
|
107
98
|
"S602", # subprocess-popen-with-shell -- intentional in CLI wrapping git/pip
|
|
108
99
|
# --- Deferred rules: enable in dedicated future PRs ---
|
|
109
100
|
"SIM102", # collapsible-if -- 28 violations, auto-fixable style improvement
|
|
101
|
+
"UP042", # replace-str-enum -- StrEnum changes str()/format() output; migrate deliberately
|
|
110
102
|
]
|
|
111
103
|
|
|
112
104
|
[tool.ruff.lint.pylint]
|
|
@@ -214,7 +206,7 @@ markers = [
|
|
|
214
206
|
"slow: marks tests as slow running tests",
|
|
215
207
|
"benchmark: marks performance benchmark tests (deselected by default, run with -m benchmark)",
|
|
216
208
|
"windows_compat: load-bearing cross-platform regression contract family (CRLF-safe atomic writes, portable path formatting, git-executable resolution, socket/thread shutdown); runs on every OS and is additionally selected by the PR-time Windows Compatibility Gate -- NOT a requires_windows skip-gate, do not use requires_windows for this",
|
|
217
|
-
"trusted_executable: native trusted git/gh discovery and real consumer regressions; additionally selected on Windows Python 3.
|
|
209
|
+
"trusted_executable: native trusted git/gh discovery and real consumer regressions; additionally selected on Windows Python 3.11",
|
|
218
210
|
"requires_e2e_mode: requires APM_E2E_TESTS=1",
|
|
219
211
|
"requires_github_token: requires GITHUB_APM_PAT or GITHUB_TOKEN",
|
|
220
212
|
"requires_ado_pat: requires ADO_APM_PAT",
|
|
@@ -230,5 +222,7 @@ markers = [
|
|
|
230
222
|
"req: binds a test to one or more OpenAPM req-XXX ids (spec-conformance suite)",
|
|
231
223
|
"lifecycle_smoke: promoted to the required PR-time Lifecycle Smoke (Linux) job -- see ci.yml's lifecycle-smoke job and docs/src/content/docs/contributing/integration-testing.md",
|
|
232
224
|
"lifecycle_merge_group: unique lifecycle contracts retained in the full merge-group integration suite",
|
|
225
|
+
"architecture_contract: platform-agnostic architecture-linter contract over repository source (applied to tests/integration/test_architecture_*); runs once on Linux, deselected on macOS, Windows and Linux arm64 release lanes",
|
|
226
|
+
"platform_sensitive: integration behavior that varies by OS, filesystem or shell (symlinks, case folding, permissions, shells); also runs on the macOS release lanes",
|
|
233
227
|
"xdist_group(name): assigns HOME-mutating tests to one pytest-xdist loadgroup for process-level serialization",
|
|
234
228
|
]
|
|
@@ -0,0 +1,387 @@
|
|
|
1
|
+
"""Per-harness remote MCP output shape table (single owner).
|
|
2
|
+
|
|
3
|
+
Each MCP client adapter registered in :class:`apm_cli.factory.ClientFactory`
|
|
4
|
+
declares its own row here and binds it in its class body
|
|
5
|
+
(``remote_shape = remote_shape_row("<runtime>")``), so a subclass never
|
|
6
|
+
silently inherits its parent's remote keys. Every row cites the vendor
|
|
7
|
+
evidence it was built from; rows APM has not re-verified against current
|
|
8
|
+
vendor docs are marked ``verified=False`` and listed in
|
|
9
|
+
:data:`UNVERIFIED_REMOTE_SHAPES`.
|
|
10
|
+
|
|
11
|
+
A row maps each canonical transport (see :mod:`apm_cli.mcp_transport`) to the
|
|
12
|
+
native URL key and, when the harness uses one, the native transport
|
|
13
|
+
discriminator. A transport the harness does not support maps to
|
|
14
|
+
:data:`UNSUPPORTED`; such a server is skipped for that harness with one
|
|
15
|
+
warning and is not claimed (:func:`skip_unsupported_remote`).
|
|
16
|
+
|
|
17
|
+
``retired`` lists the remote shapes earlier APM releases wrote for the same
|
|
18
|
+
row, so the ownership owner can recognize and heal an APM-written entry in a
|
|
19
|
+
retired shape (``MCPClientAdapter.legacy_managed_renders``).
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
from __future__ import annotations
|
|
23
|
+
|
|
24
|
+
from collections.abc import Callable, Mapping
|
|
25
|
+
from dataclasses import dataclass, field
|
|
26
|
+
from types import MappingProxyType
|
|
27
|
+
from typing import Any
|
|
28
|
+
|
|
29
|
+
from ...mcp_transport import (
|
|
30
|
+
CANONICAL_REMOTE_TRANSPORTS,
|
|
31
|
+
TRANSPORT_SSE,
|
|
32
|
+
TRANSPORT_STREAMABLE_HTTP,
|
|
33
|
+
canonical_remote_transport,
|
|
34
|
+
)
|
|
35
|
+
from ...utils.console import _rich_warning
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
class _Unsupported:
|
|
39
|
+
"""Sentinel marking a canonical transport a harness cannot load."""
|
|
40
|
+
|
|
41
|
+
_instance: _Unsupported | None = None
|
|
42
|
+
|
|
43
|
+
def __new__(cls) -> _Unsupported:
|
|
44
|
+
if cls._instance is None:
|
|
45
|
+
cls._instance = super().__new__(cls)
|
|
46
|
+
return cls._instance
|
|
47
|
+
|
|
48
|
+
def __repr__(self) -> str:
|
|
49
|
+
return "UNSUPPORTED"
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
UNSUPPORTED = _Unsupported()
|
|
53
|
+
|
|
54
|
+
# ``None`` in ``type_values`` means "emit no discriminator for this transport".
|
|
55
|
+
_TypeValue = str | None
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
class UnsupportedRemoteTransportError(ValueError):
|
|
59
|
+
"""Raised when a comparison render asks for a transport the harness refuses."""
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
def _frozen(mapping: Mapping[str, Any]) -> Mapping[str, Any]:
|
|
63
|
+
return MappingProxyType(dict(mapping))
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
@dataclass(frozen=True)
|
|
67
|
+
class ShapeSpec:
|
|
68
|
+
"""Remote keys one harness reads, per canonical transport."""
|
|
69
|
+
|
|
70
|
+
url_keys: Mapping[str, str | _Unsupported]
|
|
71
|
+
type_key: str | None = None
|
|
72
|
+
type_values: Mapping[str, _TypeValue] = field(default_factory=dict)
|
|
73
|
+
|
|
74
|
+
def __post_init__(self) -> None:
|
|
75
|
+
object.__setattr__(self, "url_keys", _frozen(self.url_keys))
|
|
76
|
+
object.__setattr__(self, "type_values", _frozen(self.type_values))
|
|
77
|
+
if set(self.url_keys) != CANONICAL_REMOTE_TRANSPORTS:
|
|
78
|
+
raise ValueError("A remote shape must state every canonical transport explicitly")
|
|
79
|
+
if self.type_key is None and self.type_values:
|
|
80
|
+
raise ValueError("type_values require a type_key")
|
|
81
|
+
if self.type_key is not None and set(self.type_values) != set(self.supported):
|
|
82
|
+
raise ValueError("type_values must cover exactly the supported transports")
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
def supported(self) -> frozenset[str]:
|
|
86
|
+
return frozenset(t for t, key in self.url_keys.items() if key is not UNSUPPORTED)
|
|
87
|
+
|
|
88
|
+
def supports(self, transport: str) -> bool:
|
|
89
|
+
return transport in self.supported
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
def owned_keys(self) -> frozenset[str]:
|
|
93
|
+
keys = {key for key in self.url_keys.values() if isinstance(key, str)}
|
|
94
|
+
if self.type_key is not None:
|
|
95
|
+
keys.add(self.type_key)
|
|
96
|
+
return frozenset(keys)
|
|
97
|
+
|
|
98
|
+
def render(self, transport: str, url: str) -> dict:
|
|
99
|
+
"""Return the native transport keys for *transport* (discriminator first)."""
|
|
100
|
+
url_key = self.url_keys[transport]
|
|
101
|
+
if url_key is UNSUPPORTED:
|
|
102
|
+
raise UnsupportedRemoteTransportError(f"transport {transport!r} is unsupported")
|
|
103
|
+
rendered: dict = {}
|
|
104
|
+
if self.type_key is not None and self.type_values.get(transport) is not None:
|
|
105
|
+
rendered[self.type_key] = self.type_values[transport]
|
|
106
|
+
rendered[url_key] = url
|
|
107
|
+
return rendered
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
@dataclass(frozen=True)
|
|
111
|
+
class RemoteShape(ShapeSpec):
|
|
112
|
+
"""One harness row: current shape, evidence, and earlier APM renders."""
|
|
113
|
+
|
|
114
|
+
runtime: str = ""
|
|
115
|
+
label: str = ""
|
|
116
|
+
evidence_url: str = ""
|
|
117
|
+
verified: bool = True
|
|
118
|
+
retired: tuple[ShapeSpec, ...] = ()
|
|
119
|
+
# Explicitly reuse another row's evidence; never implied by subclassing.
|
|
120
|
+
inherits: str | None = None
|
|
121
|
+
inherits_evidence_url: str | None = None
|
|
122
|
+
|
|
123
|
+
def __post_init__(self) -> None:
|
|
124
|
+
super().__post_init__()
|
|
125
|
+
if not self.runtime or not self.label or not self.evidence_url:
|
|
126
|
+
raise ValueError("A remote shape row needs runtime, label and evidence_url")
|
|
127
|
+
if self.inherits is not None and not self.inherits_evidence_url:
|
|
128
|
+
raise ValueError("An inherited remote shape needs its own evidence URL")
|
|
129
|
+
|
|
130
|
+
@property
|
|
131
|
+
def unsupported(self) -> frozenset[str]:
|
|
132
|
+
return CANONICAL_REMOTE_TRANSPORTS - self.supported
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
_S = TRANSPORT_STREAMABLE_HTTP
|
|
136
|
+
_E = TRANSPORT_SSE
|
|
137
|
+
_TRANSPORT_DISPLAY = {_S: "Streamable HTTP", _E: "SSE"}
|
|
138
|
+
|
|
139
|
+
_COPILOT_DOCS = (
|
|
140
|
+
"https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-command-reference"
|
|
141
|
+
)
|
|
142
|
+
_ANTIGRAVITY_DOCS = "https://antigravity.google/docs/mcp"
|
|
143
|
+
_GEMINI_DOCS = "https://github.com/google-gemini/gemini-cli/blob/main/docs/tools/mcp-server.md"
|
|
144
|
+
|
|
145
|
+
# APM <= 0.36 wrote ``type: http`` for every remote on the Copilot family.
|
|
146
|
+
_RETIRED_TYPE_HTTP_FOR_SSE = ShapeSpec(
|
|
147
|
+
url_keys={_S: "url", _E: "url"}, type_key="type", type_values={_S: "http", _E: "http"}
|
|
148
|
+
)
|
|
149
|
+
# APM <= 0.36 wrote ``httpUrl`` for registry remotes on Gemini and Antigravity
|
|
150
|
+
# (the v0.1 ``type`` was not read) and ``url`` for self-defined SSE.
|
|
151
|
+
_RETIRED_GEMINI_HTTPURL = ShapeSpec(url_keys={_S: "httpUrl", _E: "httpUrl"})
|
|
152
|
+
_RETIRED_GEMINI_SSE_URL = ShapeSpec(url_keys={_S: "httpUrl", _E: "url"})
|
|
153
|
+
|
|
154
|
+
REMOTE_SHAPES: Mapping[str, RemoteShape] = MappingProxyType(
|
|
155
|
+
{
|
|
156
|
+
row.runtime: row
|
|
157
|
+
for row in (
|
|
158
|
+
RemoteShape(
|
|
159
|
+
runtime="copilot",
|
|
160
|
+
label="Copilot CLI",
|
|
161
|
+
url_keys={_S: "url", _E: "url"},
|
|
162
|
+
type_key="type",
|
|
163
|
+
type_values={_S: "http", _E: "sse"},
|
|
164
|
+
evidence_url=_COPILOT_DOCS,
|
|
165
|
+
retired=(_RETIRED_TYPE_HTTP_FOR_SSE,),
|
|
166
|
+
),
|
|
167
|
+
RemoteShape(
|
|
168
|
+
runtime="vscode",
|
|
169
|
+
label="VS Code",
|
|
170
|
+
url_keys={_S: "url", _E: "url"},
|
|
171
|
+
type_key="type",
|
|
172
|
+
type_values={_S: "http", _E: "sse"},
|
|
173
|
+
evidence_url="https://code.visualstudio.com/docs/copilot/reference/mcp-configuration",
|
|
174
|
+
retired=(
|
|
175
|
+
# Self-defined ``transport: streamable-http`` was written
|
|
176
|
+
# verbatim; registry SSE remotes were written as ``http``.
|
|
177
|
+
ShapeSpec(
|
|
178
|
+
url_keys={_S: "url", _E: "url"},
|
|
179
|
+
type_key="type",
|
|
180
|
+
type_values={_S: "streamable-http", _E: "http"},
|
|
181
|
+
),
|
|
182
|
+
),
|
|
183
|
+
),
|
|
184
|
+
RemoteShape(
|
|
185
|
+
runtime="claude",
|
|
186
|
+
label="Claude Code",
|
|
187
|
+
url_keys={_S: "url", _E: "url"},
|
|
188
|
+
type_key="type",
|
|
189
|
+
type_values={_S: "http", _E: "sse"},
|
|
190
|
+
evidence_url="https://code.claude.com/docs/en/mcp",
|
|
191
|
+
retired=(_RETIRED_TYPE_HTTP_FOR_SSE,),
|
|
192
|
+
),
|
|
193
|
+
RemoteShape(
|
|
194
|
+
runtime="cursor",
|
|
195
|
+
label="Cursor",
|
|
196
|
+
url_keys={_S: "url", _E: "url"},
|
|
197
|
+
type_key="type",
|
|
198
|
+
type_values={_S: "http", _E: "http"},
|
|
199
|
+
evidence_url="https://cursor.com/docs/context/mcp",
|
|
200
|
+
verified=False,
|
|
201
|
+
),
|
|
202
|
+
RemoteShape(
|
|
203
|
+
runtime="gemini",
|
|
204
|
+
label="Gemini CLI",
|
|
205
|
+
url_keys={_S: "httpUrl", _E: "url"},
|
|
206
|
+
evidence_url=_GEMINI_DOCS,
|
|
207
|
+
retired=(_RETIRED_GEMINI_HTTPURL,),
|
|
208
|
+
),
|
|
209
|
+
RemoteShape(
|
|
210
|
+
runtime="antigravity",
|
|
211
|
+
label="Antigravity",
|
|
212
|
+
url_keys={_S: "serverUrl", _E: UNSUPPORTED},
|
|
213
|
+
evidence_url=_ANTIGRAVITY_DOCS,
|
|
214
|
+
retired=(_RETIRED_GEMINI_HTTPURL, _RETIRED_GEMINI_SSE_URL),
|
|
215
|
+
),
|
|
216
|
+
RemoteShape(
|
|
217
|
+
runtime="codex",
|
|
218
|
+
label="Codex CLI",
|
|
219
|
+
url_keys={_S: "url", _E: UNSUPPORTED},
|
|
220
|
+
evidence_url="https://developers.openai.com/codex/mcp",
|
|
221
|
+
# APM <= 0.36 wrote registry SSE remotes as Streamable HTTP.
|
|
222
|
+
retired=(ShapeSpec(url_keys={_S: "url", _E: "url"}),),
|
|
223
|
+
),
|
|
224
|
+
# Hermes connects over Streamable HTTP unless ``transport: sse``
|
|
225
|
+
# is set (``None`` omits the key for Streamable HTTP).
|
|
226
|
+
RemoteShape(
|
|
227
|
+
runtime="hermes",
|
|
228
|
+
label="Hermes",
|
|
229
|
+
url_keys={_S: "url", _E: "url"},
|
|
230
|
+
type_key="transport",
|
|
231
|
+
type_values={_S: None, _E: "sse"},
|
|
232
|
+
evidence_url="https://hermes-agent.nousresearch.com/docs/reference/mcp-config-reference",
|
|
233
|
+
# APM <= 0.36 wrote no ``transport`` key, so SSE remotes
|
|
234
|
+
# connected as Streamable HTTP (#3749).
|
|
235
|
+
retired=(ShapeSpec(url_keys={_S: "url", _E: "url"}),),
|
|
236
|
+
),
|
|
237
|
+
# OpenCode converts the entry to ``type: remote`` (opencode.py).
|
|
238
|
+
RemoteShape(
|
|
239
|
+
runtime="opencode",
|
|
240
|
+
label="OpenCode",
|
|
241
|
+
url_keys={_S: "url", _E: "url"},
|
|
242
|
+
type_key="type",
|
|
243
|
+
type_values={_S: "remote", _E: "remote"},
|
|
244
|
+
evidence_url="https://opencode.ai/docs/mcp-servers/",
|
|
245
|
+
verified=False,
|
|
246
|
+
),
|
|
247
|
+
RemoteShape(
|
|
248
|
+
runtime="kiro",
|
|
249
|
+
label="Kiro",
|
|
250
|
+
url_keys={_S: "url", _E: "url"},
|
|
251
|
+
evidence_url="https://kiro.dev/docs/mcp/configuration/",
|
|
252
|
+
verified=False,
|
|
253
|
+
),
|
|
254
|
+
RemoteShape(
|
|
255
|
+
runtime="windsurf",
|
|
256
|
+
label="Windsurf",
|
|
257
|
+
url_keys={_S: "url", _E: "url"},
|
|
258
|
+
type_key="type",
|
|
259
|
+
type_values={_S: "http", _E: "http"},
|
|
260
|
+
evidence_url="https://docs.windsurf.com/windsurf/cascade/mcp",
|
|
261
|
+
verified=False,
|
|
262
|
+
),
|
|
263
|
+
RemoteShape(
|
|
264
|
+
runtime="intellij",
|
|
265
|
+
label="JetBrains Copilot",
|
|
266
|
+
url_keys={_S: "url", _E: "url"},
|
|
267
|
+
type_key="type",
|
|
268
|
+
type_values={_S: "http", _E: "http"},
|
|
269
|
+
evidence_url="https://docs.github.com/en/copilot/how-tos/provide-context/use-mcp/extend-copilot-chat-with-mcp",
|
|
270
|
+
verified=False,
|
|
271
|
+
),
|
|
272
|
+
)
|
|
273
|
+
}
|
|
274
|
+
)
|
|
275
|
+
|
|
276
|
+
# Rows whose remote keys were not re-verified against current vendor docs.
|
|
277
|
+
UNVERIFIED_REMOTE_SHAPES: frozenset[str] = frozenset(
|
|
278
|
+
{"cursor", "intellij", "kiro", "opencode", "windsurf"}
|
|
279
|
+
)
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
def remote_shape_row(runtime: str) -> RemoteShape:
|
|
283
|
+
"""Return the row an adapter class binds in its own body."""
|
|
284
|
+
return REMOTE_SHAPES[runtime]
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
def remote_shape_of(adapter: Any) -> RemoteShape:
|
|
288
|
+
"""Return the row the adapter's own class declares (never an inherited one)."""
|
|
289
|
+
cls = adapter if isinstance(adapter, type) else type(adapter)
|
|
290
|
+
shape = cls.__dict__.get("remote_shape")
|
|
291
|
+
if not isinstance(shape, RemoteShape):
|
|
292
|
+
raise TypeError(f"{cls.__name__} must declare its own remote_shape row")
|
|
293
|
+
return shape
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
def active_remote_shape(adapter: Any) -> ShapeSpec:
|
|
297
|
+
"""Shape an adapter renders with now: its own row, or a retired shape while
|
|
298
|
+
``legacy_managed_renders`` reproduces an earlier APM render."""
|
|
299
|
+
override = adapter._remote_shape_override
|
|
300
|
+
return override if isinstance(override, ShapeSpec) else remote_shape_of(adapter)
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
def requested_remote_transport(adapter: Any, server_info: Mapping) -> str | None:
|
|
304
|
+
"""Return the canonical transport of the remote *adapter* would render, if any."""
|
|
305
|
+
remote = adapter.selected_remote(server_info)
|
|
306
|
+
if remote is None:
|
|
307
|
+
return None
|
|
308
|
+
try:
|
|
309
|
+
return canonical_remote_transport(remote)
|
|
310
|
+
except ValueError:
|
|
311
|
+
return None # the adapter reports an unknown transport when it renders
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
def unsupported_remote_transport(adapter: Any, server_info: Mapping) -> str | None:
|
|
315
|
+
"""Return the requested transport when *adapter*'s harness cannot load it."""
|
|
316
|
+
transport = requested_remote_transport(adapter, server_info)
|
|
317
|
+
if transport is None or remote_shape_of(adapter).supports(transport):
|
|
318
|
+
return None
|
|
319
|
+
return transport
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
def may_refuse_remote(runtime: str, declared_transport: str | None) -> bool:
|
|
323
|
+
"""Whether *runtime* may refuse this server's remote transport (no registry payload).
|
|
324
|
+
|
|
325
|
+
``None`` (a registry server without a declared transport) means only the
|
|
326
|
+
registry payload can decide, so any runtime with an unsupported transport may.
|
|
327
|
+
"""
|
|
328
|
+
row = REMOTE_SHAPES.get(runtime)
|
|
329
|
+
if row is None or not row.unsupported:
|
|
330
|
+
return False
|
|
331
|
+
if declared_transport is None:
|
|
332
|
+
return True
|
|
333
|
+
if declared_transport not in ("http", TRANSPORT_SSE, TRANSPORT_STREAMABLE_HTTP):
|
|
334
|
+
return False
|
|
335
|
+
return canonical_remote_transport({"transport": declared_transport}) in row.unsupported
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
def unsupported_remote_message(adapter: Any, server_name: str, transport: str) -> str:
|
|
339
|
+
"""Wording shared by every unsupported-transport skip."""
|
|
340
|
+
shape = remote_shape_of(adapter)
|
|
341
|
+
supported = ", ".join(sorted(shape.supported)) or "none"
|
|
342
|
+
display = _TRANSPORT_DISPLAY.get(transport, transport)
|
|
343
|
+
return (
|
|
344
|
+
f"Skipping MCP server '{server_name}' for {shape.label}: the {display} transport "
|
|
345
|
+
f"is not supported by {shape.label} (supported remote transports: {supported}). "
|
|
346
|
+
f"The server was not configured for {shape.label}. See {shape.evidence_url}"
|
|
347
|
+
)
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
def skip_unsupported_remote(
|
|
351
|
+
adapter: Any,
|
|
352
|
+
server_name: str,
|
|
353
|
+
transport: str,
|
|
354
|
+
*,
|
|
355
|
+
warn: Callable[[str], Any] | None = None,
|
|
356
|
+
) -> None:
|
|
357
|
+
"""Disposition for a transport the harness refuses: warn, skip, do not claim.
|
|
358
|
+
|
|
359
|
+
Returns ``None`` so an adapter's ``_format_server_config`` can return it
|
|
360
|
+
directly. A comparison render raises instead, so preview and ownership
|
|
361
|
+
comparisons never print the warning a second time.
|
|
362
|
+
"""
|
|
363
|
+
message = unsupported_remote_message(adapter, server_name, transport)
|
|
364
|
+
if adapter._comparison_render_depth:
|
|
365
|
+
raise UnsupportedRemoteTransportError(message)
|
|
366
|
+
if warn is None:
|
|
367
|
+
_rich_warning(message, symbol="warning")
|
|
368
|
+
else:
|
|
369
|
+
warn(message)
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
__all__ = [
|
|
373
|
+
"REMOTE_SHAPES",
|
|
374
|
+
"UNSUPPORTED",
|
|
375
|
+
"UNVERIFIED_REMOTE_SHAPES",
|
|
376
|
+
"RemoteShape",
|
|
377
|
+
"ShapeSpec",
|
|
378
|
+
"UnsupportedRemoteTransportError",
|
|
379
|
+
"active_remote_shape",
|
|
380
|
+
"may_refuse_remote",
|
|
381
|
+
"remote_shape_of",
|
|
382
|
+
"remote_shape_row",
|
|
383
|
+
"requested_remote_transport",
|
|
384
|
+
"skip_unsupported_remote",
|
|
385
|
+
"unsupported_remote_message",
|
|
386
|
+
"unsupported_remote_transport",
|
|
387
|
+
]
|
|
@@ -27,6 +27,7 @@ Ref: https://antigravity.google/docs/mcp
|
|
|
27
27
|
|
|
28
28
|
from pathlib import Path
|
|
29
29
|
|
|
30
|
+
from ._remote_shapes import remote_shape_row
|
|
30
31
|
from .gemini import GeminiClientAdapter
|
|
31
32
|
|
|
32
33
|
|
|
@@ -40,6 +41,8 @@ class AntigravityClientAdapter(GeminiClientAdapter):
|
|
|
40
41
|
``mcp_config.json`` rather than ``settings.json``.
|
|
41
42
|
"""
|
|
42
43
|
|
|
44
|
+
remote_shape = remote_shape_row("antigravity")
|
|
45
|
+
|
|
43
46
|
supports_user_scope: bool = True
|
|
44
47
|
target_name: str = "antigravity"
|
|
45
48
|
|