{"_id":"@agentdock-ai/checkpoint","name":"@agentdock-ai/checkpoint","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@agentdock-ai/checkpoint","version":"0.1.0","description":"Shared checkpoint adapter contract for AgentDock","type":"module","repository":{"type":"git","url":"git+https://github.com/agentdock-ai/agentdock.git","directory":"packages/checkpoint"},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"sideEffects":false,"scripts":{"build":"tsc -p tsconfig.json","test":"vitest run test","typecheck":"tsc -p tsconfig.json --noEmit","prepack":"yarn build"},"dependencies":{"@langchain/langgraph-checkpoint":"^1.1.5"},"devDependencies":{"@types/node":"^26.1.2","typescript":"^7.0.2","vitest":"^4.1.11"},"engines":{"node":">=20"},"license":"MIT","gitHead":"1978464d4a727768ca1a51f4fb69e4d33dcb0ad4","_id":"@agentdock-ai/checkpoint@0.1.0","bugs":{"url":"https://github.com/agentdock-ai/agentdock/issues"},"homepage":"https://github.com/agentdock-ai/agentdock#readme","_nodeVersion":"26.0.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-rt3/QyjQyVqOyhWTXXSuUqlTTStIRiOdJq/TZUL33/dZnetv6kMBb5oS2VrWk3TR1hlvL88ZX2sgGKwV7Qwoew==","shasum":"e636bbb2c54f6cf8600648e98a36c708fc7685c6","tarball":"https://registry.npmjs.org/@agentdock-ai/checkpoint/-/checkpoint-0.1.0.tgz","fileCount":18,"unpackedSize":11243,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDtxkerOD9JDmfXx+Cq9S/aD3lBY9uXHdhtLzSkjsvwlgIgBleUd1FwtaxPyryDN5huB4yQePEB7dKSH6KbHDZw+Xg="}]},"_npmUser":{"name":"mhd_zain","email":"zainmemon010@gmail.com"},"directories":{},"maintainers":[{"name":"mhd_zain","email":"zainmemon010@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/checkpoint_0.1.0_1789210313899_0.22612231367073155"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-12T10:51:53.642Z","0.1.0":"2026-09-12T10:51:54.044Z","modified":"2026-09-12T10:51:54.557Z"},"maintainers":[{"name":"mhd_zain","email":"zainmemon010@gmail.com"}],"description":"Shared checkpoint adapter contract for AgentDock","homepage":"https://github.com/agentdock-ai/agentdock#readme","repository":{"type":"git","url":"git+https://github.com/agentdock-ai/agentdock.git","directory":"packages/checkpoint"},"bugs":{"url":"https://github.com/agentdock-ai/agentdock/issues"},"license":"MIT","readme":"# @agentdock-ai/checkpoint\n\nShared checkpoint lifecycle contract and in-memory implementation for AgentDock.\n\n```ts\nimport { AgentDock } from \"@agentdock-ai/agentdock\";\nimport { MemoryCheckpoint } from \"@agentdock-ai/checkpoint\";\n\nconst agent = new AgentDock({\n  model,\n  checkpoint: new MemoryCheckpoint(),\n});\n```\n\nInstall a backend package such as `@agentdock-ai/checkpoint-postgres` when durable storage is required.\n\nAdapters own their resources only when passed through `checkpoint`. A raw\n`checkpointer` is caller-owned and is never closed by AgentDock. Every adapter must\nsupport idempotent initialization and close, restart persistence, pending approval\nresume, tool-message serialization, deletion through `deleteThread()`, and cleanup\nafter failures. SQLite is covered by the normal local integration suite. PostgreSQL,\nMongoDB, and Redis Stack run in the service-backed CI integration job; local unit\ntests do not require those services.\n\nThe host application must authorize a session before every run, resume, read,\nhistory, or delete operation. Use `sessionNamespace` to partition a shared saver by\napplication and tenant; context metadata does not enforce ownership. Passing an\nadapter as `checkpoint` gives AgentDock lifecycle ownership, while a raw\n`checkpointer` always remains caller-owned.\n","readmeFilename":"README.md","_rev":"1-9f89fbea180ca952c15f5ea92b386475"}