refactor: backend Python -> TypeScript (Phase 1: scaffold + config + gateway)#2
CodeBuddy π
初始化 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
CodeBuddy π
初始化 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