Skip to content

v0.4.1

Choose a tag to compare

@pardnchiu pardnchiu released this 02 Jan 06:09
· 12 commits to master since this release

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 temp folder mount and health check configuration during container startup
  • Updated runScript and runScriptWithSSE functions 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 而非從檔案讀取代碼