lcode-cli 0.53.0__tar.gz → 0.55.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (228) hide show
  1. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/CHANGELOG.md +37 -1
  2. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/PKG-INFO +2 -1
  3. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/README.md +1 -0
  4. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/docs/bench.md +3 -0
  5. lcode_cli-0.55.0/docs/public-benchmarks.md +131 -0
  6. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/docs/quickstart.md +1 -1
  7. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/docs/traces.md +3 -1
  8. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/docs/usage.md +1 -0
  9. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/mkdocs.yml +1 -0
  10. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/__init__.py +1 -1
  11. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/cli.py +19 -0
  12. lcode_cli-0.55.0/src/lcode/harbor.py +76 -0
  13. lcode_cli-0.55.0/src/lcode/harbor_bench.py +455 -0
  14. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/traces.py +45 -3
  15. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/update.py +42 -1
  16. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/conftest.py +2 -0
  17. lcode_cli-0.55.0/tests/test_harbor_bench.py +240 -0
  18. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_media_catalog.py +9 -0
  19. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_traces.py +41 -0
  20. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_update.py +48 -0
  21. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/.editorconfig +0 -0
  22. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/.github/CODEOWNERS +0 -0
  23. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
  24. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  25. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
  26. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/.github/ISSUE_TEMPLATE/model_request.yml +0 -0
  27. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  28. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/.github/dependabot.yml +0 -0
  29. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/.github/workflows/ci.yml +0 -0
  30. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/.github/workflows/docs.yml +0 -0
  31. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/.github/workflows/release.yml +0 -0
  32. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/.gitignore +0 -0
  33. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/.pre-commit-config.yaml +0 -0
  34. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/AGENTS.md +0 -0
  35. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/CODE_OF_CONDUCT.md +0 -0
  36. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/CONTRIBUTING.md +0 -0
  37. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/LICENSE +0 -0
  38. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/SECURITY.md +0 -0
  39. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/action.yml +0 -0
  40. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/docs/agents.md +0 -0
  41. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/docs/assets/demo.svg +0 -0
  42. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/docs/assets/extra.css +0 -0
  43. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/docs/assets/film-fox-and-kitten.jpg +0 -0
  44. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/docs/assets/long-clip-tulip.jpg +0 -0
  45. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/docs/automation.md +0 -0
  46. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/docs/changelog.md +0 -0
  47. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/docs/commands.md +0 -0
  48. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/docs/configuration.md +0 -0
  49. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/docs/contributing.md +0 -0
  50. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/docs/editors.md +0 -0
  51. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/docs/git.md +0 -0
  52. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/docs/hooks.md +0 -0
  53. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/docs/how-it-works.md +0 -0
  54. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/docs/index.md +0 -0
  55. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/docs/installation.md +0 -0
  56. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/docs/lsp.md +0 -0
  57. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/docs/mcp.md +0 -0
  58. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/docs/memory.md +0 -0
  59. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/docs/models.md +0 -0
  60. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/docs/modes.md +0 -0
  61. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/docs/sandbox.md +0 -0
  62. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/docs/search.md +0 -0
  63. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/docs/servers.md +0 -0
  64. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/docs/troubleshooting.md +0 -0
  65. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/examples/README.md +0 -0
  66. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/examples/api/fix_tests.py +0 -0
  67. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/examples/commands/review.md +0 -0
  68. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/examples/skills/commit-message/SKILL.md +0 -0
  69. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/examples/skills/commit-message/scripts/staged.sh +0 -0
  70. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/install.sh +0 -0
  71. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/overrides/main.html +0 -0
  72. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/pyproject.toml +0 -0
  73. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/scripts/make_logos.py +0 -0
  74. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/scripts/record_demo.py +0 -0
  75. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/scripts/social-preview.html +0 -0
  76. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/__main__.py +0 -0
  77. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/acp.py +0 -0
  78. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/action.py +0 -0
  79. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/agent.py +0 -0
  80. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/api.py +0 -0
  81. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/assistant.py +0 -0
  82. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/backends.py +0 -0
  83. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/bench.py +0 -0
  84. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/bench_backend.py +0 -0
  85. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/bench_runtime.py +0 -0
  86. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/catalog.py +0 -0
  87. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/checkpoints.py +0 -0
  88. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/checks.py +0 -0
  89. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/clipboard.py +0 -0
  90. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/cloud.py +0 -0
  91. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/codesearch.py +0 -0
  92. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/comfy.py +0 -0
  93. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/config.py +0 -0
  94. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/context.py +0 -0
  95. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/edits.py +0 -0
  96. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/escalate.py +0 -0
  97. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/extensions.py +0 -0
  98. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/film.py +0 -0
  99. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/frontmatter.py +0 -0
  100. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/gitflow.py +0 -0
  101. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/hardware.py +0 -0
  102. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/hooks.py +0 -0
  103. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/imageopts.py +0 -0
  104. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/jobs.py +0 -0
  105. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/limits.py +0 -0
  106. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/lsp.py +0 -0
  107. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/manual.py +0 -0
  108. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/matching.py +0 -0
  109. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/mcp/__init__.py +0 -0
  110. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/mcp/auth.py +0 -0
  111. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/mcp/catalog.py +0 -0
  112. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/mcp/catalog.toml +0 -0
  113. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/mcp/client.py +0 -0
  114. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/mcp/commands.py +0 -0
  115. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/mcp/config.py +0 -0
  116. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/mcp/http.py +0 -0
  117. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/mcp/manager.py +0 -0
  118. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/mcp/protocol.py +0 -0
  119. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/mcp/server.py +0 -0
  120. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/mcp/stdio.py +0 -0
  121. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/media.py +0 -0
  122. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/media.toml +0 -0
  123. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/media_catalog.py +0 -0
  124. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/media_cloud.py +0 -0
  125. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/memory.py +0 -0
  126. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/models.toml +0 -0
  127. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/modes.py +0 -0
  128. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/notify.py +0 -0
  129. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/ollama.py +0 -0
  130. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/permissions.py +0 -0
  131. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/planning.py +0 -0
  132. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/preview.py +0 -0
  133. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/render.py +0 -0
  134. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/repeats.py +0 -0
  135. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/repl.py +0 -0
  136. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/replay.py +0 -0
  137. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/repoid.py +0 -0
  138. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/repomap.py +0 -0
  139. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/residency.py +0 -0
  140. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/review.py +0 -0
  141. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/sandbox.py +0 -0
  142. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/screenshots.py +0 -0
  143. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/secretscan.py +0 -0
  144. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/servers/__init__.py +0 -0
  145. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/servers/encord.py +0 -0
  146. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/servers/valohai.py +0 -0
  147. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/servers/xai.py +0 -0
  148. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/sessions.py +0 -0
  149. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/steer.py +0 -0
  150. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/subagents.py +0 -0
  151. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/tools.py +0 -0
  152. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/unreachable.py +0 -0
  153. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/vision.py +0 -0
  154. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/web.py +0 -0
  155. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/workflows/__init__.py +0 -0
  156. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/workflows/flux2-klein-4b-t2i.json +0 -0
  157. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/workflows/remove-background.json +0 -0
  158. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/workflows/smooth-film.json +0 -0
  159. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/workflows/sound-stable-audio.json +0 -0
  160. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/workflows/upscale-esrgan.json +0 -0
  161. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/workflows/upscale-video-esrgan.json +0 -0
  162. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/workflows/wan21-fun-camera.json +0 -0
  163. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/workflows/wan21-vace.json +0 -0
  164. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/workflows/wan22-fun-inp-5b.json +0 -0
  165. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/workflows/wan22-ti2v-5b.json +0 -0
  166. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/src/lcode/workflows/z-image-turbo-t2i.json +0 -0
  167. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/comfy_standin.py +0 -0
  168. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/fake_lsp_server.py +0 -0
  169. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/fake_mcp_server.py +0 -0
  170. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_acp.py +0 -0
  171. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_action.py +0 -0
  172. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_agent.py +0 -0
  173. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_api.py +0 -0
  174. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_assistant.py +0 -0
  175. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_backends.py +0 -0
  176. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_bench.py +0 -0
  177. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_catalog.py +0 -0
  178. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_checkpoints.py +0 -0
  179. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_checks.py +0 -0
  180. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_cli.py +0 -0
  181. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_clipboard.py +0 -0
  182. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_cloud.py +0 -0
  183. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_codesearch.py +0 -0
  184. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_comfy.py +0 -0
  185. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_config.py +0 -0
  186. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_context.py +0 -0
  187. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_context_picker.py +0 -0
  188. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_conversations.py +0 -0
  189. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_escalate.py +0 -0
  190. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_extensions.py +0 -0
  191. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_film.py +0 -0
  192. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_gitflow.py +0 -0
  193. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_gpu_handover.py +0 -0
  194. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_hooks.py +0 -0
  195. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_image_edit.py +0 -0
  196. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_image_generate.py +0 -0
  197. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_jobs.py +0 -0
  198. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_long_clips.py +0 -0
  199. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_look.py +0 -0
  200. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_lsp.py +0 -0
  201. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_manual.py +0 -0
  202. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_matching.py +0 -0
  203. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_mcp.py +0 -0
  204. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_media_cloud.py +0 -0
  205. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_memory.py +0 -0
  206. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_model_picker.py +0 -0
  207. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_modes.py +0 -0
  208. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_permissions.py +0 -0
  209. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_plan_mode.py +0 -0
  210. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_repeats.py +0 -0
  211. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_repomap.py +0 -0
  212. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_residency.py +0 -0
  213. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_review.py +0 -0
  214. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_robustness.py +0 -0
  215. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_sandbox.py +0 -0
  216. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_screenshots.py +0 -0
  217. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_secretscan.py +0 -0
  218. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_servers.py +0 -0
  219. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_sessions.py +0 -0
  220. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_steer.py +0 -0
  221. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_stuck.py +0 -0
  222. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_subagents.py +0 -0
  223. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_tools.py +0 -0
  224. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_video.py +0 -0
  225. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_vision.py +0 -0
  226. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_web.py +0 -0
  227. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/tests/test_xai.py +0 -0
  228. {lcode_cli-0.53.0 → lcode_cli-0.55.0}/uv.lock +0 -0
