@appsoftwareltd/etherpk-mcp 0.6.0 → 0.7.0
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 +23 -4
- package/dist/main.js +6856 -576
- package/dist/main.js.map +1 -1
- package/package.json +11 -2
package/README.md
CHANGED
|
@@ -81,6 +81,9 @@ prints this reference, `--version` (`-v`) the version.
|
|
|
81
81
|
| `semantic setup` | Install the embedding runtime (about 300 MB, through your npm) and the 23 MB model into the cache directory. Once per computer. |
|
|
82
82
|
| `semantic status` | Whether semantic search is set up here, and each cached graph's embedding progress. |
|
|
83
83
|
| `semantic remove` | Delete the runtime and model. Each graph's stored vectors stay in its cache and are reused if you set up again. |
|
|
84
|
+
| `publish (--graph <id or name> \| --folder <path>) --publication <id> [--out <dir>]` | Publish one publication of a graph to a folder on this computer and print the report. `--out` sets the folder for that graph and publication and is remembered: the command without `--out`, and the agent's `publish` tool, write there from then on (the agent can't choose a folder). The folder's owned files (top-level `.html`, `assets/`, `theme/`, the search, feed and report files) are rewritten and their strays removed; everything else is left alone. Writes files; deploying them is yours. |
|
|
85
|
+
| `diagrams setup` | Install a Chromium (about 170 MB) into the cache directory so a publish can draw Mermaid diagrams. Once per computer; a publish with diagrams refuses until then. |
|
|
86
|
+
| `diagrams status` | Which browser a publish would use, if any. |
|
|
84
87
|
|
|
85
88
|
| Flag | Applies to | Meaning |
|
|
86
89
|
| --- | --- | --- |
|
|
@@ -91,6 +94,8 @@ prints this reference, `--version` (`-v`) the version.
|
|
|
91
94
|
| `--folder <path>` | `serve` | The local graph folder to serve. Exclusive with `--graph` and `--sync-server`. |
|
|
92
95
|
| `--no-semantic` | `serve` | Keep this agent text-only even when semantic search is set up. |
|
|
93
96
|
| `--all` | `logout` | Every server at once. |
|
|
97
|
+
| `--publication <id>` | `publish` | Which publication of the graph. `list_publications` and Settings → Publish show the ids. |
|
|
98
|
+
| `--out <dir>` | `publish` | Where the site goes on this computer. Remembered for the graph and publication. |
|
|
94
99
|
|
|
95
100
|
| Environment variable | Meaning |
|
|
96
101
|
| --- | --- |
|
|
@@ -100,13 +105,27 @@ prints this reference, `--version` (`-v`) the version.
|
|
|
100
105
|
| `ETHERPK_MCP_CACHE_DIR` | The cache root for graphs, the semantic runtime and the model. Default `~/.cache/etherpk/mcp` (`XDG_CACHE_HOME` respected). Set it in the agent registration's `env` as well as your shell: the agent starts `serve` with its own environment. |
|
|
101
106
|
| `ETHERPK_MCP_SEMANTIC_THREADS` | Threads for the embedding model. Default a quarter of the cores, at most four. |
|
|
102
107
|
| `ETHERPK_MCP_DEBUG_MEMORY` | `1` logs the process's memory use every 10 seconds and on every progress line. |
|
|
108
|
+
| `ETHERPK_MCP_PUBLISH_CONFIG` | The file remembering each publication's publish folder. Default `publish.json` beside the config file. |
|
|
109
|
+
| `ETHERPK_CHROMIUM` | A Chromium on this computer for drawing diagrams, instead of the one `diagrams setup` installs. NixOS needs this. |
|
|
103
110
|
|
|
104
111
|
## What the agent gets
|
|
105
112
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
`
|
|
113
|
+
Thirty-two tools, the same over a synced graph and a folder. Reading: `graph_info`,
|
|
114
|
+
`list_documents` (with a range of journal days), `read_document` (the body as text, the
|
|
115
|
+
frontmatter as data), `read_documents`, `search`, `backlinks`, `tasks`, `list_assets`,
|
|
116
|
+
`read_asset`, `list_publications`. Writing: `edit_document` (an exact, unique old→new
|
|
117
|
+
replacement; on a synced graph it merges with anyone typing elsewhere on the page),
|
|
118
|
+
`append_document` (a page, or a day's journal entry, created if needed), `create_page`,
|
|
119
|
+
`set_frontmatter` (`public`, `publications`, `date`, any key; never the title or aliases),
|
|
120
|
+
`set_task`, `set_aliases`, `plan_rename` and `rename` (scoped concepts carried along, links
|
|
121
|
+
rewritten by default, a merge only when confirmed), `upload_asset` (returns the markdown to
|
|
122
|
+
paste), `create_publication`, `update_publication` and `publish` (into the folder you set with
|
|
123
|
+
the `publish` command; it can't choose one). Themes: `list_themes`, `read_theme` and
|
|
124
|
+
`read_theme_file` (a theme's files out to disk to edit), `create_theme` and
|
|
125
|
+
`customise_publication_theme` (a copy in the graph, since a bundled theme is never edited in
|
|
126
|
+
place), `write_theme_file`, `delete_theme_file`, `import_theme_folder`, `delete_theme`, and
|
|
127
|
+
`preview_theme` (a rendered site to inspect, with screenshots when a browser is set up). A
|
|
128
|
+
protected document is refused by every one of them. One running instance serves one graph.
|
|
110
129
|
|
|
111
130
|
No skill or extra setup is needed: the server describes its tools and the graph, and Claude Code
|
|
112
131
|
reaches for them when you ask about your notes. To make that a rule rather than a good guess, add
|