lean-ctx 3.9.20

Local Context SDK for AI agents. Select, shape, reuse, recover, and measure context before inference.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
  "hooks": {
    "preToolUse": [
      {
        "bash": "lean-ctx hook rewrite",
        "timeoutSec": 15,
        "type": "command"
      },
      {
        "bash": "lean-ctx hook redirect",
        "timeoutSec": 5,
        "type": "command"
      }
    ]
  },
  "version": 1
}