@needmoretruth/nmts-cli 0.59.1 → 0.61.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/AGENTS.md +49 -49
- package/CHANGELOG.md +128 -99
- package/LICENSING.md +8 -8
- package/README.ko.md +156 -156
- package/README.md +111 -111
- package/dist/api-advice.js +34 -34
- package/dist/api-key.js +2 -2
- package/dist/artifact-about.d.ts +1 -1
- package/dist/autonomy.js +12 -12
- package/dist/code-access.js +3 -3
- package/dist/code-vault.js +1 -1
- package/dist/commands/accept-terms.js +4 -4
- package/dist/commands/ai-account.js +10 -10
- package/dist/commands/balance.js +7 -7
- package/dist/commands/create-code-file.js +3 -3
- package/dist/commands/create-link.js +36 -41
- package/dist/commands/create-pass.js +3 -3
- package/dist/commands/create.js +4 -4
- package/dist/commands/credits.js +2 -2
- package/dist/commands/delete-account.js +3 -3
- package/dist/commands/deposit.js +3 -3
- package/dist/commands/devices.js +3 -3
- package/dist/commands/documents.js +1 -1
- package/dist/commands/env.js +13 -13
- package/dist/commands/erase.js +5 -5
- package/dist/commands/expiring.js +4 -4
- package/dist/commands/extend.js +8 -8
- package/dist/commands/get.js +2 -2
- package/dist/commands/handover.js +2 -2
- package/dist/commands/key-manage.js +2 -2
- package/dist/commands/key.js +5 -5
- package/dist/commands/link.js +2 -2
- package/dist/commands/links.js +1 -1
- package/dist/commands/listfile.js +3 -3
- package/dist/commands/login-passphrase.js +4 -4
- package/dist/commands/login.js +9 -9
- package/dist/commands/logout.js +1 -1
- package/dist/commands/losses.js +7 -7
- package/dist/commands/ls.js +7 -7
- package/dist/commands/marks.js +1 -1
- package/dist/commands/mcp.js +4 -4
- package/dist/commands/mode.js +8 -8
- package/dist/commands/on-collision.js +4 -4
- package/dist/commands/openers-attach.js +1 -1
- package/dist/commands/organise.js +1 -1
- package/dist/commands/padding.js +3 -3
- package/dist/commands/platform.js +2 -2
- package/dist/commands/public-code-manage.js +4 -4
- package/dist/commands/public-code.js +4 -4
- package/dist/commands/pull.js +1 -1
- package/dist/commands/push-heavy.js +1 -1
- package/dist/commands/push-wallet.js +1 -1
- package/dist/commands/push.js +2 -2
- package/dist/commands/put-heavy.js +2 -2
- package/dist/commands/put-payer.js +1 -1
- package/dist/commands/put-wallet.js +5 -5
- package/dist/commands/put.js +3 -3
- package/dist/commands/rebuild.js +13 -13
- package/dist/commands/receive.js +2 -2
- package/dist/commands/recovery-list.js +1 -1
- package/dist/commands/recovery.js +7 -7
- package/dist/commands/rollback.js +2 -2
- package/dist/commands/s3.js +3 -3
- package/dist/commands/share.js +7 -7
- package/dist/commands/shares-sent.js +2 -2
- package/dist/commands/support.js +1 -1
- package/dist/commands/sweep.js +3 -3
- package/dist/commands/tip.js +2 -2
- package/dist/commands/trial.js +8 -8
- package/dist/commands/unlock.js +6 -6
- package/dist/commands/update.js +3 -3
- package/dist/commands/usage.js +4 -4
- package/dist/commands/verify.js +1 -1
- package/dist/commands/wallet-activity.js +3 -3
- package/dist/commands/wallet-donate.js +4 -4
- package/dist/commands/wallet-hall.js +5 -5
- package/dist/commands/wallet-list.js +2 -2
- package/dist/commands/wallet-send.js +5 -5
- package/dist/commands/wallet-storage-buy.js +1 -1
- package/dist/commands/wallet-storage-extend.js +1 -1
- package/dist/commands/wallet-storage-ops.js +5 -5
- package/dist/commands/wallet-storage.js +1 -1
- package/dist/commands/wallet-swap.js +14 -14
- package/dist/commands/wallet-use.js +2 -2
- package/dist/commands/wallet.js +6 -6
- package/dist/consent.js +7 -7
- package/dist/credentials.js +1 -1
- package/dist/deposit.js +1 -1
- package/dist/download-part.js +1 -1
- package/dist/download-sink-node.js +3 -3
- package/dist/download.js +1 -1
- package/dist/drive-edit/errors.js +1 -1
- package/dist/drive-edit/folders.js +1 -1
- package/dist/drive-edit/trash.js +2 -2
- package/dist/drive-erase.js +1 -1
- package/dist/environment.js +5 -5
- package/dist/errors.js +1 -1
- package/dist/extend-budget.js +5 -5
- package/dist/extend-chain.js +1 -1
- package/dist/extend-plan.js +4 -4
- package/dist/gate.js +1 -1
- package/dist/handover.js +2 -2
- package/dist/heavy-copy.d.ts +1 -1
- package/dist/heavy-copy.js +7 -7
- package/dist/help-options.js +13 -13
- package/dist/help.js +54 -40
- package/dist/human-check.js +2 -2
- package/dist/kit-file.js +6 -6
- package/dist/list-file.js +1 -1
- package/dist/manifest-chunk-flow.js +1 -1
- package/dist/manifest-create.js +2 -2
- package/dist/manifest-write.js +1 -1
- package/dist/manifest.js +6 -3
- package/dist/mcp-args.js +1 -1
- package/dist/mcp-tools/credits.js +5 -5
- package/dist/mcp-tools/files.js +6 -6
- package/dist/mcp-tools/organise.js +7 -7
- package/dist/mcp-tools/reads.js +17 -17
- package/dist/mcp-tools/share.js +6 -6
- package/dist/mcp-tools/support.js +3 -3
- package/dist/mcp-tools/tiers.js +4 -4
- package/dist/notice.js +1 -1
- package/dist/openers/wallet.js +1 -1
- package/dist/platform-sign.js +2 -2
- package/dist/product.d.ts +1 -1
- package/dist/product.js +1 -1
- package/dist/public-codes.js +2 -2
- package/dist/recovery-assemble.js +1 -1
- package/dist/recovery-map-file.js +1 -1
- package/dist/recovery-map.js +1 -1
- package/dist/recovery-source.js +1 -1
- package/dist/recovery.js +1 -1
- package/dist/risk.d.ts +4 -4
- package/dist/risk.js +4 -4
- package/dist/s3/call.js +1 -1
- package/dist/s3/same-file.js +1 -1
- package/dist/setup-questions.js +1 -1
- package/dist/shared/lib/drive/manifest-index.d.ts +9 -0
- package/dist/shared/lib/drive/manifest-index.js +11 -0
- package/dist/shared/lib/heavy/order-plan.js +4 -4
- package/dist/shared/lib/heavy/sp-upload.js +1 -1
- package/dist/shared/lib/upload/relay-limit.d.ts +30 -0
- package/dist/shared/lib/upload/relay-limit.js +74 -0
- package/dist/shared/lib/vendor/nmt-pow.d.ts +21 -0
- package/dist/shared/lib/vendor/nmt-pow.js +56 -0
- package/dist/shared/lib/walrus/node-certificate.js +1 -1
- package/dist/shared/lib/walrus/node-quorum.js +1 -1
- package/dist/sharing-inbox.js +1 -1
- package/dist/sharing.js +4 -4
- package/dist/standing-tip.js +1 -1
- package/dist/storage-control/extend.js +2 -2
- package/dist/storage-control/reshape.js +3 -3
- package/dist/support-copy.js +4 -4
- package/dist/support-wire.js +4 -4
- package/dist/update-source.js +1 -1
- package/dist/upload-price.d.ts +10 -0
- package/dist/upload-price.js +21 -0
- package/dist/upload-quote.js +2 -2
- package/dist/upload-run.js +1 -1
- package/dist/upload-steps.js +1 -1
- package/dist/upload-store.js +1 -1
- package/dist/upload-wallet-chain.js +1 -1
- package/dist/upload-wallet-plan.js +12 -12
- package/dist/upload-wallet-put.js +1 -1
- package/dist/upload-wallet.js +2 -2
- package/dist/upload.js +2 -2
- package/dist/wallet-grant.js +3 -3
- package/dist/wallet-pay-index.js +1 -1
- package/dist/wallet-sign-external.js +5 -5
- package/dist/wallet-sign.js +6 -6
- package/dist/wallet-swap-words.js +3 -3
- package/dist/walrus.js +2 -2
- package/docs/commands/accept-terms.md +3 -3
- package/docs/commands/ai-account.md +4 -4
- package/docs/commands/create.md +8 -8
- package/docs/commands/credits.md +9 -9
- package/docs/commands/delete-account.md +4 -4
- package/docs/commands/deposit.md +7 -7
- package/docs/commands/devices.md +4 -4
- package/docs/commands/documents.md +5 -5
- package/docs/commands/env.md +10 -10
- package/docs/commands/extend.md +4 -4
- package/docs/commands/folders.md +3 -3
- package/docs/commands/get.md +4 -4
- package/docs/commands/handover.md +12 -12
- package/docs/commands/heavy.md +4 -4
- package/docs/commands/key.md +8 -8
- package/docs/commands/link.md +9 -9
- package/docs/commands/login.md +4 -4
- package/docs/commands/logout.md +2 -2
- package/docs/commands/losses.md +3 -3
- package/docs/commands/ls.md +5 -5
- package/docs/commands/marks.md +5 -5
- package/docs/commands/mcp.md +9 -9
- package/docs/commands/mode.md +6 -6
- package/docs/commands/on-collision.md +4 -4
- package/docs/commands/openers.md +5 -5
- package/docs/commands/padding.md +7 -7
- package/docs/commands/platform.md +2 -2
- package/docs/commands/public-code.md +8 -8
- package/docs/commands/pull.md +2 -2
- package/docs/commands/push.md +3 -3
- package/docs/commands/put.md +11 -11
- package/docs/commands/rebuild.md +5 -5
- package/docs/commands/recovery.md +4 -4
- package/docs/commands/s3.md +6 -6
- package/docs/commands/share.md +8 -8
- package/docs/commands/support.md +7 -7
- package/docs/commands/tip.md +7 -7
- package/docs/commands/trash.md +8 -8
- package/docs/commands/trial.md +5 -5
- package/docs/commands/unlock.md +4 -4
- package/docs/commands/update.md +3 -3
- package/docs/commands/usage.md +4 -4
- package/docs/commands/verify.md +5 -5
- package/docs/commands/wallet.md +25 -25
- package/docs/commands/whoami.md +5 -5
- package/examples/podman.sh +3 -3
- package/package.json +1 -1
- package/server.json +2 -2
package/docs/commands/losses.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# nmts losses
|
|
1
|
+
# nmts losses: storage the daily check could not find
|
|
2
2
|
|
|
3
3
|
Commands: losses
|
|
4
|
-
Tiers: losses=none
|
|
4
|
+
Tiers: losses=none, losses.dismiss=medium
|
|
5
5
|
|
|
6
6
|
Lists storage objects paid with this account's credits that NMTS's daily check could not find on
|
|
7
7
|
the chain, newest first: a public chain object id and the day a check first missed it, no file
|
|
@@ -9,5 +9,5 @@ name, because the server cannot pair them. `--recheck <id>` asks the chain again
|
|
|
9
9
|
read.
|
|
10
10
|
|
|
11
11
|
`--dismiss <id>` puts a line down for good, which is somebody saying "I have read this". In the
|
|
12
|
-
default mode it asks first (or takes `--yes`)
|
|
12
|
+
default mode it asks first (or takes `--yes`). In an auto mode it is your judgement, and the safe
|
|
13
13
|
judgement is to show the person the line rather than dismiss it for them.
|
package/docs/commands/ls.md
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
# nmts ls
|
|
1
|
+
# nmts ls: list the files
|
|
2
2
|
|
|
3
3
|
Commands: ls, listfile
|
|
4
|
-
Tiers: ls=none
|
|
4
|
+
Tiers: ls=none, listfile=none
|
|
5
5
|
|
|
6
6
|
`nmts ls` lists the account's files. `--json` prints one object: `{state, seq, entries: [{id, path,
|
|
7
7
|
kind, size, updatedAt, trashed, trashedAt}], hiddenTrashed, firstTimeOnThisMachine,
|
|
8
|
-
serverSeqDisagreed}
|
|
9
|
-
`hiddenTrashed` says how many
|
|
8
|
+
serverSeqDisagreed}`; parse that, not the table. Trashed entries are omitted unless `--all`, and
|
|
9
|
+
`hiddenTrashed` says how many. Do not report a file as gone without checking. `--find <text>`
|
|
10
10
|
keeps only names containing the text, `--sort name|size|date` and `--desc` order the listing.
|
|
11
11
|
|
|
12
12
|
It refuses rather than lists when the server offers a file list older than one this machine has
|
|
13
|
-
already seen, or a different list at the same version. Report that and stop
|
|
13
|
+
already seen, or a different list at the same version. Report that and stop. It is not transient.
|
|
14
14
|
|
|
15
15
|
`nmts listfile` writes this machine's copy of the sealed file list out as a file (`--out`, or
|
|
16
16
|
`--out -` for stdout). It is sealed: without the NMTS key it says nothing.
|
package/docs/commands/marks.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
# nmts star, pin, label
|
|
1
|
+
# nmts star, pin, label: marks on files
|
|
2
2
|
|
|
3
3
|
Commands: star, unstar, pin, unpin, label, unlabel
|
|
4
|
-
Tiers: star=none
|
|
4
|
+
Tiers: star=none, unstar=none, pin=none, unpin=none, label=none, unlabel=none
|
|
5
5
|
|
|
6
|
-
Free and reversible
|
|
7
|
-
holds them at the top of their folder, and `label <name> <files>` attaches a word you choose
|
|
6
|
+
Free and reversible. Nothing here asks. `star <files>` gathers files in favourites, `pin <files>`
|
|
7
|
+
holds them at the top of their folder, and `label <name> <files>` attaches a word you choose. The
|
|
8
8
|
`un-` forms take each off. A label exists while a file has it. `label --rename <old> <new>`
|
|
9
|
-
renames a label on every file that carries it
|
|
9
|
+
renames a label on every file that carries it. `unlabel <name> --all` takes it off all of them.
|
package/docs/commands/mcp.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# nmts mcp
|
|
1
|
+
# nmts mcp: serve this account as MCP tools
|
|
2
2
|
|
|
3
3
|
Commands: mcp
|
|
4
4
|
Tiers: mcp=none
|
|
@@ -8,15 +8,15 @@ files land in when they started the server (`--out`), and no tool takes a destin
|
|
|
8
8
|
description starts with its tier, the listing carries the MCP hints (read-only, destructive), and
|
|
9
9
|
the same gate the command line runs sits before every call: a locked act is refused until a person
|
|
10
10
|
unlocks it at a terminal, and an act that needs the person's yes in this mode is put to them over
|
|
11
|
-
MCP elicitation
|
|
11
|
+
MCP elicitation, or refused, naming the way round it, when the client cannot ask.
|
|
12
12
|
|
|
13
13
|
The tools: `nmts_whoami` `nmts_list` `nmts_usage` `nmts_expiring` `nmts_balance` `nmts_shares`
|
|
14
|
-
`nmts_shares_sent
|
|
15
|
-
`nmts_notice` `nmts_terms` `nmts_privacy
|
|
16
|
-
`nmts_pull` `nmts_receive
|
|
17
|
-
`nmts_public_code_new` `nmts_public_code_revoke
|
|
14
|
+
`nmts_shares_sent`, `nmts_wallet_activity` `nmts_wallet_storage`, `nmts_devices`, `nmts_notices`
|
|
15
|
+
`nmts_notice` `nmts_terms` `nmts_privacy`, `nmts_losses` `nmts_loss_recheck`, `nmts_get`
|
|
16
|
+
`nmts_pull` `nmts_receive`, `nmts_put` `nmts_push` `nmts_padding` `nmts_deposit`, `nmts_public_code`
|
|
17
|
+
`nmts_public_code_new` `nmts_public_code_revoke`,
|
|
18
18
|
`nmts_mkdir` `nmts_move` `nmts_rename` `nmts_mark` `nmts_label_rename` `nmts_unlabel_all`
|
|
19
|
-
`nmts_trash` `nmts_restore
|
|
19
|
+
`nmts_trash` `nmts_restore`, `nmts_credits_transfer`, `nmts_share` `nmts_unshare`, `nmts_support_send`
|
|
20
20
|
`nmts_support_list` `nmts_support_show` `nmts_support_reply`.
|
|
21
21
|
|
|
22
22
|
Deliberately absent: signing in or out, keys and unlocks, the human check, permanent destruction,
|
|
@@ -29,6 +29,6 @@ codex mcp add nmts -- nmts mcp --out /where/files/should/land
|
|
|
29
29
|
opencode mcp add nmts -- nmts mcp --out /where/files/should/land
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
A sealed stored NMTS key is opened once, at startup
|
|
32
|
+
A sealed stored NMTS key is opened once, at startup. `nmts mcp` never prompts, so a sealed key with
|
|
33
33
|
no `NMTS_PASSPHRASE` exits 3 at startup rather than hang. Arguments are checked against what each
|
|
34
|
-
tool declares
|
|
34
|
+
tool declares: `"dry_run": "true"` is a refusal, not an upload.
|
package/docs/commands/mode.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
# nmts mode
|
|
1
|
+
# nmts mode: how much an agent may decide without asking
|
|
2
2
|
|
|
3
3
|
Commands: mode
|
|
4
4
|
Tiers: mode=none
|
|
5
5
|
|
|
6
|
-
Every act this tool performs has a tier
|
|
6
|
+
Every act this tool performs has a tier (none, low, medium, high, ultra-high) and the mode says
|
|
7
7
|
what each tier meets:
|
|
8
8
|
|
|
9
9
|
| | default | auto-low | auto-high | skip-permissions |
|
|
@@ -14,16 +14,16 @@ what each tier meets:
|
|
|
14
14
|
| high | unlock, then asks | unlock, then asks | unlock, then asks | runs |
|
|
15
15
|
| ultra-high | a person types | refused | refused | `--reason` and `--yes` |
|
|
16
16
|
|
|
17
|
-
"Asks" means: at a terminal, a y/N question
|
|
17
|
+
"Asks" means: at a terminal, a y/N question. With no terminal, exit 5 and the sentence to run again
|
|
18
18
|
with `--yes` after the person has said so. "Your judgement" means the tool does not block: in an
|
|
19
19
|
auto mode you decide whether this is what the person wants, and auto-high is the mode where they
|
|
20
20
|
asked you to think further ahead than auto-low. "Unlock" is `nmts unlock <key>`, a person's act at
|
|
21
|
-
a terminal (`nmts help unlock`). Under skip-permissions nothing asks and nothing is locked
|
|
21
|
+
a terminal (`nmts help unlock`). Under skip-permissions nothing asks and nothing is locked. An
|
|
22
22
|
ultra-high act still wants a `--reason`, which is where you say why it is right.
|
|
23
23
|
|
|
24
24
|
Switching is a person's act: `nmts mode auto-low` at a terminal (the auto modes ask y/N, skip-
|
|
25
|
-
permissions asks for a typed sentence)
|
|
25
|
+
permissions asks for a typed sentence). `nmts mode default` turns it off. `nmts mode explain
|
|
26
26
|
<mode>` prints what a mode does, its risk and its gain, and `nmts mode` prints which one is on.
|
|
27
27
|
Every other command announces an active mode on stderr. Do not switch a mode, and do not tell the
|
|
28
|
-
person to switch one so that you can finish a task
|
|
28
|
+
person to switch one so that you can finish a task. You may recommend one when it fits, with the
|
|
29
29
|
explanation, and let them decide.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
# nmts on-collision
|
|
1
|
+
# nmts on-collision: a name already in use
|
|
2
2
|
|
|
3
3
|
Commands: on-collision
|
|
4
|
-
Tiers: on-collision=none
|
|
4
|
+
Tiers: on-collision=none, on-collision.set=low
|
|
5
5
|
|
|
6
6
|
Reads or sets what an upload does when its name is already taken in the destination folder:
|
|
7
|
-
`rename` numbers the new file (`report (2).pdf`) and leaves what is there alone
|
|
7
|
+
`rename` numbers the new file (`report (2).pdf`) and leaves what is there alone. `overwrite` puts
|
|
8
8
|
the old file in the trash, where `nmts restore` brings it back for thirty days. The default is
|
|
9
9
|
`rename`. Setting it is a low act: asked once in the default mode, run in an auto mode.
|
|
10
10
|
|
|
11
11
|
`put --on-collision overwrite` asks for the other answer for one run, and only takes effect while a
|
|
12
|
-
mode is on
|
|
12
|
+
mode is on. In the default mode the upload is renamed and says so, because displacing somebody's
|
|
13
13
|
file is not a decision an agent makes alone.
|
package/docs/commands/openers.md
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
# nmts openers
|
|
1
|
+
# nmts openers: the wallets that open this account
|
|
2
2
|
|
|
3
3
|
Commands: openers
|
|
4
|
-
Tiers: openers=none
|
|
4
|
+
Tiers: openers=none, openers.add=medium, openers.remove=medium
|
|
5
5
|
|
|
6
6
|
An opener is a second way into the account. The account keeps its NMTS key, and that key is still
|
|
7
|
-
the root
|
|
7
|
+
the root. An opener is a copy of it on the NMTS server, locked so that only one wallet's signature of
|
|
8
8
|
one fixed message opens it. NMTS cannot open the copy and does not learn which wallet it belongs to.
|
|
9
9
|
|
|
10
|
-
`nmts openers` lists what this account has
|
|
10
|
+
`nmts openers` lists what this account has (a locator, the kind, the day it was added) and how
|
|
11
11
|
many it may have. `nmts openers add --sui-key-file <file>` attaches a wallet, and
|
|
12
12
|
`nmts openers remove <locator>` takes one off. All three need the NMTS key beside the API key.
|
|
13
13
|
|
|
14
14
|
The file holds one `suiprivkey1…` line. The wallet's key is read, used to sign, never printed, and
|
|
15
15
|
never accepted as an option value. `--account <n>` (default 1) picks which of that wallet's accounts
|
|
16
|
-
and `--app <name>` makes a key for one product only
|
|
16
|
+
and `--app <name>` makes a key for one product only. Both are inside the signed message, so another
|
|
17
17
|
value is another signature and another account.
|
|
18
18
|
|
|
19
19
|
Attaching asks the wallet to sign the same message twice and refuses unless the two signatures are
|
package/docs/commands/padding.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
# nmts padding
|
|
1
|
+
# nmts padding: how file sizes are hidden
|
|
2
2
|
|
|
3
3
|
Commands: padding
|
|
4
|
-
Tiers: padding=none
|
|
4
|
+
Tiers: padding=none, padding.set=low
|
|
5
5
|
|
|
6
|
-
A stored file's size is public on the storage network no matter what
|
|
6
|
+
A stored file's size is public on the storage network no matter what. Padding is how coarsely it
|
|
7
7
|
is rounded up before sealing. `standard` allows a few dozen sizes per doubling for about one
|
|
8
|
-
percent more storage
|
|
8
|
+
percent more storage. `pow2` allows one per doubling, hides more, and costs more on average. `off`
|
|
9
9
|
rounds nothing, so the file's exact length is visible to the network and to anyone who reads the
|
|
10
10
|
blob, and about one percent less storage is used. The setting lives in the sealed file list, so it
|
|
11
|
-
follows the account to every device and the server never learns it. Reading costs a list read
|
|
12
|
-
|
|
13
|
-
applies to what is uploaded next
|
|
11
|
+
follows the account to every device and the server never learns it. Reading costs a list read.
|
|
12
|
+
Setting costs a list write, is a low act (asked once in the default mode, run in an auto mode), and
|
|
13
|
+
applies to what is uploaded next. Bytes already on the network are not re-padded.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# nmts platform
|
|
1
|
+
# nmts platform: the key pair a business signs with
|
|
2
2
|
|
|
3
3
|
Commands: platform
|
|
4
|
-
Tiers: platform=none
|
|
4
|
+
Tiers: platform=none, platform.keygen=medium
|
|
5
5
|
|
|
6
6
|
`platform keygen` makes an Ed25519 key pair and writes both halves to `nmts-business-key.json`, or
|
|
7
7
|
to `--out <file>`, with mode 0600 (on Windows, where no file mode applies, it removes the inherited
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
# nmts public-code
|
|
1
|
+
# nmts public-code: the codes other accounts send files to
|
|
2
2
|
|
|
3
3
|
Commands: public-code
|
|
4
|
-
Tiers: public-code=none
|
|
4
|
+
Tiers: public-code=none, public-code.list=none, public-code.publish=medium, public-code.new=medium, public-code.revoke=high
|
|
5
5
|
|
|
6
|
-
`public-code` prints the account's default public code
|
|
6
|
+
`public-code` prints the account's default public code (its lowest-numbered live one) and whether
|
|
7
7
|
it has been published. It is not the NMTS key. An unpublished code cannot receive anything, and
|
|
8
8
|
publishing is a public act, so it is `--publish` and not automatic: in the default mode it asks
|
|
9
|
-
first (or takes `--yes`)
|
|
9
|
+
first (or takes `--yes`). In an auto mode it is your judgement, and one to put to the person.
|
|
10
10
|
|
|
11
11
|
Every code comes from the one NMTS key, at a number: 0, 1, 2, … An account holds one to three live
|
|
12
12
|
codes (a Platform user exactly one). `public-code list` shows every code, live and revoked, with how
|
|
13
|
-
many shares and messages went through it
|
|
14
|
-
the next number
|
|
13
|
+
many shares and messages went through it. `--activity` lists the shares. `public-code new` publishes
|
|
14
|
+
the next number. `--replace <n>` revokes that code in the same request. `public-code revoke <n>`
|
|
15
15
|
revokes one: nobody can send to it again, nobody can bring it back, and files already received with
|
|
16
16
|
it stay. The last live code cannot be revoked. Revoking, by either command, asks every time and
|
|
17
|
-
needs `--yes` where nobody can answer. The server caps how many codes an account makes per UTC day
|
|
17
|
+
needs `--yes` where nobody can answer. The server caps how many codes an account makes per UTC day.
|
|
18
18
|
`list` prints the cap and how many were made today.
|
|
19
19
|
|
|
20
20
|
`--save [file]` writes the public code file of your default code: the public code and the
|
|
21
21
|
identity behind it, nothing secret. When an API key on this machine can read your list of codes,
|
|
22
|
-
the default is the lowest-numbered live one
|
|
22
|
+
the default is the lowest-numbered live one. With no key it is code 0, the code every NMTS key
|
|
23
23
|
starts with. `--save --as <n>` writes the file of code n instead and asks the server nothing.
|
|
24
24
|
Without a file name it writes `nmts-public-code-<public code>.nmtscode` in the current directory.
|
|
25
25
|
It needs the NMTS key. Whoever has the file can make
|
package/docs/commands/pull.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
# nmts pull
|
|
1
|
+
# nmts pull: fetch a folder, or everything
|
|
2
2
|
|
|
3
3
|
Commands: pull
|
|
4
4
|
Tiers: pull=none
|
|
5
5
|
|
|
6
6
|
Downloads a whole folder, or the whole account with no argument, keeping its shape under `--out`.
|
|
7
|
-
Files already present with the right content are skipped
|
|
7
|
+
Files already present with the right content are skipped. `--force` replaces what differs. Unlike
|
|
8
8
|
`push`, it carries on past a file that fails and reports the list at the end, because a download
|
|
9
9
|
that fails costs nothing to try again.
|
package/docs/commands/push.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
# nmts push
|
|
1
|
+
# nmts push: upload a whole directory
|
|
2
2
|
|
|
3
3
|
Commands: push
|
|
4
|
-
Tiers: push=medium
|
|
4
|
+
Tiers: push=medium, push.wallet=high(wallet), push.evm=high(wallet)
|
|
5
5
|
|
|
6
6
|
Uploads a directory, rebuilding its shape in the account, and spends credits the way `put` does
|
|
7
|
-
(`nmts help put`). It stops at the first failure, saying what is already uploaded
|
|
7
|
+
(`nmts help put`). It stops at the first failure, saying what is already uploaded. Running it again
|
|
8
8
|
sends only the rest. Names already in the destination are skipped, dot-files are left alone
|
|
9
9
|
without `--hidden`, and symbolic links are not followed. `--to` names the destination folder,
|
|
10
10
|
`--dry-run` prices the whole run and sends nothing.
|
package/docs/commands/put.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# nmts put
|
|
1
|
+
# nmts put: encrypt one file and upload it
|
|
2
2
|
|
|
3
3
|
Commands: put
|
|
4
|
-
Tiers: put=medium
|
|
4
|
+
Tiers: put=medium, put.wallet=high(wallet), put.evm=high(wallet)
|
|
5
5
|
|
|
6
6
|
`put` spends credits: one per started mebibyte, and the price is printed before the upload
|
|
7
|
-
starts. In the default mode it asks first (answer at the terminal, or run with `--yes`)
|
|
8
|
-
|
|
7
|
+
starts. In the default mode it asks first (answer at the terminal, or run with `--yes`).
|
|
8
|
+
In an auto mode it runs when you judge it is what the person wants.
|
|
9
9
|
|
|
10
10
|
```sh
|
|
11
11
|
nmts put report.pdf --dry-run # says the price, sends nothing, charges nothing
|
|
@@ -15,10 +15,10 @@ nmts put report.pdf --json # one JSON object, no progress output
|
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
A file larger than one part (64 MiB by default, `--part-size` changes it) is split and each part
|
|
18
|
-
is bought separately
|
|
18
|
+
is bought separately. A run that stops partway is finished by running the same command again, which
|
|
19
19
|
buys only what was never bought. If `put` fails, read whether the message says the account has
|
|
20
|
-
already paid: when it has, the same command finishes the job for nothing more
|
|
21
|
-
nothing was spent. `CHAIN_UNCERTAIN` is the one refusal where retrying can pay twice
|
|
20
|
+
already paid: when it has, the same command finishes the job for nothing more. When it has not,
|
|
21
|
+
nothing was spent. `CHAIN_UNCERTAIN` is the one refusal where retrying can pay twice: run
|
|
22
22
|
`nmts ls` and look for the file first.
|
|
23
23
|
|
|
24
24
|
A name already taken in that folder is decided by this machine's setting (`nmts help on-collision`).
|
|
@@ -36,7 +36,7 @@ cuts it to size and leaves the rest free, `whole` binds all of it with the file.
|
|
|
36
36
|
`--pay wallet` exit 2. With the account's storage copy of the recovery list on, a one-part file
|
|
37
37
|
under 64 MiB onto new storage goes up with the newest recovery list in the same quilt, as in the web
|
|
38
38
|
app, and `nmts-recovery --find` finds that list with the NMTS key alone. The review's WAL includes
|
|
39
|
-
it. If the list is left out, a warning says why and the file goes up on its own
|
|
39
|
+
it. If the list is left out, a warning says why and the file goes up on its own. `--json` reports
|
|
40
40
|
`recoveryList` (its number, or `null`).
|
|
41
41
|
|
|
42
42
|
**`--tier heavy`** stores the file on NMTS Heavy instead of NMTS Standard: each part is kept whole in
|
|
@@ -44,10 +44,10 @@ two separate places on Filecoin rather than spread across Walrus storage nodes.
|
|
|
44
44
|
two ways. With credits (the default) each part costs half the Standard credits, rounded up and at
|
|
45
45
|
least one, and the file is kept 28 days. With
|
|
46
46
|
`--pay wallet` the WAL price is set when the upload opens, the wallet is checked for it before
|
|
47
|
-
anything is encrypted, and it is paid once, after the file is stored
|
|
47
|
+
anything is encrypted, and it is paid once, after the file is stored. `--days N` (1 to 365, default 28)
|
|
48
48
|
is the term. Parts are 512 MiB, and `--part-size`, `--epochs`, `--storage`, `--from`, `--deposit` and
|
|
49
49
|
`--thumbnail` do not apply.
|
|
50
|
-
`get`, `ls` and deletion work the same for both tiers
|
|
50
|
+
`get`, `ls` and deletion work the same for both tiers. `nmts ls --long` shows each file's tier. The
|
|
51
51
|
default is `--tier standard`. A Heavy run that stops is not resumed: running it again is a new upload.
|
|
52
52
|
|
|
53
53
|
**`--tier heavy --pay evm`** pays Filecoin yourself from the EVM wallet the NMTS key derives, out of
|
|
@@ -55,7 +55,7 @@ its Filecoin Pay deposit, with `--copies` and `--providers` choosing where. See
|
|
|
55
55
|
|
|
56
56
|
**`--thumbnail`** on a video also sends one frame of it as `<saved name>.thumb.jpg`: an ordinary
|
|
57
57
|
small file, priced, sealed and paid for like any other, linked to the video so every app shows it
|
|
58
|
-
as the video's tile. The frame is taken by `ffmpeg` (one second in, 512 px on the long side)
|
|
58
|
+
as the video's tile. The frame is taken by `ffmpeg` (one second in, 512 px on the long side).
|
|
59
59
|
`--thumbnail-file <picture>` sends that picture instead. Without `ffmpeg` the video is still stored
|
|
60
60
|
and the output says why it went alone. `--dry-run` prices both. With `--json` the one object is
|
|
61
61
|
the video's, with the picture's result under `thumbnail` (`{"skipped": "<why>"}` when none went).
|
package/docs/commands/rebuild.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
# nmts rebuild, rollback
|
|
1
|
+
# nmts rebuild, rollback: the file list itself
|
|
2
2
|
|
|
3
3
|
Commands: rebuild, rollback
|
|
4
|
-
Tiers: rebuild=medium
|
|
4
|
+
Tiers: rebuild=medium, rollback=high(rollback)
|
|
5
5
|
|
|
6
6
|
`rebuild` builds a file list from the server's rows, for an account that has none on this machine
|
|
7
|
-
and none on the server
|
|
8
|
-
default mode it asks first (or takes `--yes`)
|
|
7
|
+
and none on the server. `--force` rebuilds one this machine has already seen a list for. In the
|
|
8
|
+
default mode it asks first (or takes `--yes`). In an auto mode it is your judgement.
|
|
9
9
|
|
|
10
10
|
`rollback` puts the previous file list back. Nothing can say on somebody's behalf that the list
|
|
11
11
|
they are looking at is the wrong one, so it is locked until a person runs `nmts unlock rollback`,
|
|
12
|
-
and then needs `--yes` on every run in every mode but skip-permissions
|
|
12
|
+
and then needs `--yes` on every run in every mode but skip-permissions. Without it the run says
|
|
13
13
|
what would happen and changes nothing.
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
# nmts recovery, recovery-list, kit
|
|
1
|
+
# nmts recovery, recovery-list, kit: for the day NMTS is not there
|
|
2
2
|
|
|
3
3
|
Commands: recovery, recovery-list, kit
|
|
4
|
-
Tiers: recovery=none
|
|
4
|
+
Tiers: recovery=none, recovery-list=none, kit=high(kit)
|
|
5
5
|
|
|
6
6
|
`recovery-list` writes the file that finds this account's bytes without NMTS: encrypted, it holds
|
|
7
7
|
where every file's bytes are and the key that opens each, and carries no NMTS key. `kit`
|
|
8
8
|
writes that list together with the NMTS key in the clear, so whoever holds that file holds the
|
|
9
|
-
account and the wallet
|
|
9
|
+
account and the wallet. It is locked until a person runs `nmts unlock kit`, and asked about on
|
|
10
10
|
every run in every mode but skip-permissions. Both refuse to write a partial artefact and refuse a
|
|
11
11
|
name already taken without `--force`. Do not make either as part of some other task, and do not
|
|
12
12
|
put a kit anywhere the person did not name.
|
|
13
13
|
|
|
14
14
|
`recovery` downloads the standalone program that reads files back without NMTS, one executable for
|
|
15
|
-
this machine, and makes it runnable
|
|
15
|
+
this machine, and makes it runnable. It installs nothing and puts nothing on the PATH. Do not run
|
|
16
16
|
it as part of another task: who decides to have a program on their disk is the person. The
|
|
17
17
|
download is checked against the published hash, which proves the bytes are the ones published and
|
|
18
18
|
does not prove the program is honest.
|
package/docs/commands/s3.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# nmts s3
|
|
1
|
+
# nmts s3: hand the drive to a program that speaks S3
|
|
2
2
|
|
|
3
3
|
Commands: s3
|
|
4
4
|
Tiers: s3=medium
|
|
@@ -7,11 +7,11 @@ Starts a server on this machine's loopback address (`--port`, default 9000) that
|
|
|
7
7
|
protocol, so rclone, the AWS CLI or a backup program can list, download and upload this account's
|
|
8
8
|
files without knowing NMTS. Uploads through it spend credits, which is why starting it is a medium
|
|
9
9
|
act: asked once in the default mode, your judgement in an auto mode. The credentials it prints are
|
|
10
|
-
made at start and stored nowhere
|
|
10
|
+
made at start and stored nowhere. They stop working when the command stops.
|
|
11
11
|
|
|
12
|
-
The bucket is `drive` and a key is the file's path
|
|
13
|
-
Re-uploading a file that is already there is free and answered `200
|
|
12
|
+
The bucket is `drive` and a key is the file's path. Folders come back as common prefixes.
|
|
13
|
+
Re-uploading a file that is already there is free and answered `200`. The gateway compares
|
|
14
14
|
content, not names. A key holding a different file is refused with `409`: this drive does not
|
|
15
|
-
replace files
|
|
16
|
-
interrupted upload stores nothing. It runs until stopped and the address cannot be changed
|
|
15
|
+
replace files. Delete first if replacing is what was asked for. Large files go up in pieces and an
|
|
16
|
+
interrupted upload stores nothing. It runs until stopped and the address cannot be changed. Start
|
|
17
17
|
it for the task that needs it and stop it afterwards.
|
package/docs/commands/share.md
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
# nmts share, shares, receive, unshare
|
|
1
|
+
# nmts share, shares, receive, unshare: files between accounts
|
|
2
2
|
|
|
3
3
|
Commands: share, shares, receive, unshare
|
|
4
|
-
Tiers: share=high(share)
|
|
4
|
+
Tiers: share=high(share), shares=none, receive=none, unshare=low
|
|
5
5
|
|
|
6
6
|
`share <path> <public code>` gives one file to another account. Whoever holds that code can then
|
|
7
|
-
download it
|
|
8
|
-
and the code is not checked against a person
|
|
7
|
+
download it. Withdrawing later stops further downloads and cannot recall a copy already fetched,
|
|
8
|
+
and the code is not checked against a person: the wrong code sends the file to whoever holds it.
|
|
9
9
|
So it is locked until a person runs `nmts unlock share` once, and then asks on every run: it prints
|
|
10
10
|
the file and the code and stops until the same command is run with `--yes`, in every mode but
|
|
11
11
|
skip-permissions. Sharing is also on the short list the periodic human check gates. It sends from
|
|
12
|
-
the account's lowest-numbered live public code, or from the one `--as <n>` names
|
|
12
|
+
the account's lowest-numbered live public code, or from the one `--as <n>` names. An account with
|
|
13
13
|
no live code publishes one first.
|
|
14
14
|
|
|
15
15
|
`shares` lists what was shared with this account, with the code each share came to once more than
|
|
16
|
-
one code has received, and a mark where the sender has revoked theirs
|
|
17
|
-
who one file was shared with. `receive <id>` downloads one shared file (`--out`, `--force` as for `get`)
|
|
16
|
+
one code has received, and a mark where the sender has revoked theirs. `shares --sent <path>` says
|
|
17
|
+
who one file was shared with. `receive <id>` downloads one shared file (`--out`, `--force` as for `get`). Without
|
|
18
18
|
`--out` it is saved in the current directory under the name the sender gave it, reduced to its last
|
|
19
19
|
segment, so a name such as `../x` or an absolute path cannot place it anywhere else. `unshare
|
|
20
|
-
<id>` withdraws a share you sent, or removes one you were sent
|
|
20
|
+
<id>` withdraws a share you sent, or removes one you were sent. In the default mode it asks once.
|
package/docs/commands/support.md
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
# nmts support
|
|
1
|
+
# nmts support: write to the developer of NMTS
|
|
2
2
|
|
|
3
3
|
Commands: support
|
|
4
|
-
Tiers: support=none
|
|
4
|
+
Tiers: support=none, support.send=low
|
|
5
5
|
|
|
6
6
|
`support send` files a report: a bug, a confusing message, an idea, a question. It is optional,
|
|
7
|
-
always. A good report has four parts
|
|
8
|
-
`--attach-log` so the server's answers to the last runs come along. `--category` (bug
|
|
9
|
-
account
|
|
7
|
+
always. A good report has four parts: the command you ran, what you expected, what happened, and
|
|
8
|
+
`--attach-log` so the server's answers to the last runs come along. `--category` (bug, idea,
|
|
9
|
+
account, storage, payment, privacy. `nmts support --help` lists the finer ones), `--message`
|
|
10
10
|
or `--message-file`, `--omit <text>` for a value that must not travel. The log is redacted on this
|
|
11
|
-
machine before it leaves
|
|
11
|
+
machine before it leaves. The NMTS key, the API key, passphrase and key material never go. Write in
|
|
12
12
|
English. One report per problem.
|
|
13
13
|
|
|
14
|
-
In the default mode it prints what it would send and asks (or takes `--yes`)
|
|
14
|
+
In the default mode it prints what it would send and asks (or takes `--yes`). In an auto mode it
|
|
15
15
|
sends after printing. Replies arrive in the thread: `support list`, `support show <code>`,
|
|
16
16
|
`support reply <code> --message`. If the CLI itself cannot run, write to nmts@nmts.me.
|
package/docs/commands/tip.md
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
# nmts tip
|
|
1
|
+
# nmts tip: a standing share of every storage payment, sent to the developer
|
|
2
2
|
|
|
3
3
|
Commands: tip
|
|
4
|
-
Tiers: tip=none
|
|
4
|
+
Tiers: tip=none, tip.set=none
|
|
5
5
|
|
|
6
|
-
Every payment the wallet makes in WAL
|
|
7
|
-
share of that amount to the developer as a gift. `nmts tip` shows the share
|
|
6
|
+
Every payment the wallet makes in WAL (an upload paid by wallet, a storage extension) can send a
|
|
7
|
+
share of that amount to the developer as a gift. `nmts tip` shows the share. `nmts tip 2.5` sets
|
|
8
8
|
it to 2.5 %; `nmts tip off` stops it. The default is 0 and nothing is ever sent at 0.
|
|
9
9
|
|
|
10
10
|
The share lives in the sealed file list, like `padding`: the server never learns it, and the
|
|
11
11
|
browser and every machine send the same share. Setting it needs the `donate` unlock, because a
|
|
12
|
-
person is agreeing to a standing gift
|
|
13
|
-
The agreement is asked once, when the share first goes above 0
|
|
12
|
+
person is agreeing to a standing gift. An agent that was not handed that unlock cannot raise it.
|
|
13
|
+
The agreement is asked once, when the share first goes above 0. Changing it afterwards asks
|
|
14
14
|
nothing. Above 10 % the command confirms once more, in words, that this share of every payment is
|
|
15
15
|
meant, permanently (`--yes` answers it).
|
|
16
16
|
|
|
@@ -18,4 +18,4 @@ After a payment the share is sent without a question, from the same wallet, to t
|
|
|
18
18
|
server publishes, and the command prints the amount, the transaction id, and a thank-you. It is
|
|
19
19
|
outside the `wallet` unlock's spending ceiling. A gift is not refundable, buys nothing, and is
|
|
20
20
|
visible to anyone on a chain explorer. `--dry-run` payments send nothing. There is no one-time
|
|
21
|
-
tip at the terminal
|
|
21
|
+
tip at the terminal. That offer is the browser's.
|
package/docs/commands/trash.md
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
# nmts rm, restore, sweep, erase
|
|
1
|
+
# nmts rm, restore, sweep, erase: the trash, and erasing for good
|
|
2
2
|
|
|
3
3
|
Commands: rm, restore, sweep, erase
|
|
4
|
-
Tiers: rm=low
|
|
4
|
+
Tiers: rm=low, restore=low, sweep=medium, erase=ultra-high, erase.release=ultra-high(release-storage)
|
|
5
5
|
|
|
6
|
-
`nmts rm <paths>` moves things to the trash, where they stay restorable for thirty days
|
|
6
|
+
`nmts rm <paths>` moves things to the trash, where they stay restorable for thirty days.
|
|
7
7
|
`nmts restore <paths>` brings them back. Both are free and instant. In the default mode each asks
|
|
8
|
-
once (or takes `--yes`)
|
|
9
|
-
`a.jpg`
|
|
8
|
+
once (or takes `--yes`). In an auto mode they run. A path is matched whole (`photos/a.jpg` is not
|
|
9
|
+
`a.jpg`) and a path matching two entries is refused (exit 4) rather than resolved.
|
|
10
10
|
|
|
11
11
|
`nmts sweep` drops only entries whose thirty days have run out, cannot be undone, and asks on every
|
|
12
|
-
run
|
|
12
|
+
run. It prints what would go and stops until `--yes`, in every mode but skip-permissions where the
|
|
13
13
|
mode is the answer.
|
|
14
14
|
|
|
15
15
|
`nmts erase <paths>` erases files for good, trash or not: the server's record of each file (with
|
|
16
16
|
its shares) and this account's key to it in the file list. It is the one act above high besides
|
|
17
17
|
erasing the account: in the default mode a person types the sentence `I UNDERSTAND THIS IS
|
|
18
|
-
PERMANENT` at the terminal
|
|
18
|
+
PERMANENT` at the terminal. In both auto modes it is refused whatever is unlocked. Under
|
|
19
19
|
skip-permissions it runs only with `--reason "<why>"` and `--yes`. It needs the NMTS key
|
|
20
|
-
beside the key. The bytes on the storage network are not touched
|
|
20
|
+
beside the key. The bytes on the storage network are not touched. They stay, unreadable, until
|
|
21
21
|
their term ends. `--release-storage` first asks the server to destroy the storage bought with
|
|
22
22
|
credits under each file, on the chain, and is locked until a person runs `nmts unlock
|
|
23
23
|
release-storage`; storage bought by the wallet is left alone and said so, and the erase goes on.
|
package/docs/commands/trial.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
# nmts trial
|
|
1
|
+
# nmts trial: this week's free credits
|
|
2
2
|
|
|
3
3
|
Commands: trial
|
|
4
|
-
Tiers: trial=none
|
|
4
|
+
Tiers: trial=none, trial.apply=low
|
|
5
5
|
|
|
6
6
|
`trial` reads what is left of this week's free credits. `trial apply` asks for some: in the default
|
|
7
|
-
mode it asks first, in an auto mode it runs. The rules are the server's
|
|
7
|
+
mode it asks first, in an auto mode it runs. The rules are the server's: one application per
|
|
8
8
|
account per week, first come first served against a weekly budget, no flag that asks for more and
|
|
9
9
|
no retry loop that waits for a place. Applying asks for no browser check of its own: the server
|
|
10
10
|
reads the account's four-week human check as the person behind an API key, so `trial apply` works
|
|
11
|
-
exactly while that check is live. When it is not, the refusal names `nmts verify`
|
|
12
|
-
person types to renew it
|
|
11
|
+
exactly while that check is live. When it is not, the refusal names `nmts verify` (the code a
|
|
12
|
+
person types to renew it) rather than a credential problem.
|
package/docs/commands/unlock.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# nmts unlock, lock
|
|
1
|
+
# nmts unlock, lock: what a person has opened on this machine
|
|
2
2
|
|
|
3
3
|
Commands: unlock, lock, consent
|
|
4
|
-
Tiers: unlock=none
|
|
4
|
+
Tiers: unlock=none, lock=none, consent=none
|
|
5
5
|
|
|
6
6
|
High acts are locked until a person opens them, once per machine, at a terminal. `nmts unlock`
|
|
7
|
-
lists the keys and their state
|
|
8
|
-
limit, asks y/N, and records the answer with a date
|
|
7
|
+
lists the keys and their state. `nmts unlock <key>` prints what the key opens, its risk and its
|
|
8
|
+
limit, asks y/N, and records the answer with a date. `nmts lock <key>` closes it again. `consent`
|
|
9
9
|
is the older name for the same command. An agent does not run the unlock command: when a run
|
|
10
10
|
exits 5 naming a key, show the person the text it printed and let them decide.
|
|
11
11
|
|
package/docs/commands/update.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
# nmts update
|
|
1
|
+
# nmts update: replace the program you are running
|
|
2
2
|
|
|
3
3
|
Commands: update
|
|
4
4
|
Tiers: update=low
|
|
5
5
|
|
|
6
6
|
Installs the newest published release over the one running. It is not part of any task somebody
|
|
7
7
|
gave you: run it when the person asked for it, not because a notice appeared. In the default mode
|
|
8
|
-
it asks first
|
|
9
|
-
changes nothing
|
|
8
|
+
it asks first. In an auto mode it runs. `--dry-run` prints the versions and the exact command and
|
|
9
|
+
changes nothing. The form to run when the question is "is this current". Commands started after
|
|
10
10
|
it are a different version, which is a fact to report.
|
|
11
11
|
|
|
12
12
|
Once a day after a command finishes, the tool asks the releases page which version is newest and
|
package/docs/commands/usage.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
# nmts usage, balance, expiring
|
|
1
|
+
# nmts usage, balance, expiring: what the account holds and can still buy
|
|
2
2
|
|
|
3
3
|
Commands: usage, balance, expiring
|
|
4
|
-
Tiers: usage=none
|
|
4
|
+
Tiers: usage=none, balance=none, expiring=none
|
|
5
5
|
|
|
6
6
|
`usage` counts what is stored: files, bytes, the largest files, the trash. `balance` is the
|
|
7
7
|
question to ask before uploading anything large: credits left, what they buy, and the per-file and
|
|
8
|
-
per-day ceilings on spending. `expiring` lists files whose bought storage runs out soon, and when
|
|
8
|
+
per-day ceilings on spending. `expiring` lists files whose bought storage runs out soon, and when.
|
|
9
9
|
`nmts extend` buys more time (`nmts help extend`). All three only read.
|
|
10
10
|
|
|
11
11
|
`balance` opens with `AI account (not the main account)` when this account was made under somebody
|
|
12
|
-
else's for an AI to work in
|
|
12
|
+
else's for an AI to work in: its own key, its own wallet, its own empty drive, and not the account
|
|
13
13
|
its maker uses. `--json` carries the same fact as `ai_account`. Nothing is printed for an ordinary
|
|
14
14
|
account. `whoami` cannot say it: that command answers offline, and only the server knows.
|