layermap 0.1.56 → 0.1.57
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 +11 -7
- package/analyzers/project-map-java/java-map.jar +0 -0
- package/dist/cli.mjs +1085 -726
- package/dist/launcher.mjs +321 -47
- package/package.json +1 -1
- package/pi/layermap.mjs +1 -1
package/README.md
CHANGED
|
@@ -156,7 +156,7 @@ This adds LayerMap to every dsh profile. Each session maps the project dsh was s
|
|
|
156
156
|
npx layermap setup antigravity
|
|
157
157
|
```
|
|
158
158
|
|
|
159
|
-
Antigravity
|
|
159
|
+
Antigravity's app installs plugins only from its marketplace, so this writes LayerMap's plugin into
|
|
160
160
|
`~/.gemini/config/plugins/layermap`, which Antigravity loads by itself; `npx layermap remove
|
|
161
161
|
antigravity` deletes it. Antigravity asks before each map tool's first use; choose to always allow
|
|
162
162
|
it. It starts the server outside the project, so the plugin's rule tells the agent to give absolute
|
|
@@ -164,9 +164,14 @@ paths.
|
|
|
164
164
|
|
|
165
165
|
In every agent, start a new session in a Git repository and ask as usual. LayerMap tells the agent
|
|
166
166
|
when the map helps. A session started in a folder holding several repositories, or one that moves
|
|
167
|
-
to another repository, works too: each map tool call maps the repository its path names.
|
|
168
|
-
|
|
169
|
-
|
|
167
|
+
to another repository, works too: each map tool call maps the repository its path names. Your
|
|
168
|
+
machine runs one LayerMap, the version installed in LayerMap's cache that its plugins, `layermap
|
|
169
|
+
setup` and the `layermap` command all start: the first session installs the latest `layermap`
|
|
170
|
+
package there with npm, later ones start it without npm, even offline. While a session runs,
|
|
171
|
+
LayerMap asks npm once an hour for the latest version, installs it, and switches the machine to it
|
|
172
|
+
once it has started; every session moves to it between tool calls, so no plugin needs updating for
|
|
173
|
+
LayerMap to update, and a version that does not start is never switched to. Pi runs the package it
|
|
174
|
+
installed itself, and `npx layermap mcp` the one npx fetches.
|
|
170
175
|
|
|
171
176
|
Claude Code asks once before each map tool runs in a project. Choose "don't ask again", or run
|
|
172
177
|
`npx layermap allow claude` to allow the plugin's read-only tools everywhere.
|
|
@@ -254,9 +259,8 @@ npx layermap imports --json # every import of the project as it is
|
|
|
254
259
|
**A `layermap` command.** The Claude Code plugin puts one on the PATH of Claude's shell commands.
|
|
255
260
|
Codex's commands, a terminal and Git hooks have none, so a program run there that calls `layermap`,
|
|
256
261
|
such as one choosing tests from `layermap check --json`, does not find it. Run `npx layermap setup
|
|
257
|
-
command` once: it writes a `layermap` command into `~/.local/bin`, which runs the
|
|
258
|
-
|
|
259
|
-
the plugins as they update and uses no network; where `~/.local/bin` comes before the plugin's
|
|
262
|
+
command` once: it writes a `layermap` command into `~/.local/bin`, which runs the version every
|
|
263
|
+
agent's plugin runs on your machine, and installs it with npm only when there is none; where `~/.local/bin` comes before the plugin's
|
|
260
264
|
directory on PATH, Claude's shell commands run it too. A file of that name that is not LayerMap's
|
|
261
265
|
is left as it is. `npx layermap remove command` deletes it. macOS and Linux only.
|
|
262
266
|
|
|
Binary file
|