layermap 0.1.53 → 0.1.55

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.
package/README.md CHANGED
@@ -210,6 +210,11 @@ Maps stay in your user cache (`~/Library/Caches/layermap`, `~/.cache/layermap` o
210
210
  nothing anywhere ([privacy](https://github.com/coffeecoproject/layermap/blob/main/PRIVACY.md),
211
211
  [security](https://github.com/coffeecoproject/layermap/blob/main/SECURITY.md)).
212
212
 
213
+ The versions of LayerMap your agents start are installed in the same user cache directory.
214
+ `LAYERMAP_CACHE` moves the maps and nothing else: a program that keeps the maps of its own tests in
215
+ a directory apart still runs the versions already installed. `LAYERMAP_HOME` names another
216
+ directory for the versions.
217
+
213
218
  The MCP server tells a client that asks for progress which step a long check is on, and keeps a
214
219
  line for each tool call in `logs/calls.jsonl` in the cache: the tool, its arguments, the
215
220
  repository, how long each step took and the first line of the answer, to review how the tools are
@@ -234,6 +239,15 @@ npx layermap check --json # as JSON: related tests by rank, what
234
239
  npx layermap imports --json # every import of the project as it is now, test files apart: file and line, the file imported, and why the rest reach no file
235
240
  ```
236
241
 
242
+ **A `layermap` command.** The Claude Code plugin puts one on the PATH of Claude's shell commands.
243
+ Codex's commands, a terminal and Git hooks have none, so a program run there that calls `layermap`,
244
+ such as one choosing tests from `layermap check --json`, does not find it. Run `npx layermap setup
245
+ command` once: it writes a `layermap` command into `~/.local/bin`, which runs the newest version
246
+ installed on your machine, where each agent's plugin installs the version it starts. It follows
247
+ the plugins as they update and uses no network; where `~/.local/bin` comes before the plugin's
248
+ directory on PATH, Claude's shell commands run it too. A file of that name that is not LayerMap's
249
+ is left as it is. `npx layermap remove command` deletes it. macOS and Linux only.
250
+
237
251
  ## FAQ
238
252
 
239
253
  **How long does the first map take?** On a recent Mac:
@@ -268,6 +282,7 @@ claude -p "..." --mcp-config '{"mcpServers":{"layermap":{"command":"npx","args":
268
282
  - Codex: `codex plugin remove layermap@layermap`.
269
283
  - CodeBuddy Code: `codebuddy plugin uninstall layermap@layermap`.
270
284
  - Pi: `pi remove npm:layermap`.
285
+ - The `layermap` command, if you set it up: `npx layermap remove command`.
271
286
  - Then delete the cache directory.
272
287
 
273
288
  ## Development