apm-cli 0.36.0__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.
Files changed (562) hide show
  1. {apm_cli-0.36.0 → apm_cli-0.36.1}/PKG-INFO +1 -1
  2. {apm_cli-0.36.0 → apm_cli-0.36.1}/pyproject.toml +1 -1
  3. apm_cli-0.36.1/src/apm_cli/adapters/client/_remote_shapes.py +387 -0
  4. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/adapters/client/antigravity.py +3 -0
  5. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/adapters/client/base.py +65 -5
  6. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/adapters/client/claude.py +7 -10
  7. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/adapters/client/codex.py +21 -20
  8. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/adapters/client/copilot.py +14 -25
  9. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/adapters/client/cursor.py +12 -12
  10. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/adapters/client/gemini.py +14 -15
  11. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/adapters/client/hermes.py +77 -32
  12. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/adapters/client/intellij.py +3 -0
  13. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/adapters/client/kiro.py +12 -11
  14. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/adapters/client/opencode.py +3 -0
  15. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/adapters/client/vscode.py +12 -13
  16. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/adapters/client/windsurf.py +3 -0
  17. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/adopt/discovery.py +2 -2
  18. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/bundle/local_bundle.py +1 -1
  19. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/_helpers.py +8 -3
  20. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/audit.py +4 -22
  21. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/auth.py +1 -1
  22. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/compile/cli.py +14 -20
  23. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/export_patch.py +12 -5
  24. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/init.py +4 -18
  25. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/install.py +8 -3
  26. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/mcp.py +25 -7
  27. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/pack.py +1 -1
  28. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/targets.py +2 -1
  29. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/uninstall/cli.py +11 -2
  30. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/uninstall/engine.py +72 -10
  31. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/update.py +24 -3
  32. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/compilation/agents_compiler.py +2 -0
  33. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/copilot_plugins/settings.py +3 -5
  34. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/core/apm_yml.py +0 -49
  35. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/core/auth.py +205 -375
  36. apm_cli-0.36.1/src/apm_cli/core/auth_chain.py +406 -0
  37. apm_cli-0.36.1/src/apm_cli/core/auth_outcome.py +454 -0
  38. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/core/azure_cli.py +32 -2
  39. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/core/build_orchestrator.py +4 -4
  40. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/core/deployment_ledger.py +2 -2
  41. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/core/target_detection.py +61 -46
  42. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/core/token_manager.py +107 -15
  43. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/apm_resolver.py +118 -0
  44. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/bare_cache.py +12 -0
  45. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/clone_engine.py +34 -63
  46. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/dependency_graph.py +1 -0
  47. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/download_strategies.py +69 -118
  48. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/git_reference_resolver.py +39 -49
  49. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/github_downloader.py +3 -0
  50. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/github_downloader_validation.py +32 -48
  51. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/lockfile.py +8 -0
  52. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/reachability.py +120 -13
  53. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/registry/auth.py +5 -0
  54. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/registry/client.py +65 -71
  55. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/artifactory_resolver.py +15 -7
  56. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/audit_replay.py +62 -2
  57. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/context.py +1 -0
  58. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/deployment_plan.py +1 -1
  59. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/drift.py +5 -6
  60. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/local_bundle_handler.py +15 -10
  61. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/lsp/integration.py +177 -17
  62. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/manifest_reconcile.py +4 -8
  63. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/mcp/command.py +2 -2
  64. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/mcp/integration.py +7 -9
  65. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/mcp/ownership.py +217 -7
  66. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/package_resolution.py +40 -7
  67. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/phases/integrate.py +6 -0
  68. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/phases/lockfile.py +3 -6
  69. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/phases/policy_target_check.py +7 -19
  70. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/phases/resolve.py +2 -0
  71. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/phases/targets.py +24 -48
  72. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/pipeline.py +61 -71
  73. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/request.py +3 -0
  74. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/service.py +99 -24
  75. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/service_integration.py +66 -55
  76. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/services.py +3 -1
  77. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/target_filter.py +2 -10
  78. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/template.py +17 -25
  79. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/validation.py +111 -66
  80. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/agent_integrator.py +164 -120
  81. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/base_integrator.py +10 -9
  82. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/canvas_integrator.py +3 -8
  83. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/hook_integrator.py +4 -3
  84. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/hook_reintegration.py +1 -0
  85. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/lsp_integrator.py +287 -55
  86. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/mcp_integrator.py +32 -9
  87. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/mcp_integrator_install.py +222 -26
  88. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/skill_integrator.py +20 -7
  89. apm_cli-0.36.1/src/apm_cli/integration/skill_layout.py +113 -0
  90. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/skill_preflight.py +19 -2
  91. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/targets.py +173 -63
  92. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/builder.py +51 -23
  93. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/client.py +72 -69
  94. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/output_mappers.py +2 -2
  95. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/ref_resolver.py +47 -82
  96. apm_cli-0.36.1/src/apm_cli/mcp_transport.py +96 -0
  97. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/models/apm_package.py +73 -40
  98. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/models/dependency/mcp.py +7 -2
  99. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/models/dependency/object_fields.py +1 -1
  100. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/models/dependency/reference.py +26 -3
  101. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/models/dependency/registry_entry.py +1 -1
  102. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/models/dependency/replacement.py +11 -0
  103. apm_cli-0.36.1/src/apm_cli/models/dependency/subsets.py +259 -0
  104. apm_cli-0.36.1/src/apm_cli/models/manifest_targets.py +225 -0
  105. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/policy/_gitlab.py +32 -19
  106. apm_cli-0.36.1/src/apm_cli/policy/_policy_http.py +39 -0
  107. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/policy/ci_checks.py +49 -18
  108. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/policy/discovery.py +62 -67
  109. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/policy/install_preflight.py +7 -2
  110. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/policy/parser.py +8 -3
  111. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/policy/policy_checks.py +60 -30
  112. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/registry/client.py +22 -2
  113. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/security/file_scanner.py +13 -1
  114. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/utils/github_host.py +12 -70
  115. apm_cli-0.36.1/src/apm_cli/utils/http_credentials.py +392 -0
  116. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/utils/path_security.py +9 -0
  117. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli.egg-info/PKG-INFO +1 -1
  118. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli.egg-info/SOURCES.txt +7 -0
  119. apm_cli-0.36.0/src/apm_cli/models/dependency/subsets.py +0 -122
  120. apm_cli-0.36.0/src/apm_cli/utils/http_credentials.py +0 -38
  121. {apm_cli-0.36.0 → apm_cli-0.36.1}/LICENSE +0 -0
  122. {apm_cli-0.36.0 → apm_cli-0.36.1}/LICENSE-DOCS +0 -0
  123. {apm_cli-0.36.0 → apm_cli-0.36.1}/LICENSING.md +0 -0
  124. {apm_cli-0.36.0 → apm_cli-0.36.1}/NOTICE +0 -0
  125. {apm_cli-0.36.0 → apm_cli-0.36.1}/README.md +0 -0
  126. {apm_cli-0.36.0 → apm_cli-0.36.1}/setup.cfg +0 -0
  127. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/__init__.py +0 -0
  128. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/adapters/__init__.py +0 -0
  129. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/adapters/client/__init__.py +0 -0
  130. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/adapters/client/_mcp_runtime_args.py +0 -0
  131. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/adapters/package_manager/__init__.py +0 -0
  132. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/adapters/package_manager/base.py +0 -0
  133. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/adapters/package_manager/default_manager.py +0 -0
  134. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/adopt/__init__.py +0 -0
  135. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/adopt/manifest_edit.py +0 -0
  136. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/adopt/materialize.py +0 -0
  137. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/adopt/render.py +0 -0
  138. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/adopt/safety.py +0 -0
  139. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/agent_plugins/__init__.py +0 -0
  140. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/agent_plugins/assets.py +0 -0
  141. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/agent_plugins/constants.py +0 -0
  142. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/agent_plugins/errors.py +0 -0
  143. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/agent_plugins/io.py +0 -0
  144. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/agent_plugins/ir.py +0 -0
  145. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/agent_plugins/loader.py +0 -0
  146. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/agent_plugins/projection.py +0 -0
  147. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/agent_plugins/validation.py +0 -0
  148. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/bootstrap_mirror.py +0 -0
  149. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/bundle/__init__.py +0 -0
  150. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/bundle/agent_plugin_exporter.py +0 -0
  151. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/bundle/attest.py +0 -0
  152. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/bundle/claude_plugin_exporter.py +0 -0
  153. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/bundle/export_common.py +0 -0
  154. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/bundle/formats.py +0 -0
  155. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/bundle/lockfile_enrichment.py +0 -0
  156. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/bundle/packer.py +0 -0
  157. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/bundle/plugin_exporter.py +0 -0
  158. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/bundle/plugin_hooks.py +0 -0
  159. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/bundle/plugin_layout.py +0 -0
  160. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/bundle/reproducible_archive.py +0 -0
  161. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/bundle/unpacker.py +0 -0
  162. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/cache/__init__.py +0 -0
  163. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/cache/cleanup.py +0 -0
  164. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/cache/git_cache.py +0 -0
  165. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/cache/http_cache.py +0 -0
  166. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/cache/integrity.py +0 -0
  167. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/cache/locking.py +0 -0
  168. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/cache/paths.py +0 -0
  169. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/cache/url_normalize.py +0 -0
  170. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/cli.py +0 -0
  171. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/codex_plugins/__init__.py +0 -0
  172. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/codex_plugins/admission.py +0 -0
  173. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/codex_plugins/client.py +0 -0
  174. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/codex_plugins/manifest.py +0 -0
  175. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/codex_plugins/registrar.py +0 -0
  176. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/codex_plugins/snapshot.py +0 -0
  177. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/__init__.py +0 -0
  178. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/_apm_yml_writer.py +0 -0
  179. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/approve.py +0 -0
  180. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/cache.py +0 -0
  181. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/compile/__init__.py +0 -0
  182. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/compile/watcher.py +0 -0
  183. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/config.py +0 -0
  184. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/deps/__init__.py +0 -0
  185. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/deps/_utils.py +0 -0
  186. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/deps/cli.py +0 -0
  187. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/deps/why.py +0 -0
  188. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/discover.py +0 -0
  189. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/doctor.py +0 -0
  190. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/experimental.py +0 -0
  191. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/find.py +0 -0
  192. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/lifecycle.py +0 -0
  193. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/list_cmd.py +0 -0
  194. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/lock.py +0 -0
  195. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/marketplace/__init__.py +0 -0
  196. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/marketplace/audit.py +0 -0
  197. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/marketplace/check.py +0 -0
  198. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/marketplace/doctor.py +0 -0
  199. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/marketplace/init.py +0 -0
  200. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/marketplace/migrate.py +0 -0
  201. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/marketplace/outdated.py +0 -0
  202. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/marketplace/plugin/__init__.py +0 -0
  203. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/marketplace/plugin/add.py +0 -0
  204. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/marketplace/plugin/remove.py +0 -0
  205. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/marketplace/plugin/set.py +0 -0
  206. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/marketplace/validate.py +0 -0
  207. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/outdated.py +0 -0
  208. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/plugin/__init__.py +0 -0
  209. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/plugin/init.py +0 -0
  210. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/policy.py +0 -0
  211. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/prune.py +0 -0
  212. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/publish.py +0 -0
  213. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/run.py +0 -0
  214. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/runtime.py +0 -0
  215. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/self_update.py +0 -0
  216. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/uninstall/__init__.py +0 -0
  217. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/uninstall/lockfile_state.py +0 -0
  218. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/uninstall/profile_scope.py +0 -0
  219. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/view.py +0 -0
  220. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/commands/view_file.py +0 -0
  221. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/compilation/__init__.py +0 -0
  222. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/compilation/build_id.py +0 -0
  223. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/compilation/claude_formatter.py +0 -0
  224. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/compilation/constants.py +0 -0
  225. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/compilation/constitution.py +0 -0
  226. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/compilation/constitution_block.py +0 -0
  227. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/compilation/context_optimizer.py +0 -0
  228. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/compilation/distributed_compiler.py +0 -0
  229. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/compilation/footer.py +0 -0
  230. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/compilation/gemini_formatter.py +0 -0
  231. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/compilation/injector.py +0 -0
  232. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/compilation/inventory.py +0 -0
  233. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/compilation/link_resolver.py +0 -0
  234. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/compilation/managed_section.py +0 -0
  235. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/compilation/output_writer.py +0 -0
  236. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/compilation/root_context_protection.py +0 -0
  237. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/compilation/template_builder.py +0 -0
  238. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/compilation/user_root_context.py +0 -0
  239. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/config.py +0 -0
  240. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/constants.py +0 -0
  241. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/copilot_plugins/__init__.py +0 -0
  242. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/copilot_plugins/capability.py +0 -0
  243. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/copilot_plugins/catalog.py +0 -0
  244. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/copilot_plugins/constants.py +0 -0
  245. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/copilot_plugins/registrar.py +0 -0
  246. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/core/__init__.py +0 -0
  247. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/core/_child_tls/__init__.py +0 -0
  248. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/core/_child_tls/_apm_tls.pth +0 -0
  249. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/core/_child_tls/_apm_tls_bootstrap.py +0 -0
  250. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/core/command_logger.py +0 -0
  251. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/core/conflict_detector.py +0 -0
  252. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/core/deployment_state.py +0 -0
  253. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/core/docker_args.py +0 -0
  254. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/core/errors.py +0 -0
  255. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/core/experimental.py +0 -0
  256. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/core/host_providers.py +0 -0
  257. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/core/install_audit.py +0 -0
  258. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/core/lifecycle_scripts.py +0 -0
  259. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/core/null_logger.py +0 -0
  260. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/core/operations.py +0 -0
  261. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/core/output_mode.py +0 -0
  262. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/core/plugin_manifest.py +0 -0
  263. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/core/project_name.py +0 -0
  264. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/core/safe_installer.py +0 -0
  265. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/core/scope.py +0 -0
  266. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/core/script_executors.py +0 -0
  267. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/core/script_runner.py +0 -0
  268. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/core/script_trust.py +0 -0
  269. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/core/target_catalog.py +0 -0
  270. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/core/tls_trust.py +0 -0
  271. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/__init__.py +0 -0
  272. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/_shared.py +0 -0
  273. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/artifactory_entry.py +0 -0
  274. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/artifactory_orchestrator.py +0 -0
  275. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/carried_license.py +0 -0
  276. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/file_provenance.py +0 -0
  277. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/git_auth_env.py +0 -0
  278. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/git_file_transport.py +0 -0
  279. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/git_remote_ops.py +0 -0
  280. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/git_semver_resolver.py +0 -0
  281. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/github_rate_limit.py +0 -0
  282. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/host_backends.py +0 -0
  283. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/immutable_requirements.py +0 -0
  284. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/installed_package.py +0 -0
  285. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/lock_parent_placement.py +0 -0
  286. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/outdated_ref_cache.py +0 -0
  287. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/outdated_row.py +0 -0
  288. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/package_validator.py +0 -0
  289. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/path_anchoring.py +0 -0
  290. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/plugin_parser.py +0 -0
  291. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/registry/__init__.py +0 -0
  292. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/registry/config_loader.py +0 -0
  293. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/registry/extractor.py +0 -0
  294. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/registry/feature_gate.py +0 -0
  295. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/registry/outdated.py +0 -0
  296. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/registry/resolver.py +0 -0
  297. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/registry/semver.py +0 -0
  298. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/registry_proxy.py +0 -0
  299. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/revision_pins.py +0 -0
  300. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/shared_clone_cache.py +0 -0
  301. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/tiered_ref_resolver.py +0 -0
  302. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/transport_selection.py +0 -0
  303. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/verifier.py +0 -0
  304. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/virtual_file.py +0 -0
  305. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/deps/why_walker.py +0 -0
  306. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/drift.py +0 -0
  307. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/entrypoint.py +0 -0
  308. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/export/__init__.py +0 -0
  309. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/export/authoring.py +0 -0
  310. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/export/declared_license.py +0 -0
  311. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/export/formats.py +0 -0
  312. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/export/purl.py +0 -0
  313. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/export/sbom.py +0 -0
  314. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/export/spdx.py +0 -0
  315. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/export/spdx_data.py +0 -0
  316. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/factory.py +0 -0
  317. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/hook_contract.py +0 -0
  318. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/__init__.py +0 -0
  319. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/argv.py +0 -0
  320. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/audit_target_roots.py +0 -0
  321. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/cache_pin.py +0 -0
  322. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/deployable_source_plan.py +0 -0
  323. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/deployed_paths.py +0 -0
  324. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/drift_claims.py +0 -0
  325. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/drift_render.py +0 -0
  326. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/dry_run_plan.py +0 -0
  327. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/errors.py +0 -0
  328. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/exec_gate.py +0 -0
  329. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/failure_residue.py +0 -0
  330. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/finalization.py +0 -0
  331. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/gitlab_resolver.py +0 -0
  332. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/heals/__init__.py +0 -0
  333. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/heals/base.py +0 -0
  334. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/heals/branch_ref_drift.py +0 -0
  335. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/heals/buggy_lockfile_recovery.py +0 -0
  336. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/helpers/__init__.py +0 -0
  337. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/helpers/absence_observation.py +0 -0
  338. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/helpers/no_work.py +0 -0
  339. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/helpers/plan_inputs.py +0 -0
  340. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/helpers/reconciliation_scope.py +0 -0
  341. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/helpers/ref_reuse.py +0 -0
  342. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/helpers/ref_seed.py +0 -0
  343. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/helpers/security_scan.py +0 -0
  344. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/insecure_policy.py +0 -0
  345. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/integrity.py +0 -0
  346. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/legacy_plugin_compat.py +0 -0
  347. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/local_bundle_paths.py +0 -0
  348. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/local_edits.py +0 -0
  349. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/locking.py +0 -0
  350. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/lsp/__init__.py +0 -0
  351. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/manifest_helpers.py +0 -0
  352. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/mcp/__init__.py +0 -0
  353. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/mcp/args.py +0 -0
  354. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/mcp/conflicts.py +0 -0
  355. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/mcp/entry.py +0 -0
  356. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/mcp/registry.py +0 -0
  357. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/mcp/warnings.py +0 -0
  358. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/mcp/writer.py +0 -0
  359. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/native_plugin_admission.py +0 -0
  360. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/outcome.py +0 -0
  361. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/package_selection.py +0 -0
  362. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/phases/__init__.py +0 -0
  363. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/phases/_redownload.py +0 -0
  364. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/phases/_skip_logic.py +0 -0
  365. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/phases/audit.py +0 -0
  366. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/phases/cleanup.py +0 -0
  367. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/phases/codex_plugins.py +0 -0
  368. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/phases/copilot_plugins.py +0 -0
  369. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/phases/download.py +0 -0
  370. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/phases/finalize.py +0 -0
  371. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/phases/heal.py +0 -0
  372. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/phases/local_content.py +0 -0
  373. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/phases/policy_gate.py +0 -0
  374. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/phases/post_deps_local.py +0 -0
  375. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/plan.py +0 -0
  376. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/presentation/__init__.py +0 -0
  377. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/presentation/dry_run.py +0 -0
  378. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/presentation/resolution.py +0 -0
  379. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/primitive_classification.py +0 -0
  380. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/project_package.py +0 -0
  381. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/registry_wiring.py +0 -0
  382. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/replay_transport.py +0 -0
  383. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/resolution_staging.py +0 -0
  384. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/root_redirect.py +0 -0
  385. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/selected_cleanup.py +0 -0
  386. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/skill_path_migration.py +0 -0
  387. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/source_helpers.py +0 -0
  388. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/sources.py +0 -0
  389. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/summary.py +0 -0
  390. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/target_hints.py +0 -0
  391. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/target_warnings.py +0 -0
  392. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/install/transaction.py +0 -0
  393. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/__init__.py +0 -0
  394. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/_hook_dropped_targets.py +0 -0
  395. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/_shared.py +0 -0
  396. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/cleanup.py +0 -0
  397. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/command_integrator.py +0 -0
  398. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/copilot_app_db.py +0 -0
  399. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/copilot_app_project.py +0 -0
  400. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/copilot_app_workflow_integrator.py +0 -0
  401. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/copilot_app_ws.py +0 -0
  402. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/copilot_cowork_paths.py +0 -0
  403. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/coverage.py +0 -0
  404. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/dispatch.py +0 -0
  405. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/hook_bundle.py +0 -0
  406. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/hook_command_paths.py +0 -0
  407. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/hook_command_warnings.py +0 -0
  408. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/hook_cursor_preflight.py +0 -0
  409. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/hook_file_routing.py +0 -0
  410. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/hook_ir.py +0 -0
  411. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/hook_native_formats.py +0 -0
  412. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/hook_ownership.py +0 -0
  413. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/hook_source_selection.py +0 -0
  414. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/instruction_integrator.py +0 -0
  415. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/kiro_hook_integrator.py +0 -0
  416. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/mcp_config_view.py +0 -0
  417. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/opencode_frontmatter.py +0 -0
  418. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/prompt_integrator.py +0 -0
  419. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/skill_adoption.py +0 -0
  420. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/skill_package_routing.py +0 -0
  421. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/skill_support.py +0 -0
  422. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/skill_transformer.py +0 -0
  423. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/integration/utils.py +0 -0
  424. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/__init__.py +0 -0
  425. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/_git_utils.py +0 -0
  426. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/_io.py +0 -0
  427. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/_shared.py +0 -0
  428. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/audit.py +0 -0
  429. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/auth_helpers.py +0 -0
  430. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/authoring_source.py +0 -0
  431. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/diagnostics.py +0 -0
  432. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/drift_check.py +0 -0
  433. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/errors.py +0 -0
  434. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/git_stderr.py +0 -0
  435. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/init_template.py +0 -0
  436. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/migration.py +0 -0
  437. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/models.py +0 -0
  438. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/output_profiles.py +0 -0
  439. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/reconcile.py +0 -0
  440. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/registration.py +0 -0
  441. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/registry.py +0 -0
  442. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/resolver.py +0 -0
  443. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/semver.py +0 -0
  444. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/shadow_detector.py +0 -0
  445. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/source_identity.py +0 -0
  446. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/tag_pattern.py +0 -0
  447. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/user_manifest.py +0 -0
  448. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/validator.py +0 -0
  449. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/version_check.py +0 -0
  450. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/version_pins.py +0 -0
  451. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/version_resolver.py +0 -0
  452. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/yml_editor.py +0 -0
  453. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/marketplace/yml_schema.py +0 -0
  454. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/models/__init__.py +0 -0
  455. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/models/dependency/__init__.py +0 -0
  456. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/models/dependency/host_virtual.py +0 -0
  457. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/models/dependency/identity.py +0 -0
  458. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/models/dependency/lsp.py +0 -0
  459. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/models/dependency/materialization.py +0 -0
  460. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/models/dependency/provider_coordinates.py +0 -0
  461. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/models/dependency/selection.py +0 -0
  462. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/models/dependency/types.py +0 -0
  463. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/models/format_detection.py +0 -0
  464. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/models/manifest_contract.py +0 -0
  465. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/models/manifest_io.py +0 -0
  466. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/models/plugin.py +0 -0
  467. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/models/results.py +0 -0
  468. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/models/validation.py +0 -0
  469. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/output/__init__.py +0 -0
  470. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/output/formatters.py +0 -0
  471. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/output/models.py +0 -0
  472. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/output/script_formatters.py +0 -0
  473. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/policy/__init__.py +0 -0
  474. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/policy/_constraint_pinning.py +0 -0
  475. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/policy/_help_text.py +0 -0
  476. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/policy/_remote.py +0 -0
  477. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/policy/_shared.py +0 -0
  478. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/policy/inheritance.py +0 -0
  479. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/policy/matcher.py +0 -0
  480. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/policy/models.py +0 -0
  481. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/policy/outcome_routing.py +0 -0
  482. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/policy/project_config.py +0 -0
  483. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/policy/schema.py +0 -0
  484. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/primitives/__init__.py +0 -0
  485. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/primitives/discovery.py +0 -0
  486. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/primitives/models.py +0 -0
  487. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/primitives/parser.py +0 -0
  488. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/registry/__init__.py +0 -0
  489. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/registry/integration.py +0 -0
  490. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/registry/operations.py +0 -0
  491. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/runtime/__init__.py +0 -0
  492. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/runtime/base.py +0 -0
  493. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/runtime/codex_runtime.py +0 -0
  494. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/runtime/copilot_runtime.py +0 -0
  495. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/runtime/factory.py +0 -0
  496. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/runtime/llm_runtime.py +0 -0
  497. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/runtime/manager.py +0 -0
  498. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/runtime/registry.py +0 -0
  499. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/runtime/utils.py +0 -0
  500. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/security/__init__.py +0 -0
  501. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/security/audit_report.py +0 -0
  502. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/security/content_scanner.py +0 -0
  503. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/security/executables.py +0 -0
  504. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/security/external/__init__.py +0 -0
  505. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/security/external/base.py +0 -0
  506. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/security/external/gate.py +0 -0
  507. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/security/external/generic_sarif.py +0 -0
  508. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/security/external/options.py +0 -0
  509. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/security/external/registry.py +0 -0
  510. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/security/external/runner.py +0 -0
  511. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/security/external/sarif_ingest.py +0 -0
  512. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/security/external/skillspector.py +0 -0
  513. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/security/gate.py +0 -0
  514. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/security/primitive_discovery.py +0 -0
  515. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/update_policy.py +0 -0
  516. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/utils/__init__.py +0 -0
  517. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/utils/archive.py +0 -0
  518. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/utils/atomic_io.py +0 -0
  519. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/utils/console.py +0 -0
  520. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/utils/content_hash.py +0 -0
  521. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/utils/diagnostics.py +0 -0
  522. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/utils/exclude.py +0 -0
  523. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/utils/file_ops.py +0 -0
  524. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/utils/git_env.py +0 -0
  525. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/utils/git_sparse.py +0 -0
  526. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/utils/guards.py +0 -0
  527. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/utils/helpers.py +0 -0
  528. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/utils/install_tui.py +0 -0
  529. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/utils/net.py +0 -0
  530. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/utils/normalization.py +0 -0
  531. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/utils/paths.py +0 -0
  532. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/utils/patterns.py +0 -0
  533. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/utils/perf_stats.py +0 -0
  534. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/utils/reflink.py +0 -0
  535. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/utils/short_sha.py +0 -0
  536. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/utils/staging_guard.py +0 -0
  537. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/utils/subprocess_env.py +0 -0
  538. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/utils/version_checker.py +0 -0
  539. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/utils/yaml_io.py +0 -0
  540. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/version.py +0 -0
  541. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli/version_output.py +0 -0
  542. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli.egg-info/dependency_links.txt +0 -0
  543. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli.egg-info/entry_points.txt +0 -0
  544. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli.egg-info/requires.txt +0 -0
  545. {apm_cli-0.36.0 → apm_cli-0.36.1}/src/apm_cli.egg-info/top_level.txt +0 -0
  546. {apm_cli-0.36.0 → apm_cli-0.36.1}/tests/test_apm_package_models.py +0 -0
  547. {apm_cli-0.36.0 → apm_cli-0.36.1}/tests/test_apm_resolver.py +0 -0
  548. {apm_cli-0.36.0 → apm_cli-0.36.1}/tests/test_codex_docker_args_fix.py +0 -0
  549. {apm_cli-0.36.0 → apm_cli-0.36.1}/tests/test_codex_empty_string_and_defaults.py +0 -0
  550. {apm_cli-0.36.0 → apm_cli-0.36.1}/tests/test_collision_integration.py +0 -0
  551. {apm_cli-0.36.0 → apm_cli-0.36.1}/tests/test_console.py +0 -0
  552. {apm_cli-0.36.0 → apm_cli-0.36.1}/tests/test_distributed_compilation.py +0 -0
  553. {apm_cli-0.36.0 → apm_cli-0.36.1}/tests/test_empty_string_and_defaults.py +0 -0
  554. {apm_cli-0.36.0 → apm_cli-0.36.1}/tests/test_enhanced_discovery.py +0 -0
  555. {apm_cli-0.36.0 → apm_cli-0.36.1}/tests/test_github_downloader.py +0 -0
  556. {apm_cli-0.36.0 → apm_cli-0.36.1}/tests/test_github_downloader_token_precedence.py +0 -0
  557. {apm_cli-0.36.0 → apm_cli-0.36.1}/tests/test_gitlab_git_transport.py +0 -0
  558. {apm_cli-0.36.0 → apm_cli-0.36.1}/tests/test_lockfile.py +0 -0
  559. {apm_cli-0.36.0 → apm_cli-0.36.1}/tests/test_runnable_prompts.py +0 -0
  560. {apm_cli-0.36.0 → apm_cli-0.36.1}/tests/test_runtime_manager_token_precedence.py +0 -0
  561. {apm_cli-0.36.0 → apm_cli-0.36.1}/tests/test_token_manager.py +0 -0
  562. {apm_cli-0.36.0 → apm_cli-0.36.1}/tests/test_virtual_package_multi_install.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: apm-cli
