copper-pilot-cli 0.1.10__tar.gz → 0.1.11__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 (205) hide show
  1. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/HISTORY.md +213 -0
  2. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/PKG-INFO +6 -3
  3. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/README.md +4 -1
  4. copper_pilot_cli-0.1.11/VERSION +1 -0
  5. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/docs/cli.md +81 -17
  6. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/docs/development.md +3 -1
  7. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/docs/harness.md +55 -12
  8. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/pyproject.toml +1 -1
  9. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/copper_acp.py +329 -25
  10. copper_pilot_cli-0.1.11/src/copper_pilot_cli/copper_api.py +186 -0
  11. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/copper_app.py +256 -66
  12. copper_pilot_cli-0.1.11/src/copper_pilot_cli/copper_chrome.py +558 -0
  13. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/copper_graph.py +29 -15
  14. copper_pilot_cli-0.1.11/src/copper_pilot_cli/copper_logo.py +25 -0
  15. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/copper_main.py +49 -3
  16. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/copper_mcp.py +163 -11
  17. copper_pilot_cli-0.1.11/src/copper_pilot_cli/copper_models.py +303 -0
  18. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/copper_preferences.py +34 -0
  19. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/copper_presentation.py +225 -87
  20. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/copper_protocol.py +158 -24
  21. copper_pilot_cli-0.1.11/src/copper_pilot_cli/copper_theme.py +258 -0
  22. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/copper_widgets.py +485 -84
  23. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/deepagents_tools.py +48 -21
  24. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/langchain.py +4 -0
  25. copper_pilot_cli-0.1.11/src/copper_pilot_cli/tool_batch.py +244 -0
  26. copper_pilot_cli-0.1.11/tests/conftest.py +32 -0
  27. copper_pilot_cli-0.1.11/tests/snapshots/approval.txt +5 -0
  28. copper_pilot_cli-0.1.11/tests/snapshots/idle-input-120-ascii.txt +12 -0
  29. copper_pilot_cli-0.1.11/tests/snapshots/idle-input-120-color.txt +12 -0
  30. copper_pilot_cli-0.1.11/tests/snapshots/idle-input-120-nocolor.txt +8 -0
  31. copper_pilot_cli-0.1.11/tests/snapshots/idle-input-50-ascii.txt +10 -0
  32. copper_pilot_cli-0.1.11/tests/snapshots/idle-input-50-color.txt +10 -0
  33. copper_pilot_cli-0.1.11/tests/snapshots/idle-input-50-nocolor.txt +8 -0
  34. copper_pilot_cli-0.1.11/tests/snapshots/idle-input-80-ascii.txt +12 -0
  35. copper_pilot_cli-0.1.11/tests/snapshots/idle-input-80-color.txt +12 -0
  36. copper_pilot_cli-0.1.11/tests/snapshots/idle-input-80-nocolor.txt +8 -0
  37. copper_pilot_cli-0.1.11/tests/snapshots/slash-menu.txt +7 -0
  38. copper_pilot_cli-0.1.11/tests/snapshots/status-agent-balanced.txt +9 -0
  39. copper_pilot_cli-0.1.11/tests/snapshots/status-agent-intelligence.txt +9 -0
  40. copper_pilot_cli-0.1.11/tests/snapshots/status-ask-balanced.txt +9 -0
  41. copper_pilot_cli-0.1.11/tests/snapshots/status-ask-intelligence.txt +9 -0
  42. copper_pilot_cli-0.1.11/tests/snapshots/status-plan-balanced.txt +9 -0
  43. copper_pilot_cli-0.1.11/tests/snapshots/status-plan-intelligence.txt +9 -0
  44. copper_pilot_cli-0.1.11/tests/snapshots/welcome-120-ascii.txt +24 -0
  45. copper_pilot_cli-0.1.11/tests/snapshots/welcome-120-color.txt +32 -0
  46. copper_pilot_cli-0.1.11/tests/snapshots/welcome-120-nocolor.txt +12 -0
  47. copper_pilot_cli-0.1.11/tests/snapshots/welcome-50-ascii.txt +20 -0
  48. copper_pilot_cli-0.1.11/tests/snapshots/welcome-50-color.txt +20 -0
  49. copper_pilot_cli-0.1.11/tests/snapshots/welcome-50-nocolor.txt +12 -0
  50. copper_pilot_cli-0.1.11/tests/snapshots/welcome-80-ascii.txt +24 -0
  51. copper_pilot_cli-0.1.11/tests/snapshots/welcome-80-color.txt +32 -0
  52. copper_pilot_cli-0.1.11/tests/snapshots/welcome-80-nocolor.txt +12 -0
  53. copper_pilot_cli-0.1.11/tests/snapshots/working-color.txt +7 -0
  54. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/tests/test_acp.py +611 -12
  55. copper_pilot_cli-0.1.11/tests/test_chrome_snapshots.py +464 -0
  56. copper_pilot_cli-0.1.11/tests/test_copper_api.py +212 -0
  57. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/tests/test_durability.py +87 -5
  58. copper_pilot_cli-0.1.11/tests/test_graph_batch.py +52 -0
  59. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/tests/test_langchain.py +21 -0
  60. copper_pilot_cli-0.1.11/tests/test_logo.py +10 -0
  61. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/tests/test_main.py +31 -0
  62. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/tests/test_mcp.py +188 -7
  63. copper_pilot_cli-0.1.11/tests/test_models.py +259 -0
  64. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/tests/test_protocol.py +40 -4
  65. copper_pilot_cli-0.1.11/tests/test_protocol_batch.py +255 -0
  66. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/tests/test_release_gates.py +4 -1
  67. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/tests/test_sessions.py +20 -1
  68. copper_pilot_cli-0.1.11/tests/test_themes_and_speed.py +242 -0
  69. copper_pilot_cli-0.1.11/tests/test_tool_batch.py +284 -0
  70. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/tests/test_tui.py +148 -5
  71. copper_pilot_cli-0.1.10/VERSION +0 -1
  72. copper_pilot_cli-0.1.10/src/copper_pilot_cli/copper_api.py +0 -77
  73. copper_pilot_cli-0.1.10/src/copper_pilot_cli/copper_theme.py +0 -34
  74. copper_pilot_cli-0.1.10/tests/test_copper_api.py +0 -63
  75. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/.claude-plugin/marketplace.json +0 -0
  76. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/.gitignore +0 -0
  77. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/CODE_OF_CONDUCT.md +0 -0
  78. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/CONTRIBUTING.md +0 -0
  79. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/LICENSE +0 -0
  80. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/NOTICE +0 -0
  81. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/SECURITY.md +0 -0
  82. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/SUPPORT.md +0 -0
  83. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/UPSTREAM.md +0 -0
  84. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/docs/assets/esp32-mini-1-h4.gif +0 -0
  85. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/docs/assets/logo-dark.png +0 -0
  86. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/docs/assets/logo-light.png +0 -0
  87. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/docs/assets/logo.png +0 -0
  88. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/docs/validate.md +0 -0
  89. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/.gitignore +0 -0
  90. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/001_esp32/.copperpilot/PLANS.md +0 -0
  91. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/001_esp32/.copperpilot/README.md +0 -0
  92. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/001_esp32/.copperpilot/TOOLS.md +0 -0
  93. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/001_esp32/.copperpilot/plans/esp32-dev-board.plan.md +0 -0
  94. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/001_esp32/.gitignore +0 -0
  95. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/001_esp32/README.md +0 -0
  96. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/001_esp32/esp32/3d-models/SW-SMD_L3.9-W2.9-H2.0-LS4.8.step +0 -0
  97. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/001_esp32/esp32/3d-models/TYPE-C-31-M-12.step +0 -0
  98. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/001_esp32/esp32/esp32.kicad_pcb +0 -0
  99. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/001_esp32/esp32/esp32.kicad_pro +0 -0
  100. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/001_esp32/esp32/esp32.kicad_sch +0 -0
  101. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/001_esp32/esp32/esp32.png +0 -0
  102. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/001_esp32/helper.py +0 -0
  103. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/001_esp32/main.py +0 -0
  104. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/.copperpilot/PLANS.md +0 -0
  105. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/.copperpilot/README.md +0 -0
  106. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/.copperpilot/plans/cm5-camera-carrier.plan.md +0 -0
  107. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/.gitignore +0 -0
  108. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/README.md +0 -0
  109. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/assembly_spec.json +0 -0
  110. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/3dmodels/CM4.step +0 -0
  111. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/3dmodels/CM5.step +0 -0
  112. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/3dmodels/Camera_IMX219-D160.step +0 -0
  113. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/3dmodels/USB_A_Molex_105057-0001_Vertical.wrl +0 -0
  114. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/3dmodels/USB_A_vertical.step +0 -0
  115. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/CM5.3dshapes/5033981892.stp +0 -0
  116. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/CM5.3dshapes/DF40C-100DS.stp +0 -0
  117. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/CM5.3dshapes/JTHDA-19F08.STEP +0 -0
  118. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/CM5.3dshapes/SRP5030CC.stp +0 -0
  119. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/cm5_camera.kicad_dru +0 -0
  120. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/cm5_camera.kicad_pcb +0 -0
  121. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/cm5_camera.kicad_pro +0 -0
  122. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/cm5_camera.kicad_sch +0 -0
  123. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/cm5_camera.kicad_sym +0 -0
  124. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/cm5_camera.png +0 -0
  125. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/cm5_camera.pretty/C_0402_1005Metric.kicad_mod +0 -0
  126. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/cm5_camera.pretty/C_0805_2012Metric.kicad_mod +0 -0
  127. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/cm5_camera.pretty/Camera_Module_IMX219-D160.kicad_mod +0 -0
  128. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/cm5_camera.pretty/Crystal_SMD_3225-4Pin_3.2x2.5mm.kicad_mod +0 -0
  129. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/cm5_camera.pretty/HDMI_Mini-C_Molex_47151-0001.kicad_mod +0 -0
  130. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/cm5_camera.pretty/LED_0603_1608Metric.kicad_mod +0 -0
  131. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/cm5_camera.pretty/L_Bourns_SRP5030CC.kicad_mod +0 -0
  132. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/cm5_camera.pretty/L_CommonModeChoke_Coilank_ACM1210.kicad_mod +0 -0
  133. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/cm5_camera.pretty/MOLEX_USB_67298-4090.kicad_mod +0 -0
  134. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/cm5_camera.pretty/Molex_200528-0150_1x15-1MP_P1.00mm_Horizontal.kicad_mod +0 -0
  135. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/cm5_camera.pretty/PinHeader_1x03_P2.54mm_Vertical.kicad_mod +0 -0
  136. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/cm5_camera.pretty/PinHeader_2x20_P2.54mm_Vertical.kicad_mod +0 -0
  137. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/cm5_camera.pretty/R_0402_1005Metric.kicad_mod +0 -0
  138. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/cm5_camera.pretty/R_0603_1608Metric.kicad_mod +0 -0
  139. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/cm5_camera.pretty/Raspberry-Pi-4-Compute-Module.kicad_mod +0 -0
  140. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/cm5_camera.pretty/SDCARD_MOLEX_503398-1892.kicad_mod +0 -0
  141. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/cm5_camera.pretty/SOT-23-5.kicad_mod +0 -0
  142. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/cm5_camera.pretty/SW_SPST_PTS645Sx43SMTR92.kicad_mod +0 -0
  143. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/cm5_camera.pretty/TSOT-23-6.kicad_mod +0 -0
  144. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/cm5_camera.pretty/Texas_DRT-3.kicad_mod +0 -0
  145. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/cm5_camera.pretty/UQFN-10_1.4x1.8mm_P0.4mm.kicad_mod +0 -0
  146. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/cm5_camera.pretty/USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_Horizontal.kicad_mod +0 -0
  147. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/cm5_camera_bottom.png +0 -0
  148. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/fp-lib-table +0 -0
  149. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/cm5_camera/sym-lib-table +0 -0
  150. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/generate_3d_models.py +0 -0
  151. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/helper.py +0 -0
  152. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/examples/002_cm5_camera/main.py +0 -0
  153. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/plugins/copper-pilot/.claude-plugin/plugin.json +0 -0
  154. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/plugins/copper-pilot/.mcp.json +0 -0
  155. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/plugins/copper-pilot/agents/copper-pilot.md +0 -0
  156. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/plugins/copper-pilot/skills/copper-pilot-review/SKILL.md +0 -0
  157. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/skills/copper-pilot-review/SKILL.md +0 -0
  158. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/__init__.py +0 -0
  159. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/__main__.py +0 -0
  160. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/_upstream/__init__.py +0 -0
  161. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/_upstream/dcode_0_1_69/PROVENANCE.json +0 -0
  162. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/_upstream/dcode_0_1_69/__init__.py +0 -0
  163. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/_upstream/dcode_0_1_69/diff_utils.py +0 -0
  164. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/_version.py +0 -0
  165. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/clipboard.py +0 -0
  166. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/copper_auth.py +0 -0
  167. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/copper_background.py +0 -0
  168. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/copper_config.py +0 -0
  169. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/copper_features.py +0 -0
  170. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/copper_hooks.py +0 -0
  171. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/copper_status_events.py +0 -0
  172. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/copper_tools.py +0 -0
  173. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/copper_update.py +0 -0
  174. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/copper_workspace.py +0 -0
  175. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/diagnostics.py +0 -0
  176. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/media_utils.py +0 -0
  177. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/py.typed +0 -0
  178. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/sessions.py +0 -0
  179. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/textual_patches.py +0 -0
  180. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/validate/__init__.py +0 -0
  181. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/validate/builtins.py +0 -0
  182. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/validate/cli.py +0 -0
  183. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/validate/config.py +0 -0
  184. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/validate/default.yaml +0 -0
  185. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/validate/design.py +0 -0
  186. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/validate/kicad.py +0 -0
  187. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/validate/report.py +0 -0
  188. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/validate/reviewer.py +0 -0
  189. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/src/copper_pilot_cli/validate/runner.py +0 -0
  190. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/tests/test_auth.py +0 -0
  191. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/tests/test_clipboard.py +0 -0
  192. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/tests/test_cm5_camera_example.py +0 -0
  193. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/tests/test_e2e.py +0 -0
  194. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/tests/test_esp32_example.py +0 -0
  195. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/tests/test_features.py +0 -0
  196. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/tests/test_live_chat_e2e.py +0 -0
  197. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/tests/test_plugin_manifest.py +0 -0
  198. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/tests/test_preferences.py +0 -0
  199. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/tests/test_presentation.py +0 -0
  200. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/tests/test_status_events.py +0 -0
  201. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/tests/test_tools.py +0 -0
  202. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/tests/test_upstream_provenance.py +0 -0
  203. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/tests/test_validate.py +0 -0
  204. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/tests/test_validate_live.py +0 -0
  205. {copper_pilot_cli-0.1.10 → copper_pilot_cli-0.1.11}/tests/test_workspace.py +0 -0
