refactor(core): SenseResult generic + split types.ts into config/sense/workflow #111
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase 4 — 泛型化 + 文件拆分
1. SenseResult 泛型
2. 文件拆分
types.ts拆为三个文件,按职责分离:config.ts— NerveConfig、SenseConfig、WorkflowConfig、ReflexConfig 等sense.ts— Signal、SenseResult、SenseInfoworkflow.ts— StartStep、RoleStep、Role、Moderator、WorkflowDefinition 等index.ts统一 re-export,外部 import 路径不变。依赖
Phase 3 先合