3
- Version: 0.36.0
3
+ Version: 0.36.1
4
4
  Summary: MCP configuration tool
5
5
  Author-email: Daniel Meppiel <user@example.com>
6
6
  License:
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "apm-cli"
7
- version = "0.36.0"
7
+ version = "0.36.1"
8
8
  description = "MCP configuration tool"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -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
 
@@ -310,6 +310,13 @@ class MCPClientAdapter(ABC):
310
310
  # other adapters keep their written entry until the declaration changes.
311
311
  refreshes_environment_renders: bool = False
312
312
 
313
+ # Render-time state owned by ``_remote_shapes``: a retired shape while
314
+ # ``legacy_managed_renders`` reproduces an earlier APM render, and the
315
+ # nesting depth of comparison renders (which raise instead of warning on
316
+ # an unsupported transport).
317
+ _remote_shape_override: Any = None
318
+ _comparison_render_depth: int = 0
319
+
313
320
  @staticmethod
314
321
  def _merge_extra(config: dict, server_info: dict) -> dict:
315
322
  """Merge harness-specific ``_extra`` keys from server_info into config.
@@ -401,17 +408,59 @@ class MCPClientAdapter(ABC):
401
408
  runtime_vars: dict | None = None,
402
409
  ) -> dict:
403
410
  """Render one native server entry for exact baseline comparisons."""
404
- rendered = self._format_server_config(
405
- server_info,
406
- env_overrides=env_overrides or {},
407
- runtime_vars=runtime_vars or {},
408
- )
411
+ # A comparison render reports an unsupported transport by raising,
412
+ # so only the install itself warns about the skip.
413
+ self._comparison_render_depth += 1
414
+ try:
415
+ rendered = self._format_server_config(
416
+ server_info,
417
+ env_overrides=env_overrides or {},
418
+ runtime_vars=runtime_vars or {},
419
+ )
420
+ finally:
421
+ self._comparison_render_depth -= 1
409
422
  if isinstance(rendered, tuple):
410
423
  rendered = rendered[0]
411
424
  if not isinstance(rendered, dict):
412
425
  raise ValueError("Adapter did not produce a native MCP server mapping")
413
426
  return rendered
414
427
 
428
+ def legacy_managed_renders(
429
+ self,
430
+ server_info: dict,
431
+ *,
432
+ env_overrides: dict | None = None,
433
+ runtime_vars: dict | None = None,
434
+ ) -> tuple[dict, ...]:
435
+ """Renders earlier APM releases wrote for the same declaration.
436
+
437
+ Rendered with each retired remote shape of this adapter's row
438
+ (``_remote_shapes``), so the ownership owner can recognize, heal or
439
+ retire an APM-written entry in a shape APM no longer writes.
440
+ """
441
+ from ._remote_shapes import remote_shape_of, requested_remote_transport
442
+
443
+ shape = remote_shape_of(self)
444
+ if not shape.retired or requested_remote_transport(self, server_info) is None:
445
+ return ()
446
+ kwargs = {"env_overrides": env_overrides, "runtime_vars": runtime_vars}
447
+ try:
448
+ current = self.render_server_config(server_info, **kwargs)
449
+ except ValueError:
450
+ current = None
451
+ renders: list[dict] = []
452
+ for spec in shape.retired:
453
+ self._remote_shape_override = spec
454
+ try:
455
+ candidate = self.render_server_config(server_info, **kwargs)
456
+ except ValueError:
457
+ continue
458
+ finally:
459
+ self._remote_shape_override = None
460
+ if candidate != current and candidate not in renders:
461
+ renders.append(candidate)
462
+ return tuple(renders)
463
+
415
464
  @staticmethod
416
465
  def json_identical(left: object, right: object) -> bool:
417
466
  """Compare native JSON values by type as well as value.
