lcode-cli 0.53.0__py3-none-any.whl → 0.54.0__py3-none-any.whl

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/__init__.py CHANGED
@@ -3,7 +3,7 @@
3
3
  From a program: `from lcode import Session` (see lcode.api).
4
4
  """
5
5
 
6
- __version__ = "0.53.0"
6
+ __version__ = "0.54.0"
7
7
 
8
8
  API = ("Session", "Result", "Options", "SetupError")
9
9
 
lcode/cli.py CHANGED
@@ -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]]
lcode/docs/bench.md CHANGED
@@ -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
+ ```
lcode/docs/quickstart.md CHANGED
@@ -12,7 +12,7 @@ lcode
12
12
 
13
13
  ```text
14
14
  ╭──────────────────────────────────────────────╮
15
- │ lcode v0.53.0 — local coding agent │
15
+ │ lcode v0.54.0 — local coding agent │
16
16
  │ │
17
17
  │ model lcode-qwen3.6-35b │
18
18
  │ context 256K tokens │
lcode/docs/usage.md CHANGED
@@ -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)
lcode/harbor.py ADDED
@@ -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}}
lcode/harbor_bench.py ADDED
@@ -0,0 +1,395 @@
1
+ """Public benchmarks through Harbor: Terminal-Bench 2.x and SWE-bench Verified (`lcode bench --harbor`).
2
+
3
+ Harbor runs each task in its own container and checks the result with the task's tests. lcode is
4
+ installed in that container (`lcode.harbor.Lcode`) and solves the task as one request, talking to
5
+ the model server on your machine. This module has the parts that don't need Harbor installed: the
6
+ commands that run in the container, the task slices, running Harbor with uvx, and the report.
7
+
8
+ The slices were drawn once, at random with seed 197 and by difficulty, from the tasks a local
9
+ model can try overnight: Terminal-Bench 2.0 without model training and with at most 30 minutes per
10
+ task, and SWE-bench Verified's two common difficulties. The dev slice is for everyday checks; the
11
+ held-out set is never used for tuning, only to confirm a change helps beyond the tasks it was
12
+ tuned on.
13
+ """
14
+
15
+ from __future__ import annotations
16
+
17
+ import datetime as dt
18
+ import json
19
+ import shlex
20
+ import statistics
21
+ import subprocess
22
+ from dataclasses import asdict, dataclass, field
23
+ from pathlib import Path
24
+
25
+ HARBOR = "harbor==0.25.0" # the Harbor these slices were made and checked with
26
+ HARBOR_PYTHON = "3.13"
27
+ AGENT = "lcode.harbor:Lcode"
28
+ DATASETS = {"terminal-bench": "terminal-bench@2.0", "swebench-verified": "swebench-verified"}
29
+ ATTEMPTS = 3
30
+ SLICES = {
31
+ "dev": {
32
+ "terminal-bench": [
33
+ "cobol-modernization", "prove-plus-comm", "break-filter-js-from-html", "filter-js-from-html",
34
+ "rstan-to-pystan", "crack-7z-hash", "build-cython-ext", "sqlite-with-gcov", "pypi-server",
35
+ "openssl-selfsigned-cert", "constraints-scheduling", "financial-document-processor", "polyglot-rust-c",
36
+ "sparql-university", "torch-tensor-parallelism",
37
+ ],
38
+ "swebench-verified": [
39
+ "sympy__sympy-18189", "django__django-11555", "django__django-14792", "matplotlib__matplotlib-25311",
40
+ "django__django-14787", "pydata__xarray-6721", "matplotlib__matplotlib-23299", "pytest-dev__pytest-10051",
41
+ "sympy__sympy-23824", "django__django-12774",
42
+ ],
43
+ },
44
+ "held-out": {
45
+ "terminal-bench": [
46
+ "overfull-hbox", "mteb-retrieve", "gcode-to-text", "largest-eigenval", "kv-store-grpc", "code-from-image",
47
+ "chess-best-move", "hf-model-inference", "log-summary-date-ranges", "git-leak-recovery", "qemu-startup",
48
+ "make-mips-interpreter", "write-compressor", "torch-pipeline-parallelism",
49
+ ],
50
+ "swebench-verified": [
51
+ "pydata__xarray-4629", "pytest-dev__pytest-10081", "sphinx-doc__sphinx-9281", "django__django-16642",
52
+ "django__django-13933", "django__django-15569", "scikit-learn__scikit-learn-10844",
53
+ "scikit-learn__scikit-learn-11578", "matplotlib__matplotlib-24970", "scikit-learn__scikit-learn-14087",
54
+ "mwaskom__seaborn-3187",
55
+ ],
56
+ },
57
+ } # fmt: skip
58
+ # Puts the task on Docker's default network: for when Docker can't make networks ("all predefined address pools
59
+ # have been fully subnetted"), as with a VPN that routes all addresses.
60
+ BRIDGE_OVERLAY = "services:\n main:\n network_mode: bridge\n"
61
+
62
+ PYTHON = "3.12" # lcode's own Python in the task containers, installed by uv
63
+ OLLAMA_PORT = 11434
64
+ HOME = "/logs/agent/lcode" # lcode's sessions and traces: Harbor copies /logs/agent into the trial's folder
65
+ LOG = "/logs/agent/lcode.txt"
66
+ ON_PATH = 'export PATH="$HOME/.local/bin:$PATH";' # where uv puts lcode and itself
67
+
68
+
69
+ def find_ollama(routes: str = "/proc/net/route") -> str:
70
+ """Shell that sets OLLAMA_HOST, unless it's set, to Ollama on your machine as a task's container sees it:
71
+ host.docker.internal where Docker provides it (Docker Desktop), else the container's default gateway, which is
72
+ your machine (Linux). The gateway is in the routing table as little-endian hex: 010011AC is 172.17.0.1."""
73
+ return (
74
+ 'if [ -z "${OLLAMA_HOST:-}" ]; then '
75
+ "if getent hosts host.docker.internal >/dev/null 2>&1; then host=host.docker.internal; "
76
+ f"else gw=$(awk '$2 == \"00000000\" {{ print $3; exit }}' {routes}); "
77
+ 'host=$(printf "%d.%d.%d.%d" "0x${gw:6:2}" "0x${gw:4:2}" "0x${gw:2:2}" "0x${gw:0:2}"); fi; '
78
+ f'export OLLAMA_HOST="http://$host:{OLLAMA_PORT}"; fi;'
79
+ )
80
+
81
+
82
+ def install_command(spec: str) -> str:
83
+ """Install uv if the image has none, then lcode (`lcode-cli==X` or a wheel's path) with its own Python."""
84
+ return (
85
+ "set -euo pipefail; "
86
+ "if ! command -v uv >/dev/null 2>&1; then curl -LsSf https://astral.sh/uv/install.sh | sh; fi; "
87
+ f"{ON_PATH} uv tool install --force --python {PYTHON} {shlex.quote(spec)}; lcode --version"
88
+ )
89
+
90
+
91
+ def run_command(instruction: str, log: str = LOG) -> str:
92
+ """The task as one lcode request, without questions; its output goes to the trial's agent folder too.
93
+
94
+ lcode starts in an interactive shell, so the image's own shell setup applies to its commands, as in
95
+ a terminal there: SWE-bench's images activate the project's conda environment only in ~/.bashrc,
96
+ and without it `python` is conda's base, without the project's packages. lcode's folder goes last
97
+ on PATH, so it never hides the task's own tools.
98
+ """
99
+ inner = f'export PATH="$PATH:$HOME/.local/bin"; {find_ollama()} lcode -p {shlex.quote(instruction)} --yolo'
100
+ return f"bash -ic {shlex.quote(inner)} 2>&1 | tee {shlex.quote(log)}"
101
+
102
+
103
+ def run_env(model: str | None) -> dict[str, str]:
104
+ env = {"LCODE_HOME": HOME, "COLUMNS": "120"}
105
+ if model:
106
+ env["LCODE_MODEL"] = model.removeprefix("ollama/")
107
+ return env
108
+
109
+
110
+ def trace_usage(home: Path) -> dict | None:
111
+ """How the newest request traced in `home` (lcode's LCODE_HOME in the task) went: its end event."""
112
+ traces = sorted((home / "traces").glob("*.jsonl"), key=lambda path: path.stat().st_mtime)
113
+ for path in reversed(traces):
114
+ try:
115
+ lines = path.read_text(errors="replace").splitlines()
116
+ except OSError:
117
+ continue
118
+ for line in reversed(lines):
119
+ try:
120
+ event = json.loads(line)
121
+ except ValueError:
122
+ continue
123
+ if isinstance(event, dict) and event.get("type") == "end":
124
+ return event
125
+ return None
126
+
127
+
128
+ # ----------------------------------------------------------------------------- running Harbor, and the report
129
+
130
+
131
+ def harbor_argv(
132
+ dataset: str,
133
+ tasks: list[str],
134
+ model: str,
135
+ jobs: Path,
136
+ job_name: str,
137
+ *,
138
+ attempts: int = ATTEMPTS,
139
+ context: int | None = None,
140
+ lcode_with: list[str] | None = None,
141
+ wheel: Path | None = None,
142
+ overlay: Path | None = None,
143
+ ) -> list[str]:
144
+ """`harbor run` for some tasks of a dataset, with uvx, and lcode next to Harbor so it can import the agent."""
145
+ argv = ["uvx", "--python", HARBOR_PYTHON, "--from", HARBOR, *(lcode_with or []), "harbor", "run"]
146
+ argv += ["-d", DATASETS[dataset], "-a", AGENT, "-m", model, "-k", str(attempts), "-n", "1"]
147
+ argv += ["-o", str(jobs), "--job-name", job_name, "-y"]
148
+ for task in tasks:
149
+ argv += ["-i", task, "-i", f"*/{task}"] # the name alone, or with its organization in front
150
+ if context:
151
+ argv += ["--ak", f"context={context}"]
152
+ if wheel:
153
+ argv += ["--ak", f"wheel={wheel}"]
154
+ if overlay:
155
+ argv += ["--extra-docker-compose", str(overlay)]
156
+ return argv
157
+
158
+
159
+ @dataclass
160
+ class Trial:
161
+ """One attempt at a task, from Harbor's result.json."""
162
+
163
+ dataset: str
164
+ task: str
165
+ reward: float | None # None: the task's tests didn't run (its container didn't start, say)
166
+ started: str = ""
167
+ seconds: float | None = None # lcode's time on the task
168
+ tokens_in: int = 0
169
+ tokens_out: int = 0
170
+ error: str = ""
171
+
172
+
173
+ def seconds_between(timing: dict | None) -> float | None:
174
+ try:
175
+ start = dt.datetime.fromisoformat(str(timing["started_at"]).replace("Z", "+00:00")) # type: ignore[index]
176
+ end = dt.datetime.fromisoformat(str(timing["finished_at"]).replace("Z", "+00:00")) # type: ignore[index]
177
+ except (KeyError, TypeError, ValueError):
178
+ return None
179
+ return (end - start).total_seconds()
180
+
181
+
182
+ def read_trials(job: Path, dataset: str) -> list[Trial]:
183
+ trials = []
184
+ for path in sorted(job.glob("*/result.json")):
185
+ try:
186
+ result = json.loads(path.read_text())
187
+ except (OSError, ValueError):
188
+ continue
189
+ rewards = (result.get("verifier_result") or {}).get("rewards")
190
+ reward = rewards.get("reward") if isinstance(rewards, dict) else None
191
+ agent = result.get("agent_result") or {}
192
+ problem = result.get("exception_info") or {}
193
+ error = str(problem.get("exception_type") or "")
194
+ if error and problem.get("exception_message"):
195
+ error += ": " + str(problem["exception_message"]).strip().splitlines()[-1][:300]
196
+ name = str(result.get("task_name") or path.parent.name.rsplit("__", 1)[0])
197
+ trials.append(
198
+ Trial(
199
+ dataset=dataset,
200
+ task=name.rsplit("/", 1)[-1],
201
+ reward=float(reward) if isinstance(reward, (int, float)) else None,
202
+ started=str(result.get("started_at") or ""),
203
+ seconds=seconds_between(result.get("agent_execution")),
204
+ tokens_in=int(agent.get("n_input_tokens") or 0),
205
+ tokens_out=int(agent.get("n_output_tokens") or 0),
206
+ error=error,
207
+ )
208
+ )
209
+ return trials
210
+
211
+
212
+ @dataclass
213
+ class TaskResult:
214
+ dataset: str
215
+ task: str
216
+ passed: list[bool] = field(default_factory=list) # each attempt whose tests ran, in the order they ran
217
+ not_run: int = 0
218
+ seconds: float | None = None # per attempt, on average
219
+ tokens_in: int = 0
220
+ tokens_out: int = 0
221
+
222
+
223
+ @dataclass
224
+ class Summary:
225
+ tasks: list[TaskResult]
226
+ attempts: int
227
+ pass_at_1: float | None # the share of attempts that passed, averaged over the tasks
228
+ pass_all: float | None # pass^k: the share of tasks whose every attempt passed (of those with all k)
229
+ runs: list[float] # the pass rate of each task's first attempt, of its second...
230
+ not_run: int
231
+
232
+ @property
233
+ def spread(self) -> float | None:
234
+ return max(self.runs) - min(self.runs) if len(self.runs) > 1 else None
235
+
236
+
237
+ def summarize(trials: list[Trial], attempts: int = ATTEMPTS) -> Summary:
238
+ groups: dict[tuple[str, str], list[Trial]] = {}
239
+ for trial in sorted(trials, key=lambda t: t.started):
240
+ groups.setdefault((trial.dataset, trial.task), []).append(trial)
241
+ tasks = []
242
+ for (dataset, task), group in groups.items():
243
+ ran = [t for t in group if t.reward is not None]
244
+ timed = [t.seconds for t in ran if t.seconds is not None]
245
+ tasks.append(
246
+ TaskResult(
247
+ dataset,
248
+ task,
249
+ [(t.reward or 0) >= 1 for t in ran],
250
+ len(group) - len(ran),
251
+ statistics.fmean(timed) if timed else None,
252
+ round(statistics.fmean(t.tokens_in for t in ran)) if ran else 0,
253
+ round(statistics.fmean(t.tokens_out for t in ran)) if ran else 0,
254
+ )
255
+ )
256
+ scored = [t for t in tasks if t.passed]
257
+ pass_at_1 = statistics.fmean(statistics.fmean(t.passed) for t in scored) if scored else None
258
+ full = [t for t in scored if len(t.passed) >= attempts]
259
+ pass_all = statistics.fmean(all(t.passed[:attempts]) for t in full) if full else None
260
+ runs = []
261
+ for i in range(attempts):
262
+ nth = [t.passed[i] for t in scored if len(t.passed) > i]
263
+ if nth:
264
+ runs.append(statistics.fmean(nth))
265
+ return Summary(tasks, attempts, pass_at_1, pass_all, runs, sum(t.not_run for t in tasks))
266
+
267
+
268
+ def percent(share: float | None) -> str:
269
+ return "–" if share is None else f"{share * 100:.0f}%"
270
+
271
+
272
+ def print_summary(console, summary: Summary) -> None:
273
+ from rich.table import Table
274
+
275
+ table = Table(box=None, pad_edge=False)
276
+ for column in ("Task", "Benchmark", "Passed", "Time", "Tokens in", "Tokens out"):
277
+ table.add_column(column, justify="left" if column in ("Task", "Benchmark") else "right")
278
+ for t in summary.tasks:
279
+ passed = f"{sum(t.passed)}/{len(t.passed)}" + (f" ({t.not_run} didn't run)" if t.not_run else "")
280
+ took = "–" if t.seconds is None else f"{t.seconds / 60:.1f} min"
281
+ table.add_row(t.task, t.dataset, passed, took, f"{t.tokens_in:,}", f"{t.tokens_out:,}")
282
+ console.print(table)
283
+ k = summary.attempts
284
+ line = f"pass@1 {percent(summary.pass_at_1)} · pass^{k} {percent(summary.pass_all)}"
285
+ if summary.spread is not None:
286
+ line += f" · runs {', '.join(percent(r) for r in summary.runs)} (spread {summary.spread * 100:.0f} points)"
287
+ console.print(f"[bold]{line}[/]")
288
+ if summary.not_run:
289
+ console.print(f"[yellow]{summary.not_run} attempt(s) didn't run (their container didn't start, say).[/]")
290
+
291
+
292
+ def print_slice(console, name: str) -> None:
293
+ for dataset, tasks in SLICES[name].items():
294
+ console.print(f"[bold]{DATASETS[dataset]}[/] ({len(tasks)}): {', '.join(tasks)}")
295
+
296
+
297
+ def command(args, console) -> int:
298
+ """`lcode bench --harbor SLICE`: run the slice's tasks with Harbor, then report and save the results."""
299
+ import shutil
300
+ import sys
301
+
302
+ from rich.markup import escape
303
+
304
+ from lcode import __version__, config, update
305
+ from lcode.hardware import detect
306
+
307
+ if args.list:
308
+ print_slice(console, args.harbor)
309
+ return 0
310
+ if shutil.which("uvx") is None:
311
+ console.print("[red]lcode bench --harbor runs Harbor with uvx. Install uv: https://docs.astral.sh/uv/[/]")
312
+ return 1
313
+ if not update.docker_available():
314
+ console.print("[red]Harbor runs each task in a Docker container, and Docker isn't running. Start it first.[/]")
315
+ return 1
316
+ settings = config.load()
317
+ model = args.models[0] if args.models else settings["model"]
318
+ # Always given: in a task's container lcode sees no GPU and would pick a context for the CPU.
319
+ context = config.parse_context(args.context or settings.get("context") or 32768)
320
+ attempts = max(1, args.attempts)
321
+ wanted = {name.strip() for name in args.tasks.split(",")} if args.tasks else None
322
+ picked = {
323
+ dataset: [t for t in tasks if wanted is None or t in wanted] for dataset, tasks in SLICES[args.harbor].items()
324
+ }
325
+ unknown = sorted((wanted or set()) - {t for tasks in picked.values() for t in tasks})
326
+ if unknown:
327
+ console.print(
328
+ f"[red]Not in the {args.harbor} slice: {', '.join(unknown)}[/] (lcode bench --harbor {args.harbor} --list)"
329
+ )
330
+ return 2
331
+ jobs = config.STATE_DIR / "bench" / f"{args.harbor}-{dt.datetime.now():%Y%m%d-%H%M%S}"
332
+ jobs.mkdir(parents=True, exist_ok=True)
333
+ install = update.lcode_install()
334
+ wheel = None
335
+ if install.kind == "checkout" and install.path: # this checkout, in Harbor and in the containers
336
+ lcode_with = ["--with-editable", str(install.path)]
337
+ build = ["uv", "build", "--wheel", "-q", "-o", str(jobs / "wheel"), str(install.path)]
338
+ if subprocess.run(build, capture_output=True, text=True).returncode != 0:
339
+ console.print(f"[red]Couldn't build a wheel of {install.path}:[/] {' '.join(build)}")
340
+ return 1
341
+ wheel = next((jobs / "wheel").glob("*.whl"), None)
342
+ else:
343
+ lcode_with = ["--with", f"lcode-cli=={__version__}"]
344
+ overlay = None
345
+ if args.docker_bridge:
346
+ overlay = jobs / "bridge.yaml"
347
+ overlay.write_text(BRIDGE_OVERLAY)
348
+ trials: list[Trial] = []
349
+ for dataset, tasks in picked.items():
350
+ if not tasks:
351
+ continue
352
+ argv = harbor_argv(
353
+ dataset, tasks, model, jobs, dataset, attempts=attempts, context=context, lcode_with=lcode_with,
354
+ wheel=wheel, overlay=overlay,
355
+ ) # fmt: skip
356
+ console.print(f"[bold]{DATASETS[dataset]}[/]: {len(tasks)} task(s), {attempts} attempt(s) each")
357
+ console.print(f"[dim]{escape(shlex.join(argv))}[/]")
358
+ subprocess.call(argv)
359
+ trials += read_trials(jobs / dataset, dataset)
360
+ summary = summarize(trials, attempts)
361
+ print_summary(console, summary)
362
+ if any("fully subnetted" in trial.error for trial in trials):
363
+ console.print(
364
+ "Docker couldn't make a network for the tasks: all its address ranges overlap your routes (a VPN that "
365
+ "routes everything does that). Run again with [bold]--docker-bridge[/] to use Docker's default network."
366
+ )
367
+ report = {
368
+ "schema": 1,
369
+ "lcode": __version__,
370
+ "harbor": HARBOR,
371
+ "slice": args.harbor,
372
+ "model": model,
373
+ "context": context,
374
+ "attempts": attempts,
375
+ "docker_bridge": bool(args.docker_bridge),
376
+ "machine": detect().describe(),
377
+ "date": dt.datetime.now().astimezone().isoformat(timespec="seconds"),
378
+ "command": "lcode " + shlex.join(sys.argv[1:]),
379
+ "tasks": picked,
380
+ "summary": {
381
+ "pass_at_1": summary.pass_at_1,
382
+ f"pass^{attempts}": summary.pass_all,
383
+ "runs": summary.runs,
384
+ "spread": summary.spread,
385
+ "not_run": summary.not_run,
386
+ },
387
+ "results": [asdict(task) for task in summary.tasks],
388
+ "jobs": str(jobs),
389
+ }
390
+ text = json.dumps(report, indent=2) + "\n"
391
+ (jobs / "lcode-bench.json").write_text(text)
392
+ if args.json:
393
+ Path(args.json).write_text(text)
394
+ console.print(f"[dim]Results: {jobs / 'lcode-bench.json'} · Harbor's: {jobs}[/]")
395
+ return 0 if trials else 1
lcode/update.py CHANGED
@@ -18,12 +18,13 @@ from __future__ import annotations
18
18
 
19
19
  import importlib.metadata
20
20
  import json
21
+ import os
21
22
  import re
22
23
  import shutil
23
24
  import subprocess
24
25
  import sys
25
26
  import time
26
- from collections.abc import Callable
27
+ from collections.abc import Callable, MutableMapping
27
28
  from dataclasses import dataclass, field
28
29
  from pathlib import Path
29
30
  from urllib.parse import urlsplit
@@ -157,6 +158,46 @@ def lcode_install(prefix: Path | None = None, direct_url: str | None = None) ->
157
158
  return Install("pip", [sys.executable, "-m", "pip", "install", "--upgrade", "lcode-cli"])
158
159
 
159
160
 
161
+ def leave_own_environment(
162
+ env: MutableMapping[str, str] | None = None, prefix: Path | None = None, direct_url: str | None = None
163
+ ) -> bool:
164
+ """Take lcode's own environment off PATH when uvx put it there, so commands use your Python.
165
+
166
+ uvx puts the scripts folder of the temporary environment lcode runs in first on PATH. `python` in
167
+ the model's commands and in the checks was then lcode's own Python, which has none of the
168
+ project's packages ("No module named pytest"). Other installs (uv tool, pipx, Homebrew) don't
169
+ change PATH; a checkout or pip install may be the project's own environment, so they're kept.
170
+ Without a Python of your own on PATH, lcode's stays: it's better than none.
171
+ Returns whether PATH changed.
172
+ """
173
+ if lcode_install(prefix, direct_url).kind != "uvx":
174
+ return False
175
+ env = os.environ if env is None else env
176
+ scripts = (prefix or Path(sys.prefix)).resolve() / ("Scripts" if os.name == "nt" else "bin")
177
+ entries = env.get("PATH", "").split(os.pathsep)
178
+ kept = [entry for entry in entries if not entry or not same_folder(entry, scripts)]
179
+ if len(kept) == len(entries):
180
+ return False
181
+ rest = os.pathsep.join(kept)
182
+ if not any(is_python(shutil.which(name, path=rest)) for name in ("python3", "python")):
183
+ return False
184
+ env["PATH"] = rest
185
+ return True
186
+
187
+
188
+ def same_folder(entry: str, folder: Path) -> bool:
189
+ """Whether a PATH entry is this folder. One that can't be resolved (a symlink loop, say) isn't."""
190
+ try:
191
+ return Path(entry).resolve() == folder
192
+ except (OSError, RuntimeError, ValueError):
193
+ return False
194
+
195
+
196
+ def is_python(found: str | None) -> bool:
197
+ """Whether a program found on PATH is a Python, not Windows' stand-in that offers the Store."""
198
+ return found is not None and Path(found).parent.name.lower() != "windowsapps"
199
+
200
+
160
201
  @dataclass
161
202
  class CheckoutState:
162
203
  branch: str
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: lcode-cli
3
- Version: 0.53.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 |
@@ -1,6 +1,6 @@
1
1
  lcode/docs/agents.md,sha256=A1heI40IKf767li9ffAH1grLlo2RhfbmB7lHL2uhZ4g,6915
2
2
  lcode/docs/automation.md,sha256=Y57MWEVDjhOIDsnuWhzTB0K-5wlAm4nW2uOVWTAzeEM,9450
3
- lcode/docs/bench.md,sha256=cF5XqCfz7woYmW6HtCwYd8kh52uAPWcOtXpfHy4msWo,12966
3
+ lcode/docs/bench.md,sha256=4ot6vU_AKyDfj9MlMe98mFwO4l2J4fH_U5_2LxCr-PU,13109
4
4
  lcode/docs/commands.md,sha256=PpRcOoKZXw1OQyGxEbmipEPDYAid1fLDiaarHax7ynU,5973
5
5
  lcode/docs/configuration.md,sha256=9L5mZtN9HyDQ5cXugUpUX5AXxxR1qNrwLmNMUlxGKgc,11112
6
6
  lcode/docs/editors.md,sha256=9Ztqg_nyV5UTnMlJYrJrNvzY59X0d1HdWKYrs9-tZn4,3295
@@ -14,14 +14,15 @@ lcode/docs/mcp.md,sha256=Ol3ScuP4i2KsoN9xaSEbnm86Tvoc1qnUV7zkRprWwHo,15168
14
14
  lcode/docs/memory.md,sha256=XbsNnTwRdnUEYW7_2U1GHbtK0uOjTxR-s2EujgJbR0Y,6889
15
15
  lcode/docs/models.md,sha256=d9wLOVBlMtnd8_2jQG9f0-qcEbGT6qtnwOdQSco-RD8,17121
16
16
  lcode/docs/modes.md,sha256=vNQv5K-lk6egNQNlnOHk8YeIdoAsmyaWvSu-RbQeZnQ,34039
17
- lcode/docs/quickstart.md,sha256=GEyB_7ncQ5UP3UwiRS0BevMShX8y0Pqmc0BfEKX3KtY,3403
17
+ lcode/docs/public-benchmarks.md,sha256=qeesAbLkm9nJwLvx8DWsxFJ8yM3HvDYlSaqfHFghDOU,6087
18
+ lcode/docs/quickstart.md,sha256=vtSDronae09J0igheb2O8drervKaOvwezwhiDwaWB2Y,3403
18
19
  lcode/docs/sandbox.md,sha256=-_jc2I0LXKQIYCz_JOuHGaP2ehVuEqEepKqMATlFpZY,4064
19
20
  lcode/docs/search.md,sha256=UKYrYG_xo67-bOLU1hLgiiTh3Dy6s9LG4nuc2JTQHa8,4249
20
21
  lcode/docs/servers.md,sha256=0ddumHseQXx0CP0nqzgwV-493s81kdEBa6qtUYe9t6k,5718
21
22
  lcode/docs/traces.md,sha256=kt9jnnNeJHFTQW5YiFx3Zn2mIGTSn0JslUrEcQBvHq0,9815
22
23
  lcode/docs/troubleshooting.md,sha256=YcwmrpR6jcxnhDqV1-E7VQKeczfEC3xuokVkejkAoLo,6292
23
- lcode/docs/usage.md,sha256=JPGCCrxchBTPjxyFmvaGMQr0vmhuXbCxhcetMws2T5k,47945
24
- lcode/__init__.py,sha256=THzmgRSO3PMUAGf80hSF2fzkYeIvshuv7ZUSdMuxXfg,473
24
+ lcode/docs/usage.md,sha256=_dNyJhE6opWzozxAHW-7yDUHh1CEcYYAuUot0FxGYPI,48037
25
+ lcode/__init__.py,sha256=WutK5MLzugyJArtnc-Ra4gBnRK4Owl2Jw-vBkH1N0hI,473
25
26
  lcode/__main__.py,sha256=s5N5pryX2FAu93GGZ3FxUrIXHWGzxz66lKUoaV_h8Ws,35
26
27
  lcode/acp.py,sha256=eFNYdJNJd9tdCbF2UIj1N3UU4RnF2-pcMLA0KBYZbwE,29082
27
28
  lcode/action.py,sha256=wuT5F9EJCdEligPeytzmEi8FpahWBhXer528tpuTj_k,16711
@@ -35,7 +36,7 @@ lcode/bench_runtime.py,sha256=EjzNgIvUkdbT8cbSy1TpmlyeIk6e-ipjlDFpM7Dnqx0,6835
35
36
  lcode/catalog.py,sha256=pZ1azX9OH2r4JE2c6E5OfwywpgS39-W2oXzoCHJhmtM,4141
36
37
  lcode/checkpoints.py,sha256=eqPtmPe44-aweWqc2H21ROogwzIt3NpvcUobsaCHoGY,18354
37
38
  lcode/checks.py,sha256=haYYIPhadKavGYEhh8YWAaWrPMcfzrpT2i6638f4xjQ,12933
38
- lcode/cli.py,sha256=7JPKB-hjlbHmKIXE7D-wQpXxPdZgmzA3dmzf9sDDPQE,53474
39
+ lcode/cli.py,sha256=O6M6J-yWxLUIQjCeSzldoDdnziMpRYpZn0J9wmtpgQs,54327
39
40
  lcode/clipboard.py,sha256=nTSdJyCXPdtjH947RjvB3QvRqnL5HZsS9KB8EkC42cc,5138
40
41
  lcode/cloud.py,sha256=q5Dl5GuqWvKzBCIso-eh6yomvEOsnQ0LW8ZgaAGwBxc,2131
41
42
  lcode/codesearch.py,sha256=Io8leN1nb_Y-Dvlm9xaGtwUWYXX-ooswuznJV6dGU1s,10766
@@ -48,6 +49,8 @@ lcode/extensions.py,sha256=W0HFDl0BvROzr7i_qtabHdIbacBgP5o5qIJLzoM2oNE,16806
48
49
  lcode/film.py,sha256=nfffI6oMWeherp8AOU_yM7-Cok0JKoQMVeuVtVHKXo0,14455
49
50
  lcode/frontmatter.py,sha256=Bx0n4vLPhp7ZCWx-g7xqzqNy5VoKBxyeeikh5UFB_gA,2441
50
51
  lcode/gitflow.py,sha256=6j_nnCBZXkX1qhTI7K4CyZ5D0NAZLpH96weFEo64AkQ,27913
52
+ lcode/harbor.py,sha256=EkgX-7YhpodOFRkQadu03jwYump778fF3DpIonWslyc,3214
53
+ lcode/harbor_bench.py,sha256=rpRJSvbJMCnYVvtkQmHeInnWr1Mkl_gP_Ukw-MN5VSI,17595
51
54
  lcode/hardware.py,sha256=9j_gxSUYLAVtnSLIEL8FVU2q-jEEjHtMs2SVAax7yU8,5154
52
55
  lcode/hooks.py,sha256=K0itOiAuH4rxndJ9gne_uCrqby6oWAzFPRrfB3tCq-E,9324
53
56
  lcode/imageopts.py,sha256=qELIIdKUJT3GLv9mhnjr_TeYNhOXhTMW3tgHzpuqW-Q,9715
@@ -85,7 +88,7 @@ lcode/subagents.py,sha256=_zFLuDAOHlzpLvl-V7W1wBq66MKifLtKByge9b7fLJk,29443
85
88
  lcode/tools.py,sha256=XTdtcQe8Bg4GoanVSr8cbgkiFwQ-uqr_HyTT5MHVn9Q,69595
86
89
  lcode/traces.py,sha256=KlJmt_g4bZ48W8pK_KCGw8oNLX_nPlFv3rUurYdGwAw,44523
87
90
  lcode/unreachable.py,sha256=TXrv41ljwX_amxdcf4CY6qGF2YkWetORvPUSvwceJXI,8685
88
- lcode/update.py,sha256=k5sXwMIp73aC7ewAsRpGkVCRDw58ryHy33i42j9_aGk,27311
91
+ lcode/update.py,sha256=HywxgKBiQLcFsAoK7lZeQ83kDD1Mgo50lV33tf2cbt0,29202
89
92
  lcode/vision.py,sha256=w33QPmdGwP33wM4mvmAH4amFDZ1xzeXhEsSLJ-STSHY,4243
90
93
  lcode/web.py,sha256=vyxKbSRJTl1Lj3hj7Yd_NwTgbv0Xi6dup2YfUXjqp-Y,14579
91
94
  lcode/mcp/__init__.py,sha256=XujtAmRoXW9S0uq1XPf_CAeCkHh_UvA8FCmoAKP9j1Y,171
@@ -116,8 +119,8 @@ lcode/workflows/wan21-vace.json,sha256=vJsiRvLCXCjKIibOO0SGM3fT6bedAGxF8N2sN2vcP
116
119
  lcode/workflows/wan22-fun-inp-5b.json,sha256=4HbKEezik8MHvxTMP6PjQUPQPfCeSu10U9FrC-DHKYw,3327
117
120
  lcode/workflows/wan22-ti2v-5b.json,sha256=RcTehoC2pNizzlb7Ed3keJ56DiE7V5lhXmsvR2Y0smQ,3371
118
121
  lcode/workflows/z-image-turbo-t2i.json,sha256=sHsL7xnnuULOuWGYlQrDl4jOTySdAmb2T82c_cChv0s,1585
119
- lcode_cli-0.53.0.dist-info/METADATA,sha256=3oJfKGfXHM8S41M8ODbaT9pd5KF3aanAgCL87QwdtI0,14030
120
- lcode_cli-0.53.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
121
- lcode_cli-0.53.0.dist-info/entry_points.txt,sha256=Hxsn_itbnbgft3U0FwxWdmEt0yoAV2LB-nJDnL9WT20,172
122
- lcode_cli-0.53.0.dist-info/licenses/LICENSE,sha256=JWjmoL7nNIC1XUa-dZm2hwLUgjUQMFo6k8APb0idNzs,1074
123
- lcode_cli-0.53.0.dist-info/RECORD,,
122
+ lcode_cli-0.54.0.dist-info/METADATA,sha256=BfbICcVqQTpLHEWkXCo_Vy5P8HLSZPqHgM2lsmg4bxk,14142
123
+ lcode_cli-0.54.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
124
+ lcode_cli-0.54.0.dist-info/entry_points.txt,sha256=Hxsn_itbnbgft3U0FwxWdmEt0yoAV2LB-nJDnL9WT20,172
125
+ lcode_cli-0.54.0.dist-info/licenses/LICENSE,sha256=JWjmoL7nNIC1XUa-dZm2hwLUgjUQMFo6k8APb0idNzs,1074
126
+ lcode_cli-0.54.0.dist-info/RECORD,,