{"_id":"@asafhm/agentlog","_rev":"9-7530a13b9c1b53a0c9e362cad0b2aceb","name":"@asafhm/agentlog","dist-tags":{"alpha":"0.2.3-alpha.2","latest":"0.2.7"},"versions":{"0.2.1-alpha.0":{"name":"@asafhm/agentlog","version":"0.2.1-alpha.0","keywords":["ai","agent","audit","logging","cli","tamper-evident"],"author":{"name":"Asaf Haim"},"license":"MIT","_id":"@asafhm/agentlog@0.2.1-alpha.0","maintainers":[{"name":"asafhm","email":"asi.h42@gmail.com"}],"homepage":"https://github.com/asafhaim/agentlog#readme","bugs":{"url":"https://github.com/asafhaim/agentlog/issues"},"bin":{"agentlog":"dist/index.js"},"dist":{"shasum":"b9dd515e7ed354633ed2a9a4d3d3d8865b89f3b0","tarball":"https://registry.npmjs.org/@asafhm/agentlog/-/agentlog-0.2.1-alpha.0.tgz","fileCount":2,"integrity":"sha512-sDDVsdb4OmFa0hnvcY3ATv3qjgtpQBJmsaCvJbFzX6vw+P3ofziH0/kr0hXViLJuwjAFX560zDRuiGKo+/WsPA==","signatures":[{"sig":"MEUCIQCbAzcaIQBAbKCunwEnXYm6HRxEIa8k/u7h92Iq7bbUVAIgZj1rNn95D13nzTEv4eSwm4DTVL2u346c+zZL1gsizZo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15371},"type":"module","_from":"file:asafhm-agentlog-0.2.1-alpha.0.tgz","scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"asafhm","email":"asi.h42@gmail.com"},"_resolved":"/private/var/folders/qf/cxzp0ndd57935_gg0cj08w0m0000gn/T/704ba4480c65ea9ad0105fa16361a8e2/asafhm-agentlog-0.2.1-alpha.0.tgz","_integrity":"sha512-sDDVsdb4OmFa0hnvcY3ATv3qjgtpQBJmsaCvJbFzX6vw+P3ofziH0/kr0hXViLJuwjAFX560zDRuiGKo+/WsPA==","repository":{"url":"git+https://github.com/asafhaim/agentlog.git","type":"git"},"_npmVersion":"10.9.4","description":"CLI for agentlog — verify and view tamper-evident AI agent run logs","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@asafhm/agentlog-core":"0.2.1-alpha.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^25.6.0"},"_npmOperationalInternal":{"tmp":"tmp/agentlog_0.2.1-alpha.0_1777246497207_0.8270491422547375","host":"s3://npm-registry-packages-npm-production"}},"0.2.3-alpha.0":{"name":"@asafhm/agentlog","version":"0.2.3-alpha.0","keywords":["ai","agent","audit","logging","cli","tamper-evident"],"author":{"name":"Asaf Haim"},"license":"MIT","_id":"@asafhm/agentlog@0.2.3-alpha.0","maintainers":[{"name":"asafhm","email":"asi.h42@gmail.com"}],"homepage":"https://github.com/asf-hm/agentlog#readme","bugs":{"url":"https://github.com/asf-hm/agentlog/issues"},"bin":{"agentlog":"dist/index.js"},"dist":{"shasum":"46a32183733f3d052759e993a207082d93a0784c","tarball":"https://registry.npmjs.org/@asafhm/agentlog/-/agentlog-0.2.3-alpha.0.tgz","fileCount":2,"integrity":"sha512-5+FHX9ZnUYk8JbPgz3adsrnlKOjm8GOw2BLmyy+5FiYevG8xFrenDihoygRIpiC7hJKpYcxLGNrFC0FSZMTSSg==","signatures":[{"sig":"MEQCIBTEY3qBp5F006dcvLwTlZUu4pAmwKcFraRbgNAjxEpzAiAKX+z+dcfN6JoEfLbq2n8TLGSZu36SAxxvGinXPUqAWg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17735},"type":"module","_from":"file:asafhm-agentlog-0.2.3-alpha.0.tgz","scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"asafhm","email":"asi.h42@gmail.com"},"_resolved":"/private/var/folders/qf/cxzp0ndd57935_gg0cj08w0m0000gn/T/fc676a078f28a7cb8d699e7124be2bac/asafhm-agentlog-0.2.3-alpha.0.tgz","_integrity":"sha512-5+FHX9ZnUYk8JbPgz3adsrnlKOjm8GOw2BLmyy+5FiYevG8xFrenDihoygRIpiC7hJKpYcxLGNrFC0FSZMTSSg==","repository":{"url":"git+https://github.com/asf-hm/agentlog.git","type":"git"},"_npmVersion":"10.9.4","description":"CLI for agentlog — verify and view tamper-evident AI agent run logs","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@asafhm/agentlog-core":"0.2.3-alpha.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^25.6.0"},"_npmOperationalInternal":{"tmp":"tmp/agentlog_0.2.3-alpha.0_1777378981866_0.2150304919366719","host":"s3://npm-registry-packages-npm-production"}},"0.2.3-alpha.1":{"name":"@asafhm/agentlog","version":"0.2.3-alpha.1","keywords":["ai","agent","audit","logging","cli","tamper-evident"],"author":{"name":"Asaf Haim"},"license":"MIT","_id":"@asafhm/agentlog@0.2.3-alpha.1","maintainers":[{"name":"asafhm","email":"asi.h42@gmail.com"}],"homepage":"https://github.com/asafhaim/agentlog#readme","bugs":{"url":"https://github.com/asafhaim/agentlog/issues"},"bin":{"agentlog":"dist/index.js"},"dist":{"shasum":"20c93b102bb42294ba81f7a565efa0bca6afb625","tarball":"https://registry.npmjs.org/@asafhm/agentlog/-/agentlog-0.2.3-alpha.1.tgz","fileCount":2,"integrity":"sha512-VHfqjVDkHDm0rsiWXSV/Quiq/in05xFmngjsVLeRFQ06/NznZD4hT+fEllrlF48/Nf6LTGffLEigYCCxgcYknA==","signatures":[{"sig":"MEUCIQD/VPhf2The7vXwUAoF0FGNzMOf6VYHTEkI+UnEMKEHkgIgfK04vQ5bHr0F+8+sadVPUiSUydsQB5QvZ+zX2V94J4A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17737},"type":"module","_from":"file:asafhm-agentlog-0.2.3-alpha.1.tgz","scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"asafhm","email":"asi.h42@gmail.com"},"_resolved":"/private/var/folders/qf/cxzp0ndd57935_gg0cj08w0m0000gn/T/c322daaa0b5b1eade3dac766f20de960/asafhm-agentlog-0.2.3-alpha.1.tgz","_integrity":"sha512-VHfqjVDkHDm0rsiWXSV/Quiq/in05xFmngjsVLeRFQ06/NznZD4hT+fEllrlF48/Nf6LTGffLEigYCCxgcYknA==","repository":{"url":"git+https://github.com/asafhaim/agentlog.git","type":"git"},"_npmVersion":"10.9.4","description":"CLI for agentlog — verify and view tamper-evident AI agent run logs","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@asafhm/agentlog-core":"0.2.3-alpha.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^25.6.0"},"_npmOperationalInternal":{"tmp":"tmp/agentlog_0.2.3-alpha.1_1777380629019_0.07085365809991617","host":"s3://npm-registry-packages-npm-production"}},"0.2.3-alpha.2":{"name":"@asafhm/agentlog","version":"0.2.3-alpha.2","keywords":["ai","agent","audit","logging","cli","tamper-evident"],"author":{"name":"Asaf Haim"},"license":"MIT","_id":"@asafhm/agentlog@0.2.3-alpha.2","maintainers":[{"name":"asafhm","email":"asi.h42@gmail.com"}],"homepage":"https://github.com/asafhaim/agentlog#readme","bugs":{"url":"https://github.com/asafhaim/agentlog/issues"},"bin":{"agentlog":"dist/index.js"},"dist":{"shasum":"781e9e7058c3dc5ed90219726af53fd65421bcf0","tarball":"https://registry.npmjs.org/@asafhm/agentlog/-/agentlog-0.2.3-alpha.2.tgz","fileCount":3,"integrity":"sha512-XdXzQVOcXuyarKr2HzXGtMpnO/SXfS708XrnW/U2mQ04DYUo2Vy/thPXyWEa6W5eMXb3HnkwqO+oq7y5bN1mSQ==","signatures":[{"sig":"MEYCIQDvx+60JIPWcIlfRdqCCbjTddq9cklyvncEcKjxiOwrwQIhALrwUeiM5ZGkM+I+YUkmdwrdAUfAzPJmaKJjwqIOuDLl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23794},"type":"module","_from":"file:asafhm-agentlog-0.2.3-alpha.2.tgz","scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"asafhm","email":"asi.h42@gmail.com"},"_resolved":"/private/var/folders/qf/cxzp0ndd57935_gg0cj08w0m0000gn/T/aba58fb3196d1e320a56bfabfd03e69e/asafhm-agentlog-0.2.3-alpha.2.tgz","_integrity":"sha512-XdXzQVOcXuyarKr2HzXGtMpnO/SXfS708XrnW/U2mQ04DYUo2Vy/thPXyWEa6W5eMXb3HnkwqO+oq7y5bN1mSQ==","repository":{"url":"git+https://github.com/asafhaim/agentlog.git","type":"git"},"_npmVersion":"10.9.4","description":"CLI for agentlog — verify and view tamper-evident AI agent run logs","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@asafhm/agentlog-core":"0.2.3-alpha.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@types/node":"^25.6.0"},"_npmOperationalInternal":{"tmp":"tmp/agentlog_0.2.3-alpha.2_1777380765606_0.1648482605962085","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@asafhm/agentlog","version":"0.2.3","keywords":["ai","agent","audit","logging","cli","tamper-evident"],"author":{"name":"Asaf Haim"},"license":"MIT","_id":"@asafhm/agentlog@0.2.3","maintainers":[{"name":"asafhm","email":"asi.h42@gmail.com"}],"homepage":"https://github.com/asafhaim/agentlog#readme","bugs":{"url":"https://github.com/asafhaim/agentlog/issues"},"bin":{"agentlog":"dist/index.js"},"dist":{"shasum":"390c31855fd0d318ea0e9d9d8ac08af931bf2848","tarball":"https://registry.npmjs.org/@asafhm/agentlog/-/agentlog-0.2.3.tgz","fileCount":3,"integrity":"sha512-SOrahuSSZl9OmTFEC+C/pdj8pFAAeudu+CuNMpu41GYFGjLT+UQ3PMIdaDt0YWGFNYf1eBkCfDfNmDrMc00Bww==","signatures":[{"sig":"MEUCICUXrkeciYznGnO/whJVjgWMrfw/+5TSWU4Hh9pqWYFUAiEAuHJJVKkXLuXicVbGFRSFI0eQpVpbm45X1wWr23H4+tg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23778},"type":"module","_from":"file:asafhm-agentlog-0.2.3.tgz","scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"asafhm","email":"asi.h42@gmail.com"},"_resolved":"/private/var/folders/qf/cxzp0ndd57935_gg0cj08w0m0000gn/T/1d6a0e7c4b6c2d1370cc1a65a2e73462/asafhm-agentlog-0.2.3.tgz","_integrity":"sha512-SOrahuSSZl9OmTFEC+C/pdj8pFAAeudu+CuNMpu41GYFGjLT+UQ3PMIdaDt0YWGFNYf1eBkCfDfNmDrMc00Bww==","repository":{"url":"git+https://github.com/asafhaim/agentlog.git","type":"git"},"_npmVersion":"10.9.4","description":"CLI for agentlog — verify and view tamper-evident AI agent run logs","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@asafhm/agentlog-core":"0.2.3"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^25.6.0"},"_npmOperationalInternal":{"tmp":"tmp/agentlog_0.2.3_1777381107980_0.5333061952313145","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"@asafhm/agentlog","version":"0.2.4","keywords":["ai","agent","audit","logging","cli","tamper-evident"],"author":{"name":"Asaf Haim"},"license":"MIT","_id":"@asafhm/agentlog@0.2.4","maintainers":[{"name":"asafhm","email":"asi.h42@gmail.com"}],"homepage":"https://github.com/asafhaim/agentlog#readme","bugs":{"url":"https://github.com/asafhaim/agentlog/issues"},"bin":{"agentlog":"dist/index.js"},"dist":{"shasum":"335bf1509d497b161dc2527aa64790eeee22a8b3","tarball":"https://registry.npmjs.org/@asafhm/agentlog/-/agentlog-0.2.4.tgz","fileCount":3,"integrity":"sha512-il2vt3g4SUIoMV2c+tHldVQeRybj/2bXjzQnA25ZeIytGXyBUH23wwI6L7fEzG72LQAuuynMXbUTUwa9BX+Osg==","signatures":[{"sig":"MEUCIQDp8iGSsrGEWhElkf+GXg9eGKy2Q7Mlc2Kymk6Ys+exaQIgLVDM5MJFNeylQzzB5ZIunNSp/8kHNf3sjI6kFyadoEA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24086},"type":"module","_from":"file:asafhm-agentlog-0.2.4.tgz","scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"asafhm","email":"asi.h42@gmail.com"},"_resolved":"/private/var/folders/qf/cxzp0ndd57935_gg0cj08w0m0000gn/T/bea14de7b3dc9e91f8358ee23f01b740/asafhm-agentlog-0.2.4.tgz","_integrity":"sha512-il2vt3g4SUIoMV2c+tHldVQeRybj/2bXjzQnA25ZeIytGXyBUH23wwI6L7fEzG72LQAuuynMXbUTUwa9BX+Osg==","repository":{"url":"git+https://github.com/asafhaim/agentlog.git","type":"git"},"_npmVersion":"10.9.4","description":"CLI for agentlog — verify and view tamper-evident AI agent run logs","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@asafhm/agentlog-core":"0.2.4"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^25.6.0"},"_npmOperationalInternal":{"tmp":"tmp/agentlog_0.2.4_1777381404106_0.6209784855724387","host":"s3://npm-registry-packages-npm-production"}},"0.2.5":{"name":"@asafhm/agentlog","version":"0.2.5","keywords":["ai","agent","audit","logging","cli","tamper-evident"],"author":{"name":"Asaf Haim"},"license":"MIT","_id":"@asafhm/agentlog@0.2.5","maintainers":[{"name":"asafhm","email":"asi.h42@gmail.com"}],"homepage":"https://github.com/asf-hm/agentlog#readme","bugs":{"url":"https://github.com/asf-hm/agentlog/issues"},"bin":{"agentlog":"dist/index.js"},"dist":{"shasum":"773042636eddd0b5c92508bc69ff5bd49fc31bf6","tarball":"https://registry.npmjs.org/@asafhm/agentlog/-/agentlog-0.2.5.tgz","fileCount":3,"integrity":"sha512-Mn6EW5EtiOGdsIaWtkIUmguyJ+NMQz8VuQAHvRfAIRzU5ZYbfTTowcCf2+mfkE+eTKBQV5f/iZkuMZ2j+66ZjQ==","signatures":[{"sig":"MEUCIQDe0WIQ6HKjg7R0aUMf6+X0el8SPYsjwYobYdURSbvj+wIgfQVVb460KC5yQcw0TK1FPemOXUPWGWmn7uP/qhWwd+k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24084},"type":"module","_from":"file:asafhm-agentlog-0.2.5.tgz","scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"asafhm","email":"asi.h42@gmail.com"},"_resolved":"/private/var/folders/qf/cxzp0ndd57935_gg0cj08w0m0000gn/T/84ec015b262f1e092635cd70559c1eed/asafhm-agentlog-0.2.5.tgz","_integrity":"sha512-Mn6EW5EtiOGdsIaWtkIUmguyJ+NMQz8VuQAHvRfAIRzU5ZYbfTTowcCf2+mfkE+eTKBQV5f/iZkuMZ2j+66ZjQ==","repository":{"url":"git+https://github.com/asf-hm/agentlog.git","type":"git"},"_npmVersion":"10.9.4","description":"CLI for agentlog — verify and view tamper-evident AI agent run logs","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@asafhm/agentlog-core":"0.2.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^25.6.0"},"_npmOperationalInternal":{"tmp":"tmp/agentlog_0.2.5_1777381653395_0.5093008847336911","host":"s3://npm-registry-packages-npm-production"}},"0.2.6":{"name":"@asafhm/agentlog","version":"0.2.6","keywords":["ai","agent","audit","logging","cli","tamper-evident"],"author":{"name":"Asaf Haim"},"license":"MIT","_id":"@asafhm/agentlog@0.2.6","maintainers":[{"name":"asafhm","email":"asi.h42@gmail.com"}],"homepage":"https://github.com/asf-hm/agentlog#readme","bugs":{"url":"https://github.com/asf-hm/agentlog/issues"},"bin":{"agentlog":"dist/index.js"},"dist":{"shasum":"c7940d18b21db34009421af0d077bd6d3fe93d5a","tarball":"https://registry.npmjs.org/@asafhm/agentlog/-/agentlog-0.2.6.tgz","fileCount":3,"integrity":"sha512-5rj5cUCRnP46+azpCHCHu27QUiTQKOVRWvimGix5aJ6xgwgqFfjea1oTgD20j/c+U65IMzIQb6APRa9oewpOIg==","signatures":[{"sig":"MEUCIAapZJSeweJrXwhMNhne8e2j7sm5ffLmthPH8TxVZa+pAiEAvxJkSdKiqlPnscxSL7pdZs+eGUClYIRqxSIbQATLt1U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24709},"type":"module","_from":"file:asafhm-agentlog-0.2.6.tgz","scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"asafhm","email":"asi.h42@gmail.com"},"_resolved":"/private/var/folders/qf/cxzp0ndd57935_gg0cj08w0m0000gn/T/328d339d36be2fb33d49a4879f8a0bc5/asafhm-agentlog-0.2.6.tgz","_integrity":"sha512-5rj5cUCRnP46+azpCHCHu27QUiTQKOVRWvimGix5aJ6xgwgqFfjea1oTgD20j/c+U65IMzIQb6APRa9oewpOIg==","repository":{"url":"git+https://github.com/asf-hm/agentlog.git","type":"git"},"_npmVersion":"10.9.4","description":"CLI for agentlog — verify and view tamper-evident AI agent run logs","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@asafhm/agentlog-core":"0.2.6"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^25.6.0"},"_npmOperationalInternal":{"tmp":"tmp/agentlog_0.2.6_1777381870226_0.9542533441196968","host":"s3://npm-registry-packages-npm-production"}},"0.2.7":{"name":"@asafhm/agentlog","version":"0.2.7","description":"CLI for agentlog — verify and view tamper-evident AI agent run logs","type":"module","bin":{"agentlog":"dist/index.js"},"keywords":["ai","agent","audit","logging","cli","tamper-evident"],"author":{"name":"Asaf Haim"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/asf-hm/agentlog.git"},"dependencies":{"@asafhm/agentlog-core":"0.2.7"},"devDependencies":{"@types/node":"^25.6.0"},"scripts":{"build":"tsup","dev":"tsup --watch"},"_id":"@asafhm/agentlog@0.2.7","bugs":{"url":"https://github.com/asf-hm/agentlog/issues"},"homepage":"https://github.com/asf-hm/agentlog#readme","_integrity":"sha512-RtAF4s5HcWyKou5ANa42SMy7Mb2PuFoio3hZzxJNTBvRAku3Syi4LU725AVAKPEPIiRO2DOraEe1EnyGlJRa2g==","_resolved":"/private/var/folders/qf/cxzp0ndd57935_gg0cj08w0m0000gn/T/534886ab204e68b05a7b578422c71c6c/asafhm-agentlog-0.2.7.tgz","_from":"file:asafhm-agentlog-0.2.7.tgz","_nodeVersion":"22.21.1","_npmVersion":"10.9.4","dist":{"integrity":"sha512-RtAF4s5HcWyKou5ANa42SMy7Mb2PuFoio3hZzxJNTBvRAku3Syi4LU725AVAKPEPIiRO2DOraEe1EnyGlJRa2g==","shasum":"f4110d51ee2c8f4dcd619181a4f1704acb70ec75","tarball":"https://registry.npmjs.org/@asafhm/agentlog/-/agentlog-0.2.7.tgz","fileCount":3,"unpackedSize":25012,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICiw02UZuLAQrAk1lqlb1/u2fqyVyFKK2HWg+kbKD6BjAiBq8LT4xogiICKGiAzfI19x3jKqMW6ImROYmnYys8V2ow=="}]},"_npmUser":{"name":"asafhm","email":"asi.h42@gmail.com"},"directories":{},"maintainers":[{"name":"asafhm","email":"asi.h42@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/agentlog_0.2.7_1777382361813_0.035359204070348094"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-26T23:34:57.142Z","modified":"2026-04-28T13:19:22.080Z","0.2.1-alpha.0":"2026-04-26T23:34:57.332Z","0.2.3-alpha.0":"2026-04-28T12:23:02.019Z","0.2.3-alpha.1":"2026-04-28T12:50:29.186Z","0.2.3-alpha.2":"2026-04-28T12:52:45.737Z","0.2.3":"2026-04-28T12:58:28.110Z","0.2.4":"2026-04-28T13:03:24.359Z","0.2.5":"2026-04-28T13:07:33.515Z","0.2.6":"2026-04-28T13:11:10.364Z","0.2.7":"2026-04-28T13:19:21.970Z"},"bugs":{"url":"https://github.com/asf-hm/agentlog/issues"},"author":{"name":"Asaf Haim"},"license":"MIT","homepage":"https://github.com/asf-hm/agentlog#readme","keywords":["ai","agent","audit","logging","cli","tamper-evident"],"repository":{"type":"git","url":"git+https://github.com/asf-hm/agentlog.git"},"description":"CLI for agentlog — verify and view tamper-evident AI agent run logs","maintainers":[{"name":"asafhm","email":"asi.h42@gmail.com"}],"readme":"# agentlog\n\nLocal tamper-evident audit logs for AI agent runs.\n\nagentlog records prompts, tool calls, responses, and errors as hash-chained JSONL files on disk. Use it to debug what happened, inspect runs locally, and verify that a log was not edited after the fact.\n\nNot a transcript viewer. Each run is a verifiable chain — any edit or deletion breaks verification.\n\n- Local files, no cloud service\n- Hash-chained events for tamper evidence\n- Vercel AI SDK integration\n- CLI verification and timeline view\n- Local Studio UI for browsing runs\n\nRuns are written to `.agentlog/runs/*.jsonl` and gitignored by default.\n\n---\n\n## 2-minute start\n\n```bash\nnpm install @asafhm/agentlog-core @asafhm/agentlog-vercel-ai\n```\n\n```ts\nimport { generateText } from 'ai';\nimport { openai } from '@ai-sdk/openai';\nimport { createAgentLogger } from '@asafhm/agentlog-vercel-ai';\n\nconst { telemetry, onError } = createAgentLogger({ agentName: 'my-agent' });\n\ntry {\n  const { text } = await generateText({\n    model: openai('gpt-4o-mini'),\n    prompt: 'Explain SQL joins',\n    experimental_telemetry: telemetry,\n  });\n  console.log(text);\n} catch (err) {\n  onError(err);\n  throw err;\n}\n// → .agentlog/runs/<runId>.jsonl\n```\n\nInspect the run:\n\n```bash\nnpx agentlog view .agentlog/runs/<runId>.jsonl\n```\n\n```\n[0] 2026-04-28 12:00:00Z  run_start\n[1] 2026-04-28 12:00:01Z  prompt\n      model: {\"provider\":\"openai\",\"modelId\":\"gpt-4o-mini\"}\n[2] 2026-04-28 12:00:03Z  response  (1821ms)\n      usage: {\"inputTokens\":89,\"outputTokens\":18}\n[3] 2026-04-28 12:00:03Z  run_end\n      status: \"success\"\n```\n\nVerify it wasn't edited:\n\n```bash\nnpx agentlog verify .agentlog/runs/<runId>.jsonl\n```\n\n```\n✓ Valid — 4 events verified\n```\n\n---\n\n## Why not just logs?\n\n- Console logs are unstructured and hard to replay\n- Observability tools usually require an external service\n- Normal log files can be silently edited after the fact\n- agentlog writes one local, hash-chained timeline per agent run — readable by humans, verifiable by machines\n\n---\n\n## Packages\n\n| Package | Description |\n|---|---|\n| `@asafhm/agentlog-core` | Core logger — create runs, append events, verify files |\n| `@asafhm/agentlog-vercel-ai` | Vercel AI SDK adapter for `generateText` and `streamText` |\n| `@asafhm/agentlog` | CLI — `verify`, `view`, and `studio` commands |\n\n---\n\n## Vercel AI SDK\n\n### generateText\n\n```ts\nimport { generateText } from 'ai';\nimport { openai } from '@ai-sdk/openai';\nimport { createAgentLogger } from '@asafhm/agentlog-vercel-ai';\n\nconst { telemetry, onError } = createAgentLogger({ agentName: 'my-agent' });\n\ntry {\n  const { text } = await generateText({\n    model: openai('gpt-4o-mini'),\n    prompt: 'Explain SQL joins',\n    experimental_telemetry: telemetry,\n  });\n  console.log(text);\n} catch (err) {\n  onError(err);\n  throw err;\n}\n```\n\n### streamText\n\n`onError` plugs in directly — no try/catch needed:\n\n```ts\nimport { streamText } from 'ai';\nimport { openai } from '@ai-sdk/openai';\nimport { createAgentLogger } from '@asafhm/agentlog-vercel-ai';\n\nconst { telemetry, onError } = createAgentLogger({ agentName: 'stream-agent' });\n\nconst result = streamText({\n  model: openai('gpt-4o-mini'),\n  prompt: 'Explain SQL joins',\n  experimental_telemetry: telemetry,\n  onError,\n});\n\nfor await (const chunk of result.textStream) {\n  process.stdout.write(chunk);\n}\n```\n\nBy default, agentlog records metadata only: timestamps, event types, durations, and tool names. No prompt content is captured unless you opt in — see [Capture modes](#capture-modes).\n\n---\n\n## Core API\n\nFor use outside the Vercel AI SDK:\n\n```ts\nimport { createRun, verifyFile } from '@asafhm/agentlog-core';\n\nconst run = createRun({ agentName: 'my-agent' });\nrun.append('prompt', { model: 'gpt-4o' });\nrun.append('response', { usage: { promptTokens: 5, completionTokens: 20 } });\nrun.end('success');\n\nconst result = await verifyFile(`.agentlog/runs/${run.runId}.jsonl`);\nconsole.log(result); // { valid: true, eventsChecked: 4 }\n```\n\n---\n\n## Inspect and verify\n\n```bash\nnpx agentlog view .agentlog/runs/<runId>.jsonl    # human-readable timeline\nnpx agentlog verify .agentlog/runs/<runId>.jsonl  # exits 1 if tampered\nnpx agentlog studio                               # browser UI at http://127.0.0.1:3001\n```\n\n---\n\n## Studio\n\n```bash\nnpx agentlog studio\n```\n\nOpens `http://127.0.0.1:3001` — a local UI showing all runs, event timelines, and verification status.\n\n**Run list** — every run with its verify status at a glance:\n\n![agentlog studio run list](docs/studio-runs.png)\n\n**Event timeline** — what the agent actually did, step by step:\n\n![agentlog studio timeline](docs/studio-timeline.png)\n\n---\n\n## Capture modes\n\n| Mode | What is recorded |\n|---|---|\n| `metadata` (default) | Timestamps, event types, durations, tool names |\n| `full` | Everything above plus prompts, responses, tool inputs/outputs |\n\n```ts\nconst { telemetry, onError } = createAgentLogger({\n  agentName: 'my-agent',\n  captureMode: 'full',\n});\n```\n\n`full` mode keeps all data local but may capture sensitive content. Review what your prompts and tool outputs contain before enabling it in production.\n\n---\n\n## How it works\n\nEach event is hashed with SHA-256 over its fields plus the previous event's hash, forming a chain. `verifyFile` recomputes every hash and checks:\n\n- Sequence numbers are contiguous from 0\n- Each `prevHash` matches the previous event's hash\n- Each stored hash matches the recomputed hash\n\nAny modification, insertion, or deletion breaks every subsequent hash. Completed runs also write a `.head.json` sidecar — if present, tail truncation is detected too.\n\n`verifyFile` returns structured details on failure:\n\n```ts\nresult.details?.code          // e.g. \"HASH_MISMATCH\"\nresult.details?.lastValidSeq  // last sequence number known good\n```\n\n---\n\n## Auditability\n\nagentlog is not a compliance product by itself, but it is designed for teams that need trustworthy records of AI system behavior. Its append-only, hash-chained logs can support audit, debugging, incident review, and regulated AI workflows.\n\nUseful for auditability and Article 12-style automatic logging requirements.\n\n---\n\n## CLI reference\n\n```bash\nnpx agentlog verify <run.jsonl>   # verify integrity — exits 1 if invalid\nnpx agentlog view <run.jsonl>     # human-readable event timeline\nnpx agentlog studio               # local browser UI at http://127.0.0.1:3001\n```\n\n`AGENTLOG_DIR` — storage location (default: `.agentlog`)\n`AGENTLOG_STUDIO_PORT` — studio port (default: `3001`)\n\n---\n\n## Event types\n\n| Event | When |\n|---|---|\n| `run_start` | Created automatically by `createRun()` |\n| `prompt` | Before an LLM call |\n| `tool_call` | When a tool is invoked |\n| `tool_result` | When a tool returns |\n| `response` | After an LLM call |\n| `late_error` | Error after run completed |\n| `error` | On caught errors |\n| `run_end` | Created by `run.end(status)` |\n\n---\n\n## Status\n\n| | |\n|---|---|\n| Core logger | Stable enough for local experiments |\n| CLI (`verify`, `view`, `studio`) | Supported |\n| Vercel AI SDK — `generateText` | Supported |\n| Vercel AI SDK — `streamText` | Supported |\n| Cryptographic signing (private key) | Planned |\n| Cloud backend / remote storage | Not planned |\n\nAPI is stable; expect changes before 1.0.\n\n---\n\n## License\n\nMIT\n","readmeFilename":"README.md"}