{"_id":"@agntn/archives","_rev":"6-1f336e78ea40f4ff49fa3ca0d50c2a8d","name":"@agntn/archives","dist-tags":{"latest":"0.7.0"},"versions":{"0.5.0":{"name":"@agntn/archives","version":"0.5.0","keywords":["archive","archive-today","commoncrawl","history","permacc","wayback","web-archive","agents","pi-extension","pi-package"],"author":{"name":"oritwoen"},"license":"MIT","_id":"@agntn/archives@0.5.0","maintainers":[{"name":"oritwoen","email":"dominik.opyd+1@gmail.com"}],"homepage":"https://github.com/agntn/archives","bugs":{"url":"https://github.com/agntn/archives/issues"},"pi":{"extensions":["./packages/pi/extensions/*.ts"]},"dist":{"shasum":"aa6c0192ebc4017c30ba3f8417c1fb3004fed878","tarball":"https://registry.npmjs.org/@agntn/archives/-/archives-0.5.0.tgz","fileCount":7,"integrity":"sha512-DUt3G/XzrwgNvx0t1WNFzoXZsEI/uP/Lulr0Djqx0pBiAKEzu6v5SZJLrvhX5NcCPmkMn2IrvDSgrRXeU+oeVg==","signatures":[{"sig":"MEUCIDLO+eXdU5CaSc6wAQnzxD+R0szjtlEVp6JV8Pg4JBJdAiEA9GiUfiTu99ydsVC7C8YkgPuZW4AotPtc6mVbmYhk2Gc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":81445},"main":"./dist/index.mjs","type":"module","_from":"file:agntn-archives-0.5.0.tgz","types":"./dist/index.d.mts","module":"./dist/index.mjs","exports":{".":"./dist/index.mjs"},"scripts":{"dev":"vitest dev","fmt":"oxlint . --fix && oxfmt .","lint":"oxlint .","test":"pnpm lint && pnpm test:types && vitest run --coverage","build":"obuild src/index.ts","release":"pnpm test && changelogen --release --push && pnpm publish","lint:fix":"oxlint . --fix","fmt:check":"oxfmt --check .","test:types":"tsc --noEmit --skipLibCheck && tsc --noEmit --skipLibCheck -p tsconfig.extensions.json"},"_npmUser":{"name":"oritwoen","email":"dominik.opyd+1@gmail.com"},"_resolved":"/tmp/b7636911193490d77fed7dafd2200c46/agntn-archives-0.5.0.tgz","_integrity":"sha512-DUt3G/XzrwgNvx0t1WNFzoXZsEI/uP/Lulr0Djqx0pBiAKEzu6v5SZJLrvhX5NcCPmkMn2IrvDSgrRXeU+oeVg==","repository":{"url":"git+https://github.com/agntn/archives.git","type":"git"},"_npmVersion":"12.0.2","description":"Unified interface for web archive providers","directories":{},"resolutions":{"@agntn/archives":"link:."},"sideEffects":false,"_nodeVersion":"26.7.0","dependencies":{"c12":"4.0.0-beta.5","ufo":"1.6.4","ofetch":"1.5.1","consola":"3.4.2","unstorage":"1.17.5"},"_hasShrinkwrap":false,"devDependencies":{"oxfmt":"0.62.0","obuild":"0.4.38","oxlint":"1.77.0","vitest":"4.1.10","typebox":"^1.3.11","typescript":"7.0.2","@types/node":"26.2.0","changelogen":"0.6.2","@vitest/coverage-v8":"4.1.10","@earendil-works/pi-tui":"0.84.1","@earendil-works/pi-coding-agent":"0.84.1"},"peerDependencies":{"typebox":"^1.1.38","@earendil-works/pi-tui":"*","@earendil-works/pi-coding-agent":"*"},"peerDependenciesMeta":{"typebox":{"optional":true},"@earendil-works/pi-tui":{"optional":true},"@earendil-works/pi-coding-agent":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/archives_0.5.0_1786613333145_0.4579652512516448","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"@agntn/archives","version":"0.5.1","keywords":["agents","archive","archive-today","commoncrawl","conifer","history","mcp","memento","memgator","omp-extension","permacc","pi-extension","pi-package","wayback","web-archive"],"author":{"name":"oritwoen"},"license":"MIT","_id":"@agntn/archives@0.5.1","maintainers":[{"name":"oritwoen","email":"dominik.opyd+1@gmail.com"}],"homepage":"https://github.com/agntn/archives","bugs":{"url":"https://github.com/agntn/archives/issues"},"pi":{"extensions":["./packages/pi/extensions/*.ts"]},"bin":{"archives":"dist/cli.mjs"},"omp":{"extensions":["./packages/omp/extensions/archives.ts"]},"dist":{"shasum":"27fbf56cb394d6d48bea8b22f103eae3e85380f5","tarball":"https://registry.npmjs.org/@agntn/archives/-/archives-0.5.1.tgz","fileCount":39,"integrity":"sha512-7dhmPwJSac7/CBkRJ/0NeRN+k5wj3kd6reifniNm9iEM76YKjT2wvTe34wBybgRjG+nOMaInq/RmD4Abar9r3g==","signatures":[{"sig":"MEYCIQCZSWZ0K9xa1NZW5wTnR3wBdxxr/PRNxRIWGFg8p8EaCwIhAMxsC4hVzpNV3ipKuRBtEHCW+dkULXFU8qcTP/5dzn6/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agntn%2farchives@0.5.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":336500},"main":"./dist/index.mjs","type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./mcp":{"types":"./dist/mcp.d.mts","import":"./dist/mcp.mjs","default":"./dist/mcp.mjs"},"./tool-operations":{"types":"./dist/tool-operations.d.mts","import":"./dist/tool-operations.mjs","default":"./dist/tool-operations.mjs"}},"gitHead":"c869dac83838766ec7624236fbe59a69128791aa","scripts":{"dev":"vitest dev","fmt":"oxlint . --fix && oxfmt .","lint":"oxlint .","test":"pnpm lint && pnpm test:types && vitest run --coverage","build":"obuild","prepack":"pnpm build","release":"pnpm test && changelogen --release --push","lint:fix":"oxlint . --fix","fmt:check":"oxfmt --check .","test:types":"pnpm build && tsc --noEmit --skipLibCheck && tsc --noEmit --skipLibCheck -p tsconfig.extensions.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f301ec70-7329-41a0-9c2e-f0407ce4e591"}},"repository":{"url":"git+https://github.com/agntn/archives.git","type":"git"},"_npmVersion":"11.17.0","description":"Unified interface for web archive providers","directories":{},"resolutions":{"@agntn/archives":"link:."},"sideEffects":false,"_nodeVersion":"24.19.0","dependencies":{"c12":"4.0.0-beta.5","ufo":"1.6.4","citty":"0.2.2","ofetch":"1.5.1","consola":"3.4.2","typebox":"1.3.15","unstorage":"1.17.5","@modelcontextprotocol/sdk":"1.30.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.8.1","devDependencies":{"oxfmt":"0.62.0","obuild":"0.4.38","oxlint":"1.77.0","vitest":"4.1.10","typescript":"7.0.2","@types/node":"26.2.0","changelogen":"0.6.2","@oh-my-pi/omptype":"17.3.0","@vitest/coverage-v8":"4.1.10","@earendil-works/pi-tui":"0.84.1","@oh-my-pi/pi-coding-agent":"17.3.0","@earendil-works/pi-coding-agent":"0.84.1"},"peerDependencies":{"typebox":"^1.1.38","@oh-my-pi/omptype":"*","@earendil-works/pi-tui":"*","@oh-my-pi/pi-coding-agent":"*","@earendil-works/pi-coding-agent":"*"},"peerDependenciesMeta":{"typebox":{"optional":true},"@oh-my-pi/omptype":{"optional":true},"@earendil-works/pi-tui":{"optional":true},"@oh-my-pi/pi-coding-agent":{"optional":true},"@earendil-works/pi-coding-agent":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/archives_0.5.1_1787950983117_0.448874786548243","host":"s3://npm-registry-packages-npm-production"}},"0.5.2":{"name":"@agntn/archives","version":"0.5.2","keywords":["agents","archive","archive-today","commoncrawl","conifer","history","mcp","memento","memgator","omp-extension","permacc","pi-extension","pi-package","wayback","web-archive"],"author":{"name":"oritwoen"},"license":"MIT","_id":"@agntn/archives@0.5.2","maintainers":[{"name":"oritwoen","email":"dominik.opyd+1@gmail.com"}],"homepage":"https://github.com/agntn/archives","bugs":{"url":"https://github.com/agntn/archives/issues"},"pi":{"extensions":["./packages/pi/extensions/*.ts"]},"bin":{"archives":"dist/cli.mjs"},"omp":{"extensions":["./packages/omp/extensions/archives.ts"]},"dist":{"shasum":"c5cf9a76380b4010f86fef9170baa7f718704cbe","tarball":"https://registry.npmjs.org/@agntn/archives/-/archives-0.5.2.tgz","fileCount":39,"integrity":"sha512-Be+uV09iDKfHBCwK9PcbevXk4dBOmNXWV3bBYCdqvFV/ufpsP4TTV5TTKPILOWcSKEDx8AEsFaqy93jTuuWvBw==","signatures":[{"sig":"MEUCIQCTcB4CViD9dQn+WExAzGO0BZngQ/2Y45nGMxfWzM9JUgIgGCysxUN26PGFUsAJj5PRVdTpXllddrrXasCLnJPZRKE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agntn%2farchives@0.5.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":352255},"main":"./dist/index.mjs","type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./mcp":{"types":"./dist/mcp.d.mts","import":"./dist/mcp.mjs","default":"./dist/mcp.mjs"},"./tool-operations":{"types":"./dist/tool-operations.d.mts","import":"./dist/tool-operations.mjs","default":"./dist/tool-operations.mjs"}},"gitHead":"84bc8954c23c151eae350737425b1262a8d32d16","scripts":{"dev":"vitest dev","fmt":"pnpm quality:prepare && oxlint . --fix && oxfmt .","lint":"pnpm quality:prepare && oxlint . && oxfmt --check .","test":"pnpm lint && pnpm test:types && vitest run --coverage","build":"obuild","prepack":"pnpm build","release":"pnpm test && changelogen --release --push","lint:fix":"pnpm quality:prepare && oxlint . --fix && oxfmt .","fmt:check":"oxfmt --check .","test:types":"pnpm build && tsc --noEmit --skipLibCheck && tsc --noEmit --skipLibCheck -p tsconfig.extensions.json","quality:prepare":"pnpm build && pnpm --dir playground exec nuxt prepare"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f301ec70-7329-41a0-9c2e-f0407ce4e591"}},"repository":{"url":"git+https://github.com/agntn/archives.git","type":"git"},"_npmVersion":"11.17.0","description":"Unified interface for web archive providers","directories":{},"resolutions":{"@agntn/archives":"link:."},"sideEffects":false,"_nodeVersion":"24.19.0","dependencies":{"c12":"4.0.0-beta.5","ufo":"1.6.4","citty":"0.2.2","ofetch":"1.5.1","consola":"3.4.2","typebox":"1.3.15","unstorage":"1.17.5","@modelcontextprotocol/sdk":"1.30.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.8.1","devDependencies":{"oxfmt":"0.65.0","obuild":"0.4.38","oxlint":"1.80.0","vitest":"4.1.10","@agntn/ox":"^0.1.0","typescript":"7.0.2","@types/node":"26.2.0","changelogen":"0.6.2","oxlint-tsgolint":"7.0.2001","@oh-my-pi/omptype":"17.3.0","@vitest/coverage-v8":"4.1.10","@earendil-works/pi-tui":"0.84.1","@oh-my-pi/pi-coding-agent":"17.3.0","@earendil-works/pi-coding-agent":"0.84.1"},"peerDependencies":{"typebox":"^1.1.38","@oh-my-pi/omptype":"*","@earendil-works/pi-tui":"*","@oh-my-pi/pi-coding-agent":"*","@earendil-works/pi-coding-agent":"*"},"peerDependenciesMeta":{"typebox":{"optional":true},"@oh-my-pi/omptype":{"optional":true},"@earendil-works/pi-tui":{"optional":true},"@oh-my-pi/pi-coding-agent":{"optional":true},"@earendil-works/pi-coding-agent":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/archives_0.5.2_1788177529105_0.597717113440257","host":"s3://npm-registry-packages-npm-production"}},"0.5.3":{"name":"@agntn/archives","version":"0.5.3","keywords":["agents","archive","archive-today","arquivo","arquivo-pt","commoncrawl","conifer","history","mcp","memento","memgator","omp-extension","permacc","pi-extension","pi-package","wayback","web-archive"],"author":{"name":"oritwoen"},"license":"MIT","_id":"@agntn/archives@0.5.3","maintainers":[{"name":"oritwoen","email":"dominik.opyd+1@gmail.com"}],"homepage":"https://github.com/agntn/archives","bugs":{"url":"https://github.com/agntn/archives/issues"},"pi":{"extensions":["./packages/pi/extensions/*.ts"]},"bin":{"archives":"dist/cli.mjs"},"omp":{"extensions":["./packages/omp/extensions/archives.ts"]},"dist":{"shasum":"3f3f505f200822d6731bf4ca6cfcb10a0004645f","tarball":"https://registry.npmjs.org/@agntn/archives/-/archives-0.5.3.tgz","fileCount":43,"integrity":"sha512-HhJqZsw1XbEmrERU5jBdaMqLlqAntrrrvdX66oCYxb6+kj547Ze3HCzX0mHraDFb4sfjQGA+e/TX7OucOgZvmw==","signatures":[{"sig":"MEUCIB6GvxKQoVW/c5MNEnV5IA82YPZYm0wYdSBhRGPZU3HUAiEA0e/aJ4uWe1z+KSqeu8XkC4yA1Xw09Vemy5vIm7jx/Jk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agntn%2farchives@0.5.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":371865},"main":"./dist/index.mjs","type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./mcp":{"types":"./dist/mcp.d.mts","import":"./dist/mcp.mjs","default":"./dist/mcp.mjs"},"./tool-operations":{"types":"./dist/tool-operations.d.mts","import":"./dist/tool-operations.mjs","default":"./dist/tool-operations.mjs"}},"gitHead":"8621cef44c9e0534c9c3ea7fba096c8aabbfced1","scripts":{"dev":"vitest dev","fmt":"pnpm quality:prepare && oxlint . --fix && oxfmt .","lint":"pnpm quality:prepare && oxlint . && oxfmt --check .","test":"pnpm lint && pnpm test:types && vitest run --coverage","build":"obuild","prepack":"pnpm build","release":"pnpm test && changelogen --release --push","lint:fix":"pnpm quality:prepare && oxlint . --fix && oxfmt .","fmt:check":"oxfmt --check .","test:types":"pnpm build && tsc --noEmit --skipLibCheck && tsc --noEmit --skipLibCheck -p tsconfig.extensions.json","quality:prepare":"pnpm build && pnpm --dir playground exec nuxt prepare"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f301ec70-7329-41a0-9c2e-f0407ce4e591"}},"repository":{"url":"git+https://github.com/agntn/archives.git","type":"git"},"_npmVersion":"11.17.0","description":"Unified interface for web archive providers","directories":{},"resolutions":{"@agntn/archives":"link:."},"sideEffects":false,"_nodeVersion":"24.19.0","dependencies":{"c12":"4.0.0-beta.5","ufo":"1.6.4","citty":"0.2.2","ofetch":"1.5.1","consola":"3.4.2","typebox":"1.3.15","unstorage":"1.17.5","@modelcontextprotocol/sdk":"1.30.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.8.1","devDependencies":{"oxfmt":"0.65.0","obuild":"0.4.38","oxlint":"1.80.0","vitest":"4.1.10","@agntn/ox":"^0.1.0","typescript":"7.0.2","@types/node":"26.2.0","changelogen":"0.6.2","oxlint-tsgolint":"7.0.2001","@oh-my-pi/omptype":"17.3.0","@vitest/coverage-v8":"4.1.10","@earendil-works/pi-tui":"0.84.1","@oh-my-pi/pi-coding-agent":"17.3.0","@earendil-works/pi-coding-agent":"0.84.1"},"peerDependencies":{"typebox":"^1.1.38","@oh-my-pi/omptype":"*","@earendil-works/pi-tui":"*","@oh-my-pi/pi-coding-agent":"*","@earendil-works/pi-coding-agent":"*"},"peerDependenciesMeta":{"typebox":{"optional":true},"@oh-my-pi/omptype":{"optional":true},"@earendil-works/pi-tui":{"optional":true},"@oh-my-pi/pi-coding-agent":{"optional":true},"@earendil-works/pi-coding-agent":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/archives_0.5.3_1788284043637_0.21936068210626658","host":"s3://npm-registry-packages-npm-production"}},"0.5.4":{"name":"@agntn/archives","version":"0.5.4","keywords":["agents","archive","archive-today","arquivo","arquivo-pt","commoncrawl","conifer","history","mcp","memento","memgator","omp-extension","permacc","pi-extension","pi-package","wayback","web-archive"],"author":{"name":"oritwoen"},"license":"MIT","_id":"@agntn/archives@0.5.4","maintainers":[{"name":"oritwoen","email":"dominik.opyd+1@gmail.com"}],"homepage":"https://archives.agntn.dev","bugs":{"url":"https://github.com/agntn/archives/issues"},"pi":{"extensions":["./packages/pi/extensions/*.ts"]},"bin":{"archives":"dist/cli.mjs"},"omp":{"extensions":["./packages/omp/extensions/archives.ts"]},"dist":{"shasum":"ebcd4f902c655a0098551ad8cd6f60e4c6d4f0f8","tarball":"https://registry.npmjs.org/@agntn/archives/-/archives-0.5.4.tgz","fileCount":45,"integrity":"sha512-OGazc2tiC/AE1mNVbJommWVzHv8FvL5iSXukekvfs51djq4MQaJaJinCZ7kzXZ98j61Gv5eubtWK7A6RN5RG0g==","signatures":[{"sig":"MEQCIAENsQX6A8XQzNaUYkz79/9L1Uz6AatJn6Umre8vn3Y3AiBypd/wF/iSBOB6GChJDNB0dDzs/Kiw7pnxjRVz5aKTGQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agntn%2farchives@0.5.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":418393},"main":"./dist/index.mjs","type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./mcp":{"types":"./dist/mcp.d.mts","import":"./dist/mcp.mjs","default":"./dist/mcp.mjs"},"./tool-operations":{"types":"./dist/tool-operations.d.mts","import":"./dist/tool-operations.mjs","default":"./dist/tool-operations.mjs"}},"gitHead":"5d1f13ff145a436bd42307e89145ac5b3f349788","scripts":{"dev":"vitest dev","fmt":"pnpm quality:prepare && oxlint . --fix && oxfmt .","docs":"pnpm --dir docs dev","lint":"pnpm quality:prepare && oxlint . && oxfmt --check .","test":"pnpm lint && pnpm test:types && vitest run --coverage","build":"obuild","prepack":"pnpm build","release":"pnpm test && changelogen --release --push","lint:fix":"pnpm quality:prepare && oxlint . --fix && oxfmt .","fmt:check":"oxfmt --check .","docs:build":"pnpm --dir docs build","test:types":"pnpm build && tsc --noEmit --skipLibCheck && tsc --noEmit --skipLibCheck -p tsconfig.extensions.json","quality:prepare":"pnpm build && pnpm --dir playground exec nuxt prepare"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f301ec70-7329-41a0-9c2e-f0407ce4e591"}},"repository":{"url":"git+https://github.com/agntn/archives.git","type":"git"},"_npmVersion":"11.17.0","description":"Unified interface for web archive providers","directories":{},"resolutions":{"@agntn/archives":"link:."},"sideEffects":false,"_nodeVersion":"24.19.0","dependencies":{"c12":"4.0.0-beta.5","ufo":"1.6.4","diff":"8.0.4","citty":"0.2.2","ohash":"2.0.11","ofetch":"1.5.1","consola":"3.4.2","typebox":"1.3.15","unstorage":"1.17.5","@modelcontextprotocol/sdk":"1.30.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.8.1","devDependencies":{"oxfmt":"0.65.0","obuild":"0.4.38","oxlint":"1.80.0","vitest":"4.1.10","@agntn/ox":"^0.1.0","typescript":"7.0.2","@types/node":"26.2.0","changelogen":"0.6.2","webmcp-types":"0.1.6","oxlint-tsgolint":"7.0.2001","@oh-my-pi/omptype":"17.3.0","@vitest/coverage-v8":"4.1.10","@earendil-works/pi-tui":"0.84.1","@oh-my-pi/pi-coding-agent":"17.3.0","@earendil-works/pi-coding-agent":"0.84.1"},"peerDependencies":{"typebox":"^1.1.38","@oh-my-pi/omptype":"*","@earendil-works/pi-tui":"*","@oh-my-pi/pi-coding-agent":"*","@earendil-works/pi-coding-agent":"*"},"peerDependenciesMeta":{"typebox":{"optional":true},"@oh-my-pi/omptype":{"optional":true},"@earendil-works/pi-tui":{"optional":true},"@oh-my-pi/pi-coding-agent":{"optional":true},"@earendil-works/pi-coding-agent":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/archives_0.5.4_1788505817953_0.10670065132456785","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"pi":{"extensions":["./packages/pi/extensions/*.ts"]},"_id":"@agntn/archives@0.7.0","bin":{"archives":"dist/cli.mjs"},"omp":{"extensions":["./packages/omp/extensions/archives.ts"]},"bugs":{"url":"https://github.com/agntn/archives/issues"},"dist":{"shasum":"2165585b6b8ddd6f6f1f40f84e73982250339690","tarball":"https://registry.npmjs.org/@agntn/archives/-/archives-0.7.0.tgz","fileCount":48,"integrity":"sha512-8NWm2+yRLRK8e3jc6EMpLmfafL3JrcjrMPMQEVf9BXltHPWckzLa6ZT6vpqDn+eE6y77NR5htu66BUXekPgm2w==","signatures":[{"sig":"MEQCIFeeNtEIJ9/tqQnWgVmVCj1mp7gE+mt8oktfn4SuqsTsAiAgwpW5kB/UBS6cgazH7HIJgvF/c1CzURaKhDWjprYNdQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC2IYX7k9XTN7qelwQY1I30ZL6+wfyTpFNo46szqnAX5gIgL6uAOwnOSJp9qI/b7xJW71YonxIsFfQD3EhJamNwSDw="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agntn%2farchives@0.7.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":275456},"main":"./dist/index.mjs","name":"@agntn/archives","type":"module","types":"./dist/index.d.mts","author":{"name":"oritwoen"},"module":"./dist/index.mjs","engines":{"node":">=26"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","default":"./dist/index.mjs"},"./mcp":{"types":"./dist/mcp.d.mts","import":"./dist/mcp.mjs","default":"./dist/mcp.mjs"},"./tool-operations":{"types":"./dist/tool-operations.d.mts","import":"./dist/tool-operations.mjs","default":"./dist/tool-operations.mjs"}},"gitHead":"0a05e35baa8d82c6b60b41a771ae77fad68d4152","license":"MIT","scripts":{"dev":"vp test watch","fmt":"pnpm quality:prepare && vp lint --fix && vp fmt","docs":"pnpm --dir docs dev","lint":"pnpm quality:prepare && vp lint && vp fmt --check","test":"pnpm lint && pnpm test:types && vp test run --coverage","build":"obuild","prepack":"pnpm build","release":"pnpm test && changelogen --release --push","lint:fix":"pnpm quality:prepare && vp lint --fix && vp fmt","fmt:check":"vp fmt --check","docs:build":"pnpm --dir docs build","test:types":"pnpm build && tsc --noEmit --skipLibCheck && tsc --noEmit --skipLibCheck -p tsconfig.extensions.json","quality:prepare":"pnpm build && pnpm --dir playground exec nuxt prepare"},"version":"0.7.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"f301ec70-7329-41a0-9c2e-f0407ce4e591"}},"homepage":"https://archives.agntn.dev","keywords":["agents","archive","archive-today","arquivo","arquivo-pt","commoncrawl","conifer","history","mcp","memento","memgator","omp-extension","permacc","pi-extension","pi-package","wayback","web-archive"],"repository":{"url":"git+https://github.com/agntn/archives.git","type":"git"},"_npmVersion":"11.19.1","description":"Unified interface for web archive providers","directories":{},"maintainers":[{"name":"oritwoen","email":"dominik.opyd+1@gmail.com"}],"resolutions":{"@agntn/archives":"link:."},"sideEffects":false,"_nodeVersion":"26.10.0","dependencies":{"c12":"4.0.0-beta.5","ufo":"1.6.4","diff":"8.0.4","citty":"0.2.2","ohash":"2.0.11","ofetch":"1.5.1","consola":"3.4.2","unstorage":"1.17.5","@agntn/tools":"0.0.0","@agntn/hashes":"0.5.0","@modelcontextprotocol/server":"2.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.8.1","devDependencies":{"obuild":"0.4.43","vitest":"catalog:","typebox":"1.3.15","@agntn/ox":"^0.1.0","vite-plus":"catalog:","typescript":"7.0.2","@types/node":"26.2.0","changelogen":"0.6.2","webmcp-types":"0.1.6","@oh-my-pi/omptype":"18.4.8","@vitest/coverage-v8":"catalog:","@earendil-works/pi-tui":"0.99.1","@oh-my-pi/pi-coding-agent":"18.4.8","@modelcontextprotocol/client":"2.2.0","@earendil-works/pi-coding-agent":"0.99.1"},"peerDependencies":{"@earendil-works/pi-tui":"*","@oh-my-pi/pi-coding-agent":">=18.0.0 <19","@earendil-works/pi-coding-agent":">=0.99.0"},"peerDependenciesMeta":{"@earendil-works/pi-tui":{"optional":true},"@oh-my-pi/pi-coding-agent":{"optional":true},"@earendil-works/pi-coding-agent":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/archives_0.7.0_1790867760163_0.6597598064231052"}}},"time":{"created":"2026-08-13T09:28:53.031Z","modified":"2026-10-01T15:16:02.096Z","0.5.0":"2026-08-13T09:28:53.312Z","0.5.1":"2026-08-28T21:03:03.263Z","0.5.2":"2026-08-31T11:58:49.248Z","0.5.3":"2026-09-01T17:34:03.784Z","0.5.4":"2026-09-04T07:10:18.157Z","0.7.0":"2026-10-01T15:16:00.269Z"},"bugs":{"url":"https://github.com/agntn/archives/issues"},"author":{"name":"oritwoen"},"license":"MIT","homepage":"https://archives.agntn.dev","keywords":["agents","archive","archive-today","arquivo","arquivo-pt","commoncrawl","conifer","history","mcp","memento","memgator","omp-extension","permacc","pi-extension","pi-package","wayback","web-archive"],"repository":{"url":"git+https://github.com/agntn/archives.git","type":"git"},"description":"Unified interface for web archive providers","maintainers":[{"name":"oritwoen","email":"dominik.opyd+1@gmail.com"}],"readme":"# @agntn/archives\n\n[![npm version](https://npmx.dev/api/registry/badge/version/@agntn/archives)](https://npmx.dev/package/@agntn/archives)\n[![npm downloads](https://npmx.dev/api/registry/badge/downloads/@agntn/archives)](https://npmx.dev/package/@agntn/archives)\n[![license](https://npmx.dev/api/registry/badge/license/@agntn/archives)](https://npmx.dev/package/@agntn/archives)\n[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/agntn/archives)\n\n🗄️ Ten archive providers, one interface. Ask what a page said in 2002, you get what it said.\n\n## Why?\n\nEvery web archive has its own idea of an API. Wayback speaks CDX. Archive.today speaks Memento link headers. Common Crawl gives you a byte range inside a WARC file and wishes you luck. Now hand all three to an agent and see how long it keeps them apart. Not long.\n\nSo this is one `createArchive()` in front of all of them, and the same page object comes back from each.\n\nDocs and a live timeline explorer: [archives.agntn.dev](https://archives.agntn.dev).\n\n## ✨ Features\n\n- 🗂️ **Ten providers, one shape.** Wayback Machine, Arquivo.pt, Webarchiv Österreich, Archive-It, Conifer, Archive.today, Memento, Common Crawl, Perma.cc and WebCite. Dates come back as ISO 8601 from every one of them.\n- 📄 **Reads captures, not just lists them.** `content()` goes through the raw `id_` replay or a WARC range where the archive has one. No toolbar, no rewritten links.\n- 🔀 **Diffs two versions of a page.** Both from the same archive, with the real capture dates on top.\n- 🕰️ **Time windows.** `from` and `to` take `2019`, `201903` or an ISO date. Both ends inclusive.\n- 🙅 **\"Unsupported\" is an answer.** A provider without the endpoint says so and tells you why. No fake empty list.\n- 🧯 **Survives a bad archive day.** One provider times out, the rest still answer. The failure lands in `_meta.errors`.\n- 🌳 **Tree-shakable.** Every provider sits behind a dynamic import. Ask for Wayback, get Wayback.\n- 🤖 **MCP, Pi and OMP.** Four tools, and every surface answers the same.\n\n## 📦 Install\n\n```bash\npnpm add @agntn/archives\n```\n\nNode.js 26 or newer.\n\n## 🚀 First call\n\n```ts\nimport { createArchive, providers } from \"@agntn/archives\";\n\nconst archive = createArchive(providers.wayback());\n\nconst { pages } = await archive.snapshots(\"example.com\", { limit: 3 });\nfor (const page of pages) console.log(page.timestamp, page.snapshot);\n\nconst page = await archive.getContent(\"example.com\", { timestamp: \"2002\" });\nconsole.log(page.content);\n```\n\n```\n2002-01-20T14:25:10Z https://web.archive.org/web/20020120142510/http://example.com:80/\n2003-02-07T05:52:28Z https://web.archive.org/web/20030207055228/http://www.example.com:80/\n2004-01-05T04:55:15Z https://web.archive.org/web/20040105045515/http://www.example.com/\n<HTML>\n<HEAD>\n  <TITLE>Example Web Page</TITLE>\n</HEAD>\n<body>\n<p>You have reached this web page by typing &quot;example.com&quot;,\n&quot;example.net&quot;,\n  or &quot;example.org&quot; into your web browser.</p>\n<p>These domain names are reserved for use in documentation and are not\navailable\n  for registration.</p>\n</BODY>\n</HTML>\n```\n\nNo key, no config. That's the HTML example.com served in 2002. Still not for sale, by the way.\n\nWayback keeps one capture per year by default, so three rows are three years. Its index is in no hurry. Lookups close to a minute happen, so Wayback waits 60 seconds. So do Common Crawl, whose index likes to think it over, and Archive.today. The rest get ten. More on listings and reading: [Snapshots](https://archives.agntn.dev/guide/snapshots), [Reading content](https://archives.agntn.dev/guide/content).\n\n## 🔍 What changed?\n\n```ts\nimport { createArchive, diffArchivedContent, providers } from \"@agntn/archives\";\n\nconst archive = createArchive(providers.wayback());\nconst before = await archive.getContent(\"https://example.com/\", { timestamp: \"2020\" });\nconst after = await archive.getContent(\"https://example.com/\", { timestamp: \"2026\" });\n\nconsole.log(diffArchivedContent(before, after).patch);\n```\n\n```\n--- before\t2020-12-31T23:59:42Z\n+++ after\t2026-09-29T05:56:21Z\n@@ -1,8 +1,2 @@\n-Example Domain\n-\n-Example Domain\n-\n-This domain is for use in illustrative examples in documents. You may use this\n-domain in literature without prior coordination or asking for permission.\n-\n-More information...\n\\ No newline at end of file\n+Example Domain This domain is for use in documentation examples without needing permission. This is not a service, avoid relying on it for testing and monitoring purposes.\n+Learn more\n\\ No newline at end of file\n```\n\nEven example.com rewrites its homepage. You asked for years, the header shows the captures you actually got.\n\nPass the full URL here. A bare `example.com` can be `http://example.com:80/` one year and `http://www.example.com/` the next. The diff refuses to compare two different URLs. Want the markup, scripts and comments too? `{ format: \"raw\" }`. That's where the fun stuff hides anyway ;) More: [Comparing captures](https://archives.agntn.dev/guide/diff).\n\n## 🧠 Library\n\n```ts\nconst archive = createArchive(providers.all());\nconst response = await archive.snapshots(\"example.com\");\n\nresponse.pages; // everything the archives found\nresponse._meta?.errors; // [\"wayback: ...timeout\", ...]\nresponse._meta?.unsupportedProviders; // [{ provider: \"webcite\", reason: \"...\" }]\n```\n\nOn a bad day three archives timed out here and it still came back with 1145 pages. `snapshots()` and `content()` don't throw. Check `success`. `getPages()` and `getContent()` throw instead.\n\nWant a few providers, not all? `createArchive(Promise.all([providers.wayback(), providers.arquivo()]))`. Cache, config files and every option: [Configuration](https://archives.agntn.dev/guide/configuration).\n\n## 🗺️ Providers\n\n| Provider             | Factory                    | Reads bodies  | Needs                   | In `all()` |\n| -------------------- | -------------------------- | ------------- | ----------------------- | ---------- |\n| Wayback Machine      | `providers.wayback()`      | yes           | nothing                 | yes        |\n| Arquivo.pt           | `providers.arquivo()`      | yes           | nothing                 | yes        |\n| Webarchiv Österreich | `providers.webarchiv()`    | yes           | an exact URL            | yes        |\n| Archive.today        | `providers.archiveToday()` | rendered page | nothing                 | yes        |\n| Common Crawl         | `providers.commoncrawl()`  | yes           | nothing                 | yes        |\n| WebCite              | `providers.webcite()`      | no            | no listing API at all   | yes        |\n| Archive-It           | `providers.archiveIt()`    | yes           | a `collection` ID       | no         |\n| Conifer              | `providers.conifer()`      | no            | `user` and `collection` | no         |\n| Memento              | `providers.memento()`      | yes           | nothing                 | no         |\n| Perma.cc             | `providers.permacc()`      | no            | an `apiKey`             | no         |\n\nMemento goes through ODU's MemGator, which already asks several archives. Put it in `all()` and you'd get everything twice. Archive.today has no raw endpoint, so you get the page as it renders it. Running your own MemGator? `providers.memento({ baseUrl })` takes it, over HTTPS unless it's local.\n\nSome of these are history themselves. The original Memento Time Travel is gone. WebCite stopped taking new pages around 2019. Conifer only serves existing collections, read-only. Quirks per archive: [Providers](https://archives.agntn.dev/providers).\n\n## 🤖 Agents\n\n```bash\narchives mcp\nomp install github:agntn/archives\npi install git:github.com/agntn/archives\n```\n\n```json\n{\n  \"mcpServers\": {\n    \"archives\": { \"command\": \"npx\", \"args\": [\"-y\", \"@agntn/archives\", \"mcp\"] }\n  }\n}\n```\n\nFour read-only tools: snapshots, content, diff and providers. An archived body comes back fenced as untrusted data. It's a recording of a web page, not a message for the model. The Perma.cc key lives in `PERMA_CC_API_KEY`, never in a tool argument.\n\nOne thing to know. `archives mcp` reads its config from your home directory, not from the project your client has open. Browsing someone's repo shouldn't run their `archives.config.ts`. [Agents guide](https://archives.agntn.dev/guide/agents).\n\nThe docs site also has the [Evidence Room](https://archives.agntn.dev/evidence), the same idea over WebMCP in the browser. [WebMCP guide](https://archives.agntn.dev/guide/webmcp).\n\n## 🚫 What this does not do\n\nIt doesn't archive anything. You read what others saved, you can't ask for a new capture. And the live web is [@agntn/web](https://github.com/agntn/web)'s job.\n\n## 🧩 Adding a provider\n\nAn eleventh? Extend `BaseProvider`, answer `snapshots()`, pass it to `createArchive()`. That's it. The full contract: [Custom providers](https://archives.agntn.dev/guide/custom).\n\n## 🛠️ Development\n\n```bash\npnpm install\npnpm dev          # vp test in watch mode\npnpm lint         # builds first, then vp lint and vp fmt --check\npnpm test:types   # tsc over the library and both extensions\npnpm test         # lint, types, tests with coverage\npnpm build        # obuild\npnpm docs         # docs site and timeline explorer on :3000\n```\n\n## 💛 Thanks\n\nAnthropic and OpenAI back this package through their open source programs, [Claude for Open Source](https://claude.com/contact-sales/claude-for-oss) and [Codex for Open Source](https://developers.openai.com/community/codex-for-oss). Much appreciated <3\n\n## 📄 License\n\n[MIT](./LICENSE)\n","readmeFilename":"README.md"}