@needmoretruth/nmts-cli 0.36.3 → 0.38.0
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 +17 -0
- package/README.ko.md +1 -1
- package/README.md +1 -1
- package/dist/artifact-about.d.ts +1 -1
- package/dist/commands/erase.js +1 -1
- package/dist/commands/organise.d.ts +5 -27
- package/dist/commands/organise.js +33 -193
- package/dist/commands/push.js +1 -1
- package/dist/commands/s3.d.ts +0 -10
- package/dist/commands/s3.js +46 -121
- package/dist/commands/trash.d.ts +0 -9
- package/dist/commands/trash.js +23 -223
- package/dist/drive-edit.d.ts +189 -0
- package/dist/drive-edit.js +541 -0
- package/dist/product.d.ts +1 -1
- package/dist/product.js +1 -1
- package/dist/s3/drive.d.ts +108 -0
- package/dist/s3/drive.js +136 -0
- package/dist/s3/listing.d.ts +8 -1
- package/dist/s3/listing.js +8 -1
- package/dist/s3/server.d.ts +42 -3
- package/dist/s3/server.js +59 -20
- package/dist/s3/sigv4.d.ts +26 -0
- package/dist/s3/sigv4.js +37 -0
- package/dist/s3/xml.d.ts +8 -1
- package/dist/s3/xml.js +13 -4
- package/dist/s3-gateway.d.ts +8 -0
- package/dist/s3-gateway.js +13 -0
- package/docs/commands/create.md +2 -2
- package/docs/commands/env.md +1 -1
- package/docs/commands/extend.md +0 -3
- package/docs/commands/login.md +1 -1
- package/docs/commands/logout.md +1 -1
- package/docs/commands/marks.md +1 -1
- package/docs/commands/mcp.md +1 -1
- package/docs/commands/put.md +2 -2
- package/docs/commands/wallet.md +7 -9
- package/docs/commands/whoami.md +2 -2
- package/package.json +9 -1
package/docs/commands/put.md
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Commands: put
|
|
4
4
|
Tiers: put=medium · put.wallet=high(wallet)
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
`put` spends credits: one per started mebibyte, and the price is printed before the upload
|
|
7
|
+
starts. In the default mode it asks first (answer at the terminal, or run with `--yes`);
|
|
8
8
|
in an auto mode it runs when you judge it is what the person wants.
|
|
9
9
|
|
|
10
10
|
```sh
|
package/docs/commands/wallet.md
CHANGED
|
@@ -74,12 +74,10 @@ Three coin subcommands sign, and every signed transaction is irreversible by any
|
|
|
74
74
|
explorer. It is outside the wallet unlock and its ceiling. A standing share of every WAL
|
|
75
75
|
payment is `nmts tip`, not a gift on its own.
|
|
76
76
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
address. Reading which wallet that is opens the file list, so naming yourself needs an API key
|
|
85
|
-
where reading the hall needs none.
|
|
77
|
+
`wallet hall` prints the gift hall of fame — the developer, then the ten largest senders as read
|
|
78
|
+
from the public chain, with the rest of the list at nmts.me/hall; reading it signs nothing and
|
|
79
|
+
needs no NMTS key. `--name <name>` (1 to 24 characters, no links, not an address) signs a
|
|
80
|
+
short message with the wallet this account pays from — the wallet a gift left from — so the
|
|
81
|
+
server shows that name beside its address, and `--remove` puts the entry back to a shortened
|
|
82
|
+
address. Reading which wallet that is opens the file list, so naming yourself needs an API key
|
|
83
|
+
where reading the hall needs none.
|
package/docs/commands/whoami.md
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
Commands: whoami
|
|
4
4
|
Tiers: whoami=none · whoami.reveal=high(reveal)
|
|
5
5
|
|
|
6
|
-
Prints the account id the stored
|
|
6
|
+
Prints the account id the stored NMTS key belongs to, offline, with no server call. `--json` gives it
|
|
7
7
|
to a program.
|
|
8
8
|
|
|
9
9
|
`--reveal` prints the NMTS key itself. An agent never needs this — the tool already holds the
|
|
10
|
-
|
|
10
|
+
key — so it is locked until a person runs `nmts unlock reveal` at a terminal, and then asked about
|
|
11
11
|
on every run in every mode but skip-permissions. Never write the NMTS key anywhere it can be read
|
|
12
12
|
again: a log, a commit, a file, a message. It is the only key to the account and cannot be rotated.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@needmoretruth/nmts-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.38.0",
|
|
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": {
|
|
@@ -77,6 +77,14 @@
|
|
|
77
77
|
"types": "./dist/drive-paths.d.ts",
|
|
78
78
|
"default": "./dist/drive-paths.js"
|
|
79
79
|
},
|
|
80
|
+
"./drive-edit": {
|
|
81
|
+
"types": "./dist/drive-edit.d.ts",
|
|
82
|
+
"default": "./dist/drive-edit.js"
|
|
83
|
+
},
|
|
84
|
+
"./s3-gateway": {
|
|
85
|
+
"types": "./dist/s3-gateway.d.ts",
|
|
86
|
+
"default": "./dist/s3-gateway.js"
|
|
87
|
+
},
|
|
80
88
|
"./upload-file": {
|
|
81
89
|
"types": "./dist/upload-file.d.ts",
|
|
82
90
|
"default": "./dist/upload-file.js"
|