vibrante-node 2.5.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (487) hide show
  1. src/core/__init__.py +0 -0
  2. src/core/engine.py +484 -0
  3. src/core/events.py +32 -0
  4. src/core/graph.py +74 -0
  5. src/core/integrity.py +925 -0
  6. src/core/loader.py +56 -0
  7. src/core/manifest.py +910 -0
  8. src/core/models.py +59 -0
  9. src/core/persistence.py +27 -0
  10. src/core/python_to_workflow.py +182 -0
  11. src/core/registry.py +314 -0
  12. src/core/workflow_to_python.py +801 -0
  13. src/main.py +188 -0
  14. src/models/__init__.py +0 -0
  15. src/nodes/__init__.py +0 -0
  16. src/nodes/ai/__init__.py +1 -0
  17. src/nodes/base.py +174 -0
  18. src/nodes/builtins/__init__.py +0 -0
  19. src/nodes/builtins/group_node.py +210 -0
  20. src/nodes/builtins/nodes.py +452 -0
  21. src/nodes/print.py +19 -0
  22. src/nodes/test.py +19 -0
  23. src/ui/__init__.py +0 -0
  24. src/ui/canvas/__init__.py +0 -0
  25. src/ui/canvas/backdrop.py +223 -0
  26. src/ui/canvas/canvas_search_bar.py +222 -0
  27. src/ui/canvas/edge.py +98 -0
  28. src/ui/canvas/mini_map.py +138 -0
  29. src/ui/canvas/node_search_popup.py +270 -0
  30. src/ui/canvas/scene.py +1149 -0
  31. src/ui/canvas/sticky_note.py +123 -0
  32. src/ui/canvas/view.py +285 -0
  33. src/ui/code_editor.py +435 -0
  34. src/ui/export_python_dialog.py +490 -0
  35. src/ui/gemini_api_dialog.py +41 -0
  36. src/ui/gemini_chat.py +370 -0
  37. src/ui/import_python_dialog.py +122 -0
  38. src/ui/library_panel.py +246 -0
  39. src/ui/log_panel.py +315 -0
  40. src/ui/node_builder.py +841 -0
  41. src/ui/node_widget.py +1009 -0
  42. src/ui/port_widget.py +116 -0
  43. src/ui/script_editor.py +53 -0
  44. src/ui/scripting_console.py +270 -0
  45. src/ui/settings_window.py +575 -0
  46. src/ui/window.py +2012 -0
  47. src/utils/color_manager.py +50 -0
  48. src/utils/config_manager.py +71 -0
  49. src/utils/env_manager.py +232 -0
  50. src/utils/highlighter.py +110 -0
  51. src/utils/paths.py +30 -0
  52. src/utils/prism_config.py +300 -0
  53. src/utils/prism_core.py +80 -0
  54. src/utils/qt_compat.py +159 -0
  55. src/utils/runtime.py +80 -0
  56. vibrante_node/CLA.md +96 -0
  57. vibrante_node/COMMERCIAL_LICENSE.md +170 -0
  58. vibrante_node/LICENSE +178 -0
  59. vibrante_node/LICENSES/AGPL-3.0.txt +661 -0
  60. vibrante_node/LICENSES/CC-BY-4.0-SCOPE.md +53 -0
  61. vibrante_node/LICENSES/CC-BY-4.0.txt +396 -0
  62. vibrante_node/LICENSES/GPL-3.0.txt +674 -0
  63. vibrante_node/LICENSES/LGPL-3.0.txt +165 -0
  64. vibrante_node/LICENSES/README.md +65 -0
  65. vibrante_node/THIRD_PARTY_NOTICES.txt +3277 -0
  66. vibrante_node/__init__.py +2 -0
  67. vibrante_node/app.py +60 -0
  68. vibrante_node/docs/AUTOMATION_API.html +785 -0
  69. vibrante_node/docs/DEVELOPER.html +891 -0
  70. vibrante_node/docs/DOCUMENTATION.html +2761 -0
  71. vibrante_node/docs/LICENSE.txt +35 -0
  72. vibrante_node/docs/NODE_BUILDER_API.html +1155 -0
  73. vibrante_node/docs/RELEASE_v1.0.5.html +140 -0
  74. vibrante_node/docs/RELEASE_v1.1.0.html +163 -0
  75. vibrante_node/docs/RELEASE_v1.1.5.html +286 -0
  76. vibrante_node/docs/RELEASE_v1.2.0.html +175 -0
  77. vibrante_node/docs/RELEASE_v1.3.0.html +168 -0
  78. vibrante_node/docs/RELEASE_v1.4.0.html +160 -0
  79. vibrante_node/docs/RELEASE_v1.5.0.html +432 -0
  80. vibrante_node/docs/RELEASE_v1.6.0.html +293 -0
  81. vibrante_node/docs/RELEASE_v1.6.1.html +171 -0
  82. vibrante_node/docs/RELEASE_v1.7.0.html +270 -0
  83. vibrante_node/docs/RELEASE_v1.8.0.html +201 -0
  84. vibrante_node/docs/RELEASE_v1.8.1.html +124 -0
  85. vibrante_node/docs/RELEASE_v1.8.2.html +119 -0
  86. vibrante_node/docs/RELEASE_v1.8.3.html +125 -0
  87. vibrante_node/docs/RELEASE_v1.8.4.html +210 -0
  88. vibrante_node/docs/RELEASE_v1.8.5.html +223 -0
  89. vibrante_node/docs/RELEASE_v2.0.0.html +284 -0
  90. vibrante_node/docs/RELEASE_v2.1.0.html +259 -0
  91. vibrante_node/docs/RELEASE_v2.1.1.html +156 -0
  92. vibrante_node/docs/RELEASE_v2.2.0.html +369 -0
  93. vibrante_node/docs/RELEASE_v2.2.1.html +168 -0
  94. vibrante_node/docs/RELEASE_v2.3.0.html +185 -0
  95. vibrante_node/docs/RELEASE_v2.4.0.html +446 -0
  96. vibrante_node/docs/RELEASE_v2.5.0.html +478 -0
  97. vibrante_node/docs/RELEASE_v2.5.1.html +190 -0
  98. vibrante_node/docs/USER_GUIDE.html +1407 -0
  99. vibrante_node/docs/index.html +103 -0
  100. vibrante_node/docs/portal/01_introduction.html +1177 -0
  101. vibrante_node/docs/portal/02_getting_started.html +1267 -0
  102. vibrante_node/docs/portal/03_user_guide.html +1736 -0
  103. vibrante_node/docs/portal/04_workflow_tutorials.html +1473 -0
  104. vibrante_node/docs/portal/05_node_development.html +1562 -0
  105. vibrante_node/docs/portal/06_backend_architecture.html +1373 -0
  106. vibrante_node/docs/portal/07_frontend_architecture.html +1588 -0
  107. vibrante_node/docs/portal/08_api_reference.html +2336 -0
  108. vibrante_node/docs/portal/09_advanced_topics.html +1664 -0
  109. vibrante_node/docs/portal/10_contribution_guide.html +1263 -0
  110. vibrante_node/docs/portal/11_troubleshooting.html +1108 -0
  111. vibrante_node/docs/portal/12_examples_library.html +1498 -0
  112. vibrante_node/docs/portal/13_general_purpose_automation.html +1472 -0
  113. vibrante_node/docs/portal/14_custom_nodes_api.html +1960 -0
  114. vibrante_node/docs/portal/index.html +605 -0
  115. vibrante_node/docs/portal/integrations_blender.html +605 -0
  116. vibrante_node/docs/portal/integrations_deadline.html +536 -0
  117. vibrante_node/docs/portal/integrations_houdini.html +787 -0
  118. vibrante_node/docs/portal/integrations_maya.html +675 -0
  119. vibrante_node/docs/portal/integrations_prism.html +628 -0
  120. vibrante_node/docs/portal/search.json +1 -0
  121. vibrante_node/docs/validation.json +333 -0
  122. vibrante_node/examples/arnold_lighting/orchestration_notes.md +45 -0
  123. vibrante_node/examples/arnold_lighting/prompt.md +47 -0
  124. vibrante_node/examples/automation/01_linear_chain.py +10 -0
  125. vibrante_node/examples/automation/02_batch_update_prefix.py +8 -0
  126. vibrante_node/examples/automation/03_reset_scene.py +5 -0
  127. vibrante_node/examples/automation/04_batch_execution.py +9 -0
  128. vibrante_node/examples/automation/05_git_backup.py +6 -0
  129. vibrante_node/examples/automation/06_reset_math_nodes.py +12 -0
  130. vibrante_node/examples/automation/07_stress_test_grid.py +8 -0
  131. vibrante_node/examples/automation/08_scene_summary.py +8 -0
  132. vibrante_node/examples/automation/09_toggle_bools.py +8 -0
  133. vibrante_node/examples/automation/10_session_report.py +7 -0
  134. vibrante_node/examples/automation/11_simple_math_node.py +7 -0
  135. vibrante_node/examples/cinematic_camera/orchestration_notes.md +56 -0
  136. vibrante_node/examples/cinematic_camera/prompt.md +50 -0
  137. vibrante_node/examples/cinematic_explosion/orchestration_notes.md +76 -0
  138. vibrante_node/examples/cinematic_explosion/prompt.md +47 -0
  139. vibrante_node/examples/cinematic_explosion/review.md +75 -0
  140. vibrante_node/examples/dust_wave/orchestration_notes.md +43 -0
  141. vibrante_node/examples/dust_wave/prompt.md +40 -0
  142. vibrante_node/examples/nodes/async_delay.py +21 -0
  143. vibrante_node/examples/nodes/connection_logger.py +25 -0
  144. vibrante_node/examples/nodes/data_filter.py +19 -0
  145. vibrante_node/examples/nodes/dict_merge.py +20 -0
  146. vibrante_node/examples/nodes/dict_summary.py +21 -0
  147. vibrante_node/examples/nodes/dropdown_selector.py +29 -0
  148. vibrante_node/examples/nodes/env_reader.py +18 -0
  149. vibrante_node/examples/nodes/list_item_picker.py +85 -0
  150. vibrante_node/examples/nodes/list_stats.py +27 -0
  151. vibrante_node/examples/nodes/logic_threshold.py +23 -0
  152. vibrante_node/examples/nodes/math_square.py +30 -0
  153. vibrante_node/examples/nodes/random_list.py +18 -0
  154. vibrante_node/examples/nodes/reactive_config.py +24 -0
  155. vibrante_node/examples/nodes/safety_reset.py +31 -0
  156. vibrante_node/examples/nodes/string_reverse.py +16 -0
  157. vibrante_node/icons/210429_DeadlineFreeOn10RenderMachines.jpg +0 -0
  158. vibrante_node/icons/README.md +39 -0
  159. vibrante_node/icons/blender_icon.png +0 -0
  160. vibrante_node/icons/braces.png +0 -0
  161. vibrante_node/icons/braces.svg +1 -0
  162. vibrante_node/icons/builder.png +0 -0
  163. vibrante_node/icons/check.png +0 -0
  164. vibrante_node/icons/check.svg +1 -0
  165. vibrante_node/icons/chevron-right.svg +3 -0
  166. vibrante_node/icons/code.png +0 -0
  167. vibrante_node/icons/code.svg +4 -0
  168. vibrante_node/icons/computer-window.png +0 -0
  169. vibrante_node/icons/data.png +0 -0
  170. vibrante_node/icons/data.svg +5 -0
  171. vibrante_node/icons/database-search.png +0 -0
  172. vibrante_node/icons/database-search.svg +5 -0
  173. vibrante_node/icons/database-zap.png +0 -0
  174. vibrante_node/icons/database-zap.svg +5 -0
  175. vibrante_node/icons/database.png +0 -0
  176. vibrante_node/icons/database.svg +5 -0
  177. vibrante_node/icons/dice.png +0 -0
  178. vibrante_node/icons/dice.svg +1 -0
  179. vibrante_node/icons/divide.svg +5 -0
  180. vibrante_node/icons/file-input.svg +6 -0
  181. vibrante_node/icons/file-plus.png +0 -0
  182. vibrante_node/icons/file-plus.svg +6 -0
  183. vibrante_node/icons/file-text.png +0 -0
  184. vibrante_node/icons/file-text.svg +7 -0
  185. vibrante_node/icons/folder-plus.png +0 -0
  186. vibrante_node/icons/folder-plus.svg +5 -0
  187. vibrante_node/icons/folder.png +0 -0
  188. vibrante_node/icons/folder.svg +3 -0
  189. vibrante_node/icons/gear.png +0 -0
  190. vibrante_node/icons/gear.svg +1 -0
  191. vibrante_node/icons/git-branch.svg +6 -0
  192. vibrante_node/icons/hash.png +0 -0
  193. vibrante_node/icons/hash.svg +1 -0
  194. vibrante_node/icons/houdini.svg +4 -0
  195. vibrante_node/icons/houdini_icon.png +0 -0
  196. vibrante_node/icons/http.png +0 -0
  197. vibrante_node/icons/list-check.png +0 -0
  198. vibrante_node/icons/list-check.svg +7 -0
  199. vibrante_node/icons/list-plus.svg +10 -0
  200. vibrante_node/icons/list.png +0 -0
  201. vibrante_node/icons/list.svg +8 -0
  202. vibrante_node/icons/logic.png +0 -0
  203. vibrante_node/icons/logic.svg +7 -0
  204. vibrante_node/icons/math.png +0 -0
  205. vibrante_node/icons/math.svg +4 -0
  206. vibrante_node/icons/maya_icon.jpg +0 -0
  207. vibrante_node/icons/message.png +0 -0
  208. vibrante_node/icons/message.svg +3 -0
  209. vibrante_node/icons/minus.svg +3 -0
  210. vibrante_node/icons/multiply.png +0 -0
  211. vibrante_node/icons/multiply.svg +1 -0
  212. vibrante_node/icons/online-library.png +0 -0
  213. vibrante_node/icons/percentage.svg +5 -0
  214. vibrante_node/icons/plus.png +0 -0
  215. vibrante_node/icons/plus.svg +1 -0
  216. vibrante_node/icons/print.png +0 -0
  217. vibrante_node/icons/print.svg +5 -0
  218. vibrante_node/icons/prism_icon.png +0 -0
  219. vibrante_node/icons/refresh.svg +6 -0
  220. vibrante_node/icons/repeat.svg +6 -0
  221. vibrante_node/icons/scales.png +0 -0
  222. vibrante_node/icons/scales.svg +1 -0
  223. vibrante_node/icons/shuffle.svg +7 -0
  224. vibrante_node/icons/string.png +0 -0
  225. vibrante_node/icons/string.svg +5 -0
  226. vibrante_node/icons/terminal.png +0 -0
  227. vibrante_node/icons/terminal.svg +1 -0
  228. vibrante_node/icons/timer.png +0 -0
  229. vibrante_node/icons/timer.svg +4 -0
  230. vibrante_node/icons/toggle-switch.svg +5 -0
  231. vibrante_node/icons/uppercase.png +0 -0
  232. vibrante_node/icons/uppercase.svg +1 -0
  233. vibrante_node/icons/variable-get.svg +4 -0
  234. vibrante_node/icons/variable-set.svg +6 -0
  235. vibrante_node/icons/variable.png +0 -0
  236. vibrante_node/icons/variable.svg +5 -0
  237. vibrante_node/icons/vibrante-node-icon.png +0 -0
  238. vibrante_node/icons/vibrante-node-logo.png +0 -0
  239. vibrante_node/icons/vibrante-node-main_logo.png +0 -0
  240. vibrante_node/icons/vibrante-node-resize_main_logo.png +0 -0
  241. vibrante_node/logo.png +0 -0
  242. vibrante_node/mcp_cli.py +36 -0
  243. vibrante_node/node_examples/Split_String.json +35 -0
  244. vibrante_node/node_examples/async_delay.json +32 -0
  245. vibrante_node/node_examples/delay_timer.json +29 -0
  246. vibrante_node/node_examples/file_reader.json +29 -0
  247. vibrante_node/node_examples/fruit_selector.json +37 -0
  248. vibrante_node/node_examples/json_parser.json +29 -0
  249. vibrante_node/node_examples/line_counter.json +29 -0
  250. vibrante_node/node_examples/list_append.json +32 -0
  251. vibrante_node/node_examples/list_images_recursive.json +55 -0
  252. vibrante_node/node_examples/logic_and.json +34 -0
  253. vibrante_node/node_examples/logic_compare.json +36 -0
  254. vibrante_node/node_examples/math_abs.json +29 -0
  255. vibrante_node/node_examples/math_add.json +32 -0
  256. vibrante_node/node_examples/reactive_config.json +28 -0
  257. vibrante_node/node_examples/string_uppercase.json +29 -0
  258. vibrante_node/nodes/Dropdown_Selector.json +27 -0
  259. vibrante_node/nodes/add_integers.json +34 -0
  260. vibrante_node/nodes/blender_action_bake_animation.json +23 -0
  261. vibrante_node/nodes/blender_action_custom.json +21 -0
  262. vibrante_node/nodes/blender_action_export_alembic.json +22 -0
  263. vibrante_node/nodes/blender_action_export_fbx.json +23 -0
  264. vibrante_node/nodes/blender_action_export_gltf.json +21 -0
  265. vibrante_node/nodes/blender_action_export_obj.json +19 -0
  266. vibrante_node/nodes/blender_action_export_usd.json +23 -0
  267. vibrante_node/nodes/blender_action_import_alembic.json +18 -0
  268. vibrante_node/nodes/blender_action_import_fbx.json +18 -0
  269. vibrante_node/nodes/blender_action_import_gltf.json +18 -0
  270. vibrante_node/nodes/blender_action_import_obj.json +18 -0
  271. vibrante_node/nodes/blender_action_new_blend.json +18 -0
  272. vibrante_node/nodes/blender_action_open_blend.json +18 -0
  273. vibrante_node/nodes/blender_action_render.json +23 -0
  274. vibrante_node/nodes/blender_action_save_blend.json +18 -0
  275. vibrante_node/nodes/blender_action_scene_info.json +17 -0
  276. vibrante_node/nodes/blender_action_set_frame_range.json +20 -0
  277. vibrante_node/nodes/blender_action_set_render_settings.json +27 -0
  278. vibrante_node/nodes/blender_get_action_result.json +22 -0
  279. vibrante_node/nodes/blender_headless.json +86 -0
  280. vibrante_node/nodes/compare.json +48 -0
  281. vibrante_node/nodes/console_print.json +29 -0
  282. vibrante_node/nodes/create_dictionary.json +18 -0
  283. vibrante_node/nodes/create_folder.json +17 -0
  284. vibrante_node/nodes/create_list.json +18 -0
  285. vibrante_node/nodes/deadline_blender_submit.json +38 -0
  286. vibrante_node/nodes/deadline_houdini_submit.json +38 -0
  287. vibrante_node/nodes/deadline_job_status.json +28 -0
  288. vibrante_node/nodes/deadline_maya_submit.json +40 -0
  289. vibrante_node/nodes/delay_timer.json +26 -0
  290. vibrante_node/nodes/example_random_float.json +35 -0
  291. vibrante_node/nodes/file_append.json +18 -0
  292. vibrante_node/nodes/file_write.json +18 -0
  293. vibrante_node/nodes/for_loop.json +46 -0
  294. vibrante_node/nodes/get_dict_value.json +19 -0
  295. vibrante_node/nodes/get_list_item.json +19 -0
  296. vibrante_node/nodes/houdini_action_bake_animation.json +20 -0
  297. vibrante_node/nodes/houdini_action_custom.json +20 -0
  298. vibrante_node/nodes/houdini_action_export_alembic.json +20 -0
  299. vibrante_node/nodes/houdini_action_export_camera_alembic.json +20 -0
  300. vibrante_node/nodes/houdini_action_export_fbx.json +18 -0
  301. vibrante_node/nodes/houdini_action_import_alembic.json +18 -0
  302. vibrante_node/nodes/houdini_action_import_camera.json +17 -0
  303. vibrante_node/nodes/houdini_action_import_fbx.json +18 -0
  304. vibrante_node/nodes/houdini_action_import_obj.json +18 -0
  305. vibrante_node/nodes/houdini_action_new_hip.json +16 -0
  306. vibrante_node/nodes/houdini_action_open_hip.json +17 -0
  307. vibrante_node/nodes/houdini_action_save_hip.json +17 -0
  308. vibrante_node/nodes/houdini_action_scene_info.json +16 -0
  309. vibrante_node/nodes/houdini_action_set_frame_range.json +18 -0
  310. vibrante_node/nodes/houdini_get_action_result.json +21 -0
  311. vibrante_node/nodes/houdini_headless.json +85 -0
  312. vibrante_node/nodes/houdini_scene_snapshot.json +41 -0
  313. vibrante_node/nodes/http_request.json +76 -0
  314. vibrante_node/nodes/if_condition.json +45 -0
  315. vibrante_node/nodes/list_directory.json +17 -0
  316. vibrante_node/nodes/list_images_recursive.json +41 -0
  317. vibrante_node/nodes/list_item_picker.json +41 -0
  318. vibrante_node/nodes/list_length.json +17 -0
  319. vibrante_node/nodes/logical_gate.json +45 -0
  320. vibrante_node/nodes/loop_body.json +62 -0
  321. vibrante_node/nodes/math_add.json +17 -0
  322. vibrante_node/nodes/math_divide.json +17 -0
  323. vibrante_node/nodes/math_modulo.json +17 -0
  324. vibrante_node/nodes/math_multiply.json +36 -0
  325. vibrante_node/nodes/math_subtract.json +17 -0
  326. vibrante_node/nodes/maya_action_assign_material.json +18 -0
  327. vibrante_node/nodes/maya_action_bake_animation.json +21 -0
  328. vibrante_node/nodes/maya_action_create_render_layer.json +19 -0
  329. vibrante_node/nodes/maya_action_custom.json +20 -0
  330. vibrante_node/nodes/maya_action_export_alembic.json +22 -0
  331. vibrante_node/nodes/maya_action_export_camera_alembic.json +20 -0
  332. vibrante_node/nodes/maya_action_export_fbx.json +18 -0
  333. vibrante_node/nodes/maya_action_import_alembic.json +17 -0
  334. vibrante_node/nodes/maya_action_import_camera.json +17 -0
  335. vibrante_node/nodes/maya_action_import_fbx.json +17 -0
  336. vibrante_node/nodes/maya_action_import_obj.json +17 -0
  337. vibrante_node/nodes/maya_action_list_references.json +16 -0
  338. vibrante_node/nodes/maya_action_new_scene.json +16 -0
  339. vibrante_node/nodes/maya_action_open_scene.json +18 -0
  340. vibrante_node/nodes/maya_action_playblast.json +22 -0
  341. vibrante_node/nodes/maya_action_reference_alembic.json +18 -0
  342. vibrante_node/nodes/maya_action_reference_scene.json +18 -0
  343. vibrante_node/nodes/maya_action_save_scene.json +18 -0
  344. vibrante_node/nodes/maya_action_scene_info.json +16 -0
  345. vibrante_node/nodes/maya_action_set_aovs.json +18 -0
  346. vibrante_node/nodes/maya_action_set_frame_range.json +18 -0
  347. vibrante_node/nodes/maya_action_set_render_settings.json +23 -0
  348. vibrante_node/nodes/maya_get_action_result.json +21 -0
  349. vibrante_node/nodes/maya_headless.json +27 -0
  350. vibrante_node/nodes/mcp_call_tool.json +19 -0
  351. vibrante_node/nodes/mcp_list_tools.json +18 -0
  352. vibrante_node/nodes/mcp_server_init.json +23 -0
  353. vibrante_node/nodes/message_node.json +32 -0
  354. vibrante_node/nodes/prism_add_integration.json +49 -0
  355. vibrante_node/nodes/prism_build_entity.json +45 -0
  356. vibrante_node/nodes/prism_change_project.json +37 -0
  357. vibrante_node/nodes/prism_core_info.json +37 -0
  358. vibrante_node/nodes/prism_core_init.json +46 -0
  359. vibrante_node/nodes/prism_create_category.json +44 -0
  360. vibrante_node/nodes/prism_create_entity.json +60 -0
  361. vibrante_node/nodes/prism_create_playblast.json +56 -0
  362. vibrante_node/nodes/prism_create_product_version.json +64 -0
  363. vibrante_node/nodes/prism_create_project.json +50 -0
  364. vibrante_node/nodes/prism_create_scene_from_preset.json +59 -0
  365. vibrante_node/nodes/prism_eval.json +42 -0
  366. vibrante_node/nodes/prism_get_aovs.json +29 -0
  367. vibrante_node/nodes/prism_get_asset_by_name.json +69 -0
  368. vibrante_node/nodes/prism_get_asset_type_by_name.json +62 -0
  369. vibrante_node/nodes/prism_get_asset_types_by_project.json +55 -0
  370. vibrante_node/nodes/prism_get_assets_by_project.json +41 -0
  371. vibrante_node/nodes/prism_get_assets_by_type.json +69 -0
  372. vibrante_node/nodes/prism_get_config.json +48 -0
  373. vibrante_node/nodes/prism_get_current_scene.json +37 -0
  374. vibrante_node/nodes/prism_get_departments.json +37 -0
  375. vibrante_node/nodes/prism_get_entity_info.json +69 -0
  376. vibrante_node/nodes/prism_get_entity_path.json +69 -0
  377. vibrante_node/nodes/prism_get_export_path.json +26 -0
  378. vibrante_node/nodes/prism_get_latest_product_path.json +34 -0
  379. vibrante_node/nodes/prism_get_media.json +29 -0
  380. vibrante_node/nodes/prism_get_media_versions.json +33 -0
  381. vibrante_node/nodes/prism_get_plugin.json +35 -0
  382. vibrante_node/nodes/prism_get_preset_scenes.json +35 -0
  383. vibrante_node/nodes/prism_get_product_versions.json +33 -0
  384. vibrante_node/nodes/prism_get_products.json +29 -0
  385. vibrante_node/nodes/prism_get_project_by_name.json +55 -0
  386. vibrante_node/nodes/prism_get_project_config_path.json +26 -0
  387. vibrante_node/nodes/prism_get_scene_files.json +45 -0
  388. vibrante_node/nodes/prism_get_scene_path.json +23 -0
  389. vibrante_node/nodes/prism_get_sequence_by_project.json +48 -0
  390. vibrante_node/nodes/prism_get_sequences_by_project.json +41 -0
  391. vibrante_node/nodes/prism_get_shot_by_name.json +62 -0
  392. vibrante_node/nodes/prism_get_shot_by_sequence.json +55 -0
  393. vibrante_node/nodes/prism_get_shot_info.json +69 -0
  394. vibrante_node/nodes/prism_get_shots.json +29 -0
  395. vibrante_node/nodes/prism_get_shots_by_project_sequence.json +48 -0
  396. vibrante_node/nodes/prism_get_shots_by_sequence.json +48 -0
  397. vibrante_node/nodes/prism_get_tasks.json +39 -0
  398. vibrante_node/nodes/prism_import_product.json +37 -0
  399. vibrante_node/nodes/prism_list_plugins.json +25 -0
  400. vibrante_node/nodes/prism_list_projects.json +25 -0
  401. vibrante_node/nodes/prism_login_token.json +33 -0
  402. vibrante_node/nodes/prism_monkey_patch.json +46 -0
  403. vibrante_node/nodes/prism_open_scene.json +33 -0
  404. vibrante_node/nodes/prism_popup.json +40 -0
  405. vibrante_node/nodes/prism_register_callback.json +58 -0
  406. vibrante_node/nodes/prism_save_scene_version.json +90 -0
  407. vibrante_node/nodes/prism_send_cmd.json +54 -0
  408. vibrante_node/nodes/prism_set_config.json +55 -0
  409. vibrante_node/nodes/prism_studio_assign_project.json +43 -0
  410. vibrante_node/nodes/prism_trigger_callback.json +42 -0
  411. vibrante_node/nodes/prism_usd_department_layer_path.json +35 -0
  412. vibrante_node/nodes/prism_usd_entity_path.json +29 -0
  413. vibrante_node/nodes/prism_usd_sublayer_path.json +41 -0
  414. vibrante_node/nodes/prism_usd_update_department_layer.json +33 -0
  415. vibrante_node/nodes/prism_usd_update_sublayer.json +33 -0
  416. vibrante_node/nodes/python_script.json +17 -0
  417. vibrante_node/nodes/scene_intent_extractor.json +25 -0
  418. vibrante_node/nodes/set_dict_value.json +20 -0
  419. vibrante_node/nodes/string_concat.json +47 -0
  420. vibrante_node/nodes/string_length.json +16 -0
  421. vibrante_node/nodes/string_lowercase.json +16 -0
  422. vibrante_node/nodes/string_replace.json +18 -0
  423. vibrante_node/nodes/string_split.json +17 -0
  424. vibrante_node/nodes/string_uppercase.json +16 -0
  425. vibrante_node/nodes/variable_node.json +42 -0
  426. vibrante_node/nodes/while_loop.json +18 -0
  427. vibrante_node/splash.png +0 -0
  428. vibrante_node/vfx_workflows/01_prism_project_overview.json +492 -0
  429. vibrante_node/vfx_workflows/02_maya_asset_publish.json +776 -0
  430. vibrante_node/vfx_workflows/03_multi_shot_alembic_export.json +856 -0
  431. vibrante_node/vfx_workflows/04_deadline_render_pipeline.json +994 -0
  432. vibrante_node/vfx_workflows/05_houdini_fx_pipeline.json +1056 -0
  433. vibrante_node/vfx_workflows/06_blender_multi_format_export.json +1206 -0
  434. vibrante_node/website_examples/database_query.json +69 -0
  435. vibrante_node/website_examples/email_notification.json +104 -0
  436. vibrante_node/website_examples/file_batch_processor.json +62 -0
  437. vibrante_node/website_examples/folder_monitor.json +55 -0
  438. vibrante_node/website_examples/hou_sop_chain.json +69 -0
  439. vibrante_node/website_examples/http_request.json +90 -0
  440. vibrante_node/website_examples/image_resizer.json +90 -0
  441. vibrante_node/website_examples/llm_text_generation.json +90 -0
  442. vibrante_node/website_examples/prism_multi_asset_publisher.json +76 -0
  443. vibrante_node/website_examples/regex_replace.json +69 -0
  444. vibrante_node/workflows/If_condition.json +134 -0
  445. vibrante_node/workflows/Maya_WorkFlow.json +464 -0
  446. vibrante_node/workflows/asset_intelligence_pipeline.json +259 -0
  447. vibrante_node/workflows/concat_string_with_loop.json +262 -0
  448. vibrante_node/workflows/delay_time.json +74 -0
  449. vibrante_node/workflows/example_workflow_maya_prism_demo.json +503 -0
  450. vibrante_node/workflows/example_workflow_prism_demo.json +276 -0
  451. vibrante_node/workflows/example_workflow_prism_demo_02.json +221 -0
  452. vibrante_node/workflows/extract_FPS_from_maya_scene.json +265 -0
  453. vibrante_node/workflows/for_each.json +260 -0
  454. vibrante_node/workflows/get_list_item.json +151 -0
  455. vibrante_node/workflows/hou_mcp_scene_context_demo.json +67 -0
  456. vibrante_node/workflows/list_recursive_images.json +103 -0
  457. vibrante_node/workflows/logic_if_example.json +262 -0
  458. vibrante_node/workflows/logic_if_with_variables.json +210 -0
  459. vibrante_node/workflows/loop_break_example.json +197 -0
  460. vibrante_node/workflows/loop_operation_example.json +382 -0
  461. vibrante_node/workflows/mcp_list_tools_demo.json +90 -0
  462. vibrante_node/workflows/prism_assets_workflow.json +131 -0
  463. vibrante_node/workflows/python_script_node.json +89 -0
  464. vibrante_node/workflows/run_in_sequence.json +158 -0
  465. vibrante_node/workflows/scene_intent_pipeline.json +134 -0
  466. vibrante_node/workflows/scene_planning_pipeline.json +258 -0
  467. vibrante_node/workflows/semantic_scene_intent.json +96 -0
  468. vibrante_node/workflows/setup_maya_scene.json +352 -0
  469. vibrante_node/workflows/tutorial_maya_headless_prism_pipeline.json +593 -0
  470. vibrante_node/workflows/two_way_switch.json +341 -0
  471. vibrante_node/workflows/while_loop_class_example.json +192 -0
  472. vibrante_node/workflows/while_loop_example.json +184 -0
  473. vibrante_node/workflows/while_loop_retry_example.json +276 -0
  474. vibrante_node-2.5.1.dist-info/METADATA +715 -0
  475. vibrante_node-2.5.1.dist-info/RECORD +487 -0
  476. vibrante_node-2.5.1.dist-info/WHEEL +5 -0
  477. vibrante_node-2.5.1.dist-info/entry_points.txt +3 -0
  478. vibrante_node-2.5.1.dist-info/licenses/CLA.md +96 -0
  479. vibrante_node-2.5.1.dist-info/licenses/COMMERCIAL_LICENSE.md +170 -0
  480. vibrante_node-2.5.1.dist-info/licenses/LICENSE +178 -0
  481. vibrante_node-2.5.1.dist-info/licenses/LICENSES/AGPL-3.0.txt +661 -0
  482. vibrante_node-2.5.1.dist-info/licenses/LICENSES/CC-BY-4.0-SCOPE.md +53 -0
  483. vibrante_node-2.5.1.dist-info/licenses/LICENSES/CC-BY-4.0.txt +396 -0
  484. vibrante_node-2.5.1.dist-info/licenses/LICENSES/GPL-3.0.txt +674 -0
  485. vibrante_node-2.5.1.dist-info/licenses/LICENSES/LGPL-3.0.txt +165 -0
  486. vibrante_node-2.5.1.dist-info/licenses/LICENSES/README.md +65 -0
  487. vibrante_node-2.5.1.dist-info/top_level.txt +2 -0
