repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by bugabinga

demo: add ctx read compaction driver

fb350d6f03b7df1feef72ad2908d69449735b541

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (1)

+20 / −0 text lines

Diff layout

drivers/ctx_demo.py

Added
new file mode 100644

+20 / −0 text lines

1title = "ctx read compaction"
2
3extensions = [
4 "ctx",
5]
6
7targets = [
8 "ctx",
9]
11cols = 100
12rows = 28
13cwd = "extensions/ctx"
15steps = [
16 ("wait", 5000),
17 ("prompt", "Use the read tool on ./bun.lock. Then explain in one short sentence what ctx did to the oversized output.", 18000),
18 ("prompt", "Now use read with offset 120 and limit 8 on ./bun.lock to recover a small hidden slice.", 14000),
19 ("wait", 6000),
20]