{"_id":"@astro-minimax/notify","_rev":"15-7a1931d12f50000a60e2ac216a9289bd","name":"@astro-minimax/notify","dist-tags":{"latest":"0.9.3"},"versions":{"0.1.0":{"name":"@astro-minimax/notify","version":"0.1.0","author":{"name":"Souloss"},"license":"MIT","_id":"@astro-minimax/notify@0.1.0","maintainers":[{"name":"souloss","email":"826245622@qq.com"}],"dist":{"shasum":"61f63043afd73d76ef608bcae73e631079b59ba5","tarball":"https://registry.npmjs.org/@astro-minimax/notify/-/notify-0.1.0.tgz","fileCount":32,"integrity":"sha512-qvOifEe9X9Lqo6IST2nF7nRaDLFGUzTvVNh2H3Cfo8CUgAfqpVkcqlv8HAVrZ8vd5oZiNraRclYhEqkOmcdwjQ==","signatures":[{"sig":"MEYCIQDXECS3EV9qW0/czscq3ixhuYW2/QsEUyxgib4kPl7WTQIhAJTDc3hp/hxAJ6A8vXoQa59bKc0A/hX4jQYZqxXUGwC8","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":43310},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.12.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"ee0846be72b5411f74f94e37e8b2e3a37393f0e2","scripts":{"build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","publish":"npm publish --access public","build:watch":"tsc -p tsconfig.build.json --watch","prepublishOnly":"pnpm run clean && pnpm run build"},"_npmUser":{"name":"souloss","email":"826245622@qq.com"},"_npmVersion":"10.9.0","description":"Multi-channel notification package for astro-minimax blogs","directories":{},"sideEffects":false,"_nodeVersion":"23.2.0","dependencies":{"grammy":"^1.41.1","undici":"^6.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^22.0.0","@cloudflare/workers-types":"^4.20260313.1"},"peerDependencies":{"resend":"^3.0.0"},"peerDependenciesMeta":{"resend":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/notify_0.1.0_1773729166605_0.9757118721526092","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@astro-minimax/notify","version":"0.5.0","keywords":["astro","notification","telegram","email","resend","webhook"],"author":{"name":"Souloss"},"license":"MIT","_id":"@astro-minimax/notify@0.5.0","maintainers":[{"name":"souloss","email":"826245622@qq.com"}],"homepage":"https://github.com/souloss/astro-minimax#readme","bugs":{"url":"https://github.com/souloss/astro-minimax/issues"},"dist":{"shasum":"62913a1d1d351427a0e992437d741875fa4afcd2","tarball":"https://registry.npmjs.org/@astro-minimax/notify/-/notify-0.5.0.tgz","fileCount":33,"integrity":"sha512-HQOuBK3AK5p6XT2ihyYjJUbI7Fw5m9G+QaIQhrtbSvATYIVgk8Eh+B6wl7iDB64k1n5CL7qz0A8dnrv7f62BYQ==","signatures":[{"sig":"MEUCIHUgq+Bx89SILKzUeCXEUXX3tbYKLeJEbJP5NjqW+u36AiEAp9oBqf9s0oulEK6yJ9LKyXUe+IPd+n512Q0hzZ/zlto=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":43876},"main":"./dist/index.js","type":"module","_from":"file:astro-minimax-notify-0.5.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=22.12.0","pnpm":">=9.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:watch":"tsc -p tsconfig.build.json --watch"},"_npmUser":{"name":"souloss","email":"826245622@qq.com"},"_resolved":"/tmp/63efdfa379d7895265fa2be49e2f6abc/astro-minimax-notify-0.5.0.tgz","_integrity":"sha512-HQOuBK3AK5p6XT2ihyYjJUbI7Fw5m9G+QaIQhrtbSvATYIVgk8Eh+B6wl7iDB64k1n5CL7qz0A8dnrv7f62BYQ==","repository":{"url":"git+https://github.com/souloss/astro-minimax.git","type":"git","directory":"packages/notify"},"_npmVersion":"10.9.0","description":"Multi-channel notification package for astro-minimax blogs — supports Telegram, Email (Resend), and more.","directories":{},"sideEffects":false,"_nodeVersion":"23.2.0","dependencies":{"grammy":"^1.41.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^22.0.0","@cloudflare/workers-types":"^4.20260313.1"},"peerDependencies":{"resend":"^3.0.0"},"optionalDependencies":{"undici":"^6.0.0"},"peerDependenciesMeta":{"resend":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/notify_0.5.0_1773744056428_0.4002533367807115","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@astro-minimax/notify","version":"0.7.0","keywords":["astro","notification","telegram","email","resend","webhook"],"author":{"name":"Souloss"},"license":"MIT","_id":"@astro-minimax/notify@0.7.0","maintainers":[{"name":"souloss","email":"826245622@qq.com"}],"homepage":"https://github.com/souloss/astro-minimax#readme","bugs":{"url":"https://github.com/souloss/astro-minimax/issues"},"dist":{"shasum":"b176a6117fd5056648964dc6875794806313845e","tarball":"https://registry.npmjs.org/@astro-minimax/notify/-/notify-0.7.0.tgz","fileCount":33,"integrity":"sha512-ZMqqmlAHBQFI2oXk2rX4Iu6RU3Mm33gn2Jgm1MajrceWbdU9X1/DLNcB+xLUdXPrVVJBBwZZBfmD9u8gkuqD/A==","signatures":[{"sig":"MEUCID2Po0/iLVi3c1F6xxl4atr7UH8fB6KdWHKF1IUmLS+cAiEAl+qw35aUZp8/CzuXw5TS96aFSt3Qw3sFD+PzRG7SmUc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46042},"main":"./dist/index.js","type":"module","_from":"file:astro-minimax-notify-0.7.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=22.12.0","pnpm":">=9.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:watch":"tsc -p tsconfig.build.json --watch"},"_npmUser":{"name":"souloss","email":"826245622@qq.com"},"_resolved":"/tmp/641bc9714b4c26d24a4eb8f383bd722a/astro-minimax-notify-0.7.0.tgz","_integrity":"sha512-ZMqqmlAHBQFI2oXk2rX4Iu6RU3Mm33gn2Jgm1MajrceWbdU9X1/DLNcB+xLUdXPrVVJBBwZZBfmD9u8gkuqD/A==","repository":{"url":"git+https://github.com/souloss/astro-minimax.git","type":"git","directory":"packages/notify"},"_npmVersion":"10.9.0","description":"Multi-channel notification package for astro-minimax blogs — supports Telegram, Email (Resend), and more.","directories":{},"sideEffects":false,"_nodeVersion":"23.2.0","dependencies":{"grammy":"^1.41.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^22.0.0","@cloudflare/workers-types":"^4.20260313.1"},"peerDependencies":{"resend":"^3.0.0"},"optionalDependencies":{"undici":"^6.0.0"},"peerDependenciesMeta":{"resend":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/notify_0.7.0_1773782256439_0.7071069698146581","host":"s3://npm-registry-packages-npm-production"}},"0.7.1":{"name":"@astro-minimax/notify","version":"0.7.1","keywords":["astro","notification","telegram","email","resend","webhook"],"author":{"name":"Souloss"},"license":"MIT","_id":"@astro-minimax/notify@0.7.1","maintainers":[{"name":"souloss","email":"826245622@qq.com"}],"homepage":"https://github.com/souloss/astro-minimax#readme","bugs":{"url":"https://github.com/souloss/astro-minimax/issues"},"dist":{"shasum":"6f830bf04a6bb40853b02bc2463bf087d3db4841","tarball":"https://registry.npmjs.org/@astro-minimax/notify/-/notify-0.7.1.tgz","fileCount":33,"integrity":"sha512-Oi4znMHOZ6T1pI7Eh7gZwxg45MgoY0nLoN/J+xBDUHF+U2uJrWdjy2nyy2KYNef4HqtMb1cPKqqQVy9uvpAN+Q==","signatures":[{"sig":"MEYCIQCH3k9Or9TSdb5sppRtBb3sQwgOPIaxlkZxUF7Mdo9zyAIhAIyh/KfbBZ2tzVGgzmRNcjzH1iN2esAQ/oB1jw/nnjLL","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46042},"main":"./dist/index.js","type":"module","_from":"file:astro-minimax-notify-0.7.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=22.12.0","pnpm":">=9.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:watch":"tsc -p tsconfig.build.json --watch"},"_npmUser":{"name":"souloss","email":"826245622@qq.com"},"_resolved":"/tmp/fc69ea3afe4d61a88086ab05a98e174e/astro-minimax-notify-0.7.1.tgz","_integrity":"sha512-Oi4znMHOZ6T1pI7Eh7gZwxg45MgoY0nLoN/J+xBDUHF+U2uJrWdjy2nyy2KYNef4HqtMb1cPKqqQVy9uvpAN+Q==","repository":{"url":"git+https://github.com/souloss/astro-minimax.git","type":"git","directory":"packages/notify"},"_npmVersion":"10.9.0","description":"Multi-channel notification package for astro-minimax blogs — supports Telegram, Email (Resend), and more.","directories":{},"sideEffects":false,"_nodeVersion":"23.2.0","dependencies":{"grammy":"^1.41.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^22.0.0","@cloudflare/workers-types":"^4.20260313.1"},"peerDependencies":{"resend":"^3.0.0"},"optionalDependencies":{"undici":"^6.0.0"},"peerDependenciesMeta":{"resend":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/notify_0.7.1_1773828722715_0.146087164511711","host":"s3://npm-registry-packages-npm-production"}},"0.7.2":{"name":"@astro-minimax/notify","version":"0.7.2","keywords":["astro","notification","telegram","email","resend","webhook"],"author":{"name":"Souloss"},"license":"MIT","_id":"@astro-minimax/notify@0.7.2","maintainers":[{"name":"souloss","email":"826245622@qq.com"}],"homepage":"https://github.com/souloss/astro-minimax#readme","bugs":{"url":"https://github.com/souloss/astro-minimax/issues"},"dist":{"shasum":"81dabf243ab16892221f90f01f50a581fffcbd69","tarball":"https://registry.npmjs.org/@astro-minimax/notify/-/notify-0.7.2.tgz","fileCount":33,"integrity":"sha512-GyziTEw4cA2gyJ9/8S3d/UqYT+DJKbObb3TBy22Pd7Kt3PE4yv6LgcSTmohQ9Mq0ceNFslzDPO1uJzSqvLMCpw==","signatures":[{"sig":"MEQCIDam+mU2ETgwEC3t/Qs/IZaTBebSiAMBzxlECTjzyzzQAiB5zyNq6LMc/L+etkKk7wm9TWaihVL+O+LhpS/mONxC2g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46042},"main":"./dist/index.js","type":"module","_from":"file:astro-minimax-notify-0.7.2.tgz","types":"./dist/index.d.ts","engines":{"node":">=22.12.0","pnpm":">=9.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:watch":"tsc -p tsconfig.build.json --watch"},"_npmUser":{"name":"souloss","email":"826245622@qq.com"},"_resolved":"/tmp/811bb7062584f863ca09a73b38736167/astro-minimax-notify-0.7.2.tgz","_integrity":"sha512-GyziTEw4cA2gyJ9/8S3d/UqYT+DJKbObb3TBy22Pd7Kt3PE4yv6LgcSTmohQ9Mq0ceNFslzDPO1uJzSqvLMCpw==","repository":{"url":"git+https://github.com/souloss/astro-minimax.git","type":"git","directory":"packages/notify"},"_npmVersion":"10.9.0","description":"Multi-channel notification package for astro-minimax blogs — supports Telegram, Email (Resend), and more.","directories":{},"sideEffects":false,"_nodeVersion":"23.2.0","dependencies":{"grammy":"^1.41.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^22.0.0","@cloudflare/workers-types":"^4.20260313.1"},"peerDependencies":{"resend":"^3.0.0"},"optionalDependencies":{"undici":"^6.0.0"},"peerDependenciesMeta":{"resend":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/notify_0.7.2_1773845799749_0.7834792198579696","host":"s3://npm-registry-packages-npm-production"}},"0.7.3":{"name":"@astro-minimax/notify","version":"0.7.3","keywords":["astro","notification","telegram","email","resend","webhook"],"author":{"name":"Souloss"},"license":"MIT","_id":"@astro-minimax/notify@0.7.3","maintainers":[{"name":"souloss","email":"826245622@qq.com"}],"homepage":"https://github.com/souloss/astro-minimax#readme","bugs":{"url":"https://github.com/souloss/astro-minimax/issues"},"dist":{"shasum":"3b3970b47b1829a5c09bbdcc6a5342828ffa9fe5","tarball":"https://registry.npmjs.org/@astro-minimax/notify/-/notify-0.7.3.tgz","fileCount":33,"integrity":"sha512-9+nzjVPmN/cOIPW1RL8h3uqE1piwAxGTK8nIRo19rQLscv1VnB/++eQKWvFoCJGEP02m3stoRK14FPs+06RcJw==","signatures":[{"sig":"MEQCICD4p/ecbLrJ8WIOYHYpFND40hq2iHuqi+ad8+uKh84cAiBt+RSxj7xoR6X46z3LMretdO86IiPeTaw/niwYRE8ERQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46042},"main":"./dist/index.js","type":"module","_from":"file:astro-minimax-notify-0.7.3.tgz","types":"./dist/index.d.ts","engines":{"node":">=22.12.0","pnpm":">=9.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:watch":"tsc -p tsconfig.build.json --watch"},"_npmUser":{"name":"souloss","email":"826245622@qq.com"},"_resolved":"/tmp/138123a9976935cf214eb4b23a2e550e/astro-minimax-notify-0.7.3.tgz","_integrity":"sha512-9+nzjVPmN/cOIPW1RL8h3uqE1piwAxGTK8nIRo19rQLscv1VnB/++eQKWvFoCJGEP02m3stoRK14FPs+06RcJw==","repository":{"url":"git+https://github.com/souloss/astro-minimax.git","type":"git","directory":"packages/notify"},"_npmVersion":"10.9.0","description":"Multi-channel notification package for astro-minimax blogs — supports Telegram, Email (Resend), and more.","directories":{},"sideEffects":false,"_nodeVersion":"23.2.0","dependencies":{"grammy":"^1.41.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^22.0.0","@cloudflare/workers-types":"^4.20260313.1"},"peerDependencies":{"resend":"^3.0.0"},"optionalDependencies":{"undici":"^6.0.0"},"peerDependenciesMeta":{"resend":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/notify_0.7.3_1773854260069_0.9508123698901103","host":"s3://npm-registry-packages-npm-production"}},"0.7.4":{"name":"@astro-minimax/notify","version":"0.7.4","keywords":["astro","notification","telegram","email","resend","webhook"],"author":{"name":"Souloss"},"license":"MIT","_id":"@astro-minimax/notify@0.7.4","maintainers":[{"name":"souloss","email":"826245622@qq.com"}],"homepage":"https://github.com/souloss/astro-minimax#readme","bugs":{"url":"https://github.com/souloss/astro-minimax/issues"},"dist":{"shasum":"41ee8e7d64030cbda7b22cd87442fcd3ecf0214c","tarball":"https://registry.npmjs.org/@astro-minimax/notify/-/notify-0.7.4.tgz","fileCount":33,"integrity":"sha512-v3uh99SCu/TYPx6Lv8a6Bnx8Amd7y3Mgrv0GsKEKKgZZv0SxUbeitjUpwiaFpTUYSyrQTiEr2mfMqCzkP1kKcA==","signatures":[{"sig":"MEUCIGeQGQ7APQ9ZAy0vpzn2B4Q7/xI1606VKQBRtec/MdyqAiEAiqLAUsHcNyZq4sOJ+ZoKtVFsBxM/AqA5n6Ct73qV0LA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46042},"main":"./dist/index.js","type":"module","_from":"file:astro-minimax-notify-0.7.4.tgz","types":"./dist/index.d.ts","engines":{"node":">=22.12.0","pnpm":">=9.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:watch":"tsc -p tsconfig.build.json --watch"},"_npmUser":{"name":"souloss","email":"826245622@qq.com"},"_resolved":"/tmp/738907e9ef3cc2fcedeaaa6f40ec1466/astro-minimax-notify-0.7.4.tgz","_integrity":"sha512-v3uh99SCu/TYPx6Lv8a6Bnx8Amd7y3Mgrv0GsKEKKgZZv0SxUbeitjUpwiaFpTUYSyrQTiEr2mfMqCzkP1kKcA==","repository":{"url":"git+https://github.com/souloss/astro-minimax.git","type":"git","directory":"packages/notify"},"_npmVersion":"10.9.0","description":"Multi-channel notification package for astro-minimax blogs — supports Telegram, Email (Resend), and more.","directories":{},"sideEffects":false,"_nodeVersion":"23.2.0","dependencies":{"grammy":"^1.41.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^22.0.0","@cloudflare/workers-types":"^4.20260313.1"},"peerDependencies":{"resend":"^3.0.0"},"optionalDependencies":{"undici":"^6.0.0"},"peerDependenciesMeta":{"resend":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/notify_0.7.4_1773858677239_0.5432581439606206","host":"s3://npm-registry-packages-npm-production"}},"0.7.5":{"name":"@astro-minimax/notify","version":"0.7.5","keywords":["astro","notification","telegram","email","resend","webhook"],"author":{"name":"Souloss"},"license":"MIT","_id":"@astro-minimax/notify@0.7.5","maintainers":[{"name":"souloss","email":"826245622@qq.com"}],"homepage":"https://github.com/souloss/astro-minimax#readme","bugs":{"url":"https://github.com/souloss/astro-minimax/issues"},"dist":{"shasum":"d694d4bf04d3efeca2ee764466ae34b199d6efaa","tarball":"https://registry.npmjs.org/@astro-minimax/notify/-/notify-0.7.5.tgz","fileCount":33,"integrity":"sha512-AlA272XYqgC9ckq5UtqfWfh9CvxUshIFJsxZwkTpicrq3M/YHLu0dfXy540sATuUxXvSHR5OKN1pjAdozvC04Q==","signatures":[{"sig":"MEQCIDXgDjbh4x9h9T7d69aIo3zYUsWQDAM/VgA3II9gIolyAiAE5lPox44VdI4MByuE5Xifsk1E4wS2We9bBsFifoW7Vw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46042},"main":"./dist/index.js","type":"module","_from":"file:astro-minimax-notify-0.7.5.tgz","types":"./dist/index.d.ts","engines":{"node":">=22.12.0","pnpm":">=9.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:watch":"tsc -p tsconfig.build.json --watch"},"_npmUser":{"name":"souloss","email":"826245622@qq.com"},"_resolved":"/tmp/19a0552dbaaad46227893428fa9830af/astro-minimax-notify-0.7.5.tgz","_integrity":"sha512-AlA272XYqgC9ckq5UtqfWfh9CvxUshIFJsxZwkTpicrq3M/YHLu0dfXy540sATuUxXvSHR5OKN1pjAdozvC04Q==","repository":{"url":"git+https://github.com/souloss/astro-minimax.git","type":"git","directory":"packages/notify"},"_npmVersion":"10.9.0","description":"Multi-channel notification package for astro-minimax blogs — supports Telegram, Email (Resend), and more.","directories":{},"sideEffects":false,"_nodeVersion":"23.2.0","dependencies":{"grammy":"^1.41.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^22.0.0","@cloudflare/workers-types":"^4.20260313.1"},"peerDependencies":{"resend":"^3.0.0"},"optionalDependencies":{"undici":"^6.0.0"},"peerDependenciesMeta":{"resend":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/notify_0.7.5_1773859186185_0.8160002192045768","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"@astro-minimax/notify","version":"0.8.0","keywords":["astro","notification","telegram","email","resend","webhook"],"author":{"name":"Souloss"},"license":"MIT","_id":"@astro-minimax/notify@0.8.0","maintainers":[{"name":"souloss","email":"826245622@qq.com"}],"homepage":"https://github.com/souloss/astro-minimax#readme","bugs":{"url":"https://github.com/souloss/astro-minimax/issues"},"dist":{"shasum":"ec3dae24aa60423874b73592d5f1be406689eb6e","tarball":"https://registry.npmjs.org/@astro-minimax/notify/-/notify-0.8.0.tgz","fileCount":33,"integrity":"sha512-gC/Fo9jzTQ+Ys5tPs54U6gcdmvopedzDJN3JopOU5aI7MgFbhZsh2mY3rSkpDCB6HieJzVKzpzg2CI9TZfP0xg==","signatures":[{"sig":"MEYCIQDQTk+kpqU2oK8yW6Y9YPsC4Dc4vqPHksJSVv9aMv15NQIhAKJdK/oR9rfZtDUOOtaRTbPwp+kt8rT63yWWWanmJ3EP","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46042},"main":"./dist/index.js","type":"module","_from":"file:astro-minimax-notify-0.8.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=22.12.0","pnpm":">=9.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:watch":"tsc -p tsconfig.build.json --watch"},"_npmUser":{"name":"souloss","email":"826245622@qq.com"},"_resolved":"/tmp/87d1c599131a937222a280e943da47f1/astro-minimax-notify-0.8.0.tgz","_integrity":"sha512-gC/Fo9jzTQ+Ys5tPs54U6gcdmvopedzDJN3JopOU5aI7MgFbhZsh2mY3rSkpDCB6HieJzVKzpzg2CI9TZfP0xg==","repository":{"url":"git+https://github.com/souloss/astro-minimax.git","type":"git","directory":"packages/notify"},"_npmVersion":"10.9.0","description":"Multi-channel notification package for astro-minimax blogs — supports Telegram, Email (Resend), and more.","directories":{},"sideEffects":false,"_nodeVersion":"23.2.0","dependencies":{"grammy":"^1.41.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^22.0.0","@cloudflare/workers-types":"^4.20260313.1"},"peerDependencies":{"resend":"^3.0.0"},"optionalDependencies":{"undici":"^6.0.0"},"peerDependenciesMeta":{"resend":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/notify_0.8.0_1773956519313_0.8473844811052342","host":"s3://npm-registry-packages-npm-production"}},"0.8.1":{"name":"@astro-minimax/notify","version":"0.8.1","keywords":["astro","notification","telegram","email","resend","webhook"],"author":{"name":"Souloss"},"license":"MIT","_id":"@astro-minimax/notify@0.8.1","maintainers":[{"name":"souloss","email":"826245622@qq.com"}],"homepage":"https://github.com/souloss/astro-minimax#readme","bugs":{"url":"https://github.com/souloss/astro-minimax/issues"},"dist":{"shasum":"9a6a7ebfb49500a56d1bbf25f434fb196f50f92f","tarball":"https://registry.npmjs.org/@astro-minimax/notify/-/notify-0.8.1.tgz","fileCount":33,"integrity":"sha512-cqAc//BKiva4wQcwNrAJY9uDNynKSNezfAdZBXFsZhbxHqmh40TPO2TKasiATjqqhe1sNpbkGQ3+YZhWAJ6Kvg==","signatures":[{"sig":"MEQCIDGzTAhsCSBosu7263pj5StwXDDs0Unn7CIL2nQ9WQ9nAiAuDhlgAvu8hNDlnGdNR63bUxDp2lczlxoG5605cC07Lg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46042},"main":"./dist/index.js","type":"module","_from":"file:astro-minimax-notify-0.8.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=22.12.0","pnpm":">=9.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:watch":"tsc -p tsconfig.build.json --watch"},"_npmUser":{"name":"souloss","email":"826245622@qq.com"},"_resolved":"/tmp/afcc4721c4b4af8d76e6b163a709c65a/astro-minimax-notify-0.8.1.tgz","_integrity":"sha512-cqAc//BKiva4wQcwNrAJY9uDNynKSNezfAdZBXFsZhbxHqmh40TPO2TKasiATjqqhe1sNpbkGQ3+YZhWAJ6Kvg==","repository":{"url":"git+https://github.com/souloss/astro-minimax.git","type":"git","directory":"packages/notify"},"_npmVersion":"10.9.0","description":"Multi-channel notification package for astro-minimax blogs — supports Telegram, Email (Resend), and more.","directories":{},"sideEffects":false,"_nodeVersion":"23.2.0","dependencies":{"grammy":"^1.41.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^22.0.0","@cloudflare/workers-types":"^4.20260313.1"},"peerDependencies":{"resend":"^3.0.0"},"optionalDependencies":{"undici":"^6.0.0"},"peerDependenciesMeta":{"resend":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/notify_0.8.1_1773971241453_0.772827094578346","host":"s3://npm-registry-packages-npm-production"}},"0.8.2":{"name":"@astro-minimax/notify","version":"0.8.2","keywords":["astro","notification","telegram","email","resend","webhook"],"author":{"name":"Souloss"},"license":"MIT","_id":"@astro-minimax/notify@0.8.2","maintainers":[{"name":"souloss","email":"826245622@qq.com"}],"homepage":"https://github.com/souloss/astro-minimax#readme","bugs":{"url":"https://github.com/souloss/astro-minimax/issues"},"dist":{"shasum":"37fec09405ad53c44246dcb02e37d37d22beeb39","tarball":"https://registry.npmjs.org/@astro-minimax/notify/-/notify-0.8.2.tgz","fileCount":33,"integrity":"sha512-Jg7w7ZQoAZ0zSQW/7PKXkQHQLAErp4gixszmvnnbJzRhODXO0uejtvY6nQLurhNYdXytB4A2OJc9LHsEhqMyTA==","signatures":[{"sig":"MEUCIDWuipugZEes3rKFRFNAnmyQzFNEtKwcj8n9m2lwo0zAAiEAls7o6RQ32EY+/7eksevl742Ru5D4x4XVsRAlN0XY6ng=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46042},"main":"./dist/index.js","type":"module","_from":"file:astro-minimax-notify-0.8.2.tgz","types":"./dist/index.d.ts","engines":{"node":">=22.12.0","pnpm":">=9.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:watch":"tsc -p tsconfig.build.json --watch"},"_npmUser":{"name":"souloss","email":"826245622@qq.com"},"_resolved":"/tmp/ee34fe2b82d3b354f668b9911a542f2e/astro-minimax-notify-0.8.2.tgz","_integrity":"sha512-Jg7w7ZQoAZ0zSQW/7PKXkQHQLAErp4gixszmvnnbJzRhODXO0uejtvY6nQLurhNYdXytB4A2OJc9LHsEhqMyTA==","repository":{"url":"git+https://github.com/souloss/astro-minimax.git","type":"git","directory":"packages/notify"},"_npmVersion":"10.9.0","description":"Multi-channel notification package for astro-minimax blogs — supports Telegram, Email (Resend), and more.","directories":{},"sideEffects":false,"_nodeVersion":"23.2.0","dependencies":{"grammy":"^1.41.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^22.0.0","@cloudflare/workers-types":"^4.20260313.1"},"peerDependencies":{"resend":"^3.0.0"},"optionalDependencies":{"undici":"^6.0.0"},"peerDependenciesMeta":{"resend":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/notify_0.8.2_1774072170528_0.2319422623173213","host":"s3://npm-registry-packages-npm-production"}},"0.8.3":{"name":"@astro-minimax/notify","version":"0.8.3","keywords":["astro","notification","telegram","email","resend","webhook"],"author":{"name":"Souloss"},"license":"MIT","_id":"@astro-minimax/notify@0.8.3","maintainers":[{"name":"souloss","email":"826245622@qq.com"}],"homepage":"https://github.com/souloss/astro-minimax#readme","bugs":{"url":"https://github.com/souloss/astro-minimax/issues"},"dist":{"shasum":"a10197da56035f9821ee3fcdd7872732691313b9","tarball":"https://registry.npmjs.org/@astro-minimax/notify/-/notify-0.8.3.tgz","fileCount":33,"integrity":"sha512-umyAytK/srs5l2BzhK07XbhyqWoG6G9YTKUNdirr4WByvH5YpPrlUFx+SsX1vqF0lgS3zhnNSupDlzRyiO0ldQ==","signatures":[{"sig":"MEUCIQC80Yvt5eOG5LL1IlCfxmz9b4vCqQNpTHqr+pk4wvRaZgIgSyRLLz1zet1TSmaxwTvCx0cqA1dioJKyjMr3FGsbq+U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46042},"main":"./dist/index.js","type":"module","_from":"file:astro-minimax-notify-0.8.3.tgz","types":"./dist/index.d.ts","engines":{"node":">=22.12.0","pnpm":">=9.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","typecheck":"tsc --noEmit","build:watch":"tsc -p tsconfig.build.json --watch"},"_npmUser":{"name":"souloss","email":"826245622@qq.com"},"_resolved":"/tmp/c97cbefc41e5c7ae9744591a59680916/astro-minimax-notify-0.8.3.tgz","_integrity":"sha512-umyAytK/srs5l2BzhK07XbhyqWoG6G9YTKUNdirr4WByvH5YpPrlUFx+SsX1vqF0lgS3zhnNSupDlzRyiO0ldQ==","repository":{"url":"git+https://github.com/souloss/astro-minimax.git","type":"git","directory":"packages/notify"},"_npmVersion":"10.9.0","description":"Multi-channel notification package for astro-minimax blogs — supports Telegram, Email (Resend), and more.","directories":{},"sideEffects":false,"_nodeVersion":"23.2.0","dependencies":{"grammy":"^1.41.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^22.0.0","@cloudflare/workers-types":"^4.20260313.1"},"peerDependencies":{"resend":"^3.0.0"},"optionalDependencies":{"undici":"^6.0.0"},"peerDependenciesMeta":{"resend":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/notify_0.8.3_1774072452249_0.6408381638068239","host":"s3://npm-registry-packages-npm-production"}},"0.9.0":{"name":"@astro-minimax/notify","version":"0.9.0","keywords":["astro","notification","telegram","email","resend","webhook"],"author":{"name":"Souloss"},"license":"MIT","_id":"@astro-minimax/notify@0.9.0","maintainers":[{"name":"souloss","email":"826245622@qq.com"}],"homepage":"https://github.com/souloss/astro-minimax#readme","bugs":{"url":"https://github.com/souloss/astro-minimax/issues"},"dist":{"shasum":"9886a6223ffd9de103076084cc3012c678f6f45c","tarball":"https://registry.npmjs.org/@astro-minimax/notify/-/notify-0.9.0.tgz","fileCount":33,"integrity":"sha512-3HVKF9SDvbihD+QqcY9jZLnWcSssKotL4+Cwdv0TMZ4AF003m1YGOHNcBDb+fTATWd4ejWPF9PsHckT19t8CMw==","signatures":[{"sig":"MEQCIEcGx6j0lT2vdGc3c3HDC64VNaz8WoweRmEbLmiAgLUsAiA+BWIld31anrEWbNHQ7Go6PIUB6c8Eb8/fLkP85yiGVg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46065},"main":"./dist/index.js","type":"module","_from":"file:astro-minimax-notify-0.9.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=22.12.0","pnpm":">=9.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","typecheck":"tsc --noEmit -p tsconfig.build.json","build:watch":"tsc -p tsconfig.build.json --watch"},"_npmUser":{"name":"souloss","email":"826245622@qq.com"},"_resolved":"/tmp/8657989552d0ec301c719f4eafbcc969/astro-minimax-notify-0.9.0.tgz","_integrity":"sha512-3HVKF9SDvbihD+QqcY9jZLnWcSssKotL4+Cwdv0TMZ4AF003m1YGOHNcBDb+fTATWd4ejWPF9PsHckT19t8CMw==","repository":{"url":"git+https://github.com/souloss/astro-minimax.git","type":"git","directory":"packages/notify"},"_npmVersion":"10.9.0","description":"Multi-channel notification package for astro-minimax blogs — supports Telegram, Email (Resend), and more.","directories":{},"sideEffects":false,"_nodeVersion":"23.2.0","dependencies":{"grammy":"^1.41.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^22.0.0","@cloudflare/workers-types":"^4.20260313.1"},"peerDependencies":{"resend":"^3.0.0"},"optionalDependencies":{"undici":"^6.0.0"},"peerDependenciesMeta":{"resend":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/notify_0.9.0_1774193053307_0.146607486617218","host":"s3://npm-registry-packages-npm-production"}},"0.9.2":{"name":"@astro-minimax/notify","version":"0.9.2","keywords":["astro","notification","telegram","email","resend","webhook"],"author":{"name":"Souloss"},"license":"MIT","_id":"@astro-minimax/notify@0.9.2","maintainers":[{"name":"souloss","email":"826245622@qq.com"}],"homepage":"https://github.com/souloss/astro-minimax#readme","bugs":{"url":"https://github.com/souloss/astro-minimax/issues"},"dist":{"shasum":"232099522106e9e9e695a036496fa0b318794fcc","tarball":"https://registry.npmjs.org/@astro-minimax/notify/-/notify-0.9.2.tgz","fileCount":36,"integrity":"sha512-I4WwTaa8EXW/tD+bACuDdq/qcAsHzVdAAnf7AhGw2yrKDzY4OEIcrrgVtXC459ZWpeVic2mFq3PSAY5S/BmJNQ==","signatures":[{"sig":"MEYCIQDWt6wtW2Fb/GWafEGLkWQsuZEwPBgdDcQxAarlUFueOwIhAOKHOpelokzZb7+VRfBwgtP9BA9eiyOT0BPjOClROKhC","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46925},"main":"./dist/index.js","type":"module","_from":"file:astro-minimax-notify-0.9.2.tgz","types":"./dist/index.d.ts","engines":{"node":">=22.12.0","pnpm":">=9.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","typecheck":"tsc --noEmit -p tsconfig.build.json","build:watch":"tsc -p tsconfig.build.json --watch"},"_npmUser":{"name":"souloss","email":"826245622@qq.com"},"_resolved":"/tmp/51973dd48680a4144a379430ef656c12/astro-minimax-notify-0.9.2.tgz","_integrity":"sha512-I4WwTaa8EXW/tD+bACuDdq/qcAsHzVdAAnf7AhGw2yrKDzY4OEIcrrgVtXC459ZWpeVic2mFq3PSAY5S/BmJNQ==","repository":{"url":"git+https://github.com/souloss/astro-minimax.git","type":"git","directory":"packages/notify"},"_npmVersion":"10.9.0","description":"Multi-channel notification package for astro-minimax blogs — supports Telegram, Email (Resend), and more.","directories":{},"sideEffects":false,"_nodeVersion":"23.2.0","dependencies":{"grammy":"^1.41.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^22.0.0","@cloudflare/workers-types":"^4.20260313.1"},"peerDependencies":{"resend":"^3.0.0"},"optionalDependencies":{"undici":"^6.0.0"},"peerDependenciesMeta":{"resend":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/notify_0.9.2_1774345733603_0.017623717274671158","host":"s3://npm-registry-packages-npm-production"}},"0.9.3":{"name":"@astro-minimax/notify","version":"0.9.3","type":"module","description":"Multi-channel notification package for astro-minimax blogs — supports Telegram, Email (Resend), and more.","author":{"name":"Souloss"},"license":"MIT","keywords":["astro","notification","telegram","email","resend","webhook"],"homepage":"https://github.com/souloss/astro-minimax#readme","bugs":{"url":"https://github.com/souloss/astro-minimax/issues"},"repository":{"type":"git","url":"git+https://github.com/souloss/astro-minimax.git","directory":"packages/notify"},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"sideEffects":false,"dependencies":{"grammy":"^1.41.1"},"optionalDependencies":{"undici":"^6.0.0"},"peerDependencies":{"resend":"^3.0.0"},"peerDependenciesMeta":{"resend":{"optional":true}},"devDependencies":{"@cloudflare/workers-types":"^4.20260313.1","@types/node":"^22.0.0","typescript":"^5.9.3"},"engines":{"node":">=22.12.0","pnpm":">=9.0.0"},"scripts":{"build":"tsc -p tsconfig.build.json","build:watch":"tsc -p tsconfig.build.json --watch","typecheck":"tsc --noEmit -p tsconfig.build.json","clean":"rm -rf dist"},"_id":"@astro-minimax/notify@0.9.3","_integrity":"sha512-G7eoSRfnuFYe/TOUb00lsJEJ0R0piTfip4vJ2d8lNvNrXM84sWBKsECGFoZG0f2KLPUI6tJx1GmY46CVs41RAg==","_resolved":"/tmp/d472a06b50e339b14c19585357cccec0/astro-minimax-notify-0.9.3.tgz","_from":"file:astro-minimax-notify-0.9.3.tgz","_nodeVersion":"23.2.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-G7eoSRfnuFYe/TOUb00lsJEJ0R0piTfip4vJ2d8lNvNrXM84sWBKsECGFoZG0f2KLPUI6tJx1GmY46CVs41RAg==","shasum":"5938578a3459f2a41bd087835f7fd0c5d631c4f7","tarball":"https://registry.npmjs.org/@astro-minimax/notify/-/notify-0.9.3.tgz","fileCount":72,"unpackedSize":59675,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC0861tMdqtR0qf7/Wz9ueIlvsZzv/3SIiHYlrcbyP6MgIgHiMfVSEppIdj+dSTVknrRo8BQ8orWJqsdBJgwRhQ0qY="}]},"_npmUser":{"name":"souloss","email":"826245622@qq.com"},"directories":{},"maintainers":[{"name":"souloss","email":"826245622@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/notify_0.9.3_1774722793799_0.19505959641141057"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-17T06:32:46.507Z","modified":"2026-03-28T18:33:14.097Z","0.1.0":"2026-03-17T06:32:46.768Z","0.5.0":"2026-03-17T10:40:56.587Z","0.7.0":"2026-03-17T21:17:36.580Z","0.7.1":"2026-03-18T10:12:02.877Z","0.7.2":"2026-03-18T14:56:39.893Z","0.7.3":"2026-03-18T17:17:40.280Z","0.7.4":"2026-03-18T18:31:17.387Z","0.7.5":"2026-03-18T18:39:46.327Z","0.8.0":"2026-03-19T21:41:59.527Z","0.8.1":"2026-03-20T01:47:21.625Z","0.8.2":"2026-03-21T05:49:30.748Z","0.8.3":"2026-03-21T05:54:12.392Z","0.9.0":"2026-03-22T15:24:13.443Z","0.9.2":"2026-03-24T09:48:53.750Z","0.9.3":"2026-03-28T18:33:13.955Z"},"bugs":{"url":"https://github.com/souloss/astro-minimax/issues"},"author":{"name":"Souloss"},"license":"MIT","homepage":"https://github.com/souloss/astro-minimax#readme","keywords":["astro","notification","telegram","email","resend","webhook"],"repository":{"type":"git","url":"git+https://github.com/souloss/astro-minimax.git","directory":"packages/notify"},"description":"Multi-channel notification package for astro-minimax blogs — supports Telegram, Email (Resend), and more.","maintainers":[{"name":"souloss","email":"826245622@qq.com"}],"readme":"# @astro-minimax/notify\n\n多渠道通知包，为 astro-minimax 博客系统提供灵活的通知功能。\n\n## 特性\n\n- **多渠道支持**：Telegram、Email (Resend)、Webhook\n- **多事件类型**：评论通知、AI 对话监控\n- **丰富信息展示**：Token 用量、阶段耗时、引用文章等\n- **隐私保护**：Session ID 自动匿名化\n- **代理支持**：支持 HTTP/HTTPS 代理\n- **容错设计**：失败不影响主业务流程\n\n## 安装\n\n```bash\npnpm add @astro-minimax/notify\n```\n\n## 环境变量配置\n\n### Telegram Provider\n\n```bash\nNOTIFY_TELEGRAM_BOT_TOKEN=your-bot-token\nNOTIFY_TELEGRAM_CHAT_ID=your-chat-id\n```\n\n获取方式：\n\n1. 在 Telegram 搜索 `@BotFather`，发送 `/newbot` 创建 Bot，获取 Token\n2. 在 Telegram 搜索 `@userinfobot`，发送 `/start` 获取你的 Chat ID\n\n### Email Provider (Resend)\n\n```bash\nNOTIFY_RESEND_API_KEY=re_xxx\nNOTIFY_RESEND_FROM=noreply@yourdomain.com\nNOTIFY_RESEND_TO=you@example.com\n```\n\n获取方式：\n\n1. 注册 [Resend](https://resend.com) 账号\n2. 在 Dashboard 创建 API Key\n3. 验证发件域名\n\n### Webhook Provider\n\n```bash\nNOTIFY_WEBHOOK_URL=https://your-webhook.com/notify\n```\n\n## 使用方式\n\n### 基础用法\n\n```typescript\nimport { createNotifier } from '@astro-minimax/notify';\n\nconst notifier = createNotifier({\n  telegram: {\n    botToken: process.env.NOTIFY_TELEGRAM_BOT_TOKEN,\n    chatId: process.env.NOTIFY_TELEGRAM_CHAT_ID,\n  },\n  email: {\n    provider: 'resend',\n    apiKey: process.env.NOTIFY_RESEND_API_KEY,\n    from: process.env.NOTIFY_RESEND_FROM,\n    to: process.env.NOTIFY_RESEND_TO,\n  },\n  webhook: {\n    url: process.env.NOTIFY_WEBHOOK_URL,\n  },\n});\n\n// 发送评论通知\nawait notifier.comment({\n  author: '张三',\n  content: '文章写得真好！',\n  postTitle: '如何使用 Astro',\n  postUrl: 'https://example.com/posts/how-to-use-astro',\n});\n\n// 发送 AI 对话通知\nawait notifier.aiChat({\n  sessionId: 'abc123',\n  roundNumber: 1,\n  userMessage: '你好',\n  aiResponse: '你好！有什么可以帮助你的？',\n  model: {\n    name: 'gpt-4',\n    provider: 'openai',\n  },\n  usage: {\n    total: 100,\n    input: 50,\n    output: 50,\n  },\n  timing: {\n    total: 1500,\n    generation: 1400,\n  },\n});\n```\n\n### 自定义模板\n\n```typescript\nconst notifier = createNotifier({\n  telegram: { botToken, chatId },\n  templates: {\n    comment: {\n      telegram: (event) => ({\n        text: `📬 新评论\\n\\n${event.author}: ${event.content}`,\n        parse_mode: 'HTML',\n      }),\n    },\n  },\n});\n```\n\n## API\n\n### `createNotifier(config: NotifyConfig): Notifier`\n\n创建通知器实例。\n\n#### NotifyConfig\n\n```typescript\ninterface NotifyConfig {\n  telegram?: {\n    botToken: string;\n    chatId: string;\n  };\n  webhook?: {\n    url: string;\n    method?: 'POST';\n    headers?: Record<string, string>;\n  };\n  email?: {\n    provider: 'resend';\n    apiKey: string;\n    from: string;\n    to: string;\n  };\n  templates?: Partial<EventTemplates>;\n  logger?: Logger;\n}\n```\n\n#### Notifier\n\n```typescript\ninterface Notifier {\n  comment(event: Omit<CommentEvent, 'type'>): Promise<NotifyResult>;\n  aiChat(event: Omit<AiChatEvent, 'type'>): Promise<NotifyResult>;\n  send(event: NotifyEvent): Promise<NotifyResult>;\n}\n```\n\n### 事件类型\n\n#### CommentEvent\n\n```typescript\ninterface CommentEvent {\n  type: 'comment';\n  author: string;\n  content: string;\n  postTitle: string;\n  postUrl: string;\n}\n```\n\n#### AiChatEvent\n\n```typescript\ninterface AiChatEvent {\n  type: 'ai-chat';\n  sessionId: string;\n  roundNumber: number;\n  userMessage: string;\n  aiResponse?: string;\n  referencedArticles?: Array<{ title: string; url?: string }>;\n  model?: {\n    name: string;\n    provider?: string;\n    apiHost?: string;\n  };\n  usage?: {\n    total: number;\n    input: number;\n    output: number;\n  };\n  timing?: {\n    total: number;\n    keywordExtraction?: number;\n    search?: number;\n    generation?: number;\n  };\n}\n```\n\n## 通知效果\n\n### 评论通知\n\n```\n💬 新评论\n\n📖 文章：如何使用 Astro\n👤 评论者：张三\n\n「文章写得真好！」\n\n🔗 查看评论\n```\n\n### AI 对话通知\n\n```\n🗣 博客 AI 对话\n\n👤 a1b2***f6 · 🕐 03-17 12:30 · 第 3 轮\n\n❓ 读者:\n「你好，测试 AI 对话通知功能」\n\n💬 AI:\n你好！AI 对话通知功能测试成功...\n\n📎 引用文章:\n  · 2026 年个人技术博客生态全览：从零构建你的博客系统\n  · 为什么选择 astro-minimax：设计决策与技术思考\n\n⚙️ 模型配置:\n  · API Host: api.openai.com\n  · 主对话模型: gpt-4\n\n🧮 Token 用量:\n  · 本次请求合计: 总 1,089 / 入 500 / 出 589\n\n⏱️ 阶段耗时:\n  · 总耗时: 15.50s\n  · 文本生成: 15.49s\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}