@needmoretruth/nmts-cli 0.59.0 → 0.59.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/README.ko.md +1 -1
- package/README.md +1 -1
- package/dist/artifact-about.d.ts +1 -1
- package/dist/commands/expiring.js +5 -3
- package/dist/commands/extend.js +6 -4
- package/dist/commands/login.js +3 -3
- package/dist/commands/wallet-use.js +1 -1
- package/dist/commands/wallet.js +2 -2
- package/dist/product.d.ts +1 -1
- package/dist/product.js +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
Each version's entry is what changed for the person or the program using `nmts`. The product's own
|
|
4
4
|
update history, which covers the site and the server too, is at https://nmts.me/updates.
|
|
5
5
|
|
|
6
|
+
## 0.59.1 — 2026-11-11
|
|
7
|
+
|
|
8
|
+
- `expiring` says that storage another wallet bought, such as a service that paid for your
|
|
9
|
+
uploads, only that wallet can extend. It used to tell everyone to extend from their own wallet.
|
|
10
|
+
- `wallet` no longer says `extend` is the one command that signs: every command that signs from
|
|
11
|
+
the wallet stays locked until a person unlocks it on this machine. `extend` no longer says every
|
|
12
|
+
other command spends credits.
|
|
13
|
+
|
|
6
14
|
## 0.59.0 — 2026-11-11
|
|
7
15
|
|
|
8
16
|
- `nmts wallet storage extend [<item-id>...] --delegation-file <file>` lets a business that paid
|
package/README.ko.md
CHANGED
|
@@ -50,7 +50,7 @@ nmts --help
|
|
|
50
50
|
|
|
51
51
|
```sh
|
|
52
52
|
npm install -g github:needmoretruth/nmts-cli # 기본 브랜치
|
|
53
|
-
npm install -g github:needmoretruth/nmts-cli#v0.59.
|
|
53
|
+
npm install -g github:needmoretruth/nmts-cli#v0.59.1 # 버전을 고정할 때
|
|
54
54
|
npm install -g https://github.com/needmoretruth/nmts-cli/releases/latest/download/nmts.tgz
|
|
55
55
|
```
|
|
56
56
|
|
package/README.md
CHANGED
|
@@ -51,7 +51,7 @@ default branch, from a pinned version, or from the tarball attached to the
|
|
|
51
51
|
|
|
52
52
|
```sh
|
|
53
53
|
npm install -g github:needmoretruth/nmts-cli # the default branch
|
|
54
|
-
npm install -g github:needmoretruth/nmts-cli#v0.59.
|
|
54
|
+
npm install -g github:needmoretruth/nmts-cli#v0.59.1 # a pinned version
|
|
55
55
|
npm install -g https://github.com/needmoretruth/nmts-cli/releases/latest/download/nmts.tgz
|
|
56
56
|
```
|
|
57
57
|
|
package/dist/artifact-about.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export declare const CRYPTO_SPEC_URL = "https://github.com/needmoretruth/nmts-re
|
|
|
11
11
|
* is the field's own contract — what the writer says about itself — and a person holding two
|
|
12
12
|
* copies of one account's artefacts can then tell which program made each.
|
|
13
13
|
*/
|
|
14
|
-
export declare const WRITTEN_BY = "nmts-cli 0.59.
|
|
14
|
+
export declare const WRITTEN_BY = "nmts-cli 0.59.1";
|
|
15
15
|
/** Which of the three artefacts a wrapper is. A reader holding several can sort them. */
|
|
16
16
|
export type ArtifactKind = "recovery-list" | "file-list" | "recovery-kit";
|
|
17
17
|
/**
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
// address to send one to.
|
|
16
16
|
//
|
|
17
17
|
// ⛔ AND IT BUYS NOTHING. What this does is make the deadline visible in time for somebody to act
|
|
18
|
-
// on it. Acting on it is `nmts extend`, which spends from the
|
|
19
|
-
// its own agreement first — this command reads, and no amount of it costs anything.
|
|
18
|
+
// on it. Acting on it is `nmts extend`, which spends from the wallet that holds the storage and
|
|
19
|
+
// asks for its own agreement first — this command reads, and no amount of it costs anything.
|
|
20
20
|
import { request } from "../api.js";
|
|
21
21
|
import { buildIndex, fullPathOf } from "../drive-paths.js";
|
|
22
22
|
import { NmtsError } from "../errors.js";
|
|
@@ -118,9 +118,11 @@ export async function expiring(options = {}) {
|
|
|
118
118
|
say(` and running this again shows the next ones.`);
|
|
119
119
|
}
|
|
120
120
|
say(``);
|
|
121
|
-
say(`
|
|
121
|
+
say(`Storage your own wallet bought is extended from that wallet and signed on this machine: ` +
|
|
122
122
|
`\`${BINARY_NAME} extend <path>\`, or the browser at ${HOME_URL}. It spends WAL rather than ` +
|
|
123
123
|
`credits, and it asks once before it signs.`);
|
|
124
|
+
say(`Storage another wallet bought, such as a service that paid for your uploads, only that wallet ` +
|
|
125
|
+
`can extend; \`${BINARY_NAME} extend\` names it and stops before signing.`);
|
|
124
126
|
return 0;
|
|
125
127
|
}
|
|
126
128
|
/** What a row is called, with the reason spelled out when it has no name. */
|
package/dist/commands/extend.js
CHANGED
|
@@ -167,8 +167,10 @@ function describe(say, facts) {
|
|
|
167
167
|
say(` ${unreachable} part${unreachable === 1 ? "" : "s"} of this file cannot be extended from here.`);
|
|
168
168
|
}
|
|
169
169
|
say(``);
|
|
170
|
-
// ⛔ REQUIRED, AND IT COMES BEFORE THE AGREEMENT.
|
|
171
|
-
//
|
|
172
|
-
|
|
173
|
-
|
|
170
|
+
// ⛔ REQUIRED, AND IT COMES BEFORE THE AGREEMENT. A person who has only ever stored with credits
|
|
171
|
+
// must read that this spends assets out of a wallet, and nobody can put them back. (It once said
|
|
172
|
+
// "every other command spends credits", which stopped being true when wallet uploads, sends,
|
|
173
|
+
// swaps and storage purchases arrived.)
|
|
174
|
+
say(` This is paid in WAL from the wallet this NMTS key derives, not from credits, and nobody`);
|
|
175
|
+
say(` can put it back. \`${BINARY_NAME} wallet\` shows what is in it.`);
|
|
174
176
|
}
|
package/dist/commands/login.js
CHANGED
|
@@ -282,9 +282,9 @@ function sayAboutTheKey(outcome, server, say) {
|
|
|
282
282
|
say(``);
|
|
283
283
|
say(`⚠ A different API key is in ${keySourceName(outcome.from)}. It was NOT stored.`);
|
|
284
284
|
say(``);
|
|
285
|
-
say(` The key already on this machine is left as it is.
|
|
286
|
-
say(`
|
|
287
|
-
say(`
|
|
285
|
+
say(` The key already on this machine is left as it is. Storing the NMTS key does not replace`);
|
|
286
|
+
say(` it on the side: every agent using the old one would stop at a moment nobody would`);
|
|
287
|
+
say(` connect to this.`);
|
|
288
288
|
say(``);
|
|
289
289
|
say(` While that variable is set, every command uses what it holds anyway: the environment`);
|
|
290
290
|
say(` wins over what is stored. To store it instead — at a terminal, run this again and`);
|
|
@@ -49,7 +49,7 @@ export async function walletUse(said, options = {}) {
|
|
|
49
49
|
say(`Address ${address}`);
|
|
50
50
|
say(``);
|
|
51
51
|
say(` Storage paid from this account's wallet now leaves this address, on every device — the`);
|
|
52
|
-
say(` number
|
|
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;
|
|
55
55
|
}
|
package/dist/commands/wallet.js
CHANGED
|
@@ -143,8 +143,8 @@ export async function wallet(what, options = {}) {
|
|
|
143
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
|
-
say(` Nothing here signs or spends.
|
|
147
|
-
say(`
|
|
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.`);
|
|
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);
|
package/dist/product.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export declare const BINARY_NAME = "nmts";
|
|
|
9
9
|
* beside it. Here rather than in `main.ts` because the MCP server has to say it too, and a
|
|
10
10
|
* command importing the entry point is a cycle waiting to bite.
|
|
11
11
|
*/
|
|
12
|
-
export declare const VERSION = "0.59.
|
|
12
|
+
export declare const VERSION = "0.59.1";
|
|
13
13
|
/** Where the product lives, for messages that need to send somebody somewhere real. */
|
|
14
14
|
export declare const HOME_URL = "https://nmts.me";
|
|
15
15
|
/** The source, so a person holding only the built program can find what it was built from. */
|
package/dist/product.js
CHANGED
|
@@ -18,7 +18,7 @@ export const BINARY_NAME = "nmts";
|
|
|
18
18
|
* beside it. Here rather than in `main.ts` because the MCP server has to say it too, and a
|
|
19
19
|
* command importing the entry point is a cycle waiting to bite.
|
|
20
20
|
*/
|
|
21
|
-
export const VERSION = "0.59.
|
|
21
|
+
export const VERSION = "0.59.1";
|
|
22
22
|
/** Where the product lives, for messages that need to send somebody somewhere real. */
|
|
23
23
|
export const HOME_URL = "https://nmts.me";
|
|
24
24
|
/** The source, so a person holding only the built program can find what it was built from. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@needmoretruth/nmts-cli",
|
|
3
|
-
"version": "0.59.
|
|
3
|
+
"version": "0.59.1",
|
|
4
4
|
"description": "Command-line and MCP access to NMTS (NeedMoreTruthStorage, https://nmts.me): open-source, end-to-end encrypted storage on the Walrus network. No fee to NMTS; you pay the network from your own wallet. For people and for their agents.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"publishConfig": {
|
package/server.json
CHANGED
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
"url": "https://github.com/needmoretruth/nmts-cli",
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
|
-
"version": "0.59.
|
|
9
|
+
"version": "0.59.1",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"registryBaseUrl": "https://registry.npmjs.org",
|
|
14
14
|
"identifier": "@needmoretruth/nmts-cli",
|
|
15
|
-
"version": "0.59.
|
|
15
|
+
"version": "0.59.1",
|
|
16
16
|
"transport": {
|
|
17
17
|
"type": "stdio"
|
|
18
18
|
},
|