@appsoftwareltd/etherpk-mcp 0.9.3 → 0.9.5

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
@@ -173,9 +173,11 @@ npx @appsoftwareltd/etherpk-mcp publish --graph <id or name> --publication <id>
173
173
  rewritten, and files that no longer belong are removed. Everything else in the folder is left
174
174
  alone.
175
175
  - Deploying the folder is up to you. Run the command from cron for a site that republishes itself.
176
- - Mermaid diagrams need a browser. `diagrams setup` installs a Chromium of about 170 MB into the
177
- cache directory, once per computer, and a publish whose pages hold diagrams refuses until then.
178
- `ETHERPK_CHROMIUM` names a Chromium already on the computer instead, which NixOS needs.
176
+ - Mermaid diagrams and maps need a browser. A map is published as a picture of the map, drawn over
177
+ EtherPK's map host unless `ETHERPK_MAP_STYLE_URL` names another style. `diagrams setup` installs a
178
+ Chromium of about 170 MB into the cache directory, once per computer, and a publish whose pages
179
+ hold diagrams or maps refuses until then. `ETHERPK_CHROMIUM` names a Chromium already on the
180
+ computer instead, which NixOS needs.
179
181
  - `list_publications`, or **Settings → Publish** in EtherPK, shows the publication ids.
180
182
 
181
183
  ## Reference
@@ -199,7 +201,7 @@ install the package globally once with `npm install -g @appsoftwareltd/etherpk-m
199
201
  | `semantic status` | Whether semantic search is set up, and each cached graph's embedding progress. |
200
202
  | `semantic remove` | Delete the runtime and model. Stored embeddings stay, and are reused if you set up again. |
201
203
  | `publish (--graph <id or name> \| --folder <path>) --publication <id> [--out <dir>]` | Publish one publication of a graph to a folder and print the report. |
202
- | `diagrams setup` | Install a Chromium into the cache directory, so a publish can draw Mermaid diagrams. |
204
+ | `diagrams setup` | Install a Chromium into the cache directory, so a publish can draw Mermaid diagrams and maps. |
203
205
  | `diagrams status` | Which browser a publish would use, if any. |
204
206
 
205
207
  ### Flags
@@ -232,7 +234,8 @@ because the agent starts `serve` with its own environment.
232
234
  | `ETHERPK_MCP_PUBLISH_CONFIG` | The file that remembers each publication's folder. Default `publish.json` beside the login file. |
233
235
  | `ETHERPK_MCP_SEMANTIC_THREADS` | Threads for the embedding model. Default a quarter of the cores, at most four. |
234
236
  | `ETHERPK_MCP_HOST_IDLE_SECONDS` | How long a graph's background process stays after its last agent has gone. Default 300. |
235
- | `ETHERPK_CHROMIUM` | A Chromium on this computer for drawing diagrams, instead of the one `diagrams setup` installs. |
237
+ | `ETHERPK_CHROMIUM` | A Chromium on this computer for drawing diagrams and maps, instead of the one `diagrams setup` installs. |
238
+ | `ETHERPK_MAP_STYLE_URL` | The MapLibre style a published map's picture is drawn over. Default EtherPK's map host; empty draws maps on a plain background. |
236
239
  | `PLAYWRIGHT_BROWSERS_PATH` | Where `diagrams setup` installs Chromium and a publish looks for it. Default `browsers/` in the cache directory. |
237
240
  | `ETHERPK_MCP_DEBUG_MEMORY` | `1` logs the process's memory use every 10 seconds and with every progress line. |
238
241