lcode-cli 0.53.0__tar.gz → 0.54.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.
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/CHANGELOG.md +21 -1
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/PKG-INFO +2 -1
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/README.md +1 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/docs/bench.md +3 -0
- lcode_cli-0.54.0/docs/public-benchmarks.md +128 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/docs/quickstart.md +1 -1
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/docs/usage.md +1 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/mkdocs.yml +1 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/__init__.py +1 -1
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/cli.py +19 -0
- lcode_cli-0.54.0/src/lcode/harbor.py +74 -0
- lcode_cli-0.54.0/src/lcode/harbor_bench.py +395 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/update.py +42 -1
- lcode_cli-0.54.0/tests/test_harbor_bench.py +159 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_media_catalog.py +9 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_update.py +48 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/.editorconfig +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/.github/CODEOWNERS +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/.github/ISSUE_TEMPLATE/model_request.yml +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/.github/dependabot.yml +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/.github/workflows/ci.yml +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/.github/workflows/docs.yml +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/.github/workflows/release.yml +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/.gitignore +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/.pre-commit-config.yaml +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/AGENTS.md +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/CODE_OF_CONDUCT.md +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/CONTRIBUTING.md +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/LICENSE +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/SECURITY.md +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/action.yml +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/docs/agents.md +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/docs/assets/demo.svg +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/docs/assets/extra.css +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/docs/assets/film-fox-and-kitten.jpg +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/docs/assets/long-clip-tulip.jpg +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/docs/automation.md +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/docs/changelog.md +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/docs/commands.md +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/docs/configuration.md +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/docs/contributing.md +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/docs/editors.md +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/docs/git.md +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/docs/hooks.md +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/docs/how-it-works.md +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/docs/index.md +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/docs/installation.md +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/docs/lsp.md +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/docs/mcp.md +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/docs/memory.md +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/docs/models.md +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/docs/modes.md +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/docs/sandbox.md +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/docs/search.md +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/docs/servers.md +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/docs/traces.md +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/docs/troubleshooting.md +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/examples/README.md +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/examples/api/fix_tests.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/examples/commands/review.md +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/examples/skills/commit-message/SKILL.md +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/examples/skills/commit-message/scripts/staged.sh +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/install.sh +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/overrides/main.html +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/pyproject.toml +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/scripts/make_logos.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/scripts/record_demo.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/scripts/social-preview.html +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/__main__.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/acp.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/action.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/agent.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/api.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/assistant.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/backends.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/bench.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/bench_backend.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/bench_runtime.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/catalog.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/checkpoints.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/checks.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/clipboard.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/cloud.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/codesearch.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/comfy.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/config.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/context.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/edits.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/escalate.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/extensions.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/film.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/frontmatter.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/gitflow.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/hardware.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/hooks.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/imageopts.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/jobs.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/limits.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/lsp.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/manual.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/matching.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/mcp/__init__.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/mcp/auth.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/mcp/catalog.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/mcp/catalog.toml +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/mcp/client.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/mcp/commands.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/mcp/config.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/mcp/http.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/mcp/manager.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/mcp/protocol.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/mcp/server.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/mcp/stdio.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/media.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/media.toml +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/media_catalog.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/media_cloud.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/memory.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/models.toml +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/modes.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/notify.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/ollama.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/permissions.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/planning.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/preview.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/render.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/repeats.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/repl.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/replay.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/repoid.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/repomap.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/residency.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/review.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/sandbox.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/screenshots.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/secretscan.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/servers/__init__.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/servers/encord.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/servers/valohai.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/servers/xai.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/sessions.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/steer.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/subagents.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/tools.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/traces.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/unreachable.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/vision.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/web.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/workflows/__init__.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/workflows/flux2-klein-4b-t2i.json +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/workflows/remove-background.json +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/workflows/smooth-film.json +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/workflows/sound-stable-audio.json +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/workflows/upscale-esrgan.json +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/workflows/upscale-video-esrgan.json +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/workflows/wan21-fun-camera.json +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/workflows/wan21-vace.json +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/workflows/wan22-fun-inp-5b.json +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/workflows/wan22-ti2v-5b.json +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/src/lcode/workflows/z-image-turbo-t2i.json +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/comfy_standin.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/conftest.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/fake_lsp_server.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/fake_mcp_server.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_acp.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_action.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_agent.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_api.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_assistant.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_backends.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_bench.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_catalog.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_checkpoints.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_checks.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_cli.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_clipboard.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_cloud.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_codesearch.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_comfy.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_config.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_context.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_context_picker.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_conversations.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_escalate.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_extensions.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_film.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_gitflow.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_gpu_handover.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_hooks.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_image_edit.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_image_generate.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_jobs.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_long_clips.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_look.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_lsp.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_manual.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_matching.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_mcp.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_media_cloud.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_memory.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_model_picker.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_modes.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_permissions.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_plan_mode.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_repeats.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_repomap.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_residency.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_review.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_robustness.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_sandbox.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_screenshots.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_secretscan.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_servers.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_sessions.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_steer.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_stuck.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_subagents.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_tools.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_traces.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_video.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_vision.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_web.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/tests/test_xai.py +0 -0
- {lcode_cli-0.53.0 → lcode_cli-0.54.0}/uv.lock +0 -0
|
@@ -6,6 +6,25 @@ All notable changes to lcode are documented here. The format follows
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.54.0] - 2026-11-01
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- **Public benchmarks** (#197): `lcode bench --harbor dev` runs lcode on a slice of Terminal-Bench
|
|
14
|
+
2.0 and SWE-bench Verified with Harbor, each task in a fresh container with your local model, three
|
|
15
|
+
attempts each. It reports pass@1, pass^3, the spread between runs and the time and tokens per
|
|
16
|
+
task, and saves them with the lcode version, the model, the context and the command that
|
|
17
|
+
reproduces them. The `held-out` slice is for confirming a change, never for tuning on it. For
|
|
18
|
+
`harbor run` itself, the agent is `lcode.harbor:Lcode`.
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- **Your Python when lcode runs with `uvx`.** `uvx` puts lcode's own temporary environment first
|
|
23
|
+
on `PATH`, so `python` in the model's commands and in the checks was lcode's Python, without the
|
|
24
|
+
project's packages, and the checks failed with "No module named pytest". lcode now takes that
|
|
25
|
+
environment off `PATH` when it starts, if you have a Python of your own on `PATH`. Other installs
|
|
26
|
+
don't change `PATH` and are left as they are.
|
|
27
|
+
|
|
9
28
|
## [0.53.0] - 2026-10-31
|
|
10
29
|
|
|
11
30
|
### Added
|
|
@@ -1167,7 +1186,8 @@ First public release.
|
|
|
1167
1186
|
- `AGENTS.md` project instructions and `/init` to generate them.
|
|
1168
1187
|
- One-line installer for Linux and macOS.
|
|
1169
1188
|
|
|
1170
|
-
[Unreleased]: https://github.com/nasser1941/lcode/compare/v0.
|
|
1189
|
+
[Unreleased]: https://github.com/nasser1941/lcode/compare/v0.54.0...HEAD
|
|
1190
|
+
[0.54.0]: https://github.com/nasser1941/lcode/compare/v0.53.0...v0.54.0
|
|
1171
1191
|
[0.53.0]: https://github.com/nasser1941/lcode/compare/v0.52.0...v0.53.0
|
|
1172
1192
|
[0.52.0]: https://github.com/nasser1941/lcode/compare/v0.51.0...v0.52.0
|
|
1173
1193
|
[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.
|
|
3
|
+
Version: 0.54.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,128 @@
|
|
|
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)).
|
|
86
|
+
|
|
87
|
+
Attempts whose container didn't start (a failed image download, say) count neither as passed nor
|
|
88
|
+
as failed. The report shows how many there were.
|
|
89
|
+
|
|
90
|
+
Everything is saved in `~/.local/state/lcode/bench/<slice>-<time>/`:
|
|
91
|
+
|
|
92
|
+
- `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.
|
|
94
|
+
- Harbor's own results: each attempt's log, the task's test output, and lcode's trace and session.
|
|
95
|
+
`uvx --from harbor harbor view <folder>` browses them.
|
|
96
|
+
|
|
97
|
+
## With Harbor directly
|
|
98
|
+
|
|
99
|
+
`lcode.harbor:Lcode` is an ordinary Harbor agent, so every Harbor dataset and option works:
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
uvx --python 3.13 --from harbor==0.25.0 --with lcode-cli harbor run \
|
|
103
|
+
-d terminal-bench@2.0 -a lcode.harbor:Lcode -m qwen3.6-35b --ak context=32768
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
Its options, each given with `--ak name=value`:
|
|
107
|
+
|
|
108
|
+
| Option | What it does |
|
|
109
|
+
|---|---|
|
|
110
|
+
| `context` | the context window, e.g. `32768` |
|
|
111
|
+
| `host` | Ollama's address as the container sees it, e.g. `http://192.168.1.20:11434` |
|
|
112
|
+
| `version` | the lcode version to install (default: the one Harbor runs with) |
|
|
113
|
+
| `wheel` | an lcode wheel on your machine to install instead |
|
|
114
|
+
|
|
115
|
+
Other model servers work as in lcode itself: `--ae LCODE_BACKEND=openai --ae LCODE_BASE_URL=…`.
|
|
116
|
+
|
|
117
|
+
## When Docker can't make networks
|
|
118
|
+
|
|
119
|
+
Harbor gives each task a network of its own. When Docker says *all predefined address pools have
|
|
120
|
+
been fully subnetted*, every address range it could use overlaps a route on your machine. A VPN that
|
|
121
|
+
sends all traffic through itself does that. Add `--docker-bridge`, and the tasks run on Docker's
|
|
122
|
+
default network instead. With Harbor directly, pass `--extra-docker-compose` with a file holding:
|
|
123
|
+
|
|
124
|
+
```yaml
|
|
125
|
+
services:
|
|
126
|
+
main:
|
|
127
|
+
network_mode: bridge
|
|
128
|
+
```
|
|
@@ -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)
|
|
@@ -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,74 @@
|
|
|
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 = int(end.get("tokens_in") or 0)
|
|
71
|
+
context.n_output_tokens = int(end.get("tokens_out") or 0)
|
|
72
|
+
context.cost_usd = 0.0
|
|
73
|
+
keys = ("status", "seconds", "steps", "model_calls", "tool_calls", "model_seconds", "tool_seconds")
|
|
74
|
+
context.metadata = {**(context.metadata or {}), "lcode": {key: end.get(key) for key in keys}}
|