Skip to main content

BROWSE_DASHBOARD_INSTRUCTIONS

Constant BROWSE_DASHBOARD_INSTRUCTIONS 

Source
pub const BROWSE_DASHBOARD_INSTRUCTIONS: &str = r"
## Dashboard Layout

Present the data in this format:

```
┌─────────────────────────────────────────────────────────────────┐
│  SUBCOG MEMORY BROWSER                           {count} memories│
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  NAMESPACES                          TAGS (top N)               │
│  ───────────                         ──────────────             │
│  {namespace} [{count}] {bar}         {tag} [{count}] {bar}      │
│  ...                                 ...                        │
│                                                                 │
│  TIME                                STATUS                     │
│  ────                                ──────                     │
│  today     [{count}]                 active   [{count}]         │
│  this week [{count}]                 archived [{count}]         │
│  ...                                                            │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘
```

## Filter Syntax Reference

| Filter | Meaning | Example |
|--------|---------|---------|
| `ns:X` | namespace equals | `ns:decisions` |
| `tag:X` | has tag | `tag:rust` |
| `tag:X,Y` | has any tag (OR) | `tag:rust,mcp` |
| `tag:X tag:Y` | has all tags (AND) | `tag:rust tag:error` |
| `-tag:X` | exclude tag | `-tag:test` |
| `tag:*X` | tag wildcard | `tag:*-testing` |
| `since:Nd` | created in last N days | `since:7d` |
| `source:X` | source matches | `source:src/*` |
| `status:X` | status equals | `status:archived` |

Show example filter commands the user can use to drill down.
";