@@ -5,6 +5,218 @@ Changelog
5
5
  (unreleased)
6
6
  ------------
7
7
 
8
+ Fix
9
+ ~~~
10
+ - Do not block turn cancellation on loading-widget removal. [Cursor,
11
+ Naveen_Copperpilot]
12
+
13
+ Textual defers widget pruning to its message loop. Awaiting that removal during a cancelled turn could leave the turn task pending on Windows, so the cancellation cleanup test timed out.
14
+ - Require Pillow 13 so the security audit passes. [Cursor,
15
+ Naveen_Copperpilot]
16
+
17
+ Pillow 12.3.0 is the newest release the old pin allowed, and pip-audit fails the CI job on four advisories fixed in 13.0.0.
18
+ - Tell the type checker these widgets are Static. [Cursor,
19
+ Naveen_Copperpilot]
20
+
21
+ query() is typed as a generic widget, so ty rejected update() on the working line, the mode icon, and the input rules. CI stopped there before the tests ran.
22
+ - Retry a reconnect the server refuses with HTTP 503. [AdityaNG, Claude
23
+ Fable 5.1]
24
+
25
+ Every "server rejected WebSocket connection: HTTP 503" failure seen from
26
+ T3 Code follows the same sequence: the hosted pod restarts mid-stream
27
+ (no close frame), the stitched resume reconnects 5 s later while the
28
+ backend is still coming back, and the load balancer answers the upgrade
29
+ with 503. websockets raises InvalidStatus for that, which classify_error
30
+ did not know, so the turn was typed "unknown", non-retryable, and the
31
+ remaining attempt was never used.
32
+
33
+ - classify InvalidStatus by HTTP status (5xx/429 retry; auth and other
34
+ 4xx fail fast) and InvalidHandshake without a status as a connection
35
+ drop
36
+ - include InvalidHandshake in the transport's pre-first-event retry
37
+ - stretch the turn budget to four attempts (5/10/20/30 s) so it outlasts
38
+ a typical pod restart
39
+ - regression tests for the drop-then-503 sequence and the transport retry
40
+
41
+ Other
42
+ ~~~~~
43
+ - Merge pull request #31 from naveen-
44
+ forkd/feat/cli_chat_chrome_2026_10_24. [Aditya]
45
+
46
+ Redraw the CLI chat screen, add themes, and make typing faster
47
+ - Test: wait until a tool is active before cancelling. [Cursor,
48
+ Naveen_Copperpilot]
49
+ - Test: wait for the loading widget to leave after cancel. [Cursor,
50
+ Naveen_Copperpilot]
51
+
52
+ Textual drops the widget on a later prune tick, so an immediate check still sees it on Windows.
53
+ - Test: run the suite in a UTF-8 locale. [Cursor, Naveen_Copperpilot]
54
+
55
+ Windows CI has no UTF-8 locale, so the app drew the ASCII fallback and the Unicode snapshots failed. The suite now sets a UTF-8 locale, and a test still checks that a C locale or COPPERPILOT_ASCII selects the fallback.
56
+ - Test: cover theme switching and the input hot path.
57
+ [Naveen_Copperpilot]
58
+
59
+ Check the presets, /theme persistence, idle typing, the pruned file index, and streamed Markdown that keeps closed blocks.
60
+ - Perf: keep typing, file completion, and streaming off the hot path.
61
+ [Naveen_Copperpilot]
62
+
63
+ Skip completion repaints when the matches did not change, and apply a pending @ filter before tab or enter. Build the file list in the background, skip ignored folders, and refresh it when it is stale. Append assistant Markdown only while a block is still open, so a finished paragraph or code fence is not replaced.
64
+ - Perf: import deepagents the first time a tool runs.
65
+ [Naveen_Copperpilot]
66
+
67
+ Opening the UI was paying for the tool stack at import. Load it on the first tool call instead.
68
+ - Test: keep the saved theme out of the suite. [Naveen_Copperpilot]
69
+
70
+ Point each test at a temporary CLI home and reset the shared palette. Live tests keep the real home so they can still load the device credential.
71
+ - Feat: let /theme switch presets and remember the choice.
72
+ [Naveen_Copperpilot]
73
+
74
+ /theme opens a picker or takes a name, writes it to config.json, and repaints the chrome that bakes colours into text.
75
+ - Feat: make near-black the default and add theme presets.
76
+ [Naveen_Copperpilot]
77
+
78
+ The warm stone background is now one preset. Black is the default, with warm, light, and high-contrast beside it. Snapshot colours read the active tokens, and the locale encoding is cached so glyph checks do not call locale.getencoding on every paint.
79
+ - Feat: redraw the prompt and bind shift+tab and ctrl+e.
80
+ [Naveen_Copperpilot]
81
+
82
+ Rules replace the rounded box, and one tip sits above them until the first message. shift+tab and ctrl+e were taken by focus movement and end-of-line, so those bindings now take priority and cycle mode and effort while the prompt is focused.
83
+ - Feat: replace the boxed header with a flat welcome and one status
84
+ line. [Naveen_Copperpilot]
85
+
86
+ Drop version, full path, and model from the header. Show the wordmark, repo, and quick start, and put mode and effort on the line under the prompt.
87
+ - Feat: add the plain-text layout for the chat chrome.
88
+ [Naveen_Copperpilot]
89
+
90
+ Welcome, status, slash rows, the working line, and tips are content the widgets render. Only commands, modes, and keys the CLI already has are included.
91
+ - Feat: draw the CopperPilot cube as a Braille mark.
92
+ [Naveen_Copperpilot]
93
+
94
+ Six rows of thirteen cells, one orange. The welcome omits it when the terminal is narrow, uncolored, or ASCII.
95
+ - Feat: switch the CLI theme to the warm orange palette.
96
+ [Naveen_Copperpilot]
97
+
98
+ One orange and warm neutrals, with the same layout in truecolor, 256-color, and NO_COLOR. Status green and red stay limited to tool results.
99
+ - Merge pull request #27 from
100
+ CopperPilot/feat/disable_model_selector_19_oct_2026. [Aditya]
101
+
102
+ feat: hide Intelligence model selection behind ENABLE_MODEL_SELECTOR (off)
103
+ - Feat: hide Intelligence model selection behind ENABLE_MODEL_SELECTOR
104
+ (off) [AdityaNG, Claude Opus 5.5]
105
+
106
+ Add ENABLE_MODEL_SELECTOR to copper_models, set to False. While it is off
107
+ no surface names a model or offers a choice, and every Intelligence turn
108
+ asks for the default model (Gemini 4 Argon), including threads saved with
109
+ another model. Balanced still sends no model. No server change.
110
+
111
+ - TUI: no /model command or completion, /context and /help omit the model.
112
+ - Headless: --model is not registered.
113
+ - MCP: no models tool, the model argument is dropped from the ask/plan/
114
+ run/resume schemas, and results omit model/answered_model.
115
+ - ACP: only mode and effort config options, no /model command, a model
116
+ config change is rejected, and effort copy names no model.
117
+ - Fallback notices use a generic "switched to a backup model" message.
118
+
119
+ Flipping the constant to True restores the previous behaviour; the
120
+ existing model-selection tests run with it on via a fixture.
121
+ - Merge pull request #28 from
122
+ CopperPilot/feat/agent_latency_cli_19_oct_2026. [Aditya]
123
+
124
+ Run tool_requests batches concurrently (parallel_tool_requests capability)
125
+ - Keep batched tool calls on one assistant message; test ACP overlap.
126
+ [AdityaNG, Claude Opus 5.5]
127
+
128
+ The transcript records a batch's calls on a single AIMessage so every
129
+ call is followed by its result whatever the completion order. ACP already
130
+ keys tool_call / tool_call_update by id; a test now covers three
131
+ overlapping calls completing out of order.
132
+ - Execute tool_requests batches concurrently over the chat socket.
133
+ [AdityaNG, Claude Opus 5.5]
134
+
135
+ chat_start advertises the parallel_tool_requests capability (disable with
136
+ COPPER_PILOT_PARALLEL_TOOLS=0). A batch frame yields one TOOL_REQUEST per
137
+ call, runs them with the scheduler and sends each tool_result, matched by
138
+ tool_call_id, as soon as it completes. Single tool_request frames are
139
+ unchanged. The hosted attempt is now closed deterministically so a
140
+ consumer that stops listening cancels running batch members, and the
141
+ local broker serializes approval and question prompts.
142
+ - Add a scheduler for parallel tool-request batches. [AdityaNG, Claude
143
+ Opus 5.5]
144
+
145
+ Classifies each hosted tool request as READ, MUTATING (keyed by path) or
146
+ EXCLUSIVE and runs a batch with model-order dependencies: reads overlap
147
+ (capped at 8), same-path mutations run in order, shell commands that are
148
+ not provably read-only run alone. Failures are reported per tool and
149
+ closing the batch cancels unfinished members.
150
+ - Merge pull request #26 from CopperPilot/feat/acp-usage-limit-reset.
151
+ [Aditya]
152
+
153
+ feat(acp): explain usage limits with their reset time
154
+ - Merge remote-tracking branch 'origin/main' into feat/acp-usage-limit-
155
+ reset. [AdityaNG]
156
+
157
+ # Conflicts:
158
+ # docs/cli.md
159
+ # src/copper_pilot_cli/copper_acp.py
160
+ # tests/test_acp.py
161
+ - Merge pull request #25 from CopperPilot/t3/intelligence-mode-model-
162
+ selection. [Aditya]
163
+
164
+ feat: Intelligence model selection across TUI, CLI, MCP, and ACP
165
+ - Feat: default Intelligence to Gemini 4 Argon, Gemini models first.
166
+ [AdityaNG, Claude Fable 5.1]
167
+
168
+ Mirror copper-pilot-client #98: the bundled catalog now lists the Gemini
169
+ models first and defaults Intelligence to gemini-4-argon. The server's
170
+ catalog order and default still win whenever it is reachable.
171
+ - Feat: Intelligence model selection across TUI, CLI, MCP, and ACP.
172
+ [AdityaNG, Claude Fable 5.1]
173
+
174
+ Mirror the desktop client's Intelligence model picker (copper-pilot#97):
175
+ Balanced always runs on the server's Balanced model; Intelligence turns
176
+ may pick one model from the hosted catalog (Claude Opus 5.5 default).
177
+
178
+ - copper_models: catalog fetched once per process from
179
+ GET /api/copperpilot/chat/models with the bundled list as fallback,
180
+ plus model_fallback status-event helpers.
181
+ - ChatRequest.model is sent only on Intelligence turns; the thread
182
+ checkpoint persists copper_model next to copper_effort.
183
+ - CLI --model (implies --effort intelligence), TUI /model and /context,
184
+ and model_fallback notices in the transcript and headless output.
185
+ - MCP: model argument on ask/plan/run/resume, a models tool, and
186
+ model/answered_model in results and the digest.
187
+ - ACP: a model config option (category model) next to effort
188
+ (thought_level); choosing a model selects Intelligence, Balanced pins
189
+ the option to the Balanced model, /model slash command, and fallback
190
+ notices as agent messages.
191
+ - Test(acp): accept a usage reset that falls after midnight. [AdityaNG,
192
+ Claude Opus 5.5]
193
+ - Feat(acp): explain usage limits with their reset time. [AdityaNG,
194
+ Claude Opus 5.5]
195
+
196
+ A turn refused by the usage window or weekly limit reached ACP clients as a
197
+ generic -32603 error whose text carried a raw UTC timestamp, or for a refused
198
+ handshake only "HTTP 402".
199
+
200
+ - Keep the reset time from the hosted error frame's detail
201
+ (window_ends_at / week_ends_at) on ProtocolError and the error event.
202
+ - ACP fails such a turn with code -32003 and a message naming the spent
203
+ limit and its local reset time ("It resets at 3:20 AM (in 2h 23m).");
204
+ data carries class=usage_limit, blockReason and resetAt. Without a reset
205
+ time in the frame, the token-limits endpoint fills it in; a bare 402 the
206
+ account view does not confirm (the Intelligence plan gate) is unchanged.
207
+ - The graph keeps a refused handshake's HTTP status on its error event.
208
+ - ACP drops the terminal "Attempt N failed" thought that repeated the error.
209
+ - New ACP /usage command shows the window, weekly balance and reset times.
210
+ - The TUI renders usage blocks with the same local reset time.
211
+ - Merge pull request #24 from CopperPilot/fix/retry-refused-handshake.
212
+ [Aditya]
213
+
214
+ fix: retry a reconnect the server refuses with HTTP 503
215
+
216
+
217
+ 0.1.10 (2026-10-18)
218
+ -------------------
219
+
8
220
  Fix
