mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 04:01:56 +00:00
- User code with return statement was exiting the async IIFE early - Completion callbacks and window.complete() were never reached - Now wrap user code in userCodeFunc to capture return value - Return statement returns from userCodeFunc, not outer IIFE - Completion callbacks and window.complete() always execute - Return value is logged to console output - Fixes 30-second timeout when using return statements in REPL |
||
|---|---|---|
| .. | ||
| agent | ||
| ai | ||
| pods | ||
| proxy | ||
| tui | ||
| web-ui | ||