feat(smartdeno): Run small scripts in-memory via stdin, fall back to temp files for large scripts; remove internal HTTP script server and simplify plugin dependencies; update API and docs.

This commit is contained in:
2025-12-02 11:39:46 +00:00
parent 51b0af3d2e
commit d4a100ff32
10 changed files with 121 additions and 247 deletions

View File

@@ -1,5 +1,16 @@
# Changelog
## 2025-12-02 - 1.2.0 - feat(smartdeno)
Run small scripts in-memory via stdin, fall back to temp files for large scripts; remove internal HTTP script server and simplify plugin dependencies; update API and docs.
- Execute scripts < 2MB via stdin (deno run -) to support fully in-memory execution with no disk I/O.
- Automatically write scripts >= 2MB to a temp file under .nogit and clean up after execution.
- Removed internal HTTP script server implementation and related types; start() no longer starts a script server.
- Dropped plugin dependencies and exports related to @api.global/typedserver and @push.rocks/lik; plugins.ts simplified to only include necessary push.rocks modules and node path.
- Updated package.json to remove unused dependencies and adjust keywords to reflect in-memory execution.
- Updated README to document new start() behavior, in-memory execution, temp-file fallback, and simplified API signatures (start/stop/isRunning/executeScript).
- ts index now only exports SmartDeno (removed direct type export of TDenoPermission from separate file).
## 2025-12-02 - 1.1.0 - feat(core)
Add permission-controlled Deno execution, configurable script server port, improved downloader, dependency bumps and test updates