{"_id":"@coframe-gtm/annotations","_rev":"16-198d7d279d663882526f952424209689","name":"@coframe-gtm/annotations","dist-tags":{"latest":"1.4.0"},"versions":{"1.0.1":{"name":"@coframe-gtm/annotations","version":"1.0.1","_id":"@coframe-gtm/annotations@1.0.1","maintainers":[{"name":"arihant1","email":"arihant@berkeley.edu"}],"homepage":"https://github.com/Coframe/GTM-growth-engine#readme","bugs":{"url":"https://github.com/Coframe/GTM-growth-engine/issues"},"dist":{"shasum":"0a24d280baf2d4236c318a0996e6987b55d4554c","tarball":"https://registry.npmjs.org/@coframe-gtm/annotations/-/annotations-1.0.1.tgz","fileCount":27,"integrity":"sha512-vmDFMxe1RGoU5TJLgpc8guukkDjE+Tj2yLHIa+kNGVGkosb13zbQOF5fGmhv2tOOoMQJmkbgqqis6LssMjj11Q==","signatures":[{"sig":"MEUCIQCIz46/iR2RV/KBH/63neHyGZjCGXpI/aSQfAySOwk9RwIgZYsj8CmkCI1saBv2vZEMVEvKaPZTZ3g21aagLqEdyQw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":161280},"main":"./src/index.ts","pnpm":{"onlyBuiltDependencies":["esbuild"]},"type":"module","exports":{".":"./src/index.ts","./v1":"./src/index.ts","./inject":"./src/inject/install.ts","./server":"./src/server/index.ts","./v1/inject":"./src/inject/install.ts","./v1/server":"./src/server/index.ts"},"gitHead":"295e7cb660c21c2eb1f013122332f98be43cb1a3","scripts":{"test":"vitest run","build":"node --experimental-strip-types src/inject/build.ts","typecheck":"tsc --noEmit"},"_npmUser":{"name":"arihant1","email":"arihant@berkeley.edu"},"repository":{"url":"git+https://github.com/Coframe/GTM-growth-engine.git","type":"git","directory":"coframe-agentation/frontend"},"_npmVersion":"11.6.2","description":"Clean-room AFS v1.1 annotation overlay (frontend) + transport-agnostic ingest core (backend). Injects into any page; humans + agents annotate bidirectionally.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"preact":"^10.24.0","@preact/signals":"^2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^25.0.0","vitest":"^4.1.5","esbuild":"^0.28.0","typescript":"^5.9.2","@types/node":"^22.10.5"},"_npmOperationalInternal":{"tmp":"tmp/annotations_1.0.1_1780301850016_0.6952699885414135","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@coframe-gtm/annotations","version":"1.0.2","license":"MIT","_id":"@coframe-gtm/annotations@1.0.2","maintainers":[{"name":"arihant1","email":"arihant@berkeley.edu"}],"homepage":"https://github.com/Coframe/GTM-growth-engine#readme","bugs":{"url":"https://github.com/Coframe/GTM-growth-engine/issues"},"dist":{"shasum":"bd0426071ae29b97859698ba00cfcf4969a77062","tarball":"https://registry.npmjs.org/@coframe-gtm/annotations/-/annotations-1.0.2.tgz","fileCount":28,"integrity":"sha512-TQjSQLg1JSG3auTsSyGMbyw8uWpRrhjlo0cO97HVzl5JP4r/fdzPZXOlBrWs17YeoVpRZON58XunMmqdJwvt2g==","signatures":[{"sig":"MEQCIDUVCN93/BYUUa/Xu5ApL2r6/tP5X5iMv0OUHSlM78iqAiBIgsZ1ChSVUIu7Wf4lD0ElMyqxKDZ9i1LMQZGbuy/NbA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":162381},"main":"./src/index.ts","pnpm":{"onlyBuiltDependencies":["esbuild"]},"type":"module","exports":{".":"./src/index.ts","./v1":"./src/index.ts","./inject":"./src/inject/install.ts","./server":"./src/server/index.ts","./v1/inject":"./src/inject/install.ts","./v1/server":"./src/server/index.ts"},"gitHead":"fc4b6408c9292d14587295b5d5a90f8e826bd0ac","scripts":{"test":"vitest run","build":"node --experimental-strip-types src/inject/build.ts","typecheck":"tsc --noEmit"},"_npmUser":{"name":"arihant1","email":"arihant@berkeley.edu"},"repository":{"url":"git+https://github.com/Coframe/GTM-growth-engine.git","type":"git","directory":"coframe-agentation/frontend"},"_npmVersion":"11.6.2","description":"Clean-room AFS v1.1 annotation overlay (frontend) + transport-agnostic ingest core (backend). Injects into any page; humans + agents annotate bidirectionally.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"preact":"^10.24.0","@preact/signals":"^2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^25.0.0","vitest":"^4.1.5","esbuild":"^0.28.0","typescript":"^5.9.2","@types/node":"^22.10.5"},"_npmOperationalInternal":{"tmp":"tmp/annotations_1.0.2_1780302611394_0.41611920005315195","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@coframe-gtm/annotations","version":"1.0.3","license":"MIT","_id":"@coframe-gtm/annotations@1.0.3","maintainers":[{"name":"arihant1","email":"arihant@berkeley.edu"}],"homepage":"https://github.com/Coframe/GTM-growth-engine#readme","bugs":{"url":"https://github.com/Coframe/GTM-growth-engine/issues"},"dist":{"shasum":"75a13254ca7fda1ce54e11a70cd3644a3662226b","tarball":"https://registry.npmjs.org/@coframe-gtm/annotations/-/annotations-1.0.3.tgz","fileCount":29,"integrity":"sha512-A81bnkC4FuwTU7mt0BXL8x2Xq6dwuOSrQx0sqmG0csbWQz4qS9lBovTK/XIueZwku4eKVCau9AzkIF+6pSfjhg==","signatures":[{"sig":"MEUCIEQnk3hhQq5AVsmdCxW3fqPcoC+ozo6Glzwznb7OhdrPAiEA0t3LrpP6512eubCfMaiInyxdLC0dhxWhTzO9esmffCQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":164875},"main":"./src/index.ts","pnpm":{"onlyBuiltDependencies":["esbuild"]},"type":"module","exports":{".":"./src/index.ts","./v1":"./src/index.ts","./inject":"./src/inject/install.ts","./server":"./src/server/index.ts","./v1/inject":"./src/inject/install.ts","./v1/server":"./src/server/index.ts"},"gitHead":"c95a130a3a60e89157c081626e46876e931a3bf7","scripts":{"test":"vitest run","build":"node --experimental-strip-types src/inject/build.ts","typecheck":"tsc --noEmit"},"_npmUser":{"name":"arihant1","email":"arihant@berkeley.edu"},"repository":{"url":"git+https://github.com/Coframe/GTM-growth-engine.git","type":"git","directory":"coframe-agentation/frontend"},"_npmVersion":"11.6.2","description":"Clean-room AFS v1.1 annotation overlay (frontend) + transport-agnostic ingest core (backend). Injects into any page; humans + agents annotate bidirectionally.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"preact":"^10.24.0","@preact/signals":"^2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^25.0.0","vitest":"^4.1.5","esbuild":"^0.28.0","typescript":"^5.9.2","@types/node":"^22.10.5"},"_npmOperationalInternal":{"tmp":"tmp/annotations_1.0.3_1780306480142_0.5681160656002295","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@coframe-gtm/annotations","version":"1.0.4","license":"MIT","_id":"@coframe-gtm/annotations@1.0.4","maintainers":[{"name":"arihant1","email":"arihant@berkeley.edu"}],"homepage":"https://github.com/Coframe/GTM-growth-engine#readme","bugs":{"url":"https://github.com/Coframe/GTM-growth-engine/issues"},"dist":{"shasum":"bb955b71e50722902369a845625e37b094857e22","tarball":"https://registry.npmjs.org/@coframe-gtm/annotations/-/annotations-1.0.4.tgz","fileCount":36,"integrity":"sha512-2oQ6wHwM5zKVY9JyjyqdKdH0FLUxs7/gvKmAZodnVT8ZOcxT4anZPxgJuMB1QlZo3qxXPHI2AAspEtUKr8gpQQ==","signatures":[{"sig":"MEUCIEtiKjHk7hi4ar1Y/7/dGtpRTqxcgILtMpFs5qM6njT8AiEAhb8ryMqzQf2J5Y/52UenLjNMMq/WMMPipMlvvkP9btM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":168917},"main":"./src/index.ts","pnpm":{"onlyBuiltDependencies":["esbuild"]},"type":"module","exports":{".":"./src/index.ts","./v1":"./src/index.ts","./inject":"./src/inject/install.ts","./server":"./src/server/index.ts","./v1/inject":"./src/inject/install.ts","./v1/server":"./src/server/index.ts"},"gitHead":"2d3508d00688c6a8de650776a6a427275ca52d4e","scripts":{"test":"vitest run","build":"node --experimental-strip-types src/inject/build.ts","storybook":"storybook dev -p 6006","typecheck":"tsc --noEmit","build-storybook":"storybook build"},"_npmUser":{"name":"arihant1","email":"arihant@berkeley.edu"},"repository":{"url":"git+https://github.com/Coframe/GTM-growth-engine.git","type":"git","directory":"coframe-agentation/frontend"},"_npmVersion":"11.6.2","description":"Clean-room AFS v1.1 annotation overlay (frontend) + transport-agnostic ingest core (backend). Injects into any page; humans + agents annotate bidirectionally.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"preact":"^10.24.0","@preact/signals":"^2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.14","jsdom":"^25.0.0","vitest":"^4.1.5","esbuild":"^0.28.0","storybook":"^10.4.1","typescript":"^5.9.2","@types/node":"^22.10.5","@preact/preset-vite":"^2.10.5","@storybook/preact-vite":"^10.4.1"},"_npmOperationalInternal":{"tmp":"tmp/annotations_1.0.4_1780328208174_0.8813998221753014","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@coframe-gtm/annotations","version":"1.1.0","license":"MIT","_id":"@coframe-gtm/annotations@1.1.0","maintainers":[{"name":"arihant1","email":"arihant@berkeley.edu"}],"homepage":"https://github.com/Coframe/GTM-growth-engine#readme","bugs":{"url":"https://github.com/Coframe/GTM-growth-engine/issues"},"dist":{"shasum":"d0f70a6564ebeff1d2e7f2571131bfc6e2a88a08","tarball":"https://registry.npmjs.org/@coframe-gtm/annotations/-/annotations-1.1.0.tgz","fileCount":38,"integrity":"sha512-88KKXSoVSjKMQ5hxoPIkkha4Mk48zEGr5ZlWSAB1GSLpbDga8RJnrz50ELKYxI+LnIjbtGFsBJhftlJ4fyOccA==","signatures":[{"sig":"MEUCIQD69BNzqgj+XGK4EshtrzV7ZqWL4g0zssfl4VRQnV437AIgM4kdieZ//cbst0AZB7AL9qJ8+XXSeyQkBqRfx9q/HvY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":158786},"main":"./src/index.ts","pnpm":{"onlyBuiltDependencies":["esbuild"]},"type":"module","exports":{".":"./src/index.ts","./v1":"./src/index.ts","./inject":"./src/inject/install.ts","./server":"./src/server/index.ts","./v1/inject":"./src/inject/install.ts","./v1/server":"./src/server/index.ts"},"gitHead":"d7633d1ff9f0fce1524dae6348376b20f3f800e9","scripts":{"test":"vitest run","build":"node --experimental-strip-types src/inject/build.ts","storybook":"storybook dev -p 6006","typecheck":"tsc --noEmit","build-storybook":"storybook build"},"_npmUser":{"name":"arihant1","email":"arihant@berkeley.edu"},"repository":{"url":"git+https://github.com/Coframe/GTM-growth-engine.git","type":"git","directory":"coframe-agentation/frontend"},"_npmVersion":"11.6.2","description":"Clean-room AFS v1.1 annotation overlay (frontend) + transport-agnostic ingest core (backend). Injects into any page; humans + agents annotate bidirectionally.","directories":{},"_nodeVersion":"24.13.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.14","jsdom":"^25.0.0","vitest":"^4.1.5","esbuild":"^0.28.0","storybook":"^10.4.1","typescript":"^5.9.2","@types/node":"^22.10.5","@storybook/html-vite":"^10.4.1"},"_npmOperationalInternal":{"tmp":"tmp/annotations_1.1.0_1780341955901_0.5180346742589579","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@coframe-gtm/annotations","version":"1.2.0","license":"MIT","_id":"@coframe-gtm/annotations@1.2.0","maintainers":[{"name":"arihant1","email":"arihant@berkeley.edu"}],"homepage":"https://github.com/Coframe/GTM-growth-engine#readme","bugs":{"url":"https://github.com/Coframe/GTM-growth-engine/issues"},"dist":{"shasum":"2f6dfb64dddfdd04f18628b726f572a9f1b01ec1","tarball":"https://registry.npmjs.org/@coframe-gtm/annotations/-/annotations-1.2.0.tgz","fileCount":40,"integrity":"sha512-efjHTsxBc/er+xs3qh/3scXL/aJgRQMjQpOhgX+wXmijAAKU5Yo6JU6cZ3IiESXDnN3Efnedqs9jaP+DDP5QGg==","signatures":[{"sig":"MEUCIQCECTkueH7s1IZPWd6zPdy7OJn10EsSpaUd2v3NkCq5LAIgEoG75habB/W74Q90yc+QrCwxoPyrTwXVYggUXWwP77w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":199270},"main":"./src/index.ts","pnpm":{"onlyBuiltDependencies":["esbuild"]},"type":"module","exports":{".":"./src/index.ts","./v1":"./src/index.ts","./inject":"./src/inject/install.ts","./server":"./src/server/index.ts","./v1/inject":"./src/inject/install.ts","./v1/server":"./src/server/index.ts"},"gitHead":"10005befac4e302e1c5046a452b4d964c86479e6","scripts":{"test":"vitest run","build":"node --experimental-strip-types src/inject/build.ts","storybook":"storybook dev -p 6006","typecheck":"tsc --noEmit","build-storybook":"storybook build"},"_npmUser":{"name":"arihant1","email":"arihant@berkeley.edu"},"repository":{"url":"git+https://github.com/Coframe/GTM-growth-engine.git","type":"git","directory":"coframe-agentation/frontend"},"_npmVersion":"11.6.2","description":"Clean-room AFS v1.1 annotation overlay (frontend) + transport-agnostic ingest core (backend). Injects into any page; humans + agents annotate bidirectionally.","directories":{},"_nodeVersion":"24.13.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.14","jsdom":"^25.0.0","vitest":"^4.1.5","esbuild":"^0.28.0","storybook":"^10.4.1","typescript":"^5.9.2","@types/node":"^22.10.5","@storybook/html-vite":"^10.4.1"},"_npmOperationalInternal":{"tmp":"tmp/annotations_1.2.0_1780360125508_0.42649411675359183","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@coframe-gtm/annotations","version":"1.2.1","license":"MIT","_id":"@coframe-gtm/annotations@1.2.1","maintainers":[{"name":"arihant1","email":"arihant@berkeley.edu"}],"homepage":"https://github.com/Coframe/GTM-growth-engine#readme","bugs":{"url":"https://github.com/Coframe/GTM-growth-engine/issues"},"dist":{"shasum":"d112911e8db4d0037f3a1261a1792891e22e5fe2","tarball":"https://registry.npmjs.org/@coframe-gtm/annotations/-/annotations-1.2.1.tgz","fileCount":123,"integrity":"sha512-OsoLE1K8OHAuz13t2AlFnMP/31ZSe5zARM7c0C1/vwxF3u9AqsuOPRtm7mWprLgnpAnoSXUCGWcKr/bVRUk/9w==","signatures":[{"sig":"MEUCIQCZfRZf94Mz3c4b/V5xa3BwLuZHXk12roQ1M6jLy2MzpQIgZ6Ep979864hwPN+VkukjPzReVch1Y71bp05W+fHAJhc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":321471},"main":"./dist/index.js","pnpm":{"onlyBuiltDependencies":["esbuild"]},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./v1":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./inject":{"types":"./dist/inject/install.d.ts","default":"./dist/inject/install.js"},"./server":{"types":"./dist/server/index.d.ts","default":"./dist/server/index.js"},"./v1/inject":{"types":"./dist/inject/install.d.ts","default":"./dist/inject/install.js"},"./v1/server":{"types":"./dist/server/index.d.ts","default":"./dist/server/index.js"}},"gitHead":"e693a1142bc611e58fa70a6ed824da45b88371b4","scripts":{"test":"vitest run","build":"npm run build:bundle && npm run build:dist","storybook":"storybook dev -p 6006","typecheck":"tsc --noEmit","build:dist":"tsc -p tsconfig.build.json","build:bundle":"node --experimental-strip-types src/inject/build.ts","prepublishOnly":"npm run build","build-storybook":"storybook build"},"_npmUser":{"name":"arihant1","email":"arihant@berkeley.edu"},"repository":{"url":"git+https://github.com/Coframe/GTM-growth-engine.git","type":"git","directory":"coframe-agentation/frontend"},"_npmVersion":"11.6.2","description":"Clean-room AFS v1.1 annotation overlay (frontend) + transport-agnostic ingest core (backend). Injects into any page; humans + agents annotate bidirectionally.","directories":{},"_nodeVersion":"24.13.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.14","jsdom":"^25.0.0","vitest":"^4.1.5","esbuild":"^0.28.0","storybook":"^10.4.1","typescript":"^5.9.2","@types/node":"^22.10.5","@storybook/html-vite":"^10.4.1"},"_npmOperationalInternal":{"tmp":"tmp/annotations_1.2.1_1780520788147_0.7123351971616518","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@coframe-gtm/annotations","version":"1.2.2","license":"MIT","_id":"@coframe-gtm/annotations@1.2.2","maintainers":[{"name":"arihant1","email":"arihant@berkeley.edu"}],"homepage":"https://github.com/Coframe/GTM-growth-engine#readme","bugs":{"url":"https://github.com/Coframe/GTM-growth-engine/issues"},"dist":{"shasum":"31f72b54d8d115d8234521ca8a124fee5d035e53","tarball":"https://registry.npmjs.org/@coframe-gtm/annotations/-/annotations-1.2.2.tgz","fileCount":123,"integrity":"sha512-cAtMtzLb+LlOHOGyYyxjJk15qbrG7bXARXvrg+yxg9aYYrMYLvqss5S57KevgE0Duhh9h/6N1cU2TbI2pF/nOg==","signatures":[{"sig":"MEUCIEkyy0qdVd1g+FoBiaYIp2NQR/XWKpsBom/80BfB7qyHAiEA9sArU5LkvAwcW/mH3qJbyBlmogneNjBWYEPoisgFngg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":322246},"main":"./dist/index.js","pnpm":{"onlyBuiltDependencies":["esbuild"]},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./v1":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./inject":{"types":"./dist/inject/install.d.ts","default":"./dist/inject/install.js"},"./server":{"types":"./dist/server/index.d.ts","default":"./dist/server/index.js"},"./v1/inject":{"types":"./dist/inject/install.d.ts","default":"./dist/inject/install.js"},"./v1/server":{"types":"./dist/server/index.d.ts","default":"./dist/server/index.js"}},"gitHead":"27eeca7e110c43bfbd0c1593742d37bb4a9ff604","scripts":{"test":"vitest run","build":"npm run build:bundle && npm run build:dist","storybook":"storybook dev -p 6006","typecheck":"tsc --noEmit","build:dist":"tsc -p tsconfig.build.json","build:bundle":"node --experimental-strip-types src/inject/build.ts","prepublishOnly":"npm run build","build-storybook":"storybook build"},"_npmUser":{"name":"arihant1","email":"arihant@berkeley.edu"},"repository":{"url":"git+https://github.com/Coframe/GTM-growth-engine.git","type":"git","directory":"coframe-agentation/frontend"},"_npmVersion":"11.6.2","description":"Clean-room AFS v1.1 annotation overlay (frontend) + transport-agnostic ingest core (backend). Injects into any page; humans + agents annotate bidirectionally.","directories":{},"_nodeVersion":"24.13.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.14","jsdom":"^25.0.0","vitest":"^4.1.5","esbuild":"^0.28.0","storybook":"^10.4.1","typescript":"^5.9.2","@types/node":"^22.10.5","@storybook/html-vite":"^10.4.1"},"_npmOperationalInternal":{"tmp":"tmp/annotations_1.2.2_1780523999507_0.8983776406107498","host":"s3://npm-registry-packages-npm-production"}},"1.2.3":{"name":"@coframe-gtm/annotations","version":"1.2.3","license":"MIT","_id":"@coframe-gtm/annotations@1.2.3","maintainers":[{"name":"arihant1","email":"arihant@berkeley.edu"}],"dist":{"shasum":"d88e46b190c34550d05d8160e844c03696feca07","tarball":"https://registry.npmjs.org/@coframe-gtm/annotations/-/annotations-1.2.3.tgz","fileCount":123,"integrity":"sha512-iguX9SrDlI0OI/HGH+h2IDLSI7IMAzX1nnf+k5QZfbAmMMVvS6j9TLECRcRxgGQDPQtiIhKFUME4w83ospqPNA==","signatures":[{"sig":"MEUCIAr+pypS1Mc8FnINusHVd+DSksEcBKnvPgujcLWqXuqtAiEA1+lc0ueweb74o3IvZheKGWcRReejoyJo3zRHgNvzhFI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":322094},"main":"./dist/index.js","pnpm":{"onlyBuiltDependencies":["esbuild"]},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./v1":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./inject":{"types":"./dist/inject/install.d.ts","default":"./dist/inject/install.js"},"./server":{"types":"./dist/server/index.d.ts","default":"./dist/server/index.js"},"./v1/inject":{"types":"./dist/inject/install.d.ts","default":"./dist/inject/install.js"},"./v1/server":{"types":"./dist/server/index.d.ts","default":"./dist/server/index.js"}},"gitHead":"27eeca7e110c43bfbd0c1593742d37bb4a9ff604","scripts":{"test":"vitest run","build":"npm run build:bundle && npm run build:dist","storybook":"storybook dev -p 6006","typecheck":"tsc --noEmit","build:dist":"tsc -p tsconfig.build.json","build:bundle":"node --experimental-strip-types src/inject/build.ts","prepublishOnly":"npm run build","build-storybook":"storybook build"},"_npmUser":{"name":"arihant1","email":"arihant@berkeley.edu"},"_npmVersion":"11.6.2","description":"Clean-room AFS v1.1 annotation overlay (frontend) + transport-agnostic ingest core (backend). Injects into any page; humans + agents annotate bidirectionally.","directories":{},"_nodeVersion":"24.13.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.14","jsdom":"^25.0.0","vitest":"^4.1.5","esbuild":"^0.28.0","storybook":"^10.4.1","typescript":"^5.9.2","@types/node":"^22.10.5","@storybook/html-vite":"^10.4.1"},"_npmOperationalInternal":{"tmp":"tmp/annotations_1.2.3_1780526016217_0.21189342864148886","host":"s3://npm-registry-packages-npm-production"}},"1.2.4":{"name":"@coframe-gtm/annotations","version":"1.2.4","license":"MIT","_id":"@coframe-gtm/annotations@1.2.4","maintainers":[{"name":"arihant1","email":"arihant@berkeley.edu"}],"dist":{"shasum":"0e129a41e87a432af3d073b09be5d49dafccedb4","tarball":"https://registry.npmjs.org/@coframe-gtm/annotations/-/annotations-1.2.4.tgz","fileCount":63,"integrity":"sha512-9f4t7956R4poh71H61ZwNwYrmIdtzlb+3jaxp4/r2JlKaUocah1G3Fb6gH9vEzJmtmgHdzzLoa4lPjHU0O1djA==","signatures":[{"sig":"MEUCIQC600KjeIO6hQedmg7a2LK8tHPeru5rDaFGnyLyIDNiRAIgX74cKDVwwHDsrv8i2k3yckjpVFFHIbpox0HHThHcJhg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":217447},"main":"./dist/index.js","pnpm":{"onlyBuiltDependencies":["esbuild"]},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./v1":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./inject":{"types":"./dist/inject/install.d.ts","default":"./dist/inject/install.js"},"./server":{"types":"./dist/server/index.d.ts","default":"./dist/server/index.js"},"./v1/inject":{"types":"./dist/inject/install.d.ts","default":"./dist/inject/install.js"},"./v1/server":{"types":"./dist/server/index.d.ts","default":"./dist/server/index.js"}},"gitHead":"27eeca7e110c43bfbd0c1593742d37bb4a9ff604","scripts":{"test":"vitest run","build":"npm run build:bundle && npm run build:dist","storybook":"storybook dev -p 6006","typecheck":"tsc --noEmit","build:dist":"tsc -p tsconfig.build.json","build:bundle":"node --experimental-strip-types src/inject/build.ts","prepublishOnly":"npm run build","build-storybook":"storybook build"},"_npmUser":{"name":"arihant1","email":"arihant@berkeley.edu"},"_npmVersion":"11.6.2","description":"Clean-room AFS v1.1 annotation overlay (frontend) + transport-agnostic ingest core (backend). Injects into any page; humans + agents annotate bidirectionally.","directories":{},"_nodeVersion":"24.13.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.14","jsdom":"^25.0.0","vitest":"^4.1.5","esbuild":"^0.28.0","storybook":"^10.4.1","typescript":"^5.9.2","@types/node":"^22.10.5","@storybook/html-vite":"^10.4.1"},"_npmOperationalInternal":{"tmp":"tmp/annotations_1.2.4_1780526113469_0.7923485230109153","host":"s3://npm-registry-packages-npm-production"}},"1.2.5":{"name":"@coframe-gtm/annotations","version":"1.2.5","license":"UNLICENSED","_id":"@coframe-gtm/annotations@1.2.5","maintainers":[{"name":"arihant1","email":"arihant@berkeley.edu"}],"dist":{"shasum":"129d43c5b8d2edaf2702a623978e0a48997b43a7","tarball":"https://registry.npmjs.org/@coframe-gtm/annotations/-/annotations-1.2.5.tgz","fileCount":62,"integrity":"sha512-1nydpGkpvHM32orEPfrihOIOUOF7GUk5guzt8RapAKqTMKNKXLYVGIJ5oSzpF15Wg8Y0bvzBVrKK9Zdja+YytQ==","signatures":[{"sig":"MEYCIQCq5z9zmlxaXQusaO8p4qogH5JUdxiD+F8qI1KZ+WyhigIhAIUnTPGV4Vf6zPa1TD+jkw/qV+kNRXV4ljbqvbwGEF65","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":216415},"main":"./dist/index.js","pnpm":{"onlyBuiltDependencies":["esbuild"]},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./v1":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./inject":{"types":"./dist/inject/install.d.ts","default":"./dist/inject/install.js"},"./server":{"types":"./dist/server/index.d.ts","default":"./dist/server/index.js"},"./v1/inject":{"types":"./dist/inject/install.d.ts","default":"./dist/inject/install.js"},"./v1/server":{"types":"./dist/server/index.d.ts","default":"./dist/server/index.js"}},"gitHead":"bf1e013592e545382af0ca2a3fcb14c1bb2a8d0e","scripts":{"test":"vitest run","build":"npm run build:bundle && npm run build:dist","storybook":"storybook dev -p 6006","typecheck":"tsc --noEmit","build:dist":"tsc -p tsconfig.build.json","build:bundle":"node --experimental-strip-types src/inject/build.ts","prepublishOnly":"npm run build","build-storybook":"storybook build"},"_npmUser":{"name":"arihant1","email":"arihant@berkeley.edu"},"_npmVersion":"11.6.2","description":"Annotation overlay (frontend) + transport-agnostic ingest core (backend). Injects into any page; humans + agents annotate bidirectionally.","directories":{},"_nodeVersion":"24.13.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.14","jsdom":"^25.0.0","vitest":"^4.1.5","esbuild":"^0.28.0","storybook":"^10.4.1","typescript":"^5.9.2","@types/node":"^22.10.5","@storybook/html-vite":"^10.4.1"},"_npmOperationalInternal":{"tmp":"tmp/annotations_1.2.5_1780528770830_0.424166207787277","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@coframe-gtm/annotations","version":"1.4.0","type":"module","license":"UNLICENSED","description":"Annotation overlay (frontend) + transport-agnostic ingest core (backend). Injects into any page; humans + agents annotate bidirectionally.","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"sideEffects":false,"engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./server":{"types":"./dist/server/index.d.ts","default":"./dist/server/index.js"},"./inject":{"types":"./dist/inject/install.d.ts","default":"./dist/inject/install.js"},"./global":{"types":"./dist/global.d.ts","default":"./dist/global.js"},"./v1":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./v1/server":{"types":"./dist/server/index.d.ts","default":"./dist/server/index.js"},"./v1/inject":{"types":"./dist/inject/install.d.ts","default":"./dist/inject/install.js"}},"scripts":{"typecheck":"tsc --noEmit","test":"vitest run","build:bundle":"node --experimental-strip-types src/inject/build.ts","build:dist":"tsc -p tsconfig.build.json","build":"npm run build:bundle && npm run build:dist","prepublishOnly":"npm run build","storybook":"storybook dev -p 6006","build-storybook":"storybook build"},"dependencies":{},"devDependencies":{"@storybook/html-vite":"^10.4.1","@types/node":"^22.10.5","esbuild":"^0.28.0","jsdom":"^25.0.0","storybook":"^10.4.1","typescript":"^5.9.2","vite":"^8.0.14","vitest":"^4.1.5"},"pnpm":{"onlyBuiltDependencies":["esbuild"]},"gitHead":"b81dd4163cea2a57d3157ba044f51b9e75f91a89","_id":"@coframe-gtm/annotations@1.4.0","_nodeVersion":"24.13.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-Rs1zfBBwNYFZCc6xUaMg/g4s5XfmIy1bzJJqJ8Kply3ZWqhJexSnRlgL3lsKZx1GY3g4mXO4xrTiTEHS68wOgg==","shasum":"a98b4ba4d5aa21dc9516e4af105b934c59f193e2","tarball":"https://registry.npmjs.org/@coframe-gtm/annotations/-/annotations-1.4.0.tgz","fileCount":68,"unpackedSize":271078,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDM+6JO+nlTRWApgv9ut2kyA1UnlQg3/JHvzTVqdtsEFwIhANEHADrbmokkDpHb2M7E0qmMBCGblfdkLitn3vSO1ELv"}]},"_npmUser":{"name":"arihant1","email":"arihant@berkeley.edu"},"directories":{},"maintainers":[{"name":"arihant1","email":"arihant@berkeley.edu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/annotations_1.4.0_1781743222364_0.5130129069431939"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-30T06:41:05.595Z","modified":"2026-06-18T00:40:22.717Z","1.0.0":"2026-05-30T06:41:05.966Z","1.0.1":"2026-06-01T08:17:30.179Z","1.0.2":"2026-06-01T08:30:11.534Z","1.0.3":"2026-06-01T09:34:40.294Z","1.0.4":"2026-06-01T15:36:48.364Z","1.1.0":"2026-06-01T19:25:56.042Z","1.2.0":"2026-06-02T00:28:45.732Z","1.2.1":"2026-06-03T21:06:28.289Z","1.2.2":"2026-06-03T21:59:59.708Z","1.2.3":"2026-06-03T22:33:36.383Z","1.2.4":"2026-06-03T22:35:13.611Z","1.2.5":"2026-06-03T23:19:31.002Z","1.4.0":"2026-06-18T00:40:22.573Z"},"license":"UNLICENSED","description":"Annotation overlay (frontend) + transport-agnostic ingest core (backend). Injects into any page; humans + agents annotate bidirectionally.","maintainers":[{"name":"arihant1","email":"arihant@berkeley.edu"}],"readme":"# @coframe-gtm/annotations\n\nClean-room **AFS v1.1** annotation overlay + transport-agnostic ingest core.\nInjects into any web page; humans and agents annotate the same page\nbidirectionally. **Zero runtime dependencies** — vanilla DOM + a tiny signal\nprimitive — so it ports anywhere.\n\nDocs: <https://coframe-annotations.coframe.xyz>\n\n## Install\n\n```bash\nnpm i @coframe-gtm/annotations\n```\n\n| Entry point | For | Exports |\n|---|---|---|\n| `@coframe-gtm/annotations` | Node callers (workers, scripts, tests) | types, install helpers, bundle source, output formatters |\n| `@coframe-gtm/annotations/inject` | CDP / Playwright / Puppeteer injection | `installAnnotationsOverlay`, `buildAnnotationsInstallSource`, … |\n| `@coframe-gtm/annotations/server` | Webhook backends | `parseEnvelope`, `annotationQueueReducer`, `corsHeaders`, `RunStore` port |\n| `@coframe-gtm/annotations/global` | Browser-side TypeScript | ambient `window.__annotations` typing (type-only import) |\n\n`/v1`, `/v1/inject`, `/v1/server` aliases also exist for explicit pinning.\n\n## Quickstart A — drive a live browser (CDP)\n\nThe common path: a Node tool injects the overlay into a page it controls.\n\n```ts\nimport { installAnnotationsOverlay } from \"@coframe-gtm/annotations/inject\";\n\n// cdp = any object with .send(method, params) — Playwright's CDPSession works.\nawait installAnnotationsOverlay(cdp, {\n  webhookUrl: \"https://your-host/annotations/webhook\",\n  author: { kind: \"human\", displayName: \"Reviewer\" },\n  mode: \"feedback\",\n});\n```\n\nThe overlay mounts in a closed Shadow DOM, survives SPA navigations, and POSTs\nAFS event envelopes (`{type, timestamp, sessionId, sequence, payload}`) to\n`webhookUrl`.\n\n## Quickstart B — script tag / extension (bare IIFE)\n\nServe `dist/annotations-v1.iife.js` (or `chrome.scripting.executeScript` it),\nthen initialize in-page:\n\n```js\nwindow.__annotations.__init({\n  webhookUrl: \"https://your-host/annotations/webhook\",\n  author: { kind: \"human\", displayName: \"You\" },\n  mode: \"feedback\",            // start in comment mode\n  logo: \"<svg …>…</svg>\",      // optional brand mark (inline SVG, sanitized)\n  onWebhookError: (err, type) => console.error(\"annotation sync failed\", type, err),\n});\n```\n\nThe bundle auto-mounts with safe defaults even without `__init` — a bare paste\ngives you a local-only overlay. Call `window.__annotations.__destroy()` for a\nfull teardown (removes all listeners + DOM).\n\n## Quickstart C — annotate programmatically (agents)\n\n```js\nconst id = window.__annotations.addAnnotation({\n  comment: \"Tighten this copy — **too long** for the hero.\",  // Markdown\n  elementPath: \"section.hero > h1\",   // CSS selector\n  element: \"h1\",\n  x: 50,           // % of viewport width\n  y: 480,          // px from document top\n  severity: \"important\",\n  intent: \"change\",\n});\nwindow.__annotations.replyToAnnotation(id, { role: \"agent\", content: \"Done — 12 words now.\" });\nwindow.__annotations.resolveAnnotation(id, \"agent\");\n```\n\nBrowser-side TypeScript autocomplete:\n\n```ts\nimport \"@coframe-gtm/annotations/global\";  // type-only; adds window.__annotations\n```\n\n## Receive events (backend)\n\n```ts\nimport { parseEnvelope } from \"@coframe-gtm/annotations/server\";\n\nexport async function handleWebhook(req: Request): Promise<Response> {\n  const envelope = parseEnvelope(await req.json());\n  // envelope.type: \"annotation.created\" | \"thread.message\" | \"session.created\" | …\n  // envelope.sequence is monotonic per session — detect gaps, request replay.\n  await store.append(envelope);\n  return new Response(\"ok\");\n}\n```\n\nWebhook delivery failures are **never silent**: the overlay shows a \"sync\nfailed\" toast, and `onWebhookError` fires if registered. Local annotation\nstate is unaffected.\n\n## Layout\n\n- `src/` — **frontend**: closed Shadow DOM overlay (element / text / multi\n  picker, pins, composer, discussion threads), forensic capture, 4-tier\n  Markdown output, and the `window.__annotations` JS bridge.\n- `src/server/` — **backend (portable)**: wrap in a Cloudflare Worker route or\n  an AWS Lambda — same logic, no platform import.\n- `src/inject/` — CDP install helpers + the esbuild bundler that emits the\n  IIFE and regenerates `bundle-source.generated.ts`.\n\n## Develop\n\n```bash\npnpm install\npnpm test        # vitest (node + jsdom)\npnpm typecheck\npnpm build       # → dist/annotations-v1.iife.js + regenerated bundle-source + version\npnpm storybook   # component playground\n```\n\nNotes:\n\n- `window.__annotations.version` always matches the npm package version\n  (generated at build time).\n- Source maps are excluded from the npm tarball to keep it small; build\n  locally for debugging.\n- Call `__init` once per page load; calling it again without an explicit\n  `sessionId` keeps the previous session id.\n","readmeFilename":"README.md"}