mnemospark 1.2.2 → 1.3.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/README.md +18 -12
- package/dist/cli.js +278 -107
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +21 -6
- package/dist/index.js +260 -86
- package/dist/index.js.map +1 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +2 -2
- package/skills/mnemospark/references/commands.md +1 -0
package/README.md
CHANGED
|
@@ -93,6 +93,8 @@ Use other regions by changing `provider:` and `region:` (defaults: `aws` / `us-e
|
|
|
93
93
|
/mnemospark cloud upload quote-id:<quote-id> wallet-address:<addr> object-id:<id> object-id-hash:<sha256>
|
|
94
94
|
```
|
|
95
95
|
|
|
96
|
+
On **OpenClaw 2026.4.x**, the first successful upload applies the **Mnemospark Renewal Agent Runbook** for you: it ensures a dedicated agent (`mnemospark-renewal` by default) with `tools.deny: ["subagents"]` and `tools.exec.ask: "off"`, updates `~/.openclaw/exec-approvals.json` so `/usr/bin/node` is allowlisted for that agent, runs `openclaw config validate`, and best-effort `openclaw gateway restart`. It then registers the monthly renewal cron with `--no-deliver`, `--agent`, and a `Command: /usr/bin/node …/dist/cli.js cloud payment-settle --renewal …` message. Override paths with `MNEMOSPARK_CRON_AGENT_ID` and `MNEMOSPARK_CRON_NODE_BIN` if your system differs.
|
|
97
|
+
|
|
96
98
|
### List objects
|
|
97
99
|
|
|
98
100
|
```text
|
|
@@ -141,17 +143,21 @@ The blockchain transaction is the payment record.
|
|
|
141
143
|
|
|
142
144
|
Optional unless noted. All names use the `MNEMOSPARK_` prefix.
|
|
143
145
|
|
|
144
|
-
| Variable
|
|
145
|
-
|
|
|
146
|
-
| `MNEMOSPARK_BACKEND_API_BASE_URL`
|
|
147
|
-
| `MNEMOSPARK_PROXY_PORT`
|
|
148
|
-
| `MNEMOSPARK_DOWNLOAD_DIR`
|
|
149
|
-
| `MNEMOSPARK_WALLET_KEY`
|
|
150
|
-
| `MNEMOSPARK_REMOVE_BACKUP_FILE`
|
|
151
|
-
| `MNEMOSPARK_DISABLED`
|
|
152
|
-
| `MNEMOSPARK_DISABLE_SQLITE`
|
|
153
|
-
| `MNEMOSPARK_SQLITE_STRICT`
|
|
154
|
-
| `MNEMOSPARK_PROXY_VERBOSE_404`
|
|
146
|
+
| Variable | Purpose |
|
|
147
|
+
| ------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
148
|
+
| `MNEMOSPARK_BACKEND_API_BASE_URL` | Base URL for the mnemospark backend API (required for the local HTTP proxy to forward storage calls). Example: `https://{api-id}.execute-api.{region}.amazonaws.com/{stage}`. |
|
|
149
|
+
| `MNEMOSPARK_PROXY_PORT` | TCP port for the mnemospark HTTP proxy (default `7120`). |
|
|
150
|
+
| `MNEMOSPARK_DOWNLOAD_DIR` | Directory where the proxy writes downloaded objects (default `~/.openclaw/mnemospark/downloads/`). |
|
|
151
|
+
| `MNEMOSPARK_WALLET_KEY` | Path to the wallet private key file when not using the default `~/.openclaw/mnemospark/wallet/wallet.key`. |
|
|
152
|
+
| `MNEMOSPARK_REMOVE_BACKUP_FILE` | After a **successful** cloud upload, delete the local backup archive under `~/.openclaw/mnemospark/backup/`. **Default when unset:** remove the file. Set to `0`, `false`, `no`, or `n` to keep it; `1`, `true`, `yes`, or `y` to remove. |
|
|
153
|
+
| `MNEMOSPARK_DISABLED` | Set to `true` or `1` to disable plugin registration. |
|
|
154
|
+
| `MNEMOSPARK_DISABLE_SQLITE` | Set to `1` to disable local SQLite (`state.db`); cloud commands that need local state will fail. |
|
|
155
|
+
| `MNEMOSPARK_SQLITE_STRICT` | Set to `1` so certain SQLite consistency checks (e.g. friendly-name verification after upload) throw instead of warning. |
|
|
156
|
+
| `MNEMOSPARK_PROXY_VERBOSE_404` | When `1`, `true`, or `yes`, the local HTTP proxy includes a `message` field on **404** responses describing supported paths. Default (unset) is a generic JSON body `{ "error": "Not found" }` only (reduces reconnaissance). |
|
|
157
|
+
| `MNEMOSPARK_CRON_AGENT_ID` | OpenClaw agent id used for the monthly renewal cron (default `mnemospark-renewal`). |
|
|
158
|
+
| `MNEMOSPARK_CRON_NODE_BIN` | Absolute path to `node` for renewal cron exec (default `/usr/bin/node`). |
|
|
159
|
+
| `MNEMOSPARK_DISABLE_OPENCLAW_PREREQ` | Set to `1` to skip automatic runbook application (for advanced debugging only). |
|
|
160
|
+
| `MNEMOSPARK_SKIP_GATEWAY_RESTART` | Set to `1` to skip best-effort `openclaw gateway restart` after prerequisite writes. |
|
|
155
161
|
|
|
156
162
|
---
|
|
157
163
|
|
|
@@ -160,7 +166,7 @@ Optional unless noted. All names use the `MNEMOSPARK_` prefix.
|
|
|
160
166
|
1. Install plugin
|
|
161
167
|
2. Fund Base wallet with USDC
|
|
162
168
|
3. Request quote
|
|
163
|
-
4. Execute upload
|
|
169
|
+
4. Execute upload (supports up to 5 GB files - multipart uploads coming soon!)
|
|
164
170
|
5. Confirm/list/download/delete as needed
|
|
165
171
|
|
|
166
172
|
---
|