{"_id":"@databash/plugin-sdk","_rev":"16-7051b71a56310935771b953440db44a6","name":"@databash/plugin-sdk","dist-tags":{"latest":"1.3.2"},"versions":{"1.0.0":{"name":"@databash/plugin-sdk","version":"1.0.0","_id":"@databash/plugin-sdk@1.0.0","maintainers":[{"name":"dataelement","email":"630061561@qq.com"}],"dist":{"shasum":"9639f8aea1bc619aed0df8ec8e1f6991465652cc","tarball":"https://registry.npmjs.org/@databash/plugin-sdk/-/plugin-sdk-1.0.0.tgz","fileCount":38,"integrity":"sha512-KaGQLBU/cirW7dybMK2mqINYf4OUyBYIgA+fCtr3jJmdinlMEQ/c+JEENxpdQZrTeEv9ij3Xw/5qXLNfFEEaqg==","signatures":[{"sig":"MEQCICBYNrTrNNfE6CsiW+ja+FnNN84p3aCgWrCNXp5BhjY3AiBMBAIra0bB1bUWDJUQz/cKzy37bQWwiZqNkH5Z9uCu+w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22414},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"8080a476e6294c34ee70bd4d7b62b13f0d821dc4","scripts":{"dev":"tsc --watch","build":"tsc && node build.mjs"},"_npmUser":{"name":"dataelement","email":"630061561@qq.com"},"_npmVersion":"11.13.0","description":"Databash 插件开发 SDK","directories":{},"_nodeVersion":"24.17.0","_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.25.0","typescript":"~5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/plugin-sdk_1.0.0_1783243332684_0.6618035864065064","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@databash/plugin-sdk","version":"1.0.1","_id":"@databash/plugin-sdk@1.0.1","maintainers":[{"name":"dataelement","email":"630061561@qq.com"}],"dist":{"shasum":"816d3d7238940792d7da58e25feb4e372531ac8e","tarball":"https://registry.npmjs.org/@databash/plugin-sdk/-/plugin-sdk-1.0.1.tgz","fileCount":38,"integrity":"sha512-0XuG6bFwCSuBgAV4MtA695KGQPUKR6b1rm9+3fVWHGhMXWG+psoToCxtZic7gNV4nR2mKH/tqiGPcr5dnvMy3w==","signatures":[{"sig":"MEUCIDnPzfQfPKmYGwxi5H0C3WTVHUwBapJJLabS4818AaeQAiEAvzR13J6rkaMHfkg4bm3wBTPQOEokAtZUkU50mKCr8ow=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22266},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"8080a476e6294c34ee70bd4d7b62b13f0d821dc4","scripts":{"dev":"tsc --watch","build":"tsc && node build.mjs"},"_npmUser":{"name":"dataelement","email":"630061561@qq.com"},"_npmVersion":"11.13.0","description":"Databash 插件开发 SDK","directories":{},"_nodeVersion":"24.17.0","_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.25.0","typescript":"~5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/plugin-sdk_1.0.1_1783243924074_0.604783499957565","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@databash/plugin-sdk","version":"1.1.0","_id":"@databash/plugin-sdk@1.1.0","maintainers":[{"name":"dataelement","email":"630061561@qq.com"}],"dist":{"shasum":"5046dd1ba3f8b14d594f6a07ee760fb1df2d1a33","tarball":"https://registry.npmjs.org/@databash/plugin-sdk/-/plugin-sdk-1.1.0.tgz","fileCount":42,"integrity":"sha512-hUMrvrj+oQYcDbGJJoEw3tW9IfrZ2bZuztaEW1sd07rjpqa3TUtF0W5szxPf+yqD4srZjkG4DDoVOjVxsB0+dw==","signatures":[{"sig":"MEQCIBnmq6lt+AmgfzeR/kUaWH6foyxG3UIddtLHmi571Tq3AiAQiCGFGaUGzCJqNu5hDunhxpa4JmwN7VfJk5K2YfWEbA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37783},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"4e617b1717b383e280a17de396783a1e335d83a7","scripts":{"dev":"tsc --watch","build":"tsc && node build.mjs"},"_npmUser":{"name":"dataelement","email":"630061561@qq.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_npmVersion":"11.13.0","description":"Databash 插件开发 SDK","directories":{},"_nodeVersion":"24.17.0","_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.25.0","typescript":"~5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/plugin-sdk_1.1.0_1783245792635_0.3734967304246659","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@databash/plugin-sdk","version":"1.1.1","_id":"@databash/plugin-sdk@1.1.1","maintainers":[{"name":"dataelement","email":"630061561@qq.com"}],"dist":{"shasum":"d02704aa0d3380e4bc355e0270848a837267fa80","tarball":"https://registry.npmjs.org/@databash/plugin-sdk/-/plugin-sdk-1.1.1.tgz","fileCount":42,"integrity":"sha512-efKLwXXyc6I66C/ib2tWfSQ7GzPe1z5mfr0/MFkNn6xmeKiXwxRO/85Tvrh71rla/nSGTqR9F30c1iz4uhyecg==","signatures":[{"sig":"MEUCIQCSmzO3wMOSBxpJn2NUQNDu47TFxa5gQrAyfao2QaP5gwIgaq6b6tPfvoESVVgphq23ncFIgU+kJRFgRbnwsV8d89k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31166},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"4e617b1717b383e280a17de396783a1e335d83a7","scripts":{"dev":"tsc --watch","build":"tsc && node build.mjs"},"_npmUser":{"name":"dataelement","email":"630061561@qq.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_npmVersion":"11.13.0","description":"Databash 插件开发 SDK","directories":{},"_nodeVersion":"24.17.0","_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.25.0","typescript":"~5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/plugin-sdk_1.1.1_1783246496052_0.5161921274730317","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@databash/plugin-sdk","version":"1.2.0","_id":"@databash/plugin-sdk@1.2.0","maintainers":[{"name":"dataelement","email":"630061561@qq.com"}],"dist":{"shasum":"0695b4f8c8e30dde8037d7506a50df8057d70922","tarball":"https://registry.npmjs.org/@databash/plugin-sdk/-/plugin-sdk-1.2.0.tgz","fileCount":42,"integrity":"sha512-Rplps6p9BYQbmQFDbGPQcHW+njObxcAJ+4HCHu1+mKNG8NPMWoJ9TJ2UhJwxcrSrRcpGvqFIxBJ+bCvldpvvAA==","signatures":[{"sig":"MEUCICO0eIv8Fete+PmHMr96FlYWoJ51lQ/bksgBwTegtZZ6AiEAlY5Dcl02MACp+Ar5rADz2LHj9Wqkjp3GPs8Cnf227oM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30934},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"4e617b1717b383e280a17de396783a1e335d83a7","scripts":{"dev":"tsc --watch","build":"tsc && node build.mjs"},"_npmUser":{"name":"dataelement","email":"630061561@qq.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_npmVersion":"11.13.0","description":"Databash 插件开发 SDK","directories":{},"_nodeVersion":"24.17.0","_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.25.0","typescript":"~5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/plugin-sdk_1.2.0_1783247122728_0.8775883351989648","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@databash/plugin-sdk","version":"1.2.1","_id":"@databash/plugin-sdk@1.2.1","maintainers":[{"name":"dataelement","email":"630061561@qq.com"}],"dist":{"shasum":"9617a0c118ab62d40ac7bfd11da20fbbb1fdf1bd","tarball":"https://registry.npmjs.org/@databash/plugin-sdk/-/plugin-sdk-1.2.1.tgz","fileCount":42,"integrity":"sha512-xwuw5C9W1dtUc19uRdSnzeYgZOwLy3xtfABVXqWczMXqGb39x5Lsjw1d9LV42PSSN9Ha1QCPX6qMOrsgdgcY4w==","signatures":[{"sig":"MEMCHyWpF+rPBuw34RnKk+MgPia/rG2eII58BGs/Ryn1/TMCIF5iQJN41/m+WbCZy/Zq/mZJKZW87Idx6wnW19Ty/Evk","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31290},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"5ce2f79c4120430f154b17433d7b989cb2121aee","scripts":{"dev":"tsc --watch","build":"tsc && node build.mjs"},"_npmUser":{"name":"dataelement","email":"630061561@qq.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_npmVersion":"11.13.0","description":"Databash 插件开发 SDK","directories":{},"_nodeVersion":"24.17.0","_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.25.0","typescript":"~5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/plugin-sdk_1.2.1_1783248447096_0.6380991116149295","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@databash/plugin-sdk","version":"1.2.2","_id":"@databash/plugin-sdk@1.2.2","maintainers":[{"name":"dataelement","email":"630061561@qq.com"}],"dist":{"shasum":"ec3a3e7fb24cd9c2565ce38da10b7bf2554e19df","tarball":"https://registry.npmjs.org/@databash/plugin-sdk/-/plugin-sdk-1.2.2.tgz","fileCount":42,"integrity":"sha512-NuvH5xLd9BJ2v7HIulqrQbiE32kKtsibGaJ4BJbIfpB8TtMSi6gQVKchkPl72Oqi4TuBY7kpn168k2GzO4K/9Q==","signatures":[{"sig":"MEUCICMjbqGQSF10/tAjeB2h1/0d+hzI2IBcZlo0iywvLyH4AiEAwQO1LYG1c1ocLRrTroAyRfrizSjF4r/h9xo2jgWnstM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31443},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"5ce2f79c4120430f154b17433d7b989cb2121aee","scripts":{"dev":"tsc --watch","build":"tsc && node build.mjs"},"_npmUser":{"name":"dataelement","email":"630061561@qq.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_npmVersion":"11.13.0","description":"Databash 插件开发 SDK","directories":{},"_nodeVersion":"24.17.0","_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.25.0","typescript":"~5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/plugin-sdk_1.2.2_1783248667396_0.28277023610431895","host":"s3://npm-registry-packages-npm-production"}},"1.2.3":{"name":"@databash/plugin-sdk","version":"1.2.3","_id":"@databash/plugin-sdk@1.2.3","maintainers":[{"name":"dataelement","email":"630061561@qq.com"}],"dist":{"shasum":"0ea5738a80736d3c42b0e06335f0501e3db96e5c","tarball":"https://registry.npmjs.org/@databash/plugin-sdk/-/plugin-sdk-1.2.3.tgz","fileCount":42,"integrity":"sha512-i+joIcrWt9rlDQC6Ke0gVQFOo6CMiX7u7JTJFHoEfIRWrY2Z2pqnVJZZR7oReO6TzQpj7MeXiuayDVDRuxCIFw==","signatures":[{"sig":"MEUCIQC4GHIrNeTTET16VzW9huI7EV0rVqsi/YdTMQCQdpDpaAIgTptXWFyykQpgNijr20M403loH4SbfduZVR78jfwTD70=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32531},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"5ce2f79c4120430f154b17433d7b989cb2121aee","scripts":{"dev":"tsc --watch","build":"tsc && node build.mjs"},"_npmUser":{"name":"dataelement","email":"630061561@qq.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_npmVersion":"11.13.0","description":"Databash 插件开发 SDK","directories":{},"_nodeVersion":"24.17.0","_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.25.0","typescript":"~5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/plugin-sdk_1.2.3_1783248968920_0.7487341817652415","host":"s3://npm-registry-packages-npm-production"}},"1.2.4":{"name":"@databash/plugin-sdk","version":"1.2.4","_id":"@databash/plugin-sdk@1.2.4","maintainers":[{"name":"dataelement","email":"630061561@qq.com"}],"dist":{"shasum":"83fc457da666c421bc54c054a45ab5c69dab1529","tarball":"https://registry.npmjs.org/@databash/plugin-sdk/-/plugin-sdk-1.2.4.tgz","fileCount":42,"integrity":"sha512-wasPp/Y2DoGQ9T2uKMPLL4HgK5jGau0xgK0j2L6HQy+VZmjFE8fxep/mFQTTMwE/FwH/KXcf8W4TLTKEF9XULw==","signatures":[{"sig":"MEYCIQCHh3OkaCKbcWU04Ss2SQ6w7IbTKeUS9/J+2cIRsrgDcwIhAPpbHnyznpWgz3vHSJBOY+qfo8Oa+UHilT+6GkBcRsmu","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32589},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"5ce2f79c4120430f154b17433d7b989cb2121aee","scripts":{"dev":"tsc --watch","build":"tsc && node build.mjs"},"_npmUser":{"name":"dataelement","email":"630061561@qq.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_npmVersion":"11.13.0","description":"Databash 插件开发 SDK","directories":{},"_nodeVersion":"24.17.0","_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.25.0","typescript":"~5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/plugin-sdk_1.2.4_1783249219627_0.5336030069607112","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@databash/plugin-sdk","version":"1.0.2","keywords":["databash","plugin","sdk","typescript","types"],"author":{"name":"Databash"},"license":"MIT","_id":"@databash/plugin-sdk@1.0.2","maintainers":[{"name":"dataelement","email":"630061561@qq.com"}],"homepage":"https://github.com/databash-app/databash-app#readme","bugs":{"url":"https://github.com/databash-app/databash-app/issues"},"dist":{"shasum":"1667215436c17cc485c57ee5e70e7e135e680aa8","tarball":"https://registry.npmjs.org/@databash/plugin-sdk/-/plugin-sdk-1.0.2.tgz","fileCount":4,"integrity":"sha512-JV/z4kU4fMpmsXfNcFvYBbtBhQXn9dHddKZthJmuu/58MwO6HI56rYWt/tgFXkFopgGY3+x+XoLlb+7bVwJ6zw==","signatures":[{"sig":"MEUCIQCdy6yefI66qCzQmkBHkUf793Mwq1vLZkX7ZqiMMqXGsgIgC6qH6bIlKUOn2q1Lz752VhM2spPJC0oS78PYFzZG1tY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":39612},"main":"./index.js","types":"./index.d.ts","gitHead":"a619a7d008339ae74c8f0ea00bc34f5926e21b33","_npmUser":{"name":"dataelement","email":"630061561@qq.com"},"repository":{"url":"git+https://github.com/databash-app/databash-app.git","type":"git","directory":"packages/plugin-sdk"},"_npmVersion":"11.13.0","description":"Databash 插件开发类型声明文件，提供完整的 API 类型支持","directories":{},"_nodeVersion":"24.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/plugin-sdk_1.0.2_1783530410236_0.4409190774379783","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"@databash/plugin-sdk","version":"1.3.1","keywords":["databash","plugin","sdk","typescript","types"],"author":{"name":"Databash"},"license":"MIT","_id":"@databash/plugin-sdk@1.3.1","maintainers":[{"name":"dataelement","email":"630061561@qq.com"}],"homepage":"https://github.com/databash-app/databash-app#readme","bugs":{"url":"https://github.com/databash-app/databash-app/issues"},"dist":{"shasum":"fa6f2f30b151cf7d5873674667dc1042ea1b3aba","tarball":"https://registry.npmjs.org/@databash/plugin-sdk/-/plugin-sdk-1.3.1.tgz","fileCount":3,"integrity":"sha512-BTWfpHOjFAY+Vp73mjFGQH6dkFWOy0+Zmp83E3IvblEIA74JQd55i6LeaQurFYU14rSODjJhKZB9/XKM0x3NxQ==","signatures":[{"sig":"MEUCIQCTIQ8/S3sQPZ44YacxfMg+/l4DPj312ZB9JVlxICNg0AIgfqoOXWgUZZoa+FRFxmCO4q3r6KaT0a62YwdO9fb8oM8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":39768},"types":"./index.d.ts","gitHead":"6fc94c454893ef7dcee6f9fcc956308aacd2a335","_npmUser":{"name":"dataelement","email":"630061561@qq.com"},"repository":{"url":"git+https://github.com/databash-app/databash-app.git","type":"git","directory":"packages/plugin-sdk"},"_npmVersion":"11.13.0","description":"Databash 插件开发类型声明文件，提供完整的 API 类型支持","directories":{},"_nodeVersion":"24.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/plugin-sdk_1.3.1_1783606377468_0.7575728086611988","host":"s3://npm-registry-packages-npm-production"}},"1.3.2":{"name":"@databash/plugin-sdk","version":"1.3.2","description":"Databash 插件开发类型声明文件，提供完整的 API 类型支持","license":"MIT","author":{"name":"Databash"},"types":"./index.d.ts","keywords":["databash","plugin","sdk","typescript","types"],"repository":{"type":"git","url":"git+https://github.com/databash-app/databash-app.git","directory":"packages/plugin-sdk"},"publishConfig":{"access":"public"},"gitHead":"6500e9697e6961f4e47f2d9c59f874d7fa191997","_id":"@databash/plugin-sdk@1.3.2","bugs":{"url":"https://github.com/databash-app/databash-app/issues"},"homepage":"https://github.com/databash-app/databash-app#readme","_nodeVersion":"24.17.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-Kak7+d8Wlu2u23Wu/jVqIkmeGD3rMs35N4yOko7wj4iHZM5jgud4EeqRowmzl19/gSrdRWPq4RLPcw89JmxHNw==","shasum":"46d3646d28799a59d55d169b445b137d42114e5c","tarball":"https://registry.npmjs.org/@databash/plugin-sdk/-/plugin-sdk-1.3.2.tgz","fileCount":3,"unpackedSize":39915,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCT2m4vlrZSYfx8MCkeXUoJ5OfsEaIUOpkRbnEUjWsP/AIhAOBI+ukzllWJrXZiPVmMdZRrajAjpCI80+rKbHYjRO1E"}]},"_npmUser":{"name":"dataelement","email":"630061561@qq.com"},"directories":{},"maintainers":[{"name":"dataelement","email":"630061561@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-sdk_1.3.2_1783609780872_0.5445649057456228"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-05T09:22:12.455Z","modified":"2026-07-09T15:09:41.148Z","1.0.0":"2026-07-05T09:22:12.830Z","1.0.1":"2026-07-05T09:32:04.222Z","1.1.0":"2026-07-05T10:03:12.759Z","1.1.1":"2026-07-05T10:14:56.190Z","1.2.0":"2026-07-05T10:25:22.857Z","1.2.1":"2026-07-05T10:47:27.231Z","1.2.2":"2026-07-05T10:51:07.536Z","1.2.3":"2026-07-05T10:56:09.103Z","1.2.4":"2026-07-05T11:00:19.802Z","1.0.2":"2026-07-08T17:06:50.374Z","1.3.1":"2026-07-09T14:12:57.673Z","1.3.2":"2026-07-09T15:09:40.999Z"},"bugs":{"url":"https://github.com/databash-app/databash-app/issues"},"author":{"name":"Databash"},"license":"MIT","homepage":"https://github.com/databash-app/databash-app#readme","keywords":["databash","plugin","sdk","typescript","types"],"repository":{"type":"git","url":"git+https://github.com/databash-app/databash-app.git","directory":"packages/plugin-sdk"},"description":"Databash 插件开发类型声明文件，提供完整的 API 类型支持","maintainers":[{"name":"dataelement","email":"630061561@qq.com"}],"readme":"# @databash/plugin-sdk\n\nDatabash 插件开发类型声明，提供完整的 API 类型支持。\n\n## 安装\n\n```bash\nnpm i -D @databash/plugin-sdk\n```\n\n## 使用\n\n```typescript\nimport { api } from \"@databash/plugin-sdk\"\nimport type { PluginContext, SearchResultItem } from \"@databash/plugin-sdk\"\n\nconst { log, config, storage } = api\n\nexport function activate(ctx: PluginContext): void {\n  log.info(`插件已激活: ${ctx.name}`)\n}\n\nexport function deactivate(): void {\n  log.info(\"插件已停用\")\n}\n\nexport async function search(\n  featureId: string,\n  query: string\n): Promise<SearchResultItem[]> {\n  return [\n    { id: \"1\", title: `搜索: ${query}`, icon: \"🔍\" }\n  ]\n}\n\nexport async function select(selected: SearchResultItem): Promise<void> {\n  log.info(`选中: ${selected.title}`)\n}\n\nexport async function enter(featureId: string, subCmd: string): Promise<void> {\n  log.info(`回车触发: ${featureId}`)\n}\n```\n\n无需额外配置。`api` 在 Databash 宿主中透传 `globalThis.plugin`，编译产物直接可用。\n","readmeFilename":"README.md"}