fix(client): review fixes for invocation rendering and turn boundaries
The user-turn predicate (opensUserTurn) unifies the three parallel consumers a new node kind silently missed — produced-files turn reset, retry liveness, own-words force-scroll — so a skill invocation behaves as the turn opener it is. The menu marker resolves through ctx.locale.bind instead of a hand-rolled snapshot lookup; the dead legacy <skill> render arm goes with the removal cut; command-over-skill name precedence is now documented at the matchEnter seam; and the emptied replacement catalog keeps the no-reload sentence, with the never-published residual recorded in the Agent Note.
This commit is contained in:
@@ -53,7 +53,8 @@ function providePresentation(ctx: Context): PresentationCapture {
|
||||
capture.dictionaries.push({ namespace, dictionaries })
|
||||
return () => { capture.localeDisposed = true }
|
||||
},
|
||||
getSnapshot: () => ({ active: 'zh', locales: ['zh', 'en'], revision: 0 }),
|
||||
// Minimal bound-translate fake: zh dictionary lookup, key passthrough on miss.
|
||||
bind: () => (key: string) => key === 'menu.userOnly' ? '仅用户' : key,
|
||||
})
|
||||
return capture
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user