9
221
  ~~~
10
222
  - Skip the killed-background resume test on Windows. [AdityaNG, Cursor]
@@ -17,6 +229,7 @@ Fix
17
229
 
18
230
  Other
19
231
  ~~~~~
232
+ - Release: version 0.1.10 🚀 [AdityaNG]
20
233
  - Merge pull request #23 from CopperPilot/feat/acp-image-prompts.
21
234
  [Aditya]
22
235
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: copper-pilot-cli
3
- Version: 0.1.10
3
+ Version: 0.1.11
4
4
  Summary: CopperPilot hosted agent for the terminal and LangChain
5
5
  Project-URL: Homepage, https://copperpilot.ai
6
6
  Project-URL: Repository, https://github.com/CopperPilot/copper-pilot-cli
@@ -29,7 +29,7 @@ Requires-Dist: langgraph<2,>=1.2
29
29
  Requires-Dist: markdownify<2,>=1.2
30
30
  Requires-Dist: mcp<2,>=1.21
31
31
  Requires-Dist: packaging<27,>=25
32
- Requires-Dist: pillow<13,>=12
32
+ Requires-Dist: pillow<14,>=13
33
33
  Requires-Dist: pydantic<3,>=2.12
34
34
  Requires-Dist: pyperclip<2,>=1.11
