[fix] session

This commit is contained in:
zhhe committed 2026-11-17 08:17:54 +08:00
1 parent 44e203d868
commit 14b6a546d0
4 files changed
+31 -4

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ import { MailGateway } from './gateway.js';
import { MailGatewayService } from './service.js';
export { Config } from './config.js';
export const name = 'dsh-mail-sender';
export const inject = ['agents', 'settings'];
export const inject = ['agents', 'sessions', 'settings'];
/**
* 常驻入口:邮件驱动会话,而不是等待模型调用的 Tool。
* 所有 IMAP/SMTP 资源与监听都收在 ctx.effect 里按序回收。