feat: migrate scripts to Bun runtime

- Updated shebangs in user-message-hook.js, worker-cli.js, and worker-service.cjs to use Bun instead of Node.
- Modified build-hooks.js to generate Bun-compatible shebangs in built scripts.
- Enhanced sync-marketplace.cjs to trigger a worker restart after syncing files via an HTTP request.
- Improved worker-cli.ts to exit with appropriate status codes after executing commands.
- Added build-worker-binary.js to create a Windows executable for the worker service using Bun's compile feature.
This commit is contained in:
Alex Newman
2025-12-11 14:59:44 -05:00
parent ded9671a82
commit 807d1d6100
15 changed files with 79 additions and 34 deletions
-9
View File
@@ -2,15 +2,6 @@
"env": {},
"permissions": {
"deny": [
"Read(./plugin/scripts/*.js)",
"Read(./plugin/scripts/*.cjs)",
"Read(./plugin/scripts/node_modules/**)",
"Read(./plugin/ui/viewer-bundle.js)",
"Read(./plugin/ui/viewer.html)",
"Read(./plugin/ui/assets/**)",
"Read(./plugin/ui/icon-thick-*.svg)",
"Read(./plugin/package.json)",
"Read(./plugin/ecosystem.config.cjs)",
"Read(./package-lock.json)",
"Read(./node_modules/**)",
"Read(./.DS_Store)"