Fix ASCII diagram alignment in README

- Adjusted box borders for proper alignment
- Fixed spacing and padding
- Ensures monospace font rendering consistency
This commit is contained in:
Ralph Chang
2026-02-18 10:10:56 +08:00
parent 5c7dd0f421
commit 4b862ee79c
+32 -32
View File
@@ -137,38 +137,38 @@ The plugin exposes these tools to your OpenCode agent:
## How It Works
```
┌─────────────────────────────────────────────────────────┐
│ Core Memory (Always Visible) │
│ ┌─────────┬──────────┬──────────┐ │
│ │ Goal │ Progress │ Context │ │
│ └─────────┴──────────┴──────────┘ │
└─────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────┐
│ Working Memory (Auto-Extracted) │
│ ┌──────────────────┬──────────────────┐ │
│ │ Slots (FIFO) │ Pool (Ranked) │ │
│ │ • errors │ • file-paths │ │
│ │ • decisions │ • recent │ │
│ │ • todos │ • mentions │ │
│ │ • dependencies │ • decay score │ │
│ └──────────────────┴──────────────────┘ │
└─────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────┐
│ Memory Pressure Monitor │
│ • Tracks tokens from session DB │
│ • Warns at 75% / 90% / 95% │
│ • Sends proactive interventions │
│ • Adjusts pruning aggressiveness │
└─────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────┐
│ Storage Governance │
│ • Session deletion → cleanup all artifacts │
│ • Every 20 calls → sweep old cache (300 max, 7d TTL) │
│ • Silent background operation │
└─────────────────────────────────────────────────────────┘
┌───────────────────────────────────────────────────────────
│ Core Memory (Always Visible)
│ ┌─────────┬──────────┬──────────┐
│ │ Goal │ Progress │ Context │
│ └─────────┴──────────┴──────────┘
└───────────────────────────────────────────────────────────
┌───────────────────────────────────────────────────────────
│ Working Memory (Auto-Extracted)
│ ┌──────────────────┬──────────────────┐
│ │ Slots (FIFO) │ Pool (Ranked) │
│ │ • errors │ • file-paths │
│ │ • decisions │ • recent │
│ │ • todos │ • mentions │
│ │ • dependencies │ • decay score │
│ └──────────────────┴──────────────────┘
└───────────────────────────────────────────────────────────
┌───────────────────────────────────────────────────────────
│ Memory Pressure Monitor
│ • Tracks tokens from session DB
│ • Warns at 75% / 90% / 95%
│ • Sends proactive interventions
│ • Adjusts pruning aggressiveness
└───────────────────────────────────────────────────────────
┌───────────────────────────────────────────────────────────
│ Storage Governance
│ • Session deletion → cleanup all artifacts
│ • Every 20 calls → sweep old cache (300 max, 7d TTL)
│ • Silent background operation
└───────────────────────────────────────────────────────────
```
## Why This Plugin?