lcode-cli 0.54.0__tar.gz → 0.56.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 (229) hide show
  1. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/CHANGELOG.md +28 -1
  2. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/PKG-INFO +2 -1
  3. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/README.md +1 -0
  4. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/docs/public-benchmarks.md +39 -2
  5. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/docs/quickstart.md +1 -1
  6. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/docs/traces.md +3 -1
  7. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/docs/usage.md +1 -0
  8. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/__init__.py +1 -1
  9. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/cli.py +6 -0
  10. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/harbor.py +5 -3
  11. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/harbor_bench.py +286 -25
  12. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/ollama.py +7 -0
  13. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/traces.py +45 -3
  14. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/conftest.py +2 -0
  15. lcode_cli-0.56.0/tests/test_harbor_bench.py +343 -0
  16. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_traces.py +41 -0
  17. lcode_cli-0.54.0/tests/test_harbor_bench.py +0 -159
  18. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/.editorconfig +0 -0
  19. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/.github/CODEOWNERS +0 -0
  20. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
  21. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  22. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
  23. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/.github/ISSUE_TEMPLATE/model_request.yml +0 -0
  24. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  25. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/.github/dependabot.yml +0 -0
  26. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/.github/workflows/ci.yml +0 -0
  27. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/.github/workflows/docs.yml +0 -0
  28. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/.github/workflows/release.yml +0 -0
  29. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/.gitignore +0 -0
  30. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/.pre-commit-config.yaml +0 -0
  31. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/AGENTS.md +0 -0
  32. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/CODE_OF_CONDUCT.md +0 -0
  33. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/CONTRIBUTING.md +0 -0
  34. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/LICENSE +0 -0
  35. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/SECURITY.md +0 -0
  36. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/action.yml +0 -0
  37. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/docs/agents.md +0 -0
  38. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/docs/assets/demo.svg +0 -0
  39. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/docs/assets/extra.css +0 -0
  40. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/docs/assets/film-fox-and-kitten.jpg +0 -0
  41. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/docs/assets/long-clip-tulip.jpg +0 -0
  42. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/docs/automation.md +0 -0
  43. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/docs/bench.md +0 -0
  44. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/docs/changelog.md +0 -0
  45. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/docs/commands.md +0 -0
  46. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/docs/configuration.md +0 -0
  47. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/docs/contributing.md +0 -0
  48. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/docs/editors.md +0 -0
  49. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/docs/git.md +0 -0
  50. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/docs/hooks.md +0 -0
  51. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/docs/how-it-works.md +0 -0
  52. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/docs/index.md +0 -0
  53. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/docs/installation.md +0 -0
  54. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/docs/lsp.md +0 -0
  55. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/docs/mcp.md +0 -0
  56. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/docs/memory.md +0 -0
  57. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/docs/models.md +0 -0
  58. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/docs/modes.md +0 -0
  59. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/docs/sandbox.md +0 -0
  60. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/docs/search.md +0 -0
  61. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/docs/servers.md +0 -0
  62. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/docs/troubleshooting.md +0 -0
  63. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/examples/README.md +0 -0
  64. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/examples/api/fix_tests.py +0 -0
  65. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/examples/commands/review.md +0 -0
  66. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/examples/skills/commit-message/SKILL.md +0 -0
  67. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/examples/skills/commit-message/scripts/staged.sh +0 -0
  68. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/install.sh +0 -0
  69. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/mkdocs.yml +0 -0
  70. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/overrides/main.html +0 -0
  71. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/pyproject.toml +0 -0
  72. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/scripts/make_logos.py +0 -0
  73. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/scripts/record_demo.py +0 -0
  74. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/scripts/social-preview.html +0 -0
  75. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/__main__.py +0 -0
  76. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/acp.py +0 -0
  77. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/action.py +0 -0
  78. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/agent.py +0 -0
  79. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/api.py +0 -0
  80. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/assistant.py +0 -0
  81. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/backends.py +0 -0
  82. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/bench.py +0 -0
  83. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/bench_backend.py +0 -0
  84. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/bench_runtime.py +0 -0
  85. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/catalog.py +0 -0
  86. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/checkpoints.py +0 -0
  87. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/checks.py +0 -0
  88. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/clipboard.py +0 -0
  89. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/cloud.py +0 -0
  90. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/codesearch.py +0 -0
  91. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/comfy.py +0 -0
  92. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/config.py +0 -0
  93. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/context.py +0 -0
  94. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/edits.py +0 -0
  95. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/escalate.py +0 -0
  96. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/extensions.py +0 -0
  97. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/film.py +0 -0
  98. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/frontmatter.py +0 -0
  99. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/gitflow.py +0 -0
  100. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/hardware.py +0 -0
  101. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/hooks.py +0 -0
  102. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/imageopts.py +0 -0
  103. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/jobs.py +0 -0
  104. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/limits.py +0 -0
  105. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/lsp.py +0 -0
  106. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/manual.py +0 -0
  107. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/matching.py +0 -0
  108. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/mcp/__init__.py +0 -0
  109. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/mcp/auth.py +0 -0
  110. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/mcp/catalog.py +0 -0
  111. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/mcp/catalog.toml +0 -0
  112. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/mcp/client.py +0 -0
  113. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/mcp/commands.py +0 -0
  114. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/mcp/config.py +0 -0
  115. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/mcp/http.py +0 -0
  116. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/mcp/manager.py +0 -0
  117. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/mcp/protocol.py +0 -0
  118. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/mcp/server.py +0 -0
  119. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/mcp/stdio.py +0 -0
  120. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/media.py +0 -0
  121. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/media.toml +0 -0
  122. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/media_catalog.py +0 -0
  123. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/media_cloud.py +0 -0
  124. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/memory.py +0 -0
  125. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/models.toml +0 -0
  126. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/modes.py +0 -0
  127. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/notify.py +0 -0
  128. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/permissions.py +0 -0
  129. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/planning.py +0 -0
  130. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/preview.py +0 -0
  131. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/render.py +0 -0
  132. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/repeats.py +0 -0
  133. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/repl.py +0 -0
  134. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/replay.py +0 -0
  135. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/repoid.py +0 -0
  136. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/repomap.py +0 -0
  137. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/residency.py +0 -0
  138. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/review.py +0 -0
  139. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/sandbox.py +0 -0
  140. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/screenshots.py +0 -0
  141. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/secretscan.py +0 -0
  142. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/servers/__init__.py +0 -0
  143. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/servers/encord.py +0 -0
  144. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/servers/valohai.py +0 -0
  145. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/servers/xai.py +0 -0
  146. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/sessions.py +0 -0
  147. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/steer.py +0 -0
  148. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/subagents.py +0 -0
  149. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/tools.py +0 -0
  150. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/unreachable.py +0 -0
  151. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/update.py +0 -0
  152. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/vision.py +0 -0
  153. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/web.py +0 -0
  154. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/workflows/__init__.py +0 -0
  155. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/workflows/flux2-klein-4b-t2i.json +0 -0
  156. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/workflows/remove-background.json +0 -0
  157. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/workflows/smooth-film.json +0 -0
  158. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/workflows/sound-stable-audio.json +0 -0
  159. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/workflows/upscale-esrgan.json +0 -0
  160. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/workflows/upscale-video-esrgan.json +0 -0
  161. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/workflows/wan21-fun-camera.json +0 -0
  162. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/workflows/wan21-vace.json +0 -0
  163. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/workflows/wan22-fun-inp-5b.json +0 -0
  164. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/workflows/wan22-ti2v-5b.json +0 -0
  165. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/src/lcode/workflows/z-image-turbo-t2i.json +0 -0
  166. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/comfy_standin.py +0 -0
  167. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/fake_lsp_server.py +0 -0
  168. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/fake_mcp_server.py +0 -0
  169. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_acp.py +0 -0
  170. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_action.py +0 -0
  171. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_agent.py +0 -0
  172. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_api.py +0 -0
  173. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_assistant.py +0 -0
  174. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_backends.py +0 -0
  175. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_bench.py +0 -0
  176. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_catalog.py +0 -0
  177. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_checkpoints.py +0 -0
  178. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_checks.py +0 -0
  179. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_cli.py +0 -0
  180. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_clipboard.py +0 -0
  181. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_cloud.py +0 -0
  182. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_codesearch.py +0 -0
  183. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_comfy.py +0 -0
  184. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_config.py +0 -0
  185. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_context.py +0 -0
  186. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_context_picker.py +0 -0
  187. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_conversations.py +0 -0
  188. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_escalate.py +0 -0
  189. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_extensions.py +0 -0
  190. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_film.py +0 -0
  191. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_gitflow.py +0 -0
  192. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_gpu_handover.py +0 -0
  193. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_hooks.py +0 -0
  194. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_image_edit.py +0 -0
  195. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_image_generate.py +0 -0
  196. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_jobs.py +0 -0
  197. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_long_clips.py +0 -0
  198. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_look.py +0 -0
  199. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_lsp.py +0 -0
  200. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_manual.py +0 -0
  201. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_matching.py +0 -0
  202. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_mcp.py +0 -0
  203. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_media_catalog.py +0 -0
  204. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_media_cloud.py +0 -0
  205. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_memory.py +0 -0
  206. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_model_picker.py +0 -0
  207. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_modes.py +0 -0
  208. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_permissions.py +0 -0
  209. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_plan_mode.py +0 -0
  210. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_repeats.py +0 -0
  211. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_repomap.py +0 -0
  212. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_residency.py +0 -0
  213. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_review.py +0 -0
  214. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_robustness.py +0 -0
  215. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_sandbox.py +0 -0
  216. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_screenshots.py +0 -0
  217. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_secretscan.py +0 -0
  218. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_servers.py +0 -0
  219. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_sessions.py +0 -0
  220. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_steer.py +0 -0
  221. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_stuck.py +0 -0
  222. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_subagents.py +0 -0
  223. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_tools.py +0 -0
  224. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_update.py +0 -0
  225. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_video.py +0 -0
  226. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_vision.py +0 -0
  227. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_web.py +0 -0
  228. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/tests/test_xai.py +0 -0
  229. {lcode_cli-0.54.0 → lcode_cli-0.56.0}/uv.lock +0 -0
