21 lines
1.1 KiB
Plaintext
21 lines
1.1 KiB
Plaintext
{
|
|
"description": "Wake up and load your persistent memory at session start. Call this first in every session.",
|
|
"prompt": "## memory_wake\n\nLoad the bounded persistent memory context. Run this once before other tools at the start of every top-level session. Follow any printed OptMem compression instruction before continuing. Do not run from a sub-agent.",
|
|
"cmd": "input=$(cat); part=$(printf '%s' \"$input\" | jq -r '.part // empty'); T=$(printf '%s' \"$input\" | jq -r '.T // empty'); args=''; [ -n \"$part\" ] && args=\"$part\"; [ -n \"$T\" ] && args=\"$args $T\"; MEMO_TOOLS=1 MEMORY_DIR=\"${XDG_DATA_HOME:-$HOME/.local/share}/ollie/optmem\" exec \"${XDG_CONFIG_HOME:-$HOME/.config}/ollie/optmem/memo\" wake $args",
|
|
"args": {
|
|
"type": "object",
|
|
"properties": {
|
|
"part": {
|
|
"type": "integer",
|
|
"description": "Page number for paginated memory (default: 1)"
|
|
},
|
|
"T": {
|
|
"type": "integer",
|
|
"description": "Memory snapshot count (used with part for pagination)"
|
|
}
|
|
}
|
|
},
|
|
"tier": "cold",
|
|
"scope": "read"
|
|
}
|