refactor: remove name from WorkflowDefinition, fix threadId type errors

WorkflowDefinition no longer carries 'name' — name is a registry-level
concern, not a bundle property. Also fixed all missing threadId in test
fixtures to match the updated ThreadContext type.

小橘 <xiaoju@shazhou.work>
This commit is contained in:
2026-05-06 11:01:09 +00:00
parent 196562c82a
commit 79cf97e617
7 changed files with 12 additions and 5 deletions
@@ -11,7 +11,8 @@ function makeCtx(userContent: string): ThreadContext {
meta: { maxRounds: 10 },
timestamp: 1,
},
steps: [],
steps: [],
threadId: "01TEST000000000000000000TR",
};
}