@@ -6,6 +6,31 @@ All notable changes to lcode are documented here. The format follows
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.56.0] - 2026-11-02
10
+
11
+ ### Added
12
+
13
+ - **Other agents on the same model** (#198): `lcode bench --harbor dev --agent claude-code`
14
+ (or `opencode`, `codex`) runs that agent on the same tasks, model and context as lcode, for a
15
+ comparison. Each is set up the way `ollama launch` sets it up, with approvals off. Their APIs can't
16
+ set the context window, so lcode makes a copy of the model with it set (`lcode-qwen3.6-35b-64k`),
17
+ which uses the model's files. `lcode-bench.json` records the agent and its version.
18
+
19
+ ## [0.55.0] - 2026-11-02
20
+
21
+ ### Added
22
+
23
+ - `lcode bench --harbor` says how long the whole run took, and `lcode-bench.json` saves when it
24
+ started and its duration (`started`, `seconds`).
25
+
26
+ ### Fixed
27
+
28
+ - **Tokens of unfinished work in `lcode bench --harbor` and in traces.** An attempt stopped at its
29
+ task's time limit reported 0 tokens. So did a reply lcode stopped because it went round in
30
+ circles, since the server counts a reply only when it ends. The bench now counts what the
31
+ attempt's trace recorded, and the trace estimates a stopped reply's tokens (`estimated_in` and
32
+ `estimated_out`; `lcode trace show` marks them "about"). An attempt with no record shows `–`, not 0.
33
+
9
34
  ## [0.54.0] - 2026-11-01
10
35
 
11
36
  ### Added
@@ -1186,7 +1211,9 @@ First public release.
1186
1211
  - `AGENTS.md` project instructions and `/init` to generate them.
1187
1212
  - One-line installer for Linux and macOS.
1188
1213
 
1189
- [Unreleased]: https://github.com/nasser1941/lcode/compare/v0.54.0...HEAD
1214
+ [Unreleased]: https://github.com/nasser1941/lcode/compare/v0.56.0...HEAD
1215
+ [0.56.0]: https://github.com/nasser1941/lcode/compare/v0.55.0...v0.56.0
1216
+ [0.55.0]: https://github.com/nasser1941/lcode/compare/v0.54.0...v0.55.0
1190
1217
  [0.54.0]: https://github.com/nasser1941/lcode/compare/v0.53.0...v0.54.0
1191
1218
  [0.53.0]: https://github.com/nasser1941/lcode/compare/v0.52.0...v0.53.0
1192
1219
  [0.52.0]: https://github.com/nasser1941/lcode/compare/v0.51.0...v0.52.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: lcode-cli
3
- Version: 0.54.0
3
+ Version: 0.56.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/
@@ -182,6 +182,7 @@ lcode
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
184
  | `lcode bench --harbor dev` | run lcode on a slice of Terminal-Bench 2.0 and SWE-bench Verified, with Harbor |
185
+ | `lcode bench --harbor dev --agent codex` | the same with Claude Code, OpenCode or Codex on your model, to compare |
185
186
  | `lcode trace` / `lcode trace show 1` | past requests, step by step with times and tokens; export or replay one |
186
187
  | `/undo`, `/rewind` | take back the last request's file changes, or go back further |
187
188
  | `lcode mcp catalog` / `lcode mcp add github` | ready-made MCP servers / add one |
@@ -146,6 +146,7 @@ lcode
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
148
  | `lcode bench --harbor dev` | run lcode on a slice of Terminal-Bench 2.0 and SWE-bench Verified, with Harbor |
149
+ | `lcode bench --harbor dev --agent codex` | the same with Claude Code, OpenCode or Codex on your model, to compare |
149
150
  | `lcode trace` / `lcode trace show 1` | past requests, step by step with times and tokens; export or replay one |
150
151
  | `/undo`, `/rewind` | take back the last request's file changes, or go back further |
151
152
  | `lcode mcp catalog` / `lcode mcp add github` | ready-made MCP servers / add one |
@@ -82,7 +82,9 @@ With three attempts, the last line also gives each run's pass rate and the sprea
82
82
  - **runs and spread**: the pass rate of each task's first attempt, its second and its third. Single
83
83
  runs of the same setup differ by several points, so differences smaller than the spread are noise.
84
84
  - **Time and tokens** per attempt, from lcode's own record of the request (its
85
- [trace](traces.md)).
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.
86
88
 
