{"_id":"@ghostpaw/affinity","_rev":"19-1c7314c20f29e92dd11382507bcceca9","name":"@ghostpaw/affinity","dist-tags":{"latest":"0.7.3"},"versions":{"0.1.3":{"name":"@ghostpaw/affinity","version":"0.1.3","keywords":["affinity","social-crm","relationship-intelligence","contacts","crm","social-graph","network","sqlite","llm","ai","agent","tools","typescript","zero-dependencies"],"author":{"url":"https://anonyfox.com","name":"Anonyfox","email":"max@anonyfox.com"},"license":"MIT","_id":"@ghostpaw/affinity@0.1.3","maintainers":[{"name":"anonyfox","email":"Hisako1337@gmail.com"}],"homepage":"https://github.com/GhostPawJS/affinity","bugs":{"url":"https://github.com/GhostPawJS/affinity/issues"},"dist":{"shasum":"8a7cf877a84913c791a00ba2e64f827e920e2183","tarball":"https://registry.npmjs.org/@ghostpaw/affinity/-/affinity-0.1.3.tgz","fileCount":7,"integrity":"sha512-TJpEnEWThIiLSBauRmrTpMKTDqA8TrBkOOETpSrizXxyOBAVxCFTBxoJxF+RZuuIUN1vYd1qeg13VjPOm7bEqw==","signatures":[{"sig":"MEUCIAzi3+XjTzmu3uhQRabFedKXRY7FFWSNqzq8cMJr9od+AiEAyeI/bCyRlTuF3HLVuwb/h+B6Qx9MkCxNTtbSBNj8bNE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ghostpaw%2faffinity@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":746441},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","volta":{"node":"24.14.0"},"module":"./dist/index.js","engines":{"node":">=24"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"funding":{"url":"https://github.com/sponsors/Anonyfox","type":"github"},"gitHead":"8ecfca1fc710a19c6fa1c8c19f39155a0d504840","scripts":{"dev":"tsup --watch","lint":"biome check","test":"node --experimental-strip-types --test --test-reporter=dot 'src/**/*.test.ts'","build":"tsup","check":"biome check && tsc --noEmit","clean":"rm -rf dist","format":"biome format --write","version":"biome format --write package.json package-lock.json && git add package.json package-lock.json","lint:fix":"biome check --fix","typecheck":"tsc --noEmit","release:major":"npm version major && git push && git push --tags","release:minor":"npm version minor && git push && git push --tags","release:patch":"npm version patch && git push && git push --tags","prepublishOnly":"npm run check && npm run build"},"_npmUser":{"name":"anonyfox","email":"Hisako1337@gmail.com"},"repository":{"url":"git+https://github.com/GhostPawJS/affinity.git","type":"git"},"_npmVersion":"11.9.0","description":"Relationship intelligence and social CRM model for Node.js — SQLite, zero dependencies, with a built-in LLM tool facade","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","typescript":"^5.8.2","@types/node":"^24.12.0","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/affinity_0.1.3_1774292212940_0.9320958022805015","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@ghostpaw/affinity","version":"0.1.4","keywords":["affinity","social-crm","relationship-intelligence","contacts","crm","social-graph","network","sqlite","llm","ai","agent","tools","typescript","zero-dependencies"],"author":{"url":"https://anonyfox.com","name":"Anonyfox","email":"max@anonyfox.com"},"license":"MIT","_id":"@ghostpaw/affinity@0.1.4","maintainers":[{"name":"anonyfox","email":"Hisako1337@gmail.com"}],"homepage":"https://github.com/GhostPawJS/affinity","bugs":{"url":"https://github.com/GhostPawJS/affinity/issues"},"dist":{"shasum":"c6b3fcacbe2ddbeb7cf4e0964fe2f054f99e3b94","tarball":"https://registry.npmjs.org/@ghostpaw/affinity/-/affinity-0.1.4.tgz","fileCount":7,"integrity":"sha512-TGu/bK58KfRWEZRmevf5giTGEq5cgqICm1BTOnFOqeR8vLg9+WDKlF58JfFldpR1sxhmfnFL2gjGkQGFORfZ6w==","signatures":[{"sig":"MEUCIGFOeaOf2Wbmsu2drsSbIDNk9dlbkwG6m8rz/NG3sWRQAiEAnLYKjPvmdH5xYTo3/z6grBkYwkICQxY9uz8Uvkql1Dc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ghostpaw%2faffinity@0.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":727974},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","volta":{"node":"24.14.0"},"module":"./dist/index.js","engines":{"node":">=24"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"funding":{"url":"https://github.com/sponsors/Anonyfox","type":"github"},"gitHead":"5836ae262f43f53cb30fc949a6808943b478d16a","scripts":{"dev":"tsup --watch","lint":"biome check","test":"node --experimental-strip-types --test --test-reporter=dot 'src/**/*.test.ts'","build":"tsup","check":"biome check && tsc --noEmit","clean":"rm -rf dist demo","format":"biome format --write","version":"biome format --write package.json package-lock.json && git add package.json package-lock.json","lint:fix":"biome check --fix","typecheck":"tsc --noEmit","demo:build":"node scripts/build_demo.mjs","demo:serve":"npm run demo:build && node scripts/serve_demo.mjs","demo:watch":"node scripts/build_demo.mjs --watch","release:major":"npm version major && git push && git push --tags","release:minor":"npm version minor && git push && git push --tags","release:patch":"npm version patch && git push && git push --tags","prepublishOnly":"npm run check && npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3769a07b-0f9d-4a92-a3fe-6d1596c68221"}},"repository":{"url":"git+https://github.com/GhostPawJS/affinity.git","type":"git"},"_npmVersion":"11.9.0","description":"Relationship intelligence and social CRM model for Node.js — SQLite, zero dependencies, with a built-in LLM tool facade","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","preact":"^10.29.0","sql.js":"^1.14.1","esbuild":"^0.27.4","typescript":"^5.8.2","@types/node":"^24.12.0","@types/sql.js":"^1.4.10","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/affinity_0.1.4_1774742507796_0.8923315038736503","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@ghostpaw/affinity","version":"0.1.5","keywords":["affinity","social-crm","relationship-intelligence","contacts","crm","social-graph","network","sqlite","llm","ai","agent","tools","typescript","zero-dependencies"],"author":{"url":"https://anonyfox.com","name":"Anonyfox","email":"max@anonyfox.com"},"license":"MIT","_id":"@ghostpaw/affinity@0.1.5","maintainers":[{"name":"anonyfox","email":"Hisako1337@gmail.com"}],"homepage":"https://github.com/GhostPawJS/affinity","bugs":{"url":"https://github.com/GhostPawJS/affinity/issues"},"dist":{"shasum":"13e0434fa3cd4d13c6f489baf320bb494e78a09e","tarball":"https://registry.npmjs.org/@ghostpaw/affinity/-/affinity-0.1.5.tgz","fileCount":7,"integrity":"sha512-hkzoUCfN6kz99zXmVMDI4YAniO5KR6kaV1/nHvmVRKwmiwAT0jM4AbBXdiVBmmNjLwt5ddmyxLmtBcOV0kWNEg==","signatures":[{"sig":"MEUCIBgSBc4qL6cE35vhRWamqy6sx8l76wNQTfW/v814H+ycAiEAyHLL+rbP83nG8QtUs2Z+g7TfX2XX8repvRlh+wfPtOg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ghostpaw%2faffinity@0.1.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":730218},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","volta":{"node":"24.14.0"},"module":"./dist/index.js","engines":{"node":">=24"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"funding":{"url":"https://github.com/sponsors/Anonyfox","type":"github"},"gitHead":"3c7a571775c81ddec1685f49460a85bc7195d61a","scripts":{"dev":"tsup --watch","lint":"biome check","test":"node --experimental-strip-types --test --test-reporter=dot 'src/**/*.test.ts'","build":"tsup","check":"biome check && tsc --noEmit","clean":"rm -rf dist demo","format":"biome format --write","version":"biome format --write package.json package-lock.json && git add package.json package-lock.json","lint:fix":"biome check --fix","typecheck":"tsc --noEmit","demo:build":"node scripts/build_demo.mjs","demo:serve":"npm run demo:build && node scripts/serve_demo.mjs","demo:watch":"node scripts/build_demo.mjs --watch","release:major":"npm version major && git push && git push --tags","release:minor":"npm version minor && git push && git push --tags","release:patch":"npm version patch && git push && git push --tags","prepublishOnly":"npm run check && npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3769a07b-0f9d-4a92-a3fe-6d1596c68221"}},"repository":{"url":"git+https://github.com/GhostPawJS/affinity.git","type":"git"},"_npmVersion":"11.9.0","description":"Relationship intelligence and social CRM model for Node.js — SQLite, zero dependencies, with a built-in LLM tool facade","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","preact":"^10.29.0","sql.js":"^1.14.1","esbuild":"^0.27.4","typescript":"^5.8.2","@types/node":"^24.12.0","@types/sql.js":"^1.4.10","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/affinity_0.1.5_1774743068861_0.6867303548848773","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@ghostpaw/affinity","version":"0.1.6","keywords":["affinity","social-crm","relationship-intelligence","contacts","crm","social-graph","network","sqlite","llm","ai","agent","tools","typescript","zero-dependencies"],"author":{"url":"https://anonyfox.com","name":"Anonyfox","email":"max@anonyfox.com"},"license":"MIT","_id":"@ghostpaw/affinity@0.1.6","maintainers":[{"name":"anonyfox","email":"Hisako1337@gmail.com"}],"homepage":"https://github.com/GhostPawJS/affinity","bugs":{"url":"https://github.com/GhostPawJS/affinity/issues"},"dist":{"shasum":"dc5638e5382fc0ed28f59fd4e620d97a7d55c5dd","tarball":"https://registry.npmjs.org/@ghostpaw/affinity/-/affinity-0.1.6.tgz","fileCount":7,"integrity":"sha512-HujcsWWiFTS29aS1jFD/1DiFYLSBxZpi9S6umocbXprhdffA3r8C7MhzNTKqkL4GcXbgBDtQtloKjdeMx5ngFQ==","signatures":[{"sig":"MEQCIAQlEAOKww0w7Nykf5ZytjMpaRswXRlRo54MGWtP6+ApAiAJpHwgQOxy0mkx0elxpvAZ4j/mVTwObtnk0R3bHLZtGw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ghostpaw%2faffinity@0.1.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":745886},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","volta":{"node":"24.14.0"},"module":"./dist/index.js","engines":{"node":">=24"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"funding":{"url":"https://github.com/sponsors/Anonyfox","type":"github"},"gitHead":"fc09fff368d594d6f6492f367eba58f997bdad75","scripts":{"dev":"tsup --watch","lint":"biome check","test":"node --experimental-strip-types --test --test-reporter=dot 'src/**/*.test.ts'","build":"tsup","check":"biome check && tsc --noEmit","clean":"rm -rf dist demo","format":"biome format --write","version":"biome format --write package.json package-lock.json && git add package.json package-lock.json","lint:fix":"biome check --fix","typecheck":"tsc --noEmit","demo:build":"node scripts/build_demo.mjs","demo:serve":"npm run demo:build && node scripts/serve_demo.mjs","demo:watch":"node scripts/build_demo.mjs --watch","release:major":"npm version major && git push && git push --tags","release:minor":"npm version minor && git push && git push --tags","release:patch":"npm version patch && git push && git push --tags","prepublishOnly":"npm run check && npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3769a07b-0f9d-4a92-a3fe-6d1596c68221"}},"repository":{"url":"git+https://github.com/GhostPawJS/affinity.git","type":"git"},"_npmVersion":"11.9.0","description":"Relationship intelligence and social CRM model for Node.js — SQLite, zero dependencies, with a built-in LLM tool facade","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","preact":"^10.29.0","sql.js":"^1.14.1","esbuild":"^0.27.4","typescript":"^5.8.2","@types/node":"^24.12.0","@types/sql.js":"^1.4.10","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/affinity_0.1.6_1774744291685_0.2398771748681099","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@ghostpaw/affinity","version":"0.2.0","keywords":["affinity","social-crm","relationship-intelligence","contacts","crm","social-graph","network","sqlite","llm","ai","agent","tools","typescript","zero-dependencies"],"author":{"url":"https://anonyfox.com","name":"Anonyfox","email":"max@anonyfox.com"},"license":"MIT","_id":"@ghostpaw/affinity@0.2.0","maintainers":[{"name":"anonyfox","email":"Hisako1337@gmail.com"}],"homepage":"https://github.com/GhostPawJS/affinity","bugs":{"url":"https://github.com/GhostPawJS/affinity/issues"},"dist":{"shasum":"46b144e7b84d1c767d522a29ae76dc7fe33272b6","tarball":"https://registry.npmjs.org/@ghostpaw/affinity/-/affinity-0.2.0.tgz","fileCount":7,"integrity":"sha512-sAozkUET2Uapy9UnevW5+EXWozhGW2qeHh+vVbQjGyWfdPGjRjcbDAAAbQoE206i7cGqzVk1V4Na5ev10ZpEAw==","signatures":[{"sig":"MEYCIQC4ptS/1mPC3idmzC0TeYaryfZdS4IHTVJqgplCCpYj5AIhANQ9aFOCYPr92Qv03AvTRmgq6r4nToYwR/srOJ/mvu3f","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ghostpaw%2faffinity@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":773106},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","volta":{"node":"24.14.0"},"module":"./dist/index.js","engines":{"node":">=24"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"funding":{"url":"https://github.com/sponsors/Anonyfox","type":"github"},"gitHead":"a8072462a91167edf6ca48205145b6a2fcc6298e","scripts":{"dev":"tsup --watch","lint":"biome check","test":"node --experimental-strip-types --test --test-reporter=dot 'src/**/*.test.ts'","build":"tsup","check":"biome check && tsc --noEmit","clean":"rm -rf dist demo","format":"biome format --write","version":"biome format --write package.json package-lock.json && git add package.json package-lock.json","lint:fix":"biome check --fix","typecheck":"tsc --noEmit","demo:build":"node scripts/build_demo.mjs","demo:serve":"npm run demo:build && node scripts/serve_demo.mjs","demo:watch":"node scripts/build_demo.mjs --watch","release:major":"npm version major && git push && git push --tags","release:minor":"npm version minor && git push && git push --tags","release:patch":"npm version patch && git push && git push --tags","prepublishOnly":"npm run check && npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3769a07b-0f9d-4a92-a3fe-6d1596c68221"}},"repository":{"url":"git+https://github.com/GhostPawJS/affinity.git","type":"git"},"_npmVersion":"11.9.0","description":"Relationship intelligence and social CRM model for Node.js — SQLite, zero dependencies, with a built-in LLM tool facade","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","preact":"^10.29.0","sql.js":"^1.14.1","esbuild":"^0.27.4","typescript":"^5.8.2","@types/node":"^24.12.0","@types/sql.js":"^1.4.10","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/affinity_0.2.0_1774870504522_0.7712472488935862","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@ghostpaw/affinity","version":"0.2.1","keywords":["affinity","social-crm","relationship-intelligence","contacts","crm","social-graph","network","sqlite","llm","ai","agent","tools","typescript","zero-dependencies"],"author":{"url":"https://anonyfox.com","name":"Anonyfox","email":"max@anonyfox.com"},"license":"MIT","_id":"@ghostpaw/affinity@0.2.1","maintainers":[{"name":"anonyfox","email":"Hisako1337@gmail.com"}],"homepage":"https://github.com/GhostPawJS/affinity","bugs":{"url":"https://github.com/GhostPawJS/affinity/issues"},"dist":{"shasum":"1940e917329ab373c26be1e27d8014bf0479b249","tarball":"https://registry.npmjs.org/@ghostpaw/affinity/-/affinity-0.2.1.tgz","fileCount":7,"integrity":"sha512-oJflN/ib4AxUZn6UtZSspwxXXVySZ+0tCR9JKo+nI0wfjg0QYUCQU1Slrd812EY1NmLx5OiLlnBeoAXpRAyzew==","signatures":[{"sig":"MEUCIQDadfnHUAjFlanNlJP1McPsDUVH1BK2BiKef8M4nIP/igIgEkwk588zEzgQVPx7WRjvrAhkCJ1aCAenIUCQ7sHpTT8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ghostpaw%2faffinity@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":772984},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","volta":{"node":"24.14.0"},"module":"./dist/index.js","engines":{"node":">=24"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"funding":{"url":"https://github.com/sponsors/Anonyfox","type":"github"},"gitHead":"69386d84b370cb387228b05e0ae51743a5e468e5","scripts":{"dev":"tsup --watch","lint":"biome check","test":"node --experimental-strip-types --test --test-reporter=dot 'src/**/*.test.ts'","build":"tsup","check":"biome check && tsc --noEmit","clean":"rm -rf dist demo","format":"biome format --write","version":"biome format --write package.json package-lock.json && git add package.json package-lock.json","lint:fix":"biome check --fix","typecheck":"tsc --noEmit","demo:build":"node scripts/build_demo.mjs","demo:serve":"npm run demo:build && node scripts/serve_demo.mjs","demo:watch":"node scripts/build_demo.mjs --watch","release:major":"npm version major && git push && git push --tags","release:minor":"npm version minor && git push && git push --tags","release:patch":"npm version patch && git push && git push --tags","prepublishOnly":"npm run check && npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3769a07b-0f9d-4a92-a3fe-6d1596c68221"}},"repository":{"url":"git+https://github.com/GhostPawJS/affinity.git","type":"git"},"_npmVersion":"11.9.0","description":"Relationship intelligence and social CRM model for Node.js — SQLite, zero dependencies, with a built-in LLM tool facade","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","preact":"^10.29.0","sql.js":"^1.14.1","esbuild":"^0.27.4","typescript":"^5.8.2","@types/node":"^24.12.0","@types/sql.js":"^1.4.10","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/affinity_0.2.1_1774874217125_0.3142122309643529","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@ghostpaw/affinity","version":"0.2.2","keywords":["affinity","social-crm","relationship-intelligence","contacts","crm","social-graph","network","sqlite","llm","ai","agent","tools","typescript","zero-dependencies"],"author":{"url":"https://anonyfox.com","name":"Anonyfox","email":"max@anonyfox.com"},"license":"MIT","_id":"@ghostpaw/affinity@0.2.2","maintainers":[{"name":"anonyfox","email":"Hisako1337@gmail.com"}],"homepage":"https://github.com/GhostPawJS/affinity","bugs":{"url":"https://github.com/GhostPawJS/affinity/issues"},"dist":{"shasum":"6b864b55b966060283e2f6ffc75fcda6cf6c1ba2","tarball":"https://registry.npmjs.org/@ghostpaw/affinity/-/affinity-0.2.2.tgz","fileCount":7,"integrity":"sha512-dqSXDoBqcVWl0y6TJ/r4zdXJTEX1vmvpZFAVPwEAHeAVN1uxQzsf38VydD5Nt8jKS0XKcpepz7RljxBhFlCQDA==","signatures":[{"sig":"MEUCIAbdPJIKGzhmpU3Edh26EGWxCoTJ4j3u78rE8pOcTijeAiEAnk3V+u9wNDT/vT6lRcJ9K2Y1qRJJeh7zVJ+eSR6oYCQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ghostpaw%2faffinity@0.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":775228},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","volta":{"node":"24.14.0"},"module":"./dist/index.js","engines":{"node":">=24"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"funding":{"url":"https://github.com/sponsors/Anonyfox","type":"github"},"gitHead":"61365f8962a0d67f3f3796477083ec08fedf9d1d","scripts":{"dev":"tsup --watch","lint":"biome check","test":"node --experimental-strip-types --test --test-reporter=dot 'src/**/*.test.ts'","build":"tsup","check":"biome check && tsc --noEmit","clean":"rm -rf dist demo","format":"biome format --write","version":"biome format --write package.json package-lock.json && git add package.json package-lock.json","lint:fix":"biome check --fix","typecheck":"tsc --noEmit","demo:build":"node scripts/build_demo.mjs","demo:serve":"npm run demo:build && node scripts/serve_demo.mjs","demo:watch":"node scripts/build_demo.mjs --watch","release:major":"npm version major && git push && git push --tags","release:minor":"npm version minor && git push && git push --tags","release:patch":"npm version patch && git push && git push --tags","prepublishOnly":"npm run check && npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3769a07b-0f9d-4a92-a3fe-6d1596c68221"}},"repository":{"url":"git+https://github.com/GhostPawJS/affinity.git","type":"git"},"_npmVersion":"11.9.0","description":"Relationship intelligence and social CRM model for Node.js — SQLite, zero dependencies, with a built-in LLM tool facade","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","preact":"^10.29.0","sql.js":"^1.14.1","esbuild":"^0.27.4","typescript":"^5.8.2","@types/node":"^24.12.0","@types/sql.js":"^1.4.10","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/affinity_0.2.2_1774874589620_0.7497405848774445","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"@ghostpaw/affinity","version":"0.2.4","keywords":["affinity","social-crm","relationship-intelligence","contacts","crm","social-graph","network","sqlite","llm","ai","agent","tools","typescript","zero-dependencies"],"author":{"url":"https://anonyfox.com","name":"Anonyfox","email":"max@anonyfox.com"},"license":"MIT","_id":"@ghostpaw/affinity@0.2.4","maintainers":[{"name":"anonyfox","email":"Hisako1337@gmail.com"}],"homepage":"https://github.com/GhostPawJS/affinity","bugs":{"url":"https://github.com/GhostPawJS/affinity/issues"},"dist":{"shasum":"610455485e58357d3f94dfd6631c30ff51c7958b","tarball":"https://registry.npmjs.org/@ghostpaw/affinity/-/affinity-0.2.4.tgz","fileCount":7,"integrity":"sha512-NKLqWgCnWWefq1C04qs+mrgYhbf3fl/UUlyj10IxJO4RICF4xFtrG80WfO42VYC/UTmbP7QdDjiQAPMJPFfQzw==","signatures":[{"sig":"MEUCIDB5WrnS/U58rWVaTTpIud575GPRzwfhOYIfuqaVwm4JAiEA1Zr7w/kaLv4uWEDePhKMTfgn/QxOhEwgKxwfXpPQIRw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ghostpaw%2faffinity@0.2.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":775228},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","volta":{"node":"24.14.0"},"module":"./dist/index.js","engines":{"node":">=24"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"funding":{"url":"https://github.com/sponsors/Anonyfox","type":"github"},"gitHead":"0fc45f95a97bd7a427fc9d19ca639b99731c5a4a","scripts":{"dev":"tsup --watch","lint":"biome check","test":"node --experimental-strip-types --test --test-reporter=dot 'src/**/*.test.ts'","build":"tsup","check":"biome check && tsc --noEmit","clean":"rm -rf dist demo","format":"biome format --write","version":"biome format --write package.json package-lock.json && git add package.json package-lock.json","lint:fix":"biome check --fix","typecheck":"tsc --noEmit","demo:build":"node scripts/build_demo.mjs","demo:serve":"npm run demo:build && node scripts/serve_demo.mjs","demo:watch":"node scripts/build_demo.mjs --watch","release:major":"npm version major && git push && git push --tags","release:minor":"npm version minor && git push && git push --tags","release:patch":"npm version patch && git push && git push --tags","prepublishOnly":"npm run check && npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3769a07b-0f9d-4a92-a3fe-6d1596c68221"}},"repository":{"url":"git+https://github.com/GhostPawJS/affinity.git","type":"git"},"_npmVersion":"11.9.0","description":"Relationship intelligence and social CRM model for Node.js — SQLite, zero dependencies, with a built-in LLM tool facade","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","preact":"^10.29.0","sql.js":"^1.14.1","esbuild":"^0.27.4","typescript":"^5.8.2","@types/node":"^24.12.0","@types/sql.js":"^1.4.10","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/affinity_0.2.4_1775469771682_0.10271478878979678","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@ghostpaw/affinity","version":"0.3.0","keywords":["affinity","social-crm","relationship-intelligence","contacts","crm","social-graph","network","sqlite","llm","ai","agent","tools","typescript","zero-dependencies","mcp","mcp-server","model-context-protocol","agent-skills","cli"],"author":{"url":"https://anonyfox.com","name":"Anonyfox","email":"max@anonyfox.com"},"license":"MIT","_id":"@ghostpaw/affinity@0.3.0","maintainers":[{"name":"anonyfox","email":"Hisako1337@gmail.com"}],"homepage":"https://github.com/GhostPawJS/affinity","bugs":{"url":"https://github.com/GhostPawJS/affinity/issues"},"bin":{"ghostpaw-affinity":"dist/cli.js"},"dist":{"shasum":"0dd30b6e56ff6faf3bc8e2525b52c807c34fbf08","tarball":"https://registry.npmjs.org/@ghostpaw/affinity/-/affinity-0.3.0.tgz","fileCount":28,"integrity":"sha512-AeuDSpOr8lKtlFy8u7e6J0FcZkSGbDUF4Yao+6sy05zBBSNkHukSTtSDERHMUx79Xx2hNRvQ0PJb+tUGnR4d2w==","signatures":[{"sig":"MEUCIEN4C1/0J0vtDTJzZLmAhOh16BG4WZFKD7OK0HgPf+LeAiEA8EsehFHrAvpu+reptHHSoZu5pgv1FzQl5qcRVgD6e/Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCys55NBdLZ2m+J7M3do12zA2yNvUvmq58kPe1TTB/PjgIgWhj/U1eNToFDJUSf5Ic3jMHNFV99UUyOR1F3zGeB8do=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ghostpaw%2faffinity@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1980204},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","volta":{"node":"24.14.0"},"module":"./dist/index.js","engines":{"node":">=24"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./mcp":{"import":{"types":"./dist/mcp.d.ts","default":"./dist/mcp.js"},"require":{"types":"./dist/mcp.d.cts","default":"./dist/mcp.cjs"}},"./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/Anonyfox","type":"github"},"gitHead":"d4e99a3f1a4135ce30aa50ccc6f63b0bd38062cf","mcpName":"io.github.GhostPawJS/affinity","scripts":{"dev":"tsup --watch","lint":"biome check","mcpb":"node scripts/mcpb/build.mjs","test":"node --experimental-strip-types --test --test-reporter=dot 'src/**/*.test.ts'","bench":"npm run build && node scripts/bench/bench.mjs","build":"tsup","check":"npm run check:types && npm run check:lint && npm test && npm run build && npm run check:deps && npm run check:surfaces && npm run check:size && npm run check:api && npm run check:consumer && npm run check:startup && npm run check:ratchet","clean":"rm -rf dist demo","format":"biome format --write","version":"node scripts/sync_version.mjs && npm run surfaces && git add src/version.ts SKILL.md skills plugin.json mcp.json server.json .claude-plugin mcpb && biome format --write package.json package-lock.json && git add package.json package-lock.json","lint:fix":"biome check --fix","surfaces":"node --experimental-strip-types scripts/surfaces/generate.mjs","check:api":"node scripts/guard/api.mjs","typecheck":"tsc --noEmit","check:deps":"node scripts/check-zero-deps.mjs","check:lint":"biome check","check:size":"node scripts/guard/size.mjs","demo:build":"node scripts/build_demo.mjs","demo:serve":"npm run demo:build && node scripts/serve_demo.mjs","demo:watch":"node scripts/build_demo.mjs --watch","check:types":"tsc --noEmit","check:ratchet":"node --test scripts/guard/*.test.mjs && node scripts/guard/ratchet.mjs","check:startup":"node scripts/guard/startup.mjs","release:major":"npm version major && git push && git push --tags","release:minor":"npm version minor && git push && git push --tags","release:patch":"npm version patch && git push && git push --tags","budgets:update":"npm run build && node scripts/guard/size.mjs --update && node scripts/guard/api.mjs --update && node scripts/guard/startup.mjs --update","check:consumer":"node scripts/guard/consumer.mjs","check:surfaces":"node --experimental-strip-types scripts/surfaces/generate.mjs --check","prepublishOnly":"npm run check"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"3769a07b-0f9d-4a92-a3fe-6d1596c68221"}},"repository":{"url":"git+https://github.com/GhostPawJS/affinity.git","type":"git"},"_npmVersion":"11.9.0","description":"Relationship intelligence and social CRM model for Node.js — SQLite, zero dependencies, with a built-in LLM tool facade","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","fflate":"0.8.3","preact":"^10.29.0","sql.js":"^1.14.1","esbuild":"^0.27.4","typescript":"^5.8.2","@types/node":"^24.12.0","@types/sql.js":"^1.4.10","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/affinity_0.3.0_1792852722350_0.9145490285693505","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@ghostpaw/affinity","version":"0.4.0","keywords":["affinity","social-crm","relationship-intelligence","contacts","crm","social-graph","network","sqlite","llm","ai","agent","tools","typescript","zero-dependencies","mcp","mcp-server","model-context-protocol","agent-skills","cli","ghostpaw","ai-agents","llm-tools","node-sqlite","local-first"],"author":{"url":"https://anonyfox.com","name":"Anonyfox","email":"max@anonyfox.com"},"license":"MIT","_id":"@ghostpaw/affinity@0.4.0","maintainers":[{"name":"anonyfox","email":"Hisako1337@gmail.com"}],"homepage":"https://affinity.ghostpaw.dev/","bugs":{"url":"https://github.com/GhostPawJS/affinity/issues"},"bin":{"ghostpaw-affinity":"dist/cli.js"},"dist":{"shasum":"1ca450e85897496e1884c215107a1679fd5fb212","tarball":"https://registry.npmjs.org/@ghostpaw/affinity/-/affinity-0.4.0.tgz","fileCount":28,"integrity":"sha512-M9S0iz89ylNXnYcV0NeNnGiBzajamdoi87E+BLkXxrG14CAoHDdY06DuhSOeuI7GQFh0vlNGyMF1cHdODJ84Rg==","signatures":[{"sig":"MEMCH1koHzpn22DbW2DoI941ez8hVKu1PLfvc1LegOnQngcCIBEZADsIthp+npp79yoMkj3f23BlqnTj+fmH744BVn55","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIF6oLtNBexsw0X1zunH+556Ic51o8deCigDhksKDJATFAiEA6J1WNSoOOVPQe6Ldy01yZUw0/kaHvGcsOxguqHfDxbg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ghostpaw%2faffinity@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2002713},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","volta":{"node":"24.14.0"},"module":"./dist/index.js","engines":{"node":">=24"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./mcp":{"import":{"types":"./dist/mcp.d.ts","default":"./dist/mcp.js"},"require":{"types":"./dist/mcp.d.cts","default":"./dist/mcp.cjs"}},"./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/Anonyfox","type":"github"},"gitHead":"baa2a2e5d5c9d4721b8894bebf1c19efef0192ec","mcpName":"io.github.GhostPawJS/affinity","scripts":{"dev":"tsup --watch","sea":"node scripts/sea/build.mjs","lint":"biome check","mcpb":"node scripts/mcpb/build.mjs","test":"node --experimental-strip-types --test --test-reporter=dot 'src/**/*.test.ts'","bench":"npm run build && node scripts/bench/bench.mjs","build":"tsup","check":"npm run check:types && npm run check:lint && npm test && npm run build && npm run check:deps && npm run check:surfaces && npm run check:size && npm run check:api && npm run check:consumer && npm run check:startup && npm run check:ratchet","clean":"rm -rf dist demo","format":"biome format --write","version":"node scripts/sync_version.mjs && npm run surfaces && git add src/version.ts SKILL.md skills plugin.json mcp.json server.json .claude-plugin mcpb && biome format --write package.json package-lock.json && git add package.json package-lock.json","lint:fix":"biome check --fix","surfaces":"node --experimental-strip-types scripts/surfaces/generate.mjs","check:api":"node scripts/guard/api.mjs","sea:bench":"node scripts/sea/bench.mjs","sea:smoke":"node scripts/sea/smoke.mjs","typecheck":"tsc --noEmit","check:deps":"node scripts/check-zero-deps.mjs","check:lint":"biome check","check:size":"node scripts/guard/size.mjs","demo:build":"node scripts/build_demo.mjs","demo:serve":"npm run demo:build && node scripts/serve_demo.mjs","demo:watch":"node scripts/build_demo.mjs --watch","check:types":"tsc --noEmit","check:ratchet":"node --test scripts/guard/*.test.mjs && node scripts/guard/ratchet.mjs","check:startup":"node scripts/guard/startup.mjs","release:major":"npm version major && git push && git push --tags","release:minor":"npm version minor && git push && git push --tags","release:patch":"npm version patch && git push && git push --tags","budgets:update":"npm run build && node scripts/guard/size.mjs --update && node scripts/guard/api.mjs --update && node scripts/guard/startup.mjs --update","check:consumer":"node scripts/guard/consumer.mjs","check:surfaces":"node --experimental-strip-types scripts/surfaces/generate.mjs --check","prepublishOnly":"npm run check"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"3769a07b-0f9d-4a92-a3fe-6d1596c68221"}},"overrides":{"esbuild":"$esbuild"},"repository":{"url":"git+https://github.com/GhostPawJS/affinity.git","type":"git"},"_npmVersion":"11.9.0","description":"Relationship intelligence and social CRM model for Node.js — SQLite, zero dependencies, with a built-in LLM tool facade","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","fflate":"0.8.3","preact":"^10.29.0","sql.js":"^1.14.1","esbuild":"^0.28.1","typescript":"^5.8.2","@types/node":"^24.12.0","@types/sql.js":"^1.4.10","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/affinity_0.4.0_1793106109854_0.11952906350886017","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@ghostpaw/affinity","version":"0.4.1","keywords":["affinity","social-crm","relationship-intelligence","contacts","crm","social-graph","network","sqlite","llm","ai","agent","tools","typescript","zero-dependencies","mcp","mcp-server","model-context-protocol","agent-skills","cli","ghostpaw","ai-agents","llm-tools","node-sqlite","local-first"],"author":{"url":"https://anonyfox.com","name":"Anonyfox","email":"max@anonyfox.com"},"license":"MIT","_id":"@ghostpaw/affinity@0.4.1","maintainers":[{"name":"anonyfox","email":"Hisako1337@gmail.com"}],"homepage":"https://affinity.ghostpaw.dev/","bugs":{"url":"https://github.com/GhostPawJS/affinity/issues"},"bin":{"ghostpaw-affinity":"dist/cli.js"},"dist":{"shasum":"c904fb123effe624abaa639896681bd3a40f4b3b","tarball":"https://registry.npmjs.org/@ghostpaw/affinity/-/affinity-0.4.1.tgz","fileCount":28,"integrity":"sha512-PY2XFLMEoYhZqM7m+B+LuPB85+2IzPpm6WtWLFy/ZhbaxTl4Tf5IpE868JdME690pZxDOp6HCe8VaF2qDTIibw==","signatures":[{"sig":"MEQCIBhLiu7MeK7/kDjpCn+cCKorlmASZ7ss/GJSeSAYcXjXAiBuCQN5q+/OWQODnuE2MWxRWgIBD7/SxgrJfycwgQ/JOA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCSgDA4sO+UEdygD1Jm58CEA5RdozIN7aEjaJwkYgtnJwIhAJodn2LespSvzSioLI0riYN37MP45ECMjXk2GM/HK5GC","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ghostpaw%2faffinity@0.4.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2008906},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","volta":{"node":"24.14.0"},"module":"./dist/index.js","engines":{"node":">=24"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./mcp":{"import":{"types":"./dist/mcp.d.ts","default":"./dist/mcp.js"},"require":{"types":"./dist/mcp.d.cts","default":"./dist/mcp.cjs"}},"./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/Anonyfox","type":"github"},"gitHead":"5113db6f082384f3a9b17cb0ee3d9775b86de5b1","mcpName":"io.github.GhostPawJS/affinity","scripts":{"dev":"tsup --watch","sea":"node scripts/sea/build.mjs","lint":"biome check","mcpb":"node scripts/mcpb/build.mjs","test":"node --experimental-strip-types --test --test-reporter=dot 'src/**/*.test.ts'","bench":"npm run build && node scripts/bench/bench.mjs","build":"tsup","check":"npm run check:types && npm run check:lint && npm test && npm run build && npm run check:deps && npm run check:surfaces && npm run check:size && npm run check:api && npm run check:consumer && npm run check:startup && npm run check:ratchet","clean":"rm -rf dist demo","format":"biome format --write","version":"node scripts/sync_version.mjs && npm run surfaces && git add src/version.ts SKILL.md skills plugin.json mcp.json server.json .claude-plugin mcpb && biome format --write package.json package-lock.json && git add package.json package-lock.json","lint:fix":"biome check --fix","surfaces":"node --experimental-strip-types scripts/surfaces/generate.mjs","check:api":"node scripts/guard/api.mjs","sea:bench":"node scripts/sea/bench.mjs","sea:smoke":"node scripts/sea/smoke.mjs","typecheck":"tsc --noEmit","check:deps":"node scripts/check-zero-deps.mjs","check:lint":"biome check","check:size":"node scripts/guard/size.mjs","demo:build":"node scripts/build_demo.mjs","demo:serve":"npm run demo:build && node scripts/serve_demo.mjs","demo:watch":"node scripts/build_demo.mjs --watch","check:types":"tsc --noEmit","check:ratchet":"node --test scripts/guard/*.test.mjs && node scripts/guard/ratchet.mjs","check:startup":"node scripts/guard/startup.mjs","release:major":"npm version major && git push && git push --tags","release:minor":"npm version minor && git push && git push --tags","release:patch":"npm version patch && git push && git push --tags","budgets:update":"npm run build && node scripts/guard/size.mjs --update && node scripts/guard/api.mjs --update && node scripts/guard/startup.mjs --update","check:consumer":"node scripts/guard/consumer.mjs","check:surfaces":"node --experimental-strip-types scripts/surfaces/generate.mjs --check","prepublishOnly":"npm run check"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"3769a07b-0f9d-4a92-a3fe-6d1596c68221"}},"overrides":{"esbuild":"$esbuild"},"repository":{"url":"git+https://github.com/GhostPawJS/affinity.git","type":"git"},"_npmVersion":"11.9.0","description":"Relationship intelligence and social CRM model for Node.js — SQLite, zero dependencies, with a built-in LLM tool facade","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","fflate":"0.8.3","preact":"^10.29.0","sql.js":"^1.14.1","esbuild":"^0.28.1","typescript":"^5.8.2","@types/node":"^24.12.0","@types/sql.js":"^1.4.10","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/affinity_0.4.1_1793121311432_0.5598428887356472","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@ghostpaw/affinity","version":"0.5.0","keywords":["affinity","social-crm","relationship-intelligence","contacts","crm","social-graph","network","sqlite","llm","ai","agent","tools","typescript","zero-dependencies","mcp","mcp-server","model-context-protocol","agent-skills","cli","ghostpaw","ai-agents","llm-tools","node-sqlite","local-first"],"author":{"url":"https://anonyfox.com","name":"Anonyfox","email":"max@anonyfox.com"},"license":"MIT","_id":"@ghostpaw/affinity@0.5.0","maintainers":[{"name":"anonyfox","email":"Hisako1337@gmail.com"}],"homepage":"https://affinity.ghostpaw.dev/","bugs":{"url":"https://github.com/GhostPawJS/affinity/issues"},"bin":{"ghostpaw-affinity":"dist/cli.js"},"dist":{"shasum":"1546b91fa0cfd51ce63efd324af16c7ced98102e","tarball":"https://registry.npmjs.org/@ghostpaw/affinity/-/affinity-0.5.0.tgz","fileCount":28,"integrity":"sha512-qmshXRPhuFSxo6N/dsJMmL7iG5pWVw+Y/IyOiFjaqJ+cHjSM8r18SHSlyTqFR5FZLL9+jxA4+mgsswEMt8dF7w==","signatures":[{"sig":"MEQCIH4xJzVRszAR+zUfOBEirfWHzWv3aMnsXXehszVKRdIRAiAhITaWYoQYz1FD8xt8gGmEDpkFQ4K/sMKz5BOkoCEWmw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDzIGFHG44h2EApyKrS5eM/dWccbCau3T+QV8cRNT4JvwIgBczSf2he1AclH58hcbqjCT2BPfWV6gxM6iS7p7ZtrKo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ghostpaw%2faffinity@0.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2352506},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","volta":{"node":"24.14.0"},"module":"./dist/index.js","engines":{"node":">=24"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./mcp":{"import":{"types":"./dist/mcp.d.ts","default":"./dist/mcp.js"},"require":{"types":"./dist/mcp.d.cts","default":"./dist/mcp.cjs"}},"./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/Anonyfox","type":"github"},"gitHead":"8d64f9db2c652e813d960dab0136e3f153cc4c1c","mcpName":"io.github.GhostPawJS/affinity","scripts":{"dev":"tsup --watch","sea":"node scripts/sea/build.mjs","lint":"biome check","mcpb":"node scripts/mcpb/build.mjs","test":"node --experimental-strip-types --test --test-reporter=dot 'src/**/*.test.ts'","bench":"npm run build && node scripts/bench/bench.mjs","build":"tsup","check":"npm run check:types && npm run check:lint && npm test && npm run build && npm run check:deps && npm run check:surfaces && npm run check:size && npm run check:api && npm run check:consumer && npm run check:startup && npm run check:ratchet","clean":"rm -rf dist demo","format":"biome format --write","version":"node scripts/sync_version.mjs && npm run surfaces && git add src/version.ts SKILL.md skills plugin.json mcp.json server.json .claude-plugin mcpb && biome format --write package.json package-lock.json && git add package.json package-lock.json","lint:fix":"biome check --fix","surfaces":"node --experimental-strip-types scripts/surfaces/generate.mjs","check:api":"node scripts/guard/api.mjs","sea:bench":"node scripts/sea/bench.mjs","sea:smoke":"node scripts/sea/smoke.mjs","typecheck":"tsc --noEmit","check:deps":"node scripts/check-zero-deps.mjs","check:lint":"biome check","check:size":"node scripts/guard/size.mjs","demo:build":"node scripts/build_demo.mjs","demo:serve":"npm run demo:build && node scripts/serve_demo.mjs","demo:watch":"node scripts/build_demo.mjs --watch","check:types":"tsc --noEmit","check:ratchet":"node --test scripts/guard/*.test.mjs && node scripts/guard/ratchet.mjs","check:startup":"node scripts/guard/startup.mjs","release:major":"npm version major && git push && git push --tags","release:minor":"npm version minor && git push && git push --tags","release:patch":"npm version patch && git push && git push --tags","budgets:update":"npm run build && node scripts/guard/size.mjs --update && node scripts/guard/api.mjs --update && node scripts/guard/startup.mjs --update","check:consumer":"node scripts/guard/consumer.mjs","check:surfaces":"node --experimental-strip-types scripts/surfaces/generate.mjs --check","prepublishOnly":"npm run check"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"3769a07b-0f9d-4a92-a3fe-6d1596c68221"}},"overrides":{"esbuild":"$esbuild"},"repository":{"url":"git+https://github.com/GhostPawJS/affinity.git","type":"git"},"_npmVersion":"11.9.0","description":"Relationship intelligence and social CRM model for Node.js — SQLite, zero dependencies, with a built-in LLM tool facade","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","fflate":"0.8.3","preact":"^10.29.0","sql.js":"^1.14.1","esbuild":"^0.28.1","typescript":"^5.8.2","@types/node":"^24.12.0","@types/sql.js":"^1.4.10","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/affinity_0.5.0_1793142881610_0.8726973365284028","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@ghostpaw/affinity","version":"0.6.0","keywords":["affinity","social-crm","relationship-intelligence","contacts","crm","social-graph","network","sqlite","llm","ai","agent","tools","typescript","zero-dependencies","mcp","mcp-server","model-context-protocol","agent-skills","cli","ghostpaw","ai-agents","llm-tools","node-sqlite","local-first"],"author":{"url":"https://anonyfox.com","name":"Anonyfox","email":"max@anonyfox.com"},"license":"MIT","_id":"@ghostpaw/affinity@0.6.0","maintainers":[{"name":"anonyfox","email":"Hisako1337@gmail.com"}],"homepage":"https://affinity.ghostpaw.dev/","bugs":{"url":"https://github.com/GhostPawJS/affinity/issues"},"bin":{"ghostpaw-affinity":"dist/cli.js"},"dist":{"shasum":"ded3d747c0a6c9082353cd04395e4d269aef7474","tarball":"https://registry.npmjs.org/@ghostpaw/affinity/-/affinity-0.6.0.tgz","fileCount":29,"integrity":"sha512-5M2dUqn42YQdPt9SO+04XVOfKtxAabK1foS0tSmpcmycjW8bM2RKpUd6lEsoFNPu8OrGuDlBVWXm9J5VJTUM5Q==","signatures":[{"sig":"MEUCIQCvx93nzHO4mZcW83yL+aq6MnAhkIZ/nsoJEJhkfnq0agIgLsyHQpAqsxXZe/8nhtJRGfo837z3ncZ3j8jnSaUdJZU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIFUPWXRJIJQXjCtdloPb6qK9EFviWvFcjA1qvG2E/yKYAiEAw3hcPzn7pEh9LO8ohlbeLJpifi2e+P/O9VEyNoPHPQs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ghostpaw%2faffinity@0.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2780412},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","volta":{"node":"24.14.0"},"module":"./dist/index.js","engines":{"node":">=24"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./mcp":{"import":{"types":"./dist/mcp.d.ts","default":"./dist/mcp.js"},"require":{"types":"./dist/mcp.d.cts","default":"./dist/mcp.cjs"}},"./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/Anonyfox","type":"github"},"gitHead":"f241f0d5087c0d420545712695198582d496e76e","mcpName":"io.github.GhostPawJS/affinity","scripts":{"dev":"tsup --watch","sea":"node scripts/sea/build.mjs","lint":"biome check","mcpb":"node scripts/mcpb/build.mjs","test":"node --experimental-strip-types --test --test-reporter=dot 'src/**/*.test.ts'","bench":"npm run build && node scripts/bench/bench.mjs","build":"tsup","check":"npm run check:types && npm run check:lint && npm test && npm run build && npm run check:deps && npm run check:surfaces && npm run check:size && npm run check:api && npm run check:consumer && npm run check:startup && npm run check:ratchet","clean":"rm -rf dist demo","format":"biome format --write","version":"node scripts/sync_version.mjs && npm run surfaces && git add src/version.ts SKILL.md skills plugin.json mcp.json server.json .claude-plugin mcpb && biome format --write package.json package-lock.json && git add package.json package-lock.json","lint:fix":"biome check --fix","surfaces":"node --experimental-strip-types scripts/surfaces/generate.mjs","check:api":"node scripts/guard/api.mjs","sea:bench":"node scripts/sea/bench.mjs","sea:smoke":"node scripts/sea/smoke.mjs","typecheck":"tsc --noEmit","check:deps":"node scripts/check-zero-deps.mjs","check:lint":"biome check","check:size":"node scripts/guard/size.mjs","demo:build":"node scripts/build_demo.mjs","demo:serve":"npm run demo:build && node scripts/serve_demo.mjs","demo:watch":"node scripts/build_demo.mjs --watch","check:types":"tsc --noEmit","check:ratchet":"node --test scripts/guard/*.test.mjs && node scripts/guard/ratchet.mjs","check:startup":"node scripts/guard/startup.mjs","release:major":"npm version major && git push && git push --tags","release:minor":"npm version minor && git push && git push --tags","release:patch":"npm version patch && git push && git push --tags","budgets:update":"npm run build && node scripts/guard/size.mjs --update && node scripts/guard/api.mjs --update && node scripts/guard/startup.mjs --update","check:consumer":"node scripts/guard/consumer.mjs","check:surfaces":"node --experimental-strip-types scripts/surfaces/generate.mjs --check","prepublishOnly":"npm run check"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"3769a07b-0f9d-4a92-a3fe-6d1596c68221"}},"overrides":{"esbuild":"$esbuild"},"repository":{"url":"git+https://github.com/GhostPawJS/affinity.git","type":"git"},"_npmVersion":"11.9.0","description":"Relationship intelligence and social CRM model for Node.js — SQLite, zero dependencies, with a built-in LLM tool facade","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","fflate":"0.8.3","preact":"^10.29.0","sql.js":"^1.14.1","esbuild":"^0.28.1","typescript":"^5.8.2","@types/node":"^24.12.0","@types/sql.js":"^1.4.10","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/affinity_0.6.0_1793150633865_0.7487897432235671","host":"s3://npm-registry-packages-npm-production"}},"0.6.1":{"name":"@ghostpaw/affinity","version":"0.6.1","keywords":["affinity","social-crm","relationship-intelligence","contacts","crm","social-graph","network","sqlite","llm","ai","agent","tools","typescript","zero-dependencies","mcp","mcp-server","model-context-protocol","agent-skills","cli","ghostpaw","ai-agents","llm-tools","node-sqlite","local-first"],"author":{"url":"https://anonyfox.com","name":"Anonyfox","email":"max@anonyfox.com"},"license":"MIT","_id":"@ghostpaw/affinity@0.6.1","maintainers":[{"name":"anonyfox","email":"Hisako1337@gmail.com"}],"homepage":"https://affinity.ghostpaw.dev/","bugs":{"url":"https://github.com/GhostPawJS/affinity/issues"},"bin":{"ghostpaw-affinity":"dist/cli.js"},"dist":{"shasum":"b07950a81e722c7f5329dd496060fd51822f035f","tarball":"https://registry.npmjs.org/@ghostpaw/affinity/-/affinity-0.6.1.tgz","fileCount":29,"integrity":"sha512-7d2VTD7RYZy9NvkEl/Nu0zrF6aiQPx9xle9bmq9blVL8lhwT1p28a4fBvFkE/EccP+TMMc1YQUPrPNTBUeXc0w==","signatures":[{"sig":"MEQCIESbWRHsGdafYzZftE3w4H+yGZ+eJ0GvMJa/RvCxPhgzAiAKR9VGFj5SJjF7LwPxdV64FRfVZaSZVId66usDecDiag==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIArIwJyLmPcc68m3ZZDHOacsngAEbXfOp9rU6N5pgpLFAiEA6agkiImt3AkXQPUwiv5AkoLWspt0rSFPkOZq0xMAf9c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ghostpaw%2faffinity@0.6.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2800083},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","volta":{"node":"24.14.0"},"module":"./dist/index.js","engines":{"node":">=24"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./mcp":{"import":{"types":"./dist/mcp.d.ts","default":"./dist/mcp.js"},"require":{"types":"./dist/mcp.d.cts","default":"./dist/mcp.cjs"}},"./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/Anonyfox","type":"github"},"gitHead":"7e331cea6965b71366dd13631d477a3ecee40bb7","mcpName":"io.github.GhostPawJS/affinity","scripts":{"dev":"tsup --watch","sea":"node scripts/sea/build.mjs","lint":"biome check","mcpb":"node scripts/mcpb/build.mjs","test":"node --experimental-strip-types --test --test-reporter=dot 'src/**/*.test.ts'","bench":"npm run build && node scripts/bench/bench.mjs","build":"tsup","check":"npm run check:types && npm run check:lint && npm test && npm run build && npm run check:deps && npm run check:surfaces && npm run check:size && npm run check:api && npm run check:consumer && npm run check:startup && npm run check:ratchet","clean":"rm -rf dist demo","format":"biome format --write","version":"node scripts/sync_version.mjs && npm run surfaces && git add src/version.ts SKILL.md skills plugin.json mcp.json server.json .claude-plugin mcpb && biome format --write package.json package-lock.json && git add package.json package-lock.json","lint:fix":"biome check --fix","surfaces":"node --experimental-strip-types scripts/surfaces/generate.mjs","check:api":"node scripts/guard/api.mjs","sea:bench":"node scripts/sea/bench.mjs","sea:smoke":"node scripts/sea/smoke.mjs","typecheck":"tsc --noEmit","check:deps":"node scripts/check-zero-deps.mjs","check:lint":"biome check","check:size":"node scripts/guard/size.mjs","demo:build":"node scripts/build_demo.mjs","demo:serve":"npm run demo:build && node scripts/serve_demo.mjs","demo:watch":"node scripts/build_demo.mjs --watch","check:types":"tsc --noEmit","check:ratchet":"node --test scripts/guard/*.test.mjs && node scripts/guard/ratchet.mjs","check:startup":"node scripts/guard/startup.mjs","release:major":"npm version major && git push && git push --tags","release:minor":"npm version minor && git push && git push --tags","release:patch":"npm version patch && git push && git push --tags","budgets:update":"npm run build && node scripts/guard/size.mjs --update && node scripts/guard/api.mjs --update && node scripts/guard/startup.mjs --update","check:consumer":"node scripts/guard/consumer.mjs","check:surfaces":"node --experimental-strip-types scripts/surfaces/generate.mjs --check","prepublishOnly":"npm run check"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"3769a07b-0f9d-4a92-a3fe-6d1596c68221"}},"overrides":{"esbuild":"$esbuild"},"repository":{"url":"git+https://github.com/GhostPawJS/affinity.git","type":"git"},"_npmVersion":"11.9.0","description":"Relationship intelligence and social CRM model for Node.js — SQLite, zero dependencies, with a built-in LLM tool facade","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","fflate":"0.8.3","preact":"^10.29.0","sql.js":"^1.14.1","esbuild":"^0.28.1","typescript":"^5.8.2","@types/node":"^24.12.0","@types/sql.js":"^1.4.10","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/affinity_0.6.1_1793266166276_0.5739045028939076","host":"s3://npm-registry-packages-npm-production"}},"0.6.2":{"name":"@ghostpaw/affinity","version":"0.6.2","keywords":["affinity","social-crm","relationship-intelligence","contacts","crm","social-graph","network","sqlite","llm","ai","agent","tools","typescript","zero-dependencies","mcp","mcp-server","model-context-protocol","agent-skills","cli","ghostpaw","ai-agents","llm-tools","node-sqlite","local-first"],"author":{"url":"https://anonyfox.com","name":"Anonyfox","email":"max@anonyfox.com"},"license":"MIT","_id":"@ghostpaw/affinity@0.6.2","maintainers":[{"name":"anonyfox","email":"Hisako1337@gmail.com"}],"homepage":"https://affinity.ghostpaw.dev/","bugs":{"url":"https://github.com/GhostPawJS/affinity/issues"},"bin":{"ghostpaw-affinity":"dist/cli.js"},"dist":{"shasum":"a25d38c081605d3e1ed5232b96387fb3bd63f242","tarball":"https://registry.npmjs.org/@ghostpaw/affinity/-/affinity-0.6.2.tgz","fileCount":29,"integrity":"sha512-OTRlgunG+BqawH8XNoWp0kRIazPrWG8Rs7qP4BSN9evtyG0ctigHLpzsCiwGGvEOkOQms0ozyWGL0MFjG2B6Qg==","signatures":[{"sig":"MEYCIQCfeT+6qzQZqGk63B3tIOU+8ZRAHGXyKhBYuDusrCwsCAIhAIS3x82KpCzb0f75+1Epc+i3hLJiIn06NUe+S7FX6qQq","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIBZI40u5gdoa83ZG370WUGFoyG3NxgoH3O+h+OQvJumrAiEA/TQU3yntzQt07ep8t48j8WYXO/0hd8oqS/wCG1O6l0E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ghostpaw%2faffinity@0.6.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2805961},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","volta":{"node":"24.14.0"},"module":"./dist/index.js","engines":{"node":">=24"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./mcp":{"import":{"types":"./dist/mcp.d.ts","default":"./dist/mcp.js"},"require":{"types":"./dist/mcp.d.cts","default":"./dist/mcp.cjs"}},"./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/Anonyfox","type":"github"},"gitHead":"5e14822afdc91e259b1fd8e5acd6d0b390fd9e78","mcpName":"io.github.GhostPawJS/affinity","scripts":{"dev":"tsup --watch","sea":"node scripts/sea/build.mjs","lint":"biome check","mcpb":"node scripts/mcpb/build.mjs","test":"node --experimental-strip-types --test --test-reporter=dot 'src/**/*.test.ts'","bench":"npm run build && node scripts/bench/bench.mjs","build":"tsup","check":"npm run check:types && npm run check:lint && npm test && npm run build && npm run check:deps && npm run check:surfaces && npm run check:size && npm run check:api && npm run check:consumer && npm run check:startup && npm run check:ratchet","clean":"rm -rf dist demo","format":"biome format --write","version":"node scripts/sync_version.mjs && npm run surfaces && git add src/version.ts SKILL.md skills plugin.json mcp.json server.json .claude-plugin mcpb && biome format --write package.json package-lock.json && git add package.json package-lock.json","lint:fix":"biome check --fix","surfaces":"node --experimental-strip-types scripts/surfaces/generate.mjs","check:api":"node scripts/guard/api.mjs","sea:bench":"node scripts/sea/bench.mjs","sea:smoke":"node scripts/sea/smoke.mjs","typecheck":"tsc --noEmit","check:deps":"node scripts/check-zero-deps.mjs","check:lint":"biome check","check:size":"node scripts/guard/size.mjs","demo:build":"node scripts/build_demo.mjs","demo:serve":"npm run demo:build && node scripts/serve_demo.mjs","demo:watch":"node scripts/build_demo.mjs --watch","check:types":"tsc --noEmit","check:ratchet":"node --test scripts/guard/*.test.mjs && node scripts/guard/ratchet.mjs","check:startup":"node scripts/guard/startup.mjs","release:major":"npm version major && git push && git push --tags","release:minor":"npm version minor && git push && git push --tags","release:patch":"npm version patch && git push && git push --tags","budgets:update":"npm run build && node scripts/guard/size.mjs --update && node scripts/guard/api.mjs --update && node scripts/guard/startup.mjs --update","check:consumer":"node scripts/guard/consumer.mjs","check:surfaces":"node --experimental-strip-types scripts/surfaces/generate.mjs --check","prepublishOnly":"npm run check"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"3769a07b-0f9d-4a92-a3fe-6d1596c68221"}},"overrides":{"esbuild":"$esbuild"},"repository":{"url":"git+https://github.com/GhostPawJS/affinity.git","type":"git"},"_npmVersion":"11.9.0","description":"Relationship intelligence and social CRM model for Node.js — SQLite, zero dependencies, with a built-in LLM tool facade","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","fflate":"0.8.3","preact":"^10.29.0","sql.js":"^1.14.1","esbuild":"^0.28.1","typescript":"^5.8.2","@types/node":"^24.12.0","@types/sql.js":"^1.4.10","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/affinity_0.6.2_1793824395835_0.27163614232453803","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@ghostpaw/affinity","version":"0.7.0","keywords":["affinity","social-crm","relationship-intelligence","contacts","crm","social-graph","network","sqlite","llm","ai","agent","tools","typescript","zero-dependencies","mcp","mcp-server","model-context-protocol","agent-skills","cli","ghostpaw","ai-agents","llm-tools","node-sqlite","local-first"],"author":{"url":"https://anonyfox.com","name":"Anonyfox","email":"max@anonyfox.com"},"license":"MIT","_id":"@ghostpaw/affinity@0.7.0","maintainers":[{"name":"anonyfox","email":"Hisako1337@gmail.com"}],"homepage":"https://affinity.ghostpaw.dev/","bugs":{"url":"https://github.com/GhostPawJS/affinity/issues"},"bin":{"ghostpaw-affinity":"dist/cli.js"},"dist":{"shasum":"aadb4f2a72544d66489ac41cf8b7dceb97cfc38b","tarball":"https://registry.npmjs.org/@ghostpaw/affinity/-/affinity-0.7.0.tgz","fileCount":30,"integrity":"sha512-0Z63CraU2uJAbd8pEVyKp32cfqiL93dMV+ffzwZNRu74kox4M2EcAc3aHFSj6DRcy/Pp/aP1oxgBwBCLZM5ZSA==","signatures":[{"sig":"MEQCIELb6Nnw/gdpXlU/FvOabViHfV4khR0PjrxhIdwq2/ikAiByqeBi5aQYA5o3URH1+61ZougYIXkwCnFBJ7vSi0ivUg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCwgIKGdm2rqE7u84BZ6CIJ1lOUAcBm2VfZymw05fdlFgIgHNehZJO93q65K4yGGyPX3lZUtmexfDyCp+dUcCdDw8g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ghostpaw%2faffinity@0.7.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2941811},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","volta":{"node":"24.14.0"},"module":"./dist/index.js","engines":{"node":">=24"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./mcp":{"import":{"types":"./dist/mcp.d.ts","default":"./dist/mcp.js"},"require":{"types":"./dist/mcp.d.cts","default":"./dist/mcp.cjs"}},"./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/Anonyfox","type":"github"},"gitHead":"a193a7a89110d51bb910039a25383ffe8b330f2b","mcpName":"io.github.GhostPawJS/affinity","scripts":{"dev":"tsup --watch","sea":"node scripts/sea/build.mjs","lint":"biome check","mcpb":"node scripts/mcpb/build.mjs","test":"node --experimental-strip-types --test --test-reporter=dot 'src/**/*.test.ts'","bench":"npm run build && node scripts/bench/bench.mjs","build":"tsup","check":"npm run check:types && npm run check:lint && npm test && npm run build && npm run check:deps && npm run check:surfaces && npm run check:size && npm run check:api && npm run check:consumer && npm run check:startup && npm run check:ratchet","clean":"rm -rf dist demo","format":"biome format --write","version":"node scripts/sync_version.mjs && npm run surfaces && git add src/version.ts SKILL.md skills plugin.json mcp.json server.json .claude-plugin mcpb && biome format --write package.json package-lock.json && git add package.json package-lock.json","lint:fix":"biome check --fix","surfaces":"node --experimental-strip-types scripts/surfaces/generate.mjs","check:api":"node scripts/guard/api.mjs","sea:bench":"node scripts/sea/bench.mjs","sea:smoke":"node scripts/sea/smoke.mjs","typecheck":"tsc --noEmit","check:deps":"node scripts/check-zero-deps.mjs","check:lint":"biome check","check:size":"node scripts/guard/size.mjs","demo:build":"node scripts/build_demo.mjs","demo:serve":"npm run demo:build && node scripts/serve_demo.mjs","demo:watch":"node scripts/build_demo.mjs --watch","check:types":"tsc --noEmit","check:ratchet":"node --test scripts/guard/*.test.mjs && node scripts/guard/ratchet.mjs","check:startup":"node scripts/guard/startup.mjs","release:major":"npm version major && git push && git push --tags","release:minor":"npm version minor && git push && git push --tags","release:patch":"npm version patch && git push && git push --tags","budgets:update":"npm run build && node scripts/guard/size.mjs --update && node scripts/guard/api.mjs --update && node scripts/guard/startup.mjs --update","check:consumer":"node scripts/guard/consumer.mjs","check:surfaces":"node --experimental-strip-types scripts/surfaces/generate.mjs --check","prepublishOnly":"npm run check"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"3769a07b-0f9d-4a92-a3fe-6d1596c68221"}},"overrides":{"esbuild":"$esbuild"},"repository":{"url":"git+https://github.com/GhostPawJS/affinity.git","type":"git"},"_npmVersion":"11.9.0","description":"Relationship intelligence and social CRM model for Node.js — SQLite, zero dependencies, with a built-in LLM tool facade","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","fflate":"0.8.3","preact":"^10.29.0","sql.js":"^1.14.1","esbuild":"^0.28.1","typescript":"^5.8.2","@types/node":"^24.12.0","@types/sql.js":"^1.4.10","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/affinity_0.7.0_1793869392581_0.19998908536951365","host":"s3://npm-registry-packages-npm-production"}},"0.7.1":{"name":"@ghostpaw/affinity","version":"0.7.1","keywords":["affinity","social-crm","relationship-intelligence","contacts","crm","social-graph","network","sqlite","llm","ai","agent","tools","typescript","zero-dependencies","mcp","mcp-server","model-context-protocol","agent-skills","cli","ghostpaw","ai-agents","llm-tools","node-sqlite","local-first"],"author":{"url":"https://anonyfox.com","name":"Anonyfox","email":"max@anonyfox.com"},"license":"MIT","_id":"@ghostpaw/affinity@0.7.1","maintainers":[{"name":"anonyfox","email":"Hisako1337@gmail.com"}],"homepage":"https://affinity.ghostpaw.dev/","bugs":{"url":"https://github.com/GhostPawJS/affinity/issues"},"bin":{"ghostpaw-affinity":"dist/cli.js"},"dist":{"shasum":"80f2c47c34ba10419f9e4eb486e41aa250b91ebc","tarball":"https://registry.npmjs.org/@ghostpaw/affinity/-/affinity-0.7.1.tgz","fileCount":30,"integrity":"sha512-Az+OgrqN+VH5dH2dtiEEj7idP3CYJ8VXOz37kqNBQRGImtTOHesuCVereOB/F99Z5H2GMNqjPvFV8EfsJUidJg==","signatures":[{"sig":"MEUCIQDg/9X8k1peHq2Pqdud/Oi2YF52sYpRP7v6zNXtcpYXxAIgbA+ZJaheNl75XcSJw/6yvHf3V2rvKJsVFDtNKrzKyLE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCjiONiwq7wtFkYfhmqQLmLc8SVsFcVM4uppalJqCMdNAIhAIqbQgSH4X2rH493SjwsTWV2KxmwaehsTnXaJ8HN48LM","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ghostpaw%2faffinity@0.7.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2996208},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","volta":{"node":"24.14.0"},"module":"./dist/index.js","engines":{"node":">=24"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./mcp":{"import":{"types":"./dist/mcp.d.ts","default":"./dist/mcp.js"},"require":{"types":"./dist/mcp.d.cts","default":"./dist/mcp.cjs"}},"./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/Anonyfox","type":"github"},"gitHead":"66c52712edaa2ac0a39428af0bd4d6ff7f5fe876","mcpName":"io.github.GhostPawJS/affinity","scripts":{"dev":"tsup --watch","sea":"node scripts/sea/build.mjs","lint":"biome check","mcpb":"node scripts/mcpb/build.mjs","test":"node --experimental-strip-types --test --test-reporter=dot 'src/**/*.test.ts'","bench":"npm run build && node scripts/bench/bench.mjs","build":"tsup","check":"npm run check:types && npm run check:lint && npm test && npm run build && npm run check:deps && npm run check:surfaces && npm run check:size && npm run check:api && npm run check:consumer && npm run check:startup && npm run check:ratchet","clean":"rm -rf dist demo","format":"biome format --write","version":"node scripts/sync_version.mjs && npm run surfaces && git add src/version.ts SKILL.md skills plugin.json mcp.json server.json .claude-plugin mcpb && biome format --write package.json package-lock.json && git add package.json package-lock.json","lint:fix":"biome check --fix","surfaces":"node --experimental-strip-types scripts/surfaces/generate.mjs","check:api":"node scripts/guard/api.mjs","sea:bench":"node scripts/sea/bench.mjs","sea:smoke":"node scripts/sea/smoke.mjs","typecheck":"tsc --noEmit","check:deps":"node scripts/check-zero-deps.mjs","check:lint":"biome check","check:size":"node scripts/guard/size.mjs","demo:build":"node scripts/build_demo.mjs","demo:serve":"npm run demo:build && node scripts/serve_demo.mjs","demo:watch":"node scripts/build_demo.mjs --watch","check:types":"tsc --noEmit","check:ratchet":"node --test scripts/guard/*.test.mjs && node scripts/guard/ratchet.mjs","check:startup":"node scripts/guard/startup.mjs","release:major":"npm version major && git push && git push --tags","release:minor":"npm version minor && git push && git push --tags","release:patch":"npm version patch && git push && git push --tags","budgets:update":"npm run build && node scripts/guard/size.mjs --update && node scripts/guard/api.mjs --update && node scripts/guard/startup.mjs --update","check:consumer":"node scripts/guard/consumer.mjs","check:surfaces":"node --experimental-strip-types scripts/surfaces/generate.mjs --check","prepublishOnly":"npm run check"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"3769a07b-0f9d-4a92-a3fe-6d1596c68221"}},"overrides":{"esbuild":"$esbuild"},"repository":{"url":"git+https://github.com/GhostPawJS/affinity.git","type":"git"},"_npmVersion":"11.9.0","description":"Relationship intelligence and social CRM model for Node.js — SQLite, zero dependencies, with a built-in LLM tool facade","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","fflate":"0.8.3","preact":"^10.29.0","sql.js":"^1.14.1","esbuild":"^0.28.1","typescript":"^5.8.2","@types/node":"^24.12.0","@types/sql.js":"^1.4.10","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/affinity_0.7.1_1794311604934_0.9680638409101233","host":"s3://npm-registry-packages-npm-production"}},"0.7.2":{"name":"@ghostpaw/affinity","version":"0.7.2","keywords":["affinity","social-crm","relationship-intelligence","contacts","crm","social-graph","network","sqlite","llm","ai","agent","tools","typescript","zero-dependencies","mcp","mcp-server","model-context-protocol","agent-skills","cli","ghostpaw","ai-agents","llm-tools","node-sqlite","local-first"],"author":{"url":"https://anonyfox.com","name":"Anonyfox","email":"max@anonyfox.com"},"license":"MIT","_id":"@ghostpaw/affinity@0.7.2","maintainers":[{"name":"anonyfox","email":"Hisako1337@gmail.com"}],"homepage":"https://affinity.ghostpaw.dev/","bugs":{"url":"https://github.com/GhostPawJS/affinity/issues"},"bin":{"ghostpaw-affinity":"dist/cli.js"},"dist":{"shasum":"b406fa2d739ad41f905789ad86f366124b90ddfd","tarball":"https://registry.npmjs.org/@ghostpaw/affinity/-/affinity-0.7.2.tgz","fileCount":30,"integrity":"sha512-pTGehS4jcZ0p3aYfHvwGaNseNt0h9XLT6/MS6q9xUk96fXQ9pfhlHWlYcZ4+yJ/xDQk69Cl4rXWGNmlzhqGplQ==","signatures":[{"sig":"MEUCIHOrcFviuNv8bD1SqdwjVVtpPB0ZavpO+1o+p2hVQRm1AiEA/cGWABR49n/oHw166uzTHHwXU7+/LZqY9MIshuBxTus=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCICPKwhbjOoS6sFlHdFnGoblOY2mblZA3Msk7X0k6YyBtAiEA0bAUAnS9CyiR47sWZ/EHrsADfQ9jSNX7QIzH0sm2QH0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ghostpaw%2faffinity@0.7.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2887475},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","volta":{"node":"24.14.0"},"module":"./dist/index.js","engines":{"node":">=24"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./mcp":{"import":{"types":"./dist/mcp.d.ts","default":"./dist/mcp.js"},"require":{"types":"./dist/mcp.d.cts","default":"./dist/mcp.cjs"}},"./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/Anonyfox","type":"github"},"gitHead":"abf6e2125309d34069540eb19006b3b9203b00bb","mcpName":"io.github.GhostPawJS/affinity","scripts":{"dev":"tsup --watch","sea":"node scripts/sea/build.mjs","lint":"biome check","mcpb":"node scripts/mcpb/build.mjs","test":"node --experimental-strip-types --test --test-reporter=dot 'src/**/*.test.ts'","bench":"npm run build && node scripts/bench/bench.mjs","build":"tsup","check":"npm run check:types && npm run check:lint && npm test && npm run build && npm run check:deps && npm run check:surfaces && npm run check:size && npm run check:api && npm run check:consumer && npm run check:startup && npm run check:ratchet","clean":"rm -rf dist demo","format":"biome format --write","version":"node scripts/sync_version.mjs && npm run surfaces && git add src/version.ts SKILL.md skills plugin.json mcp.json server.json .claude-plugin mcpb && biome format --write package.json package-lock.json && git add package.json package-lock.json","lint:fix":"biome check --fix","surfaces":"node --experimental-strip-types scripts/surfaces/generate.mjs","check:api":"node scripts/guard/api.mjs","sea:bench":"node scripts/sea/bench.mjs","sea:smoke":"node scripts/sea/smoke.mjs","typecheck":"tsc --noEmit","check:deps":"node scripts/check-zero-deps.mjs","check:lint":"biome check","check:size":"node scripts/guard/size.mjs","demo:build":"node scripts/build_demo.mjs","demo:serve":"npm run demo:build && node scripts/serve_demo.mjs","demo:watch":"node scripts/build_demo.mjs --watch","check:types":"tsc --noEmit","check:ratchet":"node --test scripts/guard/*.test.mjs && node scripts/guard/ratchet.mjs","check:startup":"node scripts/guard/startup.mjs","release:major":"npm version major && git push && git push --tags","release:minor":"npm version minor && git push && git push --tags","release:patch":"npm version patch && git push && git push --tags","budgets:update":"npm run build && node scripts/guard/size.mjs --update && node scripts/guard/api.mjs --update && node scripts/guard/startup.mjs --update","check:consumer":"node scripts/guard/consumer.mjs","check:surfaces":"node --experimental-strip-types scripts/surfaces/generate.mjs --check","prepublishOnly":"npm run check"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"3769a07b-0f9d-4a92-a3fe-6d1596c68221"}},"overrides":{"esbuild":"$esbuild"},"repository":{"url":"git+https://github.com/GhostPawJS/affinity.git","type":"git"},"_npmVersion":"11.9.0","description":"Relationship intelligence and social CRM model for Node.js — SQLite, zero dependencies, with a built-in LLM tool facade","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","fflate":"0.8.3","preact":"^10.29.0","sql.js":"^1.14.1","esbuild":"^0.28.1","typescript":"^5.8.2","@types/node":"^24.12.0","@types/sql.js":"^1.4.10","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/affinity_0.7.2_1794496274890_0.08352970397668147","host":"s3://npm-registry-packages-npm-production"}},"0.7.3":{"_id":"@ghostpaw/affinity@0.7.3","bin":{"ghostpaw-affinity":"dist/cli.js"},"bugs":{"url":"https://github.com/GhostPawJS/affinity/issues"},"dist":{"shasum":"7812d73e7085d4f2dc305d03cc55842469a71939","tarball":"https://registry.npmjs.org/@ghostpaw/affinity/-/affinity-0.7.3.tgz","fileCount":30,"integrity":"sha512-s8hdcl3I1fs3FxiVPY2Jb0gMsEfJQV6Owk/mXVQ74anUtq/fEI9JBZrkd/cQXVphMuJkGHcPEHuqOo1jlLqtrw==","signatures":[{"sig":"MEUCIQDdY/A2DGnUnXCGB0SVId4380jmv62z1YI380GH+8r26QIgZl/wPs+RovyRPTxcBa0GTAt8h+Mm8QWAD1LVFcwEaOg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCl9y7+5vgI0FLognG/nqqRQCZHZxsaUzB/rk0Zp6VVsAIhAMHnu4cufGhzeEfE1YMwYWRbXg4dJHNOpBQEaH0yQAtd"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ghostpaw%2faffinity@0.7.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2892653},"main":"./dist/index.cjs","name":"@ghostpaw/affinity","type":"module","types":"./dist/index.d.ts","volta":{"node":"24.14.0"},"author":{"url":"https://anonyfox.com","name":"Anonyfox","email":"max@anonyfox.com"},"module":"./dist/index.js","engines":{"node":">=24"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./mcp":{"import":{"types":"./dist/mcp.d.ts","default":"./dist/mcp.js"},"require":{"types":"./dist/mcp.d.cts","default":"./dist/mcp.cjs"}},"./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/Anonyfox","type":"github"},"gitHead":"299e966930703f02b6b45ea7617990a3eb0e613f","license":"MIT","mcpName":"io.github.GhostPawJS/affinity","scripts":{"dev":"tsup --watch","sea":"node scripts/sea/build.mjs","lint":"biome check","mcpb":"node scripts/mcpb/build.mjs","test":"node --experimental-strip-types --test --test-reporter=dot 'src/**/*.test.ts'","bench":"npm run build && node scripts/bench/bench.mjs","build":"tsup","check":"npm run check:types && npm run check:lint && npm test && npm run build && npm run check:deps && npm run check:surfaces && npm run check:size && npm run check:api && npm run check:consumer && npm run check:startup && npm run check:ratchet","clean":"rm -rf dist demo","format":"biome format --write","version":"node scripts/sync_version.mjs && npm run surfaces && git add src/version.ts SKILL.md skills plugin.json mcp.json server.json .claude-plugin mcpb && biome format --write package.json package-lock.json && git add package.json package-lock.json","lint:fix":"biome check --fix","surfaces":"node --experimental-strip-types scripts/surfaces/generate.mjs","check:api":"node scripts/guard/api.mjs","sea:bench":"node scripts/sea/bench.mjs","sea:smoke":"node scripts/sea/smoke.mjs","typecheck":"tsc --noEmit","check:deps":"node scripts/check-zero-deps.mjs","check:lint":"biome check","check:size":"node scripts/guard/size.mjs","demo:build":"node scripts/build_demo.mjs","demo:serve":"npm run demo:build && node scripts/serve_demo.mjs","demo:watch":"node scripts/build_demo.mjs --watch","check:types":"tsc --noEmit","check:ratchet":"node --test scripts/guard/*.test.mjs && node scripts/guard/ratchet.mjs","check:startup":"node scripts/guard/startup.mjs","release:major":"npm version major && git push && git push --tags","release:minor":"npm version minor && git push && git push --tags","release:patch":"npm version patch && git push && git push --tags","budgets:update":"npm run build && node scripts/guard/size.mjs --update && node scripts/guard/api.mjs --update && node scripts/guard/startup.mjs --update","check:consumer":"node scripts/guard/consumer.mjs","check:surfaces":"node --experimental-strip-types scripts/surfaces/generate.mjs --check","prepublishOnly":"npm run check"},"version":"0.7.3","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"3769a07b-0f9d-4a92-a3fe-6d1596c68221"}},"homepage":"https://affinity.ghostpaw.dev/","keywords":["affinity","social-crm","relationship-intelligence","contacts","crm","social-graph","network","sqlite","llm","ai","agent","tools","typescript","zero-dependencies","mcp","mcp-server","model-context-protocol","agent-skills","cli","ghostpaw","ai-agents","llm-tools","node-sqlite","local-first"],"overrides":{"esbuild":"$esbuild"},"repository":{"url":"git+https://github.com/GhostPawJS/affinity.git","type":"git"},"_npmVersion":"11.9.0","description":"Relationship intelligence and social CRM model for Node.js — SQLite, zero dependencies, with a built-in LLM tool facade","directories":{},"maintainers":[{"name":"anonyfox","email":"Hisako1337@gmail.com"}],"sideEffects":false,"_nodeVersion":"24.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","fflate":"0.8.3","preact":"^10.29.0","sql.js":"^1.14.1","esbuild":"^0.28.1","typescript":"^5.8.2","@types/node":"^24.12.0","@types/sql.js":"^1.4.10","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/affinity_0.7.3_1795619467499_0.5925358432950326"}}},"time":{"created":"2026-03-23T18:56:52.775Z","modified":"2026-11-25T15:11:08.057Z","0.1.3":"2026-03-23T18:56:53.166Z","0.1.4":"2026-03-29T00:01:47.975Z","0.1.5":"2026-03-29T00:11:09.175Z","0.1.6":"2026-03-29T00:31:31.965Z","0.2.0":"2026-03-30T11:35:04.699Z","0.2.1":"2026-03-30T12:36:57.313Z","0.2.2":"2026-03-30T12:43:09.857Z","0.2.4":"2026-04-06T10:02:51.871Z","0.3.0":"2026-10-24T14:38:42.439Z","0.4.0":"2026-10-27T13:01:49.968Z","0.4.1":"2026-10-27T17:15:11.559Z","0.5.0":"2026-10-27T23:14:41.717Z","0.6.0":"2026-10-28T01:23:54.053Z","0.6.1":"2026-10-29T09:29:26.405Z","0.6.2":"2026-11-04T20:33:15.950Z","0.7.0":"2026-11-05T09:03:12.736Z","0.7.1":"2026-11-10T11:53:25.059Z","0.7.2":"2026-11-12T15:11:15.044Z","0.7.3":"2026-11-25T15:11:07.616Z"},"bugs":{"url":"https://github.com/GhostPawJS/affinity/issues"},"author":{"url":"https://anonyfox.com","name":"Anonyfox","email":"max@anonyfox.com"},"license":"MIT","homepage":"https://affinity.ghostpaw.dev/","keywords":["affinity","social-crm","relationship-intelligence","contacts","crm","social-graph","network","sqlite","llm","ai","agent","tools","typescript","zero-dependencies","mcp","mcp-server","model-context-protocol","agent-skills","cli","ghostpaw","ai-agents","llm-tools","node-sqlite","local-first"],"repository":{"url":"git+https://github.com/GhostPawJS/affinity.git","type":"git"},"description":"Relationship intelligence and social CRM model for Node.js — SQLite, zero dependencies, with a built-in LLM tool facade","maintainers":[{"name":"anonyfox","email":"Hisako1337@gmail.com"}],"readme":"<a href=\"https://affinity.ghostpaw.dev/\"><img src=\"https://raw.githubusercontent.com/GhostPawJS/affinity/main/.github/social-preview.png\" alt=\"GhostPaw affinity: Who have you been meaning to call?\" width=\"100%\"></a>\n\n# @ghostpaw/affinity\n\n[![npm](https://img.shields.io/npm/v/@ghostpaw/affinity?style=flat-square&labelColor=0a1119&color=62e6f2&label=npm)](https://www.npmjs.com/package/@ghostpaw/affinity) [![CI](https://img.shields.io/github/actions/workflow/status/GhostPawJS/affinity/ci.yml?branch=main&style=flat-square&labelColor=0a1119&label=CI)](https://github.com/GhostPawJS/affinity/actions/workflows/ci.yml) [![site](https://img.shields.io/badge/site-affinity.ghostpaw.dev-62e6f2?style=flat-square&labelColor=0a1119)](https://affinity.ghostpaw.dev/) [![runtime deps](https://img.shields.io/badge/runtime_deps-0-7af0b4?style=flat-square&labelColor=0a1119)](package.json) [![MCP Registry](https://img.shields.io/badge/MCP_Registry-io.github.GhostPawJS%2Faffinity-b39dff?style=flat-square&labelColor=0a1119)](https://registry.modelcontextprotocol.io/v0.1/servers/io.github.GhostPawJS%2Faffinity/versions/latest) [![node](https://img.shields.io/badge/node-%E2%89%A524-93a5b9?style=flat-square&labelColor=0a1119)](https://nodejs.org) [![license](https://img.shields.io/npm/l/@ghostpaw/affinity?style=flat-square&labelColor=0a1119&color=93a5b9)](LICENSE) [![Listed on HookMCP](https://hookmcp.com/badge.svg)](https://hookmcp.com)\n\n**Agent contacts: people, promises and yearly dates, with a radar for who is drifting.**\n\nA local social CRM: contacts, identities, relationships, journal events,\ncommitments and recurring dates in one SQLite file. One self-contained binary\nper platform, an MCP server, and a zero-dependency TypeScript library.\n\n## Install\n\nEach line downloads the latest release for one platform, checks it against\n`SHA256SUMS`, puts `ghostpaw-affinity` on your `PATH` and prints the version.\n\n**Linux x64**\n\n```sh\ncd \"$(mktemp -d)\" && T=linux-x64 && V=$(curl -fsSLI -o /dev/null -w '%{url_effective}' https://github.com/GhostPawJS/affinity/releases/latest | sed 's|.*/v||') && F=ghostpaw-affinity-$V-$T.tar.gz && U=https://github.com/GhostPawJS/affinity/releases/download/v$V && curl -fsSL -O \"$U/$F\" -O \"$U/SHA256SUMS\" && grep \" $F\\$\" SHA256SUMS | sha256sum -c - && tar -xzf \"$F\" ghostpaw-affinity && mkdir -p ~/.local/bin && mv ghostpaw-affinity ~/.local/bin/ && { case \":$PATH:\" in *\":$HOME/.local/bin:\"*) ;; *) echo 'export PATH=\"$HOME/.local/bin:$PATH\"' >> ~/.profile; export PATH=\"$HOME/.local/bin:$PATH\";; esac; } && ghostpaw-affinity --version\n```\n\n**Linux arm64**\n\n```sh\ncd \"$(mktemp -d)\" && T=linux-arm64 && V=$(curl -fsSLI -o /dev/null -w '%{url_effective}' https://github.com/GhostPawJS/affinity/releases/latest | sed 's|.*/v||') && F=ghostpaw-affinity-$V-$T.tar.gz && U=https://github.com/GhostPawJS/affinity/releases/download/v$V && curl -fsSL -O \"$U/$F\" -O \"$U/SHA256SUMS\" && grep \" $F\\$\" SHA256SUMS | sha256sum -c - && tar -xzf \"$F\" ghostpaw-affinity && mkdir -p ~/.local/bin && mv ghostpaw-affinity ~/.local/bin/ && { case \":$PATH:\" in *\":$HOME/.local/bin:\"*) ;; *) echo 'export PATH=\"$HOME/.local/bin:$PATH\"' >> ~/.profile; export PATH=\"$HOME/.local/bin:$PATH\";; esac; } && ghostpaw-affinity --version\n```\n\n**macOS Apple silicon**\n\n```sh\ncd \"$(mktemp -d)\" && T=darwin-arm64 && V=$(curl -fsSLI -o /dev/null -w '%{url_effective}' https://github.com/GhostPawJS/affinity/releases/latest | sed 's|.*/v||') && F=ghostpaw-affinity-$V-$T.tar.gz && U=https://github.com/GhostPawJS/affinity/releases/download/v$V && curl -fsSL -O \"$U/$F\" -O \"$U/SHA256SUMS\" && grep \" $F\\$\" SHA256SUMS | shasum -a 256 -c - && tar -xzf \"$F\" ghostpaw-affinity && sudo mkdir -p /usr/local/bin && sudo mv ghostpaw-affinity /usr/local/bin/ && ghostpaw-affinity --version\n```\n\n**macOS Intel**\n\n```sh\ncd \"$(mktemp -d)\" && T=darwin-x64 && V=$(curl -fsSLI -o /dev/null -w '%{url_effective}' https://github.com/GhostPawJS/affinity/releases/latest | sed 's|.*/v||') && F=ghostpaw-affinity-$V-$T.tar.gz && U=https://github.com/GhostPawJS/affinity/releases/download/v$V && curl -fsSL -O \"$U/$F\" -O \"$U/SHA256SUMS\" && grep \" $F\\$\" SHA256SUMS | shasum -a 256 -c - && tar -xzf \"$F\" ghostpaw-affinity && sudo mkdir -p /usr/local/bin && sudo mv ghostpaw-affinity /usr/local/bin/ && ghostpaw-affinity --version\n```\n\n**Windows x64 (PowerShell)**\n\n```powershell\n$r='GhostPawJS/affinity'; $v=(irm \"https://api.github.com/repos/$r/releases/latest\").tag_name; $f=\"ghostpaw-affinity-$($v.TrimStart('v'))-windows-x64.zip\"; $u=\"https://github.com/$r/releases/download/$v\"; $t=(New-Item -ItemType Directory (Join-Path $env:TEMP ([guid]::NewGuid()))).FullName; iwr \"$u/$f\" -OutFile \"$t\\$f\" -UseBasicParsing; iwr \"$u/SHA256SUMS\" -OutFile \"$t\\SHA256SUMS\" -UseBasicParsing; $want=((Get-Content \"$t\\SHA256SUMS\" | Where-Object { $_ -like \"* $f\" }) -split '\\s+')[0]; if (-not $want -or (Get-FileHash \"$t\\$f\" -Algorithm SHA256).Hash -ne $want) { throw \"checksum mismatch for $f\" }; $d=Join-Path $env:LOCALAPPDATA 'Programs\\ghostpaw\\bin'; Expand-Archive \"$t\\$f\" $t -Force; New-Item -ItemType Directory -Force $d | Out-Null; Copy-Item \"$t\\ghostpaw-affinity.exe\" $d -Force; $p=[Environment]::GetEnvironmentVariable('Path','User'); if (\";$p;\" -notlike \"*;$d;*\") { [Environment]::SetEnvironmentVariable('Path',\"$p;$d\",'User') }; $env:Path=\"$d;$env:Path\"; ghostpaw-affinity --version\n```\n\nThese commands install the latest release in `~/.local/bin` on Linux, `/usr/local/bin` on macOS (asks for sudo), or `%LOCALAPPDATA%\\Programs\\ghostpaw\\bin` on Windows; Linux adds it to PATH via `~/.profile` only if missing, and Windows adds it to the user PATH (open a new terminal afterwards). To pin a version, set `V=0.6.0` instead of resolving latest (`$v='v0.6.0'` in PowerShell).\n\nFor a pinned Linux/macOS download to the current directory with no profile or PATH edits, choose the matching `T` (`linux-x64`, `linux-arm64`, `darwin-arm64`, or `darwin-x64`):\n\n```sh\nV=0.6.0\nT=linux-x64\nF=ghostpaw-affinity-$V-$T.tar.gz\nU=https://github.com/GhostPawJS/affinity/releases/download/v$V\ncurl -fsSL -O \"$U/$F\" -O \"$U/SHA256SUMS\" &&\n  { case \"$T\" in darwin-*) grep \" $F\\$\" SHA256SUMS | shasum -a 256 -c - ;; *) grep \" $F\\$\" SHA256SUMS | sha256sum -c - ;; esac; } &&\n  tar -xzf \"$F\" ghostpaw-affinity && ./ghostpaw-affinity --version\n```\n\nThen:\n\n```sh\nghostpaw-affinity contact create '{\"name\":\"Owner\",\"kind\":\"agent\"}' --bootstrap-owner\nghostpaw-affinity contact create '{\"name\":\"Sam\",\"kind\":\"human\"}' --json | jq .id\nghostpaw-affinity search sam\nghostpaw-affinity skill            # cheat sheet and tool reference\n```\n\nContacts live in `~/.ghostpaw/affinity.db` unless `--db <path>` or the\n`GHOSTPAW_AFFINITY_DB` environment variable says otherwise; relative paths\nresolve against the current directory.\n\nA session with the linux-x64 binary against a fresh database:\n\n![ghostpaw-affinity session: version, contact create, a tag, an event and a promise with relative dates, search, an overdue promise in review commitments.open, and the radar](https://raw.githubusercontent.com/GhostPawJS/affinity/main/docs/assets/cli.png)\n\nThe same session as an [animated GIF](https://raw.githubusercontent.com/GhostPawJS/affinity/main/docs/assets/cli.gif).\n\n### npx / npm (for npm-based environments)\n\nThe [npm package](https://www.npmjs.com/package/@ghostpaw/affinity) needs Node 24+\nand has zero runtime dependencies:\n\n```sh\nnpx -y @ghostpaw/affinity --help\nnpm install -g @ghostpaw/affinity   # provides ghostpaw-affinity\n```\n\n### Library (for harnesses)\n\n```sh\nnpm install @ghostpaw/affinity\n```\n\n```ts\nimport { DatabaseSync } from \"node:sqlite\";\nimport { initAffinityTables, read, write, tools } from \"@ghostpaw/affinity\";\n```\n\nSee [Quick Start](#quick-start) and [docs/LLM.md](docs/LLM.md) for the tool facade.\n\n### Other installers and verification\n\nInteractive installers (also verify `SHA256SUMS`):\n\n```sh\ncurl -fsSL https://raw.githubusercontent.com/GhostPawJS/affinity/main/install.sh | sh\n```\n\n```powershell\nirm https://raw.githubusercontent.com/GhostPawJS/affinity/main/install.ps1 | iex\n```\n\n```sh\nmise use -g github:GhostPawJS/affinity\nubi --project GhostPawJS/affinity --exe ghostpaw-affinity --in ~/.local/bin\neget GhostPawJS/affinity\n```\n\nFor [aqua](https://aquaproj.github.io/docs/reference/registry-config/), define a\n`github_release` package in `aqua.yaml`:\n\n```yaml\nregistries:\n  - name: affinity\n    type: local\n    path: affinity-registry.yaml\npackages:\n  - name: GhostPawJS/affinity@v<VERSION>\n    registry: affinity\n```\n\n`affinity-registry.yaml`:\n\n```yaml\npackages:\n  - type: github_release\n    repo_owner: GhostPawJS\n    repo_name: affinity\n    asset: ghostpaw-affinity-{{trimV .Version}}-{{.OS}}-{{.Arch}}.tar.gz\n    format: tar.gz\n    replacements: { amd64: x64 }\n    overrides:\n      - goos: windows\n        asset: ghostpaw-affinity-{{trimV .Version}}-windows-{{.Arch}}.zip\n        format: zip\n    files:\n      - name: ghostpaw-affinity\n```\n\n`SHA256SUMS` covers every archive and `server.mcpb`. To verify a downloaded\narchive's [build attestation](https://cli.github.com/manual/gh_attestation_verify):\n\n```sh\ngh attestation verify <archive> -R GhostPawJS/affinity\n```\n\nSet `GHOSTPAW_VERIFY=attestation` for attestation verification in `install.sh`.\nBinaries are unsigned; macOS binaries carry an ad-hoc signature. For a browser\ndownload on macOS, remove quarantine with\n`xattr -d com.apple.quarantine /path/to/ghostpaw-affinity`.\nLinux binaries require glibc 2.28+; use npx on Alpine.\nSee the [binary build workflow](.github/workflows/release-binaries.yml).\n\nEach archive is roughly 40-46 MB (the binary embeds the Node runtime, 105-150 MB\nunpacked); the npm package is about 2 MB unpacked. Every release, including the\none-liners above, is installed and run on ubuntu-24.04, macos-15 and\nwindows-2025 by the [install check](.github/workflows/install-check.yml).\n\n\n## Running inside sandboxed agent harnesses\n\nInside a Codex CLI `--sandbox workspace-write` session, the database and its\nparent directory must be inside a writable root, including SQLite's `-wal` and\n`-shm` side files. A default DB under `~/.ghostpaw` outside those roots can fail\nwith `SQLITE_CANTOPEN` or `EPERM` (often exit 70; directory creation failures\nmay exit 2), even when normal shell permissions allow access. Put the DB inside the workspace with `--db ./state/affinity.db`,\nor set `GHOSTPAW_AFFINITY_DB=\"$PWD/state/affinity.db\"` for CLI/MCP use.\n\nTo use an external DB directory, add it when starting the OpenAI Codex CLI\n(replace `<dir-with-db>` with its absolute path):\n\n```sh\ncodex exec --sandbox workspace-write --add-dir <dir-with-db> \"Run the GhostPaw CLI\"\n```\n\nAlternatively, set `sandbox_workspace_write.writable_roots` in\n`~/.codex/config.toml` before starting the session:\n\n```toml\n[sandbox_workspace_write]\nwritable_roots = [\"/absolute/dir-with-db\"]\n```\n\n## MCP server\n\nEvery client below starts the same stdio server: `ghostpaw-affinity mcp`.\nWithout the binary, use `npx -y @ghostpaw/affinity mcp` as the command instead.\n\n**Claude Code**\n\n```bash\nclaude mcp add ghostpaw-affinity -- ghostpaw-affinity mcp\n```\n\nor as a plugin, which also installs the skill:\n\n```bash\n/plugin marketplace add GhostPawJS/affinity\n/plugin install ghostpaw-affinity@ghostpaw-affinity\n```\n\n**Codex CLI** (`~/.codex/config.toml`)\n\n```toml\n[mcp_servers.ghostpaw-affinity]\ncommand = \"ghostpaw-affinity\"\nargs = [\"mcp\"]\n```\n\n**Cursor** (`.cursor/mcp.json`), **Claude Desktop** (`claude_desktop_config.json`)\nor a project `.mcp.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"ghostpaw-affinity\": {\n      \"command\": \"ghostpaw-affinity\",\n      \"args\": [\"mcp\"]\n    }\n  }\n}\n```\n\nClaude Desktop users can also install `server.mcpb` from the\n[latest GitHub release](https://github.com/GhostPawJS/affinity/releases/latest).\nA Dockerfile is included for container hosts:\n`docker build -t ghostpaw-affinity . && docker run -i --rm -v affinity:/data ghostpaw-affinity`.\n\nThe server speaks MCP 2026-07-28 (stateless, `server/discover`) and the\ninitialize-based revisions 2025-11-25, 2025-06-18, 2025-03-26 and 2024-11-05.\n\n### Agent Skill\n\n`SKILL.md` (repo root) and `skills/affinity/SKILL.md` follow the\n[Agent Skills](https://agentskills.io) format and ship in the npm package.\nCopy `skills/affinity/` into your agent's skills folder, or print it:\n\n```bash\nghostpaw-affinity skill > SKILL.md\nghostpaw-affinity skill --list       # workflow guides\nghostpaw-affinity skill bootstrap-and-cold-start\n```\n\n## Events\n\nRecord events and commitments with an optional `externalRef: {source, id}`.\nBoth values are trimmed and non-empty; source is lowercased. The pair is unique\nacross the database. Repeated intake returns the original event and `no_op`,\nwithout creating rows or relationship effects.\n\n`content` preserves text exactly, including whitespace, empty strings and NUL,\nup to 1 MB (1,048,576 UTF-8 bytes). Supply a short `summary`, or omit it to derive\none from the first non-empty content line (at most 140 characters; empty text\nbecomes `(no text)`). Unknown event fields and moment kinds are validation errors.\nJournal/timeline rows omit content by default; use `{includeContent: true}` in\nlibrary/tool options or CLI `--with-content`. Content appears once in review JSON.\n\nEvents support a free-text `channel` (trimmed, lowercased, at most 40 characters),\n`parentRef`, `parentEventId`, and a root `threadRef`. Journal, timeline, moments,\nand open commitment reviews accept a channel filter. Set event attributes with\n`write.setAttribute(db, {kind: \"event\", eventId}, name, value)`; unset and replace\nuse the same target and validation as contact/link attributes.\n\nRead exact events with `read.getEventById(db, eventId)` or\n`read.getEventByExternalRef(db, source, id)`. `read.searchEvents` searches folded\nsummary, content, reference and channel text. The search tool's `scope` is\n`contacts` by default, with additive `events` and `all` modes.\n`read.getEventThread(db, source, id)` returns a root and its descendants in time\norder, including parents imported after their children.\n\n`write.reviseEvent(db, eventIdOrTarget, patch)` accepts summary, content,\noccurredAt, significance, channel, type within the same event family, and an\nexternalRef only when absent. `write.deleteEvent(db, eventIdOrTarget,\n{confirm: true})` removes evidence, participants, attributes and link effects,\nthen replays surviving effects and refreshes rollups. Targets can also be\n`{ref: {source, id}}`. Existing 0.5.x databases migrate through\n`initAffinityTables`. Historical affinity/trust/rank baselines are recovered\nfrom saved deltas; historical cadence and state before evidence were not stored\nand use the default cadence and active state during replay.\n\n## CLI\n\n```sh\nexport GHOSTPAW_AFFINITY_DB=~/crm/affinity.db      # or --db <path>\nghostpaw-affinity contact create '{\"name\":\"Fox\",\"kind\":\"human\",\"bootstrapOwner\":true}'\nghostpaw-affinity search \"jana\"                     # names, identities, tags, attributes, roles, events\nghostpaw-affinity contact create '{\"name\":\"Jana Petersen\",\"kind\":\"human\"}'\nghostpaw-affinity identity add --contact '{\"contactId\":2}' --input '{\"type\":\"email\",\"value\":\"jana@example.com\"}'\nghostpaw-affinity event record --kind interaction --input '{\"type\":\"conversation\",\"occurredAt\":\"today\",\"summary\":\"Call re pilot\",\"significance\":6,\"participants\":[{\"contactId\":2,\"role\":\"recipient\",\"directionality\":\"mutual\"}]}'\nghostpaw-affinity commitment record --input '{\"commitmentType\":\"promise\",\"occurredAt\":\"today\",\"dueAt\":\"+3d\",\"summary\":\"Send proposal\",\"significance\":6,\"participants\":[{\"contactId\":2,\"role\":\"recipient\"}]}'\nghostpaw-affinity attribute set --target '{\"kind\":\"contact\",\"contact\":{\"contactId\":2}}' --name tag:gastro --value null\nghostpaw-affinity review contacts.list --tag gastro\nghostpaw-affinity review contacts.list --attribute pipeline_stage=proposal\nghostpaw-affinity review commitments.open            # overdue promises are flagged\nghostpaw-affinity review links.radar                 # who is drifting, with reasons\nghostpaw-affinity show contact_profile --contact '{\"contactId\":2}'\nghostpaw-affinity contact export --contact '{\"contactId\":2}'   # omit --contact for the whole database\nghostpaw-affinity contact delete --contact '{\"contactId\":2}' --confirm\n```\n\n`ghostpaw-affinity skill` prints the full cheat sheet; `skill --list` and\n`skill <guide>` print the workflow guides.\n\n```text\nghostpaw-affinity search <query> [--tag T] [--attribute name[=value]]\nghostpaw-affinity review <view> [--tag T] [--attribute name[=value]]\nghostpaw-affinity show <owner_profile|contact_profile|link> [--contact JSON --link JSON]\nghostpaw-affinity contact create|revise|lifecycle|export|delete|merge\nghostpaw-affinity identity add|revise|verify|remove [flags]\nghostpaw-affinity relationship add|bond|state|tie|untie [flags]\nghostpaw-affinity commitment record|resolve [flags]\nghostpaw-affinity attribute set|unset|replace [flags]\nghostpaw-affinity date add|revise|remove [flags]\nghostpaw-affinity event record [flags]\nghostpaw-affinity show event --event-id 12\nghostpaw-affinity show event --ref-source bluesky --ref-id at://record\nghostpaw-affinity search --scope events \"text or record id\"\nghostpaw-affinity review events.contact_journal --contact '{\"contactId\":2}' --with-content --channel bluesky\nghostpaw-affinity review events.thread --ref-source bluesky --ref-id at://root\nghostpaw-affinity event revise --event-id 12 --patch '{\"summary\":\"Corrected\"}'\nghostpaw-affinity event delete --event-id 12 --confirm\nghostpaw-affinity duplicate dismiss|undismiss [flags]\nghostpaw-affinity mcp|skill|tools|describe|call|completions|version|help\n```\n\nThere are 29 domain commands. `review` accepts the existing view names,\nincluding `contacts.list`, `contacts.duplicates` and `dates.upcoming`.\n`show` selects an inspection kind; contact and link locators are JSON objects.\nUse `help contact` or `contact create --help` for schema-derived help; a\nmistyped command suggests the closest one. Nested payloads use JSON or `@path`\nto read a file; repeated array flags accept JSON objects\n(`--entries '{\"name\":\"a\",\"value\":\"x\"}'`) or one JSON array.\n\nEvery time field accepts epoch milliseconds, ISO 8601 with `Z` or an offset,\n`YYYY-MM-DD`, `DD.MM.YYYY`, `today`, `tomorrow`, `yesterday` and signed day offsets\nsuch as `+3d` or `-2d`, with the same grammar in CLI, MCP and direct tool calls.\nDate-only values preserve their calendar day: timestamps use UTC midnight, or\n23:59:59.999Z for `dueAt`. Keywords first resolve against the process local\ncalendar date; this is the only time-zone-dependent parsing step. `occurredOn`\nand `dueOn` retain the input day (the written offset day for ISO inputs; UTC day\nfor epoch inputs). Existing rows derive these fields from their UTC timestamps.\nReview rows for dates include `occursOn`, the anchor occurrence day; the library\nkeeps its numeric `occursOn` sorting key and adds `occursOnDate`.\nThe existing `*Iso` fields remain UTC. Overdue commitments compare the local\ndate to `dueOn`. Future events carry a `future_event` warning and do not count\nas contact until their timestamp and day arrive. Commitments and their\nresolutions do not reset recency or cadence. Radar marks `drift` after a gap\nexceeds 1.5 times the expected cadence and explains its reasons in the snippet.\n\nGlobal flags: `--db <path>`, `--json`, `-q, --quiet`, `--compact`,\n`--help`/`-h`, `--version`/`-V`/`-v`, `--no-color`.\n`NO_COLOR` is accepted. In a terminal, commands print a readable summary with\nnames and dates. With `--json` or piped stdout they print the tool result as\nJSON with ISO date siblings and floats rounded to three decimals. Journal review rows\nkeep one summary and compact `{id,name,role}` participants. Radar rows keep one link\nid, counterparty name, reasons and rounded scores; upcoming link dates omit radar\nscores. Default piped writes and `--compact` keep primary and changed ids plus\nwarnings; explicit `--json` retains full mutation detail. `--compact`\nremoves indentation and empty receipt arrays. `-q, --quiet` suppresses stdout.\nWhen a command opens the default database, the CLI prints `using default db <path>`\nto stderr. Suppress this notice with `-q, --quiet` or `GHOSTPAW_QUIET=1`.\nWrites list what changed in `data.changes`, and creates warn about likely\nduplicates. Kebab-case flags map to schema properties. `--` ends flags.\nA positional `-`, or piped stdin when no other arguments are given, reads a\nJSON object (`echo '{\"name\":\"Sam\",\"kind\":\"human\"}' | ghostpaw-affinity contact create`).\nExplicit flags override stdin fields.\nDatabase selection uses `--db`, `GHOSTPAW_AFFINITY_DB`, then\n`~/.ghostpaw/affinity.db`; relative paths resolve against the current\ndirectory, and `--help` shows the resolved path. A new database is reported on\nstderr. These commands work offline.\n\n| Exit | Result |\n|---|---|\n| 0 | Success, including no_op |\n| 1 | Other tool error |\n| 2 | Usage, schema or invalid input |\n| 3 | Clarification needed or not found |\n| 4 | Conflict, already resolved or version mismatch |\n| 70 | Internal error |\n\nErrors go to stderr. With `--json`, errors also print to stdout.\n`--version` names the variant: `affinity 0.5.0 (binary, linux-x64)`,\n`(npm)` or `(library)`. Use `--version --short` in scripts for exact semver\nmatching. `--version --json` returns `name`, `version`, `variant` and `target`\n(the target is null outside a binary). `version --short` and `version --json`\nare equivalent.\n\nRead commands (search, show, review and contact export, including direct tool\ncalls) exit 3 on a missing database without creating files:\n`Database not found: <path> (it is created by the first write)`.\nThe first write creates the database and reports `created <path>` on stderr.\nRead commands open SQLite read-only: they never initialize or migrate the schema\nor switch journal mode. Explicit `:memory:` stores retain transient initialization\nand then enable query-only mode. This also applies to read-only facade tools over MCP.\nWrites upgrade older schemas and print `Affinity database schema upgraded.` to\nstderr when the schema changes. Run `ghostpaw-affinity migrate --db <path>` to\nupgrade explicitly. Reads that require a newer schema suggest this command.\nMCP opens the database per tool call; its first write creates the database.\n\nString-valued flags such as `--value Hamburg`, `--bond 'Warm lead'` and\n`--reason 'Different people'` accept plain strings or JSON strings/null.\nObject and array flags still require JSON. Tag filters accept both\n`--tag gastro-radar` and `--tag tag:gastro-radar`.\nPer-command `--help` lists the fields used by that action. Unknown subcommands\nsuggest a valid command, including with `--help`: `contact update` suggests\n`contact revise`, which accepts contact patches such as `doNotContact`.\n\nLegacy `tools [--json]`, `describe <tool>`,\n`call <tool> [JSON|-]` and `<tool_name> --parameter value` remain available.\n`completions bash|zsh|fish` prints shell scripts.\n\n## Quick Start\n\n```ts\nimport { DatabaseSync } from \"node:sqlite\";\nimport { initAffinityTables, read, write } from \"@ghostpaw/affinity\";\n\nconst db = new DatabaseSync(\":memory:\");\ndb.exec(\"PRAGMA foreign_keys = ON\");\ninitAffinityTables(db);\n\nconst { primary: owner } = write.createContact(db, {\n  name: \"Mika\",\n  kind: \"human\",\n  bootstrapOwner: true,\n});\n\nconst { primary: ada } = write.createContact(db, {\n  name: \"Ada Lovelace\",\n  kind: \"human\",\n});\n\nwrite.addIdentity(db, ada.id, {\n  type: \"email\",\n  value: \"ada@example.com\",\n});\n\nwrite.recordInteraction(db, {\n  type: \"conversation\",\n  occurredAt: Date.now(),\n  summary: \"Coffee together\",\n  significance: 6,\n  participants: [\n    { contactId: owner.id, role: \"actor\", directionality: \"mutual\" },\n    { contactId: ada.id, role: \"recipient\", directionality: \"mutual\" },\n  ],\n});\n\nconst profile = read.getContactProfile(db, ada.id);\nconst radar = read.listRadar(db);\n```\n\n## Docs\n\nThe live demo runs the library in your browser against an in-memory SQLite database. Each view below opens a different part of it:\n\n- [Dashboard](https://affinity.ghostpaw.dev/docs/): overview and session\n- [Contacts](https://affinity.ghostpaw.dev/docs/#/contacts): people, companies, groups and pets you track\n- [Relationships](https://affinity.ghostpaw.dev/docs/#/relationships): links, rank and bonds\n- [Timeline](https://affinity.ghostpaw.dev/docs/#/timeline): events, commitments and date anchors\n- [Insights](https://affinity.ghostpaw.dev/docs/#/insights): radar and analytics\n\n## The Model\n\nEight concepts, strict separation of concerns:\n\n| Concept | Purpose |\n|---|---|\n| **Contact** | Any tracked entity: person, company, team, service, pet, household, or group |\n| **Identity** | Exact recognition and routing handle such as email, phone, URL, or account id |\n| **Social Link** | A live relationship track with Rank, Affinity, Trust, cadence, Bond, and state |\n| **Tie** | A structural fact such as `works_at`, `belongs_to`, `reports_to`, or kinship |\n| **Journal Entry** | Recorded evidence: interaction, observation, milestone, transaction, or commitment |\n| **Date Anchor** | A recurring yearly date such as a birthday, anniversary, renewal, or memorial |\n| **Attribute** | Flexible metadata and preference layer for contacts and links |\n| **Affinity Chart** | Derived graph view of the active relationship network |\n\nThe model means each kind of truth has its own home:\n\n| What it looks like | What it actually is |\n|---|---|\n| A person, company, team, service, or household | A Contact |\n| An email address or handle | An Identity |\n| A friendship or business relationship that changes over time | A Social Link |\n| Employment, hierarchy, family, or membership | A Tie |\n| “We talked yesterday” | A Journal entry |\n| “I promised to send the recap” | A commitment-shaped Journal entry |\n| “Their birthday is important every year” | A Date Anchor |\n\nState is derived, not hand-toggled. Rank, hidden Affinity, Trust movement,\nMoments, drift, readiness, and graph bridge significance are computed from\nevidence and explicit structural truth, not caller-written status flags.\n\n## Two Audiences\n\n### Human developers\n\nUse the `read` and `write` namespaces for direct-code access to the domain:\n\n```ts\nimport { read, write } from \"@ghostpaw/affinity\";\n\nwrite.createContact(db, { name: \"Ada\", kind: \"human\" });\nwrite.addIdentity(db, contactId, { type: \"email\", value: \"ada@example.com\" });\nwrite.recordInteraction(db, {\n  type: \"support\",\n  occurredAt: now,\n  summary: \"Helped prepare for a difficult meeting\",\n  significance: 7,\n  participants: [\n    { contactId: ownerId, role: \"actor\", directionality: \"mutual\" },\n    { contactId, role: \"recipient\", directionality: \"mutual\" },\n  ],\n});\n\nconst profile = read.getContactProfile(db, contactId);\nconst radar = read.listRadar(db);\n```\n\nSee [HUMAN.md](docs/HUMAN.md) for the full direct-code guide with modeling\nboundaries and worked examples.\n\n### LLM agents\n\nUse the `tools`, `skills`, and `soul` namespaces for a structured runtime\nsurface designed to minimize LLM cognitive load:\n\n```ts\nimport { tools, skills, soul } from \"@ghostpaw/affinity\";\n\nconst allTools = tools.affinityTools;\nconst searchTool = tools.getAffinityToolByName(\"search_affinity\")!;\nconst result = searchTool.handler(db, { query: \"email:ada@example.com\" });\n\nconst allSkills = skills.affinitySkills;\nconst prompt = soul.renderAffinitySoulPromptFoundation();\n```\n\nEvery tool returns a discriminated result with `outcome: \"success\" | \"no_op\" |\n\"needs_clarification\" | \"error\"`, structured entities, next-step hints, and\nactionable recovery signals.\n\nSee [LLM.md](docs/LLM.md) for the full AI-facing guide covering soul, tools,\nand skills.\n\n## Tools\n\nTwelve tools shaped around operator intent, not raw storage operations:\n\n| Tool | What it does |\n|---|---|\n| `check_contactable` | Check direct and inherited do-not-contact flags before outreach (CLI: `check contactable`) |\n| `search_affinity` | Search contacts by natural key or name |\n| `review_affinity` | Dashboard-style list and graph review views |\n| `inspect_affinity_item` | Open one exact profile or link detail |\n| `manage_contact` | Create, revise, or change contact lifecycle |\n| `merge_contacts` | Merge duplicate contacts safely |\n| `manage_duplicate_dismissal` | Dismiss or restore a suspected duplicate pair |\n| `manage_identity` | Add, revise, verify, or remove identities |\n| `manage_relationship` | Seed social links, revise bond/state, manage structural ties |\n| `record_event` | Record direct evidence, observations, milestones, or transactions |\n| `manage_commitment` | Record or resolve obligations |\n| `manage_date_anchor` | Add, revise, or remove recurring important dates |\n| `manage_attribute` | Set, unset, or replace contact/link metadata |\n\nEach tool exports runtime metadata, JSON-Schema-compatible inputs, and\nstructured outputs so harnesses can wire them without parsing vague prose.\n\n## Key Properties\n\n- **Zero runtime dependencies.** Only `node:sqlite` (built into Node 24+).\n- **Single prebundled blob.** One ESM + one CJS entry in `dist/`. No subpath\n  exports, no code splitting.\n- **Pure SQLite storage.** CHECK-constrained state, trigger-maintained support\n  tables, and deterministic derived reads. Bring your own `DatabaseSync`.\n- **Derived mechanics.** Rank, hidden Affinity, Trust, cadence, Moments, Radar,\n  and bridge significance are computed from evidence and structure, never\n  directly caller-set.\n- **Intention-shaped writes.** `createContact`, `setStructuralTie`,\n  `recordInteraction`, `recordCommitment`, `addDateAnchor`, `mergeContacts`:\n  operations that say what happened or what truth changed, not generic CRUD.\n- **Additive AI runtime.** `soul` for posture, `tools` for actions, `skills` for\n  workflow guidance.\n- **Colocated tests.** Every non-type module has a colocated `.test.ts` file.\n  The documented behavior is backed by executable coverage.\n\n## Package Surface\n\n```ts\nimport {\n  initAffinityTables,  // schema setup\n  read,                // all query functions\n  write,               // all mutation functions\n  tools,               // LLM tool definitions + registry\n  skills,              // LLM workflow skills + registry\n  soul,                // thinking foundation for system prompts\n} from \"@ghostpaw/affinity\";\n```\n\nAll domain and runtime types are also available at the root for TypeScript\nconsumers:\n\n```ts\nimport type {\n  AffinityDb,\n  ContactKind,\n  LinkState,\n  ContactProfileRecord,\n  AffinityChartRecord,\n  AffinityToolDefinition,\n  AffinitySkill,\n  AffinitySoul,\n} from \"@ghostpaw/affinity\";\n```\n\n## Documentation\n\n| Document | Audience |\n|---|---|\n| [HUMAN.md](docs/HUMAN.md) | Human developers using the low-level `read` / `write` API |\n| [LLM.md](docs/LLM.md) | Agent builders wiring `soul`, `tools`, and `skills` into LLM systems |\n| [docs/README.md](docs/README.md) | Architecture overview: model, invariants, mechanics, and source layout |\n| [docs/entities/](docs/entities/) | Per-concept manuals with exact inlined public API listings |\n| [docs/USECASES.md](docs/USECASES.md) | Long-form lifecycle narratives across personal, business, and AI-memory angles |\n\n## Development\n\n```bash\nnpm install\nnpm test            # node:test runner\nnpm run typecheck   # tsc --noEmit\nnpm run lint        # biome check\nnpm run build       # ESM + CJS + declarations via tsup\n```\n\nThe repo is pinned to **Node 24.14.0** via `.nvmrc` / `.node-version` /\n`.tool-versions` / `mise.toml` / Volta. Use whichever version manager you\nprefer.\n\n### Support\n\nIf this package helps your project, consider sponsoring its maintenance:\n\n[![GitHub Sponsors](https://img.shields.io/badge/Sponsor-EA4AAA?style=for-the-badge&logo=github&logoColor=white)](https://github.com/sponsors/Anonyfox)\n\n---\n\n**[Anonyfox](https://anonyfox.com) • [MIT License](LICENSE)**\n\n### Social imports and batch writes\n\nContact creation accepts `identities` and `ifExists: \"error\" | \"return\"` in the\nlibrary and tools. Identity ownership conflicts fail atomically (CLI exit 4),\nincluding `data.existingContactId` and `error.details.existingContactId` in tool\nresults. `contact create '<JSON>' --if-exists return` returns the existing contact\nwith `outcome: \"no_op\"` and `matchedIdentities`; it attaches nothing, including\nother free identities. Name-only duplicates still receive a possible-duplicate\nwarning. Links can opt into `input.ifExists: \"return\"` when seeding repeatedly. Identity\naddition supports the same opt-in policy for an identity already on that contact;\nanother contact still conflicts. Importers add changed handles separately after\ncontact creation.\n\nHandle identities strip a leading `@` and lowercase on add, revise and lookup.\nBluesky handles must be domain-like, X/Twitter handles have 1–15 letters, digits\nor underscores, and Mastodon handles use `user@host.tld`. Use native `did` (alias\n`atproto_did`) for stable AT Protocol identities. Locators also find legacy\n`custom:atproto-did` rows. Keep former handles as additional identities.\n`search @handle` works because CLI values are literal.\n\nOnly the JSON payload arguments (`--input`, the positional `<input>`, `--patch`\nand the `call` argument) read files. Their help line ends with\n`(@file, @- stdin, @@ literal @)`: `@path` reads the file as UTF-8 relative to\nthe current directory, `@-` reads stdin, and `@@text` passes the literal\n`@text`. An empty path (`@`) or an unreadable file exits 2. Every other value,\nincluding names, notes, attribute values and search queries, is taken byte for\nbyte, even with a leading `@` or `@@`.\n\nFor large payloads use stdin or `@file` to avoid the operating system's argv\nsize limit (`E2BIG`). JSON flag values support `-` too:\n\n```sh\nghostpaw-affinity event record --kind interaction --input - < event.json\nghostpaw-affinity event record --kind interaction --input @event.json\nghostpaw-affinity review events.contact_journal --contact '{\"contactId\":2}' --event-types '[\"conversation\",\"observation\"]'\n```\n\nArray flags accept JSON arrays, comma lists, or repeated flags. Unknown event\ntypes fail with exit 2 and allowed values. SQLite timestamps such as\n`2026-10-27 17:51:33` use UTC; explicit offsets are honored. Sub-millisecond\nfractions are truncated to milliseconds. CLI/MCP and tool intake preserve\nhigh-precision occurredAt/dueAt strings in provenance.rawOccurredAt/rawDueAt.\nInspect an event to read its provenance. Null `occurredAt` is invalid.\n\nRecord likes, reposts and follows as observations with `affectsBond: false`.\nLabels beginning with like/liked, follow/followed/following or repost/reposted\n(case insensitive, followed by a word boundary, hyphen or underscore) default to\nfalse for activity, milestone and observation events (except “follow up”). Observations with significance <= 2 also default to\nfalse; other events default to true. Explicit affectsBond:true opts in. These ambient records stay in the journal without changing affinity or\nrecency. `provenance.ambient: true` also suppresses bond effects. Explicitly\noutbound-only evidence contributes much less and does not reset radar recency;\nwithout reciprocal contact it generates no routine check-in or drift prompt.\nInclude the owner explicitly with the correct actor/recipient role and use\n`owner_initiated`, `other_initiated`, or `mutual` directionality. Observations and\nfollow-like milestones never derive breakthroughs; low-significance milestones\ndo not derive moments. An explicit `momentKind` is honored.\n\nList reviews default to 50 rows, accept `--limit` (up to 10,000) and `--offset`,\nand include `total` and `hasMore`. Follow `hasMore` rather than assuming the\nfirst page is complete.\n\nThread reviews honor `--event-types` before paging. `--with-content` includes\nverbatim text once in CLI JSON; `--include-content` remains a deprecated alias.\nDuplicate reviews default to `--min-score 0.5`; pass `--min-score 0` for weaker\ncandidates. Library duplicate candidate reads retain their existing default.\n\nEvent attribute tool targets accept `{kind:\"event\",ref:{source:\"bsky\",id:\"uri\"}}`\nas an alternative to `{kind:\"event\",eventId:1}`. Setting an unchanged attribute\nreturns `no_op` without changing its timestamp; batch retries count as `noOp`.\nExports resolve parent references to `parentEventId`, including parents imported\nlater. Existing stored IDs and external-reference fields remain available.\n\n`batch` reads one tool invocation per JSONL line, with one transaction for the\nwhole input by default, or one per `--chunk N` lines. Each line has its own\nsavepoint: failed lines roll back and later lines continue. `--stop-on-error`\nstops at the first failure. Results are JSONL `{line, ok, outcome, id, error?}`\nplus `{done, created, noOp, failed}`; created counts successful non-no-op lines.\nExit status is 0 for success, 1 for failures, or 2 if a line is invalid JSON.\nCommitted chunks remain committed if a later chunk fails.\n\n```jsonl\n{\"tool\":\"manage_contact\",\"args\":{\"action\":\"create\",\"input\":{\"name\":\"Owner\",\"kind\":\"human\",\"bootstrapOwner\":true,\"ifExists\":\"return\",\"identities\":[{\"type\":\"did\",\"value\":\"did:plc:owner\"}]}}}\n{\"op\":\"event\",\"kind\":\"observation\",\"input\":{\"occurredAt\":\"2026-10-27\",\"content\":\"\",\"significance\":1,\"affectsBond\":false,\"externalRef\":{\"source\":\"bluesky\",\"id\":\"at://example/like/1\"},\"participants\":[{\"contactId\":1,\"role\":\"actor\"}]}}\n```\n\n```sh\nghostpaw-affinity batch --chunk 500 < import.jsonl\nnode scripts/examples/import_social_jsonl.mjs scripts/examples/fixtures/social_sample.json | ghostpaw-affinity --db /tmp/social-demo.db batch\nnode scripts/examples/import_dry_run.mjs\n```\n\nThe dependency-free example consumes a JSON export shaped as accounts, posts,\ninteractions and follows; it never opens the source database. It resolves handle\naliases to DIDs, deduplicates record URIs, keeps content verbatim, sets channel,\nparent references and directionality, and uses first_seen for undated follows\nor counts a skipped timestamp. The dry run checks two imports, DID uniqueness\nand byte-identical content, and reports journal JSON bytes versus raw text bytes.\nExamples and synthetic fixtures are development files, outside the npm package.\n\n`ghostpaw-affinity skill --short` prints the compact command reference without\nfrontmatter or an appendix. `skill --list` lists guides; `skill <guide>` reads one.\n\n### Agent relationships\n\nContacts also support kind `agent` for a non-human operator or bot. Use a stable\nidentity type `custom:<system>-agent` with the agent id as its value.\nRead `ghostpaw-affinity skill operate-agent-relationships` for the coaching workflow:\nrecord each 1:1 as an interaction, track agreed changes as agent-actor promises due\nat the next slot, and resolve kept or broken at verification. Track owner decisions\nwithout due dates on the owner-side contact. Scheduling stays in a task tool.\n\nPin a fixed rhythm with `manage_relationship` action `seed_social_link`,\n`input: {kind: \"professional\", cadenceDays: 7}`. Revise existing links with action\n`revise`, `link: {linkId}`, `patch: {cadenceDays: 7}`; `cadenceDays: null`\nunpins and restores derived cadence. Positive fractional days are accepted.\nWhen upgrading a database with the previous contact-kind constraint, initialize\noutside a caller transaction so SQLite can preserve foreign-key references while\nrebuilding the contacts table. CLI and MCP handle this during startup.\nLink results expose effective `cadenceDays` and `cadencePinned`.\nContact profiles include open commitments with id (eventId), type, summary, due and\noverdue status. `describe manage_relationship` lists nested seed and revise fields.\n\nPayload fields and examples are included in each command's `--help`. Inspect the\nJSON schema with `ghostpaw-affinity describe event record` (or `describe \"event record\"`),\nand select a variant with `--kind interaction`. `describe <tool>` retains its tool details.\nJSON patches and other object arguments are documented in command help; batch\naccepts JSONL `{tool,args}` or `{op:\"event\",kind,input}` records using the same tool schemas.\n\n### Owner bootstrap and contact safety\n\nCreate the owner **before recording events**. For a bot use kind `agent`:\n\n```sh\nghostpaw-affinity contact create '{\"name\":\"Desk bot\",\"kind\":\"agent\"}' --bootstrap-owner --json | jq .id\nghostpaw-affinity contact create '{\"name\":\"Sam\",\"kind\":\"human\",\"doNotContact\":true}' --json | jq .id\nghostpaw-affinity contact revise '{\"contactId\":2}' --patch '{\"doNotContact\":false}'\n```\n\nThe tool equivalent is `manage_contact` with\n`{action:\"create\", input:{name:\"Desk bot\", kind:\"agent\", bootstrapOwner:true}}`.\nCreate results expose `.id` at the top level; `.entities[]` remains available\n(`jq '.entities[] | select(.kind == \"contact\") | .id'`).\n\nBefore outbound actions, run `ghostpaw-affinity check contactable --contact '{\"contactId\":8}'`. Exit 0 permits outreach. Exit 1 reports a direct or inherited block through active outgoing `works_at` and `member_of` ties.\n\n`doNotContact` defaults to false. Set it on create or revise. True refuses\noutbound and mutual interactions, transactions, commitments and milestones\nwith that contact (unspecified direction is treated as outbound). Incoming\n`other_initiated` and observed evidence remain recordable. Explicitly override\none recording with input `overrideDoNotContact:true`, or the CLI\n`event record --override-do-not-contact` / `commitment record --override-do-not-contact`.\nReads omit `doNotContact` when false to preserve existing JSON. A merge retains\nthe block if either contact is blocked.\n\nChange a contact kind in place with `contact migrate-kind '{\"contactId\":2}' --kind agent`, or\n`manage_contact` action `migrate_kind`, `contact: {contactId: 2}, kind: \"agent\"` (library:\n`write.migrateContactKind(db, contactId, kind)`). Supported kinds remain human, agent, group, company,\nteam, pet, service and other. IDs, identities, links and existing events stay\nattached. Each changed kind records a zero-significance correction event with\nold/new kinds and no bond mechanics; repeating the current kind is a no-op.\nMerged contacts are read-only; owners may only change between human and agent.\n\nEvent payloads require `occurredAt`, `significance` (1–10), and `participants`; each participant requires `role`.\n","readmeFilename":"README.md"}