logo
2
0
WeChat Login

refactor: backend Python -> TypeScript (Phase 1: scaffold + config + gateway)#2

Merged
created 1 months ago
main
refactor/backend-ts-phase1
Edit
OverviewCommits
1
Files changed
45
Attachments

初始化 backend-ts/ TypeScript 项目,镜像 Python backend 结构。\n\n- Config 层:22 个 Zod schema(Pydantic → Zod),含单例缓存、YAML 加载、环境变量解析、热重载\n- Gateway:Fastify 应用 + 生命周期钩子 + 依赖注入 + SSE 格式化\n- Routers:13 个路由模块,API 路径与 Python 版完全一致\n- Paths:完整的路径管理类,支持沙箱虚拟路径解析\n\nTypeScript strict 模式编译通过。运行时模块已留桩,待 Phase 2+ 实现。\n\nCloses #1

is using the squash method to merge into633ff00e
refactor: backend Python -> TypeScript (Phase 1: scaffold + config + gateway)

Successfully merged and closed

branch can be safely deleted
Reviewer
None yet
Assignee
None yet
Label
None yet
Participant