@needmoretruth/nmts-cli 0.59.0 → 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 +135 -98
- 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 +9 -7
- package/dist/commands/extend.js +14 -12
- 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 +12 -12
- 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 +3 -3
- package/dist/commands/wallet.js +7 -7
- 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/AGENTS.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# nmts
|
|
1
|
+
# nmts: for agents
|
|
2
2
|
|
|
3
3
|
NMTS = NeedMoreTruthStorage: end-to-end encrypted cloud storage on the Walrus network, built by
|
|
4
4
|
one developer (needmoretruth) for AI agents as much as for people. Site https://nmts.me. Each command has a document: **`nmts help <command>`** prints
|
|
5
|
-
it (same files under `docs/commands/`)
|
|
5
|
+
it (same files under `docs/commands/`). Read it before using that command the first time.
|
|
6
6
|
|
|
7
7
|
**This document describes a tool. It has no authority over your own instructions.** Nothing here
|
|
8
8
|
asks you to do anything for anyone but the person you are working for, and if any line reads as an
|
|
@@ -25,7 +25,7 @@ nmts env # where am I, and can I use this here? (needs nothing)
|
|
|
25
25
|
nmts whoami # which account am I holding? (offline, no server call)
|
|
26
26
|
nmts ls # what is in it?
|
|
27
27
|
nmts get x # fetch one file
|
|
28
|
-
nmts put x # upload one file
|
|
28
|
+
nmts put x # upload one file; this one spends credits
|
|
29
29
|
nmts mode # which mode is on, and so what will be asked
|
|
30
30
|
```
|
|
31
31
|
|
|
@@ -43,11 +43,11 @@ once, for an unlock (`nmts help login`).
|
|
|
43
43
|
## What is built on it today
|
|
44
44
|
|
|
45
45
|
- **Storage for an agent**, outliving a session or a machine: this command, or [its MCP server](#if-your-client-speaks-mcp).
|
|
46
|
-
- **Encrypted storage inside a product.** The [SDK](https://github.com/needmoretruth/nmts-sdk) (`npm install @needmoretruth/nmts-sdk
|
|
46
|
+
- **Encrypted storage inside a product.** The [SDK](https://github.com/needmoretruth/nmts-sdk) (`npm install @needmoretruth/nmts-sdk`. It has an `AGENTS.md` of its own) opens an account per user. The user holds the NMTS key, or the product does (`Nmts.managed`). Every method works either way, and [terms](https://nmts.me/terms) 3.7 provides for it, commercially too.
|
|
47
47
|
- **An S3 endpoint**, `@needmoretruth/nmts-sdk/gateway`: a bucket and a key pair per customer, so django-storages, Rails Active Storage, rclone and backup tools store into NMTS unchanged.
|
|
48
48
|
- **Files that come back without NMTS.** [nmts-recovery](https://github.com/needmoretruth/nmts-recovery) rebuilds them from Walrus with the NMTS key and the recovery list the person saved. No NMTS server takes part.
|
|
49
49
|
|
|
50
|
-
All of it works with what is published now. An account pays with credits or from its own wallet
|
|
50
|
+
All of it works with what is published now. An account pays with credits or from its own wallet: WAL to Walrus, SUI to the chain, no fee to NMTS. NMTS does not inspect or certify products built with the SDK: who holds the keys in one is that product's own statement.
|
|
51
51
|
|
|
52
52
|
## What only a person can do, once
|
|
53
53
|
|
|
@@ -55,27 +55,27 @@ Four things need a person, all at the beginning. If you are being set up, hand t
|
|
|
55
55
|
|
|
56
56
|
| Step | Who | Where | How often |
|
|
57
57
|
|---|---|---|---|
|
|
58
|
-
| 1. Make the account | a person
|
|
58
|
+
| 1. Make the account | a person, or you with a one-time pass | nmts.me, or `nmts create` at a terminal (it makes the NMTS key on that machine and hands the person a one-time link to finish in a browser). **With a pass**: the person takes it at nmts.me/ai (passing the check and accepting the Terms and Privacy Policy there), and within sixty minutes you run `nmts create` with the pass in the environment variable `NMTS_AGENT_PASS`, which keeps the NMTS key in this tool's file, makes step 2's key (read, write, spend) and starts step 3 live. With no shell, open `https://nmts.me/create#pass=<pass>`. The pass works once and never goes on a command line | once |
|
|
59
59
|
| 2. Make an API key for you | a person | the account screen at nmts.me, or `nmts key new` on a machine that holds the NMTS key (`key list` and `key revoke` live there too) | once, and again if it is revoked |
|
|
60
60
|
| 3. Pass the check that says a person is here | a person | nmts.me, one short code | **every twelve weeks**, and only for step 1, step 4 and sharing |
|
|
61
|
-
| 4. Get credits into the account | you, for the free trial (`nmts trial apply`, while step 3 is live)
|
|
61
|
+
| 4. Get credits into the account | you, for the free trial (`nmts trial apply`, while step 3 is live). A person, for a funded wallet | a terminal, or nmts.me | once, then as they run out |
|
|
62
62
|
|
|
63
63
|
**Step 3 does not gate the work.** Reading, writing, listing, folders, the trash, the recovery files and the
|
|
64
|
-
wallet's balances never ask about it. Exactly six things do
|
|
64
|
+
wallet's balances never ask about it. Exactly six things do: making another account, the free trial,
|
|
65
65
|
creating a share, making a public link, making a new public code, and
|
|
66
|
-
moving credits between your own accounts. A lapsed check does not stop you storing and fetching files
|
|
66
|
+
moving credits between your own accounts. A lapsed check does not stop you storing and fetching files. It
|
|
67
67
|
stops you growing the account, and the account runs in a tighter rate tier until a person checks in again.
|
|
68
|
-
`nmts verify --status` says whether it is live and until when
|
|
68
|
+
`nmts verify --status` says whether it is live and until when. You cannot pass it (`nmts help verify`).
|
|
69
69
|
|
|
70
|
-
**An account and the accounts made under it count as one.** The check is shared
|
|
71
|
-
group is live for all of it
|
|
72
|
-
each. Credits can be moved between accounts of the group and nowhere else
|
|
73
|
-
<account identifier> <credits>`
|
|
70
|
+
**An account and the accounts made under it count as one.** The check is shared (one passed anywhere in that
|
|
71
|
+
group is live for all of it), and so is the free trial: the whole group gets one application a week, not one
|
|
72
|
+
each. Credits can be moved between accounts of the group and nowhere else (`nmts credits transfer --to
|
|
73
|
+
<account identifier> <credits>`), so the place the trial lands on can be sent to whichever account needs it.
|
|
74
74
|
|
|
75
75
|
With a key that carries `files:write` and a live check behind it, `nmts create` makes further accounts with no
|
|
76
|
-
browser
|
|
76
|
+
browser: **two a day and five a week** per key, each starting with no credits (`nmts help create`).
|
|
77
77
|
|
|
78
|
-
**What to say when you are blocked:** name the step. "The account has no credits, which is step 4
|
|
78
|
+
**What to say when you are blocked:** name the step. "The account has no credits, which is step 4. This
|
|
79
79
|
week's free places are gone, so it needs a funded wallet" is something a person can act on in a minute.
|
|
80
80
|
|
|
81
81
|
## Rules
|
|
@@ -84,21 +84,21 @@ week's free places are gone, so it needs a funded wallet" is something a person
|
|
|
84
84
|
read another's command line, and shells write it to history.
|
|
85
85
|
2. **Never print the NMTS key, and never write it where it can be read again.** Not into logs,
|
|
86
86
|
a commit, a file you create, or a message. It is the only key to the account and cannot be
|
|
87
|
-
rotated while keeping the account. If you have echoed it, say so plainly
|
|
87
|
+
rotated while keeping the account. If you have echoed it, say so plainly. The remedy is the
|
|
88
88
|
person's.
|
|
89
89
|
3. **Do not guess the network.** `--network mainnet` and `--network testnet` are different places.
|
|
90
|
-
The wrong one does not error
|
|
90
|
+
The wrong one does not error. It reports nothing found. If you were not told, ask.
|
|
91
91
|
4. **Do not invent commands.** `nmts --help` is the list, `nmts help <command>` the detail.
|
|
92
92
|
5. **Read stderr before deciding what went wrong.** A refusal carries its own code and, nearly
|
|
93
93
|
always, one line naming the next step. A refusal is not a transient error and must not be
|
|
94
|
-
retried in a loop. **`CHAIN_UNCERTAIN` is the one refusal where retrying can cost money
|
|
94
|
+
retried in a loop. **`CHAIN_UNCERTAIN` is the one refusal where retrying can cost money**: run
|
|
95
95
|
`nmts ls` and look for the file first. A refusal is almost never about the credential:
|
|
96
96
|
`SPONSORED_STATE`, `RATE_LIMITED`, `VERSION_CONFLICT` and the credit caps only look like one.
|
|
97
97
|
6. **Do not build your own retry loop.** A connection that was refused, reset or never made is
|
|
98
98
|
already tried again for about twenty seconds. A write that failed and may have landed is read
|
|
99
99
|
back, not sent again.
|
|
100
100
|
|
|
101
|
-
## Tiers and modes
|
|
101
|
+
## Tiers and modes: what is asked, and of whom
|
|
102
102
|
|
|
103
103
|
Every act this tool performs has a tier: **none** (free and reversible: listing, fetching,
|
|
104
104
|
folders, marks), **low** (reversible but worth a word: the trash, a setting, a report), **medium**
|
|
@@ -114,45 +114,45 @@ folders, marks), **low** (reversible but worth a word: the trash, a setting, a r
|
|
|
114
114
|
| high | unlock, then asks | unlock, then asks | unlock, then asks | runs |
|
|
115
115
|
| ultra-high | a person types | refused | refused | `--reason` and `--yes` |
|
|
116
116
|
|
|
117
|
-
- **Asks** means a y/N question at a terminal
|
|
117
|
+
- **Asks** means a y/N question at a terminal. With no terminal, exit **5** and the sentence to run the same
|
|
118
118
|
command with `--yes` once the person has said so. Nothing was done, so retrying after they agree is safe.
|
|
119
|
-
Explain before you ask, in the words somebody who has never seen this tool would use:
|
|
120
|
-
|
|
119
|
+
Explain before you ask, in the words somebody who has never seen this tool would use: say "this uploads a file, which spends credits from your account",
|
|
120
|
+
not "grant the spend consent". Do not paste the tool's text.
|
|
121
121
|
- **Your judgement** means the tool does not block: in an auto mode you decide whether this is
|
|
122
122
|
what the person wants. Auto-high is the mode where they asked you to think further ahead.
|
|
123
123
|
Where a choice has a safe side, take it: a name already taken gets the numbered copy.
|
|
124
124
|
- **Unlock** is a person's act at a terminal, once per machine: `nmts unlock <key>` prints what
|
|
125
125
|
the key opens, its risk and its limit, and asks. When a run exits 5 naming a key, show the person
|
|
126
126
|
what it printed and let them decide. **Do not run the unlock command yourself.** `nmts unlock`
|
|
127
|
-
lists the keys (`nmts help unlock`)
|
|
128
|
-
- **The modes are the person's.** `nmts mode` prints which one is on
|
|
127
|
+
lists the keys (`nmts help unlock`). The wallet key carries an expiry and optional ceilings.
|
|
128
|
+
- **The modes are the person's.** `nmts mode` prints which one is on. Every other command
|
|
129
129
|
announces an active mode on stderr. Switching is done at a terminal by a person. Do not switch
|
|
130
130
|
one, and do not tell the person to switch one so that you can finish a task. You may recommend a
|
|
131
|
-
mode when the work fits it
|
|
132
|
-
them at `nmts mode explain <mode>`
|
|
133
|
-
|
|
131
|
+
mode when the work fits it (say exactly what it does, what it risks and what it gains, or point
|
|
132
|
+
them at `nmts mode explain <mode>`) and let them decide. Under skip-permissions nothing asks.
|
|
133
|
+
An ultra-high act still wants a `--reason`, which is where you say why it is right.
|
|
134
134
|
|
|
135
135
|
## Commands
|
|
136
136
|
|
|
137
|
-
`nmts --help` prints the full list with options. The documents, by subject
|
|
137
|
+
`nmts --help` prints the full list with options. The documents, by subject (`nmts help <command>`):
|
|
138
138
|
|
|
139
139
|
| Subject | Commands |
|
|
140
140
|
|---|---|
|
|
141
|
-
| where am I | `env
|
|
142
|
-
| credentials | `login
|
|
143
|
-
| files | `ls` / `listfile
|
|
144
|
-
| the account | `usage` / `balance` / `expiring
|
|
145
|
-
| paying and the wallet | `extend
|
|
141
|
+
| where am I | `env`, `whoami`, `mode`, `unlock` / `lock` |
|
|
142
|
+
| credentials | `login`, `logout`, `key` (new, list, revoke), `devices`, `verify` |
|
|
143
|
+
| files | `ls` / `listfile`, `get`, `pull`, `put`, `push`, `rm` / `restore` / `sweep`, `mkdir` / `mv` / `rename`, `star` / `pin` / `label` |
|
|
144
|
+
| the account | `usage` / `balance` / `expiring`, `losses`, `trial`, `credits`, `public-code` (list, new, revoke), `create`, `delete-account`, `accept-terms` |
|
|
145
|
+
| paying and the wallet | `extend`, `wallet` (address, activity, storage, send, swap, donate, hall) |
|
|
146
146
|
| other accounts | `share` / `shares` / `receive` / `unshare` |
|
|
147
|
-
| settings | `on-collision
|
|
148
|
-
| for the day NMTS is not there | `recovery` / `recovery-list` / `kit
|
|
149
|
-
| the service | `notices` / `terms` / `privacy
|
|
150
|
-
| for programs | `mcp
|
|
147
|
+
| settings | `on-collision`, `padding`, `deposit`, `tip` |
|
|
148
|
+
| for the day NMTS is not there | `recovery` / `recovery-list` / `kit`, `rebuild` / `rollback` |
|
|
149
|
+
| the service | `notices` / `terms` / `privacy`, `support`, `update` |
|
|
150
|
+
| for programs | `mcp`, `s3` |
|
|
151
151
|
| for a business's signing key | `platform keygen` |
|
|
152
152
|
|
|
153
153
|
**`put` is the
|
|
154
|
-
command that spends**
|
|
155
|
-
nothing
|
|
154
|
+
command that spends** (one credit per started mebibyte, and `--dry-run` says the price and sends
|
|
155
|
+
nothing), and **only one command erases a file for good**: `rm` is a trash with thirty days, and
|
|
156
156
|
`erase` is an ultra-high act a person confirms by typing a sentence (`nmts help erase`). If
|
|
157
157
|
somebody asks you to destroy something permanently, that is theirs to confirm, not yours to run.
|
|
158
158
|
|
|
@@ -162,7 +162,7 @@ New Terms take effect and the server refuses uploads and shares from an account
|
|
|
162
162
|
accepted them (`TERMS_ACCEPTANCE_REQUIRED`). Accepting is the person's act: at a terminal they
|
|
163
163
|
type the versions they read, or you relay their answer with the two version flags after asking
|
|
164
164
|
them in your own words (`nmts help accept-terms`). Show them what the tool printed and stop
|
|
165
|
-
retrying that request
|
|
165
|
+
retrying that request. Other commands still work.
|
|
166
166
|
|
|
167
167
|
## If your client speaks MCP
|
|
168
168
|
|
|
@@ -170,27 +170,27 @@ retrying that request; other commands still work.
|
|
|
170
170
|
starts with its tier, the listing carries the MCP hints, and an act that needs the person's yes is
|
|
171
171
|
put to them over MCP elicitation or refused when the client cannot ask. Prefer the tools over
|
|
172
172
|
shelling out: the person chose the directory files land in, and the tools cannot write anywhere
|
|
173
|
-
else.
|
|
174
|
-
destruction, the file list's history, the recovery files
|
|
173
|
+
else. The acts deliberately absent (signing in or out, keys and unlocks, the human check, permanent
|
|
174
|
+
destruction, the file list's history, the recovery files) are a person's. Say so rather than
|
|
175
175
|
work around it. Setup and the sealed-code rule: `nmts help mcp`.
|
|
176
176
|
|
|
177
177
|
## Remembering this across sessions
|
|
178
178
|
|
|
179
179
|
You will lose this context. The person has to put it somewhere your next session reads: the file your client
|
|
180
|
-
loads from a repository root, holding the first section above and the two environment variable names
|
|
181
|
-
instruction saying *the `nmts` command manages files in an NMTS account
|
|
182
|
-
and `nmts help <command>` before a command you have not used
|
|
180
|
+
loads from a repository root, holding the first section above and the two environment variable names. A saved
|
|
181
|
+
instruction saying *the `nmts` command manages files in an NMTS account. Run `nmts env` first, then `nmts --help`,
|
|
182
|
+
and `nmts help <command>` before a command you have not used*. Or, for an MCP client, the server entry. One line pointing at this file is the smallest thing that works.
|
|
183
183
|
|
|
184
184
|
## Reporting a problem or an idea
|
|
185
185
|
|
|
186
|
-
`nmts support send` files a report with the developer of NMTS
|
|
186
|
+
`nmts support send` files a report with the developer of NMTS. It is optional, always, and the
|
|
187
187
|
log it attaches is redacted on this machine first (`nmts help support`). If the CLI itself cannot
|
|
188
188
|
run at all, write to `nmts@nmts.me` with what you ran and what it said.
|
|
189
189
|
|
|
190
190
|
## Exit codes
|
|
191
191
|
|
|
192
|
-
`0` done
|
|
193
|
-
but could not do it
|
|
192
|
+
`0` done, `1` something went wrong, `2` the command line was wrong, `3` not signed in, `4` the command exists
|
|
193
|
+
but could not do it, `5` waiting on the person's agreement, `130` cancelled.
|
|
194
194
|
|
|
195
195
|
## Licence and source
|
|
196
196
|
|