multica/packages/core/src
Jiayuan Zhang aada2916f4 fix(agent): clear timeout timer in delegate tool to prevent unhandled rejection
The setTimeout in runSubagentTask was never cleared when childAgent.run()
completed before the timeout. The dangling timer would later reject an
unobserved promise, causing an unhandled promise rejection crash in Node.js
v15+. Capture the timer and clear it in a .finally() block.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 01:09:21 +08:00
..
agent fix(agent): clear timeout timer in delegate tool to prevent unhandled rejection 2026-02-16 01:09:21 +08:00
channels chore(channels): remove unused Desktop Telegram channel plugin 2026-02-14 02:28:00 +08:00
client fix(agent): report accurate compaction metrics and add run-log observability 2026-02-15 15:42:04 +08:00
cron feat(utils): add SMC_DATA_DIR env var to override root data directory 2026-02-15 00:39:13 +08:00
heartbeat fix(heartbeat): use internal run to hide heartbeat from chat history 2026-02-11 19:41:57 +08:00
hub fix(auth): fallback to dev auth.json for E2E tests 2026-02-15 16:37:26 +08:00
media refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
app-state.ts feat(desktop): persist onboarding state to file system 2026-02-12 10:53:04 +08:00
index.ts feat(desktop): persist onboarding state to file system 2026-02-12 10:53:04 +08:00