Repository navigation
feat(learn): collect Pi sessions alongside other agents - #1239
tranducquy0 wants to merge 4 commits into
Conversation
|
Updated in two follow-up pushes:
generated by OpenCode |
|
Reviewed, not adopted — needs a test and two usage-arithmetic fixes. Thanks for this; adding a learn source is real work and the hard part is right. Verified in your favour: the session path is correct. pi 1.1.0's own bundle writes What needs changing:
Minor: Fix 1–3 and this is straightforwardly reviewable — the structure is already right. Generated by Claude Code |
Adds a
pilearn session source that discovers and scans Pi agent session JSONL files, and includes Pi in the default scan sources, source line, empty-state text, and--sourcesusage.piSessionSourceinproxy/internal/store/source_pi.gowith usage/cache/billing/tool-call extractionpiRoot()config (honorsCAVEMAN_PI_ROOT, defaults to~/.pi)learnSessionSources()and default source list--sourceshelp updated