mirror of
https://github.com/lobehub/lobehub
synced 2026-04-21 09:37:28 +00:00
* ♻️ refactor(onboarding): add OnboardingContextInjector and wire context engine Made-with: Cursor * 🔧 refactor(onboarding): update tool call references to use `lobe-user-interaction________builtin` Modified onboarding documentation and utility functions to standardize the use of the `lobe-user-interaction________builtin` tool call for structured input collection, enhancing clarity and consistency across the codebase. Signed-off-by: Innei <tukon479@gmail.com> * 🔧 refactor(onboarding): standardize tool call references to `lobe-user-interaction____askUserQuestion____builtin` Updated documentation and utility functions to replace instances of the `lobe-user-interaction________builtin` tool call with `lobe-user-interaction____askUserQuestion____builtin`, ensuring consistency in structured input collection across the onboarding process. Signed-off-by: Innei <tukon479@gmail.com> * ♻️ refactor(onboarding): move onboarding context before first user * ♻️ refactor(context-engine): add virtual last user provider * update v3 * 🐛 fix(onboarding): add early exit escape hatch for boundary cases The `<next_actions>` directive only prompted finishOnboarding in the summary phase, but phase transition required all fields + 5 discovery exchanges — a condition extreme cases rarely meet. This left the model stuck in discovery, never calling finishOnboarding. - Add EARLY EXIT hint in discovery phase next_actions - Add universal completion-signal REMINDER across all phases - Add minimum-viable discovery fallback in systemRole - Add explicit completion signal list in Early Exit section - Add off-topic redirect limit in Boundaries - Add CRITICAL persistence rule in toolSystemRole * ✅ test(context-engine): fix OnboardingContextInjector tests to match BaseFirstUserContentProvider Remove brittle MessagesEngine onboarding test that hardcoded XML content. --------- Signed-off-by: Innei <tukon479@gmail.com> |
||
|---|---|---|
| .. | ||
| commands | ||
| prompts | ||
| skills | ||