@@ -1271,6 +1320,17 @@ class MCPClientAdapter(ABC):
1271
1320
  # If no priority package found, return the first one
1272
1321
  return packages[0] if packages else None
1273
1322
 
1323
+ @classmethod
1324
+ def selected_remote(cls, server_info) -> dict | None:
1325
+ """Return the remote entry this adapter renders for *server_info*, if any."""
1326
+ if not isinstance(server_info, dict) or server_info.get("_raw_stdio"):
1327
+ return None
1328
+ remotes = server_info.get("remotes") or []
1329
+ if not remotes:
1330
+ return None
1331
+ remote = cls._select_remote_with_url(remotes) or remotes[0]
1332
+ return remote if isinstance(remote, dict) else None
1333
+
1274
1334
  @staticmethod
1275
1335
  def _select_remote_with_url(remotes):
1276
1336
  """Return the first remote entry that has a non-empty URL.
@@ -30,6 +30,7 @@ from typing import ClassVar
30
30
  from ...utils.atomic_io import atomic_write_text
31
31
  from ...utils.console import _rich_error, _rich_success, _rich_warning
32
32
  from ...utils.path_security import PathTraversalError, validate_path_segments
33
+ from ._remote_shapes import remote_shape_row
33
34
  from .base import _ENV_VAR_RE, _translate_env_placeholder
34
35
  from .copilot import CopilotClientAdapter
35
36
 
@@ -123,6 +124,8 @@ class ClaudeClientAdapter(CopilotClientAdapter):
123
124
  from :class:`MCPClientAdapter` -- not by post-construction monkey-patching.
124
125
  """
