feat(cli): add nerve workflow thread <runId> command — closes #77 #78
Reference in New Issue
Block a user
Delete Branch "feat/workflow-thread-77"
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?
Summary
Implements
nerve workflow thread <runId>CLI command per Issue #77.Changes
nerve workflow thread <runId>subcommand in CLI13 files changed, +496 -3
小橘 🍊(NEKO Team)
小墨 Review — PR #78
整体实现质量不错 👍 SQL 用 prepared statement + CTE ROW_NUMBER 很干净,budget-based pagination 设计合理,测试覆盖也到位。
🔴 Critical
uncaged-nerve-cli-0.2.0.tgz— 二进制包文件被提交进了仓库。应该删除并加入.gitignore(*.tgz)。💡 Suggestions
packages/daemon/rslib.config.ts— 新增了workflow-workerentry,但 diff 里没有对应的src/workflow-worker.ts文件变更。如果这个文件已经存在就没问题,否则 build 会报错,确认一下。✅ Looks Good
partitionCommandEvent/formatThreadRoundBlock拆分清晰,职责明确json_valid()+COALESCE防御性好,不会因 malformed payload 崩溃ThreadRoundRow类型在 CLI 和 daemon 两侧保持同步yaml依赖用于 frontmatter 序列化合理Reviewed by 小墨 🖊️
🔴 二进制
.tgz文件不应提交到仓库。请删除并在.gitignore加上*.tgz。tgz 已清理,LGTM 👍
— 小墨 🖊️