lcode-cli 0.49.1__tar.gz → 0.50.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.49.1 → lcode_cli-0.50.0}/CHANGELOG.md +16 -1
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/PKG-INFO +5 -1
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/README.md +4 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/docs/modes.md +2 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/docs/quickstart.md +1 -1
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/docs/usage.md +53 -1
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/pyproject.toml +7 -1
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/__init__.py +1 -1
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/acp.py +1 -1
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/agent.py +4 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/assistant.py +6 -2
- lcode_cli-0.50.0/src/lcode/manual.py +604 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/planning.py +1 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/repeats.py +1 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/repl.py +67 -3
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/tools.py +15 -0
- lcode_cli-0.50.0/tests/test_manual.py +246 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/.editorconfig +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/.github/CODEOWNERS +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/.github/ISSUE_TEMPLATE/model_request.yml +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/.github/dependabot.yml +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/.github/workflows/ci.yml +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/.github/workflows/docs.yml +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/.github/workflows/release.yml +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/.gitignore +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/.pre-commit-config.yaml +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/AGENTS.md +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/CODE_OF_CONDUCT.md +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/CONTRIBUTING.md +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/LICENSE +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/SECURITY.md +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/action.yml +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/docs/agents.md +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/docs/assets/demo.svg +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/docs/assets/extra.css +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/docs/assets/film-fox-and-kitten.jpg +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/docs/automation.md +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/docs/bench.md +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/docs/changelog.md +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/docs/commands.md +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/docs/configuration.md +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/docs/contributing.md +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/docs/editors.md +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/docs/git.md +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/docs/hooks.md +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/docs/how-it-works.md +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/docs/index.md +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/docs/installation.md +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/docs/lsp.md +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/docs/mcp.md +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/docs/memory.md +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/docs/models.md +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/docs/sandbox.md +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/docs/search.md +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/docs/servers.md +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/docs/troubleshooting.md +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/examples/README.md +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/examples/api/fix_tests.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/examples/commands/review.md +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/examples/skills/commit-message/SKILL.md +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/examples/skills/commit-message/scripts/staged.sh +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/install.sh +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/mkdocs.yml +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/overrides/main.html +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/scripts/make_logos.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/scripts/record_demo.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/scripts/social-preview.html +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/__main__.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/action.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/api.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/backends.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/bench.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/bench_backend.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/bench_runtime.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/catalog.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/checkpoints.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/checks.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/cli.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/clipboard.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/cloud.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/codesearch.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/comfy.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/config.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/context.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/edits.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/escalate.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/extensions.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/film.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/frontmatter.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/gitflow.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/hardware.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/hooks.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/imageopts.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/jobs.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/limits.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/lsp.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/matching.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/mcp/__init__.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/mcp/auth.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/mcp/catalog.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/mcp/catalog.toml +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/mcp/client.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/mcp/commands.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/mcp/config.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/mcp/http.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/mcp/manager.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/mcp/protocol.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/mcp/server.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/mcp/stdio.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/media.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/media.toml +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/media_catalog.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/media_cloud.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/memory.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/models.toml +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/modes.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/notify.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/ollama.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/permissions.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/preview.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/render.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/repomap.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/residency.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/review.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/sandbox.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/screenshots.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/secretscan.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/servers/__init__.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/servers/encord.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/servers/valohai.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/servers/xai.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/sessions.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/steer.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/subagents.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/unreachable.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/update.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/vision.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/web.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/workflows/__init__.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/workflows/flux2-klein-4b-t2i.json +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/workflows/remove-background.json +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/workflows/smooth-film.json +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/workflows/sound-stable-audio.json +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/workflows/upscale-esrgan.json +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/workflows/upscale-video-esrgan.json +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/workflows/wan21-fun-camera.json +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/workflows/wan21-vace.json +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/workflows/wan22-fun-inp-5b.json +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/workflows/wan22-ti2v-5b.json +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/src/lcode/workflows/z-image-turbo-t2i.json +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/comfy_standin.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/conftest.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/fake_lsp_server.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/fake_mcp_server.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_acp.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_action.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_agent.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_api.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_assistant.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_backends.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_bench.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_catalog.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_checkpoints.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_checks.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_cli.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_clipboard.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_cloud.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_codesearch.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_comfy.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_config.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_context.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_context_picker.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_escalate.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_extensions.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_film.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_gitflow.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_gpu_handover.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_hooks.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_image_edit.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_image_generate.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_jobs.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_look.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_lsp.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_matching.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_mcp.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_media_catalog.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_media_cloud.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_memory.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_model_picker.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_modes.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_permissions.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_plan_mode.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_repeats.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_repomap.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_residency.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_review.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_robustness.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_sandbox.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_screenshots.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_secretscan.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_servers.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_sessions.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_steer.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_stuck.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_subagents.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_tools.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_update.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_video.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_vision.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_web.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/tests/test_xai.py +0 -0
- {lcode_cli-0.49.1 → lcode_cli-0.50.0}/uv.lock +0 -0
|
@@ -6,6 +6,20 @@ All notable changes to lcode are documented here. The format follows
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.50.0] - 2026-10-26
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- **Ask lcode how** (#184): `/help how do I make a clip from two pictures?` answers from lcode's
|
|
14
|
+
own manual, which now ships inside the package (the docs' pages, for the installed version,
|
|
15
|
+
offline). The answer says what to type, filled in with your details, and the first step is
|
|
16
|
+
typed into the next prompt for you. In image and video mode, a question is answered instead of
|
|
17
|
+
being made into a picture (`--raw` makes it anyway); in code mode, the coding model gets a
|
|
18
|
+
`lcode_help` tool that searches the manual. The prompt assistant's small model answers in image
|
|
19
|
+
and video mode (`qwen3.5:4b`); every command and option in an answer must exist in lcode,
|
|
20
|
+
and the lines to type go through lcode's own option parser (`--seconds 25` is caught), with one
|
|
21
|
+
retry before what's still wrong is marked.
|
|
22
|
+
|
|
9
23
|
## [0.49.1] - 2026-10-26
|
|
10
24
|
|
|
11
25
|
### Fixed
|
|
@@ -1065,7 +1079,8 @@ First public release.
|
|
|
1065
1079
|
- `AGENTS.md` project instructions and `/init` to generate them.
|
|
1066
1080
|
- One-line installer for Linux and macOS.
|
|
1067
1081
|
|
|
1068
|
-
[Unreleased]: https://github.com/nasser1941/lcode/compare/v0.
|
|
1082
|
+
[Unreleased]: https://github.com/nasser1941/lcode/compare/v0.50.0...HEAD
|
|
1083
|
+
[0.50.0]: https://github.com/nasser1941/lcode/compare/v0.49.1...v0.50.0
|
|
1069
1084
|
[0.49.1]: https://github.com/nasser1941/lcode/compare/v0.49.0...v0.49.1
|
|
1070
1085
|
[0.49.0]: https://github.com/nasser1941/lcode/compare/v0.48.0...v0.49.0
|
|
1071
1086
|
[0.48.0]: https://github.com/nasser1941/lcode/compare/v0.47.0...v0.48.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: lcode-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.50.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/
|
|
@@ -125,6 +125,9 @@ through [Ollama](https://ollama.com), and when it needs current information it c
|
|
|
125
125
|
(`/mode image`) make pictures, edits, clips and short films with local models run by ComfyUI
|
|
126
126
|
(FLUX.2 klein, Wan 2.2, installed on demand), or with xAI's Grok Imagine and your own key, after
|
|
127
127
|
showing what it costs.
|
|
128
|
+
- **Ask it how.** `/help how do I make a clip from two pictures?`, or just the question in image and
|
|
129
|
+
video mode: lcode answers from its own manual, which ships with it, with the command to type,
|
|
130
|
+
checked by lcode's own parsers and typed into the prompt for you.
|
|
128
131
|
- **Web search when needed.** Looks up the latest versions, docs and error messages with Ollama web
|
|
129
132
|
search, Brave, Tavily or your own SearXNG, and reads pages as clean text.
|
|
130
133
|
- **Private.** The model runs on your machine, lcode never uploads your files and has no telemetry.
|
|
@@ -182,6 +185,7 @@ lcode
|
|
|
182
185
|
| `lcode mcp catalog` / `lcode mcp add github` | ready-made MCP servers / add one |
|
|
183
186
|
| `/rename`, `/resume` | name the current session, resume a saved one |
|
|
184
187
|
| `/model`, `/context`, `/compact`, `/help` | switch model, resize the context window (pick from a list), summarize, list commands |
|
|
188
|
+
| `/help how do I …?` | ask lcode how to do something: the answer comes from its manual, with the command to type |
|
|
185
189
|
|
|
186
190
|
## Models
|
|
187
191
|
|
|
@@ -89,6 +89,9 @@ through [Ollama](https://ollama.com), and when it needs current information it c
|
|
|
89
89
|
(`/mode image`) make pictures, edits, clips and short films with local models run by ComfyUI
|
|
90
90
|
(FLUX.2 klein, Wan 2.2, installed on demand), or with xAI's Grok Imagine and your own key, after
|
|
91
91
|
showing what it costs.
|
|
92
|
+
- **Ask it how.** `/help how do I make a clip from two pictures?`, or just the question in image and
|
|
93
|
+
video mode: lcode answers from its own manual, which ships with it, with the command to type,
|
|
94
|
+
checked by lcode's own parsers and typed into the prompt for you.
|
|
92
95
|
- **Web search when needed.** Looks up the latest versions, docs and error messages with Ollama web
|
|
93
96
|
search, Brave, Tavily or your own SearXNG, and reads pages as clean text.
|
|
94
97
|
- **Private.** The model runs on your machine, lcode never uploads your files and has no telemetry.
|
|
@@ -146,6 +149,7 @@ lcode
|
|
|
146
149
|
| `lcode mcp catalog` / `lcode mcp add github` | ready-made MCP servers / add one |
|
|
147
150
|
| `/rename`, `/resume` | name the current session, resume a saved one |
|
|
148
151
|
| `/model`, `/context`, `/compact`, `/help` | switch model, resize the context window (pick from a list), summarize, list commands |
|
|
152
|
+
| `/help how do I …?` | ask lcode how to do something: the answer comes from its manual, with the command to type |
|
|
149
153
|
|
|
150
154
|
## Models
|
|
151
155
|
|
|
@@ -23,6 +23,8 @@ image ❯ a red fox sitting in fresh snow at dusk
|
|
|
23
23
|
the current one.
|
|
24
24
|
- **Where it shows:** the banner, the status bar and the prompt (`image ❯`) show the mode.
|
|
25
25
|
- **Sessions:** a session keeps the mode it was made in, and resuming it brings that mode back.
|
|
26
|
+
- **Not sure how?** Ask: in image and video mode, a question like "how do I make the picture
|
|
27
|
+
bigger?" is answered from this manual with the command to type ([Asking lcode how](usage.md#asking-lcode-how)).
|
|
26
28
|
|
|
27
29
|
## Code mode makes code only
|
|
28
30
|
|
|
@@ -60,7 +60,7 @@ reasoning is on.
|
|
|
60
60
|
|
|
61
61
|
| Command | What it does |
|
|
62
62
|
|---|---|
|
|
63
|
-
| `/help` | List commands and keys |
|
|
63
|
+
| `/help [question]` | List commands and keys, or [ask how to do something](#asking-lcode-how): `/help how do I make a clip from two pictures?` |
|
|
64
64
|
| `/init` | Analyze the repository and write `AGENTS.md` (read at every start) |
|
|
65
65
|
| `/clear` | Start a new conversation (the current one stays saved) |
|
|
66
66
|
| `/rename NAME` | Name the current session so it's easy to find later |
|
|
@@ -97,6 +97,58 @@ reasoning is on.
|
|
|
97
97
|
| `/pr [base] [notes]` | Push the branch and open a GitHub [pull request](git.md#pr), once you approve it |
|
|
98
98
|
| `/exit` | Quit |
|
|
99
99
|
|
|
100
|
+
### Asking lcode how
|
|
101
|
+
|
|
102
|
+
You don't have to read this manual to find the right command: ask lcode, and it answers from the
|
|
103
|
+
manual with what to type.
|
|
104
|
+
|
|
105
|
+
```text
|
|
106
|
+
image ❯ how do I make the picture bigger?
|
|
107
|
+
╭─ lcode help ─────────────────────────────────────────────────────────────────────────────╮
|
|
108
|
+
│ /upscale 3 4 │
|
|
109
|
+
│ │
|
|
110
|
+
│ This command makes image #3 four times larger using Real-ESRGAN, taking about 6 seconds │
|
|
111
|
+
│ on an RTX 4080 Laptop GPU. If you only need a 2× increase, simply type /upscale 3. │
|
|
112
|
+
╰───────────────────────────────────────────────────────────────────────────────────────────╯
|
|
113
|
+
Modes: code, image and video › Image mode › Editing: https://nasser1941.github.io/lcode/modes/#editing
|
|
114
|
+
✎ The first step is in the prompt below: edit it, or press Enter to run it.
|
|
115
|
+
That looked like a question, so lcode answered it. To make it as a picture, add --raw.
|
|
116
|
+
image ❯ /upscale 3 4
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
- **In any mode,** `/help` followed by a question.
|
|
120
|
+
- **In image and video mode, just ask.** Text that reads as a question ("how do I…", "can I…?",
|
|
121
|
+
"is there a way…") is answered instead of being made into a picture or a clip. To make it anyway,
|
|
122
|
+
add `--raw`.
|
|
123
|
+
- **In code mode,** ask the coding model in your own words: it has a tool, `lcode_help`, that
|
|
124
|
+
searches the manual, so it answers with lcode's real commands instead of guessing.
|
|
125
|
+
- **What you get:** what to type, filled in with your details (numbers, lengths, file names), a
|
|
126
|
+
line or two on limits and time, and links to the pages of the docs. The first step is typed into
|
|
127
|
+
the next prompt for you: edit it, press Enter, or clear it with Ctrl+U.
|
|
128
|
+
- **The manual comes with lcode:** these pages ship inside the package, so the answer matches the
|
|
129
|
+
version you have, and it works offline.
|
|
130
|
+
- **Who answers:** in code mode, the coding model. In image and video mode, a small model in Ollama
|
|
131
|
+
(the [prompt assistant](modes.md#the-prompt-assistant)'s: `qwen3.5:4b` or the model you chose), loaded only for the
|
|
132
|
+
answer so the GPU stays with ComfyUI. Without one, lcode shows the parts of the manual that match.
|
|
133
|
+
- **Checked by lcode itself:** every command and option in an answer must exist in lcode, and the
|
|
134
|
+
lines to type go through lcode's own option parser: `--seconds 25` is caught ("seconds is how long
|
|
135
|
+
a video is: 1 to 8"). An answer that fails a check is asked for again once; what still fails is
|
|
136
|
+
marked with ⚠, and isn't typed in for you.
|
|
137
|
+
|
|
138
|
+
**Measured** on an RTX 4080 Laptop GPU (12 GB): 15 everyday questions (a 25-second clip between two
|
|
139
|
+
pictures, a bigger picture, a cut-out, music for a clip, a film, camera moves, Grok, where files go,
|
|
140
|
+
the context window…), each answer scored by hand:
|
|
141
|
+
|
|
142
|
+
| Who answers | Right | Partly right | Wrong | Time per answer |
|
|
143
|
+
|---|---|---|---|---|
|
|
144
|
+
| `qwen3.5:4b` (image and video mode) | 11 | 2 | 2 (1 marked ⚠) | 4 to 10 s |
|
|
145
|
+
| `qwen3.5:9b` (as the prompt assistant) | 11 | 3 | 1 (marked ⚠) | 6 to 16 s |
|
|
146
|
+
| `qwen3.6-35b` (code mode) | 12 | 2 | 1 (marked ⚠) | 6 to 7 s, once loaded |
|
|
147
|
+
|
|
148
|
+
The checks caught every command that doesn't exist (`/image`, `/grok-video`, `/lcode`); before them,
|
|
149
|
+
the small models answered `--seconds 25` and `/image …` without a warning. What's left: an extra
|
|
150
|
+
or out-of-order step now and then, and an odd claim in the sentences after the commands.
|
|
151
|
+
|
|
100
152
|
## What the model can do
|
|
101
153
|
|
|
102
154
|
| Tool | Purpose |
|
|
@@ -59,7 +59,12 @@ docs = ["mkdocs-material>=9.5", "mkdocs>=1.6,<2"] # MkDocs 2 drops plugins and
|
|
|
59
59
|
path = "src/lcode/__init__.py"
|
|
60
60
|
|
|
61
61
|
[tool.hatch.build.targets.wheel]
|
|
62
|
-
|
|
62
|
+
only-include = ["src/lcode", "docs"]
|
|
63
|
+
exclude = ["docs/assets", "docs/changelog.md", "docs/contributing.md"]
|
|
64
|
+
|
|
65
|
+
[tool.hatch.build.targets.wheel.sources]
|
|
66
|
+
"src" = ""
|
|
67
|
+
"docs" = "lcode/docs" # the manual, for questions about lcode (lcode.manual)
|
|
63
68
|
|
|
64
69
|
[tool.hatch.build.targets.sdist]
|
|
65
70
|
exclude = ["docs/assets/*.png"] # images for the README and the docs site: not needed to build or install
|
|
@@ -78,6 +83,7 @@ ignore = [
|
|
|
78
83
|
|
|
79
84
|
[tool.ruff.lint.per-file-ignores]
|
|
80
85
|
"src/lcode/agent.py" = ["E501"] # the prompts are prose; wrapping them would change what the model sees
|
|
86
|
+
"src/lcode/manual.py" = ["E501"] # the same for the help prompt
|
|
81
87
|
"src/lcode/memory.py" = ["E501"]
|
|
82
88
|
"src/lcode/subagents.py" = ["E501"]
|
|
83
89
|
"src/lcode/planning.py" = ["E501"]
|
|
@@ -44,7 +44,7 @@ MODES = [
|
|
|
44
44
|
]
|
|
45
45
|
KINDS = {
|
|
46
46
|
"read_file": "read", "view_image": "read", "list_dir": "search", "glob": "search", "grep": "search",
|
|
47
|
-
"repo_map": "search", "search_code": "search", "lsp": "search", "edit_file": "edit", "write_file": "edit", "apply_patch": "edit",
|
|
47
|
+
"repo_map": "search", "search_code": "search", "lcode_help": "search", "lsp": "search", "edit_file": "edit", "write_file": "edit", "apply_patch": "edit",
|
|
48
48
|
"bash": "execute", "web_search": "fetch", "web_fetch": "fetch", "agent": "think", "todo_write": "think",
|
|
49
49
|
"present_plan": "switch_mode", "bash_output": "read", "bash_stop": "execute",
|
|
50
50
|
} # fmt: skip
|
|
@@ -32,6 +32,7 @@ from lcode import (
|
|
|
32
32
|
escalate,
|
|
33
33
|
extensions,
|
|
34
34
|
limits,
|
|
35
|
+
manual,
|
|
35
36
|
notify,
|
|
36
37
|
planning,
|
|
37
38
|
repomap,
|
|
@@ -56,6 +57,7 @@ from lcode.repeats import Circles, Repeats
|
|
|
56
57
|
from lcode.sandbox import Sandbox, SandboxError, project_root
|
|
57
58
|
from lcode.steer import NOTE_INTRO, Steering
|
|
58
59
|
from lcode.tools import (
|
|
60
|
+
LCODE_HELP_SCHEMA,
|
|
59
61
|
LSP_SCHEMA,
|
|
60
62
|
MEMORY_SCHEMA,
|
|
61
63
|
PRESENT_PLAN_SCHEMA,
|
|
@@ -547,6 +549,8 @@ class Agent:
|
|
|
547
549
|
|
|
548
550
|
def tool_schemas(self) -> list[dict]:
|
|
549
551
|
schemas = list(SCHEMAS)
|
|
552
|
+
if manual.folder() is not None:
|
|
553
|
+
schemas.append(LCODE_HELP_SCHEMA)
|
|
550
554
|
if self.settings.web != "off":
|
|
551
555
|
schemas += [*([WEB_SEARCH_SCHEMA] if self.search_backend() else []), WEB_FETCH_SCHEMA]
|
|
552
556
|
if self.vision_model():
|
|
@@ -97,12 +97,16 @@ class Assistant:
|
|
|
97
97
|
message: dict = {"role": "user", "content": user}
|
|
98
98
|
if images:
|
|
99
99
|
message["images"] = [base64.b64encode(p.read_bytes()).decode() for p in images]
|
|
100
|
+
return self.converse([{"role": "system", "content": system}, message], json_answer=json_answer)
|
|
101
|
+
|
|
102
|
+
def converse(self, messages: list[dict], json_answer: bool = False, num_ctx: int = 4096) -> str:
|
|
103
|
+
"""The model's answer to a conversation (lcode.manual's answers use a longer one)."""
|
|
100
104
|
payload = {
|
|
101
105
|
"model": self.model,
|
|
102
|
-
"messages":
|
|
106
|
+
"messages": messages,
|
|
103
107
|
"think": False,
|
|
104
108
|
"keep_alive": 0, # unloaded right after: the image or video model needs the GPU
|
|
105
|
-
"options": {"temperature": 0.4, "num_ctx":
|
|
109
|
+
"options": {"temperature": 0.4, "num_ctx": num_ctx},
|
|
106
110
|
}
|
|
107
111
|
if json_answer:
|
|
108
112
|
payload["format"] = "json"
|