@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.
Files changed (220) hide show
  1. package/AGENTS.md +49 -49
  2. package/CHANGELOG.md +135 -98
  3. package/LICENSING.md +8 -8
  4. package/README.ko.md +156 -156
  5. package/README.md +111 -111
  6. package/dist/api-advice.js +34 -34
  7. package/dist/api-key.js +2 -2
  8. package/dist/artifact-about.d.ts +1 -1
  9. package/dist/autonomy.js +12 -12
  10. package/dist/code-access.js +3 -3
  11. package/dist/code-vault.js +1 -1
  12. package/dist/commands/accept-terms.js +4 -4
  13. package/dist/commands/ai-account.js +10 -10
  14. package/dist/commands/balance.js +7 -7
  15. package/dist/commands/create-code-file.js +3 -3
  16. package/dist/commands/create-link.js +36 -41
  17. package/dist/commands/create-pass.js +3 -3
  18. package/dist/commands/create.js +4 -4
  19. package/dist/commands/credits.js +2 -2
  20. package/dist/commands/delete-account.js +3 -3
  21. package/dist/commands/deposit.js +3 -3
  22. package/dist/commands/devices.js +3 -3
  23. package/dist/commands/documents.js +1 -1
  24. package/dist/commands/env.js +13 -13
  25. package/dist/commands/erase.js +5 -5
  26. package/dist/commands/expiring.js +9 -7
  27. package/dist/commands/extend.js +14 -12
  28. package/dist/commands/get.js +2 -2
  29. package/dist/commands/handover.js +2 -2
  30. package/dist/commands/key-manage.js +2 -2
  31. package/dist/commands/key.js +5 -5
  32. package/dist/commands/link.js +2 -2
  33. package/dist/commands/links.js +1 -1
  34. package/dist/commands/listfile.js +3 -3
  35. package/dist/commands/login-passphrase.js +4 -4
  36. package/dist/commands/login.js +12 -12
  37. package/dist/commands/logout.js +1 -1
  38. package/dist/commands/losses.js +7 -7
  39. package/dist/commands/ls.js +7 -7
  40. package/dist/commands/marks.js +1 -1
  41. package/dist/commands/mcp.js +4 -4
  42. package/dist/commands/mode.js +8 -8
  43. package/dist/commands/on-collision.js +4 -4
  44. package/dist/commands/openers-attach.js +1 -1
  45. package/dist/commands/organise.js +1 -1
  46. package/dist/commands/padding.js +3 -3
  47. package/dist/commands/platform.js +2 -2
  48. package/dist/commands/public-code-manage.js +4 -4
  49. package/dist/commands/public-code.js +4 -4
  50. package/dist/commands/pull.js +1 -1
  51. package/dist/commands/push-heavy.js +1 -1
  52. package/dist/commands/push-wallet.js +1 -1
  53. package/dist/commands/push.js +2 -2
  54. package/dist/commands/put-heavy.js +2 -2
  55. package/dist/commands/put-payer.js +1 -1
  56. package/dist/commands/put-wallet.js +5 -5
  57. package/dist/commands/put.js +3 -3
  58. package/dist/commands/rebuild.js +13 -13
  59. package/dist/commands/receive.js +2 -2
  60. package/dist/commands/recovery-list.js +1 -1
  61. package/dist/commands/recovery.js +7 -7
  62. package/dist/commands/rollback.js +2 -2
  63. package/dist/commands/s3.js +3 -3
  64. package/dist/commands/share.js +7 -7
  65. package/dist/commands/shares-sent.js +2 -2
  66. package/dist/commands/support.js +1 -1
  67. package/dist/commands/sweep.js +3 -3
  68. package/dist/commands/tip.js +2 -2
  69. package/dist/commands/trial.js +8 -8
  70. package/dist/commands/unlock.js +6 -6
  71. package/dist/commands/update.js +3 -3
  72. package/dist/commands/usage.js +4 -4
  73. package/dist/commands/verify.js +1 -1
  74. package/dist/commands/wallet-activity.js +3 -3
  75. package/dist/commands/wallet-donate.js +4 -4
  76. package/dist/commands/wallet-hall.js +5 -5
  77. package/dist/commands/wallet-list.js +2 -2
  78. package/dist/commands/wallet-send.js +5 -5
  79. package/dist/commands/wallet-storage-buy.js +1 -1
  80. package/dist/commands/wallet-storage-extend.js +1 -1
  81. package/dist/commands/wallet-storage-ops.js +5 -5
  82. package/dist/commands/wallet-storage.js +1 -1
  83. package/dist/commands/wallet-swap.js +14 -14
  84. package/dist/commands/wallet-use.js +3 -3
  85. package/dist/commands/wallet.js +7 -7
  86. package/dist/consent.js +7 -7
  87. package/dist/credentials.js +1 -1
  88. package/dist/deposit.js +1 -1
  89. package/dist/download-part.js +1 -1
  90. package/dist/download-sink-node.js +3 -3
  91. package/dist/download.js +1 -1
  92. package/dist/drive-edit/errors.js +1 -1
  93. package/dist/drive-edit/folders.js +1 -1
  94. package/dist/drive-edit/trash.js +2 -2
  95. package/dist/drive-erase.js +1 -1
  96. package/dist/environment.js +5 -5
  97. package/dist/errors.js +1 -1
  98. package/dist/extend-budget.js +5 -5
  99. package/dist/extend-chain.js +1 -1
  100. package/dist/extend-plan.js +4 -4
  101. package/dist/gate.js +1 -1
  102. package/dist/handover.js +2 -2
  103. package/dist/heavy-copy.d.ts +1 -1
  104. package/dist/heavy-copy.js +7 -7
  105. package/dist/help-options.js +13 -13
  106. package/dist/help.js +54 -40
  107. package/dist/human-check.js +2 -2
  108. package/dist/kit-file.js +6 -6
  109. package/dist/list-file.js +1 -1
  110. package/dist/manifest-chunk-flow.js +1 -1
  111. package/dist/manifest-create.js +2 -2
  112. package/dist/manifest-write.js +1 -1
  113. package/dist/manifest.js +6 -3
  114. package/dist/mcp-args.js +1 -1
  115. package/dist/mcp-tools/credits.js +5 -5
  116. package/dist/mcp-tools/files.js +6 -6
  117. package/dist/mcp-tools/organise.js +7 -7
  118. package/dist/mcp-tools/reads.js +17 -17
  119. package/dist/mcp-tools/share.js +6 -6
  120. package/dist/mcp-tools/support.js +3 -3
  121. package/dist/mcp-tools/tiers.js +4 -4
  122. package/dist/notice.js +1 -1
  123. package/dist/openers/wallet.js +1 -1
  124. package/dist/platform-sign.js +2 -2
  125. package/dist/product.d.ts +1 -1
  126. package/dist/product.js +1 -1
  127. package/dist/public-codes.js +2 -2
  128. package/dist/recovery-assemble.js +1 -1
  129. package/dist/recovery-map-file.js +1 -1
  130. package/dist/recovery-map.js +1 -1
  131. package/dist/recovery-source.js +1 -1
  132. package/dist/recovery.js +1 -1
  133. package/dist/risk.d.ts +4 -4
  134. package/dist/risk.js +4 -4
  135. package/dist/s3/call.js +1 -1
  136. package/dist/s3/same-file.js +1 -1
  137. package/dist/setup-questions.js +1 -1
  138. package/dist/shared/lib/drive/manifest-index.d.ts +9 -0
  139. package/dist/shared/lib/drive/manifest-index.js +11 -0
  140. package/dist/shared/lib/heavy/order-plan.js +4 -4
  141. package/dist/shared/lib/heavy/sp-upload.js +1 -1
  142. package/dist/shared/lib/upload/relay-limit.d.ts +30 -0
  143. package/dist/shared/lib/upload/relay-limit.js +74 -0
  144. package/dist/shared/lib/vendor/nmt-pow.d.ts +21 -0
  145. package/dist/shared/lib/vendor/nmt-pow.js +56 -0
  146. package/dist/shared/lib/walrus/node-certificate.js +1 -1
  147. package/dist/shared/lib/walrus/node-quorum.js +1 -1
  148. package/dist/sharing-inbox.js +1 -1
  149. package/dist/sharing.js +4 -4
  150. package/dist/standing-tip.js +1 -1
  151. package/dist/storage-control/extend.js +2 -2
  152. package/dist/storage-control/reshape.js +3 -3
  153. package/dist/support-copy.js +4 -4
  154. package/dist/support-wire.js +4 -4
  155. package/dist/update-source.js +1 -1
  156. package/dist/upload-price.d.ts +10 -0
  157. package/dist/upload-price.js +21 -0
  158. package/dist/upload-quote.js +2 -2
  159. package/dist/upload-run.js +1 -1
  160. package/dist/upload-steps.js +1 -1
  161. package/dist/upload-store.js +1 -1
  162. package/dist/upload-wallet-chain.js +1 -1
  163. package/dist/upload-wallet-plan.js +12 -12
  164. package/dist/upload-wallet-put.js +1 -1
  165. package/dist/upload-wallet.js +2 -2
  166. package/dist/upload.js +2 -2
  167. package/dist/wallet-grant.js +3 -3
  168. package/dist/wallet-pay-index.js +1 -1
  169. package/dist/wallet-sign-external.js +5 -5
  170. package/dist/wallet-sign.js +6 -6
  171. package/dist/wallet-swap-words.js +3 -3
  172. package/dist/walrus.js +2 -2
  173. package/docs/commands/accept-terms.md +3 -3
  174. package/docs/commands/ai-account.md +4 -4
  175. package/docs/commands/create.md +8 -8
  176. package/docs/commands/credits.md +9 -9
  177. package/docs/commands/delete-account.md +4 -4
  178. package/docs/commands/deposit.md +7 -7
  179. package/docs/commands/devices.md +4 -4
  180. package/docs/commands/documents.md +5 -5
  181. package/docs/commands/env.md +10 -10
  182. package/docs/commands/extend.md +4 -4
  183. package/docs/commands/folders.md +3 -3
  184. package/docs/commands/get.md +4 -4
  185. package/docs/commands/handover.md +12 -12
  186. package/docs/commands/heavy.md +4 -4
  187. package/docs/commands/key.md +8 -8
  188. package/docs/commands/link.md +9 -9
  189. package/docs/commands/login.md +4 -4
  190. package/docs/commands/logout.md +2 -2
  191. package/docs/commands/losses.md +3 -3
  192. package/docs/commands/ls.md +5 -5
  193. package/docs/commands/marks.md +5 -5
  194. package/docs/commands/mcp.md +9 -9
  195. package/docs/commands/mode.md +6 -6
  196. package/docs/commands/on-collision.md +4 -4
  197. package/docs/commands/openers.md +5 -5
  198. package/docs/commands/padding.md +7 -7
  199. package/docs/commands/platform.md +2 -2
  200. package/docs/commands/public-code.md +8 -8
  201. package/docs/commands/pull.md +2 -2
  202. package/docs/commands/push.md +3 -3
  203. package/docs/commands/put.md +11 -11
  204. package/docs/commands/rebuild.md +5 -5
  205. package/docs/commands/recovery.md +4 -4
  206. package/docs/commands/s3.md +6 -6
  207. package/docs/commands/share.md +8 -8
  208. package/docs/commands/support.md +7 -7
  209. package/docs/commands/tip.md +7 -7
  210. package/docs/commands/trash.md +8 -8
  211. package/docs/commands/trial.md +5 -5
  212. package/docs/commands/unlock.md +4 -4
  213. package/docs/commands/update.md +3 -3
  214. package/docs/commands/usage.md +4 -4
  215. package/docs/commands/verify.md +5 -5
  216. package/docs/commands/wallet.md +25 -25
  217. package/docs/commands/whoami.md +5 -5
  218. package/examples/podman.sh +3 -3
  219. package/package.json +1 -1
  220. package/server.json +2 -2