@@ -0,0 +1,1108 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <meta name="description" content="Vibrante-Node v2.5.1 — Troubleshooting">
7
+ <title>Troubleshooting — Vibrante-Node Docs</title>
8
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/atom-one-dark.min.css">
9
+ <style>
10
+ /* ── Reset & Variables ─────────────────────────────────────────────────── */
11
+ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
12
+ :root {
13
+ --bg: #1e1e2e;
14
+ --surface: #181825;
15
+ --surface2: #11111b;
16
+ --border: #313244;
17
+ --text: #cdd6f4;
18
+ --subtext: #a6adc8;
19
+ --muted: #6c7086;
20
+ --lavender: #b4befe;
21
+ --blue: #89b4fa;
22
+ --teal: #94e2d5;
23
+ --green: #a6e3a1;
24
+ --yellow: #f9e2af;
25
+ --peach: #fab387;
26
+ --red: #f38ba8;
27
+ --pink: #f5c2e7;
28
+ --mauve: #cba6f7;
29
+ --sidebar-w: 260px;
30
+ --toc-w: 220px;
31
+ --header-h: 56px;
32
+ --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
33
+ --mono: 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
34
+ }
35
+
36
+ /* ── Layout ─────────────────────────────────────────────────────────────── */
37
+ html { scroll-behavior: smooth; }
38
+ body {
39
+ font-family: var(--font);
40
+ background: var(--bg);
41
+ color: var(--text);
42
+ line-height: 1.7;
43
+ min-height: 100vh;
44
+ display: grid;
45
+ grid-template-rows: var(--header-h) 1fr;
46
+ grid-template-columns: var(--sidebar-w) 1fr var(--toc-w);
47
+ grid-template-areas:
48
+ "header header header"
49
+ "sidebar content toc";
50
+ }
51
+
52
+ /* ── Header ─────────────────────────────────────────────────────────────── */
53
+ .header {
54
+ grid-area: header;
55
+ position: sticky; top: 0; z-index: 200;
56
+ background: var(--surface2);
57
+ border-bottom: 1px solid var(--border);
58
+ display: flex; align-items: center; gap: 16px;
59
+ padding: 0 24px;
60
+ }
61
+ .header-logo {
62
+ font-weight: 700; font-size: 1.05em;
63
+ color: var(--mauve);
64
+ text-decoration: none;
65
+ white-space: nowrap;
66
+ }
67
+ .header-version {
68
+ font-size: .78em;
69
+ background: var(--border);
70
+ color: var(--subtext);
71
+ padding: 2px 8px; border-radius: 12px;
72
+ }
73
+ .header-spacer { flex: 1; }
74
+ .search-wrap { position: relative; }
75
+ #search-input {
76
+ background: var(--surface);
77
+ border: 1px solid var(--border);
78
+ border-radius: 8px;
79
+ color: var(--text);
80
+ font-family: var(--font);
81
+ font-size: .9em;
82
+ padding: 6px 14px 6px 36px;
83
+ width: 260px;
84
+ outline: none;
85
+ transition: border-color .15s;
86
+ }
87
+ #search-input:focus { border-color: var(--mauve); }
88
+ .search-icon {
89
+ position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
90
+ color: var(--muted); pointer-events: none; font-size: .9em;
91
+ }
92
+ #search-results {
93
+ position: absolute; top: calc(100% + 8px); right: 0;
94
+ width: 380px; max-height: 420px; overflow-y: auto;
95
+ background: var(--surface);
96
+ border: 1px solid var(--border);
97
+ border-radius: 10px;
98
+ box-shadow: 0 8px 32px rgba(0,0,0,.5);
99
+ display: none; z-index: 300;
100
+ }
101
+ #search-results.visible { display: block; }
102
+ .search-result-item {
103
+ padding: 10px 16px;
104
+ border-bottom: 1px solid var(--border);
105
+ cursor: pointer;
106
+ transition: background .1s;
107
+ }
108
+ .search-result-item:last-child { border-bottom: none; }
109
+ .search-result-item:hover { background: var(--bg); }
110
+ .search-result-title { color: var(--blue); font-weight: 600; font-size: .9em; }
111
+ .search-result-excerpt { color: var(--subtext); font-size: .82em; margin-top: 2px; line-height: 1.4; }
112
+ .search-no-results { padding: 16px; color: var(--muted); text-align: center; font-size: .9em; }
113
+
114
+ /* ── Sidebar ─────────────────────────────────────────────────────────────── */
115
+ .sidebar {
116
+ grid-area: sidebar;
117
+ position: sticky; top: var(--header-h);
118
+ height: calc(100vh - var(--header-h));
119
+ overflow-y: auto;
120
+ background: var(--surface);
121
+ border-right: 1px solid var(--border);
122
+ padding: 20px 0;
123
+ scrollbar-width: thin;
124
+ scrollbar-color: var(--border) transparent;
125
+ }
126
+ .sidebar::-webkit-scrollbar { width: 4px; }
127
+ .sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
128
+
129
+ .sidebar-group { margin-bottom: 4px; }
130
+ .sidebar-group-title {
131
+ font-size: .7em;
132
+ text-transform: uppercase;
133
+ letter-spacing: .1em;
134
+ color: var(--muted);
135
+ padding: 10px 20px 4px;
136
+ font-weight: 600;
137
+ }
138
+ .sidebar-link {
139
+ display: flex; align-items: center; gap: 8px;
140
+ padding: 6px 20px;
141
+ color: var(--subtext);
142
+ text-decoration: none;
143
+ font-size: .88em;
144
+ border-left: 3px solid transparent;
145
+ transition: all .12s;
146
+ line-height: 1.3;
147
+ }
148
+ .sidebar-link:hover { color: var(--text); background: var(--bg); }
149
+ .sidebar-link.active {
150
+ color: var(--mauve);
151
+ border-left-color: var(--mauve);
152
+ background: rgba(180,190,254,.06);
153
+ font-weight: 600;
154
+ }
155
+ .sidebar-num {
156
+ font-size: .7em;
157
+ color: var(--muted);
158
+ background: var(--border);
159
+ border-radius: 4px;
160
+ padding: 1px 5px;
161
+ flex-shrink: 0;
162
+ }
163
+ .sidebar-divider {
164
+ border: none;
165
+ border-top: 1px solid var(--border);
166
+ margin: 12px 16px;
167
+ }
168
+
169
+ /* ── Content ─────────────────────────────────────────────────────────────── */
170
+ .content {
171
+ grid-area: content;
172
+ min-width: 0;
173
+ padding: 40px 48px 80px;
174
+ max-width: 860px;
175
+ }
176
+ .content-inner { max-width: 820px; }
177
+
178
+ /* Breadcrumb */
179
+ .breadcrumb {
180
+ font-size: .8em;
181
+ color: var(--muted);
182
+ margin-bottom: 28px;
183
+ display: flex; align-items: center; gap: 6px;
184
+ }
185
+ .breadcrumb a { color: var(--blue); text-decoration: none; }
186
+ .breadcrumb a:hover { text-decoration: underline; }
187
+ .breadcrumb-sep { color: var(--border); }
188
+
189
+ /* Typography */
190
+ h1 { font-size: 2em; color: var(--mauve); border-bottom: 2px solid var(--border); padding-bottom: 12px; margin: 20px 0 20px; }
191
+ h2 { font-size: 1.45em; color: var(--blue); margin: 40px 0 14px; padding-top: 8px; }
192
+ h3 { font-size: 1.15em; color: var(--teal); margin: 28px 0 10px; }
193
+ h4 { font-size: 1em; color: var(--pink); margin: 20px 0 8px; }
194
+ h5 { font-size: .95em; color: var(--yellow); margin: 16px 0 6px; }
195
+ p { margin-bottom: 16px; color: var(--text); }
196
+ a { color: var(--blue); }
197
+ a:hover { text-decoration: underline; }
198
+ strong { color: var(--peach); }
199
+ em { color: var(--yellow); font-style: italic; }
200
+
201
+ ul, ol { margin: 10px 0 16px 24px; }
202
+ li { margin-bottom: 6px; }
203
+ li > ul, li > ol { margin-top: 4px; margin-bottom: 4px; }
204
+
205
+ blockquote {
206
+ border-left: 4px solid var(--mauve);
207
+ padding: 10px 20px;
208
+ margin: 16px 0;
209
+ background: rgba(180,190,254,.05);
210
+ border-radius: 0 8px 8px 0;
211
+ color: var(--subtext);
212
+ }
213
+ blockquote strong { color: var(--mauve); }
214
+
215
+ hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
216
+
217
+ /* Code */
218
+ code {
219
+ background: var(--surface2);
220
+ color: var(--red);
221
+ padding: 2px 7px; border-radius: 5px;
222
+ font-family: var(--mono); font-size: .87em;
223
+ }
224
+ pre {
225
+ background: var(--surface2) !important;
226
+ border: 1px solid var(--border);
227
+ border-radius: 10px;
228
+ padding: 20px 22px;
229
+ overflow-x: auto;
230
+ margin: 16px 0 22px;
231
+ position: relative;
232
+ }
233
+ pre code {
234
+ background: none !important;
235
+ color: inherit !important;
236
+ padding: 0; font-size: .9em;
237
+ border-radius: 0;
238
+ }
239
+ /* Copy button */
240
+ .copy-btn {
241
+ position: absolute; top: 10px; right: 12px;
242
+ background: var(--border);
243
+ color: var(--subtext);
244
+ border: none; border-radius: 5px;
245
+ padding: 3px 10px; font-size: .75em;
246
+ cursor: pointer; transition: all .12s;
247
+ font-family: var(--font);
248
+ }
249
+ .copy-btn:hover { background: var(--mauve); color: var(--surface2); }
250
+ .copy-btn.copied { background: var(--green); color: var(--surface2); }
251
+
252
+ /* Tables */
253
+ table { border-collapse: collapse; width: 100%; margin: 16px 0 22px; font-size: .9em; }
254
+ th { background: var(--border); color: var(--mauve); padding: 10px 14px; text-align: left; font-weight: 600; }
255
+ td { border-top: 1px solid var(--border); padding: 9px 14px; color: var(--text); }
256
+ tr:nth-child(even) td { background: rgba(17,17,27,.4); }
257
+ td code { font-size: .85em; }
258
+
259
+ /* Callout boxes */
260
+ .callout {
261
+ border-radius: 8px;
262
+ padding: 14px 18px;
263
+ margin: 16px 0 22px;
264
+ border-left: 4px solid;
265
+ }
266
+ .callout-note { background: rgba(137,180,250,.08); border-color: var(--blue); }
267
+ .callout-tip { background: rgba(166,227,161,.08); border-color: var(--green); }
268
+ .callout-warning { background: rgba(249,226,175,.08); border-color: var(--yellow); }
269
+ .callout-danger { background: rgba(243,139,168,.08); border-color: var(--red); }
270
+ .callout-title { font-weight: 700; font-size: .85em; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
271
+ .callout-note .callout-title { color: var(--blue); }
272
+ .callout-tip .callout-title { color: var(--green); }
273
+ .callout-warning .callout-title { color: var(--yellow); }
274
+ .callout-danger .callout-title { color: var(--red); }
275
+
276
+ /* Validation badges */
277
+ .val-badge {
278
+ display: inline-block; font-size: .78em; font-weight: 600;
279
+ padding: 4px 12px; border-radius: 20px; margin-bottom: 18px;
280
+ border: 1px solid transparent; letter-spacing: .02em;
281
+ }
282
+ .val-badge-ok { background: rgba(166,227,161,.12); border-color: var(--green); color: var(--green); }
283
+ .val-badge-warn { background: rgba(249,226,175,.12); border-color: var(--yellow); color: var(--yellow); }
284
+ .val-badge-error { background: rgba(243,139,168,.12); border-color: var(--red); color: var(--red); }
285
+ .val-badge-unknown { background: rgba(108,112,134,.12); border-color: #6c7086; color: #6c7086; }
286
+
287
+ /* Prev/Next navigation */
288
+ .page-nav {
289
+ display: flex; justify-content: space-between;
290
+ margin-top: 60px; padding-top: 24px;
291
+ border-top: 1px solid var(--border);
292
+ gap: 16px;
293
+ }
294
+ .page-nav-link {
295
+ display: flex; flex-direction: column;
296
+ text-decoration: none;
297
+ padding: 14px 20px;
298
+ background: var(--surface);
299
+ border: 1px solid var(--border);
300
+ border-radius: 10px;
301
+ min-width: 200px;
302
+ transition: border-color .15s;
303
+ max-width: 48%;
304
+ }
305
+ .page-nav-link:hover { border-color: var(--mauve); }
306
+ .page-nav-label { font-size: .75em; color: var(--muted); margin-bottom: 4px; }
307
+ .page-nav-title { color: var(--blue); font-weight: 600; font-size: .95em; }
308
+ .page-nav-link.prev .page-nav-label::before { content: '← '; }
309
+ .page-nav-link.next { margin-left: auto; text-align: right; }
310
+ .page-nav-link.next .page-nav-label::after { content: ' →'; }
311
+
312
+ /* ── TOC (right panel) ───────────────────────────────────────────────────── */
313
+ .toc {
314
+ grid-area: toc;
315
+ position: sticky; top: var(--header-h);
316
+ height: calc(100vh - var(--header-h));
317
+ overflow-y: auto;
318
+ padding: 28px 16px 28px 8px;
319
+ scrollbar-width: thin;
320
+ scrollbar-color: var(--border) transparent;
321
+ }
322
+ .toc-title {
323
+ font-size: .72em;
324
+ text-transform: uppercase;
325
+ letter-spacing: .1em;
326
+ color: var(--muted);
327
+ font-weight: 600;
328
+ margin-bottom: 12px;
329
+ padding-left: 8px;
330
+ }
331
+ .toc-link {
332
+ display: block;
333
+ padding: 4px 8px;
334
+ color: var(--subtext);
335
+ text-decoration: none;
336
+ font-size: .82em;
337
+ border-left: 2px solid transparent;
338
+ border-radius: 0 4px 4px 0;
339
+ transition: all .12s;
340
+ line-height: 1.35;
341
+ margin-bottom: 1px;
342
+ }
343
+ .toc-link:hover { color: var(--text); border-left-color: var(--border); }
344
+ .toc-link.active { color: var(--mauve); border-left-color: var(--mauve); background: rgba(180,190,254,.05); }
345
+ .toc-link.toc-h3 { padding-left: 20px; font-size: .79em; }
346
+ .toc-link.toc-h4 { padding-left: 32px; font-size: .76em; color: var(--muted); }
347
+
348
+ /* ── Responsive ──────────────────────────────────────────────────────────── */
349
+ @media (max-width: 1100px) {
350
+ body { grid-template-columns: var(--sidebar-w) 1fr 0; }
351
+ .toc { display: none; }
352
+ }
353
+ @media (max-width: 760px) {
354
+ body { grid-template-columns: 0 1fr 0; grid-template-rows: var(--header-h) 1fr; }
355
+ .sidebar { display: none; }
356
+ .content { padding: 24px 20px 60px; }
357
+ #search-input { width: 180px; }
358
+ }
359
+
360
+ /* ── Index / landing page ────────────────────────────────────────────────── */
361
+ .hero { text-align: center; padding: 60px 0 48px; }
362
+ .hero h1 { border: none; font-size: 2.8em; }
363
+ .hero .tagline { color: var(--subtext); font-size: 1.15em; margin-top: 10px; }
364
+ .hero .version-badge {
365
+ display: inline-block;
366
+ background: var(--border); color: var(--mauve);
367
+ padding: 4px 14px; border-radius: 20px; font-size: .85em;
368
+ margin-top: 14px;
369
+ }
370
+ .group-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin: 16px 0 36px; }
371
+ .doc-card {
372
+ background: var(--surface);
373
+ border: 1px solid var(--border);
374
+ border-radius: 12px;
375
+ padding: 20px 24px;
376
+ text-decoration: none;
377
+ color: var(--text);
378
+ transition: border-color .15s, background .15s;
379
+ display: block;
380
+ }
381
+ .doc-card:hover { border-color: var(--mauve); background: rgba(180,190,254,.04); }
382
+ .doc-card-num { font-size: .72em; color: var(--muted); margin-bottom: 4px; }
383
+ .doc-card-title { color: var(--blue); font-weight: 700; font-size: 1em; margin-bottom: 6px; }
384
+ .doc-card-desc { color: var(--subtext); font-size: .85em; line-height: 1.5; }
385
+ .group-title { color: var(--teal); font-size: 1.1em; font-weight: 600; margin: 32px 0 10px; border-bottom: 1px solid var(--border); padding-bottom: 6px; }
386
+ </style>
387
+ <span id="portal-base" data-base="" style="display:none"></span>
388
+ </head>
389
+ <body>
390
+
391
+ <!-- ── Header ─────────────────────────────────────────────────────────── -->
392
+ <header class="header">
393
+ <a class="header-logo" href="index.html">Vibrante-Node</a>
394
+ <span class="header-version">v2.5.1</span>
395
+ <div class="header-spacer"></div>
396
+ <div class="search-wrap">
397
+ <span class="search-icon">&#128269;</span>
398
+ <input id="search-input" type="text" placeholder="Search docs… (/)" autocomplete="off" spellcheck="false">
399
+ <div id="search-results"></div>
400
+ </div>
401
+ </header>
402
+
403
+ <!-- ── Sidebar ────────────────────────────────────────────────────────── -->
404
+ <nav class="sidebar">
405
+ <div class="sidebar-group">
406
+ <div class="sidebar-group-title">Overview</div>
407
+ <a class="sidebar-link" href="01_introduction.html"><span class="sidebar-num">01</span>Introduction</a>
408
+ <a class="sidebar-link" href="02_getting_started.html"><span class="sidebar-num">02</span>Getting Started</a>
409
+ </div>
410
+ <div class="sidebar-group">
411
+ <div class="sidebar-group-title">Using the App</div>
412
+ <a class="sidebar-link" href="03_user_guide.html"><span class="sidebar-num">03</span>User Guide</a>
413
+ <a class="sidebar-link" href="04_workflow_tutorials.html"><span class="sidebar-num">04</span>Workflow Tutorials</a>
414
+ </div>
415
+ <div class="sidebar-group">
416
+ <div class="sidebar-group-title">Developing Nodes</div>
417
+ <a class="sidebar-link" href="05_node_development.html"><span class="sidebar-num">05</span>Node Development Guide</a>
418
+ <a class="sidebar-link" href="14_custom_nodes_api.html"><span class="sidebar-num">14</span>Custom Nodes API</a>
419
+ <a class="sidebar-link" href="08_api_reference.html"><span class="sidebar-num">08</span>API Reference</a>
420
+ </div>
421
+ <div class="sidebar-group">
422
+ <div class="sidebar-group-title">Architecture</div>
423
+ <a class="sidebar-link" href="06_backend_architecture.html"><span class="sidebar-num">06</span>Backend Architecture</a>
424
+ <a class="sidebar-link" href="07_frontend_architecture.html"><span class="sidebar-num">07</span>Frontend Architecture</a>
425
+ </div>
426
+ <div class="sidebar-group">
427
+ <div class="sidebar-group-title">Advanced</div>
428
+ <a class="sidebar-link" href="09_advanced_topics.html"><span class="sidebar-num">09</span>Advanced Topics</a>
429
+ <a class="sidebar-link" href="10_contribution_guide.html"><span class="sidebar-num">10</span>Contribution Guide</a>
430
+ </div>
431
+ <div class="sidebar-group">
432
+ <div class="sidebar-group-title">Reference</div>
433
+ <a class="sidebar-link active" href="11_troubleshooting.html"><span class="sidebar-num">11</span>Troubleshooting</a>
434
+ <a class="sidebar-link" href="12_examples_library.html"><span class="sidebar-num">12</span>Examples Library</a>
435
+ <a class="sidebar-link" href="13_general_purpose_automation.html"><span class="sidebar-num">13</span>General Purpose Automation</a>
436
+ </div>
437
+
438
+ </nav>
439
+
440
+ <!-- ── Main content ───────────────────────────────────────────────────── -->
441
+ <main class="content">
442
+ <div class="content-inner">
443
+ <nav class="breadcrumb"><a href="index.html">Docs</a><span class="breadcrumb-sep">›</span><span>Troubleshooting</span></nav>
444
+ <div class="val-badge val-badge-ok" title="Verified against source code">&#10003; Verified</div>
445
+ <p># Troubleshooting Guide</p>
446
+ <blockquote>
447
+ <p><strong>Distribution note (2.5.0):</strong> <code>plugins/houdini/</code> is not shipped in the PyPI<br />
448
+ wheels or source distributions. Install it from the source repository before<br />
449
+ following this page.</p>
450
+ </blockquote>
451
+ <p>This guide covers the most common problems users and developers encounter with Vibrante-Node v2.5.0, organized by symptom. For each issue you will find: what causes it, how to diagnose it, and how to fix it.</p>
452
+ <hr />
453
+ <h2 id="1-installation-issues">1. Installation Issues</h2>
454
+ <h3 id="pyqt5-not-found">PyQt5 not found</h3>
455
+ <p><strong>Symptom:</strong> <code>ModuleNotFoundError: No module named 'PyQt5'</code> at startup.</p>
456
+ <p><strong>Cause:</strong> PyQt5 is not installed in the active Python environment.</p>
457
+ <p><strong>Fix:</strong></p>
458
+ <pre><code class="language-bash">pip install PyQt5
459
+ </code></pre>
460
+ <p>If you are on Python 3.12 or newer and PyQt5 installation fails with a wheel error, use Python 3.11:</p>
461
+ <pre><code class="language-bash">python3.11 -m venv .venv
462
+ .venv\Scripts\activate # Windows
463
+ pip install -r requirements.txt
464
+ </code></pre>
465
+ <p>On Linux, also install the system Qt libraries:</p>
466
+ <pre><code class="language-bash">sudo apt-get install python3-pyqt5
467
+ # or
468
+ pip install PyQt5 --config-settings --confirm-license=
469
+ </code></pre>
470
+ <hr />
471
+ <h3 id="qscintilla-missing-code-editor-shows-plain-text">QScintilla missing — code editor shows plain text</h3>
472
+ <p><strong>Symptom:</strong> The Python editor in the Node Builder or Script Editor shows as a plain text box without syntax highlighting or autocompletion.</p>
473
+ <p><strong>Cause:</strong> QScintilla (<code>PyQt5.Qsci</code>) is not installed. This is not an error — the app falls back to a <code>QPlainTextEdit</code>-based editor automatically.</p>
474
+ <p><strong>Fix (optional):</strong></p>
475
+ <pre><code class="language-bash">pip install QScintilla
476
+ </code></pre>
477
+ <p>Restart the app after installing. If QScintilla is installed but the enhanced editor still doesn't appear, check that the version matches your PyQt5 version:</p>
478
+ <pre><code class="language-bash">pip show QScintilla PyQt5
479
+ </code></pre>
480
+ <p><strong>Important:</strong> This fallback is intentional. Never re-raise the <code>ImportError</code> in <code>code_editor.py</code>. If you see <code>ImportError: QScintilla is required</code> as a hard crash, someone has re-added the raise — revert that change.</p>
481
+ <hr />
482
+ <h3 id="pydantic-version-errors">Pydantic version errors</h3>
483
+ <p><strong>Symptom:</strong> <code>ValidationError</code>, <code>AttributeError: model_fields</code>, or <code>TypeError: __init__() got an unexpected keyword argument</code> when loading workflows.</p>
484
+ <p><strong>Cause:</strong> Vibrante-Node requires pydantic v2. Pydantic v1 has an incompatible API.</p>
485
+ <p><strong>Diagnosis:</strong></p>
486
+ <pre><code class="language-bash">python -c &quot;import pydantic; print(pydantic.VERSION)&quot;
487
+ </code></pre>
488
+ <p><strong>Fix:</strong></p>
489
+ <pre><code class="language-bash">pip install &quot;pydantic&gt;=2.0&quot;
490
+ </code></pre>
491
+ <p>If another package in your environment pins pydantic v1, use a separate virtual environment for Vibrante-Node.</p>
492
+ <hr />
493
+ <h3 id="no-module-named-src"><code>No module named 'src'</code></h3>
494
+ <p><strong>Symptom:</strong> <code>ModuleNotFoundError: No module named 'src'</code> when running scripts or tests.</p>
495
+ <p><strong>Cause:</strong> Python cannot find the <code>src</code> package because the working directory is not the project root, or the project root is not in <code>sys.path</code>.</p>
496
+ <p><strong>Fix for running the app:</strong></p>
497
+ <pre><code class="language-bash"># Always run from the project root (node_based_app/)
498
+ cd /path/to/node_based_app
499
+ python -m src.main
500
+ </code></pre>
501
+ <p><strong>Fix for scripts:</strong></p>
502
+ <pre><code class="language-python">import sys
503
+ import os
504
+ sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
505
+
506
+ from src.core.engine import NetworkExecutor
507
+ </code></pre>
508
+ <p><strong>Fix for tests:</strong> The <code>pytest.ini</code> at the project root sets <code>pythonpath = .</code> which handles this automatically. Always run pytest from the project root.</p>
509
+ <hr />
510
+ <h2 id="2-app-wont-start">2. App Won't Start</h2>
511
+ <h3 id="qt-platform-plugin-error-on-windows">Qt platform plugin error on Windows</h3>
512
+ <p><strong>Symptom:</strong></p>
513
+ <pre><code>qt.qpa.plugin: Could not find the Qt platform plugin &quot;windows&quot; in &quot;&quot;
514
+ This application failed to start because no Qt platform plugin could be initialized.
515
+ </code></pre>
516
+ <p><strong>Cause:</strong> Qt's DLLs are not in the path, or the virtual environment is missing Qt platform files.</p>
517
+ <p><strong>Fix:</strong></p>
518
+ <pre><code class="language-bash">pip install --force-reinstall PyQt5 PyQt5-Qt5 PyQt5-sip
519
+ </code></pre>
520
+ <p>If using a PyInstaller build (the <code>.exe</code>), ensure the <code>platforms/</code> folder exists next to the executable:</p>
521
+ <pre><code>vibrante_node.exe
522
+ platforms/
523
+ qwindows.dll
524
+ </code></pre>
525
+ <hr />
526
+ <h3 id="linux-no-display-cannot-connect-to-x-server">Linux: no display / cannot connect to X server</h3>
527
+ <p><strong>Symptom:</strong> <code>qt.qpa.xcb: could not connect to display</code> or <code>DISPLAY is not set</code>.</p>
528
+ <p><strong>Fix for headless servers:</strong> Use a virtual display:</p>
529
+ <pre><code class="language-bash">pip install pyqtgraph # optional
530
+ Xvfb :99 -screen 0 1920x1080x24 &amp;
531
+ export DISPLAY=:99
532
+ python -m src.main
533
+ </code></pre>
534
+ <p>For running in CI or Docker, use <code>offscreen</code> platform:</p>
535
+ <pre><code class="language-bash">QT_QPA_PLATFORM=offscreen python -m src.main
536
+ </code></pre>
537
+ <p><strong>Fix for desktop Linux:</strong> Ensure <code>$DISPLAY</code> is set and the current user has access to the X session:</p>
538
+ <pre><code class="language-bash">export DISPLAY=:0
539
+ xhost +local:
540
+ </code></pre>
541
+ <hr />
542
+ <h3 id="crash-on-startup-with-no-error-message">Crash on startup with no error message</h3>
543
+ <p><strong>Symptom:</strong> App closes immediately with no dialog or log output.</p>
544
+ <p><strong>Check:</strong> Look for <code>crash.log</code> in the project root:</p>
545
+ <pre><code class="language-bash">cat crash.log
546
+ </code></pre>
547
+ <p>The crash log captures Python tracebacks that occur before the UI is ready. Common causes:<br />
548
+ - Corrupt <code>settings.json</code> in <code>~/.vibrante_node/</code><br />
549
+ - A broken node JSON file in <code>nodes/</code> that crashes the registry loader<br />
550
+ - A missing icon file referenced in a node JSON</p>
551
+ <p><strong>Fix for corrupt settings:</strong></p>
552
+ <pre><code class="language-bash"># Delete user settings to reset to defaults
553
+ rm ~/.vibrante_node/settings.json # Linux/macOS
554
+ del %USERPROFILE%\.vibrante_node\settings.json # Windows
555
+ </code></pre>
556
+ <p><strong>Fix for broken node JSON:</strong> Remove or fix the offending file in <code>nodes/</code>. The crash log will name the file.</p>
557
+ <hr />
558
+ <h2 id="3-nodes-not-appearing-in-library">3. Nodes Not Appearing in Library</h2>
559
+ <h3 id="node-json-file-not-loaded">Node JSON file not loaded</h3>
560
+ <p><strong>Symptom:</strong> A <code>.json</code> file in <code>nodes/</code> is not appearing in the Node Library panel.</p>
561
+ <p><strong>Diagnosis checklist:</strong><br />
562
+ 1. Is the file valid JSON? Validate with: <code>python -m json.tool nodes/my_node.json</code><br />
563
+ 2. Does the file have <code>"node_id"</code> and <code>"name"</code> fields?<br />
564
+ 3. Is <code>"python_code"</code> present and non-empty?<br />
565
+ 4. Does the <code>python_code</code> contain a <code>register_node()</code> function that returns the class?<br />
566
+ 5. Is there a syntax error in the <code>python_code</code> string?</p>
567
+ <p><strong>Checking for syntax errors in python_code:</strong></p>
568
+ <pre><code class="language-python">import json, ast
569
+ with open(&quot;nodes/my_node.json&quot;) as f:
570
+ data = json.load(f)
571
+ try:
572
+ ast.parse(data[&quot;python_code&quot;])
573
+ print(&quot;Syntax OK&quot;)
574
+ except SyntaxError as e:
575
+ print(f&quot;Syntax error: {e}&quot;)
576
+ </code></pre>
577
+ <hr />
578
+ <h3 id="houdini-nodes-missing-from-library">Houdini nodes missing from library</h3>
579
+ <p><strong>Symptom:</strong> Houdini-specific nodes from <code>plugins/houdini/v_nodes_houdini/</code> do not appear after launching from Houdini.</p>
580
+ <p><strong>Cause:</strong> <code>v_nodes_dir</code> environment variable is not set, or <code>NodeRegistry.load_all()</code> was called instead of <code>load_all_with_extras()</code>.</p>
581
+ <p><strong>Diagnosis:</strong> In the app, open the Python console (if available) and run:</p>
582
+ <pre><code class="language-python">import os
583
+ print(os.environ.get(&quot;v_nodes_dir&quot;, &quot;NOT SET&quot;))
584
+ </code></pre>
585
+ <p><strong>Fix:</strong><br />
586
+ - Ensure you launched the app from Houdini via <strong>Vibrante-Node → Launch</strong> (not by running <code>python -m src.main</code> directly).<br />
587
+ - In <code>src/ui/window.py</code>, confirm <code>load_all_with_extras(bundled_nodes)</code> is called, not <code>load_all(bundled_nodes)</code>.</p>
588
+ <hr />
589
+ <h3 id="register_node-missing"><code>register_node()</code> missing</h3>
590
+ <p><strong>Symptom:</strong> Node file loads without error but class is not accessible.</p>
591
+ <p><strong>Cause:</strong> The <code>python_code</code> string is missing the <code>register_node()</code> function at the module level.</p>
592
+ <p><strong>Required:</strong></p>
593
+ <pre><code class="language-python">def register_node():
594
+ return MyNodeClass
595
+ </code></pre>
596
+ <p>This function must be at module level (not inside the class) and must return the class itself, not an instance.</p>
597
+ <hr />
598
+ <h2 id="4-workflow-wont-run">4. Workflow Won't Run</h2>
599
+ <h3 id="no-entry-node-nothing-executes">No entry node / nothing executes</h3>
600
+ <p><strong>Symptom:</strong> Click Run — nothing happens. Log panel is empty.</p>
601
+ <p><strong>Cause:</strong> The engine cannot find a starting node. The execution engine starts from nodes that have no <code>exec_in</code> connection (their <code>exec_in</code> port is unconnected).</p>
602
+ <p><strong>Fix:</strong> Ensure at least one node in your workflow has no incoming <code>exec_in</code> connection. That node is the entry point.</p>
603
+ <p>If all nodes have <code>exec_in</code> wired (a closed loop), the engine has no starting point. Break the loop by disconnecting one <code>exec_in</code>.</p>
604
+ <hr />
605
+ <h3 id="circular-dependency-error">Circular dependency error</h3>
606
+ <p><strong>Symptom:</strong> <code>CyclicDependencyError</code> or <code>RecursionError</code> in the log.</p>
607
+ <p><strong>Cause:</strong> A data connection creates a cycle (Node A output → Node B input → Node A input).</p>
608
+ <p><strong>Fix:</strong> Inspect the data connections (non-exec wires). Cycles in exec flow are handled differently than data cycles. A cycle in data connections is always an error — restructure your workflow to use <code>SetVariable</code> / <code>GetVariable</code> to break the cycle.</p>
609
+ <hr />
610
+ <h3 id="all-nodes-are-bypassed">All nodes are bypassed</h3>
611
+ <p><strong>Symptom:</strong> Run completes instantly, no output, log says nodes were skipped.</p>
612
+ <p><strong>Fix:</strong> Right-click each node and check if <strong>Bypass</strong> is checked. Bypassed nodes appear dimmed. Un-bypass them via right-click → Bypass (toggle off).</p>
613
+ <hr />
614
+ <h2 id="5-node-produces-wrong-output">5. Node Produces Wrong Output</h2>
615
+ <h3 id="none-values-flowing-through-wires"><code>None</code> values flowing through wires</h3>
616
+ <p><strong>Symptom:</strong> A downstream node receives <code>None</code> where it expects a string or list.</p>
617
+ <p><strong>Diagnosis:</strong><br />
618
+ 1. Hover the wire from the upstream node — the tooltip shows the last value.<br />
619
+ 2. Check the upstream node's <code>execute()</code> return dict. Is the output key present?<br />
620
+ 3. Check for an exception in the upstream node: look for red entries in the log panel.</p>
621
+ <p><strong>Common cause:</strong> The upstream node raised an exception, its <code>except</code> block returned <code>{"exec_out": True}</code> without the expected output key, so downstream receives <code>None</code> from <code>.get()</code>.</p>
622
+ <p><strong>Fix:</strong> Ensure every code path in <code>execute()</code> returns all expected output keys:</p>
623
+ <pre><code class="language-python">return {
624
+ &quot;result&quot;: result_value, # always present, even on error
625
+ &quot;exec_out&quot;: True
626
+ }
627
+ </code></pre>
628
+ <hr />
629
+ <h3 id="values-not-updating-between-runs">Values not updating between runs</h3>
630
+ <p><strong>Symptom:</strong> A node seems to remember values from the previous run.</p>
631
+ <p><strong>Cause:</strong> State is stored in <code>self.parameters</code> (persisted to the workflow JSON) instead of <code>self.memory</code> (cleared each run).</p>
632
+ <p><strong>Fix:</strong> Use <code>self.memory</code> for per-run transient state:</p>
633
+ <pre><code class="language-python"># Wrong: persists across runs
634
+ self.parameters[&quot;count&quot;] = self.parameters.get(&quot;count&quot;, 0) + 1
635
+
636
+ # Correct: fresh each run
637
+ count = self.memory.get(&quot;count&quot;, 0) + 1
638
+ self.memory[&quot;count&quot;] = count
639
+ </code></pre>
640
+ <hr />
641
+ <h2 id="6-houdini-bridge-not-connecting">6. Houdini Bridge Not Connecting</h2>
642
+ <h3 id="connectionrefusederror-or-connectionerror-houdini-bridge-not-connected"><code>ConnectionRefusedError</code> or <code>ConnectionError: Houdini bridge not connected</code></h3>
643
+ <p><strong>Symptom:</strong> Any Houdini node fails with a connection error.</p>
644
+ <p><strong>Checklist:</strong></p>
645
+ <ol>
646
+ <li>
647
+ <p><strong>Is the Vibrante-Node server running inside Houdini?</strong><br />
648
+ In Houdini, open the Python Shell and run:<br />
649
+ <code>python
650
+ import vibrante_hou_server
651
+ print(vibrante_hou_server._server_thread)</code><br />
652
+ If it prints <code>None</code>, the server is not running. Start it:<br />
653
+ <code>python
654
+ vibrante_hou_server.start()</code></p>
655
+ </li>
656
+ <li>
657
+ <p><strong>Is the port correct?</strong><br />
658
+ Default port is <code>18811</code>. Check:<br />
659
+ <code>python
660
+ import os
661
+ print(os.environ.get("VIBRANTE_HOU_PORT", "18811 (default)"))</code><br />
662
+ In Houdini:<br />
663
+ <code>python
664
+ print(vibrante_hou_server._port)</code><br />
665
+ Both must match.</p>
666
+ </li>
667
+ <li>
668
+ <p><strong>Is a firewall blocking localhost?</strong><br />
669
+ The bridge uses <code>127.0.0.1</code> (loopback). Windows Defender or corporate firewalls may block local socket connections. Add an exception for Python on localhost port 18811.</p>
670
+ </li>
671
+ <li>
672
+ <p><strong>Did Houdini launch the app, or did you launch it manually?</strong><br />
673
+ <code>VIBRANTE_HOU_PORT</code> is only set in the subprocess environment when launched from Houdini via <strong>Vibrante-Node → Launch</strong>. Running <code>python -m src.main</code> directly will use the default port, which only works if the Houdini server is also on the default port.</p>
674
+ </li>
675
+ </ol>
676
+ <hr />
677
+ <h3 id="30-second-timeout-then-connectionerror">30-second timeout then <code>ConnectionError</code></h3>
678
+ <p><strong>Symptom:</strong> A Houdini node hangs for 30 seconds then fails with <code>ConnectionError: Houdini did not respond within 30s</code>.</p>
679
+ <p><strong>Cause:</strong> Houdini is busy (e.g., cooking a heavy SOP network) and cannot respond to the JSON-RPC server.</p>
680
+ <p><strong>Fix:</strong><br />
681
+ - Wait for the Houdini cook to finish before running Vibrante-Node.<br />
682
+ - For long-running operations, consider using <code>bridge.run_code()</code> to start a background cook and poll for completion, rather than calling <code>bridge.cook_node()</code> synchronously.</p>
683
+ <hr />
684
+ <h2 id="7-maya-headless-failing">7. Maya Headless Failing</h2>
685
+ <h3 id="filenotfounderror-for-maya-executable"><code>FileNotFoundError</code> for Maya executable</h3>
686
+ <p><strong>Symptom:</strong> Maya headless executor fails immediately with a path error.</p>
687
+ <p><strong>Fix:</strong> Set <code>VIBRANTE_MAYA_EXE</code> in your environment to the full path of <code>mayapy.exe</code>:</p>
688
+ <pre><code class="language-bash"># Windows
689
+ set VIBRANTE_MAYA_EXE=C:\Program Files\Autodesk\Maya2024\bin\mayapy.exe
690
+
691
+ # macOS
692
+ export VIBRANTE_MAYA_EXE=/Applications/Autodesk/maya2024/Maya.app/Contents/bin/mayapy
693
+ </code></pre>
694
+ <hr />
695
+ <h3 id="scene-not-found-error">Scene not found error</h3>
696
+ <p><strong>Symptom:</strong> <code>open_scene</code> action fails with "file not found" even though the path looks correct.</p>
697
+ <p><strong>Cause:</strong> The path may contain backslashes that Maya's Python interpreter interprets incorrectly, or the file doesn't exist at the given path from the Maya subprocess's working directory.</p>
698
+ <p><strong>Fix:</strong> Always use forward slashes in scene paths:</p>
699
+ <pre><code class="language-python">scene_path = scene_path.replace(&quot;\\&quot;, &quot;/&quot;)
700
+ </code></pre>
701
+ <hr />
702
+ <h3 id="action-handler-missing">Action handler missing</h3>
703
+ <p><strong>Symptom:</strong> <code>KeyError: 'my_action_type'</code> or <code>Unknown action type: my_action_type</code> in the Maya runner log.</p>
704
+ <p><strong>Cause:</strong> The action <code>type</code> string in the action dict does not have a corresponding handler in the Maya runner script.</p>
705
+ <p><strong>Fix:</strong> Open <code>plugins/maya/maya_runner.py</code> (or equivalent) and add:</p>
706
+ <pre><code class="language-python">def handle_my_action_type(action: dict, scene_info: dict):
707
+ # Implementation
708
+ pass
709
+
710
+ HANDLERS = {
711
+ # ... existing handlers ...
712
+ &quot;my_action_type&quot;: handle_my_action_type,
713
+ }
714
+ </code></pre>
715
+ <hr />
716
+ <h2 id="8-prism-nodes-not-working">8. Prism Nodes Not Working</h2>
717
+ <h3 id="prismcore-not-initialized"><code>PrismCore not initialized</code></h3>
718
+ <p><strong>Symptom:</strong> All <code>prism_*</code> nodes log <code>"PrismCore not initialized. Add a prism_core_init node to the graph."</code> and produce empty output.</p>
719
+ <p><strong>Cause:</strong> The <code>prism_core_init</code> node is missing from the workflow graph.</p>
720
+ <p><strong>Fix:</strong> Drag a <code>prism_core_init</code> node onto the canvas. It does not need to be wired into the exec chain — the engine detects its presence before execution and bootstraps PrismCore automatically. However, it must be present (not bypassed).</p>
721
+ <hr />
722
+ <h3 id="prism-import-error">Prism import error</h3>
723
+ <p><strong>Symptom:</strong> <code>ModuleNotFoundError: No module named 'PrismCore'</code> or <code>No module named 'Prism_Core'</code>.</p>
724
+ <p><strong>Cause:</strong> Prism Pipeline is not installed, or its Python path is not set.</p>
725
+ <p><strong>Fix:</strong> Ensure the Prism Python scripts directory is in <code>sys.path</code>. Check your Prism installation for the correct path and add:</p>
726
+ <pre><code class="language-python"># In src/utils/prism_core.py or your launch script
727
+ sys.path.insert(0, &quot;/path/to/Prism2/Scripts&quot;)
728
+ </code></pre>
729
+ <hr />
730
+ <h2 id="9-groupnode-issues">9. GroupNode Issues</h2>
731
+ <h3 id="no-internal-workflow-error">"No internal workflow" error</h3>
732
+ <p><strong>Symptom:</strong> Double-clicking a GroupNode shows an error: "This group node has no internal workflow."</p>
733
+ <p><strong>Cause:</strong> The GroupNode's <code>__workflow__</code> parameter is empty or was not saved correctly. This was a known issue in early versions caused by UUID serialization — fixed in v2.0.0.</p>
734
+ <p><strong>Diagnosis:</strong> Right-click the GroupNode → Inspect Parameters. Check if <code>__workflow__</code> contains a valid workflow dict or is empty/null.</p>
735
+ <p><strong>Fix:</strong> If the GroupNode is empty and you still have the original nodes in another tab or workflow:<br />
736
+ 1. Re-create the subgraph in a new tab.<br />
737
+ 2. Select those nodes.<br />
738
+ 3. Ctrl+Shift+G to create a fresh GroupNode.<br />
739
+ 4. The new GroupNode will serialize correctly.</p>
740
+ <p>If upgrading from a pre-v2.0.0 workflow with broken GroupNodes, the only recovery path is to re-create the groups. The bug was in serialization, so the internal logic cannot be recovered from the corrupt file.</p>
741
+ <hr />
742
+ <h3 id="exec-flow-not-propagating-out-of-groupnode">Exec flow not propagating out of GroupNode</h3>
743
+ <p><strong>Symptom:</strong> Nodes downstream of a GroupNode never execute.</p>
744
+ <p><strong>Cause:</strong> The GroupNode's internal <code>GroupOut</code> node is not connected in the exec chain, or <code>GroupOut</code> is not wired to <code>exec_in</code>.</p>
745
+ <p><strong>Fix:</strong> Double-click the GroupNode to open the subgraph. Verify that the exec chain inside runs through to a <code>GroupOut</code> node. GroupOut must have <code>exec_in</code> connected from the last node in the inner chain.</p>
746
+ <p>Also verify <code>GroupOut</code>'s <code>port_name</code> matches the expected output port name on the outer GroupNode.</p>
747
+ <hr />
748
+ <h2 id="10-exec-flow-not-progressing">10. Exec Flow Not Progressing</h2>
749
+ <h3 id="workflow-stops-mid-execution-silently">Workflow stops mid-execution silently</h3>
750
+ <p><strong>Symptom:</strong> Some nodes run, then execution stops with no error.</p>
751
+ <p><strong>Cause:</strong> A node returned a dict without <code>"exec_out": True</code>, or returned <code>exec_out: False</code>.</p>
752
+ <p><strong>Diagnosis:</strong><br />
753
+ 1. Check the log panel — the last node listed is where execution stopped.<br />
754
+ 2. Open that node's <code>execute()</code> code and check every return statement.</p>
755
+ <p><strong>Fix:</strong> Ensure every code path returns <code>"exec_out": True</code>:</p>
756
+ <pre><code class="language-python">async def execute(self, inputs):
757
+ if something_failed:
758
+ self.log_error(&quot;Something failed&quot;)
759
+ return {&quot;result&quot;: None, &quot;exec_out&quot;: True} # exec_out still True — chain continues
760
+ return {&quot;result&quot;: value, &quot;exec_out&quot;: True}
761
+ </code></pre>
762
+ <p>If you want to intentionally stop the exec chain (rare), return <code>"exec_out": False</code>.</p>
763
+ <hr />
764
+ <h3 id="twowayswitch-not-routing-correctly">TwoWaySwitch not routing correctly</h3>
765
+ <p><strong>Symptom:</strong> TwoWaySwitch always routes to <code>exec_true</code> even when condition should be False.</p>
766
+ <p><strong>Cause:</strong> The <code>condition</code> input is receiving a truthy non-boolean value (e.g., the string <code>"False"</code> is truthy in Python).</p>
767
+ <p><strong>Fix:</strong> Ensure the condition value is a Python <code>bool</code>. In a Python Script node:</p>
768
+ <pre><code class="language-python"># Wrong: string &quot;False&quot; is truthy
769
+ result = &quot;False&quot;
770
+
771
+ # Correct
772
+ result = False
773
+ result = some_value &gt; threshold # bool expression
774
+ result = bool(int(inputs.get(&quot;data&quot;, 0))) # explicit cast
775
+ </code></pre>
776
+ <hr />
777
+ <h2 id="11-autosave-restore-dialog-always-showing">11. Autosave Restore Dialog Always Showing</h2>
778
+ <p><strong>Symptom:</strong> Every time the app starts, the "Restore unsaved sessions?" dialog appears, even after accepting or declining.</p>
779
+ <p><strong>Cause:</strong> The autosave file (<code>~/.vibrante_node_autosave.json</code>) is being written but not deleted on clean exit. This happens if the app is force-closed, crashes, or if <code>closeEvent</code> is not being called.</p>
780
+ <p><strong>Manual fix:</strong> Delete the autosave file:</p>
781
+ <pre><code class="language-bash"># Windows
782
+ del %USERPROFILE%\.vibrante_node_autosave.json
783
+
784
+ # Linux / macOS
785
+ rm ~/.vibrante_node_autosave.json
786
+ </code></pre>
787
+ <p><strong>Permanent fix:</strong> Ensure you close the app via the window's X button or File → Exit, not via Task Manager or <code>kill</code>. The close event cleans up the autosave file on normal exit.</p>
788
+ <p>If the dialog appears after a crash: this is by design. Accept the restore to recover unsaved work, or decline to start fresh.</p>
789
+ <hr />
790
+ <h2 id="12-async-deadlock-ui-freezing">12. Async Deadlock / UI Freezing</h2>
791
+ <p><strong>Symptom:</strong> The UI becomes unresponsive during execution. The progress indicator spins but nothing moves.</p>
792
+ <p><strong>Cause:</strong> A blocking call inside <code>execute()</code> is holding the event loop:<br />
793
+ - <code>time.sleep()</code> — freezes the event loop thread<br />
794
+ - <code>requests.get()</code> — synchronous HTTP blocks<br />
795
+ - <code>subprocess.run(capture_output=True)</code> without timeout — hangs waiting for subprocess</p>
796
+ <p><strong>Fix:</strong> Wrap blocking calls in <code>asyncio.to_thread()</code>:</p>
797
+ <pre><code class="language-python">import asyncio
798
+
799
+ async def execute(self, inputs):
800
+ # Wrong: blocks the event loop
801
+ import time
802
+ time.sleep(5)
803
+
804
+ # Correct: offloads to a thread, event loop stays responsive
805
+ await asyncio.sleep(5) # for delays
806
+
807
+ # Wrong: synchronous HTTP
808
+ import requests
809
+ response = requests.get(url)
810
+
811
+ # Correct: async HTTP
812
+ import urllib.request, asyncio
813
+ loop = asyncio.get_running_loop()
814
+ text = await loop.run_in_executor(None, lambda: urllib.request.urlopen(url).read().decode())
815
+
816
+ # Wrong: blocking subprocess
817
+ import subprocess
818
+ result = subprocess.run([&quot;cmd&quot;], capture_output=True)
819
+
820
+ # Correct: async subprocess
821
+ proc = await asyncio.create_subprocess_exec(
822
+ &quot;cmd&quot;, stdout=asyncio.subprocess.PIPE
823
+ )
824
+ stdout, _ = await proc.communicate()
825
+ </code></pre>
826
+ <hr />
827
+ <h2 id="13-memory-growing-over-multiple-runs">13. Memory Growing Over Multiple Runs</h2>
828
+ <p><strong>Symptom:</strong> The app uses more RAM each time you click Run.</p>
829
+ <p><strong>Cause 1: Storing large data in <code>self.parameters</code></strong><br />
830
+ <code>self.parameters</code> is persisted in the workflow JSON. If you store large binary data or giant lists there, they accumulate and are serialized to disk on save.</p>
831
+ <p><strong>Fix:</strong> Never store large transient data in <code>self.parameters</code>. Use <code>self.memory</code> for per-run state — it is cleared before each run.</p>
832
+ <p><strong>Cause 2: Circular references in the graph's node_results</strong><br />
833
+ If nodes hold references to large objects and those objects reference back to the node, Python's garbage collector may not reclaim them.</p>
834
+ <p><strong>Fix:</strong> In <code>execute()</code>, return primitive types (strings, numbers, lists of primitives) where possible. Avoid returning the entire input dict as an output.</p>
835
+ <hr />
836
+ <h2 id="14-pyinstaller-build-fails">14. PyInstaller Build Fails</h2>
837
+ <p><strong>Symptom:</strong> <code>ModuleNotFoundError</code> at runtime when using the built <code>.exe</code>, even though the app works fine when running from source.</p>
838
+ <p><strong>Cause:</strong> PyInstaller's static analysis misses dynamically-imported modules (like node classes loaded from JSON files at runtime).</p>
839
+ <p><strong>Fix — add hidden imports to <code>vibrante_node.spec</code>:</strong></p>
840
+ <pre><code class="language-python">hiddenimports=[
841
+ &quot;src.nodes.builtins.group_node&quot;,
842
+ &quot;src.nodes.builtins.my_new_node&quot;,
843
+ &quot;src.utils.hou_bridge&quot;,
844
+ &quot;src.utils.prism_core&quot;,
845
+ &quot;PyQt5.sip&quot;,
846
+ &quot;pydantic.v1.validators&quot;, # if using pydantic v2 compatibility layer
847
+ ],
848
+ </code></pre>
849
+ <p><strong>Fix — include data files:</strong></p>
850
+ <pre><code class="language-python">datas=[
851
+ (&quot;nodes/&quot;, &quot;nodes/&quot;),
852
+ (&quot;icons/&quot;, &quot;icons/&quot;),
853
+ (&quot;plugins/&quot;, &quot;plugins/&quot;),
854
+ ],
855
+ </code></pre>
856
+ <p>After updating the spec file:</p>
857
+ <pre><code class="language-bash">pyinstaller vibrante_node.spec --clean
858
+ </code></pre>
859
+ <hr />
860
+ <h2 id="15-reading-crashlog">15. Reading crash.log</h2>
861
+ <p>When the app crashes before the UI is ready, a <code>crash.log</code> file is written to the project root. Its format:</p>
862
+ <pre><code>=== Vibrante-Node Crash Log ===
863
+ Version: 2.0.0
864
+ Time: 2026-05-10 14:32:01
865
+ Python: 3.11.4
866
+ Platform: win32
867
+
868
+ Traceback (most recent call last):
869
+ File &quot;src/main.py&quot;, line 42, in main
870
+ window = MainWindow()
871
+ File &quot;src/ui/window.py&quot;, line 88, in __init__
872
+ self._load_nodes()
873
+ ...
874
+ SyntaxError: invalid syntax (&lt;string&gt;, line 7)
875
+ </code></pre>
876
+ <p><strong>Common crash causes from crash.log:</strong></p>
877
+ <table>
878
+ <thead>
879
+ <tr>
880
+ <th>Error in log</th>
881
+ <th>Cause</th>
882
+ <th>Fix</th>
883
+ </tr>
884
+ </thead>
885
+ <tbody>
886
+ <tr>
887
+ <td><code>SyntaxError</code> in <code>&lt;string&gt;</code></td>
888
+ <td>Broken <code>python_code</code> in a JSON node</td>
889
+ <td>Fix the node JSON in <code>nodes/</code></td>
890
+ </tr>
891
+ <tr>
892
+ <td><code>ValidationError</code> from pydantic</td>
893
+ <td>Corrupt <code>settings.json</code></td>
894
+ <td>Delete settings file</td>
895
+ </tr>
896
+ <tr>
897
+ <td><code>ImportError: No module named 'X'</code></td>
898
+ <td>Missing dependency</td>
899
+ <td><code>pip install X</code></td>
900
+ </tr>
901
+ <tr>
902
+ <td><code>FileNotFoundError: icons/X.svg</code></td>
903
+ <td>Node JSON references a missing icon</td>
904
+ <td>Add the icon or set <code>"icon_path": null</code></td>
905
+ </tr>
906
+ <tr>
907
+ <td><code>AttributeError: 'NoneType'</code> in <code>_init_menu</code></td>
908
+ <td>Settings returned None for a required value</td>
909
+ <td>Delete settings file</td>
910
+ </tr>
911
+ </tbody>
912
+ </table>
913
+ <hr />
914
+ <h2 id="16-performance-too-many-nodes-causing-slowness">16. Performance: Too Many Nodes Causing Slowness</h2>
915
+ <p><strong>Symptom:</strong> The canvas becomes sluggish with 100+ nodes. Workflow execution is slower than expected.</p>
916
+ <p><strong>Canvas performance:</strong><br />
917
+ - Reduce the number of visible nodes by collapsing related nodes into GroupNodes (Ctrl+Shift+G).<br />
918
+ - Disable the mini-map (Ctrl+M) if you have a large number of nodes — the mini-map re-renders the full scene.<br />
919
+ - Use backdrop nodes to organize without adding execution overhead.</p>
920
+ <p><strong>Execution performance:</strong><br />
921
+ - Identify slow nodes using the timing log: <code>Node 'X' finished in 12.34s</code>.<br />
922
+ - Move heavy I/O operations to <code>asyncio.to_thread()</code> so they run concurrently.<br />
923
+ - For batch operations, prefer a single Python Script node that processes a list internally, rather than a ForEach loop with many individual nodes — the loop overhead adds up.<br />
924
+ - Cache results using <code>SetVariable</code> / <code>GetVariable</code> rather than re-computing on every iteration.</p>
925
+ <p><strong>Profiling a slow workflow:</strong></p>
926
+ <pre><code class="language-python"># Temporary: add to a Python Script node to profile a specific operation
927
+ import cProfile
928
+ import pstats
929
+ import io
930
+
931
+ pr = cProfile.Profile()
932
+ pr.enable()
933
+
934
+ # ... your code here ...
935
+
936
+ pr.disable()
937
+ s = io.StringIO()
938
+ ps = pstats.Stats(pr, stream=s).sort_stats(&quot;cumulative&quot;)
939
+ ps.print_stats(20)
940
+ self.log_info(s.getvalue())
941
+ </code></pre>
942
+ <nav class="page-nav">
943
+ <a class="page-nav-link prev" href="10_contribution_guide.html"><span class="page-nav-label">Previous</span><span class="page-nav-title">Contribution Guide</span></a>
944
+ <a class="page-nav-link next" href="12_examples_library.html"><span class="page-nav-label">Next</span><span class="page-nav-title">Examples Library</span></a>
945
+ </nav>
946
+ <section class="licence-attribution" style="margin-top:40px;padding-top:14px;border-top:1px solid #313244;font-size:.82em;color:#a6adc8">
947
+ <p>Documentation &amp;copy; 2024&amp;ndash;2026 Mahmoud Kamal (KamalTD), licensed under
948
+ <a href="https://creativecommons.org/licenses/by/4.0/" rel="license">CC BY 4.0</a>.
949
+ <a href="../LICENSE.txt">Full licence notice</a>.</p>
950
+ <p>Search and syntax highlighting load <a href="https://lunrjs.com/">lunr.js</a> 2.3.9 (MIT)
951
+ and <a href="https://highlightjs.org/">highlight.js</a> 11.9.0 (BSD-3-Clause) from
952
+ cdn.jsdelivr.net at view time; neither library is redistributed with these files.</p>
953
+ </section>
954
+ </div>
955
+ </main>
956
+
957
+ <!-- ── TOC ────────────────────────────────────────────────────────────── -->
958
+ <aside class="toc">
959
+ <div class="toc-title">On this page</div>
960
+ <a class="toc-link toc-h2" href="#1-installation-issues">1. Installation Issues</a>
961
+ <a class="toc-link toc-h3" href="#pyqt5-not-found">PyQt5 not found</a>
962
+ <a class="toc-link toc-h3" href="#qscintilla-missing-code-editor-shows-plain-text">QScintilla missing — code editor shows plain text</a>
963
+ <a class="toc-link toc-h3" href="#pydantic-version-errors">Pydantic version errors</a>
964
+ <a class="toc-link toc-h3" href="#no-module-named-src">No module named 'src'</a>
965
+ <a class="toc-link toc-h2" href="#2-app-wont-start">2. App Won't Start</a>
966
+ <a class="toc-link toc-h3" href="#qt-platform-plugin-error-on-windows">Qt platform plugin error on Windows</a>
967
+ <a class="toc-link toc-h3" href="#linux-no-display-cannot-connect-to-x-server">Linux: no display / cannot connect to X server</a>
968
+ <a class="toc-link toc-h3" href="#crash-on-startup-with-no-error-message">Crash on startup with no error message</a>
969
+ <a class="toc-link toc-h2" href="#3-nodes-not-appearing-in-library">3. Nodes Not Appearing in Library</a>
970
+ <a class="toc-link toc-h3" href="#node-json-file-not-loaded">Node JSON file not loaded</a>
971
+ <a class="toc-link toc-h3" href="#houdini-nodes-missing-from-library">Houdini nodes missing from library</a>
972
+ <a class="toc-link toc-h3" href="#register_node-missing">register_node() missing</a>
973
+ <a class="toc-link toc-h2" href="#4-workflow-wont-run">4. Workflow Won't Run</a>
974
+ <a class="toc-link toc-h3" href="#no-entry-node-nothing-executes">No entry node / nothing executes</a>
975
+ <a class="toc-link toc-h3" href="#circular-dependency-error">Circular dependency error</a>
976
+ <a class="toc-link toc-h3" href="#all-nodes-are-bypassed">All nodes are bypassed</a>
977
+ <a class="toc-link toc-h2" href="#5-node-produces-wrong-output">5. Node Produces Wrong Output</a>
978
+ <a class="toc-link toc-h3" href="#none-values-flowing-through-wires">None values flowing through wires</a>
979
+ <a class="toc-link toc-h3" href="#values-not-updating-between-runs">Values not updating between runs</a>
980
+ <a class="toc-link toc-h2" href="#6-houdini-bridge-not-connecting">6. Houdini Bridge Not Connecting</a>
981
+ <a class="toc-link toc-h3" href="#connectionrefusederror-or-connectionerror-houdini-bridge-not-connected">ConnectionRefusedError or ConnectionError: Houdini bridge not connected</a>
982
+ <a class="toc-link toc-h3" href="#30-second-timeout-then-connectionerror">30-second timeout then ConnectionError</a>
983
+ <a class="toc-link toc-h2" href="#7-maya-headless-failing">7. Maya Headless Failing</a>
984
+ <a class="toc-link toc-h3" href="#filenotfounderror-for-maya-executable">FileNotFoundError for Maya executable</a>
985
+ <a class="toc-link toc-h3" href="#scene-not-found-error">Scene not found error</a>
986
+ <a class="toc-link toc-h3" href="#action-handler-missing">Action handler missing</a>
987
+ <a class="toc-link toc-h2" href="#8-prism-nodes-not-working">8. Prism Nodes Not Working</a>
988
+ <a class="toc-link toc-h3" href="#prismcore-not-initialized">PrismCore not initialized</a>
989
+ <a class="toc-link toc-h3" href="#prism-import-error">Prism import error</a>
990
+ <a class="toc-link toc-h2" href="#9-groupnode-issues">9. GroupNode Issues</a>
991
+ <a class="toc-link toc-h3" href="#no-internal-workflow-error">"No internal workflow" error</a>
992
+ <a class="toc-link toc-h3" href="#exec-flow-not-propagating-out-of-groupnode">Exec flow not propagating out of GroupNode</a>
993
+ <a class="toc-link toc-h2" href="#10-exec-flow-not-progressing">10. Exec Flow Not Progressing</a>
994
+ <a class="toc-link toc-h3" href="#workflow-stops-mid-execution-silently">Workflow stops mid-execution silently</a>
995
+ <a class="toc-link toc-h3" href="#twowayswitch-not-routing-correctly">TwoWaySwitch not routing correctly</a>
996
+ <a class="toc-link toc-h2" href="#11-autosave-restore-dialog-always-showing">11. Autosave Restore Dialog Always Showing</a>
997
+ <a class="toc-link toc-h2" href="#12-async-deadlock-ui-freezing">12. Async Deadlock / UI Freezing</a>
998
+ <a class="toc-link toc-h2" href="#13-memory-growing-over-multiple-runs">13. Memory Growing Over Multiple Runs</a>
999
+ <a class="toc-link toc-h2" href="#14-pyinstaller-build-fails">14. PyInstaller Build Fails</a>
1000
+ <a class="toc-link toc-h2" href="#15-reading-crashlog">15. Reading crash.log</a>
1001
+ <a class="toc-link toc-h2" href="#16-performance-too-many-nodes-causing-slowness">16. Performance: Too Many Nodes Causing Slowness</a>
1002
+ </aside>
1003
+
1004
+ <script src="https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/highlight.min.js"></script>
1005
+ <script src="https://cdn.jsdelivr.net/npm/lunr@2.3.9/lunr.min.js"></script>
1006
+ <script>
1007
+ // ── Search ──────────────────────────────────────────────────────────────
1008
+ let _idx = null, _docs = [];
1009
+
1010
+ async function initSearch() {
1011
+ try {
1012
+ const base = document.getElementById('portal-base').dataset.base;
1013
+ const resp = await fetch(base + 'search.json');
1014
+ _docs = await resp.json();
1015
+ _idx = lunr(function() {
1016
+ this.ref('id');
1017
+ this.field('title', { boost: 10 });
1018
+ this.field('body');
1019
+ _docs.forEach((d, i) => {
1020
+ this.add({ id: i, title: d.title, body: d.body });
1021
+ });
1022
+ });
1023
+ } catch(e) { console.warn('Search index not available', e); }
1024
+ }
1025
+
1026
+ function doSearch(q) {
1027
+ const box = document.getElementById('search-results');
1028
+ if (!q || q.length < 2) { box.classList.remove('visible'); return; }
1029
+ if (!_idx) { box.innerHTML = '<div class="search-no-results">Search index loading…</div>'; box.classList.add('visible'); return; }
1030
+ const results = _idx.search(q + '~1');
1031
+ if (!results.length) {
1032
+ box.innerHTML = '<div class="search-no-results">No results for "' + q + '"</div>';
1033
+ box.classList.add('visible'); return;
1034
+ }
1035
+ box.innerHTML = results.slice(0, 8).map(r => {
1036
+ const d = _docs[r.ref];
1037
+ const excerpt = d.body.substring(0, 140).replace(/[#*`]/g, '').trim() + '…';
1038
+ return `<a class="search-result-item" href="${d.url}">
1039
+ <div class="search-result-title">${d.title}</div>
1040
+ <div class="search-result-excerpt">${excerpt}</div>
1041
+ </a>`;
1042
+ }).join('');
1043
+ box.classList.add('visible');
1044
+ }
1045
+
1046
+ document.addEventListener('DOMContentLoaded', () => {
1047
+ initSearch();
1048
+ const inp = document.getElementById('search-input');
1049
+ if (inp) {
1050
+ inp.addEventListener('input', e => doSearch(e.target.value));
1051
+ inp.addEventListener('keydown', e => { if (e.key === 'Escape') { e.target.value=''; document.getElementById('search-results').classList.remove('visible'); }});
1052
+ }
1053
+ document.addEventListener('click', e => {
1054
+ if (!e.target.closest('.search-wrap')) document.getElementById('search-results')?.classList.remove('visible');
1055
+ });
1056
+ // Keyboard shortcut: / to focus search
1057
+ document.addEventListener('keydown', e => {
1058
+ if (e.key === '/' && !['INPUT','TEXTAREA'].includes(document.activeElement.tagName)) {
1059
+ e.preventDefault(); document.getElementById('search-input')?.focus();
1060
+ }
1061
+ });
1062
+
1063
+ // ── TOC active section ──────────────────────────────────────────────
1064
+ const tocLinks = document.querySelectorAll('.toc-link');
1065
+ const headings = document.querySelectorAll('h2[id],h3[id],h4[id]');
1066
+ if (tocLinks.length && headings.length) {
1067
+ const obs = new IntersectionObserver(entries => {
1068
+ entries.forEach(entry => {
1069
+ if (entry.isIntersecting) {
1070
+ tocLinks.forEach(l => l.classList.remove('active'));
1071
+ const link = document.querySelector(`.toc-link[href="#${entry.target.id}"]`);
1072
+ if (link) link.classList.add('active');
1073
+ }
1074
+ });
1075
+ }, { rootMargin: '-20% 0px -70% 0px' });
1076
+ headings.forEach(h => obs.observe(h));
1077
+ }
1078
+
1079
+ // ── Copy buttons ────────────────────────────────────────────────────
1080
+ document.querySelectorAll('pre').forEach(pre => {
1081
+ const btn = document.createElement('button');
1082
+ btn.className = 'copy-btn'; btn.textContent = 'Copy';
1083
+ btn.addEventListener('click', () => {
1084
+ const code = pre.querySelector('code');
1085
+ navigator.clipboard.writeText(code ? code.innerText : pre.innerText).then(() => {
1086
+ btn.textContent = 'Copied!'; btn.classList.add('copied');
1087
+ setTimeout(() => { btn.textContent = 'Copy'; btn.classList.remove('copied'); }, 2000);
1088
+ });
1089
+ });
1090
+ pre.style.position = 'relative';
1091
+ pre.appendChild(btn);
1092
+ });
1093
+
1094
+ // ── Sidebar active ──────────────────────────────────────────────────
1095
+ const cur = window.location.pathname.split('/').pop();
1096
+ document.querySelectorAll('.sidebar-link').forEach(l => {
1097
+ if (l.getAttribute('href') === cur || l.getAttribute('href').endsWith(cur)) l.classList.add('active');
1098
+ });
1099
+
1100
+ // ── highlight.js ────────────────────────────────────────────────────
1101
+ if (window.hljs) {
1102
+ hljs.configure({ ignoreUnescapedHTML: true });
1103
+ hljs.highlightAll();
1104
+ }
1105
+ });
1106
+ </script>
1107
+ </body>
1108
+ </html>