87
89
  Attempts whose container didn't start (a failed image download, say) count neither as passed nor
88
90
  as failed. The report shows how many there were.
@@ -90,10 +92,45 @@ as failed. The report shows how many there were.
90
92
  Everything is saved in `~/.local/state/lcode/bench/<slice>-<time>/`:
91
93
 
92
94
  - `lcode-bench.json`: the results, with the lcode and Harbor versions, the model, the context, the
93
- machine, the date and the command that reproduces them. `--json FILE` saves a copy.
95
+ machine, when the run started and how long it took, and the command that reproduces them.
96
+ `--json FILE` saves a copy.
94
97
  - Harbor's own results: each attempt's log, the task's test output, and lcode's trace and session.
95
98
  `uvx --from harbor harbor view <folder>` browses them.
96
99
 
100
+ ## Other agents on the same model
101
+
102
+ `--agent` runs Claude Code, OpenCode or Codex on the same tasks, with the same model, context
103
+ window and time limits, so you can compare them with lcode:
104
+
105
+ ```bash
106
+ lcode bench --harbor dev qwen3.6-35b --context 64k # lcode
107
+ lcode bench --harbor dev qwen3.6-35b --context 64k --agent claude-code
108
+ lcode bench --harbor dev qwen3.6-35b --context 64k --agent opencode
109
+ lcode bench --harbor dev qwen3.6-35b --context 64k --agent codex
110
+ ```
111
+
112
+ Harbor installs the agent in each task's container, with approvals off. lcode sets the agent up the
113
+ way `ollama launch` does, with the Ollama on your machine:
114
+
115
+ - **Claude Code** uses Ollama's Anthropic-compatible API, with the model for every tier (subagents
116
+ too) and `ollama launch claude`'s settings: no telemetry, error reports or feedback prompts. Like
117
+ `ollama launch claude`, it doesn't tell Claude Code the context window.
118
+ - **OpenCode** uses an Ollama provider on Ollama's OpenAI-compatible API. The model is marked as a
119
+ reasoning model, with the limits of its context window.
120
+ - **Codex** uses Ollama's Responses API and `ollama launch codex`'s model catalog. That catalog gives
121
+ local models no base instructions, so Codex runs without its own system prompt, as it does with
122
+ `ollama launch codex`.
123
+
124
+ These agents' APIs can't set the context window per request, and Ollama's default is small (4K on
125
+ GPUs under 24 GB), so lcode makes a copy of the model with the context set:
126
+ `lcode-qwen3.6-35b-64k` for 64K. It uses the model's files, so nothing is downloaded, and
127
+ `ollama rm lcode-qwen3.6-35b-64k` removes it. Ollama recommends at least 64K for these agents.
128
+
129
+ The time per task leaves out installing the agent, which Harbor does in every task's container: up to
130
+ three minutes for Claude Code, so its runs take longer overall. The results go to
131
+ `~/.local/state/lcode/bench/<slice>-<agent>-<time>/`, and `lcode-bench.json` adds the agent and its
132
+ version.
133
+
97
134
  ## With Harbor directly
