@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.
Files changed (220) hide show
  1. package/AGENTS.md +49 -49
  2. package/CHANGELOG.md +128 -99
  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 +4 -4
  27. package/dist/commands/extend.js +8 -8
  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 +9 -9
  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 +2 -2
  85. package/dist/commands/wallet.js +6 -6
  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
@@ -45,7 +45,7 @@ export async function walletSend(operands, options = {}) {
45
45
  if (amountRaw === undefined || destinationRaw === undefined) {
46
46
  throw new NmtsError("Say how much, and to which address.", {
47
47
  exitCode: 2,
48
- nextStep: `\`${BINARY_NAME} wallet send ${coin} <amount|max> <address>\` — "max" sends everything that can be sent.`,
48
+ nextStep: `\`${BINARY_NAME} wallet send ${coin} <amount|max> <address>\`. "max" sends everything that can be sent.`,
49
49
  });
50
50
  }
51
51
  const resolved = await requireAccountCode();
@@ -63,7 +63,7 @@ export async function walletSend(operands, options = {}) {
63
63
  const which = [!purse.sui.read ? `SUI: ${purse.sui.why}` : null, !purse.wal.read ? `WAL: ${purse.wal.why}` : null].filter((w) => w !== null);
64
64
  throw new NmtsError("A balance could not be read, so this tool cannot tell what can be sent.", {
65
65
  exitCode: 1,
66
- nextStep: `Nothing was signed. That is not an empty wallet — ${which.join("; ")}.`,
66
+ nextStep: `Nothing was signed. A balance that could not be read is not an empty one: ${which.join("; ")}.`,
67
67
  });
68
68
  }
69
69
  const suiBalance = purse.sui.baseUnits;
@@ -113,10 +113,10 @@ export async function walletSend(operands, options = {}) {
113
113
  say(` to ${shape.destination}`);
114
114
  say(` from ${address}`);
115
115
  say(feeMist === null
116
- ? ` Chain fee (SUI): could not be measured just now; it is charged with the signature.`
117
- : ` Chain fee about ${facts.feeSui} SUI, measured by a dry run just now — the amount charged is fixed when it executes.`);
116
+ ? ` Chain fee (SUI): could not be measured just now. It is charged with the signature.`
117
+ : ` Chain fee about ${facts.feeSui} SUI, measured by a dry run just now. The amount charged is fixed when it executes.`);
118
118
  if (gasBudgetMist !== undefined)
119
- say(` Fee cap ${coinAmount(gasBudgetMist)} SUI — only up to this is used; the rest stays.`);
119
+ say(` Fee cap ${coinAmount(gasBudgetMist)} SUI. Only up to this is used. The rest stays.`);
120
120
  say(` Afterwards the wallet holds about ${facts.suiAfter} SUI and ${facts.walAfter} WAL.`);
121
121
  say(``);
122
122
  say(` ⛔ A transfer cannot be undone by anybody, NMTS included. Check the address once more.`);
@@ -99,7 +99,7 @@ function describe(say, review, wallet) {
99
99
  say(` paid by ${review.address} (wallet ${wallet}), which also receives it`);
100
100
  say(` Storage ${coinAmount(review.priceFrost)} WAL. Writing a file into it later costs its own small WAL.`);
101
101
  say(review.feeMist === null
102
- ? ` Chain fee (SUI): could not be measured just now; it is charged with the signature.`
102
+ ? ` Chain fee (SUI): could not be measured just now. It is charged with the signature.`
103
103
  : ` Chain fee about ${coinAmount(review.feeMist)} SUI, measured by a dry run just now.`);
104
104
  const wal = review.walFrost === null ? "WAL not read" : `${coinAmount(review.walFrost)} WAL`;
105
105
  const sui = review.suiMist === null ? "SUI not read" : `${coinAmount(review.suiMist)} SUI`;
@@ -86,7 +86,7 @@ export async function walletStorageExtend(items, options = {}) {
86
86
  exitCode: done.stopped.code === "EXTEND_RECORDED_LATE" ? 1 : 4,
87
87
  nextStep: done.stopped.code === "EXTEND_RECORDED_LATE"
88
88
  ? "Do not run this again for that file: it would pay for the same time twice."
89
- : "The files above it were extended; the rest were not. Run it again once that is fixed.",
89
+ : "The files above it were extended. The rest were not. Run it again once that is fixed.",
90
90
  });
91
91
  }
92
92
  /** The user's token out of its file, refusing a missing or empty one before anything is read. */
@@ -110,10 +110,10 @@ function describe(say, review, wallet) {
110
110
  for (const line of detail(plan))
111
111
  say(` ${line}`);
112
112
  say(review.feeMist === null
113
- ? ` Chain fee (SUI): could not be measured just now; it is charged with the signature.`
113
+ ? ` Chain fee (SUI): could not be measured just now. It is charged with the signature.`
114
114
  : ` Chain fee about ${coinAmount(review.feeMist)} SUI, measured by a dry run just now.`);
115
115
  if (plan.op === "transfer") {
116
- say(` ⛔ No file goes with it. What goes is size and remaining time; the files stay sealed with this`);
116
+ say(` ⛔ No file goes with it. What goes is size and remaining time. The files stay sealed with this`);
117
117
  say(` account's keys. It cannot be undone, and NMTS cannot recall it. Check the address once more.`);
118
118
  }
119
119
  }
