lcode-cli 0.11.0__tar.gz → 0.11.1__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 (113) hide show
  1. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/CHANGELOG.md +11 -1
  2. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/PKG-INFO +1 -1
  3. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/docs/mcp.md +3 -2
  4. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/docs/quickstart.md +1 -1
  5. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/__init__.py +1 -1
  6. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/mcp/catalog.toml +3 -2
  7. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/servers/encord.py +5 -2
  8. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/.editorconfig +0 -0
  9. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/.github/CODEOWNERS +0 -0
  10. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
  11. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  12. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
  13. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/.github/ISSUE_TEMPLATE/model_request.yml +0 -0
  14. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  15. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/.github/dependabot.yml +0 -0
  16. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/.github/workflows/ci.yml +0 -0
  17. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/.github/workflows/docs.yml +0 -0
  18. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/.github/workflows/release.yml +0 -0
  19. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/.gitignore +0 -0
  20. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/.pre-commit-config.yaml +0 -0
  21. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/AGENTS.md +0 -0
  22. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/CODE_OF_CONDUCT.md +0 -0
  23. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/CONTRIBUTING.md +0 -0
  24. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/LICENSE +0 -0
  25. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/README.md +0 -0
  26. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/SECURITY.md +0 -0
  27. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/docs/agents.md +0 -0
  28. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/docs/assets/demo.svg +0 -0
  29. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/docs/assets/extra.css +0 -0
  30. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/docs/assets/logo.svg +0 -0
  31. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/docs/assets/social-preview.png +0 -0
  32. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/docs/bench.md +0 -0
  33. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/docs/changelog.md +0 -0
  34. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/docs/commands.md +0 -0
  35. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/docs/configuration.md +0 -0
  36. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/docs/contributing.md +0 -0
  37. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/docs/how-it-works.md +0 -0
  38. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/docs/index.md +0 -0
  39. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/docs/installation.md +0 -0
  40. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/docs/memory.md +0 -0
  41. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/docs/models.md +0 -0
  42. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/docs/sandbox.md +0 -0
  43. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/docs/troubleshooting.md +0 -0
  44. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/docs/usage.md +0 -0
  45. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/examples/README.md +0 -0
  46. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/examples/commands/review.md +0 -0
  47. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/examples/skills/commit-message/SKILL.md +0 -0
  48. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/examples/skills/commit-message/scripts/staged.sh +0 -0
  49. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/install.sh +0 -0
  50. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/mkdocs.yml +0 -0
  51. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/overrides/main.html +0 -0
  52. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/pyproject.toml +0 -0
  53. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/scripts/record_demo.py +0 -0
  54. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/scripts/social-preview.html +0 -0
  55. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/__main__.py +0 -0
  56. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/agent.py +0 -0
  57. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/bench.py +0 -0
  58. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/catalog.py +0 -0
  59. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/checkpoints.py +0 -0
  60. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/cli.py +0 -0
  61. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/config.py +0 -0
  62. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/extensions.py +0 -0
  63. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/frontmatter.py +0 -0
  64. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/hardware.py +0 -0
  65. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/limits.py +0 -0
  66. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/mcp/__init__.py +0 -0
  67. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/mcp/auth.py +0 -0
  68. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/mcp/catalog.py +0 -0
  69. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/mcp/client.py +0 -0
  70. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/mcp/commands.py +0 -0
  71. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/mcp/config.py +0 -0
  72. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/mcp/http.py +0 -0
  73. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/mcp/manager.py +0 -0
  74. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/mcp/protocol.py +0 -0
  75. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/mcp/server.py +0 -0
  76. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/mcp/stdio.py +0 -0
  77. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/memory.py +0 -0
  78. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/models.toml +0 -0
  79. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/ollama.py +0 -0
  80. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/permissions.py +0 -0
  81. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/planning.py +0 -0
  82. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/render.py +0 -0
  83. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/repl.py +0 -0
  84. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/sandbox.py +0 -0
  85. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/servers/__init__.py +0 -0
  86. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/servers/valohai.py +0 -0
  87. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/sessions.py +0 -0
  88. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/subagents.py +0 -0
  89. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/tools.py +0 -0
  90. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/vision.py +0 -0
  91. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/src/lcode/web.py +0 -0
  92. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/tests/conftest.py +0 -0
  93. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/tests/fake_mcp_server.py +0 -0
  94. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/tests/test_agent.py +0 -0
  95. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/tests/test_bench.py +0 -0
  96. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/tests/test_catalog.py +0 -0
  97. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/tests/test_checkpoints.py +0 -0
  98. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/tests/test_cli.py +0 -0
  99. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/tests/test_config.py +0 -0
  100. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/tests/test_context_picker.py +0 -0
  101. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/tests/test_extensions.py +0 -0
  102. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/tests/test_mcp.py +0 -0
  103. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/tests/test_memory.py +0 -0
  104. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/tests/test_permissions.py +0 -0
  105. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/tests/test_plan_mode.py +0 -0
  106. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/tests/test_sandbox.py +0 -0
  107. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/tests/test_servers.py +0 -0
  108. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/tests/test_sessions.py +0 -0
  109. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/tests/test_subagents.py +0 -0
  110. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/tests/test_tools.py +0 -0
  111. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/tests/test_vision.py +0 -0
  112. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/tests/test_web.py +0 -0
  113. {lcode_cli-0.11.0 → lcode_cli-0.11.1}/uv.lock +0 -0
