mnemospark 0.7.0 → 0.8.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/README.md +17 -0
- package/dist/cli.js +626 -241
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +39 -0
- package/dist/index.js +626 -241
- package/dist/index.js.map +1 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
- package/skills/mnemospark/references/commands.md +13 -6
- package/skills/mnemospark/references/state-and-logs.md +5 -0
package/openclaw.plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "mnemospark",
|
|
3
3
|
"name": "mnemospark",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.8.1",
|
|
5
5
|
"description": "mnemospark is an OpenClaw plugin that gives agentic systems instant, secure access to cloud storage, compute, and proprietary datasets paid via x402 with USDC on Base. Wallet and go.",
|
|
6
6
|
"configSchema": {
|
|
7
7
|
"type": "object",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mnemospark",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.1",
|
|
4
4
|
"description": "mnemospark is an OpenClaw plugin that gives agentic systems instant, secure access to cloud storage, compute, and proprietary datasets paid via x402 with USDC on Base. Wallet and go.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -4,9 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
### Backup
|
|
6
6
|
|
|
7
|
-
`backup <file|directory>
|
|
7
|
+
`backup <file|directory> --name <friendly-name> [--async] [--orchestrator <inline|subagent>] [--timeout-seconds <n>]`
|
|
8
8
|
|
|
9
|
-
- Purpose: create a local tar+gzip backup artifact and index metadata.
|
|
9
|
+
- Purpose: create a local tar+gzip backup artifact under `~/.openclaw/mnemospark/backup/` and index metadata in SQLite.
|
|
10
|
+
- **Required:** `--name <friendly-name>` (stored in `state.db`; on-disk filename is a sanitized single path segment derived from it).
|
|
11
|
+
- Duplicate `--name` values that resolve to the same on-disk basename will fail with an “already exists” error.
|
|
10
12
|
- `--timeout-seconds <n>` only applies when `--async --orchestrator subagent`.
|
|
11
13
|
|
|
12
14
|
### Price storage quote
|
|
@@ -18,14 +20,18 @@
|
|
|
18
20
|
`upload --quote-id <quote-id> --wallet-address <addr> --object-id <id> --object-id-hash <hash> [--name <friendly-name>] [--async] [--orchestrator <inline|subagent>] [--timeout-seconds <n>]`
|
|
19
21
|
|
|
20
22
|
- Purpose: upload encrypted object for a valid quote.
|
|
23
|
+
- Local archive path: prefers `backup/<sanitized-friendly-name>` from SQLite (see `backup` + `friendly_names`); falls back to legacy `backup/<object-id>` if that file exists.
|
|
24
|
+
- Optional `--name` must exactly match the friendly name in SQLite for that `object_id` (validation only; not sent to the backend).
|
|
21
25
|
- `--timeout-seconds <n>` only applies when `--async --orchestrator subagent`.
|
|
22
26
|
|
|
23
27
|
### Payment settle (scheduled / manual)
|
|
24
28
|
|
|
25
|
-
`payment-settle --quote-id <quote-id> --wallet-address <addr> [--object-id <id>] [--object-key <key>] [--storage-price <n>]`
|
|
29
|
+
**Quote path (upload prep):** `payment-settle --quote-id <quote-id> --wallet-address <addr> [--object-id <id>] [--object-key <key>] [--storage-price <n>]`
|
|
26
30
|
|
|
27
|
-
|
|
28
|
-
|
|
31
|
+
**Monthly renewal (no new quote):** `payment-settle --renewal --object-key <key> --wallet-address <addr> [--object-id <id>] [--storage-price <n>]`
|
|
32
|
+
|
|
33
|
+
- Purpose: call the same proxy + x402 payment settlement path as upload. Cron lines after upload use **renewal** mode so the backend reads price from active inventory (no `QUOTES_TABLE` row).
|
|
34
|
+
- Required: `--wallet-address` and either `--quote-id` or (`--renewal` and `--object-key`). The configured private key must match the address.
|
|
29
35
|
|
|
30
36
|
### List
|
|
31
37
|
|
|
@@ -35,7 +41,8 @@
|
|
|
35
41
|
|
|
36
42
|
`download --wallet-address <addr> [--object-key <object-key> | --name <friendly-name>] [--latest|--at <timestamp>] [--async] [--orchestrator <inline|subagent>] [--timeout-seconds <n>]`
|
|
37
43
|
|
|
38
|
-
- Purpose: download object content to local filesystem.
|
|
44
|
+
- Purpose: download object content to local filesystem (default directory `~/.openclaw/mnemospark/downloads/`, overridable with `MNEMOSPARK_DOWNLOAD_DIR`).
|
|
45
|
+
- When SQLite has a friendly name for the object, the saved file basename is the sanitized friendly name; otherwise the layout follows `object_key` as before. The backend still receives only `object_id` / `object_key` semantics via the API.
|
|
39
46
|
- `--timeout-seconds <n>` only applies when `--async --orchestrator subagent`.
|
|
40
47
|
|
|
41
48
|
### Delete
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# mnemospark State and Logs Reference
|
|
2
2
|
|
|
3
|
+
## Environment variables (local behavior)
|
|
4
|
+
|
|
5
|
+
- `MNEMOSPARK_REMOVE_BACKUP_FILE` — after a successful **upload**, remove the local backup archive under `~/.openclaw/mnemospark/backup/`. Default when unset: **remove**. Set to `0`, `false`, `no`, or `n` to keep the file; `1`, `true`, `yes`, or `y` to remove.
|
|
6
|
+
- `MNEMOSPARK_DOWNLOAD_DIR` — override the directory used for download output (default `~/.openclaw/mnemospark/downloads/`).
|
|
7
|
+
|
|
3
8
|
## Primary state
|
|
4
9
|
|
|
5
10
|
- SQLite: `~/.openclaw/mnemospark/state.db`
|