robot-md 2.2.0__tar.gz → 2.2.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 (561) hide show
  1. {robot_md-2.2.0 → robot_md-2.2.1}/PKG-INFO +1 -1
  2. {robot_md-2.2.0 → robot_md-2.2.1}/pyproject.toml +1 -1
  3. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/init_phases/install_backend.py +44 -4
  4. {robot_md-2.2.0 → robot_md-2.2.1}/tests/conftest.py +14 -0
  5. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_install_backend.py +52 -0
  6. {robot_md-2.2.0 → robot_md-2.2.1}/.gitignore +0 -0
  7. {robot_md-2.2.0 → robot_md-2.2.1}/README.md +0 -0
  8. {robot_md-2.2.0 → robot_md-2.2.1}/docs/hotplug-roadmap.md +0 -0
  9. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/__init__.py +0 -0
  10. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/__main__.py +0 -0
  11. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/actuator.py +0 -0
  12. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/apikey_request.py +0 -0
  13. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/art11.py +0 -0
  14. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/audit.py +0 -0
  15. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/auto_calibrate.py +0 -0
  16. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/autodetect.py +0 -0
  17. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/backends/__init__.py +0 -0
  18. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/backends/_capability_default.py +0 -0
  19. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/backends/base.py +0 -0
  20. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/backends/capability.py +0 -0
  21. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/backends/feetech_depthai/__init__.py +0 -0
  22. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/backends/feetech_depthai/capabilities.py +0 -0
  23. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/backends/feetech_depthai/doctor.py +0 -0
  24. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/backends/feetech_depthai/motion.py +0 -0
  25. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/backends/feetech_depthai/perception.py +0 -0
  26. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/backends/feetech_depthai/servo.py +0 -0
  27. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/backends/lerobot/__init__.py +0 -0
  28. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/backends/lerobot/capabilities.py +0 -0
  29. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/backends/lerobot/config.py +0 -0
  30. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/backends/lerobot/motion.py +0 -0
  31. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/backends/lerobot/perception.py +0 -0
  32. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/backends/realsense/__init__.py +0 -0
  33. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/backends/realsense/capabilities.py +0 -0
  34. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/backends/realsense/perception.py +0 -0
  35. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/backends/registry.py +0 -0
  36. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/benchmarks.py +0 -0
  37. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/bus_scan.py +0 -0
  38. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/calibrate.py +0 -0
  39. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/calibrate_extrinsic.py +0 -0
  40. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/calibrate_intrinsic.py +0 -0
  41. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/claude_md.py +0 -0
  42. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/compliance_status.py +0 -0
  43. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/context.py +0 -0
  44. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/dashboard/__init__.py +0 -0
  45. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/dashboard/events.py +0 -0
  46. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/dashboard/server.py +0 -0
  47. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/dashboard/static/style.css +0 -0
  48. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/dashboard/templates/index.html +0 -0
  49. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/detectors/__init__.py +0 -0
  50. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/detectors/depth.py +0 -0
  51. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/detectors/hsv.py +0 -0
  52. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/discovery.py +0 -0
  53. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/doctor.py +0 -0
  54. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/eu_register.py +0 -0
  55. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/extrinsic.py +0 -0
  56. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/fria.py +0 -0
  57. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/gateway_client.py +0 -0
  58. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/gripper_silhouette.py +0 -0
  59. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/hotplug/__init__.py +0 -0
  60. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/hotplug/audit.py +0 -0
  61. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/hotplug/cli.py +0 -0
  62. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/hotplug/config.py +0 -0
  63. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/hotplug/daemon.py +0 -0
  64. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/hotplug/event.py +0 -0
  65. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/hotplug/linux.py +0 -0
  66. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/hotplug/macos.py +0 -0
  67. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/hotplug/manifest.py +0 -0
  68. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/hotplug/matcher.py +0 -0
  69. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/hotplug/presets_index.py +0 -0
  70. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/hotplug/queue.py +0 -0
  71. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/hotplug/service_installers/__init__.py +0 -0
  72. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/hotplug/service_installers/linux_systemd.py +0 -0
  73. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/hotplug/service_installers/macos_launchd.py +0 -0
  74. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/hotplug/service_installers/windows_taskscheduler.py +0 -0
  75. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/hotplug/socket_listener.py +0 -0
  76. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/hotplug/windows.py +0 -0
  77. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/ifu.py +0 -0
  78. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/incidents.py +0 -0
  79. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/init.py +0 -0
  80. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/init_phases/__init__.py +0 -0
  81. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/init_phases/_feetech_probe.py +0 -0
  82. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/init_phases/auto_calibrate_ready.py +0 -0
  83. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/init_phases/calibrate_extrinsic.py +0 -0
  84. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/init_phases/calibrate_sign.py +0 -0
  85. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/init_phases/calibrate_zero.py +0 -0
  86. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/init_phases/compliance_scaffold.py +0 -0
  87. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/init_phases/install_mcp.py +0 -0
  88. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/init_phases/install_skill.py +0 -0
  89. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/init_phases/register.py +0 -0
  90. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/init_phases/teach_poses.py +0 -0
  91. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/init_phases/voice_setup.py +0 -0
  92. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/init_phases/write_manifest.py +0 -0
  93. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/install_desktop.py +0 -0
  94. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/install_gateway.py +0 -0
  95. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/install_mcp_claude_code.py +0 -0
  96. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/invoke.py +0 -0
  97. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/kinematics.py +0 -0
  98. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/mcp/__init__.py +0 -0
  99. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/mcp/context.py +0 -0
  100. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/mcp/invocation_log.py +0 -0
  101. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/mcp/invocation_record.py +0 -0
  102. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/mcp/manifest_watcher.py +0 -0
  103. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/mcp/resource_subscribers.py +0 -0
  104. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/mcp/resources/__init__.py +0 -0
  105. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/mcp/resources/hotplug_pending.py +0 -0
  106. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/mcp/server.py +0 -0
  107. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/mcp/tools/__init__.py +0 -0
  108. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/mcp/tools/discover.py +0 -0
  109. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/mcp/tools/doctor_summary.py +0 -0
  110. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/mcp/tools/estop.py +0 -0
  111. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/mcp/tools/execute_capability.py +0 -0
  112. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/mcp/tools/execute_task.py +0 -0
  113. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/mcp/tools/hotplug_confirm.py +0 -0
  114. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/mcp/tools/hotplug_review.py +0 -0
  115. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/mcp/tools/record_skill.py +0 -0
  116. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/mcp/tools/render.py +0 -0
  117. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/mcp/tools/spatial_eval/__init__.py +0 -0
  118. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/mcp/tools/spatial_eval/_ctx.py +0 -0
  119. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/mcp/tools/spatial_eval/dry_run.py +0 -0
  120. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/mcp/tools/spatial_eval/init.py +0 -0
  121. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/mcp/tools/spatial_eval/kit.py +0 -0
  122. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/mcp/tools/spatial_eval/replay.py +0 -0
  123. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/mcp/tools/spatial_eval/run_execute.py +0 -0
  124. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/mcp/tools/spatial_eval/run_full.py +0 -0
  125. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/mcp/tools/spatial_eval/run_probe.py +0 -0
  126. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/mcp/tools/spatial_eval/submit_to_rrf.py +0 -0
  127. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/mcp/tools/spatial_eval/verify.py +0 -0
  128. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/mcp/tools/validate.py +0 -0
  129. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/mcp/tools/vision_find.py +0 -0
  130. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/motion_gates.py +0 -0
  131. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/parser.py +0 -0
  132. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/planning/__init__.py +0 -0
  133. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/planning/anthropic_shim.py +0 -0
  134. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/planning/decompose.py +0 -0
  135. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/planning/prompt.py +0 -0
  136. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/planning/types.py +0 -0
  137. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/poses.py +0 -0
  138. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/preconditions.py +0 -0
  139. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/presets/aloha2.yaml +0 -0
  140. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/presets/franka_panda.yaml +0 -0
  141. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/presets/koch_arm.yaml +0 -0
  142. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/presets/lego_ev3.yaml +0 -0
  143. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/presets/lego_spike_prime.yaml +0 -0
  144. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/presets/lekiwi.yaml +0 -0
  145. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/presets/microduck.yaml +0 -0
  146. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/presets/minimal.yaml +0 -0
  147. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/presets/picar_x.yaml +0 -0
  148. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/presets/reachy2.yaml +0 -0
  149. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/presets/so_arm101.yaml +0 -0
  150. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/presets/so_arm101_leader.yaml +0 -0
  151. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/presets/stretch3.yaml +0 -0
  152. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/presets/turtlebot3_burger.yaml +0 -0
  153. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/presets/turtlebot4.yaml +0 -0
  154. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/presets/unitree_go2.yaml +0 -0
  155. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/presets/ur5e.yaml +0 -0
  156. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/publisher_key.py +0 -0
  157. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/register.py +0 -0
  158. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/registry.py +0 -0
  159. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/render.py +0 -0
  160. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/revoke_key.py +0 -0
  161. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/robot_spec.py +0 -0
  162. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/rotate_key.py +0 -0
  163. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/rrf_packages.py +0 -0
  164. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/ruri.py +0 -0
  165. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/schemas/capabilities.json +0 -0
  166. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/schemas/v1/robot.schema.json +0 -0
  167. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/schemas/v1/version.txt +0 -0
  168. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/signing.py +0 -0
  169. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/skill.py +0 -0
  170. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/skills/using-robot-md.SKILL.md +0 -0
  171. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/__init__.py +0 -0
  172. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/cli.py +0 -0
  173. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/execute/__init__.py +0 -0
  174. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/execute/evidence.py +0 -0
  175. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/execute/fixtures/kit_v1.md +0 -0
  176. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/execute/judge.py +0 -0
  177. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/execute/manual_gate.py +0 -0
  178. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/execute/trial.py +0 -0
  179. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/probe/__init__.py +0 -0
  180. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/probe/datasets/__init__.py +0 -0
  181. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/probe/datasets/loader.py +0 -0
  182. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/probe/datasets/public/A1/probe-001.json +0 -0
  183. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/probe/datasets/public/A1/probe-002.json +0 -0
  184. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/probe/datasets/public/A1/probe-003.json +0 -0
  185. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/probe/datasets/public/A2/probe-001.json +0 -0
  186. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/probe/datasets/public/A2/probe-002.json +0 -0
  187. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/probe/datasets/public/A2/probe-003.json +0 -0
  188. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/probe/datasets/public/O1/probe-001.json +0 -0
  189. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/probe/datasets/public/O1/probe-002.json +0 -0
  190. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/probe/datasets/public/O1/probe-003.json +0 -0
  191. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/probe/datasets/public/O2/probe-001.json +0 -0
  192. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/probe/datasets/public/O2/probe-002.json +0 -0
  193. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/probe/datasets/public/O2/probe-003.json +0 -0
  194. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/probe/datasets/public/O3/probe-001.json +0 -0
  195. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/probe/datasets/public/O3/probe-002.json +0 -0
  196. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/probe/datasets/public/O3/probe-003.json +0 -0
  197. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/probe/runner.py +0 -0
  198. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/probe/scorer.py +0 -0
  199. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/probe/scorers/__init__.py +0 -0
  200. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/probe/scorers/a1.py +0 -0
  201. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/probe/scorers/a2.py +0 -0
  202. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/probe/scorers/o1.py +0 -0
  203. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/probe/scorers/o2.py +0 -0
  204. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/probe/scorers/o3.py +0 -0
  205. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/probe/stacks.py +0 -0
  206. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/rrf.py +0 -0
  207. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/score.py +0 -0
  208. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/sign.py +0 -0
  209. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/units/__init__.py +0 -0
  210. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/units/a1_grasp.py +0 -0
  211. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/units/a2_stability.py +0 -0
  212. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/units/base.py +0 -0
  213. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/units/o1_permanence.py +0 -0
  214. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/units/o2_container.py +0 -0
  215. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/spatial_eval/units/o3_partial_view.py +0 -0
  216. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/submit.py +0 -0
  217. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/templates/__init__.py +0 -0
  218. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/templates/actuator/README.md.tmpl +0 -0
  219. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/templates/actuator/hooks.json.tmpl +0 -0
  220. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/templates/actuator/plugin.json.tmpl +0 -0
  221. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/templates/actuator/pyproject.toml.tmpl +0 -0
  222. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/templates/actuator/skill.md.tmpl +0 -0
  223. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/templates/actuator/src_actuator.py.tmpl +0 -0
  224. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/templates/actuator/test_actuator.py.tmpl +0 -0
  225. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/trajectory.py +0 -0
  226. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/trial.py +0 -0
  227. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/validate.py +0 -0
  228. {robot_md-2.2.0 → robot_md-2.2.1}/src/robot_md/verify_tier.py +0 -0
  229. {robot_md-2.2.0 → robot_md-2.2.1}/tests/__init__.py +0 -0
  230. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/__init__.py +0 -0
  231. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_capabilities_schema_all_core_caps_present.py +0 -0
  232. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_capabilities_schema_arg_validation.py +0 -0
  233. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_capabilities_schema_loads.py +0 -0
  234. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_capability_dataclass.py +0 -0
  235. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_capability_metadata_default.py +0 -0
  236. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_capability_namespace_core_accepted.py +0 -0
  237. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_capability_namespace_malformed_rejected.py +0 -0
  238. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_capability_namespace_skips_in_discovery.py +0 -0
  239. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_capability_namespace_vendor_accepted.py +0 -0
  240. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_describe_capabilities_cli.py +0 -0
  241. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_entry_points_register_sp3_backends.py +0 -0
  242. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_enumerate_capabilities.py +0 -0
  243. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_existing_capabilities_method_unchanged.py +0 -0
  244. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_lerobot_arm_place_home.py +0 -0
  245. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_lerobot_backend_capabilities_valid.py +0 -0
  246. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_lerobot_backend_open_mocked.py +0 -0
  247. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_lerobot_backend_protocols.py +0 -0
  248. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_lerobot_build_config_so_arm101.py +0 -0
  249. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_lerobot_capabilities_schema_compliance.py +0 -0
  250. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_lerobot_dry_run.py +0 -0
  251. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_lerobot_execute_arm_pick_mocked.py +0 -0
  252. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_lerobot_execute_unknown_capability.py +0 -0
  253. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_lerobot_gripper.py +0 -0
  254. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_lerobot_perception.py +0 -0
  255. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_lerobot_teleop.py +0 -0
  256. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_presets_preferred_backend_lerobot.py +0 -0
  257. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_realsense_aligned_depth.py +0 -0
  258. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_realsense_backend_protocols.py +0 -0
  259. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_realsense_capabilities_camera_only.py +0 -0
  260. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_realsense_no_arm_capability.py +0 -0
  261. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_realsense_open_mocked.py +0 -0
  262. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_realsense_perceive_depth.py +0 -0
  263. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_realsense_perceive_rgb.py +0 -0
  264. {robot_md-2.2.0 → robot_md-2.2.1}/tests/backends/test_realsense_scene_describe_mocked.py +0 -0
  265. {robot_md-2.2.0 → robot_md-2.2.1}/tests/fake_gateway.py +0 -0
  266. {robot_md-2.2.0 → robot_md-2.2.1}/tests/fixtures/autodetect/pi5-hailo-movidius.lspci +0 -0
  267. {robot_md-2.2.0 → robot_md-2.2.1}/tests/fixtures/autodetect/pi5-hailo-movidius.lsusb +0 -0
  268. {robot_md-2.2.0 → robot_md-2.2.1}/tests/fixtures/hybrid-fixture.json +0 -0
  269. {robot_md-2.2.0 → robot_md-2.2.1}/tests/fixtures/invalid/bad-rcan-version.ROBOT.md +0 -0
  270. {robot_md-2.2.0 → robot_md-2.2.1}/tests/fixtures/invalid/bad-yaml.ROBOT.md +0 -0
  271. {robot_md-2.2.0 → robot_md-2.2.1}/tests/fixtures/invalid/missing-identity-section.ROBOT.md +0 -0
  272. {robot_md-2.2.0 → robot_md-2.2.1}/tests/fixtures/invalid/missing-safety.ROBOT.md +0 -0
  273. {robot_md-2.2.0 → robot_md-2.2.1}/tests/fixtures/invalid/no-frontmatter.md +0 -0
  274. {robot_md-2.2.0 → robot_md-2.2.1}/tests/fixtures/register-fixture.json +0 -0
  275. {robot_md-2.2.0 → robot_md-2.2.1}/tests/fixtures/robot_md_legacy_camera_singular.yaml +0 -0
  276. {robot_md-2.2.0 → robot_md-2.2.1}/tests/fixtures/robot_md_no_intrinsic.yaml +0 -0
  277. {robot_md-2.2.0 → robot_md-2.2.1}/tests/fixtures/robot_md_oak_d_factory_cal.yaml +0 -0
  278. {robot_md-2.2.0 → robot_md-2.2.1}/tests/fixtures/valid/minimal.ROBOT.md +0 -0
  279. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hardware/__init__.py +0 -0
  280. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hardware/conftest.py +0 -0
  281. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hardware/test_dashboard_frame.py +0 -0
  282. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hardware/test_depthai_intrinsic_read.py +0 -0
  283. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hardware/test_extrinsic_calibrate.py +0 -0
  284. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hardware/test_feetech_smoke.py +0 -0
  285. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hardware/test_init_e2e_feetech.py +0 -0
  286. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hardware/test_latch_recovery.py +0 -0
  287. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hardware/test_sp1_demo_path.py +0 -0
  288. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hardware/test_sphp_replug_so_arm101_high_tier.py +0 -0
  289. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hardware/test_sphp_unknown_device_low_tier.py +0 -0
  290. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hardware/test_teach_replay_roundtrip.py +0 -0
  291. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_audit_log_append.py +0 -0
  292. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_cli_hotplug_install_service_linux.py +0 -0
  293. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_cli_hotplug_install_service_macos.py +0 -0
  294. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_cli_hotplug_review_lists_pending.py +0 -0
  295. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_cli_hotplug_status_reports_running.py +0 -0
  296. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_config.py +0 -0
  297. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_daemon_broadcasts_on_event.py +0 -0
  298. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_daemon_dedupes_replug.py +0 -0
  299. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_daemon_starts_and_stops_clean.py +0 -0
  300. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_daemon_two_instances_eaddrinuse.py +0 -0
  301. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_device_event.py +0 -0
  302. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_device_event_shape_consistent_across_platforms.py +0 -0
  303. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_hotplug_confirm_bind_is_idempotent.py +0 -0
  304. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_hotplug_confirm_bind_writes_manifest.py +0 -0
  305. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_hotplug_confirm_reject_appends_resolution.py +0 -0
  306. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_hotplug_review_is_read_only.py +0 -0
  307. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_hotplug_review_returns_pending_only.py +0 -0
  308. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_linux_watch_devices.py +0 -0
  309. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_macos_watch_devices.py +0 -0
  310. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_manifest_merge_appends_driver.py +0 -0
  311. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_manifest_merge_locking.py +0 -0
  312. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_manifest_merge_no_manifest.py +0 -0
  313. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_manifest_merge_validates_before_write.py +0 -0
  314. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_matcher_dataclasses.py +0 -0
  315. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_matcher_high_tier_exact.py +0 -0
  316. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_matcher_low_tier.py +0 -0
  317. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_matcher_medium_tier.py +0 -0
  318. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_matcher_recent_reject_demotes.py +0 -0
  319. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_mcp_inotify_reload_on_manifest_change.py +0 -0
  320. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_presets_index.py +0 -0
  321. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_queue_append_pending_atomic.py +0 -0
  322. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_queue_hash_chain.py +0 -0
  323. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_queue_last_reject_lookup.py +0 -0
  324. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_queue_resolution_first_writer_wins.py +0 -0
  325. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_queue_truncation_recovery.py +0 -0
  326. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_queue_ttl_expiry.py +0 -0
  327. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_socket_listener.py +0 -0
  328. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug/test_windows_watch_devices.py +0 -0
  329. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug_an/__init__.py +0 -0
  330. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug_an/conftest.py +0 -0
  331. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug_an/test_hotplug_pending_resource_emits_updated_on_file_poll.py +0 -0
  332. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug_an/test_hotplug_pending_resource_emits_updated_on_nudge.py +0 -0
  333. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug_an/test_hotplug_pending_resource_lists_pending.py +0 -0
  334. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug_an/test_hotplug_pending_resource_registered.py +0 -0
  335. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug_an/test_hotplug_pending_resource_subscribers_only_get_changes.py +0 -0
  336. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug_an/test_server_subscribe_resource_v2.py +0 -0
  337. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug_an/test_session_registry.py +0 -0
  338. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug_an/test_skill_announce_high_tier_in_voice_mode.py +0 -0
  339. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug_an/test_skill_medium_tier_surfaces_alternatives.py +0 -0
  340. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug_an/test_skill_resolved_elsewhere_acknowledges.py +0 -0
  341. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug_an/test_skill_text_has_hotplug_sections.py +0 -0
  342. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug_an/test_skill_undo_after_window_warns_manifest_bound.py +0 -0
  343. {robot_md-2.2.0 → robot_md-2.2.1}/tests/hotplug_an/test_skill_undo_within_window_calls_reject.py +0 -0
  344. {robot_md-2.2.0 → robot_md-2.2.1}/tests/integration/__init__.py +0 -0
  345. {robot_md-2.2.0 → robot_md-2.2.1}/tests/integration/test_actuator_catalog_html.py +0 -0
  346. {robot_md-2.2.0 → robot_md-2.2.1}/tests/integration/test_actuator_pip_install.py +0 -0
  347. {robot_md-2.2.0 → robot_md-2.2.1}/tests/integration/test_arm_pick_depth_filtered.py +0 -0
  348. {robot_md-2.2.0 → robot_md-2.2.1}/tests/integration/test_dashboard_server.py +0 -0
  349. {robot_md-2.2.0 → robot_md-2.2.1}/tests/integration/test_doctor_hardware_mode.py +0 -0
  350. {robot_md-2.2.0 → robot_md-2.2.1}/tests/integration/test_execute_capability_dry.py +0 -0
  351. {robot_md-2.2.0 → robot_md-2.2.1}/tests/integration/test_execute_task_dry.py +0 -0
  352. {robot_md-2.2.0 → robot_md-2.2.1}/tests/integration/test_init_calibrate_extrinsic_dry_run.py +0 -0
  353. {robot_md-2.2.0 → robot_md-2.2.1}/tests/integration/test_init_default_flow.py +0 -0
  354. {robot_md-2.2.0 → robot_md-2.2.1}/tests/integration/test_init_no_claude_mcp_add.py +0 -0
  355. {robot_md-2.2.0 → robot_md-2.2.1}/tests/integration/test_invoke_against_real_gateway.py +0 -0
  356. {robot_md-2.2.0 → robot_md-2.2.1}/tests/integration/test_mcp_discover_streaming.py +0 -0
  357. {robot_md-2.2.0 → robot_md-2.2.1}/tests/integration/test_mcp_server_backfill.py +0 -0
  358. {robot_md-2.2.0 → robot_md-2.2.1}/tests/integration/test_mcp_server_lifecycle.py +0 -0
  359. {robot_md-2.2.0 → robot_md-2.2.1}/tests/integration/test_pick_red_lego_dry_run.py +0 -0
  360. {robot_md-2.2.0 → robot_md-2.2.1}/tests/integration/test_rpn_roundtrip.py +0 -0
  361. {robot_md-2.2.0 → robot_md-2.2.1}/tests/integration/test_sphp_replug_high_tier_end_to_end.py +0 -0
  362. {robot_md-2.2.0 → robot_md-2.2.1}/tests/manual/sp1_skill_smoke.md +0 -0
  363. {robot_md-2.2.0 → robot_md-2.2.1}/tests/manual/span_smoke.md +0 -0
  364. {robot_md-2.2.0 → robot_md-2.2.1}/tests/manual/sphp_smoke.md +0 -0
  365. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/__init__.py +0 -0
  366. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/conftest.py +0 -0
  367. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/manual_smoke_bob.md +0 -0
  368. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_cli_submit_to_rrf.py +0 -0
  369. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_dataset_loader.py +0 -0
  370. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_evidence.py +0 -0
  371. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_execute_judge.py +0 -0
  372. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_execute_trial.py +0 -0
  373. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_manual_gate.py +0 -0
  374. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_mcp_dry_run.py +0 -0
  375. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_mcp_init.py +0 -0
  376. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_mcp_kit.py +0 -0
  377. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_mcp_replay.py +0 -0
  378. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_mcp_run_execute.py +0 -0
  379. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_mcp_run_execute_signs.py +0 -0
  380. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_mcp_run_full.py +0 -0
  381. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_mcp_run_probe.py +0 -0
  382. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_mcp_submit.py +0 -0
  383. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_mcp_verify.py +0 -0
  384. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_mcp_verify_production.py +0 -0
  385. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_mcp_verify_production_rrf.py +0 -0
  386. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_mcp_verify_registry_attested.py +0 -0
  387. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_probe_runner.py +0 -0
  388. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_probe_stacks.py +0 -0
  389. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_rrf_failure_paths.py +0 -0
  390. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_rrf_fetch_pubkey.py +0 -0
  391. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_rrf_poll_status.py +0 -0
  392. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_rrf_submit_score.py +0 -0
  393. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_schema.py +0 -0
  394. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_score.py +0 -0
  395. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_scorer_a1.py +0 -0
  396. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_scorer_a2.py +0 -0
  397. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_scorer_dispatch.py +0 -0
  398. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_scorer_o2.py +0 -0
  399. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_scorer_o3.py +0 -0
  400. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_server_registration.py +0 -0
  401. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_units_a1.py +0 -0
  402. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_units_a2.py +0 -0
  403. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_units_base.py +0 -0
  404. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_units_o1.py +0 -0
  405. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_units_o2.py +0 -0
  406. {robot_md-2.2.0 → robot_md-2.2.1}/tests/spatial_eval/test_units_o3.py +0 -0
  407. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_actuator_init.py +0 -0
  408. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_actuator_lifecycle.py +0 -0
  409. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_actuator_publish.py +0 -0
  410. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_actuator_search.py +0 -0
  411. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_apikey_request.py +0 -0
  412. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_art11.py +0 -0
  413. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_audit.py +0 -0
  414. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_autodetect.py +0 -0
  415. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_autodetect_rcan_version.py +0 -0
  416. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_autodetect_tier_a.py +0 -0
  417. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_autodetect_v4l2_filter.py +0 -0
  418. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_benchmarks.py +0 -0
  419. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_bus_scan.py +0 -0
  420. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_calibrate.py +0 -0
  421. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_claude_md.py +0 -0
  422. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_cli.py +0 -0
  423. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_cli_incidents.py +0 -0
  424. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_cli_install_gateway.py +0 -0
  425. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_cli_pose_teach.py +0 -0
  426. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_compliance_scaffold.py +0 -0
  427. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_compliance_status.py +0 -0
  428. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_context.py +0 -0
  429. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_discovery.py +0 -0
  430. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_doctor.py +0 -0
  431. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_doctor_gateway_claim.py +0 -0
  432. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_eu_register.py +0 -0
  433. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_examples.py +0 -0
  434. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_fria.py +0 -0
  435. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_ifu.py +0 -0
  436. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_incidents.py +0 -0
  437. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_init.py +0 -0
  438. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_install_desktop.py +0 -0
  439. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_install_gateway.py +0 -0
  440. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_install_gateway_integration.py +0 -0
  441. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_install_skill_extended.py +0 -0
  442. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_invoke.py +0 -0
  443. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_kinematics.py +0 -0
  444. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_mcp_audit_integration.py +0 -0
  445. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_parser.py +0 -0
  446. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_preset_microduck.py +0 -0
  447. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_publisher_key.py +0 -0
  448. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_register.py +0 -0
  449. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_register_summary.py +0 -0
  450. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_registry.py +0 -0
  451. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_render.py +0 -0
  452. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_revoke_key.py +0 -0
  453. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_rotate_key.py +0 -0
  454. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_rrf_packages.py +0 -0
  455. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_ruri.py +0 -0
  456. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_schema.py +0 -0
  457. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_signing.py +0 -0
  458. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_skill.py +0 -0
  459. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_skill_content.py +0 -0
  460. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_submit.py +0 -0
  461. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_trial.py +0 -0
  462. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_validate.py +0 -0
  463. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_verify_tier.py +0 -0
  464. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_version.py +0 -0
  465. {robot_md-2.2.0 → robot_md-2.2.1}/tests/test_voice_setup.py +0 -0
  466. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/__init__.py +0 -0
  467. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/conftest.py +0 -0
  468. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_arm_pick_dispatch.py +0 -0
  469. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_arm_place_dispatch.py +0 -0
  470. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_auto_calibrate.py +0 -0
  471. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_autodetect_cameras.py +0 -0
  472. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_autodetect_probe.py +0 -0
  473. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_backend_registry.py +0 -0
  474. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_calibrate_extrinsic_plan_sweep.py +0 -0
  475. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_calibrate_extrinsic_solve.py +0 -0
  476. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_calibrate_extrinsic_wrist_wiggle.py +0 -0
  477. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_calibrate_intrinsic.py +0 -0
  478. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_cli_calibrate_hand_eye.py +0 -0
  479. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_dashboard_context_wiring.py +0 -0
  480. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_dashboard_events.py +0 -0
  481. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_detector_depth_bowl.py +0 -0
  482. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_detectors_hsv.py +0 -0
  483. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_discover_tool.py +0 -0
  484. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_discovery_payload.py +0 -0
  485. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_doctor_extrinsic_source.py +0 -0
  486. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_estop_clear.py +0 -0
  487. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_execute_capability_preconditions.py +0 -0
  488. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_execute_capability_readonly.py +0 -0
  489. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_extrinsic.py +0 -0
  490. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_feetech_depthai_capabilities.py +0 -0
  491. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_feetech_depthai_doctor.py +0 -0
  492. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_feetech_depthai_motion.py +0 -0
  493. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_feetech_depthai_perception.py +0 -0
  494. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_feetech_depthai_registration.py +0 -0
  495. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_feetech_depthai_safety.py +0 -0
  496. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_feetech_depthai_servo.py +0 -0
  497. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_gripper_silhouette.py +0 -0
  498. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_gripper_silhouette_motion_delta.py +0 -0
  499. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_hardware_extra_declared.py +0 -0
  500. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_hsv_depth_filter.py +0 -0
  501. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_init_auto_calibrate_ready.py +0 -0
  502. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_init_calibrate_extrinsic_hookup.py +0 -0
  503. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_init_cameras_merge.py +0 -0
  504. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_init_motion_extras_hint.py +0 -0
  505. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_init_no_stale_mcp_hint.py +0 -0
  506. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_init_non_interactive.py +0 -0
  507. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_init_phase_calibrate_sign.py +0 -0
  508. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_init_phase_calibrate_zero.py +0 -0
  509. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_init_phase_install_mcp.py +0 -0
  510. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_init_phase_install_skill.py +0 -0
  511. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_init_phase_register.py +0 -0
  512. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_init_phase_teach_poses.py +0 -0
  513. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_init_phase_write_manifest.py +0 -0
  514. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_install_mcp_claude_code.py +0 -0
  515. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_install_mcp_deprecated.py +0 -0
  516. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_invocation_log.py +0 -0
  517. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_invocation_log_backfill.py +0 -0
  518. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_invocation_record.py +0 -0
  519. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_kinematics_analyze_envelope.py +0 -0
  520. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_mcp_context_fanout.py +0 -0
  521. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_mcp_cwd_walk.py +0 -0
  522. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_mcp_doctor_summary.py +0 -0
  523. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_mcp_gate_matching.py +0 -0
  524. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_mcp_gateway_check.py +0 -0
  525. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_mcp_motion_through_gateway.py +0 -0
  526. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_mcp_preset_gates.py +0 -0
  527. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_mcp_prompts.py +0 -0
  528. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_mcp_resources.py +0 -0
  529. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_mcp_resources_invocations.py +0 -0
  530. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_mcp_stop_failures.py +0 -0
  531. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_mcp_tool_annotations.py +0 -0
  532. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_mcp_tools_discover_progress.py +0 -0
  533. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_mcp_tools_estop.py +0 -0
  534. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_mcp_tools_execute_capability.py +0 -0
  535. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_mcp_tools_render.py +0 -0
  536. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_mcp_tools_validate.py +0 -0
  537. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_motion_verify_alive.py +0 -0
  538. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_phase_calibrate_extrinsic_skips.py +0 -0
  539. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_pick_best_count_and_negative_hints.py +0 -0
  540. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_planning_decompose.py +0 -0
  541. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_planning_prompt.py +0 -0
  542. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_poses.py +0 -0
  543. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_preconditions.py +0 -0
  544. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_preset_cameras_migration.py +0 -0
  545. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_preset_so_arm101_v061.py +0 -0
  546. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_record_skill_tool.py +0 -0
  547. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_robot_spec.py +0 -0
  548. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_schema_annex_iii_basis.py +0 -0
  549. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_schema_cameras_xref.py +0 -0
  550. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_schema_capability_contracts.py +0 -0
  551. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_schema_ik_provider.py +0 -0
  552. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_schema_intrinsic.py +0 -0
  553. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_schema_learned_skills.py +0 -0
  554. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_schema_object_descriptors.py +0 -0
  555. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_schema_poses.py +0 -0
  556. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_schema_rcn_rmn_rhn.py +0 -0
  557. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_schema_workspace.py +0 -0
  558. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_trajectory.py +0 -0
  559. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_validate_warnings.py +0 -0
  560. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_vision_find_tool.py +0 -0
  561. {robot_md-2.2.0 → robot_md-2.2.1}/tests/unit/test_workspace_depth_bounds.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: robot-md