125
126
 
127
+ remote_shape = remote_shape_row("claude")
128
+
126
129
  supports_user_scope: bool = True
127
130
  _client_label: str = "Claude Code"
128
131
  target_name: str = "claude"
@@ -475,16 +478,10 @@ class ClaudeClientAdapter(CopilotClientAdapter):
475
478
 
476
479
  Used for symlink pre-checks before canonical resolution.
477
480
  """
478
- config_dir = os.environ.get("CLAUDE_CONFIG_DIR", "").strip()
479
- if config_dir:
480
- config_path = Path(config_dir).expanduser()
481
- if not config_path.is_absolute():
482
- raise PathTraversalError(
483
- "CLAUDE_CONFIG_DIR must be an absolute path for user-scope MCP "
484
- "config; set an absolute path or unset it to use ~/.claude.json."
485
- )
486
- return config_path / ".claude.json"
487
- return Path.home() / ".claude.json"
481
+ from ...integration.targets import configured_user_root
482
+
483
+ config_dir = configured_user_root("claude")
484
+ return (config_dir if config_dir is not None else Path.home()) / ".claude.json"
488
485
 
489
486
  @classmethod
490
487
  def resolve_user_claude_json_path(cls, unresolved_path: Path | None = None) -> Path:
@@ -11,13 +11,14 @@ import tomlkit
11
11
  from tomlkit.exceptions import TOMLKitError
12
12
  from tomlkit.items import InlineTable, Item, String, Table
13
13
 
14
+ from ...mcp_transport import canonical_remote_transport
14
15
  from ...registry.client import SimpleRegistryClient
15
16
  from ...registry.integration import RegistryIntegration
16
17
  from ...utils.atomic_io import atomic_write_text
17
18
  from ...utils.console import _rich_success, _rich_warning
18
19
  from ...utils.net import is_loopback_host
19
- from ...utils.path_security import PathTraversalError
20
20
  from ._mcp_runtime_args import process_v01_value_hint_arg
21
+ from ._remote_shapes import active_remote_shape, remote_shape_row, skip_unsupported_remote
21
22
  from .base import _ENV_PLACEHOLDER_RE, _ENV_VAR_RE, MCPClientAdapter
22
23
 
23
24
  _log = logging.getLogger(__name__)
@@ -62,6 +63,15 @@ class CodexClientAdapter(MCPClientAdapter):
62
63
  server configuration.
63
64
  """