98
135
 
99
136
  `lcode.harbor:Lcode` is an ordinary Harbor agent, so every Harbor dataset and option works:
@@ -12,7 +12,7 @@ lcode
12
12
 
13
13
  ```text
14
14
  ╭──────────────────────────────────────────────╮
15
- │ lcode v0.54.0 — local coding agent │
15
+ │ lcode v0.56.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.
@@ -11,6 +11,7 @@ lcode media [install MODEL] # image and video models: what fits here, what's in
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
13
  lcode bench --harbor dev # public benchmarks: Terminal-Bench 2.0 and SWE-bench Verified
14
+ lcode bench --harbor dev --agent codex # the same with another agent on your model, to compare
14
15
  lcode trace [action] [N] # past requests: show one step by step, export or replay it (see Run traces)
15
16
  lcode mcp [catalog|add|list] # connect MCP servers: Jira, GitHub, AWS, databases… (see MCP servers)
16
17
  lcode acp # run inside an editor over the Agent Client Protocol (see Editors)
@@ -3,7 +3,7 @@
3
3
  From a program: `from lcode import Session` (see lcode.api).
4
4
  """
5
5
 
6
- __version__ = "0.54.0"
6
+ __version__ = "0.56.0"
7
7
 
8
8
  API = ("Session", "Result", "Options", "SetupError")
9
9
 
@@ -952,6 +952,12 @@ def build_subparsers() -> dict[str, argparse.ArgumentParser]:
952
952
  help="public benchmarks instead: a slice of Terminal-Bench 2.0 and SWE-bench Verified, run with Harbor",
953
953
  )
954
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
+ "--agent",
957
+ choices=["lcode", "claude-code", "opencode", "codex"],
958
+ default="lcode",
959
+ help="with --harbor: the agent to run, for a comparison on the same model (default: lcode)",
960
+ )
955
961
  p.add_argument(
956
962
  "--docker-bridge",
957
963
  action="store_true",
@@ -67,8 +67,10 @@ class Lcode(BaseInstalledAgent):
67
67
  end = harbor_bench.trace_usage(Path(self.logs_dir) / "lcode")
68
68
  if end is None:
69
69
  return
70
- context.n_input_tokens = int(end.get("tokens_in") or 0)
71
- context.n_output_tokens = int(end.get("tokens_out") or 0)
70
+ context.n_input_tokens, context.n_output_tokens = harbor_bench.usage_tokens(end)
72
71
  context.cost_usd = 0.0
73
- keys = ("status", "seconds", "steps", "model_calls", "tool_calls", "model_seconds", "tool_seconds")
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
+ )
74
76
  context.metadata = {**(context.metadata or {}), "lcode": {key: end.get(key) for key in keys}}