新增: Phase2 阶段收尾(Sprint 1-20)
重构:删 5 零引用 crate(df-evolve/plugin/stages/task/traceability)+ 清死模块、ai.rs 拆 11 子 module、ai.ts 拆 6 composable、i18n 拆目录 功能:知识库全栈(df-project/scan + CRUD + 时间线 + 前端)、Settings 拆分、appSettings KV 迁移、模型池、LLM 并发 Semaphore 修复:审批持久化根治、ConditionEngine 默认拒绝、NodeRegistry unimplemented 清除、promote 补偿删除、工具结果截断 50KB、路径校验防 symlink 逃逸 文档:B-03 人工审批设计、决策记录三分档、规格契约自检、经验记录、todo 看板、PROGRESS 更新 详见 PROGRESS.md。src-tauri/儿童每日打卡应用/ 与本项目无关,已排除。
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
// 自动聚合本目录所有模块文件 —— 新增模块文件即生效,无需改此文件。
|
||||
// 排除 index 自身。每个模块文件 export default 一个对象,顶层 key 合并进 messages。
|
||||
const modules = import.meta.glob(['./*.ts'], { eager: true, import: 'default' }) as Record<
|
||||
string,
|
||||
Record<string, unknown>
|
||||
>
|
||||
|
||||
const messages: Record<string, unknown> = {}
|
||||
for (const [path, mod] of Object.entries(modules)) {
|
||||
if (path.endsWith('index.ts')) continue
|
||||
Object.assign(messages, mod)
|
||||
}
|
||||
|
||||
export default messages
|
||||
Reference in New Issue
Block a user