64
65
 
66
+ remote_shape = remote_shape_row("codex")
67
+
68
+ @classmethod
69
+ def selected_remote(cls, server_info) -> dict | None:
70
+ """Codex renders a published stdio package before any remote."""
71
+ if isinstance(server_info, dict) and server_info.get("packages"):
72
+ return None
73
+ return super().selected_remote(server_info)
74
+
65
75
  supports_user_scope: bool = True
66
76
  target_name: str = "codex"
67
77
  mcp_servers_key: str = "mcp_servers"
@@ -93,16 +103,9 @@ class CodexClientAdapter(MCPClientAdapter):
93
103
  def _get_codex_dir(self) -> Path:
94
104
  """Return the root directory used for Codex config in the current scope."""
95
105
  if self.user_scope:
96
- codex_home = os.environ.get("CODEX_HOME", "")
97
- if codex_home.strip():
98
- codex_home_path = Path(codex_home).expanduser()
99
- if not codex_home_path.is_absolute():
100
- raise PathTraversalError(
101
- "CODEX_HOME is set to a non-absolute path; cannot locate the "
102
- "Codex CLI configuration directory."
103
- )
104
- return codex_home_path
105
- return Path.home() / ".codex"
106
+ from ...integration.targets import resolve_user_root
107
+
108
+ return resolve_user_root("codex")
106
109
  return self.project_root / ".codex"