@@ -121,7 +121,7 @@ function describe(say, review, wallet) {
121
121
  function what(plan) {
122
122
  const named = (at) => {
123
123
  const r = plan.named[at];
124
- return r === undefined ? "" : `${formatBytes(r.sizeBytes)} · epoch ${r.startEpoch} to ${r.endEpoch} (${r.objectId})`;
124
+ return r === undefined ? "" : `${formatBytes(r.sizeBytes)}, epoch ${r.startEpoch} to ${r.endEpoch} (${r.objectId})`;
125
125
  };
126
126
  const result = plan.result;
127
127
  if (result.kind === "split")
@@ -136,8 +136,8 @@ function detail(plan) {
136
136
  if (result.kind === "split") {
137
137
  const { keeps, creates } = result;
138
138
  return plan.shape.kind === "splitSize"
139
- ? [`It keeps ${formatBytes(keeps.sizeBytes)}; a new resource of ${formatBytes(creates.sizeBytes)} over the same period appears in this wallet.`]
140
- : [`It keeps epoch ${keeps.startEpoch} to ${keeps.endEpoch}; a new resource of the same size over epoch ${creates.startEpoch} to ${creates.endEpoch} appears in this wallet.`];
139
+ ? [`It keeps ${formatBytes(keeps.sizeBytes)}. A new resource of ${formatBytes(creates.sizeBytes)} over the same period appears in this wallet.`]
140
+ : [`It keeps epoch ${keeps.startEpoch} to ${keeps.endEpoch}. A new resource of the same size over epoch ${creates.startEpoch} to ${creates.endEpoch} appears in this wallet.`];
141
141
  }
142
142
  if (result.kind === "merge") {
143
143
  const b = result.becomes;
@@ -57,7 +57,7 @@ export async function walletStorage(options = {}) {
57
57
  say(` ${formatBytes(listed.usableBytes)} usable now, in ${items.length} resource${items.length === 1 ? "" : "s"}.`);
58
58
  for (const r of items) {
59
59
  const status = r.status === null ? "" : ` ${statusWord(r.status)}`;
60
- say(` ${formatBytes(r.sizeBytes).padStart(11)} · epoch ${r.startEpoch} to ${r.endEpoch}${status}`);
60
+ say(` ${formatBytes(r.sizeBytes).padStart(11)}, epoch ${r.startEpoch} to ${r.endEpoch}${status}`);
61
61
  say(` ${r.objectId}`);
62
62
  }
63
63
  }
@@ -41,7 +41,7 @@ export async function walletSwap(operands, options = {}) {
41
41
  const inWord = coinWordOf(coinRaw, "goes in");
42
42
  const toWord = options.to === undefined ? null : coinWordOf(options.to, "comes out");
43
43
  if (amountRaw === undefined) {
44
- throw new NmtsError("Say how much.", { exitCode: 2, nextStep: `${USAGE} — "max" swaps everything that can be swapped.` });
44
+ throw new NmtsError("Say how much.", { exitCode: 2, nextStep: `${USAGE}. "max" swaps everything that can be swapped.` });
45
45
  }
46
46
  const resolved = await requireAccountCode();
47
47
  // ⛔ WHICH WALLET SWAPS, FIRST — the coins that are read, the quote that is priced, the address
@@ -81,7 +81,7 @@ export async function walletSwap(operands, options = {}) {
81
81
  ].filter((w) => w !== null);
82
82
  throw new NmtsError("A balance could not be read, so this tool cannot tell what can be swapped.", {
83
83
  exitCode: 1,
84
- nextStep: `Nothing was signed. That is not an empty wallet — ${which.join("; ")}.`,
84
+ nextStep: `Nothing was signed. A balance that could not be read is not an empty one: ${which.join("; ")}.`,
85
85
  });
86
86
  }
87
87
  const held = {
@@ -106,7 +106,7 @@ export async function walletSwap(operands, options = {}) {
106
106
  ? `A ${coinIn} swap pays its fee in SUI, and the wallet holds less SUI than is kept back for that.`
107
107
  : "The wallet does not hold that much.", {
108
108
  exitCode: 4,
109
- nextStep: `Nothing was signed. The wallet holds ${holds.join(", ")}; the most that can go in is ${amountOf(coinIn, maxIn)} ${coinIn} (SUI keeps ${coinAmount(keptForGas)} back for the fee).`,
109
+ nextStep: `Nothing was signed. The wallet holds ${holds.join(", ")}. The most that can go in is ${amountOf(coinIn, maxIn)} ${coinIn} (SUI keeps ${coinAmount(keptForGas)} back for the fee).`,
110
110
  });
111
111
  }
112
112
  let slippageBps = SLIPPAGE_BPS_DEFAULT;
@@ -150,7 +150,7 @@ export async function walletSwap(operands, options = {}) {
150
150
  }
151
151
  }));
152
152
  if (options.venue === undefined) {
153
- const lines = answers.map((a) => (a.quote === null ? `${a.venue.padEnd(9)} did not answer — ${a.why}` : quoteLine(a.quote, coinOut, coinIn)));
153
+ const lines = answers.map((a) => (a.quote === null ? `${a.venue.padEnd(9)} did not answer: ${a.why}` : quoteLine(a.quote, coinOut, coinIn)));
154
154
  if (options.json) {
155
155
  say(JSON.stringify({ direction, amountInUnits: amountInUnits.toString(), network, quotes: answers.map((a) => (a.quote === null ? { venue: a.venue, answered: false, why: a.why } : { venue: a.venue, answered: true, outUnits: a.quote.outUnits.toString(), feeRateBps: a.quote.feeRateBps, leftoverInUnits: a.quote.leftoverInUnits.toString(), route: a.quote.route, leftoverMidUnits: a.quote.leftoverMidUnits.toString() })), signed: false }));
156
156
  return 4;
@@ -231,16 +231,16 @@ export async function walletSwap(operands, options = {}) {
231
231
  say(`Swapping ${facts.amountIn} ${coinIn} for ${coinOut} on ${venueName(venue)}`);
232
232
  say(` from ${address} (wallet ${wallet})`);
233
233
  if (quote.route === "viaUsdc")
234
- say(` Route ${coinIn} → USDC → ${coinOut}, two pools in one transaction; the minimum covers the whole trade`);
235
- say(` Quoted ${facts.quotedOut} ${coinOut} — the chain's answer just now, not a promise${quote.leftoverInUnits > 0n ? `; ${amountOf(coinIn, quote.leftoverInUnits)} ${coinIn} would come back unused` : ""}${quote.leftoverMidUnits > 0n ? `; ${amountOf("USDC", quote.leftoverMidUnits)} USDC would come back unused` : ""}`);
234
+ say(` Route ${coinIn} → USDC → ${coinOut}, two pools in one transaction. The minimum covers the whole trade`);
235
+ say(` Quoted ${facts.quotedOut} ${coinOut}: the chain's answer just now, and no promise${quote.leftoverInUnits > 0n ? `; ${amountOf(coinIn, quote.leftoverInUnits)} ${coinIn} would come back unused` : ""}${quote.leftoverMidUnits > 0n ? `; ${amountOf("USDC", quote.leftoverMidUnits)} USDC would come back unused` : ""}`);
236
236
  if (venue === "exchange")
237
- say(` Rate ${exchange?.rateWal} WAL per ${exchange?.rateSui} SUI, read off the facility; it takes no minimum`);
237
+ say(` Rate ${exchange?.rateWal} WAL per ${exchange?.rateSui} SUI, read off the facility. It takes no minimum`);
238
238
  else
239
- say(` At least ${facts.minOut} ${coinOut}, or the swap fails on chain — slippage ${slippageBps} bps (${pct(slippageBps)})`);
239
+ say(` At least ${facts.minOut} ${coinOut}, or the swap fails on chain. Slippage ${slippageBps} bps (${pct(slippageBps)})`);
240
240
  say(quote.feeRateBps === null ? ` Venue fee: could not be measured from the quote just now` : ` Venue fee about ${pct(quote.feeRateBps)} of what goes in, measured from the quote`);
241
- say(feeMist === null ? ` Chain fee (SUI): could not be measured just now; it is charged with the signature` : ` Chain fee about ${facts.feeSui} SUI, measured by a dry run just now — the amount charged is fixed when it executes`);
241
+ say(feeMist === null ? ` Chain fee (SUI): could not be measured just now. It is charged with the signature` : ` Chain fee about ${facts.feeSui} SUI, measured by a dry run just now. The amount charged is fixed when it executes`);
242
242
  if (gasBudgetMist !== undefined)
243
- say(` Fee cap ${coinAmount(gasBudgetMist)} SUI — only up to this is used; the rest stays`);
243
+ say(` Fee cap ${coinAmount(gasBudgetMist)} SUI. Only up to this is used. The rest stays`);
244
244
  say(deviationBps === null ? ` Market no reference price could be read just now, so the quote was not compared with the market` : ` Market ${pct(deviationBps)} from the site's reference price (1 ${coinIn} ≈ ${market?.toFixed(4)} ${coinOut})`);
245
245
  say(` Afterwards, if the chain gives exactly the quote: about ${facts.suiAfter} SUI and ${facts.walAfter} WAL${facts.usdcAfter === null ? "" : ` and ${facts.usdcAfter} USDC`}`);
246
246
  say(``);
@@ -249,7 +249,7 @@ export async function walletSwap(operands, options = {}) {
249
249
  say(``);
250
250
  say(` ⛔ Outside the ordinary bands:`);
251
251
  for (const e of extremes)
252
- say(` · ${EXTREME_WORDS[e]}`);
252
+ say(` - ${EXTREME_WORDS[e]}`);
253
253
  }
254
254
  }
255
255
  // ⑦ The extremes gate: refused, unless a person said so.
@@ -261,7 +261,7 @@ export async function walletSwap(operands, options = {}) {
261
261
  }
262
262
  throw new NmtsError("Nothing was signed: this swap is outside the ordinary bands.", {
263
263
  exitCode: 4,
264
- nextStep: `Choose again (--slippage-bps 50, a different --fee-cap, the other venue, or later), or — as a person — add --accept-extremes to go on anyway.`,
264
+ nextStep: `Choose again (--slippage-bps 50, a different --fee-cap, the other venue, or later), or, as a person, add --accept-extremes to go on anyway.`,
265
265
  });
266
266
  }
267
267
  const mode = await currentMode();
@@ -282,7 +282,7 @@ export async function walletSwap(operands, options = {}) {
282
282
  }
283
283
  throw new NmtsError("Nothing was signed: swapping needs --yes.", {
284
284
  exitCode: 4,
285
- nextStep: `Read the review above, then run the same command with --yes. The quote will be read again; the chain gives what it gives, never less than the minimum.`,
285
+ nextStep: `Read the review above, then run the same command with --yes. The quote will be read again. The chain gives what it gives, never less than the minimum.`,
286
286
  });
287
287
  }
288
288
  // ⑨ The agreement — scope `all`, the amount and the fee held against its ceiling.
@@ -310,6 +310,6 @@ export async function walletSwap(operands, options = {}) {
310
310
  say(``);
311
311
  say(` Swapped. Transaction ${digest}`);
312
312
  say(` ${explorerTxUrl(digest, network)}`);
313
- say(` What arrived is what the chain gave — at least the minimum above. \`${BINARY_NAME} wallet\` shows the SUI and WAL balances now.`);
313
+ say(` What arrived is what the chain gave: at least the minimum above. \`${BINARY_NAME} wallet\` shows the SUI and WAL balances now.`);
314
314
  return 0;
315
315
  }
@@ -32,7 +32,7 @@ export async function walletUse(said, options = {}) {
32
32
  const session = await openSession({ server: options.server, network: options.network });
33
33
  const before = await readFileList(session.server, session.apiKey, session.code, session.accountId);
34
34
  if (before.manifest === null) {
35
- throw new NmtsError(`This account has no file list yet; which wallet pays lives in the list, and there is nothing to write it into.`, { exitCode: 4, nextStep: `Upload once (\`${BINARY_NAME} put\`) and set it after.` });
35
+ throw new NmtsError(`This account has no file list yet. Which wallet pays lives in the list, and there is nothing to write it into.`, { exitCode: 4, nextStep: `Upload once (\`${BINARY_NAME} put\`) and set it after.` });
36
36
  }
37
37
  const result = await applyManyToList(session, () => [], { activeWallet: index });
38
38
  const address = await walletAddress(session.code, index);
@@ -48,7 +48,7 @@ export async function walletUse(said, options = {}) {
48
48
  say(`Wallet ${index} pays from now on.`);
49
49
  say(`Address ${address}`);
50
50
  say(``);
51
- say(` Storage paid from this account's wallet now leaves this address, on every device — the`);
51
+ say(` Storage paid from this account's wallet now leaves this address, on every device. The`);
52
52
  say(` number is kept in the sealed file list, not on this machine. What is already stored is`);
53
53
  say(` unaffected, and the wallets you were using keep whatever is in them.`);
54
54
  return 0;
@@ -42,7 +42,7 @@ function modeOf(what) {
42
42
  `lists the storage resources it holds. None of those signs. \`${BINARY_NAME} wallet send <SUI|WAL> ` +
43
43
  `<amount|max> <address>\`, \`${BINARY_NAME} wallet swap <SUI|WAL> <amount|max>\` and ` +
44
44
  `\`${BINARY_NAME} wallet donate <SUI|WAL> <amount>\` are the three that do, and only with --yes. ` +
45
- `\`${BINARY_NAME} wallet hall\` shows the gift hall of fame; with --name it signs a name into it.`,
45
+ `\`${BINARY_NAME} wallet hall\` shows the gift hall of fame. With --name it signs a name into it.`,
46
46
  });
47
47
  }
48
48
  export async function wallet(what, options = {}) {
@@ -68,7 +68,7 @@ export async function wallet(what, options = {}) {
68
68
  if (sub !== undefined) {
69
69
  throw new NmtsError(`\`${BINARY_NAME} wallet storage ${sub}\` is not something this command does.`, {
70
70
  exitCode: 2,
71
- nextStep: `\`${BINARY_NAME} wallet storage\` lists; \`buy\`, \`extend\`, \`split\`, \`merge\` and \`transfer\` sign — \`${BINARY_NAME} help wallet\`.`,
71
+ nextStep: `\`${BINARY_NAME} wallet storage\` lists; \`buy\`, \`extend\`, \`split\`, \`merge\` and \`transfer\` sign. See \`${BINARY_NAME} help wallet\`.`,
72
72
  });
73
73
  }
74
74
  return (await import("./wallet-storage.js")).walletStorage(options);
@@ -136,15 +136,15 @@ export async function wallet(what, options = {}) {
136
136
  say(`SUI ${inWords(balances.sui)}`);
137
137
  say(`WAL ${inWords(balances.wal)}`);
138
138
  say(``);
139
- say(` The address is derived on this machine from the NMTS key; the balances were read`);
139
+ say(` The address is derived on this machine from the NMTS key. The balances were read`);
140
140
  say(` from the ${network} chain just now, and they move without this tool.`);
141
141
  if (!balances.sui.read || !balances.wal.read) {
142
142
  say(` A balance that could not be read is printed as that and never as zero, and this command`);
143
- say(` exits non-zero when it happens — so nothing driving it reads a missing number as an`);
143
+ say(` exits non-zero when it happens, so nothing driving it reads a missing number as an`);
144
144
  say(` empty wallet.`);
145
145
  }
146
146
  say(` Nothing here signs or spends. Every command that signs from this wallet stays locked until a`);
147
- say(` person unlocks it on this machine — \`${BINARY_NAME} unlock\` lists what is open.`);
147
+ say(` person unlocks it on this machine; \`${BINARY_NAME} unlock\` lists what is open.`);
148
148
  say(` Storing needs no coin here: credits pay the network. \`${BINARY_NAME} help wallet\` says where`);
149
149
  say(` SUI comes from when you want to pay the network yourself.`);
150
150
  return exitCodeFor(balances);
@@ -159,7 +159,7 @@ function exitCodeFor(balances) {
159
159
  }
160
160
  /** One balance, for a person. */
161
161
  function inWords(balance) {
162
- return balance.read ? coinAmount(balance.baseUnits) : `⛔ could not be read — ${balance.why}`;
162
+ return balance.read ? coinAmount(balance.baseUnits) : `⛔ could not be read: ${balance.why}`;
163
163
  }
164
164
  /**
165
165
  * One balance, for a program.
package/dist/consent.js CHANGED
@@ -46,7 +46,7 @@ export const CONSENTS = {
46
46
  "unsafe-code-storage": {
47
47
  what: "Store the NMTS key in the clear, unsealed, in this tool's own file.",
48
48
  risk: "The NMTS key opens every file in this account and derives its wallet. Written in the " +
49
- "clear it is readable by anything running as you — every agent, every script, every " +
49
+ "clear it is readable by anything running as you: every agent, every script, every " +
50
50
  "backup that copies your home directory, every image layer built from it. Where the " +
51
51
  "filesystem cannot keep a file private, it is readable by others as well.",
52
52
  limit: "There is no recovery from a leaked NMTS key: it cannot be changed while it still opens the " +
@@ -71,8 +71,8 @@ export const CONSENTS = {
71
71
  "/proc/<pid>/environ while the process lives, every child process inherits it, and " +
72
72
  "continuous-integration systems commonly write it into logs.",
73
73
  limit: "This covers this tool reading it and printing it. It cannot cover where you put it " +
74
- "afterwards, and it does not make the variable private. Naming a file instead — " +
75
- "NMTS_ACCOUNT_CODE_FILE — avoids all of the above and asks for nothing.",
74
+ "afterwards, and it does not make the variable private. Naming a file instead (" +
75
+ "NMTS_ACCOUNT_CODE_FILE) avoids all of the above and asks for nothing.",
76
76
  },
77
77
  /**
78
78
  * Signing a chain transaction with the wallet the NMTS key derives.
@@ -93,7 +93,7 @@ export const CONSENTS = {
93
93
  what: "Give another account the key to one of this account's files.",
94
94
  risk: "Whoever holds that address can then download the file. Withdrawing the share stops further " +
95
95
  "downloads and cannot reach a copy they already have. The address is typed by you and is " +
96
- "not checked against a person — a share sent to the wrong address is sent.",
96
+ "not checked against a person. A share sent to the wrong address is sent.",
97
97
  limit: "This does not cover uploading, spending, or anything to do with a wallet. It covers giving " +
98
98
  "away files this account already holds.",
99
99
  },
@@ -137,8 +137,8 @@ export const CONSENTS = {
137
137
  /** Writing the NMTS key into a recovery kit. */
138
138
  kit: {
139
139
  what: "Write the NMTS key into a recovery kit file on this disk.",
140
- risk: "The kit holds the NMTS key in the clear. Anything that reads this disk — a backup, a sync " +
141
- "folder, another user, an image built from it — reads it, and the NMTS key is the account.",
140
+ risk: "The kit holds the NMTS key in the clear. Anything that reads this disk (a backup, a sync " +
141
+ "folder, another user, an image built from it) reads it, and the NMTS key is the account.",
142
142
  limit: "The recovery list alone (`recovery-list`) holds no NMTS key and asks for nothing.",
143
143
  },
144
144
  /** A gift to the developer — on its own, or as a tip at payment (2026-09-06). */
@@ -244,7 +244,7 @@ export function requireConsent(key) {
244
244
  consent.limit,
245
245
  "",
246
246
  `NMTS is not responsible for what is done with this account by any program running on this`,
247
- `machine, including an AI agent. The published Terms are what govern the service; this is a`,
247
+ `machine, including an AI agent. The published Terms are what govern the service. This is a`,
248
248
  `warning, not a substitute for them.`,
249
249
  "",
250
250
  `To unlock, at a terminal, once: ${BINARY_NAME} unlock ${key}`,
@@ -204,7 +204,7 @@ function unusable(path, what) {
204
204
  exitCode: 3,
205
205
  nextStep: `Nothing was read from it. \`nmts logout\` removes it, and \`nmts login\` writes a fresh ` +
206
206
  `one. If that file is the only copy of the NMTS key, copy that key out of it by hand ` +
207
- `first — this tool will not open it.`,
207
+ `first. This tool will not open it.`,
208
208
  });
209
209
  }
210
210
  function isNotFound(error) {
package/dist/deposit.js CHANGED
@@ -68,7 +68,7 @@ export function refuseDepositWithWallet(asked) {
68
68
  */
69
69
  export function depositLines(credits, files) {
70
70
  if (credits === 0) {
71
- return [` no deposit — a release costs twice the fee from your balance`];
71
+ return [` no deposit: a release costs twice the fee from your balance`];
72
72
  }
73
73
  const each = `${credits} credit${credits === 1 ? "" : "s"}`;
74
74
  const set = files === undefined || files === 1
@@ -193,7 +193,7 @@ export async function openPart(crypt, dek, part, sealed, position, remaining, em
193
193
  function refusal(part) {
194
194
  return () => new NmtsError(`Part ${part.part_index} did not decrypt.`, {
195
195
  nextStep: "The bytes that arrived are not the bytes that were sealed. Nothing was written. " +
196
- "Try again — a different aggregator may hold the right ones.",
196
+ "Try again. A different aggregator may hold the right ones.",
197
197
  });
198
198
  }
199
199
  /**
@@ -113,7 +113,7 @@ export function fileSink(destination, options) {
113
113
  await abandon();
114
114
  throw new NmtsError(`${destination} could not be written: ${known.message}`, {
115
115
  exitCode: 1,
116
- nextStep: "Nothing was left under that name. The download itself was fine — this is the disk.",
116
+ nextStep: "Nothing was left under that name. The download itself was fine. The disk is the problem.",
117
117
  });
118
118
  }
119
119
  // ⛔ Asked a second time, as late as possible. The first check was before the download; a
@@ -164,8 +164,8 @@ export function stdoutSink(to, limit = STDOUT_HOLD_LIMIT) {
164
164
  const tooLarge = (size) => new NmtsError(`This file is ${size} bytes, and \`--out -\` hands over at most ${limit}.`, {
165
165
  exitCode: 4,
166
166
  nextStep: "Nothing was written and nothing was sent. A pipe cannot be taken back, so this mode " +
167
- "proves the whole file before it sends a byte, which means holding it. Use `--out <name>` " +
168
- "— that writes any size, and the file only appears under that name once it has been checked.",
167
+ "proves the whole file before it sends a byte, which means holding it. Use `--out <name>`: " +
168
+ "that writes any size, and the file only appears under that name once it has been checked.",
169
169
  });
170
170
  const forget = () => {
171
171
  for (const run of held)
package/dist/download.js CHANGED
@@ -158,7 +158,7 @@ async function collect(crypt, ordered, dek, expected, size, chain, read, sink) {
158
158
  expected.fill(0);
159
159
  if (!same) {
160
160
  throw new NmtsError("The file came back whole but does not match the hash recorded for it.", {
161
- nextStep: "Nothing was written. Every part decrypted, so this is not a wrong key — the bytes " +
161
+ nextStep: "Nothing was written. Every part decrypted, so the key is right. The bytes " +
162
162
  "themselves are not the ones that were uploaded.",
163
163
  });
164
164
  }
@@ -56,7 +56,7 @@ export function requireNewName(name) {
56
56
  });
57
57
  }
58
58
  if (name.includes("/")) {
59
- throw new DriveEditError("BAD_NAME", `A name cannot contain "/" — that is what makes it a path.`, {
59
+ throw new DriveEditError("BAD_NAME", `A name cannot contain "/": that is what makes it a path.`, {
60
60
  exitCode: 2,
61
61
  nextStep: `To move it, use \`nmts mv\`. Nothing was renamed.`,
62
62
  });
@@ -75,7 +75,7 @@ export async function ensureFolderPath(input, wanted) {
75
75
  throw new NmtsError(because, {
76
76
  exitCode: 1,
77
77
  nextStep: `The folders made so far are kept: ${made.join(", ")}. Running the same command again ` +
78
- `makes the rest — nothing is lost.`,
78
+ `makes the rest. Nothing is lost.`,
79
79
  });
80
80
  });
81
81
  if (result.changed)
@@ -56,7 +56,7 @@ export async function trashPaths(input, verb, paths, options = {}) {
56
56
  // `deletedAt` it does not have and leave the person exactly where they were.
57
57
  throw new DriveEditError("NOT_IN_TRASH", `"${at}" is in the trash because a folder above it is.`, {
58
58
  exitCode: 4,
59
- nextStep: `Nothing changed. Restore that folder instead — \`nmts ls --all\` shows which one carries the trash.`,
59
+ nextStep: `Nothing changed. Restore that folder instead; \`nmts ls --all\` shows which one carries the trash.`,
60
60
  });
61
61
  }
62
62
  acting.push({ entry, path: at });
@@ -117,7 +117,7 @@ export async function trashPaths(input, verb, paths, options = {}) {
117
117
  throw new NmtsError(because, {
118
118
  exitCode: 1,
119
119
  nextStep: `${done} of ${files.length} file rows were moved before this stopped, and the file list was ` +
120
- `not written. Running \`nmts ${verb}\` on the same paths again finishes the job — nothing is lost.`,
120
+ `not written. Running \`nmts ${verb}\` on the same paths again finishes the job. Nothing is lost.`,
121
121
  });
122
122
  }
123
123
  // ⛔ THE IDS ARE DECIDED AGAIN ON EVERY ATTEMPT, and this is not ceremony. Between the read above
@@ -61,7 +61,7 @@ export async function planErase(input, paths) {
61
61
  const folders = uniqueById(targets.flatMap((t) => (t.kind === KIND_FILE ? [] : foldersUnder(entries, t.id))));
62
62
  const going = uniqueById([...targets, ...files, ...folders]);
63
63
  if (files.length === 0) {
64
- throw new DriveEditError("NOT_FOUND", `Nothing named holds a file; empty folders are removed with \`${BINARY_NAME} rm\`.`, {
64
+ throw new DriveEditError("NOT_FOUND", `Nothing named holds a file. Empty folders are removed with \`${BINARY_NAME} rm\`.`, {
65
65
  exitCode: 4,
66
66
  });
67
67
  }
@@ -145,14 +145,14 @@ export function adviseFor(env, hasStoredCode) {
145
145
  out.push({
146
146
  level: "note",
147
147
  text: `This container is rootless: root inside it is an ordinary user on the host, so a ` +
148
- `mistake in any program here — this one included — is bounded by that user's reach.`,
148
+ `mistake in any program here (this one included) is bounded by that user's reach.`,
149
149
  });
150
150
  }
151
151
  else if (env.rootMapped === false) {
152
152
  out.push({
153
153
  level: "warn",
154
- text: `Root inside this container is root on the host. Running it rootless — \`podman run\` as ` +
155
- `an ordinary user, or Docker's rootless mode — bounds what a mistake here can reach.`,
154
+ text: `Root inside this container is root on the host. Running it rootless (\`podman run\` as ` +
155
+ `an ordinary user, or Docker's rootless mode) bounds what a mistake here can reach.`,
156
156
  });
157
157
  }
158
158
  if (env.uid === 0 && env.rootMapped !== true) {
@@ -172,8 +172,8 @@ export function adviseFor(env, hasStoredCode) {
172
172
  if (!env.browserReachable) {
173
173
  out.push({
174
174
  level: "note",
175
- text: `No browser can be opened here. Anything that needs a human check — making an account, ` +
176
- `renewing the account's four-week check — has to be done on a machine that has one.`,
175
+ text: `No browser can be opened here. Anything that needs a human check (making an account, ` +
176
+ `renewing the account's four-week check) has to be done on a machine that has one.`,
177
177
  });
178
178
  }
179
179
  if (env.os === "win32") {
package/dist/errors.js CHANGED
@@ -44,7 +44,7 @@ export class NotBuiltYetError extends NmtsError {
44
44
  constructor(what) {
45
45
  super(`${what} is not built yet.`, {
46
46
  exitCode: 4,
47
- nextStep: `This is not a failure — the command is announced but unfinished. Do not retry.`,
47
+ nextStep: `The command is announced but unfinished, so this is not a failure. Do not retry.`,
48
48
  });
49
49
  this.name = "NotBuiltYetError";
50
50
  }
@@ -60,22 +60,22 @@ export function budgetFacts(b) {
60
60
  /** The next step when the wallet is short: where to send what, said once. */
61
61
  export function shortfallNextStep(b) {
62
62
  const coin = b.walFrost !== null && b.walFrost < b.priceFrost ? "WAL" : "SUI";
63
- return (`Nothing was signed and nothing was charged. Send ${coin} to ${b.address} — ` +
64
- `\`${BINARY_NAME} wallet\` shows the address and both balances — and run this again.`);
63
+ return (`Nothing was signed and nothing was charged. Send ${coin} to ${b.address} ` +
64
+ `(\`${BINARY_NAME} wallet\` shows the address and both balances) and run this again.`);
65
65
  }
66
66
  /** The fee and the wallet, for a person, after the price. */
67
67
  export function describeBudget(say, b) {
68
68
  if (b.feeMist === null) {
69
- say(` The chain fee (SUI) could not be measured just now; it is charged with the signature.`);
69
+ say(` The chain fee (SUI) could not be measured just now. It is charged with the signature.`);
70
70
  }
71
71
  else {
72
- say(` Chain fee about ${coinAmount(b.feeMist)} SUI, measured by a dry run just now — the amount ` +
72
+ say(` Chain fee about ${coinAmount(b.feeMist)} SUI, measured by a dry run just now. The amount ` +
73
73
  `charged is fixed when the transaction executes.`);
74
74
  }
75
75
  const wal = b.walFrost === null ? "WAL not read" : `${coinAmount(b.walFrost)} WAL`;
76
76
  const sui = b.suiMist === null ? "SUI not read" : `${coinAmount(b.suiMist)} SUI`;
77
77
  say(` Wallet ${b.address} holds ${wal} and ${sui}.`);
78
78
  for (const why of b.unread) {
79
- say(` A balance could not be read — ${why}. That is not zero: the chain decides at signing.`);
79
+ say(` A balance could not be read: ${why}. That is not zero: the chain decides at signing.`);
80
80
  }
81
81
  }
@@ -78,7 +78,7 @@ export async function readBlobLease(client, objectId) {
78
78
  throw new NmtsError(`The storage object ${objectId} could not be read from the chain.`, {
79
79
  exitCode: 1,
80
80
  nextStep: "Nothing was signed and nothing was charged. The blob may already have been deleted, or " +
81
- "this tool may be pointed at the wrong network — `nmts env` says which one it is using.",
81
+ "this tool may be pointed at the wrong network; `nmts env` says which one it is using.",
82
82
  });
83
83
  }
84
84
  const storage = fields["storage"];
@@ -97,7 +97,7 @@ export function refuseUnheld(leases, payer, file) {
97
97
  return;
98
98
  throw new NmtsError(`EXTEND_NOT_OWNED: the wallet ${payer} does not hold the storage of "${file}": ${unheld.join("; ")}.`, {
99
99
  exitCode: 4,
100
- nextStep: "Nothing was signed and nothing was charged. Only the wallet that holds a blob can extend it — " +
100
+ nextStep: "Nothing was signed and nothing was charged. Only the wallet that holds a blob can extend it: " +
101
101
  "pay from that wallet, or leave this file to whoever holds it.",
102
102
  });
103
103
  }
@@ -144,7 +144,7 @@ export function chooseEpochs(asked, available) {
144
144
  throw new NmtsError("This file's storage is already paid as far ahead as the network allows.", {
145
145
  exitCode: 4,
146
146
  nextStep: "Nothing was signed and nothing was charged. The storage network refuses a lease that " +
147
- "ends further ahead than its own ceiling; extending again becomes possible as the " +
147
+ "ends further ahead than its own ceiling. Extending again becomes possible as the " +
148
148
  "network's epoch moves forward.",
149
149
  });
150
150
  }
@@ -173,7 +173,7 @@ function parseEpochs(asked) {
173
173
  throw new NmtsError(`An extension is a whole number of epochs: ${String(asked)}.`, {
174
174
  exitCode: 2,
175
175
  nextStep: `Nothing was signed and nothing was charged. \`--epochs 4\` buys four more of the storage ` +
176
- `network's epochs — one day each on testnet, fourteen on mainnet.`,
176
+ `network's epochs: one day each on testnet, fourteen on mainnet.`,
177
177
  });
178
178
  }
179
179
  return epochs;
@@ -190,7 +190,7 @@ export async function readWindowOrRefuse(reads, network) {
190
190
  throw new NmtsError(`The ${network} storage network could not be read.`, {
191
191
  exitCode: 1,
192
192
  nextStep: `Nothing was signed and nothing was charged. Which epoch the network is in, and how far ` +
193
- `ahead it will sell, are facts only the chain has — this will not spend against a ` +
193
+ `ahead it will sell, are facts only the chain has, and this will not spend against a ` +
194
194
  `guess. Try again, or name a different Sui node in NMTS_SUI_RPC.`,
195
195
  });
196
196
  }
package/dist/gate.js CHANGED
@@ -42,7 +42,7 @@ export async function gate(act, args, io = {}) {
42
42
  if (a.tier === "ultra-high" && (args.reason === undefined || args.reason.trim() === "")) {
43
43
  throw new NmtsError(`${a.what} This is permanent, and skip-permissions still wants the reason written down.`, {
44
44
  exitCode: 5,
45
- nextStep: `Think it through first — is this really what the person would want done right now, and ` +
45
+ nextStep: `Think it through first: is this really what the person would want done right now, and ` +
46
46
  `why? Then run the same command with --reason "<that, in a sentence>". The reason is kept ` +
47
47
  `in this machine's run log.`,
48
48
  });
package/dist/handover.js CHANGED
@@ -187,7 +187,7 @@ export function readPublicCodeFileText(crypt, text) {
187
187
  if (!identityMatches(crypt, identity, address)) {
188
188
  throw new NmtsError("The identity in this public code file does not belong to the public code it names.", {
189
189
  exitCode: 1,
190
- nextStep: "Nothing was written. Sealing to it would hand the file to somebody else; ask the recipient for their file again.",
190
+ nextStep: "Nothing was written. Sealing to it would hand the file to somebody else. Ask the recipient for their file again.",
191
191
  });
192
192
  }
193
193
  return { identity, address, display: crypt.share_address_display(address) };
@@ -202,7 +202,7 @@ function readRefusal(error, network) {
202
202
  nextStep: "Nothing was written. Update this tool and try again.",
203
203
  });
204
204
  case "other-network":
205
- return new NmtsError(`This handover file was made on the other network; this tool is on ${network}.`, {
205
+ return new NmtsError(`This handover file was made on the other network. This tool is on ${network}.`, {
206
206
  exitCode: 4,
207
207
  nextStep: "Nothing was written. Open it with --network set to the network it was made on.",
208
208
  });
@@ -8,7 +8,7 @@ export declare const HEAVY_COPY: {
8
8
  /** `--dry-run --tier heavy --pay wallet`: the plan line before any order opens (no price yet). */
9
9
  readonly walletDryPlan: (name: string, bytes: number, days: number, from: string) => string;
10
10
  /** `--dry-run` with `--tier heavy`: the closing line (nothing sent; a wallet price is quoted only when an order opens). */
11
- readonly 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.";
11
+ readonly 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.";
12
12
  /** Progress, one line per phase of one part. */
13
13
  readonly progress: (phase: string, where: string) => string;
14
14
  /** Finished: the Filecoin epoch it is kept until. */