@@ -6,6 +6,40 @@ All notable changes to lcode are documented here. The format follows
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.55.0] - 2026-11-02
10
+
11
+ ### Added
12
+
13
+ - `lcode bench --harbor` says how long the whole run took, and `lcode-bench.json` saves when it
14
+ started and its duration (`started`, `seconds`).
15
+
16
+ ### Fixed
17
+
18
+ - **Tokens of unfinished work in `lcode bench --harbor` and in traces.** An attempt stopped at its
19
+ task's time limit reported 0 tokens. So did a reply lcode stopped because it went round in
20
+ circles, since the server counts a reply only when it ends. The bench now counts what the
21
+ attempt's trace recorded, and the trace estimates a stopped reply's tokens (`estimated_in` and
22
+ `estimated_out`; `lcode trace show` marks them "about"). An attempt with no record shows `–`, not 0.
23
+
24
+ ## [0.54.0] - 2026-11-01
25
+
26
+ ### Added
27
+
28
+ - **Public benchmarks** (#197): `lcode bench --harbor dev` runs lcode on a slice of Terminal-Bench
29
+ 2.0 and SWE-bench Verified with Harbor, each task in a fresh container with your local model, three
30
+ attempts each. It reports pass@1, pass^3, the spread between runs and the time and tokens per
31
+ task, and saves them with the lcode version, the model, the context and the command that
32
+ reproduces them. The `held-out` slice is for confirming a change, never for tuning on it. For
33
+ `harbor run` itself, the agent is `lcode.harbor:Lcode`.
34
+
35
+ ### Fixed
36
+
37
+ - **Your Python when lcode runs with `uvx`.** `uvx` puts lcode's own temporary environment first
38
+ on `PATH`, so `python` in the model's commands and in the checks was lcode's Python, without the
39
+ project's packages, and the checks failed with "No module named pytest". lcode now takes that
40
+ environment off `PATH` when it starts, if you have a Python of your own on `PATH`. Other installs
41
+ don't change `PATH` and are left as they are.
42
+
9
43
  ## [0.53.0] - 2026-10-31
10
44
 
11
45
  ### Added
@@ -1167,7 +1201,9 @@ First public release.
1167
1201
  - `AGENTS.md` project instructions and `/init` to generate them.
1168
1202
  - One-line installer for Linux and macOS.
1169
1203
 
1170
- [Unreleased]: https://github.com/nasser1941/lcode/compare/v0.53.0...HEAD
1204
+ [Unreleased]: https://github.com/nasser1941/lcode/compare/v0.55.0...HEAD
1205
+ [0.55.0]: https://github.com/nasser1941/lcode/compare/v0.54.0...v0.55.0
1206
+ [0.54.0]: https://github.com/nasser1941/lcode/compare/v0.53.0...v0.54.0
1171
1207
  [0.53.0]: https://github.com/nasser1941/lcode/compare/v0.52.0...v0.53.0
1172
1208
  [0.52.0]: https://github.com/nasser1941/lcode/compare/v0.51.0...v0.52.0
1173
1209
  [0.51.0]: https://github.com/nasser1941/lcode/compare/v0.50.0...v0.51.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: lcode-cli
3
- Version: 0.53.0
3
+ Version: 0.55.0
4
4
  Summary: A local-first terminal coding agent powered by open-weight models on your own GPU or Mac, via Ollama.
5
5
  Project-URL: Homepage, https://nasser1941.github.io/lcode/
6
6
  Project-URL: Documentation, https://nasser1941.github.io/lcode/
@@ -181,6 +181,7 @@ lcode
181
181
  | `lcode --model qwen3.5-9b --context 128k` | pick a model and context window for this session |
182
182
  | `lcode models` / `lcode doctor` | what fits this machine / check the installation |
183
183
  | `lcode bench qwen3.6-35b qwen3.5-9b` | compare models on small coding tasks on this machine |
184
+ | `lcode bench --harbor dev` | run lcode on a slice of Terminal-Bench 2.0 and SWE-bench Verified, with Harbor |
184
185
  | `lcode trace` / `lcode trace show 1` | past requests, step by step with times and tokens; export or replay one |
185
186
  | `/undo`, `/rewind` | take back the last request's file changes, or go back further |
186
187
  | `lcode mcp catalog` / `lcode mcp add github` | ready-made MCP servers / add one |
@@ -145,6 +145,7 @@ lcode
145
145
  | `lcode --model qwen3.5-9b --context 128k` | pick a model and context window for this session |
146
146
  | `lcode models` / `lcode doctor` | what fits this machine / check the installation |
147
147
  | `lcode bench qwen3.6-35b qwen3.5-9b` | compare models on small coding tasks on this machine |
148
+ | `lcode bench --harbor dev` | run lcode on a slice of Terminal-Bench 2.0 and SWE-bench Verified, with Harbor |
148
149
  | `lcode trace` / `lcode trace show 1` | past requests, step by step with times and tokens; export or replay one |
149
150
  | `/undo`, `/rewind` | take back the last request's file changes, or go back further |
150
151
  | `lcode mcp catalog` / `lcode mcp add github` | ready-made MCP servers / add one |
@@ -4,6 +4,9 @@
4
4
  coding on my machine?* It runs a fixed set of small coding tasks against one or more models and
5
5
  reports how many they solved, how fast they ran and how much memory they used.
6
6
 
7
+ To compare with other agents on public benchmarks (Terminal-Bench 2.0 and SWE-bench Verified),
8
+ see [Public benchmarks](public-benchmarks.md).
9
+
7
10
  ```bash
8
11
  lcode bench # the configured model
9
12
  lcode bench qwen3.6-35b qwen3.5-9b # compare models
@@ -0,0 +1,131 @@
1
+ # Public benchmarks
2
+
3
+ `lcode bench` has eight small tasks of its own, and good models solve all of them. To see progress
4
+ past that, and to compare with other agents, lcode runs on two public benchmarks that anyone can
5
+ rerun:
6
+
7
+ - [Terminal-Bench 2.0](https://www.tbench.ai/): tasks in a terminal, from fixing a git repository
8
+ to building software, recovering data or setting up servers.
9
+ - [SWE-bench Verified](https://www.swebench.com/): real bug fixes in Python projects such as Django,
10
+ SymPy and matplotlib, checked by the project's own tests.
11
+
12
+ Both run on [Harbor](https://github.com/harbor-framework/harbor). Harbor starts each task in a
13
+ fresh Docker container. lcode is installed in that container and works on the task as one request
14
+ (`lcode -p "<the task>" --yolo`), with the model on your machine. Afterwards the task's tests decide
15
+ whether it passed.
16
+
17
+ ## What you need
18
+
19
+ - **Docker**, running.
20
+ - **uv**: lcode runs Harbor with `uvx`, so there's nothing else to install.
21
+ - **Disk space** for the tasks' images: about 20 GB for the dev slice. Each SWE-bench task has an
22
+ image of its own, 1–3 GB.
23
+ - **A model server the containers can reach.** lcode in a container finds your machine by itself:
24
+ as `host.docker.internal` with Docker Desktop (macOS, Windows), or as the container's gateway on
25
+ Linux. Ollama has to listen on more than `127.0.0.1` for that:
26
+ - Ollama in Docker with its port published (`-p 11434:11434`) already does.
27
+ - Ollama installed on Linux listens only on `127.0.0.1`. Run `sudo systemctl edit ollama`, add
28
+ `Environment="OLLAMA_HOST=0.0.0.0"` under `[Service]`, and restart it. That also opens it to
29
+ your network, so keep port 11434 closed in your firewall.
30
+
31
+ ## Running it
32
+
33
+ ```bash
34
+ lcode bench --harbor dev # the dev slice with your model, 3 attempts per task
35
+ lcode bench --harbor dev qwen3.6-35b --context 64k
36
+ lcode bench --harbor dev --tasks cobol-modernization,django__django-11555 --attempts 1
37
+ lcode bench --harbor dev --list # the slice's tasks
38
+ ```
39
+
40
+ Tasks run one at a time, since they share your GPU. The context is your configured one unless you
41
+ give `--context`. A container can't see your GPU, so lcode there doesn't choose a context itself.
42
+
43
+ lcode in the container is the same version as yours: from PyPI, or a wheel built from your checkout
44
+ when you run lcode from one, so a change can be measured before it's released.
45
+
46
+ ## The slices
47
+
48
+ | Slice | Terminal-Bench 2.0 | SWE-bench Verified | For |
49
+ |---|---|---|---|
50
+ | `dev` | 15 | 10 | everyday checks of a change |
51
+ | `held-out` | 14 | 11 | confirming a change helps beyond the tasks it was tuned on |
52
+
53
+ Both were drawn once, at random and by difficulty, from the tasks a local model can try in a night:
54
+
55
+ - Terminal-Bench without its model-training tasks, and with at most 30 minutes per task: 2 easy,
56
+ 10 medium and 3 hard tasks in the dev slice.
57
+ - SWE-bench Verified's two common difficulties: five fixes estimated under 15 minutes and five of
58
+ 15 minutes to an hour.
59
+
60
+ Don't tune lcode on the held-out set: once a change is chosen because it does well there, the set
61
+ no longer tells you whether changes generalize.
62
+
63
+ ## What's reported
64
+
65
+ Two tasks, one attempt each, with qwen3.6-35b at 32K on a 12 GB laptop GPU:
66
+
67
+ ```text
68
+ $ lcode bench --harbor dev --tasks prove-plus-comm,django__django-11555 --attempts 1
69
+ …
70
+ Task Benchmark Passed Time Tokens in Tokens out
71
+ prove-plus-comm terminal-bench 1/1 0.6 min 27,827 1,494
72
+ django__django-11555 swebench-verified 0/1 19.9 min 2,370,217 38,508
73
+ pass@1 50% · pass^1 50%
74
+ ```
75
+
76
+ With three attempts, the last line also gives each run's pass rate and the spread between them.
77
+
78
+ - **pass@1**: the share of attempts that passed, averaged over the tasks. It's the number to compare
79
+ with leaderboards.
80
+ - **pass^3**: the share of tasks whose three attempts all passed. That shows how dependable lcode is,
81
+ not just how often it gets lucky.
82
+ - **runs and spread**: the pass rate of each task's first attempt, its second and its third. Single
83
+ runs of the same setup differ by several points, so differences smaller than the spread are noise.
84
+ - **Time and tokens** per attempt, from lcode's own record of the request (its
85
+ [trace](traces.md)). An attempt stopped at the task's time limit counts the tokens recorded
86
+ until then, and a reply lcode stopped counts with an estimate. `–` means no attempt of the task
87
+ has a record.
88
+
89
+ Attempts whose container didn't start (a failed image download, say) count neither as passed nor
90
+ as failed. The report shows how many there were.
91
+
92
+ Everything is saved in `~/.local/state/lcode/bench/<slice>-<time>/`:
93
+
94
+ - `lcode-bench.json`: the results, with the lcode and Harbor versions, the model, the context, the
95
+ machine, when the run started and how long it took, and the command that reproduces them.
96
+ `--json FILE` saves a copy.
97
+ - Harbor's own results: each attempt's log, the task's test output, and lcode's trace and session.
98
+ `uvx --from harbor harbor view <folder>` browses them.
99
+
100
+ ## With Harbor directly
101
+
102
+ `lcode.harbor:Lcode` is an ordinary Harbor agent, so every Harbor dataset and option works:
103
+
104
+ ```bash
105
+ uvx --python 3.13 --from harbor==0.25.0 --with lcode-cli harbor run \
106
+ -d terminal-bench@2.0 -a lcode.harbor:Lcode -m qwen3.6-35b --ak context=32768
107
+ ```
108
+
109
+ Its options, each given with `--ak name=value`:
110
+
111
+ | Option | What it does |
112
+ |---|---|
113
+ | `context` | the context window, e.g. `32768` |
114
+ | `host` | Ollama's address as the container sees it, e.g. `http://192.168.1.20:11434` |
115
+ | `version` | the lcode version to install (default: the one Harbor runs with) |
116
+ | `wheel` | an lcode wheel on your machine to install instead |
117
+
118
+ Other model servers work as in lcode itself: `--ae LCODE_BACKEND=openai --ae LCODE_BASE_URL=…`.
119
+
120
+ ## When Docker can't make networks
121
+
122
+ Harbor gives each task a network of its own. When Docker says *all predefined address pools have
123
+ been fully subnetted*, every address range it could use overlaps a route on your machine. A VPN that
124
+ sends all traffic through itself does that. Add `--docker-bridge`, and the tasks run on Docker's
125
+ default network instead. With Harbor directly, pass `--extra-docker-compose` with a file holding:
126
+
127
+ ```yaml
128
+ services:
129
+ main:
130
+ network_mode: bridge
131
+ ```
@@ -12,7 +12,7 @@ lcode
12
12
 
13
13
  ```text
14
14
  ╭──────────────────────────────────────────────╮
15
- │ lcode v0.53.0 — local coding agent │
15
+ │ lcode v0.55.0 — local coding agent │
16
16
  │ │
17
17
  │ model lcode-qwen3.6-35b │
18
18
  │ context 256K tokens │
@@ -20,7 +20,9 @@ lcode trace path # the folder the traces are in
20
20
  failed check, a note about a malformed tool call, a note you typed while it worked.
21
21
  - **Each model call:** the answer (text, reasoning and tool calls), the time to the first token,
22
22
  the total time, and the tokens in and out. With Ollama, also how long loading the model and
23
- reading the prompt took.
23
+ reading the prompt took. The server counts a reply's tokens only when the reply ends, so for one
24
+ lcode stopped (it went round in circles, or you interrupted it) the trace has an estimate:
25
+ `estimated_in` and `estimated_out`, shown as "about".
24
26
  - **Each tool call:** its arguments, the result the model got, and how long it took. A result
25
27
  longer than 200,000 characters keeps its start and end. When lcode cut a long output for the
26
28
  model, the result says where the full output was saved.
@@ -10,6 +10,7 @@ lcode doctor # check the installation (include this in bug repor
10
10
  lcode media [install MODEL] # image and video models: what fits here, what's installed; install one
11
11
  lcode config [set|unset] # show or change settings
12
12
  lcode bench [models] # score models on small coding tasks on this machine
13
+ lcode bench --harbor dev # public benchmarks: Terminal-Bench 2.0 and SWE-bench Verified
13
14
  lcode trace [action] [N] # past requests: show one step by step, export or replay it (see Run traces)
14
15
  lcode mcp [catalog|add|list] # connect MCP servers: Jira, GitHub, AWS, databases… (see MCP servers)
15
16
  lcode acp # run inside an editor over the Agent Client Protocol (see Editors)
@@ -104,6 +104,7 @@ nav:
104
104
  - Models & context windows: models.md
105
105
  - Other model servers: servers.md
106
106
  - Benchmarking models: bench.md
107
+ - Public benchmarks: public-benchmarks.md
107
108
  - Run traces: traces.md
108
109
  - MCP servers: mcp.md
109
110
  - Sandbox: sandbox.md
@@ -3,7 +3,7 @@
3
3
  From a program: `from lcode import Session` (see lcode.api).
4
4
  """
5
5
 
6
- __version__ = "0.53.0"
6
+ __version__ = "0.55.0"
7
7
 
8
8
  API = ("Session", "Result", "Options", "SetupError")
9
9
 
@@ -594,6 +594,10 @@ def cmd_config(args) -> None:
594
594
  def cmd_bench(args) -> None:
595
595
  from lcode import bench
596
596
 
597
+ if args.harbor:
598
+ from lcode import harbor_bench
599
+
600
+ sys.exit(harbor_bench.command(args, console))
597
601
  if args.list:
598
602
  bench.print_tasks(console)
599
603
  return
@@ -942,6 +946,17 @@ def build_subparsers() -> dict[str, argparse.ArgumentParser]:
942
946
  p.add_argument("--keep", action="store_true", help="keep each task's folder and transcript for inspection")
943
947
  p.add_argument("-v", "--verbose", action="store_true", help="show the model working, like a normal session")
944
948
  p.add_argument("--list", action="store_true", help="list the tasks and exit")
949
+ p.add_argument(
950
+ "--harbor",
951
+ choices=["dev", "held-out"],
952
+ help="public benchmarks instead: a slice of Terminal-Bench 2.0 and SWE-bench Verified, run with Harbor",
953
+ )
954
+ p.add_argument("--attempts", type=int, default=3, help="with --harbor: attempts per task (default: 3, for pass^3)")
955
+ p.add_argument(
956
+ "--docker-bridge",
957
+ action="store_true",
958
+ help="with --harbor: run the tasks on Docker's default network (when Docker can't make networks)",
959
+ )
945
960
  p.add_argument(
946
961
  "--session",
947
962
  action="store_true",
@@ -1185,7 +1200,11 @@ COMMANDS = {
1185
1200
 
1186
1201
 
1187
1202
  def main(argv: list[str] | None = None) -> None:
1203
+ from lcode import update
1204
+
1188
1205
  argv = sys.argv[1:] if argv is None else argv
1206
+ with contextlib.suppress(Exception): # a convenience: it must never stop lcode from starting
1207
+ update.leave_own_environment() # with uvx, `python` in commands and checks is yours, not lcode's
1189
1208
  try:
1190
1209
  if argv and argv[0] in COMMANDS:
1191
1210
  parser = build_subparsers()[argv[0]]
@@ -0,0 +1,76 @@
1
+ """lcode as an agent in Harbor, the harness Terminal-Bench 2.x and SWE-bench Verified run on.
2
+
3
+ harbor run -d terminal-bench@2.0 -a lcode.harbor:Lcode -m qwen3.6-35b
4
+
5
+ Harbor imports this module on your machine, so it needs Harbor installed next to lcode; lcode itself
6
+ doesn't depend on it. In each task's container, lcode is installed with uv and solves the task as
7
+ one request with your local model (see lcode.harbor_bench).
8
+ """
9
+
10
+ from __future__ import annotations
11
+
12
+ from pathlib import Path
13
+ from typing import Annotated
14
+
15
+ from harbor.agents.installed.base import BaseInstalledAgent, with_prompt_template
16
+ from harbor.agents.options import Env, InstalledAgentOptions
17
+ from harbor.environments.base import BaseEnvironment
18
+ from harbor.models.agent.context import AgentContext
19
+ from pydantic import Field
20
+
21
+ from lcode import __version__, harbor_bench
22
+
23
+
24
+ class LcodeOptions(InstalledAgentOptions):
25
+ context: Annotated[str | None, Env("LCODE_CONTEXT")] = Field(
26
+ default=None, description="Context window, e.g. 32k (default: lcode's choice for the model)."
27
+ )
28
+ host: Annotated[str | None, Env("OLLAMA_HOST")] = Field(
29
+ default=None, description="Ollama's address as the task's container sees it (default: your machine)."
30
+ )
31
+ wheel: str | None = Field(
32
+ default=None, description="An lcode wheel on this machine, installed instead of lcode-cli from PyPI."
33
+ )
34
+
35
+
36
+ class Lcode(BaseInstalledAgent):
37
+ """lcode in the task's container, solving the task as one request with the model on your machine."""
38
+
39
+ options_model = LcodeOptions
40
+
41
+ @staticmethod
42
+ def name() -> str:
43
+ return "lcode"
44
+
45
+ def get_version_command(self) -> str | None:
46
+ return f"{harbor_bench.ON_PATH} lcode --version"
47
+
48
+ def parse_version(self, stdout: str) -> str:
49
+ return stdout.strip().removeprefix("lcode").strip()
50
+
51
+ async def install(self, environment: BaseEnvironment) -> None:
52
+ await self.ensure_system_dependencies(environment, ("curl",))
53
+ wheel = getattr(self.options, "wheel", None)
54
+ if wheel:
55
+ spec = f"/installed-agent/{Path(wheel).name}"
56
+ await environment.upload_file(Path(wheel), spec)
57
+ else:
58
+ spec = f"lcode-cli=={self._version or __version__}"
59
+ await self.exec_as_agent(environment, command=harbor_bench.install_command(spec))
60
+
61
+ @with_prompt_template
62
+ async def run(self, instruction: str, environment: BaseEnvironment, context: AgentContext) -> None:
63
+ env = {**self.resolve_env_vars(), **harbor_bench.run_env(self.model_name)}
64
+ await self.exec_as_agent(environment, command=harbor_bench.run_command(instruction), env=env)
65
+
66
+ def populate_context_post_run(self, context: AgentContext) -> None:
67
+ end = harbor_bench.trace_usage(Path(self.logs_dir) / "lcode")
68
+ if end is None:
69
+ return
70
+ context.n_input_tokens, context.n_output_tokens = harbor_bench.usage_tokens(end)
71
+ context.cost_usd = 0.0
72
+ keys = (
73
+ *("status", "seconds", "steps", "model_calls", "tool_calls", "model_seconds", "tool_seconds"),
74
+ *("tokens_in", "tokens_out", "estimated_in", "estimated_out"), # the estimates: replies lcode stopped
75
+ )
76
+ context.metadata = {**(context.metadata or {}), "lcode": {key: end.get(key) for key in keys}}