Skip to content
pi-c Timeline
Login

Timeline

50 descendants and 50 ancestors of 9cf694af19e5244b

2026-11-20
21:13
TUI: Pi's themes (dark, light, custom JSON, all 51 tokens) and keybindings.json with Pi's 90 actions; familiar Mac defaults where Pi's keys are awkward (backslash-Enter newline, Ctrl+Q follow-up, Alt+P model picker, Ctrl+L redraw, Ctrl+C interrupts, Esc Esc clears, Shift+Up/Down scroll) check-in: a09ad44d63 user: dmestas tags: themes-keys
19:55
land branch-summary-export check-in: fe6b84dbb8 user: pi-c-lander tags: trunk
19:52
land tui-flags check-in: 31b8447cb4 user: pi-c-lander tags: trunk
19:47
TUI: --system-prompt, --append-system-prompt and the tool flags apply to every request it starts, as in Pi's interactive session closed check-in: 5de4c1b13b user: dmestas tags: tui-flags
19:47
pic export: a branch summary belongs to the conversation it starts closed check-in: 4e4107e423 user: dmestas tags: branch-summary-export
19:39
land compact-tree check-in: fe3f9e936d user: pi-c-lander tags: trunk
19:35
Merge trunk (paste, import) into compact-tree closed check-in: e48da90dad user: dmestas tags: compact-tree
19:33
Pi's compaction settings (enabled, reserveTokens, keepRecentTokens, modelOverrides; /settings; RPC set_auto_compaction) and /tree branch summaries (journaled, priced, exactly once after a crash); journal v13 check-in: c170307694 user: dmestas tags: compact-tree
19:20
land tui-paste check-in: 09b6f19a15 user: pi-c-lander tags: trunk
19:17
TUI: Ctrl+V pastes clipboard files, images and text in Pi's order; images attach as [image #N] (validated, journaled, no temp files), file paths paste as text as in Pi closed check-in: 5e5e07414b user: dmestas tags: tui-paste
18:42
land claude-import-attachments check-in: eae4e07431 user: pi-c-lander tags: trunk
18:38
Merge trunk closed check-in: 77b8723003 user: dmestas tags: claude-import-attachments
18:38
pic import --claude --count: build pic's real first request (its own system prompt, context and tools) and count it with Anthropic's count_tokens; other providers print the estimate check-in: d285cc0838 user: dmestas tags: claude-import-attachments
18:35
land claude-import-attachments check-in: f39f3936d7 user: pi-c-lander tags: trunk
18:32
pic import --claude: queued prompts, @-mentioned files, file-changed notices and hook context from Claude Code attachment records, as user text in record order check-in: 6592c28d87 user: dmestas tags: claude-import-attachments
18:13
land claude-import check-in: 4664a3da35 user: pi-c-lander tags: trunk
18:10
Merge trunk (tools) into claude-import closed check-in: 825cccef3c user: dmestas tags: claude-import
18:08
pic import --claude PATH [--until UUID]: a Claude Code transcript as a pic conversation with its tool history (main thread from the latest compact summary; tools mapped to pic's, others as text; images as placeholders); prints the id and context tokens check-in: 1c59cfb835 user: dmestas tags: claude-import
17:55
land tool-flags check-in: 1be93d31fe user: pi-c-lander tags: trunk
17:52
Merge trunk (print mode) into tool-flags: tool flags in the print-mode option loop; default prompt's tool list follows the tools in play closed check-in: d503c26948 user: dmestas tags: tool-flags
17:50
Pi's grep, find and ls tools (in C over the executor, honouring ignore files) and tool selection: --tools, --exclude-tools, --no-tools, --no-builtin-tools, defaultTools; providers and the system prompt see only the tools in play check-in: d23c88ff02 user: dmestas tags: tool-flags
17:41
land print-mode check-in: 972ae61990 user: pi-c-lander tags: trunk
17:39
Pi's print mode: -p/--print, piped stdin and @file arguments combined as Pi does, --system-prompt and --append-system-prompt (text or file), SYSTEM.md/APPEND_SYSTEM.md, -- closed check-in: 571909ccfd user: dmestas tags: print-mode
17:06
land vendor-script check-in: a371e84bcd user: pi-c-lander tags: trunk
17:03
Fil-C runs upload vendor/libfossil/shell.c, which the payload now builds into run/sqlite3 closed check-in: d3bad54ba3 user: dmestas tags: vendor-script
17:01
tools/vendor-libfossil.sh: re-vendor libfossil, SQLite and its shell.c from a libfossil cut in one step; refuses mismatched SQLite ids; rewrites SHA256SUMS and the README header check-in: 18b3aff167 user: dmestas tags: vendor-script
16:46
land own-sqlite3 check-in: b393379c8d user: pi-c-lander tags: trunk
16:43
Merge trunk into own-sqlite3; v11 migration setup uses legacy_alter_table (our SQLite checks triggers on rename); bench.sh no longer skips closed check-in: 5850bdca64 user: dmestas tags: own-sqlite3
16:43
land pic-ps check-in: 583eb72378 user: pi-c-lander tags: trunk
16:39
Tests use pic's own sqlite3, built from the vendored amalgamation and shell.c (same SQLite check-in), on every host including Fil-C; all sqlite3 skip guards removed; SHA256SUMS covers shell.c and the corrected README check-in: 728171ce35 user: dmestas tags: own-sqlite3
16:39
Merge trunk (ctx benchmark pieces) into pic-ps closed check-in: dc279ade3b user: dmestas tags: pic-ps
16:34
land ctx-bench check-in: f14f419f2b user: pi-c-lander tags: trunk
16:33
Merge trunk (SIGTERM SessionEnd fix) into pic-ps check-in: b33acea29f user: dmestas tags: pic-ps
16:30
Merge trunk into pic-ps check-in: 2a9e7232b0 user: dmestas tags: pic-ps
16:30
update ctx-bench from trunk closed check-in: 8bac060f76 user: pi-c-lander tags: ctx-bench
16:28
land sigterm-sessionend check-in: 497cf944ff user: pi-c-lander tags: trunk
16:27
pic ps: a list of the processes pic starts (commands, hooks, TUI requests), recorded by the parent in pic.sqlite; --all, --json, --kill; a startup line for leftovers; liveness by pid and start time check-in: e2804206ee user: dmestas tags: pic-ps
16:25
TUI: SessionEnd on SIGTERM no longer lost: block signals across the launcher fork, setsid and ignore SIGHUP before unblocking; run pic hooks end after at most 60 s; hooks end retries the journal lock closed check-in: 02a7ed6551 user: dmestas tags: sigterm-sessionend
16:04
Merge trunk into ctx-bench check-in: 9d0732b7e1 user: dmestas tags: ctx-bench
16:02
Benchmark support for ctx: lapse compaction when a conversation resumes after its prompt cache expired (off by default; lifetime from cache retention; context floor); --trial labels with pic usage --by-trial; --max-requests stops cleanly with reason request_cap; summaries priced; journal v12 check-in: c83b251c1d user: dmestas tags: ctx-bench
15:59
land test-isolation check-in: 312b5b17e7 user: pi-c-lander tags: trunk
15:56
Tests: hooks.sh checks its own hook pids instead of pgrep across the machine; TUI SIGTERM hook wait 30 s; Fil-C host lease raised to match run.sh (110 min worker, 2 h lease) closed check-in: 69c3b047d5 user: dmestas tags: test-isolation
15:43
land tui-userstyle check-in: 50f09d3b29 user: pi-c-lander tags: trunk
15:40
update tui-userstyle from trunk closed check-in: 7d1cb53046 user: pi-c-lander tags: tui-userstyle
15:40
land hooks check-in: b56f41f5a4 user: pi-c-lander tags: trunk
15:38
TUI: tell your text from the AI's, as Pi does: user messages in Pi's userMessageBg/userMessageText with padding and spacing; editor framed by border rows in Pi's border colour, status inside the top border; light/dark from COLORFGBG check-in: 871a32a8c9 user: dmestas tags: tui-userstyle
15:36
Hooks: queued steer and follow_up messages carry a pending hook row from the queueing transaction; hooks run from the journal before any delivery, after a crash too closed check-in: f69f4eaedd user: dmestas tags: hooks
15:27
Merge trunk (#45 store settings) into hooks; steer and follow_up answered at once, prompt hooks at the next step, a block returns the message with its reason; hook launching in one host-only section check-in: 130655c2e6 user: dmestas tags: hooks
15:09
land proj-store check-in: 1a90f6880d user: pi-c-lander tags: trunk
15:07
Merge trunk into proj-store: projects and store tests in the parallel suite closed check-in: 7a537ed69b user: dmestas tags: proj-store
15:05
Projects stage 8, first parts: pic.sqlite store settings (fair busy handler via pic_platform, full sync), picu_project and pic projects, pic_xfer_open over one stream function; plan: stage 8 and the no-OS reachability rule check-in: 9cf694af19 user: dmestas tags: proj-store
14:29
land filc-lease check-in: 034faa578d user: pi-c-lander tags: trunk
14:20
Fil-C remote runs: worker 110 min, lease 2 h; the pic suite under Fil-C now takes over 50 minutes closed check-in: 21c371eb53 user: dmestas tags: filc-lease
13:41
land tui-highlight check-in: 3b9de8a144 user: pi-c-lander tags: trunk
13:32
Merge trunk into tui-highlight: build lists keep highlight.c beside atfile.c and ignore.c closed check-in: 7c6f6797f0 user: dmestas tags: tui-highlight
13:26
land fossil-ignore check-in: c00871941c user: pi-c-lander tags: trunk
13:16
land skills-ignore check-in: 5e204a8687 user: pi-c-lander tags: trunk
13:06
update tui-highlight from trunk check-in: 590d4fe59f user: pi-c-lander tags: tui-highlight
13:06
update skills-ignore from trunk closed check-in: 28a4795e46 user: pi-c-lander tags: skills-ignore
13:05
land tui-round-3 check-in: 9036067d7a user: pi-c-lander tags: trunk
12:53
Honour .zitignore (gitignore dialect), .fslignore and the Fossil/zit ignore-glob settings (Fossil globs via sqlite3_strglob) in skill discovery and @file completion closed check-in: 9d02de6f0d user: dmestas tags: fossil-ignore
12:48
update skills-ignore from tui-round-3 check-in: 6d9e6fe346 user: pi-c-lander tags: skills-ignore
12:48
update tui-highlight from tui-round-3 check-in: 51a94cf4f1 user: pi-c-lander tags: tui-highlight
12:48
update tui-round-3 from trunk closed check-in: 2786c67271 user: pi-c-lander tags: tui-round-3
12:30
land libfossil-b176dff check-in: 14e6cfb654 user: pi-c-lander tags: trunk
12:04
Merge tui-round-3: highlighter from trunk plus tui_highlight_known; build lists unioned check-in: ad42503487 user: dmestas tags: tui-highlight
11:58
TUI: syntax-highlight fenced code blocks in replies with Pi's syntax colours; unknown languages stay plain check-in: d2e7414b11 user: dmestas tags: tui-highlight
11:56
bash test: skip the row checks that need the sqlite3 command when it is absent (Fil-C host); pic check still runs check-in: e358e00ffe user: dmestas tags: tui-round-3
11:55
Vendor libfossil b176dffe8c: push rounds send igot cards for unclustered artifacts, so a check-in pushed to one peer reaches a second closed check-in: b0b1981e0b user: dmestas tags: libfossil-b176dff
11:49
Merge tui-round-3: build lists keep bash.c, highlight and the new files check-in: 29a145230c user: dmestas tags: tui-atfile
11:49
Merge tui-round-3: build lists keep bash.c, highlight and the new files check-in: 788cb48331 user: dmestas tags: skills-ignore
11:36
Merge trunk into tui-round-3: vendored libfossil a88df0d; Fil-C build lists keep bash.c and the Gemini files check-in: 06c5df2a07 user: dmestas tags: tui-round-3
11:36
TUI: @file completion in the editor, as Pi's autocomplete (ranking, scoped paths, folders continue) check-in: 80c4504bdc user: dmestas tags: tui-atfile
11:20
Skills: honour .gitignore, .ignore and .fdignore while walking skill folders, as Pi does check-in: b1c35dca5d user: dmestas tags: skills-ignore
11:17
Merge trunk into tui-round-3: images, caching, costs, Gemini, hooks seam; pic_bash kept at journal v10 check-in: fa1d0f1004 user: dmestas tags: tui-round-3
11:16
land libfossil-a88df0d check-in: 69b81880a0 user: dmestas tags: trunk
03:52
Vendor libfossil a88df0d594 (sql-ext-int), the cut suit uses

pic and suit now pin the same libfossil, file for file (hashes match). This cut adds onefile (a repository inside a host SQLite database), cowoco (a working copy as rows) and anypipe (caller-supplied sync channels) for the projects-in-libfossil plan (ticket 01e8ad6714). The bundled SQLite is byte-identical to the previous one, so the journal's behaviour does not change; build defines are unchanged. Provenance in vendor/libfossil/README.md; SHA256SUMS regenerated. closed check-in: 4ef08eb9f4 user: dmestas tags: libfossil-a88df0d

02:48
CI green on 5dbfd58fbab4 check-in: 157b7d7187 user: dmestas tags: trunk
02:40
Merge trunk (caching, Gemini) into the syntax highlighter closed check-in: 5dbfd58fba user: dmestas tags: highlight
02:33
CI green on 1e0a50a3c533; Fil-C pass (222) check-in: 5ee3c97358 user: dmestas tags: trunk
02:30
CI green on d3f1fb85511f; Fil-C pass (221) on ebc4b0e75a5e check-in: 01796f84c3 user: dmestas tags: trunk
02:28
Merge trunk into the syntax highlighter check-in: f7b1bab2f5 user: dmestas tags: highlight
02:23
Merge trunk (gcc builds) into prompt caching closed check-in: d3f1fb8551 user: dmestas tags: cache
02:17
Merge trunk into Gemini; the catalog includes Google's models

src/model_catalog.inc regenerated from pi.dev with google-generative-ai: 679 models, each with input types and prices. closed check-in: 1e0a50a3c5 user: dmestas tags: gemini

02:11
CI green on fc3329ac14e5 check-in: c4f5d9c2cd user: dmestas tags: trunk
01:33
TUI round 3: steering keys, live output, retry countdown, durable !cmd

Enter steers a running reply and Alt+Enter queues a follow-up (Shift+Enter or Ctrl+J for a newline); the queue shows Pi's labels, delivered steering appears where it lands, returned messages go back to the editor, and Esc aborts over the command pipe with signals as the fallback. The running bash block shows its output as it arrives; retries count down and Esc cancels the wait. pic bash CMD (optionally --no-context, -c or a conversation id) runs a command and journals it as Pi's bash execution message, so !cmd survives a restart and reaches the model as Pi does. The footer shows cost when usage carries one. check-in: 6b33552ab9 user: dmestas tags: tui-round-3

01:32
Land gcc-build: gcc builds, a leak fix, the Linux benchmark baseline

Merges the gcc-build branch (gcc warning-clean build flags, _GNU_SOURCE for strptime, the json_valid leak in models.c, a checked freopen in the benchmark, the Linux-x86_64 baseline) into current trunk. Code added since the branch is made gcc-clean too (a shadowed name in the TUI, a string comparison gcc could not prove safe), and the benchmark builds again (designated initializers for the tool hooks). The README's build notes move into its Build section. closed check-in: fc3329ac14 user: dmestas tags: gcc-land

01:03
Merge trunk (images, costs) into prompt caching check-in: ebc4b0e75a user: dmestas tags: cache
00:59
CI green on 76939caa663b; Fil-C pass (215); reviewed twice check-in: 6432af2cbc user: dmestas tags: trunk
00:42
Merge trunk (costs) into images; the catalog keeps both input and cost

tools/model-catalog.sh writes each model's input types and prices; src/model_catalog.inc regenerated from pi.dev (653 models). closed check-in: 76939caa66 user: dmestas tags: images

00:37
CI green on facfe0d2409e; Fil-C pass (213) check-in: d23959e47c user: dmestas tags: trunk
00:37
Merge images into prompt caching check-in: 2a29f15311 user: dmestas tags: cache
00:29
Prompt caching on every provider, as Pi's

Anthropic: cache_control on the system block, the last tool and the last block of the final user message; 5 minutes by default, ttl 1h with cacheRetention=long, none with cacheRetention=none (setting in pic.sqlite, PI_CACHE_RETENTION as fallback). Anthropic models through OpenRouter get the same markers. OpenAI Responses and Chat Completions send prompt_cache_key (the conversation id) and 24h retention when long, as Pi does. The system prompt and tools stay byte-identical across turns, and 1-hour cache writes are kept in the stored usage. check-in: 376fd483ed user: dmestas tags: cache

00:29
Merge trunk (TUI round 2, live events) into images

Keeps both features where they met: tool-end events carry images and bash streams partial output; the tool hooks carry both. Fil-C builds image.c and prune.c and runs images.sh, which skips where there is no sqlite3 command (as migrate.sh does). check-in: d5076648a8 user: dmestas tags: images

00:22
Images: re-attaching a pruned image stores its bytes again

INSERT OR IGNORE kept a pruned row (data NULL) and pointed the new attachment at it, so the image was lost on arrival. An upsert restores the bytes when the stored row was pruned. check-in: 972511ccd2 user: dmestas tags: images

00:15
Merge trunk (steering, round 2, live events) into costs closed check-in: facfe0d240 user: dmestas tags: cost
00:09
CI green on 49befd80de6f; Fil-C pass (212) check-in: 8952c4ae13 user: dmestas tags: trunk
00:08
Images: validate at entry, cap per request, prune by retention

Every image is checked from its header (PNG IHDR with CRC, JPEG frame header, GIF screen, WebP) as Fossil sniffs types: an invalid header, a type that isn't the declared one, more than 8000 px a side or over 4.5 MB is refused; the stored type is the sniffed one, with width and height. RPC image errors are reported, never dropped. A request carries the newest 20 images up to 20 MB; older ones become Pi's placeholder. Image bytes are dropped once compacted away or after imageRetentionDays (default 30; 0 keeps them), leaving hash, type and size and an "[image removed]" placeholder; pic prune [--dry-run] runs it, and it also runs at open at most hourly. pic check re-hashes images. Imports keep images. Journal version 10. check-in: 0cc6f109a2 user: dmestas tags: images

2026-11-19
23:39
Images, as Pi's

User messages, steering and follow-ups, and tool results can carry images. Journal version 9 keeps their bytes in SQLite (pic_image, deduplicated by SHA3-256, deflated only when smaller) linked by pic_attachment, written in the same transaction as the entry; pic check covers them. Each adapter sends its native shape (Anthropic base64 blocks, Chat image_url data URLs, Responses input_image); a model whose catalog input lacks images gets Pi's placeholders. pic ask --image PATH, the RPC images field and the read tool on image files add them; the Pi and HTML exports include them. check-in: c55dfbb163 user: dmestas tags: images

23:34
Merge trunk (TUI round 2) into live events closed check-in: 49befd80de user: dmestas tags: live-events
23:30
CI green on 649919032a4e; Fil-C pass (210) check-in: 6b90e74bfe user: dmestas tags: trunk