@@ -6,6 +6,15 @@ All notable changes to lcode are documented here. The format follows
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.11.1] - 2026-10-05
10
+
11
+ ### Fixed
12
+
13
+ - `lcode mcp add encord` failed with "needs the Encord SDK" when lcode itself was installed with
14
+ `uv tool install`: `uvx` reused that installation, which doesn't have the SDK. The Encord and
15
+ Valohai presets now run `uvx --isolated`. If you added either server with 0.11.0, add it again
16
+ (`lcode mcp add encord`) or put `--isolated` first in its `args` in `mcp.json`.
17
+
9
18
  ## [0.11.0] - 2026-10-05
10
19
 
11
20
  ### Added
@@ -302,7 +311,8 @@ First public release.
302
311
  - `AGENTS.md` project instructions and `/init` to generate them.
303
312
  - One-line installer for Linux and macOS.
304
313
 
305
- [Unreleased]: https://github.com/nasser1941/lcode/compare/v0.11.0...HEAD
314
+ [Unreleased]: https://github.com/nasser1941/lcode/compare/v0.11.1...HEAD
315
+ [0.11.1]: https://github.com/nasser1941/lcode/compare/v0.11.0...v0.11.1
306
316
  [0.11.0]: https://github.com/nasser1941/lcode/compare/v0.10.0...v0.11.0
307
317
  [0.10.0]: https://github.com/nasser1941/lcode/compare/v0.9.0...v0.10.0
308
318
  [0.9.0]: https://github.com/nasser1941/lcode/compare/v0.8.0...v0.9.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: lcode-cli
3
- Version: 0.11.0
3
+ Version: 0.11.1
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/
@@ -152,7 +152,7 @@ permissions allow. See [Metabase's MCP docs](https://www.metabase.com/docs/lates
152
152
  ### Encord
153
153
 
154
154
  Encord has no MCP server of its own, so lcode ships one: `lcode-mcp-encord`, built on the Encord SDK
155
- and run with `uvx --from "lcode-cli[encord]"`. It signs in with an SSH key that you register in
155
+ and run with `uvx --isolated --from "lcode-cli[encord]"`. It signs in with an SSH key that you register in
156
156
  Encord under **Settings > Public keys**; `lcode mcp add encord` asks for the key file's path.
157
157
 
158
158
  | Tool | |
@@ -180,7 +180,8 @@ address of a self-hosted installation if you use one; `lcode mcp add valohai` as
180
180
  | `start_execution`, `stop_execution` | Only with `--allow-writes` in the server's `args` in `mcp.json` |
181
181
 
182
182
  Both servers are ordinary MCP servers: other MCP clients can use them too, for example
183
- `uvx --from lcode-cli lcode-mcp-valohai` with `VALOHAI_TOKEN` set.
183
+ `uvx --isolated --from lcode-cli lcode-mcp-valohai` with `VALOHAI_TOKEN` set. Keep `--isolated`: without it,
184
+ `uvx` reuses an lcode you installed with `uv tool install`, which may be older or lack the Encord SDK.
184
185
 
185
186
  ## Adding your own servers
186
187
 
@@ -12,7 +12,7 @@ lcode
12
12
 
13
13
  ```text
14
14
  ╭──────────────────────────────────────────────╮
15
- │ lcode v0.11.0 — local coding agent │
15
+ │ lcode v0.11.1 — local coding agent │
16
16
  │ │
17
17
  │ model lcode-qwen3.6-35b │
18
18
  │ context 256K tokens │
@@ -1,3 +1,3 @@
1
1
  """lcode — a local-first terminal coding agent powered by open-weight models via Ollama."""
2
2
 
3
- __version__ = "0.11.0"
3
+ __version__ = "0.11.1"
@@ -249,7 +249,8 @@ model assign tasks and set priorities; lcode still asks before every call."""
249
249
 
250
250
  [encord.server]
251
251
  command = "uvx"
252
- args = ["--python", "3.12", "--from", "lcode-cli[encord]", "lcode-mcp-encord"]
252
+ # --isolated: otherwise uvx reuses an installed lcode-cli tool, which lacks the encord extra.
253
+ args = ["--isolated", "--python", "3.12", "--from", "lcode-cli[encord]", "lcode-mcp-encord"]
253
254
  env = { ENCORD_SSH_KEY_FILE = "${ENCORD_SSH_KEY_FILE}" }
254
255
 
255
256
  [[encord.inputs]]
@@ -268,7 +269,7 @@ executions; lcode still asks before every call."""
268
269
 
269
270
  [valohai.server]
270
271
  command = "uvx"
271
- args = ["--python", "3.12", "--from", "lcode-cli", "lcode-mcp-valohai"]
272
+ args = ["--isolated", "--python", "3.12", "--from", "lcode-cli", "lcode-mcp-valohai"]
272
273
  env = { VALOHAI_TOKEN = "${VALOHAI_TOKEN}", VALOHAI_HOST = "${VALOHAI_HOST}" }
273
274
 
274
275
  [[valohai.inputs]]
@@ -266,8 +266,11 @@ def main(argv: list[str] | None = None) -> None:
266
266
  args = parser.parse_args(argv)
267
267
  try:
268
268
  from encord import EncordUserClient
269
- except ImportError:
270
- parser.error('needs the Encord SDK: run it with uvx --from "lcode-cli[encord]" lcode-mcp-encord')
269
+ except ImportError as e:
270
+ parser.error(
271
+ f'needs the Encord SDK ({e}): run it with uvx --isolated --from "lcode-cli[encord]" lcode-mcp-encord '
272
+ "(--isolated, or uvx may reuse an installed lcode without it)"
273
+ )
271
274
  if os.environ.get("ENCORD_SSH_KEY_FILE"):
272
275
  key_file = os.path.expanduser(os.environ["ENCORD_SSH_KEY_FILE"])
273
276
  if not os.path.isfile(key_file):
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes