Update plan and add install script

This commit is contained in:
nav
2026-03-07 05:05:17 +00:00
parent a5ed1ef614
commit f8bdfacb73
2 changed files with 46 additions and 1 deletions

27
PLAN.md
View File

@@ -89,7 +89,32 @@ Query example:
- better query pagination & filtering
- management commands & validation
## 9) Notes & Decisions
## 9) Project Structure (recommended)
```
openclaw-plugin-yonexus/
├─ plugin.json
├─ src/
│ ├─ index.ts
│ ├─ store/ # in-memory + JSON persistence
│ ├─ models/
│ ├─ permissions/
│ ├─ tools/
│ ├─ memory/
│ └─ utils/
├─ scripts/
│ └─ install.sh
├─ dist/
│ └─ yonexus/ # build output target
└─ data/
└─ org.json
```
## 10) Install Script Requirement
- Provide `scripts/install.sh`
- It should register the OpenClaw plugin name as **`yonexus`**
- Build artifacts must be placed into **`dist/yonexus`**
## 11) Notes & Decisions
- Structure data is not stored in memory_store.
- Shared memory uses memory_store (compatible with memory-lancedb-pro).
- Queryable fields are whitelisted via schema.