35
35
  Requires-Dist: pyyaml<7,>=6
@@ -118,7 +118,9 @@ Both `copper-pilot` and `copper-pilot-cli` run the same program.
118
118
  command reference.
119
119
 
120
120
  Balanced effort is the default. Paid-plan users can select Intelligence with
121
- `--effort intelligence` or interactive `/effort`. Intelligence uses
121
+ `--effort intelligence` or interactive `/effort`; Intelligence runs on Gemini 4
122
+ Argon. Picking another model (`--model <id>`, `/model`) is turned off for now
123
+ (`ENABLE_MODEL_SELECTOR` in `copper_models.py`). Intelligence uses
122
124
  server-owned survey subagents and shows their lifecycle through the existing
123
125
  Deep Agents task rows; Intelligence Plan turns survey before writing a plan.
124
126
 
@@ -183,6 +185,7 @@ PLAN = CopperMode.PLAN
183
185
  copper_pilot = CopperPilotAgent(
184
186
  workspace="esp32",
185
187
  effort=CopperEffort.INTELLIGENCE,
188
+ model="claude-opus-5-5", # optional; Intelligence defaults to Gemini 4 Argon
186
189
  )
187
190
 
188
191
  run(copper_pilot, "Build me an ESP32 dev board.", PLAN)
