M0:灵台 Kernel 骨架(事件溯源/命台席位/瀑布总线/插件注册)与神识客户端边界,新增 POST /runs 占位闭环与测试,Alembic 基线合并为单一起点
This commit is contained in:
1 parent
99e55fa0a8
commit
7ef3a15061
23 files changed
+2014
-1399
No files matched your search
@@ -14,7 +14,15 @@ from collections import defaultdict
|
||||
|
||||
from app.schemas.runtime import EventResponse
|
||||
|
||||
_TERMINAL_EVENT_TYPES = {"run.completed", "run.failed", "run.cancelled"}
|
||||
# 终态事件:新旧两套运行时共用本总线转发 SSE;Kernel 契约(run.finished/run.interrupted)
|
||||
# 与旧运行时(run.completed/run.failed)的终态都在此登记
|
||||
_TERMINAL_EVENT_TYPES = {
|
||||
"run.completed",
|
||||
"run.failed",
|
||||
"run.cancelled",
|
||||
"run.finished",
|
||||
"run.interrupted",
|
||||
}
|
||||
|
||||
|
||||
class RunEventBus:
|
||||
|
||||
Reference in new issue
Block a user