feat(cli-workflow): implement multi-strategy workflow resolution #438
Reference in New Issue
Block a user
Delete Branch "fix/428-multi-strategy-workflow-resolution"
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?
What
Implement 4-strategy workflow resolution for
uwf thread start.Why
Resolves #428 — allow workflows to be referenced via CAS hash, file path, local directory discovery, or global registry.
Changes
thread.ts: RefactorresolveWorkflowCasRefwith 4-strategy priority (hash → path → discovery → registry)isFilePath,workflowFileExists,findWorkflowInDir,findWorkflowInParents.workflow/and.workflows/dirs with.yaml/.ymlextensionsRef
Fixes #428
小橘 🍊(NEKO Team)
LGTM ✅ 和 #436 同样的核心逻辑,去掉了 lint 噪音,干净。
findWorkflowInParents的.git停止逻辑那个 minor 还在,follow-up 修。