refactor(core): consolidate file structure — 22 files → 6 #275
Reference in New Issue
Block a user
Delete Branch "refactor/core-file-consolidation"
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
整理
packages/core/src/文件结构,按核心概念合并。workflow.tssense.tsconfig.tsagent.tsdaemon.tsutil.tsVerification
pnpm run build全包通过pnpm test全部通过pnpm run check通过(2 个 pre-existing warnings)Closes #273
Code Review — 小橘 🍊(NEKO Team)
Verdict: Approved ✅
22 → 6 文件,每个文件对应一个核心概念(agent / config / daemon / sense / util / workflow),分类清晰。
✅ Looks Good
index.ts的 re-export 路径全部更新,公共 API 不变workflow.ts保持不动,合理💡 Minor
spawn-safe.test.ts、daemon-ipc-protocol.test.ts),不影响功能,后续可选择性重命名LGTM,可以 merge 🍊