layermap 0.1.20 → 0.1.22
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 +8 -4
- package/analyzers/project-map-java/java-map.jar +0 -0
- package/dist/cli.mjs +491 -118
- package/package.json +1 -1
- package/pi/layermap.mjs +123 -26
package/README.md
CHANGED
|
@@ -158,10 +158,14 @@ a change meant for one feature does not quietly change the others. Environment v
|
|
|
158
158
|
configuration keys are linked by name only, which no compiler sees, so when the diff removes one
|
|
159
159
|
from a file, the check names the files that still read or set the old name. In the same way, when
|
|
160
160
|
the change reaches a route's handler or renames a route, it names the code and templates that
|
|
161
|
-
request that path: a frontend's fetch, a generated API client, a redirect or a link.
|
|
161
|
+
request that path: a frontend's fetch, a generated API client, a redirect or a link. When the change adds
|
|
162
|
+
an import between two modules of the project overview, it names it, and says when the two now
|
|
163
|
+
depend on each other; whether that direction suits the project's layers is for the agent to judge. When a
|
|
164
|
+
declaration the change adds reads almost the same as code the project already has, it names both, so
|
|
165
|
+
the agent can use the existing code instead of a copy. It never writes or runs tests. In Claude Code and
|
|
162
166
|
CodeBuddy Code the plugin asks the agent once, before it finishes, to run this check for each repository it edited code in
|
|
163
|
-
and has not checked since (changes another session makes in the same
|
|
164
|
-
Pi extension does the same after the agent's own edits. Set `LAYERMAP_STOP_CHECK=0` to turn that
|
|
167
|
+
and has not checked since, whether through its edit tools or shell commands (changes another session makes in the same
|
|
168
|
+
work tree do not count); the Pi extension does the same after the agent's own edits. Set `LAYERMAP_STOP_CHECK=0` to turn that
|
|
165
169
|
off. Codex and DeepSeek Harness are told to run it.
|
|
166
170
|
|
|
167
171
|
**Without plugins:** run `npx layermap setup claude` or `npx layermap setup codex`. Setup does three
|
|
@@ -196,7 +200,7 @@ nothing anywhere ([privacy](https://github.com/coffeecoproject/layermap/blob/mai
|
|
|
196
200
|
| `project_explore_map` | A directory, a file, or a declaration's callers and callees (`direction` INCOMING or OUTGOING, `depth` up to 8). |
|
|
197
201
|
| `project_search_map` | Find declarations by words in their names, paths or documentation. |
|
|
198
202
|
| `project_find_references` | Every usage of a declaration, compiled from current source. |
|
|
199
|
-
| `project_check_changes` | What the uncommitted changes (or those since `base`) affect: changed and removed declarations, the routes, jobs and commands they reach, the areas that share the changed code, environment variables and configuration keys it removed that other files still use, code and templates that request the affected routes, what to check by hand, and related tests. |
|
|
203
|
+
| `project_check_changes` | What the uncommitted changes (or those since `base`) affect: changed and removed declarations, the routes, jobs and commands they reach, the areas that share the changed code, environment variables and configuration keys it removed that other files still use, code and templates that request the affected routes, new dependencies between modules and the cycles they close, new code that repeats existing code, what to check by hand, and related tests. |
|
|
200
204
|
|
|
201
205
|
The same from the command line:
|
|
202
206
|
|
|
Binary file
|