@@ -64,7 +64,9 @@ Both `copper-pilot` and `copper-pilot-cli` run the same program.
64
64
  command reference.
65
65
 
66
66
  Balanced effort is the default. Paid-plan users can select Intelligence with
67
- `--effort intelligence` or interactive `/effort`. Intelligence uses
67
+ `--effort intelligence` or interactive `/effort`; Intelligence runs on Gemini 4
68
+ Argon. Picking another model (`--model <id>`, `/model`) is turned off for now
69
+ (`ENABLE_MODEL_SELECTOR` in `copper_models.py`). Intelligence uses
68
70
  server-owned survey subagents and shows their lifecycle through the existing
69
71
  Deep Agents task rows; Intelligence Plan turns survey before writing a plan.
70
72
 
@@ -129,6 +131,7 @@ PLAN = CopperMode.PLAN
129
131
  copper_pilot = CopperPilotAgent(
130
132
  workspace="esp32",
131
133
  effort=CopperEffort.INTELLIGENCE,
134
+ model="claude-opus-5-5", # optional; Intelligence defaults to Gemini 4 Argon
132
135
  )
133
136
 
134
137
  run(copper_pilot, "Build me an ESP32 dev board.", PLAN)
@@ -0,0 +1 @@
1
+ 0.1.11
@@ -33,6 +33,7 @@ valid.
33
33
  | `--json` | Emit JSON events (or a final JSON document with `--no-stream`). |
34
34
  | `--mode {agent,plan,ask}` | Hosted chat mode. Default: `agent`. |
35
35
  | `--effort {balanced,intelligence}` | Hosted effort. Default: `balanced`; Intelligence requires a paid plan. |
