{"_id":"@accord-kit/core","_rev":"7-cdf37d220a36328870d122a16ddc7698","name":"@accord-kit/core","dist-tags":{"latest":"0.1.6"},"versions":{"0.1.0":{"name":"@accord-kit/core","version":"0.1.0","_id":"@accord-kit/core@0.1.0","maintainers":[{"name":"dmihal","email":"david@dmihal.com"}],"dist":{"shasum":"b6284204cd8afbda8a810385973dbaf5909fc34b","tarball":"https://registry.npmjs.org/@accord-kit/core/-/core-0.1.0.tgz","fileCount":26,"integrity":"sha512-hS71hhtRVbku7EzeRxzWamo4+R0j5T6ZEhb1QrX+wcDb10cgrTRdiZH9sTFLq3RAl6jnOyAxnoERzdvZVypgVg==","signatures":[{"sig":"MEUCIQCHL6uR+8SsNzkN/KyJdERUSLmvr9bU6MXeOPDVNbVd0gIgHSTiUhTfokbl20Dnn32TmuSUJvahWps4d4VzyYflMEc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18380},"main":"./dist/index.js","type":"module","_from":"file:accord-kit-core-0.1.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"rm -rf dist && tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"dmihal","email":"david@dmihal.com"},"_resolved":"/private/var/folders/vp/4fx1w3fd7ngcpz0vt7zgtkdh0000gn/T/a4d99da0ed46dcacd23422908acc7e8d/accord-kit-core-0.1.0.tgz","_integrity":"sha512-hS71hhtRVbku7EzeRxzWamo4+R0j5T6ZEhb1QrX+wcDb10cgrTRdiZH9sTFLq3RAl6jnOyAxnoERzdvZVypgVg==","_npmVersion":"11.9.0","description":"Shared utilities for AccordKit — the real-time document sync layer between AI agents and Obsidian.","directories":{},"_nodeVersion":"24.14.0","dependencies":{"yjs":"^13.6.0","ignore":"^7.0.0","fast-diff":"^1.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/core_0.1.0_1777077134112_0.3246867785060825","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@accord-kit/core","version":"0.1.1","_id":"@accord-kit/core@0.1.1","maintainers":[{"name":"dmihal","email":"david@dmihal.com"}],"dist":{"shasum":"380110916974fda2aa9b54b6664bc6daeff3dc46","tarball":"https://registry.npmjs.org/@accord-kit/core/-/core-0.1.1.tgz","fileCount":26,"integrity":"sha512-nN64vjErtgyrWY/E8SJLxM71CwP40yY2Or3ytyZUS6sTd8Rku7vqQiCO4LXuBZhKPaGeAX5ZukBhC+zsQlsVpg==","signatures":[{"sig":"MEUCIHJbc5dN3ao8PxdejPIYwuS61niH+XSctGw0HMCJoFvFAiEA4L2jFoTfi/v+yeUO7p38QCISx15pcNdGeCvoZn/nGc8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18380},"main":"./dist/index.js","type":"module","_from":"file:accord-kit-core-0.1.1.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"rm -rf dist && tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"dmihal","email":"david@dmihal.com"},"_resolved":"/private/var/folders/vp/4fx1w3fd7ngcpz0vt7zgtkdh0000gn/T/3aadd1948dc3c1ee4ef7c65d332abb22/accord-kit-core-0.1.1.tgz","_integrity":"sha512-nN64vjErtgyrWY/E8SJLxM71CwP40yY2Or3ytyZUS6sTd8Rku7vqQiCO4LXuBZhKPaGeAX5ZukBhC+zsQlsVpg==","_npmVersion":"11.9.0","description":"Shared utilities for AccordKit — the real-time document sync layer between AI agents and Obsidian.","directories":{},"_nodeVersion":"24.14.0","dependencies":{"yjs":"^13.6.0","ignore":"^7.0.0","fast-diff":"^1.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/core_0.1.1_1777078724660_0.3112240373248847","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@accord-kit/core","version":"0.1.2","_id":"@accord-kit/core@0.1.2","maintainers":[{"name":"dmihal","email":"david@dmihal.com"}],"dist":{"shasum":"8efa94f206b372cc6a9524bd199ea32ca706b08d","tarball":"https://registry.npmjs.org/@accord-kit/core/-/core-0.1.2.tgz","fileCount":26,"integrity":"sha512-ZUfm4FT2/nc32OW5Ma6idDHSbyI6297gjTCVPOx2E1/OO2OCdIhGYu9tqFBWljwzi7hOPFGQQg+gaPysXRX8QQ==","signatures":[{"sig":"MEQCIDC53NxdFYdWVPniJO1SyM749t6eV5AbGKw8uACGRBnCAiA5NGCFmQ9nIGJMMthDqXPe9ICBR5y0tKrJbs88Hggx+Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18380},"main":"./dist/index.js","type":"module","_from":"file:accord-kit-core-0.1.2.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"rm -rf dist && tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"dmihal","email":"david@dmihal.com"},"_resolved":"/private/var/folders/vp/4fx1w3fd7ngcpz0vt7zgtkdh0000gn/T/7d192ad57fbe7411092e0306373dfe8b/accord-kit-core-0.1.2.tgz","_integrity":"sha512-ZUfm4FT2/nc32OW5Ma6idDHSbyI6297gjTCVPOx2E1/OO2OCdIhGYu9tqFBWljwzi7hOPFGQQg+gaPysXRX8QQ==","_npmVersion":"11.9.0","description":"Shared utilities for AccordKit — the real-time document sync layer between AI agents and Obsidian.","directories":{},"_nodeVersion":"24.14.0","dependencies":{"yjs":"^13.6.0","ignore":"^7.0.0","fast-diff":"^1.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/core_0.1.2_1777079462841_0.24722723818527537","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@accord-kit/core","version":"0.1.3","_id":"@accord-kit/core@0.1.3","maintainers":[{"name":"dmihal","email":"david@dmihal.com"}],"dist":{"shasum":"4f22c26a4418502cb8f83fc6efdc55b620918b49","tarball":"https://registry.npmjs.org/@accord-kit/core/-/core-0.1.3.tgz","fileCount":26,"integrity":"sha512-4bVuRoH2/MHF0RNqT7Ht7rmcvtlaNiVZQhdbvYZsDNj66UrBPZNg6JfHuoL8r7u+QC6Yo6plrad1cMYE/A2LuA==","signatures":[{"sig":"MEUCIQDBjVoRuITuSMCy30LBgGq5erq46oNvS/z9ER3XtYMttAIgMjZTffbYnwpwY7FsNXR8oNd97IPsEhqRdLcfrsgQLyU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18380},"main":"./dist/index.js","type":"module","_from":"file:accord-kit-core-0.1.3.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"rm -rf dist && tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"dmihal","email":"david@dmihal.com"},"_resolved":"/private/var/folders/vp/4fx1w3fd7ngcpz0vt7zgtkdh0000gn/T/fff39c8f88a3ce08d0cbecf15a12e0a0/accord-kit-core-0.1.3.tgz","_integrity":"sha512-4bVuRoH2/MHF0RNqT7Ht7rmcvtlaNiVZQhdbvYZsDNj66UrBPZNg6JfHuoL8r7u+QC6Yo6plrad1cMYE/A2LuA==","_npmVersion":"11.9.0","description":"Shared utilities for AccordKit — the real-time document sync layer between AI agents and Obsidian.","directories":{},"_nodeVersion":"24.14.0","dependencies":{"yjs":"^13.6.0","ignore":"^7.0.0","fast-diff":"^1.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/core_0.1.3_1777145922440_0.3856133833173241","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@accord-kit/core","version":"0.1.4","_id":"@accord-kit/core@0.1.4","maintainers":[{"name":"dmihal","email":"david@dmihal.com"}],"dist":{"shasum":"f006b1925ba1cfd7016bf2154920035800df1be6","tarball":"https://registry.npmjs.org/@accord-kit/core/-/core-0.1.4.tgz","fileCount":26,"integrity":"sha512-WXeLyT4eGyv2tr9xQP7Srr4sMLFh9rWLi5uV+0F8LYTFSmAcUo7KALzV5G03j0SYB+ZEGKT+Nkpf9LYlT9CX1g==","signatures":[{"sig":"MEUCIQCOmsO4+fgBMckM1vkL3EGJa5VQjY8Z7oqE0W0BtbNZGQIgEj6jqTQgzYEL90E4y9V9k6QSDZn4GJHtG8DBdVAHbXs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18380},"main":"./dist/index.js","type":"module","_from":"file:accord-kit-core-0.1.4.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"rm -rf dist && tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"dmihal","email":"david@dmihal.com"},"_resolved":"/private/var/folders/vp/4fx1w3fd7ngcpz0vt7zgtkdh0000gn/T/53dbf391d549c28baf3ecd9650a06a49/accord-kit-core-0.1.4.tgz","_integrity":"sha512-WXeLyT4eGyv2tr9xQP7Srr4sMLFh9rWLi5uV+0F8LYTFSmAcUo7KALzV5G03j0SYB+ZEGKT+Nkpf9LYlT9CX1g==","_npmVersion":"11.9.0","description":"Shared utilities for AccordKit — the real-time document sync layer between AI agents and Obsidian.","directories":{},"_nodeVersion":"24.14.0","dependencies":{"yjs":"^13.6.0","ignore":"^7.0.0","fast-diff":"^1.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/core_0.1.4_1777147871560_0.032236443744938725","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@accord-kit/core","version":"0.1.5","_id":"@accord-kit/core@0.1.5","maintainers":[{"name":"dmihal","email":"david@dmihal.com"}],"dist":{"shasum":"4a3e266ebdc440146792f6b106055d7fc9e4f2d3","tarball":"https://registry.npmjs.org/@accord-kit/core/-/core-0.1.5.tgz","fileCount":34,"integrity":"sha512-wVTX/GOHKYyS2D+0MKihPqoOrt3rdYciNowpPXS2wQ5MVpHhSx3bX/g0AbWhQRwIUNScLs5K6ezWcx1tcLVLqA==","signatures":[{"sig":"MEYCIQCQtZDhY7Pxv8aqUyrTKtH3PEakq+y4bDkPmKP+xlydEQIhAPAkMgLk8nbOo2+Mp18MnhlDbkSYAUBXirCN9c0POow7","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26533},"main":"./dist/index.js","type":"module","_from":"file:accord-kit-core-0.1.5.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"rm -rf dist && tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"dmihal","email":"david@dmihal.com"},"_resolved":"/private/var/folders/vp/4fx1w3fd7ngcpz0vt7zgtkdh0000gn/T/84341133ad3abcd825c33e8a1951ef67/accord-kit-core-0.1.5.tgz","_integrity":"sha512-wVTX/GOHKYyS2D+0MKihPqoOrt3rdYciNowpPXS2wQ5MVpHhSx3bX/g0AbWhQRwIUNScLs5K6ezWcx1tcLVLqA==","_npmVersion":"11.9.0","description":"Shared utilities for AccordKit — the real-time document sync layer between AI agents and Obsidian.","directories":{},"_nodeVersion":"24.14.0","dependencies":{"yjs":"^13.6.0","ignore":"^7.0.0","fast-diff":"^1.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/core_0.1.5_1777490511166_0.793518687662109","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@accord-kit/core","version":"0.1.6","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"publishConfig":{"access":"public"},"dependencies":{"fast-diff":"^1.3.0","ignore":"^7.0.0","yjs":"^13.6.0"},"scripts":{"build":"rm -rf dist && tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit"},"_id":"@accord-kit/core@0.1.6","description":"Shared utilities for AccordKit — the real-time document sync layer between AI agents and Obsidian.","_integrity":"sha512-buou6p7cHb/JbXD/pXnj7zVFV3NXFXRujGUpUyCP6TJwTeAHkbDKOR6Jh7h6/tJl/M9P3S5YDyCsXl/vfoRBKg==","_resolved":"/private/var/folders/vp/4fx1w3fd7ngcpz0vt7zgtkdh0000gn/T/da66f6c21c162ccd8cb10f23d7a0b830/accord-kit-core-0.1.6.tgz","_from":"file:accord-kit-core-0.1.6.tgz","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-buou6p7cHb/JbXD/pXnj7zVFV3NXFXRujGUpUyCP6TJwTeAHkbDKOR6Jh7h6/tJl/M9P3S5YDyCsXl/vfoRBKg==","shasum":"5c6777cf687ead447dcdc0c97975815ce9f6a2e7","tarball":"https://registry.npmjs.org/@accord-kit/core/-/core-0.1.6.tgz","fileCount":34,"unpackedSize":26533,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCVyC3KNbiGwCwtp6I20Qx5+UTbCYyfIicuxRYBxu9nqAIgBVrqaywYHwKghrdstYiShX2oOrrunSHgC9OSezqx54w="}]},"_npmUser":{"name":"dmihal","email":"david@dmihal.com"},"directories":{},"maintainers":[{"name":"dmihal","email":"david@dmihal.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_0.1.6_1777500798548_0.7055800179193707"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-25T00:32:13.905Z","modified":"2026-04-29T22:13:18.814Z","0.1.0":"2026-04-25T00:32:14.266Z","0.1.1":"2026-04-25T00:58:44.829Z","0.1.2":"2026-04-25T01:11:02.985Z","0.1.3":"2026-04-25T19:38:42.593Z","0.1.4":"2026-04-25T20:11:11.703Z","0.1.5":"2026-04-29T19:21:51.323Z","0.1.6":"2026-04-29T22:13:18.697Z"},"description":"Shared utilities for AccordKit — the real-time document sync layer between AI agents and Obsidian.","maintainers":[{"name":"dmihal","email":"david@dmihal.com"}],"readme":"# @accord-kit/core\n\nShared utilities for AccordKit — the real-time document sync layer between AI agents and Obsidian.\n\nThis package is an internal dependency of `@accord-kit/cli` and `@accord-kit/server`. You do not need to install it directly unless you are building a custom AccordKit integration.\n\n## What's inside\n\n| Export | Purpose |\n|---|---|\n| `applyDiff` / `computeDiff` | Character-level text diffing (wraps [fast-diff](https://www.npmjs.com/package/fast-diff)) for applying filesystem changes to a Yjs `Y.Text` |\n| `isBinaryFile` | Detect binary vs. text files by extension |\n| `hashContent` | Stable SHA-256 digest of file contents |\n| `buildIgnore` / `defaultIgnorePatterns` | Construct an [ignore](https://www.npmjs.com/package/ignore)-based filter with sensible defaults (`.git/`, `.obsidian/`, `.accord-trash/`, etc.) |\n| `normalizeDocumentId` / `documentIdToPath` | Convert between OS file paths and URL-style document identifiers used by Hocuspocus |\n\n## Default ignore patterns\n\n```\n.git/\n.obsidian/\n.DS_Store\nThumbs.db\n*.tmp\n.accord-trash/\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}