{"_id":"pastdotdev","_rev":"2-5160fe3a80fec59785ac26a3436d34ba","name":"pastdotdev","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"pastdotdev","version":"0.0.1","keywords":["past.dev","memory","api","sdk"],"author":{"name":"Past Corp","email":"hello@past.dev"},"license":"MIT","_id":"pastdotdev@0.0.1","maintainers":[{"name":"mehdidjabri","email":"mehdi@past.dev"}],"homepage":"https://past.dev","bugs":{"url":"https://github.com/pastdotdev/pastdotdev/issues"},"dist":{"shasum":"0e226029e5b5d7bb8f1f2394147b394b3579a1cc","tarball":"https://registry.npmjs.org/pastdotdev/-/pastdotdev-0.0.1.tgz","fileCount":3,"integrity":"sha512-HGuTTQynsauysh/YuXR3wmAEzyKC+CHJDaCOPVVSH2oa+vTPy3QUCyByb44gQNJWWZ6tdhv+rKjO2moPMUTm6A==","signatures":[{"sig":"MEUCIQCSSnezbRxJpC36ws0kqoFsitaARbBDruNNJg+PECPGpgIgQ0+gCEIcpM5uc+KoUl5CtjtI4+sbKwR2kjm7PFd1nSM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4364},"main":"index.js","type":"module","_npmUser":{"name":"mehdidjabri","email":"mehdi@past.dev"},"repository":{"url":"git+https://github.com/pastdotdev/pastdotdev.git","type":"git"},"_npmVersion":"11.12.1","description":"Official SDK for the past.dev Memory API","directories":{},"_nodeVersion":"25.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/pastdotdev_0.0.1_1787726731072_0.6286764530096938","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-08-26T06:45:30.918Z","modified":"2026-10-20T09:49:47.226Z","0.0.1":"2026-08-26T06:45:31.233Z"},"bugs":{"url":"https://github.com/pastdotdev/pastdotdev/issues"},"author":{"name":"Past Corp","email":"hello@past.dev"},"license":"MIT","homepage":"https://past.dev","keywords":["past.dev","memory","api","sdk"],"repository":{"url":"git+https://github.com/pastdotdev/pastdotdev.git","type":"git"},"description":"Official SDK for the past.dev Memory API","maintainers":[{"email":"louis@revo.ai","name":"louis.tissot"},{"email":"mehdi@past.dev","name":"mehdidjabri"}],"readme":"# pastdotdev\n\nOfficial SDK for the [past.dev](https://past.dev) Memory API.\n\nThis package is the reserved official JavaScript client published by Past Corp.\nInstall it as `pastdotdev` — the brand is **past.dev** (with the dot), never a\nbare \"past\".\n\n## Install\n\n```bash\nnpm i pastdotdev\n```\n\n## Usage\n\n```js\nimport { PastClient } from \"pastdotdev\";\n\nconst client = new PastClient({\n  apiKey: process.env.PAST_API_KEY,\n  baseUrl: \"https://api.past.dev\",\n});\n\nawait client.ingest({\n  content: \"Nadia confirmed the pilot ships March 14. Budget is 32k.\",\n  timestamp: \"2026-02-03T09:00:00Z\",\n  group: \"acme-pilot\",\n});\n\nconst evidence = await client.recall({ query: \"what is the Acme pilot budget?\" });\nconst result = await client.answer({ query: \"what is the Acme pilot budget?\" });\n```\n\n`ingest` POSTs `/api/v1/ingest`. Pass an ingestion id (or `{ id }` without\n`content`) to GET `/api/v1/ingest/{id}` and poll until `settled` is true.\n`recall` and `answer` POST `/api/v1/recall` and `/api/v1/answer`.\n\nHomepage: https://past.dev\n\nThis 0.0.1 release is the reserved official package. The Memory API is in\nearly access; request a key at https://past.dev.\n","readmeFilename":"README.md"}