36
+ | `--model MODEL` | Intelligence model id (see below). Implies `--effort intelligence`; rejected with `--effort balanced`. |
36
37
  | `-y`, `--auto-approve` | Auto approval: routine writes and known-safe shell still run; unknown actions prompt. |
37
38
  | `--yolo` | Permit local side effects without prompting. Must be set explicitly. |
38
39
  | `--version` | Print the package version. |
@@ -45,6 +46,7 @@ copper-pilot --resume
45
46
  copper-pilot -n -m "Review this board" --json
46
47
  copper-pilot ./my-board --mode plan -m "Propose a power tree"
47
48
  copper-pilot ./my-board --mode plan --effort intelligence -m "Survey and plan the power tree"
49
+ copper-pilot ./my-board --model gpt-6.1-sol -m "Review the USB-C front end"
48
50
  ```
49
51
 
50
52
  Headless mode is also used when `--message` is set and stdout is not a TTY.
@@ -97,15 +99,18 @@ write to stdout; the protocol owns it.
97
99
  | Tool | Role |
98
100
  |------|------|
99
101
  | `status` | Login state and discovered schematic/PCB paths. No hosted call. |
100
- | `ask` | `--mode ask`. Auto approval. Optional `thread_id` and `effort`. |
101
- | `plan` | `--mode plan`. Auto approval. Optional `effort`. |
102
- | `run` | `--mode agent`. Optional `effort`; `approval` is `auto` (default) or `yolo`. |
103
- | `resume` | Continue `thread_id`. Optional `mode`, `effort`, and the same approval as `run`. |
102
+ | `models` | Intelligence model ids, labels, prices, and the Balanced model. No hosted turn. |
103
+ | `ask` | `--mode ask`. Auto approval. Optional `thread_id`, `effort`, `model`. |
104
+ | `plan` | `--mode plan`. Auto approval. Optional `effort`, `model`. |
105
+ | `run` | `--mode agent`. Optional `effort`, `model`; `approval` is `auto` (default) or `yolo`. |
106
+ | `resume` | Continue `thread_id`. Optional `mode`, `effort`, `model`, and the same approval as `run`. |
104
107
  | `threads_list` | List threads for this workspace (`limit`, `all_workspaces`). |
105
108
  | `validate` | Read-only stage-gated review; returns `verdict`, `exit_code`, `report_path`, `next_actions`. |
106
109
 
107
110
  Workspace is the tool argument, else `CLAUDE_PROJECT_DIR`, else the process
108
- current directory. Manual approval is TUI-only. See [harness.md](harness.md).
111
+ current directory. Manual approval is TUI-only. Passing `model` selects
112
+ Intelligence on that model; the result carries `model` (requested) and
113
+ `answered_model` (after any server fallback). See [harness.md](harness.md).
109
114
 
110
115
  ## ACP
111
116
 
@@ -125,14 +130,15 @@ advertises a terminal auth method that runs `copper-pilot auth login`.
125
130
  | ACP feature | CopperPilot behavior |
126
131
  |-------------|----------------------|
127
132
  | Session modes | `ask`, `plan`, `agent` (default `agent`) |
128
- | Config options | `mode` and `effort` (`balanced` default, `intelligence` paid) |
133
+ | Config options | `mode`, `effort` (`balanced` default, `intelligence` paid), and `model` (category `model`; the Intelligence catalog) |
129
134
  | `session/load` | Resumes an existing thread id and replays its history |
130
135
  | `session/request_permission` | Auto approval; non-routine writes and shell prompt the editor |
131
136
  | `elicitation/create` | Clarifying questions (options or free text) when the client advertises form elicitation |
132
137
  | `session/cancel` | Cancels the hosted turn and local tools |
133
138
  | `usage_update` | Prompt tokens of the latest hosted turn; window size is unknown (0) |
134
139
  | `plan` | Hosted todo list events and `.copperpilot/plans/*.plan.md` todos |
135
- | `available_commands_update` | `/effort balanced\|intelligence`, answered locally |
140
+ | `available_commands_update` | `/effort balanced\|intelligence`, `/model [id]`, and `/usage`, answered locally |
141
+ | Prompt error `-32003` | A usage limit refused the turn; see below |
136
142
 
137
143
  "Allow all for this session" switches that session to YOLO until the server
138
144
  exits; it is never saved. Clarifying questions use ACP form elicitation when
@@ -146,7 +152,29 @@ Intelligence survey workers appear as `think` tool calls named
146
152
  `Survey: <task>` whose status and output track the worker.
147
153
  See [harness.md](harness.md).
148
154
 
149
- ## Effort and Intelligence
155
+ A turn refused by a usage limit fails with JSON-RPC error `-32003` (the code
156
+ xAI's Grok ACP agent uses for the same condition). The message names the
157
+ spent limit and when it lifts in local time, for example `CopperPilot usage
158
+ limit reached: the current usage window is used up. It resets at 3:20 AM (in
159
+ 2h 23m).` `data` repeats it for clients that render a usage-limit notice:
160
+
161
+ ```json
162
+ {
163
+ "details": "CopperPilot usage limit reached: ...",
164
+ "class": "usage_limit",
165
+ "blockReason": "window",
166
+ "resetAt": "2026-10-19T21:50:00Z",
167
+ "canPurchaseOverage": false,
168
+ "retryable": false
169
+ }
170
+ ```
171
+
172
+ When the hosted error carries no reset time (a refused handshake), the server
173
+ reads it from the token-limits endpoint. A team cost cap, billing, or busy
174
+ block has no reset time and keeps the hosted wording. `/usage` prints the
175
+ current window, weekly balance, and reset times without a hosted turn.
176
+
177
+ ## Effort, Intelligence, and models
150
178
 
151
179
  Balanced is the default. Intelligence is available on paid plans and lets the
152
180
  hosted parent run one to four survey subagents. Intelligence Plan turns survey
@@ -154,10 +182,41 @@ before creating or revising a plan. Workers are server-owned, survey-only, and
154
182
  appear in the TUI through the existing Deep Agents task rows; they do not open
155
183
  nested chats or execute through the local tool broker.
156
184
 
157
- The interactive `/effort` command changes effort for the current thread.
158
- Resuming that thread restores it; a new thread starts Balanced. In headless
159
- text mode, worker state changes print as compact lines. `--json` retains raw
160
- `status_event` objects.
185
+ > **Model selection is currently off.** `ENABLE_MODEL_SELECTOR` in
186
+ > `src/copper_pilot_cli/copper_models.py` is `False`: every Intelligence turn
187
+ > runs on Gemini 4 Argon, no surface names a model, and `--model`, `/model`,
188
+ > the MCP `models` tool and `model` argument, and the ACP `model` config option
189
+ > are not offered. A fallback notice reads "Switched this chat to a backup
190
+ > model." The rest of this section describes the behaviour when it is `True`.
191
+
192
+ Balanced always runs on the server's Balanced model (Google Gemini 3.8 Flash);
193
+ there is no model choice on a free account. Intelligence runs on one model
194
+ from the catalog, Gemini 4 Argon by default (the server's catalog order and
195
+ default win when it is reachable):
196
+
197
+ | Id | Model |
198
+ |----|-------|
199
+ | `gemini-4-argon` | Google Gemini 4 Argon (Intelligence default) |
200
+ | `gemini-3.8-flash` | Google Gemini 3.8 Flash (Balanced model) |
201
+ | `claude-opus-5-5` | Claude Opus 5.5 |
202
+ | `claude-sonnet-5-5` | Claude Sonnet 5.5 |
203
+ | `gpt-6-astra` | OpenAI GPT-6 Astra |
204
+ | `gpt-6.1-sol` | OpenAI GPT-6.1 Sol |
205
+
206
+ The list is fetched from `GET /api/copperpilot/chat/models` once per process
207
+ and falls back to this bundled copy when the deployment does not publish it.
208
+ Choosing a model selects Intelligence, the same rule as the desktop picker;
209
+ `--effort balanced` together with `--model` is an error. The model is sent
210
+ only on Intelligence turns and the server resolves unknown ids to the default.
211
+
212
+ The interactive `/effort` and `/model [id]` commands change effort and model
213
+ for the current thread; `/context` shows the model the next turn will use.
214
+ Resuming a thread restores both; a new thread starts Balanced. When the
215
+ selected model is unavailable the server falls back to a Gemini model and
216
+ sends a `model_fallback` status event; the TUI posts its message in the
217
+ transcript, headless mode prints it in yellow, and `--json` retains the raw
218
+ `status_event`. In headless text mode, worker state changes print as compact
219
+ lines.
161
220
 
162
221
  Interactive clarification can offer suggested answers, custom text, or Skip
163
222
  and waits without a client timeout. Headless and MCP calls cannot present that
@@ -219,14 +278,16 @@ Every front-end (TUI, headless, MCP, ACP) runs a hosted turn through the same
219
278
  checkpointed graph node, which mirrors the desktop client's chat manager:
220
279
 
221
280
  - A stream that drops before the final frame (socket close, timeout, 5xx, 429)
222
- is retried up to three times with 5 s, 10 s, and 20 s backoff. The retry
281
+ or a reconnect that the server refuses at the websocket handshake (HTTP 503
282
+ while a backend restarts, 429, other 5xx) is retried up to four times with
283
+ 5 s, 10 s, 20 s, and 30 s backoff. The retry
223
284
  re-prompts the hosted agent with the partial transcript and
224
285
  `Resume where we left off: <original message>` so it continues rather than
225
286
  restarting. Deterministic failures (4xx other than 429, invalid or oversized
226
287
  requests, plan refusals, auth) fail immediately.
227
288
  - Retry progress is visible: the TUI status bar and a notification, a yellow
228
289
  line in headless text mode, MCP progress, and ACP agent thoughts
229
- (`Retrying (1/2) in 5s: …`). `--json` emits `copper.retry` events.
290
+ (`Retrying (1/3) in 5s: …`). `--json` emits `copper.retry` events.
230
291
  - The websocket close code and reason are carried into the error message
231
292
  (`close code 1011 received: …`) and the log file.
232
293
  - Whatever a failed turn produced before the error (assistant text, tool calls
@@ -266,15 +327,18 @@ as an object:
266
327
  "status": 402,
267
328
  "block_reason": "weekly",
268
329
  "can_purchase_overage": true,
269
- "retryable": false
330
+ "retryable": false,
331
+ "resets_at": "2026-10-21T02:56:47Z"
270
332
  }
271
333
  }
272
334
  ```
273
335
 
274
- `block_reason` is `window`, `weekly`, `cost_cap`, `busy`, or `billing` when
336
+ `resets_at` is present for a `window` or `weekly` block when the server sends
337
+ the reset time. `block_reason` is `window`, `weekly`, `cost_cap`, `busy`, or `billing` when
275
338
  the server sends one. A `busy` block and an ordinary rate limit use status
276
339
  `429` with `retryable: true`. `can_purchase_overage` only says whether the
277
- billing page can offer additional usage. The Textual UI prints `message`.
340
+ billing page can offer additional usage. The Textual UI prints `message`,
341
+ with a window or weekly reset time in local time (`It resets at 3:20 AM (in 2h 23m).`).
278
342
 
279
343
  ## Configuration
280
344
 
@@ -88,7 +88,9 @@ the object.
88
88
  `classify_error` in `copper_protocol.py` ports the desktop client's error
89
89
  categories (`timeout`, `connection`, `server`, `rate_limit`, `usage_limit`,
90
90
  `authentication`, `invalid_request`, `payload_too_large`, `protocol`,
91
- `network`, `aborted`, `unknown`) with a `retryable` flag. The graph node in
91
+ `network`, `aborted`, `unknown`) with a `retryable` flag, including websocket
92
+ handshakes the server refuses with an HTTP status (`InvalidStatus`: 5xx and
93
+ 429 retry, auth and other 4xx do not). The graph node in
92
94
  `copper_graph.py` owns the retry loop, the stitched "Resume where we left off"
93
95
  re-prompt, partial-progress checkpointing, and the background shell wait;
94
96
  `copper_background.py` owns the foreground-to-background shell contract.
@@ -34,6 +34,9 @@ next turn can pass `--resume THREAD_ID`.
34
34
  Use `--mode plan` for a plan, `--mode agent -y` for Auto local writes, and
35
35
  `--yolo` only when the user asked to skip local approval. Add
36
36
  `--effort intelligence` for a paid Intelligence turn; Balanced is the default.
37
+ `--model <id>` picks the Intelligence model (and implies Intelligence) while
38
+ model selection is on; it is currently off, see
39
+ [cli.md](cli.md#effort-intelligence-and-models).
37
40
 
38
41
  For sign-off, run `copper-pilot validate --json`, read
39
42
  `.copperpilot/validate/latest/next_actions.json`, fix with `--mode agent -y`
@@ -87,10 +90,11 @@ Point the host at `copper-pilot mcp` on stdio. Tools:
87
90
  | Tool | Role |
88
91
  |------|------|
89
92
  | `status` | Login state and discovered schematic/PCB paths |
90
- | `ask` | Read-oriented specialist (`--mode ask`); optional `effort` |
91
- | `plan` | Plan without applying (`--mode plan`); optional `effort` |
92
- | `run` | Mutating agent turn (`--mode agent`); optional `effort` |
93
- | `resume` | Continue `thread_id` (`mode` defaults to `agent`; optional `effort`) |
93
+ | `models` | Intelligence model catalog for the `model` argument; no hosted turn |
94
+ | `ask` | Read-oriented specialist (`--mode ask`); optional `effort`, `model` |
95
+ | `plan` | Plan without applying (`--mode plan`); optional `effort`, `model` |
96
+ | `run` | Mutating agent turn (`--mode agent`); optional `effort`, `model` |
97
+ | `resume` | Continue `thread_id` (`mode` defaults to `agent`; optional `effort`, `model`) |
94
98
  | `threads_list` | List threads for this workspace |
95
99
  | `validate` | Read-only stage-gated review graph (`copper-pilot validate`); returns `next_actions` |
96
100
 
@@ -124,9 +128,10 @@ Add an external agent to Zed `settings.json`:
124
128
 
125
129
  Open the agent panel, pick CopperPilot, and chat. The project root is the
126
130
  workspace. The mode picker switches `ask`, `plan`, and `agent`; the `effort`
127
- option selects Balanced or Intelligence. If no credential is stored the server
128
- answers `auth_required` and offers a terminal login method that runs
129
- `copper-pilot auth login`.
131
+ option selects Balanced or Intelligence, and the `model` option (ACP category
132
+ `model`, so T3 Code shows it in its own model picker) selects the Intelligence
133
+ model. If no credential is stored the server answers `auth_required` and
134
+ offers a terminal login method that runs `copper-pilot auth login`.
130
135
 
131
136
  ### Other ACP clients
132
137
 
@@ -166,10 +171,43 @@ Further session updates:
166
171
  - Intelligence survey workers are `think` tool calls titled `Survey: <task>`
167
172
  with `in_progress`, `completed`, or `failed` status and the worker's output
168
173
  or error as content, mirroring the Electron client's subagent card.
169
- - `available_commands_update` once per session advertising `/effort`. A prompt
170
- of `/effort balanced` or `/effort intelligence` is answered locally with a
171
- `config_option_update` and a confirmation; `/effort` alone reports the
172
- current value.
174
+ - `available_commands_update` once per session advertising `/effort` and
175
+ `/model`. A prompt of `/effort balanced`, `/effort intelligence`, or
176
+ `/model <id>` is answered locally with a `config_option_update` and a
177
+ confirmation; `/effort` or `/model` alone reports the current value (and
178
+ `/model` lists the ids).
179
+ - `model_fallback` status events (the selected model failed before any
180
+ output and the server switched to a Gemini model) are relayed as an agent
181
+ message carrying the server's copy, because ACP has no system-message type.
182
+
183
+ ### Effort and model as ACP config options
184
+
185
+ > Model selection is currently off (`ENABLE_MODEL_SELECTOR = False`): only the
186
+ > `mode` and `effort` options and the `/effort` and `/usage` commands are
187
+ > offered, a `model` config change is rejected as an unknown option, and
188
+ > Intelligence runs on Gemini 4 Argon. The rest of this section, the `/model`
189
+ > command above, and the MCP `models` tool apply when it is on.
190
+
191
+ `session/new` and `session/load` return three select options: `mode`
192
+ (category `mode`), `effort` (category `thought_level`), and `model` (category
193
+ `model`). The `model` option lists the Intelligence catalog (fetched from the
194
+ server once per process, else bundled) and its current value is always the
195
+ model the next turn will run on: the Balanced model (Gemini 3.8 Flash) while
196
+ effort is Balanced, otherwise the selected Intelligence model (Gemini 4 Argon
197
+ until changed). The two options stay consistent on every
198
+ `session/set_config_option`:
199
+
200
+ | Change | Result |
201
+ |--------|--------|
202
+ | `model` = any Intelligence model while Balanced | Effort becomes Intelligence (paid plan); the response carries both values |
203
+ | `model` = the Balanced model while Balanced | Stays Balanced; nothing paid is requested |
204
+ | `effort` = `balanced` | The model option shows the Balanced model; the Intelligence choice is remembered |
205
+ | `effort` = `intelligence` | The remembered model (default Gemini 4 Argon) is shown again |
206
+ | unknown model id | `invalid_params` listing the known ids |
207
+
208
+ Free accounts get the server's 402 "Upgrade to a paid plan to use
209
+ Intelligence." as the turn error, exactly as with `/effort intelligence`. Both
210
+ values persist in the thread checkpoint, so `session/load` restores them.
173
211
 
174
212
  ## Approval
175
213
 
@@ -199,7 +237,12 @@ result takes longer than two minutes.
199
237
 
200
238
  `effort` is `balanced` (default) or `intelligence`. Intelligence requires a
201
239
  paid plan. It may run server-owned survey subagents; Plan turns survey before
202
- the parent writes a plan. Progress reports compact worker transitions and the
240
+ the parent writes a plan. `model` is an Intelligence model id from the
241
+ `models` tool; passing one selects Intelligence on that model, and `resume`
242
+ without `effort` or `model` keeps what the thread last used. Results include
243
+ `model` (the model requested) and `answered_model` (the model that answered
244
+ after any server fallback, also reported through progress and the digest).
245
+ Progress reports compact worker transitions and the
203
246
  result digest omits full worker output. If the hosted agent asks a clarification,
204
247
  MCP returns a clear rejection because it cannot present the interactive options
205
248
  and Skip UI; continue the returned `thread_id` in the terminal TUI to answer.
@@ -31,7 +31,7 @@ dependencies = [
31
31
  "markdownify>=1.2,<2",
32
32
  "mcp>=1.21,<2",
33
33
  "packaging>=25,<27",
34
- "pillow>=12,<13",
34
+ "pillow>=13,<14",
35
35
  "pydantic>=2.12,<3",
36
36
  "pyperclip>=1.11,<2",
37
37
  "pyyaml>=6,<7",