mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-11-25 01:52:07 +08:00
* feat(monitoring): show messages handled by plugins in monitoring A plugin can take a message over with prevent_default() and answer through ctx.reply / send_message / invoke_llm. Monitoring then showed the user message as handled by the pipeline Runner, with no reply, no LLM call and no delivery errors (LANG-320). - monitoring_messages.handled_by (0045): runner:<id> | plugin:<author>/<name>; plugin-handled messages no longer claim the Runner. - Attribute prevent_default to the plugin reported by the Runtime, falling back to a single emitted plugin for older Runtimes. - Record ctx.reply and plugin send_message as assistant messages, with PluginReplyError / PluginSendError on failure; delivery behaviour is unchanged and monitoring failures are swallowed. - Link plugin-level LLM calls and sends to the triggering message through origin_query_uuid. The Host opts in per event (origin_attribution), so plugins never send the new field to Hosts with strict schemas. Used for attribution only, never for authorization. - WebUI: "Handled by plugin" badge in the execution list and detail. - Docs (zh/en/ja) and dev-docs contract note. Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-authored-by: multica-agent <[email protected]> * test(migrations): account for the 0045 handled_by index on downgrade Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-authored-by: multica-agent <[email protected]> * test(postgres): register the capacity requester instead of patching _build_provider #2896 builds providers on a staged ModelManager during load_models_from_db, so the per-instance _build_provider patch no longer applied and the populated Cloud startup test loaded zero providers on master. Register a network-free requester that the staged manager inherits instead. Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-authored-by: multica-agent <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: multica-agent <[email protected]>