mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-12-04 12:08:11 +00:00
Initialize the scheduler store before snapshots. Preserve legacy memory calls and per-action permissions while advertising the unified tool, and retain saved policy IDs for moved tools. Restore legacy log rendering and connector tool events, and reject malformed boolean arguments by default.
9 lines
293 B
JavaScript
9 lines
293 B
JavaScript
import { drawMessageToolSimple } from "/js/messages.js";
|
|
|
|
export default async function registerVisionHandler(extData) {
|
|
if (extData?.type === "vision_load" || extData?.tool_name === "vision_load") {
|
|
extData.handler = (log) =>
|
|
drawMessageToolSimple({ ...log, code: "EYE" });
|
|
}
|
|
}
|