{"_id":"@dudoxx/ddx-perpmem-contract","_rev":"2-71820b850d514ca4a89b48d73dd40054","name":"@dudoxx/ddx-perpmem-contract","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@dudoxx/ddx-perpmem-contract","version":"1.0.0","keywords":["memory","agent-memory","mcp","contract","types","zod","dudoxx"],"author":{"name":"Dudoxx UG / Acceleate Consulting - Walid Boudabbous","email":"walid@acceleate.com"},"license":"MIT","_id":"@dudoxx/ddx-perpmem-contract@1.0.0","maintainers":[{"name":"optron","email":"walid@acceleate.com"}],"homepage":"https://github.com/Dudoxx/dudoxx-perpetual-memory/tree/main/ddx-memory-contract#readme","bugs":{"url":"https://github.com/Dudoxx/dudoxx-perpetual-memory/issues"},"dist":{"shasum":"16e90ab977f11be10ebca1e6fa409dd730f5d0e5","tarball":"https://registry.npmjs.org/@dudoxx/ddx-perpmem-contract/-/ddx-perpmem-contract-1.0.0.tgz","fileCount":88,"integrity":"sha512-/MmtxZHL4ioZBuq2ceIelmfmkfmej7ITStoVK0kKYiYD4PxFPmPgI6naoKbqFK2ibuBV8XzxA34liDTOr/PqMw==","signatures":[{"sig":"MEYCIQDB/7Yiy5iOJcMpIGpC9IyKBaKeps0DoIDwt6LyKBZmDQIhAMnrjdPD+eiDZEvQt6nAAt5/wO7uQbgB/lsbJc1X+byC","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":354136},"main":"./dist/cjs/index.js","types":"./dist/types/index.d.ts","module":"./dist/esm/index.js","engines":{"node":">=20.19"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"gitHead":"f72563db126ff5ca29e8f799b9cb9bc46329bbc1","scripts":{"build":"npm run build:esm && npm run build:cjs && npm run build:types && npm run type-markers","clean":"rm -rf dist","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","typecheck":"tsc --noEmit -p tsconfig.json","build:types":"tsc -p tsconfig.types.json","type-markers":"node scripts/type-markers.mjs"},"_npmUser":{"name":"optron","email":"walid@acceleate.com"},"repository":{"url":"git+https://github.com/Dudoxx/dudoxx-perpetual-memory.git","type":"git","directory":"ddx-memory-contract"},"_npmVersion":"11.12.1","description":"DDX perpetual-memory contract — single source of truth for every type that crosses a module boundary (DDXMemoryCard, DDXMemoryDeck, IsolationFilter, IMemoryCardStore, reconcile/ingest/MCP shapes)","directories":{},"_nodeVersion":"26.0.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.3.6","typescript":"^5.5.0"},"peerDependencies":{"zod":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ddx-perpmem-contract_1.0.0_1786011497683_0.5513802432197008","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Registry quarantine probe — use @dudoxx/ddx-memory-contract."}},"time":{"created":"2026-08-06T10:18:17.546Z","modified":"2026-08-06T10:26:51.521Z","1.0.0":"2026-08-06T10:18:17.861Z"},"bugs":{"url":"https://github.com/Dudoxx/dudoxx-perpetual-memory/issues"},"author":{"name":"Dudoxx UG / Acceleate Consulting - Walid Boudabbous","email":"walid@acceleate.com"},"license":"MIT","homepage":"https://github.com/Dudoxx/dudoxx-perpetual-memory/tree/main/ddx-memory-contract#readme","keywords":["memory","agent-memory","mcp","contract","types","zod","dudoxx"],"repository":{"url":"git+https://github.com/Dudoxx/dudoxx-perpetual-memory.git","type":"git","directory":"ddx-memory-contract"},"description":"DDX perpetual-memory contract — single source of truth for every type that crosses a module boundary (DDXMemoryCard, DDXMemoryDeck, IsolationFilter, IMemoryCardStore, reconcile/ingest/MCP shapes)","maintainers":[{"name":"optron","email":"walid@acceleate.com"}],"readme":"# @dudoxx/ddx-memory-contract\n\nSingle source of truth for every type that crosses a module boundary in the\nDDX PerpMemory stack — cards, decks, scopes, tiers, kinds, links, the\nisolation filter, the store interface, and the reconcile / ingest / MCP\nrequest–response shapes.\n\nZero framework imports: **zod is the only runtime dependency**. Ships a triple\nbuild (ESM / CommonJS / types) for Node ≥ 20.19.\n\n## Install\n\n```bash\nnpm install @dudoxx/ddx-memory-contract\n```\n\n## Usage\n\n```ts\nimport { DDXMemoryCardSchema, MemoryScopeSchema, RECONCILE_PASSES } from \"@dudoxx/ddx-memory-contract\";\n```\n\nAll schemas are Zod v4 and double as runtime validators and type sources:\n\n```ts\nimport { z } from \"zod\";\nconst card = DDXMemoryCardSchema.parse(raw);\ntype Card = z.infer<typeof DDXMemoryCardSchema>;\n```\n\n## Contents\n\n| Module | Exports |\n|---|---|\n| `card` | `DDXMemoryCardSchema`, `CardEntitySchema`, `DDXMemoryCardInputSchema` |\n| `deck` | `DDXMemoryDeckSchema`, `DeckBindingSchema`, `DeckFrontmatterSchema` |\n| `scope` | `MemoryScopeSchema`, `SCOPE_PRECEDENCE` |\n| `tier` | `MemoryTierSchema`, `TIER_ORDER` |\n| `kind` | `CardKindSchema`, `KNOWN_CARD_KINDS`, `CardStatusSchema` |\n| `link` | `LinkRelationSchema`, `CardLinkSchema` |\n| `isolation` | `IsolationFilterSchema` |\n| `store` | `RecallOptionsSchema`, `RecallResultSchema`, `WriteResultSchema`, `IMemoryCardStore` |\n| `reconcile` | `ReconcilePassSchema`, `RECONCILE_PASSES`, `ReconcileBudgetSchema`, `ReconcileReportSchema` |\n| `ingest` | `IngestSourceKindSchema`, `INGEST_SOURCE_KINDS`, `IngestRequestSchema` |\n| `mcp` | `MemoryRecallArgsSchema`, `MemoryWriteArgsSchema`, `MemoryDeckArgsSchema`, `MemoryCurateArgsSchema` |\n\n## Versioning\n\nSemver. The contract is the stable WS1 layer: `1.x` is additive; a breaking\ntype change is a `2.0.0` — consumers on `^1.0.0` are untouched until they\nchoose to move.\n\n## License\n\nMIT — © 2026 Dudoxx UG (haftungsbeschränkt) / Acceleate Consulting.\n","readmeFilename":"README.md"}