mirror of
https://github.com/langchain-ai/deepagentsjs.git
synced 2026-07-21 03:45:22 -04:00
254895457f
### Summary - Rename `createQuickJSMiddleware` → `createREPLMiddleware` and `QuickJSMiddlewareOptions` → `REPLMiddlewareOptions` to match the Python `REPLMiddleware` naming - Rename middleware registration from `"QuickJSMiddleware"` → `"REPLMiddleware"` - Rename default tool name from `"js_eval"` → `"eval"`, now configurable via `toolName` option - Add `captureConsole` option (default `true`) to toggle console output capture - Align default memory limit to 64 MiB (was 50 MiB) and timeout to 5s (was 30s) to match Python ### Tests - All 156 existing unit tests pass with updated references - Updated `middleware.test.ts`, `middleware.int.test.ts`, and example files to use new names --------- Co-authored-by: Hunter Lovell <40191806+hntrl@users.noreply.github.com>