{"_id":"@carlosgtrz/pi-run-timer","_rev":"6-fbc9cf900b1c326141ba167003fbc7c3","name":"@carlosgtrz/pi-run-timer","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"@carlosgtrz/pi-run-timer","version":"0.1.0","keywords":["pi-package","pi-extension","pi-coding-agent","timer","status","footer"],"author":{"name":"CarlosGtrz"},"license":"MIT","_id":"@carlosgtrz/pi-run-timer@0.1.0","maintainers":[{"name":"carlosgtrz","email":"carlosg@sca.com.mx"}],"homepage":"https://github.com/CarlosGtrz/carlosgtrz-pi-extensions#readme","bugs":{"url":"https://github.com/CarlosGtrz/carlosgtrz-pi-extensions/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"1ed8056be6eb5708c8b71df408c2cb4a602c8de7","tarball":"https://registry.npmjs.org/@carlosgtrz/pi-run-timer/-/pi-run-timer-0.1.0.tgz","fileCount":4,"integrity":"sha512-VAIkvgc40V7Tfyr2goCv6uwnztIK+GkfY3OtFREThVjrFBPteuWTk3UyiGZV/u5U3BgjoJG1cWEZouxYFOotoA==","signatures":[{"sig":"MEYCIQCUkftcaEdZ8vo/dm4UmywjC3dY0OUbaVd/gu/VAhqbLAIhAI6+nSnblWYjQEeUoeP0fCT5grv49x9bIrDjaQXcBXLd","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8692},"type":"module","exports":"./src/index.ts","gitHead":"09290ac8da0541628dd2aabf77abeb5e2c7c1dfe","_npmUser":{"name":"carlosgtrz","email":"carlosg@sca.com.mx"},"repository":{"url":"git+https://github.com/CarlosGtrz/carlosgtrz-pi-extensions.git","type":"git","directory":"packages/run-timer"},"_npmVersion":"11.11.0","description":"Pi extension that shows elapsed, previous, and longest agent run times in the footer.","directories":{},"_nodeVersion":"22.21.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"@mariozechner/pi-coding-agent":"*"},"_npmOperationalInternal":{"tmp":"tmp/pi-run-timer_0.1.0_1777430437535_0.7869801006487265","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@carlosgtrz/pi-run-timer","version":"0.1.1","keywords":["pi-package","pi-extension","pi-coding-agent","timer","status","footer"],"author":{"name":"CarlosGtrz"},"license":"MIT","_id":"@carlosgtrz/pi-run-timer@0.1.1","maintainers":[{"name":"carlosgtrz","email":"carlosg@sca.com.mx"}],"homepage":"https://github.com/CarlosGtrz/carlosgtrz-pi-extensions#readme","bugs":{"url":"https://github.com/CarlosGtrz/carlosgtrz-pi-extensions/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"8bce4518d3bf77dd4e1e3cf87e27ce2f9332384b","tarball":"https://registry.npmjs.org/@carlosgtrz/pi-run-timer/-/pi-run-timer-0.1.1.tgz","fileCount":4,"integrity":"sha512-CC345vfEshemm96BAbdyBBoboa4k8jX3ZjTIxHmP/3QRpye2TmKnIBSYUqcjpcFDotuGuXcqJ/6jbmgl8tTw7Q==","signatures":[{"sig":"MEUCIEn65+BxJETtd21m3AqHxQEBAASsM4yyTNigoeW3y9ZRAiEAyJJKO2CBVMVaf54B3oEQHjvk0xTsg0OB7KPRkjh5ue8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8894},"type":"module","exports":"./src/index.ts","gitHead":"4f3963ba94a3a22df7046a921a94a20b996d68fa","_npmUser":{"name":"carlosgtrz","email":"carlosg@sca.com.mx"},"repository":{"url":"git+https://github.com/CarlosGtrz/carlosgtrz-pi-extensions.git","type":"git","directory":"packages/run-timer"},"_npmVersion":"11.11.0","description":"Pi extension that shows elapsed, previous, and longest agent run times in the footer.","directories":{},"_nodeVersion":"22.21.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"@mariozechner/pi-coding-agent":"*"},"_npmOperationalInternal":{"tmp":"tmp/pi-run-timer_0.1.1_1777431371812_0.3716608804177477","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@carlosgtrz/pi-run-timer","version":"0.1.2","keywords":["pi-package","pi-extension","pi-coding-agent","timer","status","footer"],"author":{"name":"CarlosGtrz"},"license":"MIT","_id":"@carlosgtrz/pi-run-timer@0.1.2","maintainers":[{"name":"carlosgtrz","email":"carlosg@sca.com.mx"}],"homepage":"https://github.com/CarlosGtrz/carlosgtrz-pi-extensions#readme","bugs":{"url":"https://github.com/CarlosGtrz/carlosgtrz-pi-extensions/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"db24bc9fe206232d6c2d57bd7d11723016f4cb8e","tarball":"https://registry.npmjs.org/@carlosgtrz/pi-run-timer/-/pi-run-timer-0.1.2.tgz","fileCount":5,"integrity":"sha512-yTC8bcMp9ysayg0FUEDkPWRkn37G3c+WEcSCKD0BmsDhqtnL/qITe+9nVrPbCm5YBkm81YZdIkQEVGrrdTeopg==","signatures":[{"sig":"MEUCIQCLvynMq6fBfrFRByQ3rHkbFiclUpd/y1ChKXTD7TR13QIgNiSmW7UYZr9LjGsME0Hvsj8F0BkeYiMbNWdY3Vsj4WU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29896},"type":"module","exports":"./src/index.ts","gitHead":"b5d5c8d4bbb1ed318962280c67d6f9eddfef04fb","_npmUser":{"name":"carlosgtrz","email":"carlosg@sca.com.mx"},"repository":{"url":"git+https://github.com/CarlosGtrz/carlosgtrz-pi-extensions.git","type":"git","directory":"packages/run-timer"},"_npmVersion":"11.11.0","description":"Pi extension that shows elapsed, previous, and longest agent run times in the footer.","directories":{},"_nodeVersion":"22.21.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"@mariozechner/pi-coding-agent":"*"},"_npmOperationalInternal":{"tmp":"tmp/pi-run-timer_0.1.2_1777751942854_0.9198949448134377","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@carlosgtrz/pi-run-timer","version":"0.1.3","keywords":["pi-package","pi-extension","pi-coding-agent","timer","status","footer"],"author":{"name":"CarlosGtrz"},"license":"MIT","_id":"@carlosgtrz/pi-run-timer@0.1.3","maintainers":[{"name":"carlosgtrz","email":"carlosg@sca.com.mx"}],"homepage":"https://github.com/CarlosGtrz/carlosgtrz-pi-extensions#readme","bugs":{"url":"https://github.com/CarlosGtrz/carlosgtrz-pi-extensions/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"5e6dd76d4f1737d671c9f83ab36162cc7fadbf24","tarball":"https://registry.npmjs.org/@carlosgtrz/pi-run-timer/-/pi-run-timer-0.1.3.tgz","fileCount":5,"integrity":"sha512-nWMNBxfZmsxYuEGlMH0na8oN1t9/BpoDRCz0ICF4S8LsQZKJ7EBT9yQa1gpG8TKDk2+i6vmWTeG9Up85DwVwag==","signatures":[{"sig":"MEQCIAya3jFaUyp8ddoX8ALmmFgUQFBiwBxi//cDqj82O9ONAiAtagFywRPUd8cWdmxeSDwtFt0kylUQP9jNcSO8gqRiWg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29900},"type":"module","exports":"./src/index.ts","gitHead":"72848e4a5b3048360508410173d3ed91642f7198","_npmUser":{"name":"carlosgtrz","email":"carlosg@sca.com.mx"},"repository":{"url":"git+https://github.com/CarlosGtrz/carlosgtrz-pi-extensions.git","type":"git","directory":"packages/run-timer"},"_npmVersion":"11.11.0","description":"Pi extension that shows elapsed, previous, and longest agent run times in the footer.","directories":{},"_nodeVersion":"22.21.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"@earendil-works/pi-coding-agent":"*"},"_npmOperationalInternal":{"tmp":"tmp/pi-run-timer_0.1.3_1778441026210_0.2270232880949894","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@carlosgtrz/pi-run-timer","version":"0.1.4","keywords":["pi-package","pi-extension","pi-coding-agent","timer","status","footer"],"author":{"name":"CarlosGtrz"},"license":"MIT","_id":"@carlosgtrz/pi-run-timer@0.1.4","maintainers":[{"name":"carlosgtrz","email":"carlosg@sca.com.mx"}],"homepage":"https://github.com/CarlosGtrz/carlosgtrz-pi-extensions#readme","bugs":{"url":"https://github.com/CarlosGtrz/carlosgtrz-pi-extensions/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"270f81f453dadee6ea8018ad5c16fdea29847091","tarball":"https://registry.npmjs.org/@carlosgtrz/pi-run-timer/-/pi-run-timer-0.1.4.tgz","fileCount":5,"integrity":"sha512-WosqI3ZCpGf6Rg3KD5MpzuBhqU1bVQv40JfunppXplu7pNz8egPQeuDfe5A58yf/0D+LEkILywERm1FHm5Ry7w==","signatures":[{"sig":"MEYCIQCrBzcegN12xE9bZesnivNoGrF6Y6nfOP8IQDMYzgKwtwIhAJEO7h41eTnhZ8Ti9+MmnIj8j2GgXJZLRxeB3G5gLPtR","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29951},"type":"module","exports":"./src/index.ts","gitHead":"045b952863f62beddbfe32622ff0a37a2f2f0710","_npmUser":{"name":"carlosgtrz","email":"carlosg@sca.com.mx"},"repository":{"url":"git+https://github.com/CarlosGtrz/carlosgtrz-pi-extensions.git","type":"git","directory":"packages/run-timer"},"_npmVersion":"11.11.0","description":"Pi extension that shows elapsed, previous, and longest agent run times in the footer.","directories":{},"_nodeVersion":"22.21.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"@earendil-works/pi-coding-agent":"*"},"_npmOperationalInternal":{"tmp":"tmp/pi-run-timer_0.1.4_1780015953037_0.24981526828096046","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@carlosgtrz/pi-run-timer","version":"0.2.0","description":"Pi extension that shows elapsed, previous, and longest agent run times in the footer.","type":"module","exports":"./src/index.ts","keywords":["pi-package","pi-extension","pi-coding-agent","timer","status","footer"],"author":{"name":"CarlosGtrz"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/CarlosGtrz/carlosgtrz-pi-extensions.git","directory":"packages/run-timer"},"publishConfig":{"access":"public"},"peerDependencies":{"@earendil-works/pi-coding-agent":"*"},"pi":{"extensions":["./src/index.ts"]},"gitHead":"f1efd4a974764479a4cdc9c70583556852005d79","_id":"@carlosgtrz/pi-run-timer@0.2.0","bugs":{"url":"https://github.com/CarlosGtrz/carlosgtrz-pi-extensions/issues"},"homepage":"https://github.com/CarlosGtrz/carlosgtrz-pi-extensions#readme","_nodeVersion":"22.21.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-0RKkrKmyzaF76z+BUsUblxRmnKLcAZmVbYK5sOYmxyQmHm04ApvOvO9appJCE61ZygfBnSf7vZB24gEVrR5InQ==","shasum":"3d1ea259961b6556dc8efa662844d57388f6379b","tarball":"https://registry.npmjs.org/@carlosgtrz/pi-run-timer/-/pi-run-timer-0.2.0.tgz","fileCount":5,"unpackedSize":29925,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC3fEwy6bLUsO015LzbwEcgEcpQACCyj+dncz3FZyYA7wIgDfSzSXMjtaXqbeaWp6q28R7TqMF0ezb4WmA1YMH48w8="}]},"_npmUser":{"name":"carlosgtrz","email":"carlosg@sca.com.mx"},"directories":{},"maintainers":[{"name":"carlosgtrz","email":"carlosg@sca.com.mx"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pi-run-timer_0.2.0_1784575313772_0.09668910237379347"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-29T02:40:37.448Z","modified":"2026-07-20T19:21:54.099Z","0.1.0":"2026-04-29T02:40:37.660Z","0.1.1":"2026-04-29T02:56:11.955Z","0.1.2":"2026-05-02T19:59:02.999Z","0.1.3":"2026-05-10T19:23:46.367Z","0.1.4":"2026-05-29T00:52:33.188Z","0.2.0":"2026-07-20T19:21:53.920Z"},"bugs":{"url":"https://github.com/CarlosGtrz/carlosgtrz-pi-extensions/issues"},"author":{"name":"CarlosGtrz"},"license":"MIT","homepage":"https://github.com/CarlosGtrz/carlosgtrz-pi-extensions#readme","keywords":["pi-package","pi-extension","pi-coding-agent","timer","status","footer"],"repository":{"type":"git","url":"git+https://github.com/CarlosGtrz/carlosgtrz-pi-extensions.git","directory":"packages/run-timer"},"description":"Pi extension that shows elapsed, previous, and longest agent run times in the footer.","maintainers":[{"name":"carlosgtrz","email":"carlosg@sca.com.mx"}],"readme":"# @carlosgtrz/pi-run-timer\n\nPi extension that shows agent run timing in the footer/status line.\n\nRequires Pi 0.80.10 or newer.\n\nIt displays:\n\n- elapsed time for the current run\n- duration of the previous completed run\n- longest run duration in the current session branch, with a very short prompt preview\n\nA run is one continuous busy period from the first `agent_start` after idle until `agent_settled`, including retries, compaction recovery, and queued steering or follow-up prompts.\n\nState is saved into the Pi session and restored after `/reload`.\n\n<img src=\"./images/screenshot.png\" alt=\"Run timer screenshot\" width=\"600\">\n\n## Install\n\n```bash\npi install npm:@carlosgtrz/pi-run-timer\n```\n\nTry without installing permanently:\n\n```bash\npi -e npm:@carlosgtrz/pi-run-timer\n```\n\nFor one-off testing from this repo:\n\n```bash\npi -e ./packages/run-timer\n```\n\n## Usage\n\nStart Pi normally:\n\n```bash\npi\n```\n\nThe footer/status line will show timing information automatically while the agent is working and after each completed run.\n\nExample status:\n\n```text\n● run 01:23 · prev 00:40 · max 03:12 (Review README…)\n```\n\nThe longest-run prompt preview is limited to 15 characters.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}