mnemospark 0.2.1 → 0.2.3
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/dist/cli.js +30 -9
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +30 -9
- package/dist/index.js.map +1 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
- package/scripts/README.md +0 -10
- package/scripts/seed-mnemospark-backend.sh +0 -96
package/openclaw.plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "mnemospark",
|
|
3
3
|
"name": "mnemospark",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.3",
|
|
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.2.
|
|
3
|
+
"version": "0.2.3",
|
|
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",
|
package/scripts/README.md
CHANGED
|
@@ -49,16 +49,6 @@ Documentation lives in the separate **mnemospark-docs** repository. Clone or ope
|
|
|
49
49
|
|
|
50
50
|
Do not expect a `.company` subdirectory in this repo; that Git submodule has been removed in favor of working directly in `mnemospark-docs`.
|
|
51
51
|
|
|
52
|
-
## Seed mnemospark-backend (examples and legacy)
|
|
53
|
-
|
|
54
|
-
Before running Cursor Cloud Agent on backend features (01–10, 15–18), you may seed **mnemospark-backend** with examples from this repo (docs are provided via the mnemospark-docs repo):
|
|
55
|
-
|
|
56
|
-
```bash
|
|
57
|
-
./scripts/seed-mnemospark-backend.sh /path/to/mnemospark-backend
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
Then open mnemospark-backend in Cursor and start the Cloud Agent there. See `[features_cursor_dev/README.md]` in the `mnemospark-docs` repo for where to run each feature.
|
|
61
|
-
|
|
62
52
|
## Other scripts
|
|
63
53
|
|
|
64
54
|
- `reinstall.sh` — Reinstall mnemospark OpenClaw plugin.
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
# Seed mnemospark-backend with examples and .company docs required by backend feature specs (01-10, 15-17).
|
|
3
|
-
# Usage: from mnemospark repo root: ./scripts/seed-mnemospark-backend.sh /path/to/mnemospark-backend
|
|
4
|
-
# Idempotent: safe to run again; overwrites existing files.
|
|
5
|
-
|
|
6
|
-
set -e
|
|
7
|
-
|
|
8
|
-
if [ -z "$1" ]; then
|
|
9
|
-
echo "Usage: $0 /path/to/mnemospark-backend" >&2
|
|
10
|
-
exit 1
|
|
11
|
-
fi
|
|
12
|
-
|
|
13
|
-
DEST="$1"
|
|
14
|
-
# Resolve repo root: script lives in mnemospark/scripts/
|
|
15
|
-
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
16
|
-
ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
|
|
17
|
-
|
|
18
|
-
if [ ! -d "$ROOT/.company" ] || [ ! -d "$ROOT/examples" ]; then
|
|
19
|
-
echo "Error: must run from mnemospark repo (missing .company or examples). Root: $ROOT" >&2
|
|
20
|
-
exit 1
|
|
21
|
-
fi
|
|
22
|
-
|
|
23
|
-
mkdir -p "$DEST"
|
|
24
|
-
echo "Seeding mnemospark-backend at $DEST from $ROOT"
|
|
25
|
-
|
|
26
|
-
# --- Examples (exclude .aws-sam build output) ---
|
|
27
|
-
copy_example_dir() {
|
|
28
|
-
local src="$1"
|
|
29
|
-
local name="$2"
|
|
30
|
-
shift 2
|
|
31
|
-
local files=("$@")
|
|
32
|
-
mkdir -p "$DEST/examples/$name"
|
|
33
|
-
for f in "${files[@]}"; do
|
|
34
|
-
if [ -f "$ROOT/$src/$f" ]; then
|
|
35
|
-
cp "$ROOT/$src/$f" "$DEST/examples/$name/"
|
|
36
|
-
fi
|
|
37
|
-
done
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
copy_example_dir "examples/s3-cost-estimate-api" "s3-cost-estimate-api" \
|
|
41
|
-
app.py template.yaml requirements.txt README.md samconfig.toml
|
|
42
|
-
|
|
43
|
-
copy_example_dir "examples/data-transfer-cost-estimate-api" "data-transfer-cost-estimate-api" \
|
|
44
|
-
app.py template.yaml requirements.txt README.md samconfig.toml
|
|
45
|
-
|
|
46
|
-
mkdir -p "$DEST/examples"
|
|
47
|
-
if [ -f "$ROOT/examples/object_storage_management_aws.py" ]; then
|
|
48
|
-
cp "$ROOT/examples/object_storage_management_aws.py" "$DEST/examples/"
|
|
49
|
-
fi
|
|
50
|
-
|
|
51
|
-
copy_example_dir "examples/object-storage-management-api" "object-storage-management-api" \
|
|
52
|
-
app.py template.yaml requirements.txt storage_core.py README.md
|
|
53
|
-
|
|
54
|
-
# --- .company ---
|
|
55
|
-
mkdir -p "$DEST/.company"
|
|
56
|
-
mkdir -p "$DEST/.company/infrastructure_design"
|
|
57
|
-
mkdir -p "$DEST/.company/features_cursor_dev"
|
|
58
|
-
|
|
59
|
-
for f in \
|
|
60
|
-
mnemospark_backend_api_spec.md \
|
|
61
|
-
mnemospark_full_workflow.md \
|
|
62
|
-
mnemospark_PRD.md \
|
|
63
|
-
clawrouter_wallet_gen_payment_eip712.md \
|
|
64
|
-
; do
|
|
65
|
-
if [ -f "$ROOT/.company/$f" ]; then
|
|
66
|
-
cp "$ROOT/.company/$f" "$DEST/.company/"
|
|
67
|
-
fi
|
|
68
|
-
done
|
|
69
|
-
|
|
70
|
-
if [ -f "$ROOT/.company/infrastructure_design/internet_facing_API.md" ]; then
|
|
71
|
-
cp "$ROOT/.company/infrastructure_design/internet_facing_API.md" "$DEST/.company/infrastructure_design/"
|
|
72
|
-
fi
|
|
73
|
-
|
|
74
|
-
for f in \
|
|
75
|
-
AWS_DOCS_REFERENCES.md \
|
|
76
|
-
README.md \
|
|
77
|
-
cursor-dev-01-lambda-estimate-storage.md \
|
|
78
|
-
cursor-dev-02-lambda-estimate-transfer.md \
|
|
79
|
-
cursor-dev-03-lambda-price-storage.md \
|
|
80
|
-
cursor-dev-04-lambda-storage-upload.md \
|
|
81
|
-
cursor-dev-05-lambda-storage-ls.md \
|
|
82
|
-
cursor-dev-06-lambda-storage-download.md \
|
|
83
|
-
cursor-dev-07-lambda-storage-delete.md \
|
|
84
|
-
cursor-dev-08-api-gateway-auth.md \
|
|
85
|
-
cursor-dev-09-dynamodb-tables.md \
|
|
86
|
-
cursor-dev-10-housekeeping-32day.md \
|
|
87
|
-
cursor-dev-15-cfn-waf.md \
|
|
88
|
-
cursor-dev-16-cfn-observability.md \
|
|
89
|
-
cursor-dev-17-cfn-cloudfront.md \
|
|
90
|
-
; do
|
|
91
|
-
if [ -f "$ROOT/.company/features_cursor_dev/$f" ]; then
|
|
92
|
-
cp "$ROOT/.company/features_cursor_dev/$f" "$DEST/.company/features_cursor_dev/"
|
|
93
|
-
fi
|
|
94
|
-
done
|
|
95
|
-
|
|
96
|
-
echo "Done. Backend repo seeded at $DEST"
|