@appsoftwareltd/etherpk-mcp 0.8.60 → 0.9.1
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 +13 -7
- package/dist/main.js +6822 -5345
- package/dist/main.js.map +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ This package is EtherPK's **Headless Client**: EtherPK without an editor. It ser
|
|
|
11
11
|
folder on your computer or a graph synced through a Sync Server, and the agent gets the same tools
|
|
12
12
|
for both. Protected documents are listed by name only and never served.
|
|
13
13
|
|
|
14
|
-
Needs Node.js
|
|
14
|
+
Needs Node.js 24 or later.
|
|
15
15
|
|
|
16
16
|
## Get started
|
|
17
17
|
|
|
@@ -23,8 +23,8 @@ server and graph filled in:
|
|
|
23
23
|
```sh
|
|
24
24
|
# Once per computer. Asks for an account-wide Personal Access Token (from
|
|
25
25
|
# https://sync.etherpk.com/account/tokens, or "Access tokens" in EtherPK's account menu),
|
|
26
|
-
# then shows a short code
|
|
27
|
-
#
|
|
26
|
+
# then shows a short code once a browser tab where EtherPK is unlocked answers. Approve there
|
|
27
|
+
# if the tab shows the same code, then press y here. The same step as adding a phone.
|
|
28
28
|
npx @appsoftwareltd/etherpk-mcp login --sync-server https://sync.etherpk.com
|
|
29
29
|
|
|
30
30
|
# Tell the agent about the graph (Claude Code shown - the Agents tab has the others).
|
|
@@ -110,9 +110,13 @@ directory, once per computer.
|
|
|
110
110
|
`login` makes this computer a device of your account:
|
|
111
111
|
|
|
112
112
|
- It asks for an account-wide Personal Access Token, from `<Sync Server>/account/tokens` or
|
|
113
|
-
**Access tokens** in EtherPK's account menu. `--pat` or `ETHERPK_PAT` supplies it instead.
|
|
114
|
-
|
|
115
|
-
|
|
113
|
+
**Access tokens** in EtherPK's account menu. `--pat` or `ETHERPK_PAT` supplies it instead. The
|
|
114
|
+
token can reset your encryption keys, which deletes the graphs you own, so keep it as safe as
|
|
115
|
+
your password.
|
|
116
|
+
- It unlocks your keys by Device Approval. Open EtherPK in a browser signed in to the account with
|
|
117
|
+
its keys unlocked. Once that browser answers, both show the same short code. Select **Approve** in
|
|
118
|
+
the browser, then press `y` in the terminal. Press `n` if the codes differ, which cancels the
|
|
119
|
+
request.
|
|
116
120
|
- With no EtherPK to hand, press `r` while it waits, or pass `--recovery-code`, and type your
|
|
117
121
|
Recovery Code instead. `ETHERPK_RECOVERY_CODE` supplies the code for a scripted setup.
|
|
118
122
|
|
|
@@ -233,7 +237,9 @@ On Windows both directories are under your user folder: `C:\Users\<you>\.config\
|
|
|
233
237
|
`C:\Users\<you>\.cache\etherpk\`.
|
|
234
238
|
|
|
235
239
|
To cut an agent off, revoke its Personal Access Token on the Sync Server. `logout` forgets the token
|
|
236
|
-
and keys on this computer and deletes that server's cached graphs.
|
|
240
|
+
and keys on this computer and deletes that server's cached graphs. If the computer or its login file
|
|
241
|
+
may have been copied, also replace your keys in EtherPK with **Replace keys and lock out other
|
|
242
|
+
devices**: the keys saved there then no longer open your account.
|
|
237
243
|
|
|
238
244
|
## Build from source
|
|
239
245
|
|