{"_id":"@anthnykr/pi-study-commits","_rev":"2-268194c2eb0d9c6a32d08bbdde1cc952","name":"@anthnykr/pi-study-commits","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@anthnykr/pi-study-commits","version":"0.1.0","keywords":["pi-package","pi","pi-extension","git","commits"],"author":{"name":"Anthony Kroeger"},"license":"MIT","_id":"@anthnykr/pi-study-commits@0.1.0","maintainers":[{"name":"anthnykr","email":"anthony.kroe@gmail.com"}],"homepage":"https://github.com/anthnykr/agent-setups/tree/main/pi-extensions/study-commits#readme","bugs":{"url":"https://github.com/anthnykr/agent-setups/issues"},"pi":{"extensions":["./extensions"]},"dist":{"shasum":"95a2932fa93b953570a22c5ac2128ddf71a4ef13","tarball":"https://registry.npmjs.org/@anthnykr/pi-study-commits/-/pi-study-commits-0.1.0.tgz","fileCount":9,"integrity":"sha512-uRRafqmxKsnM76oqO8Waw+W/XUkNMzRE1QENZP5qrx7wpbTwx2V2L/HZKIpqKseWAN/7qSp+LK4KpgV3FZFYfw==","signatures":[{"sig":"MEQCIBGElo8wiCQJBKFIHyqIcGEBVco2O5jFX85a4yXUOeflAiAzkAfTz4cfqvxFuFxiiskgluhUCSzh00eTZPOXgOSOOg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20039},"type":"module","gitHead":"448357f0179308b41631f22179348db778fd83c0","scripts":{"lint":"eslint --fix study-commits.ts extensions/**/*.ts","typecheck":"tsc --noEmit","pack:check":"npm pack --dry-run"},"_npmUser":{"name":"anthnykr","email":"anthony.kroe@gmail.com"},"repository":{"url":"git+https://github.com/anthnykr/agent-setups.git","type":"git","directory":"pi-extensions/study-commits"},"_npmVersion":"11.6.2","description":"Pi extension for selecting recent git commits and injecting their diffs into the conversation.","directories":{},"_nodeVersion":"25.2.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"10.0.3","typescript":"5.9.3","@types/node":"25.5.0","typescript-eslint":"8.57.1","@mariozechner/pi-tui":"0.60.0","@mariozechner/pi-coding-agent":"0.60.0"},"peerDependencies":{"@mariozechner/pi-tui":"*","@mariozechner/pi-coding-agent":"*"},"_npmOperationalInternal":{"tmp":"tmp/pi-study-commits_0.1.0_1773942367956_0.9260988666265448","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@anthnykr/pi-study-commits","version":"0.1.1","description":"Pi extension for selecting recent git commits and injecting their diffs into the conversation.","type":"module","license":"MIT","author":{"name":"Anthony Kroeger"},"repository":{"type":"git","url":"git+https://github.com/anthnykr/agent-setups.git","directory":"pi-extensions/study-commits"},"homepage":"https://github.com/anthnykr/agent-setups/tree/main/pi-extensions/study-commits#readme","publishConfig":{"access":"public"},"keywords":["pi-package","pi","pi-extension","git","commits"],"pi":{"extensions":["./extensions"]},"peerDependencies":{"@mariozechner/pi-coding-agent":"*","@mariozechner/pi-tui":"*"},"devDependencies":{"@mariozechner/pi-coding-agent":"0.60.0","@mariozechner/pi-tui":"0.60.0","@types/node":"25.5.0","eslint":"10.0.3","typescript":"5.9.3","typescript-eslint":"8.57.1"},"scripts":{"lint":"eslint --fix study-commits.ts extensions/**/*.ts","typecheck":"tsc --noEmit","pack:check":"npm pack --dry-run"},"gitHead":"ec2d2928b86ed3064f077c04bcc21cbd31607e6a","_id":"@anthnykr/pi-study-commits@0.1.1","bugs":{"url":"https://github.com/anthnykr/agent-setups/issues"},"_nodeVersion":"25.2.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-Q+6oy8NSMtadk4XUt9fAaT/zSeoZelTFgt9DWN94jCLE+UcpC8bll7VwA4HrgstIEd+LugbOJgLusPwYJnSjyg==","shasum":"559af17a1ba9a85f0e341e1c07a28e2019449698","tarball":"https://registry.npmjs.org/@anthnykr/pi-study-commits/-/pi-study-commits-0.1.1.tgz","fileCount":9,"unpackedSize":19887,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBOl0LXAnUSWqVqhHwclrILSAYIRSp3vYd9TJSBZiJ7zAiEAyduvinodYZ/J9w1SiDmjx7hX6Pekcs+nh1x/mcNS13M="}]},"_npmUser":{"name":"anthnykr","email":"anthony.kroe@gmail.com"},"directories":{},"maintainers":[{"name":"anthnykr","email":"anthony.kroe@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pi-study-commits_0.1.1_1773942969077_0.24507292313278062"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-19T17:46:07.877Z","modified":"2026-03-19T17:56:09.368Z","0.1.0":"2026-03-19T17:46:08.111Z","0.1.1":"2026-03-19T17:56:09.229Z"},"bugs":{"url":"https://github.com/anthnykr/agent-setups/issues"},"author":{"name":"Anthony Kroeger"},"license":"MIT","homepage":"https://github.com/anthnykr/agent-setups/tree/main/pi-extensions/study-commits#readme","keywords":["pi-package","pi","pi-extension","git","commits"],"repository":{"type":"git","url":"git+https://github.com/anthnykr/agent-setups.git","directory":"pi-extensions/study-commits"},"description":"Pi extension for selecting recent git commits and injecting their diffs into the conversation.","maintainers":[{"name":"anthnykr","email":"anthony.kroe@gmail.com"}],"readme":"# @anthnykr/pi-study-commits\n\nPi package for studying recent git commits from inside pi.\n\n## Install\n\n```bash\npi install npm:@anthnykr/pi-study-commits\n```\n\n## Commands\n\n### `/study-commits`\n\nOpen a picker for recent commits, then inject selected diffs into the conversation.\n\nExamples:\n\n```text\n/study-commits\n/study-commits 10\n```\n\n### `/study-commits-max`\n\nShow or set the default commit count used by `/study-commits`.\n\nExamples:\n\n```text\n/study-commits-max\n/study-commits-max 50\n/study-commits-max clear\n```\n\nPrecedence:\n\n1. `/study-commits 10`\n2. `/study-commits-max 50`\n3. built-in default `20`\n\n## What it does\n\n- checks current directory is a git repo\n- loads recent commits with `git log`\n- shows an interactive multi-select picker\n- fetches selected diffs with `git show --stat --patch --no-color`\n- caps total diff context at 4000 lines\n- sends the assembled context back into the session as a user message\n\n","readmeFilename":"README.md"}