pi-commandcode-provider
pi-commandcode-provider copied to clipboard
~/.pi/agent/ filling up with commandcode-models.json.*.tmp files
$ pwd && echo "----" && ls -1 *.tmp
~/.pi/agent
----
commandcode-models.json.245267.tmp
commandcode-models.json.245343.tmp
commandcode-models.json.298849.tmp
commandcode-models.json.298965.tmp
commandcode-models.json.299001.tmp
commandcode-models.json.300756.tmp
commandcode-models.json.300974.tmp
commandcode-models.json.301029.tmp
commandcode-models.json.301172.tmp
commandcode-models.json.301382.tmp
Thanks for the report — confirmed the mechanism: the catalog refresh runs in the background (fire-and-forget), so quitting the host between the temp-file write and the rename leaves that .tmp behind with nothing cleaning it up on the next start. Opened #131 with a fix (unique temp name per attempt + sweep of temp files older than 1h on the next successful refresh).