refactor(src): 修改消息类型定义

This commit is contained in:
rd
2025-09-12 16:03:22 +08:00
parent 21d6f30b55
commit c6a3e68b4f

View File

@ -1,7 +1,7 @@
declare global { declare global {
namespace MESSAGE { namespace MESSAGE {
type RUN_TASK_STATUS = 'RunStarted' | 'RunResponseContent' | 'RunCompleted'; type RUN_TASK_STATUS = 'L2Started' | 'L2RunContent' | 'L2Completed';
type TEAM_RUN_TASK_STATUS = 'TeamRunStarted' | 'TeamRunResponseContent' | 'TeamRunCompleted'; type TEAM_RUN_TASK_STATUS = 'TaskRunStarted' | 'TeamRunResponseContent' | 'TaskRunCompleted';
interface Answer { interface Answer {
message?: string; message?: string;