3
- Version: 2.2.0
3
+ Version: 2.2.1
4
4
  Summary: ROBOT.md — a single self-describing file so Claude can safely operate your robot.
5
5
  Project-URL: Homepage, https://robotmd.dev
6
6
  Project-URL: Repository, https://github.com/RobotRegistryFoundation/robot-md
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "robot-md"
7
- version = "2.2.0"
7
+ version = "2.2.1"
8
8
  description = "ROBOT.md — a single self-describing file so Claude can safely operate your robot."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -90,16 +90,56 @@ class InstallResult:
90
90
  stderr: str = ""
91
91
 
92
92
 
93
+ def in_virtualenv() -> bool:
94
+ """True when this Python runs inside a virtualenv (venv, uv, uvx, pipx)."""
95
+ return sys.prefix != sys.base_prefix
96
+
97
+
98
+ def install_command(spec: str) -> list[str] | None:
99
+ """The command that installs `spec` into the environment robot-md runs in.
100
+
101
+ - Inside a virtualenv: plain `pip install` there (pip refuses `--user` in a
102
+ virtualenv). Environments made by uv (uvx, `uv tool`, `uv venv`) have no
103
+ pip, so use `uv pip install --python <this interpreter>` when uv is on
104
+ PATH. None when neither is available.
105
+ - Otherwise: `pip install --user`, adding `--break-system-packages` where
106
+ the system Python is externally managed (PEP 668).
107
+ """
108
+ import importlib.util
109
+ import shutil
110
+
111
+ if in_virtualenv():
112
+ if importlib.util.find_spec("pip") is not None:
113
+ return [sys.executable, "-m", "pip", "install", spec]
114
+ uv = shutil.which("uv")
115
+ if uv:
116
+ return [uv, "pip", "install", "--python", sys.executable, spec]
117
+ return None
118
+ cmd = [sys.executable, "-m", "pip", "install", "--user", spec]
119
+ if is_externally_managed_env():
120
+ cmd.insert(cmd.index("install") + 1, "--break-system-packages")
121
+ return cmd
122
+
123
+
93
124
  def install_one(package: str, *, min_version: str = "") -> InstallResult:
94
- """Run `pip install --user [--break-system-packages] <pkg>[>=ver]`.
125
+ """Install one backend package into the environment robot-md runs in.
95
126
 
96
127
  Emits a one-line stderr explanation when --break-system-packages is added
97
128
  so the operator can see the workaround without surprise.
98
129
  """
99
130
  spec = package + (f">={min_version}" if min_version else "")
100
- cmd = [sys.executable, "-m", "pip", "install", "--user", spec]
101
- if is_externally_managed_env():
102
- cmd.insert(cmd.index("install") + 1, "--break-system-packages")
131
+ cmd = install_command(spec)
132
+ if cmd is None:
133
+ return InstallResult(
134
+ package=package,
135
+ ok=False,
136
+ stderr=(
137
+ f"this Python environment ({sys.prefix}) has neither pip nor uv; "
138
+ f"install {spec} into it yourself, for example with `uv pip install "
139
+ f"--python {sys.executable} '{spec}'`"
140
+ ),
141
+ )
142
+ if "--break-system-packages" in cmd:
103
143
  sys.stderr.write(
104
144
  "⚠ Adding --break-system-packages because this Python install is "
105
145
  "externally-managed (PEP 668). Consider pipx for a cleaner future install.\n"
@@ -199,3 +199,17 @@ def gateway_env(monkeypatch, fake_gateway, tmp_path):
199
199
  monkeypatch.setenv(gateway_client.ENV_BEARER, TEST_BEARER)
200
200
  monkeypatch.setenv(gateway_client.ENV_RURI, TEST_RURI)
201
201
  return fake_gateway
202
+
203
+
204
+ @pytest.fixture(autouse=True)
205
+ def _no_real_backend_install(monkeypatch):
206
+ """`robot-md init` installs backend packages (so-arm101-actuator, …) with pip.
207
+ A test must never install real packages, so every init flow gets a stub
208
+ that reports success. Tests of install_one itself import the real function
209
+ by name and stub subprocess.run instead."""
210
+ from robot_md.init_phases import install_backend
211
+
212
+ def fake_install(package, *, min_version=""):
213
+ return install_backend.InstallResult(package=package, ok=True, stdout="stubbed in tests", stderr="")
214
+
215
+ monkeypatch.setattr(install_backend, "install_one", fake_install)
@@ -121,6 +121,7 @@ def test_install_one_invokes_pip_with_break_system_packages_when_externally_mana
121
121
  )
122
122
 
123
123
  with (
124
+ patch("robot_md.init_phases.install_backend.in_virtualenv", return_value=False),
124
125
  patch("robot_md.init_phases.install_backend.is_externally_managed_env", return_value=True),
125
126
  patch("subprocess.run", side_effect=fake_run),
126
127
  ):
@@ -150,6 +151,57 @@ def test_install_one_omits_break_system_packages_in_venv():
150
151
  assert not any("--break-system-packages" in arg for arg in captured[0])
151
152
 
152
153
 
154
+ def _captured_run(captured):
155
+ def fake_run(cmd, **kwargs):
156
+ captured.append(cmd)
157
+ from subprocess import CompletedProcess
158
+
159
+ return CompletedProcess(cmd, returncode=0, stdout="", stderr="")
160
+
161
+ return fake_run
162
+
163
+
164
+ def test_in_a_virtualenv_with_pip_it_installs_there_without_user():
165
+ """pip refuses --user inside a virtualenv, so it must not be passed there."""
166
+ captured = []
167
+ with (
168
+ patch("robot_md.init_phases.install_backend.in_virtualenv", return_value=True),
169
+ patch("importlib.util.find_spec", return_value=object()),
170
+ patch("subprocess.run", side_effect=_captured_run(captured)),
171
+ ):
172
+ r = install_one("so-arm101-actuator", min_version="0.3.0")
173
+ assert r.ok
174
+ assert captured[0][1:] == ["-m", "pip", "install", "so-arm101-actuator>=0.3.0"]
175
+
176
+
177
+ def test_in_a_uv_environment_without_pip_it_uses_uv():
178
+ """uvx and `uv venv` environments have no pip; uv installs into them."""
179
+ captured = []
180
+ with (
181
+ patch("robot_md.init_phases.install_backend.in_virtualenv", return_value=True),
182
+ patch("importlib.util.find_spec", return_value=None),
183
+ patch("shutil.which", return_value="/usr/bin/uv"),
184
+ patch("subprocess.run", side_effect=_captured_run(captured)),
185
+ ):
186
+ r = install_one("so-arm101-actuator", min_version="0.3.0")
187
+ assert r.ok
188
+ assert captured[0][:4] == ["/usr/bin/uv", "pip", "install", "--python"]
189
+ assert captured[0][-1] == "so-arm101-actuator>=0.3.0"
190
+
191
+
192
+ def test_with_neither_pip_nor_uv_it_says_what_to_run_and_runs_nothing():
193
+ captured = []
194
+ with (
195
+ patch("robot_md.init_phases.install_backend.in_virtualenv", return_value=True),
196
+ patch("importlib.util.find_spec", return_value=None),
197
+ patch("shutil.which", return_value=None),
198
+ patch("subprocess.run", side_effect=_captured_run(captured)),
199
+ ):
200
+ r = install_one("so-arm101-actuator", min_version="0.3.0")
201
+ assert not r.ok and captured == []
202
+ assert "neither pip nor uv" in r.stderr and "so-arm101-actuator>=0.3.0" in r.stderr
203
+
204
+
153
205
  def test_phase_install_backend_returns_ok_when_all_succeed():
154
206
  """phase_install_backend runs install_one for every match and returns ok."""
155
207
  scan = Scan(
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes