fix(fs): close read-image review gaps

This commit is contained in:
creatixchu
2026-08-10 19:56:18 +08:00
parent 21ec0fd10b
commit 767e5a5723
9 changed files with 49 additions and 11 deletions

View File

@@ -460,11 +460,11 @@ describe('registration surface', () => {
// Remounting the store restores the conditional registration.
const remounted = await ctx.plugin(LocalAttachmentStore, { dshHome: home })
expect(names()).toEqual(['edit', 'read', 'read_image', 'write'])
void remounted
// Disposing the whole plugin withdraws every tool, read_image included.
await toolFsFiber.dispose()
expect(names()).toEqual([])
await remounted.dispose()
})
it('declares read_image parallel-safe and presents a read-family card', async () => {