107
110
 
108
111
  def get_config_path(self) -> str:
@@ -483,14 +486,12 @@ class CodexClientAdapter(MCPClientAdapter):
483
486
  if remotes and not packages:
484
487
  remote = self._select_remote_with_url(remotes) or remotes[0]
485
488
  server_name = server_info.get("name", "")
486
- if (remote.get("transport_type") or "").strip() == "sse":
487
- _rich_warning(
488
- f"Skipping MCP server '{server_name}' for Codex CLI: SSE transport "
489
- "is deprecated by the MCP spec and not supported by Codex. "
490
- "Switch to `transport: streamable-http`.",
491
- symbol="warning",
492
- )
493
- return None
489
+ transport = canonical_remote_transport(
490
+ remote, runtime_label="Codex CLI", server_name=server_name
491
+ )
492
+ shape = active_remote_shape(self)
493
+ if not shape.supports(transport):
494
+ return skip_unsupported_remote(self, server_name, transport)
494
495
 
495
496
  remote_url = (remote.get("url") or "").strip()
496
497
  if not remote_url:
@@ -521,7 +522,7 @@ class CodexClientAdapter(MCPClientAdapter):
521
522
  )
522
523
  return None
523
524
 
524
- remote_config = {"url": remote_url}
525
+ remote_config = shape.render(transport, remote_url)
525
526
  http_headers: dict[str, str] = {}
526
527
  env_http_headers: dict[str, str] = {}
527
528
  bearer_token_env_var = ""