v0.4.1 Release Notes
Released
Summary
Refactored code execution mechanism from mounting temp folder for code file transmission to directly passing code and input via stdin, simplifying architecture and removing file system dependency.
REFACTOR
- Removed
tempfolder mount and health check configuration during container startup - Updated
runScriptandrunScriptWithSSEfunctions to pass code and input via stdin using JSON payload - Updated all wrapper scripts (JS/TS/Python) to read JSON payload from stdin instead of reading code from file
Summary
重構代碼傳遞機制,將原本透過掛載 temp 資料夾傳遞代碼檔案的方式,改為透過 stdin 直接傳遞代碼與輸入參數,簡化架構並移除檔案系統依賴。
REFACTOR
- 移除容器啟動時的
temp資料夾掛載與健康檢查設定 - 更新
runScript和runScriptWithSSE函式,改用 JSON payload 透過 stdin 傳遞代碼與輸入 - 更新所有 wrapper 腳本 (JS/TS/Python),從 stdin 讀取 JSON payload 而非從檔案讀取代碼