feat(client): inject slot declaration lifetimes

This commit is contained in:
imccyu
2026-08-05 23:38:29 +08:00
parent bb53e25ed0
commit 86965b053c
100 changed files with 1065 additions and 837 deletions

View File

@@ -75,7 +75,6 @@ async function provideSlotFaces(ctx: Context): Promise<void> {
'conversation.composer': { kind: 'chain', scope: 'session' },
},
} as never, () => null)
ctx.provide('conversation', {})
}
/** Boot the plugin over fake slash/sessions faces; returns the captured source and the list face. */
@@ -113,7 +112,7 @@ const req = (query: string) =>
describe('apply', () => {
it('declares the services it binds', () => {
expect(inject).toEqual(['slash', 'sessions', 'conversation', 'slots', 'locale'])
expect(inject).toEqual(['slash', 'sessions', 'slots', 'locale'])
})
it('registers the "@" subagent source; disposal frees the name (HMR safety)', async () => {