feat(settings): worker 能力心跳读取 + 封存源对照 + 知识库映射合并
build / build (push) Successful in 2m6s

F01:新增 /api/v1/system/worker-capabilities,按 job_types 判定 test.upload 执行器是否注册,
服务卡片分「地址可达 / 凭据与库读取 / 执行器能力」三行。
F04:routing-bindings 返回 LIBRARY_SOURCE_KB_* 与一致性,设置页同屏显示入库目标与封存源。
结构:测试绑定与生产目标合并为「知识库映射」。
This commit is contained in:
dev
2026-11-17 16:04:00 +08:00
parent 33afdb9f11
commit 8e6094e9e5
14 changed files with 438 additions and 28 deletions
+2 -2
View File
@@ -328,8 +328,8 @@ describe('SystemSettingsView', () => {
/>
</AuthContext.Provider>
)
expect(view('sources')).toContain('测试知识库绑定')
expect(view('sources')).toContain('生产知识库绑定')
// 测试绑定与生产目标已合并为「知识库映射」:入库目标、封存源、生产目标同屏。
expect(view('sources')).toContain('知识库映射')
const bound = view('bindings')
expect(bound).toContain('id="settings-routing-bindings"')
expect(bound).toContain('分发到对应的测试 WeKnora 知识库')