@@ -29,22 +29,22 @@ function failedNextFor(reason) {
29
29
  "are removed after an hour.");
30
30
  }
31
31
  if (reason === "piece_too_small" || reason === "piece_too_large" || reason === "slot_count" || reason === "sealed_len_mismatch") {
32
- return "Nothing was stored. This is a fault in this tool, not in the file — please write to us with `nmts support`.";
32
+ return "Nothing was stored. The fault is in this tool and the file is fine. Please write to us with `nmts support`.";
33
33
  }
34
34
  return ("Credits for anything that was not stored come back within a day, and a wallet pays nothing until " +
35
35
  "every part is stored. Running the same command again starts a new upload.");
36
36
  }
37
37
  export const HEAVY_COPY = {
38
38
  /** `put --tier heavy`: the line before the upload starts (credits). */
39
- creditsPlan: (name, bytes, credits) => `${name} ${bytes} bytes → ${credits} credit${credits === 1 ? "" : "s"} · NMTS Heavy: kept whole in two separate places for 28 days`,
39
+ creditsPlan: (name, bytes, credits) => `${name} ${bytes} bytes → ${credits} credit${credits === 1 ? "" : "s"}, NMTS Heavy: kept whole in two separate places for 28 days`,
40
40
  /** `put --tier heavy --pay wallet`: the review line with the order's WAL price and term. */
41
- walletPlan: (name, bytes, wal, days, from, to) => `${name} ${bytes} bytes → ${wal} WAL for ${days} day${days === 1 ? "" : "s"}, paid once it is stored, from ${from} to ${to} · NMTS Heavy`,
41
+ walletPlan: (name, bytes, wal, days, from, to) => `${name} ${bytes} bytes → ${wal} WAL for ${days} day${days === 1 ? "" : "s"}, paid once it is stored, from ${from} to ${to}, NMTS Heavy`,
42
42
  /** `put --tier heavy --pay evm`: the review line (copies, paying 0x address). */
43
43
  evmPlan: (name, bytes, copies, address) => `${name} ${bytes} bytes → ${copies} cop${copies === 1 ? "y" : "ies"} on Filecoin, paid in USDFC by ${address}`,
44
44
  /** `--dry-run --tier heavy --pay wallet`: the plan line before any order opens (no price yet). */
45
45
  walletDryPlan: (name, bytes, days, from) => `${name} ${bytes} bytes → NMTS Heavy for ${days} day${days === 1 ? "" : "s"}, paid from ${from} once it is stored`,
46
46
  /** `--dry-run` with `--tier heavy`: the closing line (nothing sent; a wallet price is quoted only when an order opens). */
47
- dryRunEnd: " Nothing was sent and nothing was charged. The WAL or USDFC price is set when the upload runs; run the same command without --dry-run to see it before anything is paid.",
47
+ dryRunEnd: " Nothing was sent and nothing was charged. The WAL or USDFC price is set when the upload runs. Run the same command without --dry-run to see it before anything is paid.",
48
48
  /** Progress, one line per phase of one part. */
49
49
  progress: (phase, where) => ` ${PHASE[phase] ?? phase}${where}`,
50
50
  /** Finished: the Filecoin epoch it is kept until. */
@@ -81,7 +81,7 @@ export const HEAVY_COPY = {
81
81
  walletShort: (needWal, haveWal, needSui, haveSui) => `The wallet is short: this upload needs ${needWal} WAL and about ${needSui} SUI for the fee, and the wallet holds ${haveWal} WAL and ${haveSui} SUI. Nothing was stored or paid.`,
82
82
  /** `--copies` out of 1..12, or `--providers` not a list of ids. */
83
83
  badCopies: (raw) => `--copies takes a whole number from 1 to 12, not "${raw}".`,
84
- badProviders: (raw) => `--providers takes storage provider ids separated by commas, such as 4,9 — not "${raw}".`,
84
+ badProviders: (raw) => `--providers takes storage provider ids separated by commas, such as 4,9. It got "${raw}".`,
85
85
  /** A self-paid upload stored no copy at all (the SDK answered no copies). */
86
86
  evmNoCopy: (detail) => `No storage provider kept the piece: ${detail}`,
87
87
  /** `heavy wallet` output labels. */
@@ -94,8 +94,8 @@ export const HEAVY_COPY = {
94
94
  fundReview: (usdfc, address) => `Deposit ${usdfc} USDFC from ${address} into Filecoin Pay, for --pay evm uploads.`,
95
95
  fundNeedsYes: "Nothing was signed. Depositing spends from the wallet: run it again with --yes.",
96
96
  fundNothing: "The deposit already covers this amount. Nothing was signed.",
97
- fundDone: (hash) => ` deposited — transaction ${hash}`,
98
- fundBadAmount: (raw) => `heavy fund takes an amount of USDFC above zero, such as 5 or 2.5 — not "${raw}".`,
97
+ fundDone: (hash) => ` deposited: transaction ${hash}`,
98
+ fundBadAmount: (raw) => `heavy fund takes an amount of USDFC above zero, such as 5 or 2.5. It got "${raw}".`,
99
99
  /** The SDK's `put(…, { tier })`: an option given on the tier or payer it means nothing to. */
100
100
  sdkHeavyOnly: (option) => `\`${option}\` only applies with tier: "heavy".`,
101
101
  sdkNotHeavy: (option) => `\`${option}\` does not apply to tier: "heavy".`,
@@ -25,9 +25,9 @@ export function optionLines() {
25
25
  ` --all Include what is in the trash (ls), or take one label off every`,
26
26
  ` file that carries it (unlabel)`,
27
27
  ` --sent <path> Who ONE file was shared with, instead of the inbox (shares)`,
28
- ` --hide-name Leave the file's name out of the link; its size stays (link make)`,
28
+ ` --hide-name Leave the file's name out of the link. Its size stays (link make)`,
29
29
  ` --expires <n>d When the link stops working, 1d to 3650d. Default: when it is cut (link make)`,
30
- ` --rename <old> The label to rename; the new name follows it (label)`,
30
+ ` --rename <old> The label to rename. The new name follows it (label)`,
31
31
  ` --qr Draw the wallet address as a code to scan (wallet address)`,
32
32
  ` --remove Take your name off the gift hall of fame, leaving a shortened`,
33
33
  ` address (wallet hall). Give this or --name, not both`,
@@ -44,13 +44,13 @@ export function optionLines() {
44
44
  ` --cap-wal <coins> --cap-sui <coins>`,
45
45
  ` A ceiling on what this tool may sign away under the agreement`,
46
46
  ` --fee-cap <sui> A ceiling on the chain fee of one transaction (wallet send, wallet`,
47
- ` swap). Only up to it is used; the rest stays in the wallet`,
47
+ ` swap). Only up to it is used. The rest stays in the wallet`,
48
48
  ` --venue <name> deepbook or bluefin (wallet swap). Neither is a default: without`,
49
49
  ` it both quotes are printed and nothing is signed`,
50
- ` --slippage-bps <n> How far below the quote the swap may still fill, in bps — 1 bps`,
51
- ` = 0.01% (wallet swap). 1 to 5000, default 50. Below 10 or above`,
50
+ ` --slippage-bps <n> How far below the quote the swap may still fill, in bps`,
51
+ ` (1 bps = 0.01%. Wallet swap). 1 to 5000, default 50. Below 10 or above`,
52
52
  ` 200 is an extreme`,
53
- ` --accept-extremes Go on past the extremes gate — slippage, fee cap or a quote more`,
53
+ ` --accept-extremes Go on past the extremes gate: slippage, fee cap or a quote more`,
54
54
  ` than 3% from the site's reference price (wallet swap). A person's`,
55
55
  ` act, refused while a mode is on`,
56
56
  ` --reveal Print the NMTS key itself (whoami). A person's act, and`,
@@ -87,11 +87,11 @@ export function optionLines() {
87
87
  ` would install, and stop (update). With \`extend\` and \`--pay`,
88
88
  ` wallet\` nothing is signed and the wallet key is never touched`,
89
89
  ` --thumbnail Send a video's preview picture with it, one frame taken by ffmpeg`,
90
- ` (put); fetch only that picture (get)`,
90
+ ` (put). Fetch only that picture (get)`,
91
91
  ` --thumbnail-file <f> The picture to send as the video's preview instead (put)`,
92
92
  ` --part-size <n> Bytes per part for a large upload (put, push). Default 64MiB.`,
93
93
  ` A plain number, or one with KiB, MiB or GiB. Bigger parts mean`,
94
- ` fewer purchases; smaller parts use less memory`,
94
+ ` fewer purchases. Smaller parts use less memory`,
95
95
  ` --on-collision <what> rename | overwrite, for THIS run only (put, push). Without it the`,
96
96
  ` machine's own setting decides -- see \`${BINARY_NAME} on-collision\`.`,
97
97
  ` --deposit <n> Credits THIS upload sets aside per file, 0 to 64 (put, push, with`,
@@ -102,7 +102,7 @@ export function optionLines() {
102
102
  ` rollback, wallet send, wallet swap, wallet donate),`,
103
103
  ` or extend a file that is nowhere near its deadline (extend)`,
104
104
  ` --epochs <n> How many of the storage network's epochs to add (extend), to buy`,
105
- ` (put, push --pay wallet, wallet storage buy; default 2), or to keep`,
105
+ ` (put, push --pay wallet, wallet storage buy. Default 2), or to keep`,
106
106
  ` (wallet storage split)`,
107
107
  ` --size <bytes> What a cut resource keeps, or a bought one holds: bytes, or with`,
108
108
  ` KiB/MiB/GiB (wallet storage split, wallet storage buy)`,
@@ -110,12 +110,12 @@ export function optionLines() {
110
110
  ` wallet = the wallet this NMTS key derives signs and pays the`,
111
111
  ` network directly, under a wallet agreement of scope storage`,
112
112
  ` --from <drive path> Re-upload a file the account's credits paid for, this time from the`,
113
- ` wallet (put --pay wallet). It keeps its name and folder; the old file`,
113
+ ` wallet (put --pay wallet). It keeps its name and folder. The old file`,
114
114
  ` goes to the trash. --dry-run prices it without reading it`,
115
115
  ` --storage fit|whole|<object id>`,
116
116
  ` Use a free storage resource the wallet already holds (put --pay`,
117
117
  ` wallet, one-part files). fit cuts it to size and leaves the rest`,
118
- ` free; whole binds all of it with the file. The review says which`,
118
+ ` free. Whole binds all of it with the file. The review says which`,
119
119
  ` bytes go where. Without it new storage is bought`,
120
120
  ` --trust-server-tip-address Send the standing gift where this server says rather than where`,
121
121
  ` this build says (put, push, extend --pay wallet). For your own server`,
@@ -144,7 +144,7 @@ export function optionLines() {
144
144
  ` send, support reply)`,
145
145
  ` --status Say whether the check is live, and stop (verify)`,
146
146
  ` --plain Store the NMTS key unsealed instead (login). Asks for an agreement`,
147
- ` --env Store nothing; print the variable to set (login). Same agreement`,
147
+ ` --env Store nothing. Print the variable to set (login). Same agreement`,
148
148
  // Copy facts — these four lines. Facts: `--wallet` with no number means the NMTS key comes from
149
149
  // a wallet's signature (login, create); the wallet's secret is never an option value, only a
150
150
  // file path; the account number is inside what is signed, so another number is another
@@ -154,7 +154,7 @@ export function optionLines() {
154
154
  ` With put --pay wallet, that wallet pays for the upload`,
155
155
  ` --delegation-file <p> File holding a user's delegation token (wallet storage extend).`,
156
156
  ` Never the token itself`,
157
- ` --account <n> Which of that wallet's accounts. Default 1; it is inside what is signed`,
157
+ ` --account <n> Which of that wallet's accounts. Default 1. It is inside what is signed`,
158
158
  ` --app <name> Scope the signature to one product. Without it, one account everywhere`,
159
159
  ` --version Print the version and exit`,
160
160
  ` --help Print this and exit`,
package/dist/help.js CHANGED
@@ -19,81 +19,81 @@ import { LATEST_RELEASE_URL, NO_CHECK_ENV_VAR } from "./update-source.js";
19
19
  import { CHECK_DOES_NOT_PROVE, CHECK_PROVES, RECOVERY_TOOL_URL, wrapText, } from "./recovery-release.js";
20
20
  export function helpText(version) {
21
21
  return [
22
- `${PRODUCT_NAME} ${version} — command-line access to end-to-end encrypted NMTS storage.`,
22
+ `${PRODUCT_NAME} ${version}: command-line access to end-to-end encrypted NMTS storage.`,
23
23
  ``,
24
24
  `USAGE`,
25
25
  ` ${BINARY_NAME} <command> [options]`,
26
26
  ``,
27
27
  `COMMANDS`,
28
- ` login Keep an NMTS key on this machine, sealed — and take an API key`,
28
+ ` login Keep an NMTS key on this machine, sealed, and take an API key`,
29
29
  ` logout Remove the stored NMTS key`,
30
30
  ` whoami Show which account the stored NMTS key belongs to (offline)`,
31
- ` create Make a NEW account. Prints its NMTS key once — nothing can print it again.`,
31
+ ` create Make a NEW account. Prints its NMTS key once. Nothing can print it again.`,
32
32
  ` With no verified API key, it prints an address for a PERSON to open`,
33
33
  ` key new Make an API key for this machine out of the NMTS key it already`,
34
34
  ` holds, and store it. \`--print\` shows it once as well`,
35
35
  ` key list Every API key of this account: what it may do, when it stops, when it`,
36
- ` was last used. Needs the NMTS key; an API key cannot list keys`,
37
- ` key revoke <id|all> Cut one key, or all of them — whatever uses it stops at once`,
36
+ ` was last used. Needs the NMTS key. An API key cannot list keys`,
37
+ ` key revoke <id|all> Cut one key, or all of them. Whatever uses it stops at once`,
38
38
  // Copy facts — these three lines. Facts: the list says which wallets open this account and when
39
39
  // each was added; adding one lets whoever holds that wallet open every file in the account
40
40
  // from any machine; removing one stops it from then on and cannot unknow what it opened. All
41
41
  // three need the NMTS key itself, not only an API key.
42
42
  ` openers The wallets that open this account, and when each was added`,
43
- ` openers add Attach a wallet — it opens every file here until it is removed`,
43
+ ` openers add Attach a wallet. It opens every file here until it is removed`,
44
44
  ` openers remove <loc> Stop one wallet opening this account from now on`,
45
45
  ` devices What is signed in to this account. \`--sign-out <id|all>\` ends one`,
46
- ` or all — a person's act: needs the NMTS key, refused in mode auto`,
46
+ ` or all. A person's act: needs the NMTS key, refused in mode auto`,
47
47
  ` ls List files in the account`,
48
48
  ` usage What the account holds: counts, bytes, largest files, trash`,
49
49
  ` balance Credits left, what they buy, and the ceilings on spending`,
50
50
  ` trial What is left of this week's free credits. \`trial apply\` asks for some`,
51
51
  ` credits transfer --to <account identifier> <credits>`,
52
- ` Move credits to another account of your own — the one that made this`,
52
+ ` Move credits to another account of your own: the one that made this`,
53
53
  ` account, or one made under it. Never to anyone else`,
54
54
  ` expiring List files whose bought storage runs out soon`,
55
- ` losses Storage the chain lost — a program uploading with a key keeps writing into it`,
55
+ ` losses Storage the chain lost. A program uploading with a key keeps writing into it`,
56
56
  ` ai-account Accounts made under this one for an AI to work in: list, create, delete.`,
57
57
  ` Each has its own NMTS key and its own empty drive. Needs the NMTS key`,
58
- ` extend <path> Buy more storage time for one file — **spends WAL from the wallet**`,
58
+ ` extend <path> Buy more storage time for one file. **Spends WAL from the wallet**`,
59
59
  ` public-code The code other accounts send files to. \`--publish\` makes it reachable;`,
60
60
  ` \`--save [file]\` writes your public code file, for handovers`,
61
61
  ` public-code list Every code this NMTS key has published, live and revoked`,
62
62
  ` public-code new Publish the next code. \`--replace <n>\` revokes that one in the same step`,
63
63
  ` public-code revoke <n>`,
64
64
  ` Revoke a code: nobody can send to it again. Asks every time`,
65
- ` delete-account A PERSON erases this account's server record — irreversible; needs the`,
65
+ ` delete-account A PERSON erases this account's server record. Irreversible. Needs the`,
66
66
  ` NMTS key, types a sentence, refused in mode auto`,
67
67
  ` accept-terms A PERSON accepts a new version of the Terms, by typing its version;`,
68
- ` refused in mode auto. Read first: terms · privacy · notices`,
68
+ ` refused in mode auto. Read first: terms, privacy, notices`,
69
69
  ` wallet Show the account's wallet address, and its SUI and WAL balances`,
70
- ` wallet address Just the address, derived on this machine — no network call.`,
70
+ ` wallet address Just the address, derived on this machine. No network call.`,
71
71
  ` \`--qr\` draws it as a code a phone can scan; \`--index N\` another wallet`,
72
72
  ` wallet list Every wallet this key has, with balances, and which one pays`,
73
- ` wallet use <number> Pay from that wallet from now on — on the account, not this machine`,
73
+ ` wallet use <number> Pay from that wallet from now on, on the account (not only this machine)`,
74
74
  ` wallet activity The wallet's recent transactions, named where the chain proves it`,
75
75
  ` wallet storage The storage resources (size × time) the wallet holds, unbound`,
76
- ` wallet storage split <id> --size <n>|--epochs <n> · merge <id> <id> · transfer <id> <address>`,
77
- ` Cut, join or hand over a resource — **signs**, under the wallet unlock`,
76
+ ` wallet storage split <id> --size <n>|--epochs <n>, merge <id> <id>, transfer <id> <address>`,
77
+ ` Cut, join or hand over a resource. **Signs**, under the wallet unlock`,
78
78
  ` wallet storage buy --size <n> [--epochs <n>]`,
79
- ` Buy a resource with no file — **signs and spends WAL**, under the unlock`,
79
+ ` Buy a resource with no file. **Signs and spends WAL**, under the unlock`,
80
80
  ` wallet storage extend [<item-id>...] --delegation-file <file>`,
81
81
  ` A business extends a user's files from its own wallet, with the user's`,
82
- ` token and no key of theirs — **signs and spends WAL**, under the unlock`,
82
+ ` token and no key of theirs. **Signs and spends WAL**, under the unlock`,
83
83
  ` wallet send <SUI|WAL> <amount|max> <address>`,
84
- ` Send coins to an address — **signs and spends from the wallet**.`,
85
- ` Prints the review; sends only with --yes`,
84
+ ` Send coins to an address. **Signs and spends from the wallet**.`,
85
+ ` Prints the review. Sends only with --yes`,
86
86
  ` wallet swap <SUI|WAL|USDC> <amount|max> [--to <SUI|WAL|USDC>]`,
87
87
  ` Swap SUI, WAL and USDC, any direction, on DeepBook or Bluefin`,
88
- ` (mainnet) — **signs and spends**. Without --venue, quotes both`,
88
+ ` (mainnet). **Signs and spends**. Without --venue, quotes both`,
89
89
  ` and stops. Without --to, SUI→WAL and WAL→SUI; USDC needs --to`,
90
90
  ` wallet donate <SUI|WAL> <amount>`,
91
- ` A voluntary gift to the developer — **signs and spends**. A person's`,
91
+ ` A voluntary gift to the developer. **Signs and spends**. A person's`,
92
92
  ` act: refused in mode auto, and needs --yes every time`,
93
93
  ` wallet hall The gift hall of fame, read from the chain. \`--name <name>\` lists you`,
94
94
  ` under a name your wallet signs for; \`--remove\` goes back to a`,
95
95
  ` shortened address. Reading it signs nothing`,
96
- ` put <file> Encrypt one file and upload it, paid with credits — or, with`,
96
+ ` put <file> Encrypt one file and upload it, paid with credits or, with`,
97
97
  ` \`--pay wallet\`, **signs and spends WAL and SUI from the wallet**.`,
98
98
  ` \`--tier heavy\` keeps it whole in two separate places (NMTS Heavy);`,
99
99
  ` the default is \`--tier standard\``,
@@ -101,24 +101,24 @@ export function helpText(version) {
101
101
  ` \`--copies <1-12>\` (default 2) and \`--providers <id,…>\` choose where`,
102
102
  ` get <path> Download one file and decrypt it`,
103
103
  ` pull [folder] Download a whole folder, or the whole account, keeping its shape`,
104
- ` push <directory> Upload a whole directory, keeping its shape — **spends credits**,`,
104
+ ` push <directory> Upload a whole directory, keeping its shape. **Spends credits**,`,
105
105
  ` or the wallet with \`--pay wallet\`. \`--tier heavy\` as for put`,
106
106
  ` heavy wallet The EVM wallet this key derives for NMTS Heavy: its address, FIL and`,
107
107
  ` USDFC balances and its Filecoin Pay deposit. \`--index N\` another wallet`,
108
108
  ` heavy fund <USDFC> Deposit USDFC from that wallet so \`put --tier heavy --pay evm\` pays`,
109
- ` the storage operators itself — **signs and spends**`,
110
- ` rm <paths> Move things to the trash — restorable for 30 days`,
109
+ ` the storage operators itself. **Signs and spends**`,
110
+ ` rm <paths> Move things to the trash, restorable for 30 days`,
111
111
  ` restore <paths> Bring things back out of the trash`,
112
112
  ` sweep Drop trash entries whose 30 days have run out. Asks first`,
113
- ` erase <paths> Erase files for good — the server's record and this account's key.`,
113
+ ` erase <paths> Erase files for good: the server's record and this account's key.`,
114
114
  ` A typed sentence; \`--release-storage\` also destroys credit-paid storage`,
115
115
  ` rebuild Build a file list from the server's rows, for an account with none`,
116
- ` rollback Put the previous file list back — a person's act`,
116
+ ` rollback Put the previous file list back. A person's act`,
117
117
  ` listfile Write this machine's copy of the sealed file list out as a file`,
118
118
  ` mkdir <path> Make a folder, and any folder above it that is missing`,
119
119
  ` mv <paths> <folder> Move things into a folder. \`/\` is the top of the drive`,
120
120
  ` rename <path> <name> Give one thing a new name`,
121
- ` star <files> Star files — they are gathered in favourites as well`,
121
+ ` star <files> Star files. They are gathered in favourites as well`,
122
122
  ` unstar <files> Take the star off`,
123
123
  ` pin <files> Hold files at the top of the folder they are in`,
124
124
  ` unpin <files> Let them fall back into the ordinary order`,
@@ -131,7 +131,7 @@ export function helpText(version) {
131
131
  ` receive <id> Download one file somebody shared with this account`,
132
132
  ` unshare <id> Withdraw a share you sent, or remove one you were sent`,
133
133
  ` handover make <path> --to <public code | public code file>`,
134
- ` Write a handover file for one account — NMTS keeps no record of it,`,
134
+ ` Write a handover file for one account. NMTS keeps no record of it,`,
135
135
  ` and it cannot be taken back. Asks every time: answer with --yes`,
136
136
  ` handover open <file> Save the file a handover file carries. Needs no API key`,
137
137
  ` link make <path> Make a public link to a file`,
@@ -141,17 +141,17 @@ export function helpText(version) {
141
141
  ` links revoke-all Cut every live public link at once`,
142
142
  ` link open <link> Download and decrypt a file from a public link, without logging in`,
143
143
  ` env What this machine is, and what it means for the NMTS key`,
144
- ` unlock [name] What this machine has unlocked; \`unlock <name>\` opens one — a person,`,
145
- ` at a terminal. \`lock <name>\` closes it. (\`consent\` is the older name)`,
146
- ` mode [name] How much an agent may decide without asking: default · auto-low ·`,
147
- ` auto-high · skip-permissions. Switched by a person at a terminal`,
144
+ ` unlock [name] What this machine has unlocked; \`unlock <name>\` opens one (a person,`,
145
+ ` at a terminal). \`lock <name>\` closes it. (\`consent\` is the older name)`,
146
+ ` mode [name] How much an agent may decide without asking: default, auto-low,`,
147
+ ` auto-high, skip-permissions. Switched by a person at a terminal`,
148
148
  ` on-collision What to do when an upload's name is already in use`,
149
149
  ` padding [mode] How file sizes are hidden: standard, pow2, or off for the exact size.`,
150
150
  ` Applies to the next uploads`,
151
151
  ` deposit [credits] Credits each credit-paid upload sets aside as a deposit, 0 to 64.`,
152
152
  ` Default 64; \`put --deposit <n>\` sets it for one upload`,
153
153
  ` tip [percent|off] The standing share of every storage payment sent to the developer as a`,
154
- ` gift, in WAL, without asking. 0 by default; the gift terms are agreed once`,
154
+ ` gift, in WAL, without asking. 0 by default. The gift terms are agreed once`,
155
155
  ` update Install the newest published release of this tool`,
156
156
  ` recovery Download the standalone program that reads files back without NMTS`,
157
157
  ` recovery-list Write the file that finds your bytes without NMTS. Holds no NMTS key`,
@@ -163,7 +163,7 @@ export function helpText(version) {
163
163
  ` privacy The Privacy Policy in force`,
164
164
  ` mcp Serve this account's commands as tools, for an agent that speaks MCP`,
165
165
  ` s3 Serve the drive to any S3 program, on this machine only`,
166
- ` platform keygen Make the key pair a business signs its Platform requests with — writes`,
166
+ ` platform keygen Make the key pair a business signs its Platform requests with. Writes`,
167
167
  ` both halves to a file only you can read, prints only the public half`,
168
168
  ` platform register Where that public key is registered: a browser session, not this tool`,
169
169
  ``,
@@ -174,13 +174,13 @@ export function helpText(version) {
174
174
  ` ${CODE_FILE_ENV_VAR.padEnd(24)}Names a FILE holding the NMTS key, read once and never copied. The`,
175
175
  ` recommended way, and how a container is given it (examples/podman.sh).`,
176
176
  ` ${CODE_ENV_VAR.padEnd(24)}The NMTS key itself. It wins over that file and over what`,
177
- ` \`${BINARY_NAME} login\` stored, and asks once — an environment variable is`,
177
+ ` \`${BINARY_NAME} login\` stored, and asks once: an environment variable is`,
178
178
  ` readable through \`docker inspect\`, /proc/<pid>/environ and CI logs.`,
179
179
  ` ${PASSPHRASE_ENV_VAR.padEnd(24)}Opens a sealed stored NMTS key without a terminal.`,
180
180
  ` ${API_KEY_FILE_ENV_VAR.padEnd(24)}Names a FILE holding the API key. \`${BINARY_NAME} login\` reads this`,
181
181
  ` first, and a container cannot leak it the way it leaks a value.`,
182
182
  ` ${API_KEY_ENV_VAR.padEnd(24)}Key made on the account screen. It waives the human check a`,
183
- ` browser sign-in does, and nothing else — it opens no file.`,
183
+ ` browser sign-in does, and nothing else. It opens no file.`,
184
184
  ` \`${BINARY_NAME} login\` checks one it finds here with the server and`,
185
185
  ` then stores it, so it outlives the terminal it was set in.`,
186
186
  ` ${SERVER_ENV_VAR.padEnd(24)}Server to talk to. For development stacks.`,
@@ -226,7 +226,7 @@ export function helpText(version) {
226
226
  ` it last found, and \`${BINARY_NAME} update\` asks now and installs what it finds.`,
227
227
  ``,
228
228
  `BEFORE YOU HAND THIS TO AN AGENT`,
229
- ` Your NMTS key is the only key to your account — the file keys and the wallet are all`,
229
+ ` Your NMTS key is the only key to your account. The file keys and the wallet are all`,
230
230
  ` derived from it. An agent that leaks it has leaked everything at once, and it cannot be`,
231
231
  ` undone: the account cannot be re-keyed. Use an account you would be willing to lose.`,
232
232
  ``,
@@ -291,6 +291,20 @@ export async function printHelp(args, write) {
291
291
  write(doc.text);
292
292
  return doc.found ? 0 : 2;
293
293
  }
294
- write(args.command === "support" ? supportHelpText() : helpText(VERSION));
294
+ if (args.command === "support") {
295
+ write(supportHelpText());
296
+ return 0;
297
+ }
298
+ // `nmts <command> --help` prints that command's document, the same text `nmts help <command>`
299
+ // prints. Until 2026-11-11 every command but two answered `--help` with the whole command list,
300
+ // so the one place a person looks first for a command's options never had them.
301
+ if (args.command !== null && args.command !== "help") {
302
+ const doc = await helpFor(args.command);
303
+ if (doc.found) {
304
+ write(doc.text);
305
+ return 0;
306
+ }
307
+ }
308
+ write(helpText(VERSION));
295
309
  return 0;
296
310
  }
@@ -47,8 +47,8 @@ export async function humanCheck(server, apiKey) {
47
47
  export function askAPersonToVerify(whatIsRefused) {
48
48
  return new NmtsError(`${whatIsRefused} until somebody passes this account's human check.`, {
49
49
  exitCode: 4,
50
- nextStep: `Run \`${BINARY_NAME} verify\`. It prints a short code and an address; a person opens that ` +
50
+ nextStep: `Run \`${BINARY_NAME} verify\`. It prints a short code and an address. A person opens that ` +
51
51
  `address, types the code, and this account's limits are lifted for four of the server's ` +
52
- `weeks. Nothing on this machine can pass that check — being unable to is what it measures.`,
52
+ `weeks. Nothing on this machine can pass that check. Being unable to is what it measures.`,
53
53
  });
54
54
  }
package/dist/kit-file.js CHANGED
@@ -93,8 +93,8 @@ export function buildRecoveryKit(input) {
93
93
  `This file is the only way to recover your NMTS files. Keep it private.`,
94
94
  `This file carries your NMTS key in the clear, your account identifier and fingerprint, ` +
95
95
  `and the whole recovery list.`,
96
- `Anyone with this NMTS key can open your files. If you lose it, no one — including NMTS — can ` +
97
- `recover them.`,
96
+ `Anyone with this NMTS key can open your files. If you lose it, your files cannot be recovered. ` +
97
+ `NMTS cannot recover them either.`,
98
98
  ``,
99
99
  `NMTS key:`,
100
100
  ` ${input.code}`,
@@ -103,20 +103,20 @@ export function buildRecoveryKit(input) {
103
103
  `Fingerprint: ${data.account_fingerprint}`,
104
104
  `Recovery manifest blob: not yet created`,
105
105
  `Recovery list: ${input.recoveryList === null
106
- ? `not included — this account had no files when the kit was made`
106
+ ? `not included: this account had no files when the kit was made`
107
107
  : `included in this file (${input.listFileCount ?? 0} files)`}`,
108
108
  ``,
109
109
  `--- HOW TO GET YOUR FILES BACK (English) ---`,
110
- `1. Get the recovery program from ${RECOVERY_TOOL_URL} — it runs on Linux, macOS and ` +
110
+ `1. Get the recovery program from ${RECOVERY_TOOL_URL}. It runs on Linux, macOS and ` +
111
111
  `Windows, and its full source is there.`,
112
112
  `2. Open a terminal where you saved the program, and run:`,
113
113
  ` nmts-recovery --map <this file> --out <a folder to write into>`,
114
114
  ` It takes the NMTS key and the file list out of this file, fetches your files from ` +
115
115
  `public Walrus storage, checks every piece, and writes them out.`,
116
116
  `3. To click instead of typing, run: nmts-recovery --gui`,
117
- ` That opens a page only this machine can reach. The program still does the work; the page ` +
117
+ ` That opens a page only this machine can reach. The program still does the work. The page ` +
118
118
  `only shows the list and sends back what you ticked.`,
119
- `4. To see what your NMTS key derives — your public code and your wallet addresses — ` +
119
+ `4. To see what your NMTS key derives (your public code and your wallet addresses), ` +
120
120
  `run: nmts-recovery --derive`,
121
121
  `If you would rather it opened no network connections, run it with --print-fetch-plan: it ` +
122
122
  `prints the exact addresses to fetch by hand, then restores from the folder you filled.`,
package/dist/list-file.js CHANGED
@@ -59,7 +59,7 @@ export const LIST_FILE_EXTENSION = "nmtslist";
59
59
  export { WRITTEN_BY };
60
60
  /** Plain-language lines for whoever finds this file with no idea what it is. */
61
61
  const NOTE = [
62
- `This file is an encrypted copy of an NMTS (nmts.me) file list — the names, folders and file ` +
62
+ `This file is an encrypted copy of an NMTS (nmts.me) file list: the names, folders and file ` +
63
63
  `keys of one account, locked with its NMTS key.`,
64
64
  `It is written by the \`nmts\` command from the copy that machine keeps. A higher number in the ` +
65
65
  `filename is a newer copy.`,
@@ -36,7 +36,7 @@ export class ManifestChunkError extends NmtsError {
36
36
  super(message, {
37
37
  exitCode: 1,
38
38
  nextStep: "Nothing was changed. The list is stored in pieces and one of them did not arrive whole, " +
39
- "so what this command could show would be missing files. Try again; if it repeats, open " +
39
+ "so what this command could show would be missing files. Try again. If it repeats, open " +
40
40
  "the account in a browser and compare before writing anything.",
41
41
  });
42
42
  this.name = "ManifestChunkError";
@@ -59,8 +59,8 @@ export async function createFirstList(input, entries) {
59
59
  if (error instanceof ServerError && error.code === "VERSION_CONFLICT") {
60
60
  throw new NmtsError("This account already has a file list, so nothing was rebuilt.", {
61
61
  exitCode: 4,
62
- nextStep: "Nothing was changed. A list appeared while this ran — another device wrote one, or " +
63
- "one was there all along. Run `nmts ls` to see what it holds; a rebuild would have " +
62
+ nextStep: "Nothing was changed. A list appeared while this ran: another device wrote one, or " +
63
+ "one was there all along. Run `nmts ls` to see what it holds. A rebuild would have " +
64
64
  "replaced its names with placeholders.",
65
65
  });
66
66
  }
@@ -133,7 +133,7 @@ export async function applyManyToList(input, make, patch) {
133
133
  }
134
134
  }
135
135
  throw new NmtsError(`The file list was rewritten by something else ${CONFLICT_RETRIES + 1} times in a row.`, {
136
- nextStep: "Nothing about this edit was lost — running the same command again applies it to the " +
136
+ nextStep: "Nothing about this edit was lost. Running the same command again applies it to the " +
137
137
  "list as it now stands.",
138
138
  });
139
139
  }
package/dist/manifest.js CHANGED
@@ -186,7 +186,7 @@ export async function readFileList(base, apiKey, accountCode, accountId) {
186
186
  return { manifest: null, firstTimeOnThisMachine: first };
187
187
  const seen = (await readSeen())[accountId];
188
188
  if (seen !== undefined && answer.seq < seen.seq) {
189
- throw new NmtsError(`The server offered file-list version ${answer.seq}; this machine already saw ${seen.seq}.`, {
189
+ throw new NmtsError(`The server offered file-list version ${answer.seq}. This machine already saw ${seen.seq}.`, {
190
190
  nextStep: "Nothing was changed. A list that goes backwards means an older copy is being served, " +
191
191
  "so files added since could be missing from it. Open the account in a browser and " +
192
192
  "compare before writing anything.",
@@ -225,8 +225,11 @@ export async function readFileList(base, apiKey, accountCode, accountId) {
225
225
  "account sealed. Nothing was changed.",
226
226
  });
227
227
  }
228
- // ⛔ The index is packed with zstd whenever the writer had the codec, and this is the first read
229
- // in a fresh process: the codec registers here, before the index, not only in `openChunks`.
228
+ // ⛔ THE CODEC IS REGISTERED BEFORE THE FIRST DECODE, NOT ONLY BEFORE THE CHUNKS. The opened blob
229
+ // itself — a version-2 index, or a version-1 list — carries a compression flag, and a writer
230
+ // with zstd sets it. Registering only in `openChunks` left a fresh process unable to read any
231
+ // list this tool, the SDK or the browser had written: `nmts ls` answered "this build has no
232
+ // zstd decoder" (found 2026-11-11 by the part-size measurement's second SDK run).
230
233
  await host().zstd.register();
231
234
  const doc = await decodeFileList(body);
232
235
  body.fill(0);
package/dist/mcp-args.js CHANGED
@@ -146,7 +146,7 @@ export function checkArgs(schema, args) {
146
146
  if (isRecord(property)) {
147
147
  const allowed = stringList(property["enum"]);
148
148
  if (allowed.length > 0 && typeof value === "string" && !allowed.includes(value)) {
149
- problems.push(`\`${name}\` must be one of ${allowed.join(", ")} — this call sent ${value}`);
149
+ problems.push(`\`${name}\` must be one of ${allowed.join(", ")}. This call sent ${value}`);
150
150
  }
151
151
  }
152
152
  }
@@ -20,15 +20,15 @@ export function creditTools(ctx) {
20
20
  return [
21
21
  {
22
22
  name: "nmts_credits_transfer",
23
- description: "Move credits from this account to another account of the SAME FAMILY — the account a " +
24
- "person made and every account made under it — and nowhere else. Use it when the free " +
23
+ description: "Move credits from this account to another account of the SAME FAMILY (the account a " +
24
+ "person made and every account made under it) and nowhere else. Use it when the free " +
25
25
  "trial's credits landed on one account and the work is happening in another: the whole " +
26
26
  "family gets one application a week, not one each. The credits keep the date they were " +
27
- "already going to lapse on; moving them does not renew them, and nothing is spent by " +
27
+ "already going to lapse on. Moving them does not renew them, and nothing is spent by " +
28
28
  "moving them. The reply carries both balances. ⛔ A recipient outside the family and an " +
29
- "account that does not exist are refused in the same words — do not treat that refusal " +
29
+ "account that does not exist are refused in the same words. Do not treat that refusal " +
30
30
  "as an invitation to try another identifier. It also needs the account's human check to " +
31
- "be live; when it is not, the refusal names `nmts verify`, which only a person can run.",
31
+ "be live. When it is not, the refusal names `nmts verify`, which only a person can run.",
32
32
  inputSchema: {
33
33
  type: "object",
34
34
  properties: {
@@ -26,9 +26,9 @@ import { receive } from "../commands/receive.js";
26
26
  import { DEPOSIT_CREDITS_MAX } from "../deposit.js";
27
27
  import { destinationFor } from "../safe-path.js";
28
28
  import { common, needString, say } from "./context.js";
29
- const SPENDS = "⛔ THIS SPENDS THE ACCOUNT'S CREDITS — one credit per started mebibyte, per lease period, and " +
29
+ const SPENDS = "⛔ THIS SPENDS THE ACCOUNT'S CREDITS: one credit per started mebibyte, per lease period, and " +
30
30
  "credits are not refundable. Pass dry_run to be told the price without spending it. The first " +
31
- "upload on a machine stops and asks the person to agree; show them what it says rather than " +
31
+ "upload on a machine stops and asks the person to agree. Show them what it says rather than " +
32
32
  "agreeing for them.";
33
33
  const DEPOSIT_HINT = `Credits each uploaded file sets aside as a deposit, 0 to ${DEPOSIT_CREDITS_MAX}. Leave it out to use ` +
34
34
  "the account's own default (nmts_deposit reads it). The deposit pays the chain fee of a later " +
@@ -80,9 +80,9 @@ export function fileTools(ctx) {
80
80
  },
81
81
  {
82
82
  name: "nmts_pull",
83
- description: `Fetch a whole folder — or the whole account, if no folder is named — and rebuild its ` +
83
+ description: `Fetch a whole folder (or the whole account, if no folder is named) and rebuild its ` +
84
84
  `shape under ${ctx.outDir}. Unlike fetching one file it carries on past a file that will ` +
85
- `not come back, because getting nineteen of twenty is better than getting none; the reply ` +
85
+ `not come back, because getting nineteen of twenty is better than getting none. The reply ` +
86
86
  `lists what was written, what was skipped as already there, and what failed and why.`,
87
87
  inputSchema: {
88
88
  type: "object",
@@ -154,11 +154,11 @@ export function fileTools(ctx) {
154
154
  {
155
155
  name: "nmts_push",
156
156
  description: `Upload a whole directory from this machine, rebuilding its shape in the account. ` +
157
- `${SPENDS} ⛔ It stops at the FIRST failure rather than carrying on — the opposite of ` +
157
+ `${SPENDS} ⛔ It stops at the FIRST failure instead of carrying on: the opposite of ` +
158
158
  `nmts_pull, and on purpose: a failure that really means the account cannot pay any more ` +
159
159
  `would, if carried past, ask to pay for every remaining file. Files already in the ` +
160
160
  `destination are skipped, so running it again is safe and sends only what is missing. ` +
161
- `Names beginning with a dot are left alone unless include_hidden is true — a directory of ` +
161
+ `Names beginning with a dot are left alone unless include_hidden is true. A directory of ` +
162
162
  `source code keeps its credentials in exactly those files.`,
163
163
  inputSchema: {
164
164
  type: "object",