Skip to content

v1.3.0 — bridge extension commands, multi-instance

Choose a tag to compare

@abyrvalg379 abyrvalg379 released this 20 Sep 22:32
· 12 commits to main since this release

v1.3.0 — bridge extension commands, multi-instance

New handler-layer commands (reachable from any client via its code-execution escape hatch: from bl_ext.user_default.zcode_mcp import handlers; handlers.HANDLERS["get_console_log"](...)):

  • get_console_log / clear_console_log — ring buffer (500 lines) of Python-level console output: addon prints, tracebacks, logging. C-level console (register warnings, operator reports) is not visible to Python.
  • get_bridge_info — one-call identity card: bridge/Blender versions, pid, scene, filepath, counts, actual port.
  • get_hierarchy — collection tree with objects and visibility flags.
  • get_object_data — full read-only object dossier (modifiers, constraints, material slots, mesh stats, custom props, action).
  • get_material_info — nodes summary, image textures with colorspace and on-disk state.
  • get_images_report — all images: paths, colorspace, packed, missing files.
  • list_instances — live bridge instances on this machine (multi-instance discovery).

Multi-instance: if the preferred port is busy, the bridge binds the next port (9877, 9878, ...) and registers itself in %TEMP%/zcode_mcp_instances/pid_<pid>.json with a heartbeat — a second Blender instance runs its own bridge side by side with the first.

Panel: version in the header, new collapsed "Console Log" sub-panel (last lines + Save to File + Clear). Port shows the actual bound port.

v1.3.0 — расширенные команды, мульти-инстанс

Новые команды слоя хендлеров (доступны любому клиенту через code-execution лаз: from bl_ext.user_default.zcode_mcp import handlers; handlers.HANDLERS["get_console_log"](...)): лог-кольцо консоли (500 строк Python-вывода), визитка инстанса, дерево коллекций, полная карточка объекта, информация по материалам, отчёт по изображениям (пути/колорспейс/пропавшие), список живых инстансов.

Мульти-инстанс: занятый порт — мост берёт следующий (9877...) и регистрируется в %TEMP%/zcode_mcp_instances/ с хартбитом; второй Blender живёт со своим мостом параллельно.

Панель: версия в шапке, свёрнутая суб-панель Console Log (строки + Save to File + Clear), фактический порт.