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.
- src/core/__init__.py +0 -0
- src/core/engine.py +484 -0
- src/core/events.py +32 -0
- src/core/graph.py +74 -0
- src/core/integrity.py +925 -0
- src/core/loader.py +56 -0
- src/core/manifest.py +910 -0
- src/core/models.py +59 -0
- src/core/persistence.py +27 -0
- src/core/python_to_workflow.py +182 -0
- src/core/registry.py +314 -0
- src/core/workflow_to_python.py +801 -0
- src/main.py +188 -0
- src/models/__init__.py +0 -0
- src/nodes/__init__.py +0 -0
- src/nodes/ai/__init__.py +1 -0
- src/nodes/base.py +174 -0
- src/nodes/builtins/__init__.py +0 -0
- src/nodes/builtins/group_node.py +210 -0
- src/nodes/builtins/nodes.py +452 -0
- src/nodes/print.py +19 -0
- src/nodes/test.py +19 -0
- src/ui/__init__.py +0 -0
- src/ui/canvas/__init__.py +0 -0
- src/ui/canvas/backdrop.py +223 -0
- src/ui/canvas/canvas_search_bar.py +222 -0
- src/ui/canvas/edge.py +98 -0
- src/ui/canvas/mini_map.py +138 -0
- src/ui/canvas/node_search_popup.py +270 -0
- src/ui/canvas/scene.py +1149 -0
- src/ui/canvas/sticky_note.py +123 -0
- src/ui/canvas/view.py +285 -0
- src/ui/code_editor.py +435 -0
- src/ui/export_python_dialog.py +490 -0
- src/ui/gemini_api_dialog.py +41 -0
- src/ui/gemini_chat.py +370 -0
- src/ui/import_python_dialog.py +122 -0
- src/ui/library_panel.py +246 -0
- src/ui/log_panel.py +315 -0
- src/ui/node_builder.py +841 -0
- src/ui/node_widget.py +1009 -0
- src/ui/port_widget.py +116 -0
- src/ui/script_editor.py +53 -0
- src/ui/scripting_console.py +270 -0
- src/ui/settings_window.py +575 -0
- src/ui/window.py +2012 -0
- src/utils/color_manager.py +50 -0
- src/utils/config_manager.py +71 -0
- src/utils/env_manager.py +232 -0
- src/utils/highlighter.py +110 -0
- src/utils/paths.py +30 -0
- src/utils/prism_config.py +300 -0
- src/utils/prism_core.py +80 -0
- src/utils/qt_compat.py +159 -0
- src/utils/runtime.py +80 -0
- vibrante_node/CLA.md +96 -0
- vibrante_node/COMMERCIAL_LICENSE.md +170 -0
- vibrante_node/LICENSE +178 -0
- vibrante_node/LICENSES/AGPL-3.0.txt +661 -0
- vibrante_node/LICENSES/CC-BY-4.0-SCOPE.md +53 -0
- vibrante_node/LICENSES/CC-BY-4.0.txt +396 -0
- vibrante_node/LICENSES/GPL-3.0.txt +674 -0
- vibrante_node/LICENSES/LGPL-3.0.txt +165 -0
- vibrante_node/LICENSES/README.md +65 -0
- vibrante_node/THIRD_PARTY_NOTICES.txt +3277 -0
- vibrante_node/__init__.py +2 -0
- vibrante_node/app.py +60 -0
- vibrante_node/docs/AUTOMATION_API.html +785 -0
- vibrante_node/docs/DEVELOPER.html +891 -0
- vibrante_node/docs/DOCUMENTATION.html +2761 -0
- vibrante_node/docs/LICENSE.txt +35 -0
- vibrante_node/docs/NODE_BUILDER_API.html +1155 -0
- vibrante_node/docs/RELEASE_v1.0.5.html +140 -0
- vibrante_node/docs/RELEASE_v1.1.0.html +163 -0
- vibrante_node/docs/RELEASE_v1.1.5.html +286 -0
- vibrante_node/docs/RELEASE_v1.2.0.html +175 -0
- vibrante_node/docs/RELEASE_v1.3.0.html +168 -0
- vibrante_node/docs/RELEASE_v1.4.0.html +160 -0
- vibrante_node/docs/RELEASE_v1.5.0.html +432 -0
- vibrante_node/docs/RELEASE_v1.6.0.html +293 -0
- vibrante_node/docs/RELEASE_v1.6.1.html +171 -0
- vibrante_node/docs/RELEASE_v1.7.0.html +270 -0
- vibrante_node/docs/RELEASE_v1.8.0.html +201 -0
- vibrante_node/docs/RELEASE_v1.8.1.html +124 -0
- vibrante_node/docs/RELEASE_v1.8.2.html +119 -0
- vibrante_node/docs/RELEASE_v1.8.3.html +125 -0
- vibrante_node/docs/RELEASE_v1.8.4.html +210 -0
- vibrante_node/docs/RELEASE_v1.8.5.html +223 -0
- vibrante_node/docs/RELEASE_v2.0.0.html +284 -0
- vibrante_node/docs/RELEASE_v2.1.0.html +259 -0
- vibrante_node/docs/RELEASE_v2.1.1.html +156 -0
- vibrante_node/docs/RELEASE_v2.2.0.html +369 -0
- vibrante_node/docs/RELEASE_v2.2.1.html +168 -0
- vibrante_node/docs/RELEASE_v2.3.0.html +185 -0
- vibrante_node/docs/RELEASE_v2.4.0.html +446 -0
- vibrante_node/docs/RELEASE_v2.5.0.html +478 -0
- vibrante_node/docs/RELEASE_v2.5.1.html +190 -0
- vibrante_node/docs/USER_GUIDE.html +1407 -0
- vibrante_node/docs/index.html +103 -0
- vibrante_node/docs/portal/01_introduction.html +1177 -0
- vibrante_node/docs/portal/02_getting_started.html +1267 -0
- vibrante_node/docs/portal/03_user_guide.html +1736 -0
- vibrante_node/docs/portal/04_workflow_tutorials.html +1473 -0
- vibrante_node/docs/portal/05_node_development.html +1562 -0
- vibrante_node/docs/portal/06_backend_architecture.html +1373 -0
- vibrante_node/docs/portal/07_frontend_architecture.html +1588 -0
- vibrante_node/docs/portal/08_api_reference.html +2336 -0
- vibrante_node/docs/portal/09_advanced_topics.html +1664 -0
- vibrante_node/docs/portal/10_contribution_guide.html +1263 -0
- vibrante_node/docs/portal/11_troubleshooting.html +1108 -0
- vibrante_node/docs/portal/12_examples_library.html +1498 -0
- vibrante_node/docs/portal/13_general_purpose_automation.html +1472 -0
- vibrante_node/docs/portal/14_custom_nodes_api.html +1960 -0
- vibrante_node/docs/portal/index.html +605 -0
- vibrante_node/docs/portal/integrations_blender.html +605 -0
- vibrante_node/docs/portal/integrations_deadline.html +536 -0
- vibrante_node/docs/portal/integrations_houdini.html +787 -0
- vibrante_node/docs/portal/integrations_maya.html +675 -0
- vibrante_node/docs/portal/integrations_prism.html +628 -0
- vibrante_node/docs/portal/search.json +1 -0
- vibrante_node/docs/validation.json +333 -0
- vibrante_node/examples/arnold_lighting/orchestration_notes.md +45 -0
- vibrante_node/examples/arnold_lighting/prompt.md +47 -0
- vibrante_node/examples/automation/01_linear_chain.py +10 -0
- vibrante_node/examples/automation/02_batch_update_prefix.py +8 -0
- vibrante_node/examples/automation/03_reset_scene.py +5 -0
- vibrante_node/examples/automation/04_batch_execution.py +9 -0
- vibrante_node/examples/automation/05_git_backup.py +6 -0
- vibrante_node/examples/automation/06_reset_math_nodes.py +12 -0
- vibrante_node/examples/automation/07_stress_test_grid.py +8 -0
- vibrante_node/examples/automation/08_scene_summary.py +8 -0
- vibrante_node/examples/automation/09_toggle_bools.py +8 -0
- vibrante_node/examples/automation/10_session_report.py +7 -0
- vibrante_node/examples/automation/11_simple_math_node.py +7 -0
- vibrante_node/examples/cinematic_camera/orchestration_notes.md +56 -0
- vibrante_node/examples/cinematic_camera/prompt.md +50 -0
- vibrante_node/examples/cinematic_explosion/orchestration_notes.md +76 -0
- vibrante_node/examples/cinematic_explosion/prompt.md +47 -0
- vibrante_node/examples/cinematic_explosion/review.md +75 -0
- vibrante_node/examples/dust_wave/orchestration_notes.md +43 -0
- vibrante_node/examples/dust_wave/prompt.md +40 -0
- vibrante_node/examples/nodes/async_delay.py +21 -0
- vibrante_node/examples/nodes/connection_logger.py +25 -0
- vibrante_node/examples/nodes/data_filter.py +19 -0
- vibrante_node/examples/nodes/dict_merge.py +20 -0
- vibrante_node/examples/nodes/dict_summary.py +21 -0
- vibrante_node/examples/nodes/dropdown_selector.py +29 -0
- vibrante_node/examples/nodes/env_reader.py +18 -0
- vibrante_node/examples/nodes/list_item_picker.py +85 -0
- vibrante_node/examples/nodes/list_stats.py +27 -0
- vibrante_node/examples/nodes/logic_threshold.py +23 -0
- vibrante_node/examples/nodes/math_square.py +30 -0
- vibrante_node/examples/nodes/random_list.py +18 -0
- vibrante_node/examples/nodes/reactive_config.py +24 -0
- vibrante_node/examples/nodes/safety_reset.py +31 -0
- vibrante_node/examples/nodes/string_reverse.py +16 -0
- vibrante_node/icons/210429_DeadlineFreeOn10RenderMachines.jpg +0 -0
- vibrante_node/icons/README.md +39 -0
- vibrante_node/icons/blender_icon.png +0 -0
- vibrante_node/icons/braces.png +0 -0
- vibrante_node/icons/braces.svg +1 -0
- vibrante_node/icons/builder.png +0 -0
- vibrante_node/icons/check.png +0 -0
- vibrante_node/icons/check.svg +1 -0
- vibrante_node/icons/chevron-right.svg +3 -0
- vibrante_node/icons/code.png +0 -0
- vibrante_node/icons/code.svg +4 -0
- vibrante_node/icons/computer-window.png +0 -0
- vibrante_node/icons/data.png +0 -0
- vibrante_node/icons/data.svg +5 -0
- vibrante_node/icons/database-search.png +0 -0
- vibrante_node/icons/database-search.svg +5 -0
- vibrante_node/icons/database-zap.png +0 -0
- vibrante_node/icons/database-zap.svg +5 -0
- vibrante_node/icons/database.png +0 -0
- vibrante_node/icons/database.svg +5 -0
- vibrante_node/icons/dice.png +0 -0
- vibrante_node/icons/dice.svg +1 -0
- vibrante_node/icons/divide.svg +5 -0
- vibrante_node/icons/file-input.svg +6 -0
- vibrante_node/icons/file-plus.png +0 -0
- vibrante_node/icons/file-plus.svg +6 -0
- vibrante_node/icons/file-text.png +0 -0
- vibrante_node/icons/file-text.svg +7 -0
- vibrante_node/icons/folder-plus.png +0 -0
- vibrante_node/icons/folder-plus.svg +5 -0
- vibrante_node/icons/folder.png +0 -0
- vibrante_node/icons/folder.svg +3 -0
- vibrante_node/icons/gear.png +0 -0
- vibrante_node/icons/gear.svg +1 -0
- vibrante_node/icons/git-branch.svg +6 -0
- vibrante_node/icons/hash.png +0 -0
- vibrante_node/icons/hash.svg +1 -0
- vibrante_node/icons/houdini.svg +4 -0
- vibrante_node/icons/houdini_icon.png +0 -0
- vibrante_node/icons/http.png +0 -0
- vibrante_node/icons/list-check.png +0 -0
- vibrante_node/icons/list-check.svg +7 -0
- vibrante_node/icons/list-plus.svg +10 -0
- vibrante_node/icons/list.png +0 -0
- vibrante_node/icons/list.svg +8 -0
- vibrante_node/icons/logic.png +0 -0
- vibrante_node/icons/logic.svg +7 -0
- vibrante_node/icons/math.png +0 -0
- vibrante_node/icons/math.svg +4 -0
- vibrante_node/icons/maya_icon.jpg +0 -0
- vibrante_node/icons/message.png +0 -0
- vibrante_node/icons/message.svg +3 -0
- vibrante_node/icons/minus.svg +3 -0
- vibrante_node/icons/multiply.png +0 -0
- vibrante_node/icons/multiply.svg +1 -0
- vibrante_node/icons/online-library.png +0 -0
- vibrante_node/icons/percentage.svg +5 -0
- vibrante_node/icons/plus.png +0 -0
- vibrante_node/icons/plus.svg +1 -0
- vibrante_node/icons/print.png +0 -0
- vibrante_node/icons/print.svg +5 -0
- vibrante_node/icons/prism_icon.png +0 -0
- vibrante_node/icons/refresh.svg +6 -0
- vibrante_node/icons/repeat.svg +6 -0
- vibrante_node/icons/scales.png +0 -0
- vibrante_node/icons/scales.svg +1 -0
- vibrante_node/icons/shuffle.svg +7 -0
- vibrante_node/icons/string.png +0 -0
- vibrante_node/icons/string.svg +5 -0
- vibrante_node/icons/terminal.png +0 -0
- vibrante_node/icons/terminal.svg +1 -0
- vibrante_node/icons/timer.png +0 -0
- vibrante_node/icons/timer.svg +4 -0
- vibrante_node/icons/toggle-switch.svg +5 -0
- vibrante_node/icons/uppercase.png +0 -0
- vibrante_node/icons/uppercase.svg +1 -0
- vibrante_node/icons/variable-get.svg +4 -0
- vibrante_node/icons/variable-set.svg +6 -0
- vibrante_node/icons/variable.png +0 -0
- vibrante_node/icons/variable.svg +5 -0
- vibrante_node/icons/vibrante-node-icon.png +0 -0
- vibrante_node/icons/vibrante-node-logo.png +0 -0
- vibrante_node/icons/vibrante-node-main_logo.png +0 -0
- vibrante_node/icons/vibrante-node-resize_main_logo.png +0 -0
- vibrante_node/logo.png +0 -0
- vibrante_node/mcp_cli.py +36 -0
- vibrante_node/node_examples/Split_String.json +35 -0
- vibrante_node/node_examples/async_delay.json +32 -0
- vibrante_node/node_examples/delay_timer.json +29 -0
- vibrante_node/node_examples/file_reader.json +29 -0
- vibrante_node/node_examples/fruit_selector.json +37 -0
- vibrante_node/node_examples/json_parser.json +29 -0
- vibrante_node/node_examples/line_counter.json +29 -0
- vibrante_node/node_examples/list_append.json +32 -0
- vibrante_node/node_examples/list_images_recursive.json +55 -0
- vibrante_node/node_examples/logic_and.json +34 -0
- vibrante_node/node_examples/logic_compare.json +36 -0
- vibrante_node/node_examples/math_abs.json +29 -0
- vibrante_node/node_examples/math_add.json +32 -0
- vibrante_node/node_examples/reactive_config.json +28 -0
- vibrante_node/node_examples/string_uppercase.json +29 -0
- vibrante_node/nodes/Dropdown_Selector.json +27 -0
- vibrante_node/nodes/add_integers.json +34 -0
- vibrante_node/nodes/blender_action_bake_animation.json +23 -0
- vibrante_node/nodes/blender_action_custom.json +21 -0
- vibrante_node/nodes/blender_action_export_alembic.json +22 -0
- vibrante_node/nodes/blender_action_export_fbx.json +23 -0
- vibrante_node/nodes/blender_action_export_gltf.json +21 -0
- vibrante_node/nodes/blender_action_export_obj.json +19 -0
- vibrante_node/nodes/blender_action_export_usd.json +23 -0
- vibrante_node/nodes/blender_action_import_alembic.json +18 -0
- vibrante_node/nodes/blender_action_import_fbx.json +18 -0
- vibrante_node/nodes/blender_action_import_gltf.json +18 -0
- vibrante_node/nodes/blender_action_import_obj.json +18 -0
- vibrante_node/nodes/blender_action_new_blend.json +18 -0
- vibrante_node/nodes/blender_action_open_blend.json +18 -0
- vibrante_node/nodes/blender_action_render.json +23 -0
- vibrante_node/nodes/blender_action_save_blend.json +18 -0
- vibrante_node/nodes/blender_action_scene_info.json +17 -0
- vibrante_node/nodes/blender_action_set_frame_range.json +20 -0
- vibrante_node/nodes/blender_action_set_render_settings.json +27 -0
- vibrante_node/nodes/blender_get_action_result.json +22 -0
- vibrante_node/nodes/blender_headless.json +86 -0
- vibrante_node/nodes/compare.json +48 -0
- vibrante_node/nodes/console_print.json +29 -0
- vibrante_node/nodes/create_dictionary.json +18 -0
- vibrante_node/nodes/create_folder.json +17 -0
- vibrante_node/nodes/create_list.json +18 -0
- vibrante_node/nodes/deadline_blender_submit.json +38 -0
- vibrante_node/nodes/deadline_houdini_submit.json +38 -0
- vibrante_node/nodes/deadline_job_status.json +28 -0
- vibrante_node/nodes/deadline_maya_submit.json +40 -0
- vibrante_node/nodes/delay_timer.json +26 -0
- vibrante_node/nodes/example_random_float.json +35 -0
- vibrante_node/nodes/file_append.json +18 -0
- vibrante_node/nodes/file_write.json +18 -0
- vibrante_node/nodes/for_loop.json +46 -0
- vibrante_node/nodes/get_dict_value.json +19 -0
- vibrante_node/nodes/get_list_item.json +19 -0
- vibrante_node/nodes/houdini_action_bake_animation.json +20 -0
- vibrante_node/nodes/houdini_action_custom.json +20 -0
- vibrante_node/nodes/houdini_action_export_alembic.json +20 -0
- vibrante_node/nodes/houdini_action_export_camera_alembic.json +20 -0
- vibrante_node/nodes/houdini_action_export_fbx.json +18 -0
- vibrante_node/nodes/houdini_action_import_alembic.json +18 -0
- vibrante_node/nodes/houdini_action_import_camera.json +17 -0
- vibrante_node/nodes/houdini_action_import_fbx.json +18 -0
- vibrante_node/nodes/houdini_action_import_obj.json +18 -0
- vibrante_node/nodes/houdini_action_new_hip.json +16 -0
- vibrante_node/nodes/houdini_action_open_hip.json +17 -0
- vibrante_node/nodes/houdini_action_save_hip.json +17 -0
- vibrante_node/nodes/houdini_action_scene_info.json +16 -0
- vibrante_node/nodes/houdini_action_set_frame_range.json +18 -0
- vibrante_node/nodes/houdini_get_action_result.json +21 -0
- vibrante_node/nodes/houdini_headless.json +85 -0
- vibrante_node/nodes/houdini_scene_snapshot.json +41 -0
- vibrante_node/nodes/http_request.json +76 -0
- vibrante_node/nodes/if_condition.json +45 -0
- vibrante_node/nodes/list_directory.json +17 -0
- vibrante_node/nodes/list_images_recursive.json +41 -0
- vibrante_node/nodes/list_item_picker.json +41 -0
- vibrante_node/nodes/list_length.json +17 -0
- vibrante_node/nodes/logical_gate.json +45 -0
- vibrante_node/nodes/loop_body.json +62 -0
- vibrante_node/nodes/math_add.json +17 -0
- vibrante_node/nodes/math_divide.json +17 -0
- vibrante_node/nodes/math_modulo.json +17 -0
- vibrante_node/nodes/math_multiply.json +36 -0
- vibrante_node/nodes/math_subtract.json +17 -0
- vibrante_node/nodes/maya_action_assign_material.json +18 -0
- vibrante_node/nodes/maya_action_bake_animation.json +21 -0
- vibrante_node/nodes/maya_action_create_render_layer.json +19 -0
- vibrante_node/nodes/maya_action_custom.json +20 -0
- vibrante_node/nodes/maya_action_export_alembic.json +22 -0
- vibrante_node/nodes/maya_action_export_camera_alembic.json +20 -0
- vibrante_node/nodes/maya_action_export_fbx.json +18 -0
- vibrante_node/nodes/maya_action_import_alembic.json +17 -0
- vibrante_node/nodes/maya_action_import_camera.json +17 -0
- vibrante_node/nodes/maya_action_import_fbx.json +17 -0
- vibrante_node/nodes/maya_action_import_obj.json +17 -0
- vibrante_node/nodes/maya_action_list_references.json +16 -0
- vibrante_node/nodes/maya_action_new_scene.json +16 -0
- vibrante_node/nodes/maya_action_open_scene.json +18 -0
- vibrante_node/nodes/maya_action_playblast.json +22 -0
- vibrante_node/nodes/maya_action_reference_alembic.json +18 -0
- vibrante_node/nodes/maya_action_reference_scene.json +18 -0
- vibrante_node/nodes/maya_action_save_scene.json +18 -0
- vibrante_node/nodes/maya_action_scene_info.json +16 -0
- vibrante_node/nodes/maya_action_set_aovs.json +18 -0
- vibrante_node/nodes/maya_action_set_frame_range.json +18 -0
- vibrante_node/nodes/maya_action_set_render_settings.json +23 -0
- vibrante_node/nodes/maya_get_action_result.json +21 -0
- vibrante_node/nodes/maya_headless.json +27 -0
- vibrante_node/nodes/mcp_call_tool.json +19 -0
- vibrante_node/nodes/mcp_list_tools.json +18 -0
- vibrante_node/nodes/mcp_server_init.json +23 -0
- vibrante_node/nodes/message_node.json +32 -0
- vibrante_node/nodes/prism_add_integration.json +49 -0
- vibrante_node/nodes/prism_build_entity.json +45 -0
- vibrante_node/nodes/prism_change_project.json +37 -0
- vibrante_node/nodes/prism_core_info.json +37 -0
- vibrante_node/nodes/prism_core_init.json +46 -0
- vibrante_node/nodes/prism_create_category.json +44 -0
- vibrante_node/nodes/prism_create_entity.json +60 -0
- vibrante_node/nodes/prism_create_playblast.json +56 -0
- vibrante_node/nodes/prism_create_product_version.json +64 -0
- vibrante_node/nodes/prism_create_project.json +50 -0
- vibrante_node/nodes/prism_create_scene_from_preset.json +59 -0
- vibrante_node/nodes/prism_eval.json +42 -0
- vibrante_node/nodes/prism_get_aovs.json +29 -0
- vibrante_node/nodes/prism_get_asset_by_name.json +69 -0
- vibrante_node/nodes/prism_get_asset_type_by_name.json +62 -0
- vibrante_node/nodes/prism_get_asset_types_by_project.json +55 -0
- vibrante_node/nodes/prism_get_assets_by_project.json +41 -0
- vibrante_node/nodes/prism_get_assets_by_type.json +69 -0
- vibrante_node/nodes/prism_get_config.json +48 -0
- vibrante_node/nodes/prism_get_current_scene.json +37 -0
- vibrante_node/nodes/prism_get_departments.json +37 -0
- vibrante_node/nodes/prism_get_entity_info.json +69 -0
- vibrante_node/nodes/prism_get_entity_path.json +69 -0
- vibrante_node/nodes/prism_get_export_path.json +26 -0
- vibrante_node/nodes/prism_get_latest_product_path.json +34 -0
- vibrante_node/nodes/prism_get_media.json +29 -0
- vibrante_node/nodes/prism_get_media_versions.json +33 -0
- vibrante_node/nodes/prism_get_plugin.json +35 -0
- vibrante_node/nodes/prism_get_preset_scenes.json +35 -0
- vibrante_node/nodes/prism_get_product_versions.json +33 -0
- vibrante_node/nodes/prism_get_products.json +29 -0
- vibrante_node/nodes/prism_get_project_by_name.json +55 -0
- vibrante_node/nodes/prism_get_project_config_path.json +26 -0
- vibrante_node/nodes/prism_get_scene_files.json +45 -0
- vibrante_node/nodes/prism_get_scene_path.json +23 -0
- vibrante_node/nodes/prism_get_sequence_by_project.json +48 -0
- vibrante_node/nodes/prism_get_sequences_by_project.json +41 -0
- vibrante_node/nodes/prism_get_shot_by_name.json +62 -0
- vibrante_node/nodes/prism_get_shot_by_sequence.json +55 -0
- vibrante_node/nodes/prism_get_shot_info.json +69 -0
- vibrante_node/nodes/prism_get_shots.json +29 -0
- vibrante_node/nodes/prism_get_shots_by_project_sequence.json +48 -0
- vibrante_node/nodes/prism_get_shots_by_sequence.json +48 -0
- vibrante_node/nodes/prism_get_tasks.json +39 -0
- vibrante_node/nodes/prism_import_product.json +37 -0
- vibrante_node/nodes/prism_list_plugins.json +25 -0
- vibrante_node/nodes/prism_list_projects.json +25 -0
- vibrante_node/nodes/prism_login_token.json +33 -0
- vibrante_node/nodes/prism_monkey_patch.json +46 -0
- vibrante_node/nodes/prism_open_scene.json +33 -0
- vibrante_node/nodes/prism_popup.json +40 -0
- vibrante_node/nodes/prism_register_callback.json +58 -0
- vibrante_node/nodes/prism_save_scene_version.json +90 -0
- vibrante_node/nodes/prism_send_cmd.json +54 -0
- vibrante_node/nodes/prism_set_config.json +55 -0
- vibrante_node/nodes/prism_studio_assign_project.json +43 -0
- vibrante_node/nodes/prism_trigger_callback.json +42 -0
- vibrante_node/nodes/prism_usd_department_layer_path.json +35 -0
- vibrante_node/nodes/prism_usd_entity_path.json +29 -0
- vibrante_node/nodes/prism_usd_sublayer_path.json +41 -0
- vibrante_node/nodes/prism_usd_update_department_layer.json +33 -0
- vibrante_node/nodes/prism_usd_update_sublayer.json +33 -0
- vibrante_node/nodes/python_script.json +17 -0
- vibrante_node/nodes/scene_intent_extractor.json +25 -0
- vibrante_node/nodes/set_dict_value.json +20 -0
- vibrante_node/nodes/string_concat.json +47 -0
- vibrante_node/nodes/string_length.json +16 -0
- vibrante_node/nodes/string_lowercase.json +16 -0
- vibrante_node/nodes/string_replace.json +18 -0
- vibrante_node/nodes/string_split.json +17 -0
- vibrante_node/nodes/string_uppercase.json +16 -0
- vibrante_node/nodes/variable_node.json +42 -0
- vibrante_node/nodes/while_loop.json +18 -0
- vibrante_node/splash.png +0 -0
- vibrante_node/vfx_workflows/01_prism_project_overview.json +492 -0
- vibrante_node/vfx_workflows/02_maya_asset_publish.json +776 -0
- vibrante_node/vfx_workflows/03_multi_shot_alembic_export.json +856 -0
- vibrante_node/vfx_workflows/04_deadline_render_pipeline.json +994 -0
- vibrante_node/vfx_workflows/05_houdini_fx_pipeline.json +1056 -0
- vibrante_node/vfx_workflows/06_blender_multi_format_export.json +1206 -0
- vibrante_node/website_examples/database_query.json +69 -0
- vibrante_node/website_examples/email_notification.json +104 -0
- vibrante_node/website_examples/file_batch_processor.json +62 -0
- vibrante_node/website_examples/folder_monitor.json +55 -0
- vibrante_node/website_examples/hou_sop_chain.json +69 -0
- vibrante_node/website_examples/http_request.json +90 -0
- vibrante_node/website_examples/image_resizer.json +90 -0
- vibrante_node/website_examples/llm_text_generation.json +90 -0
- vibrante_node/website_examples/prism_multi_asset_publisher.json +76 -0
- vibrante_node/website_examples/regex_replace.json +69 -0
- vibrante_node/workflows/If_condition.json +134 -0
- vibrante_node/workflows/Maya_WorkFlow.json +464 -0
- vibrante_node/workflows/asset_intelligence_pipeline.json +259 -0
- vibrante_node/workflows/concat_string_with_loop.json +262 -0
- vibrante_node/workflows/delay_time.json +74 -0
- vibrante_node/workflows/example_workflow_maya_prism_demo.json +503 -0
- vibrante_node/workflows/example_workflow_prism_demo.json +276 -0
- vibrante_node/workflows/example_workflow_prism_demo_02.json +221 -0
- vibrante_node/workflows/extract_FPS_from_maya_scene.json +265 -0
- vibrante_node/workflows/for_each.json +260 -0
- vibrante_node/workflows/get_list_item.json +151 -0
- vibrante_node/workflows/hou_mcp_scene_context_demo.json +67 -0
- vibrante_node/workflows/list_recursive_images.json +103 -0
- vibrante_node/workflows/logic_if_example.json +262 -0
- vibrante_node/workflows/logic_if_with_variables.json +210 -0
- vibrante_node/workflows/loop_break_example.json +197 -0
- vibrante_node/workflows/loop_operation_example.json +382 -0
- vibrante_node/workflows/mcp_list_tools_demo.json +90 -0
- vibrante_node/workflows/prism_assets_workflow.json +131 -0
- vibrante_node/workflows/python_script_node.json +89 -0
- vibrante_node/workflows/run_in_sequence.json +158 -0
- vibrante_node/workflows/scene_intent_pipeline.json +134 -0
- vibrante_node/workflows/scene_planning_pipeline.json +258 -0
- vibrante_node/workflows/semantic_scene_intent.json +96 -0
- vibrante_node/workflows/setup_maya_scene.json +352 -0
- vibrante_node/workflows/tutorial_maya_headless_prism_pipeline.json +593 -0
- vibrante_node/workflows/two_way_switch.json +341 -0
- vibrante_node/workflows/while_loop_class_example.json +192 -0
- vibrante_node/workflows/while_loop_example.json +184 -0
- vibrante_node/workflows/while_loop_retry_example.json +276 -0
- vibrante_node-2.5.1.dist-info/METADATA +715 -0
- vibrante_node-2.5.1.dist-info/RECORD +487 -0
- vibrante_node-2.5.1.dist-info/WHEEL +5 -0
- vibrante_node-2.5.1.dist-info/entry_points.txt +3 -0
- vibrante_node-2.5.1.dist-info/licenses/CLA.md +96 -0
- vibrante_node-2.5.1.dist-info/licenses/COMMERCIAL_LICENSE.md +170 -0
- vibrante_node-2.5.1.dist-info/licenses/LICENSE +178 -0
- vibrante_node-2.5.1.dist-info/licenses/LICENSES/AGPL-3.0.txt +661 -0
- vibrante_node-2.5.1.dist-info/licenses/LICENSES/CC-BY-4.0-SCOPE.md +53 -0
- vibrante_node-2.5.1.dist-info/licenses/LICENSES/CC-BY-4.0.txt +396 -0
- vibrante_node-2.5.1.dist-info/licenses/LICENSES/GPL-3.0.txt +674 -0
- vibrante_node-2.5.1.dist-info/licenses/LICENSES/LGPL-3.0.txt +165 -0
- vibrante_node-2.5.1.dist-info/licenses/LICENSES/README.md +65 -0
- vibrante_node-2.5.1.dist-info/top_level.txt +2 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
2
|
+
<path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"></path>
|
|
3
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg>
|
|
Binary file
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
2
|
+
<line x1="19" y1="5" x2="5" y2="19"/>
|
|
3
|
+
<circle cx="6.5" cy="6.5" r="2.5"/>
|
|
4
|
+
<circle cx="17.5" cy="17.5" r="2.5"/>
|
|
5
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"/><path d="M12 5v14"/></svg>
|
|
Binary file
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
2
|
+
<polyline points="6 9 6 2 18 2 18 9"></polyline>
|
|
3
|
+
<path d="M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2"></path>
|
|
4
|
+
<rect x="6" y="14" width="12" height="8"></rect>
|
|
5
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
2
|
+
<path d="M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"/>
|
|
3
|
+
<path d="M3 3v5h5"/>
|
|
4
|
+
<path d="M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16"/>
|
|
5
|
+
<path d="M16 16h5v5"/>
|
|
6
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
2
|
+
<path d="m17 2 4 4-4 4"/>
|
|
3
|
+
<path d="M3 11v-1a4 4 0 0 1 4-4h14"/>
|
|
4
|
+
<path d="m7 22-4-4 4-4"/>
|
|
5
|
+
<path d="M21 13v1a4 4 0 0 1-4 4H3"/>
|
|
6
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z"/><path d="m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z"/><path d="M7 21h10"/><path d="M12 3v18"/><path d="M3 7h18"/></svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
2
|
+
<polyline points="16 3 21 3 21 8"/>
|
|
3
|
+
<line x1="4" y1="20" x2="21" y2="3"/>
|
|
4
|
+
<polyline points="21 16 21 21 16 21"/>
|
|
5
|
+
<line x1="15" y1="15" x2="21" y2="21"/>
|
|
6
|
+
<line x1="4" y1="4" x2="9" y2="9"/>
|
|
7
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
2
|
+
<polyline points="4 7 4 4 20 4 20 7"></polyline>
|
|
3
|
+
<line x1="9" y1="20" x2="15" y2="20"></line>
|
|
4
|
+
<line x1="12" y1="4" x2="12" y2="20"></line>
|
|
5
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="4 17 10 11 4 5"/><line x1="12" x2="20" y1="19" y2="19"/></svg>
|
|
Binary file
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
2
|
+
<circle cx="12" y="12" r="10"></circle>
|
|
3
|
+
<polyline points="12 6 12 12 16 14"></polyline>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
2
|
+
<path d="M18 8V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h8"/>
|
|
3
|
+
<path d="M10 19h11a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2h-5"/>
|
|
4
|
+
<circle cx="14" cy="14" r="4"/>
|
|
5
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 15h12"/><path d="M15 6h6"/><path d="M9 6H3"/><path d="M12 3v18"/></svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
2
|
+
<path d="M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1"/>
|
|
3
|
+
<path d="M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
2
|
+
<path d="M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1"/>
|
|
3
|
+
<path d="M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1"/>
|
|
4
|
+
<line x1="10" y1="12" x2="14" y2="12"/>
|
|
5
|
+
<line x1="12" y1="10" x2="12" y2="14"/>
|
|
6
|
+
</svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
vibrante_node/logo.png
ADDED
|
Binary file
|
vibrante_node/mcp_cli.py
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Vibrante-Node MCP stdio server - installed console entry point.
|
|
3
|
+
|
|
4
|
+
The `vibrante-mcp` console script exposes the same runtime MCP server that
|
|
5
|
+
`scripts/run_vibrante_mcp.py` provides from a source checkout. The server
|
|
6
|
+
implementation (transport, tool registry, all 14 semantic tools) lives
|
|
7
|
+
entirely in `src/runtime`; this module is only a thin boot wrapper so the
|
|
8
|
+
installed package has a reliable, importable entry point.
|
|
9
|
+
|
|
10
|
+
Run: vibrante-mcp (requires the 'mcp' optional extra of this distribution)
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from src.runtime.mcp_transport import MCPTransport
|
|
14
|
+
from src.runtime.mcp_tool_registry import register_all_tools
|
|
15
|
+
from src.runtime.runtime_bootstrap import initialize_runtime
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def main() -> None:
|
|
19
|
+
"""Block and serve MCP over stdio until the client disconnects.
|
|
20
|
+
|
|
21
|
+
Mirrors the boot sequence of scripts/run_vibrante_mcp.py.
|
|
22
|
+
"""
|
|
23
|
+
transport = MCPTransport()
|
|
24
|
+
|
|
25
|
+
# Warm up runtime singletons (fast - just touches the singleton instances)
|
|
26
|
+
initialize_runtime()
|
|
27
|
+
|
|
28
|
+
# Register all 14 semantic orchestration tools
|
|
29
|
+
register_all_tools(transport)
|
|
30
|
+
|
|
31
|
+
# Block and serve over stdio
|
|
32
|
+
transport.run_stdio()
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
if __name__ == "__main__":
|
|
36
|
+
main()
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"node_id": "Split_String",
|
|
3
|
+
"name": "Split_String",
|
|
4
|
+
"description": "",
|
|
5
|
+
"category": "Control",
|
|
6
|
+
"icon_path": null,
|
|
7
|
+
"use_exec": true,
|
|
8
|
+
"inputs": [
|
|
9
|
+
{
|
|
10
|
+
"name": "exec_in",
|
|
11
|
+
"type": "exec"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "Instring",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"widget_type": "text",
|
|
17
|
+
"options": null,
|
|
18
|
+
"default": null
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"outputs": [
|
|
22
|
+
{
|
|
23
|
+
"name": "exec_out",
|
|
24
|
+
"type": "exec"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "string",
|
|
28
|
+
"type": "list",
|
|
29
|
+
"widget_type": null,
|
|
30
|
+
"options": null,
|
|
31
|
+
"default": null
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"python_code": "from src.nodes.base import BaseNode\n\nclass Split_StringNode(BaseNode):\n name = \"Split_String\"\n \n def __init__(self):\n super().__init__()\n self.icon_path = None # [AUTO-GENERATED-PORTS-START]\n self.add_input(\"Instring\", \"string\", widget_type=\"text\")\n self.add_output(\"string\", \"list\")\n # [AUTO-GENERATED-PORTS-END]\n \n def on_plug_sync(self, port_name, is_input, other_node, other_port_name):\n # Access the other node's port data using the specific other_port_name\n data = other_node.get_parameter(other_port_name)\n self.log_info(f\"Connected to {other_node.name} port '{other_port_name}'. Data: {data}\")\n\n def on_unplug_sync(self, port_name, is_input):\n self.log_info(f\"Disconnected {port_name}\")\n\n async def on_plug(self, port_name, is_input, other_node, other_port_name):\n pass\n\n async def on_unplug(self, port_name, is_input):\n pass\n\n async def execute(self, inputs):\n \"\"\"\n Main execution logic for the node.\n \n :param inputs: A dictionary containing data from connected input ports and widgets.\n Key: Port Name (string), Value: Port Data (any).\n :return: A dictionary containing data to be sent to output ports.\n Key: Port Name (string), Value: Port Data (any).\n \"\"\"\n in_ = inputs.get('Instring', '')\n spl = in_.split(\" \")\n \n # Push data outputs BEFORE exec_out trigger to avoid race condition in engine\n await self.set_output(\"string\", spl)\n await self.set_output(\"exec_out\", True)\n \n return {\"string\": spl}\n\ndef register_node():\n return Split_StringNode\n"
|
|
35
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"node_id": "async_delay",
|
|
3
|
+
"name": "Async Delay",
|
|
4
|
+
"description": "Delays execution for a specified number of seconds.",
|
|
5
|
+
"category": "Utility",
|
|
6
|
+
"icon_path": "icons/timer.svg",
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"name": "exec_in",
|
|
10
|
+
"type": "exec"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "input_data",
|
|
14
|
+
"type": "any"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "seconds",
|
|
18
|
+
"type": "number"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"outputs": [
|
|
22
|
+
{
|
|
23
|
+
"name": "exec_out",
|
|
24
|
+
"type": "exec"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "output_data",
|
|
28
|
+
"type": "any"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"python_code": "import asyncio\nfrom src.nodes.base import BaseNode\n\nclass AsyncDelayNode(BaseNode):\n name = \"Async Delay\"\n \n def __init__(self):\n super().__init__()\n self.icon_path = \"icons/timer.svg\"\n # [AUTO-GENERATED-PORTS-START]\n self.add_input(\"input_data\", \"any\")\n self.add_input(\"seconds\", \"number\")\n self.add_output(\"output_data\", \"any\")\n # [AUTO-GENERATED-PORTS-END]\n \n async def execute(self, inputs):\n data = inputs.get(\"input_data\")\n delay = float(inputs.get(\"seconds\", 1.0))\n \n # Demonstrates async non-blocking behavior\n await asyncio.sleep(delay)\n \n await self.set_output(\"exec_out\", True)\n return {\"output_data\": data}\n\ndef register_node():\n return AsyncDelayNode\n"
|
|
32
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"node_id": "example_delay_timer",
|
|
3
|
+
"name": "Delay Timer",
|
|
4
|
+
"description": "Waits for a specified amount of time.",
|
|
5
|
+
"category": "Control",
|
|
6
|
+
"inputs": [
|
|
7
|
+
{
|
|
8
|
+
"name": "exec_in",
|
|
9
|
+
"type": "exec"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "seconds",
|
|
13
|
+
"type": "float",
|
|
14
|
+
"widget_type": "float"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"outputs": [
|
|
18
|
+
{
|
|
19
|
+
"name": "exec_out",
|
|
20
|
+
"type": "exec"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "done",
|
|
24
|
+
"type": "bool"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"icon_path": "icons/timer.svg",
|
|
28
|
+
"python_code": "import asyncio\nfrom src.nodes.base import BaseNode\n\nclass DelayTimerNode(BaseNode):\n name = \"Delay Timer\"\n \n def __init__(self):\n super().__init__()\n self.icon_path = \"icons/timer.svg\"\n # [AUTO-GENERATED-PORTS-START]\n self.add_input(\"seconds\", \"float\", widget_type=\"float\")\n self.add_output(\"done\", \"bool\")\n # [AUTO-GENERATED-PORTS-END]\n \n async def execute(self, inputs):\n try:\n sec = float(inputs.get('seconds', 1.0))\n except (ValueError, TypeError):\n self.log_error(f\"Invalid seconds value: {inputs.get('seconds')}. Defaulting to 1.0\")\n sec = 1.0\n await asyncio.sleep(sec)\n await self.set_output(\"exec_out\", True)\n return {'done': True}\n\ndef register_node():\n return DelayTimerNode\n"
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"node_id": "example_file_reader",
|
|
3
|
+
"name": "File Reader",
|
|
4
|
+
"description": "Reads a file and returns its content.",
|
|
5
|
+
"category": "IO",
|
|
6
|
+
"inputs": [
|
|
7
|
+
{
|
|
8
|
+
"name": "exec_in",
|
|
9
|
+
"type": "exec"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "file_path",
|
|
13
|
+
"type": "string",
|
|
14
|
+
"widget_type": "file"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"outputs": [
|
|
18
|
+
{
|
|
19
|
+
"name": "exec_out",
|
|
20
|
+
"type": "exec"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "content",
|
|
24
|
+
"type": "string"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"icon_path": "icons/file-input.svg",
|
|
28
|
+
"python_code": "import os\nfrom src.nodes.base import BaseNode\n\nclass FileReaderNode(BaseNode):\n name = \"File Reader\"\n \n def __init__(self):\n super().__init__()\n self.icon_path = \"icons/file-input.svg\"\n # [AUTO-GENERATED-PORTS-START]\n self.add_input(\"file_path\", \"string\", widget_type=\"file\")\n self.add_output(\"content\", \"string\")\n # [AUTO-GENERATED-PORTS-END]\n \n async def execute(self, inputs):\n path = inputs.get('file_path', '')\n if not os.path.exists(path):\n await self.set_output(\"exec_out\", True)\n return {'content': ''}\n with open(path, 'r', encoding='utf-8') as f:\n return {'content': f.read()}\n\ndef register_node():\n return FileReaderNode\n"
|
|
29
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"node_id": "fruit_selector",
|
|
3
|
+
"name": "fruit_selector",
|
|
4
|
+
"description": "Select a fruit from a dropdown.",
|
|
5
|
+
"category": "Selection",
|
|
6
|
+
"icon_path": "icons/list.svg",
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"name": "exec_in",
|
|
10
|
+
"type": "exec"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "choice",
|
|
14
|
+
"type": "string",
|
|
15
|
+
"widget_type": "dropdown",
|
|
16
|
+
"options": [
|
|
17
|
+
"Apple",
|
|
18
|
+
"Banana",
|
|
19
|
+
"Cherry",
|
|
20
|
+
"Date"
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"outputs": [
|
|
25
|
+
{
|
|
26
|
+
"name": "exec_out",
|
|
27
|
+
"type": "exec"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "selected",
|
|
31
|
+
"type": "string",
|
|
32
|
+
"widget_type": null,
|
|
33
|
+
"options": null
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"python_code": "from src.nodes.base import BaseNode\n\nclass Fruit_SelectorNode(BaseNode):\n name = \"fruit_selector\"\n \n def __init__(self):\n super().__init__()\n self.icon_path = \"icons/list.svg\"\n # [AUTO-GENERATED-PORTS-START]\n self.add_input(\"choice\", \"string\", widget_type=\"dropdown\", options=['Apple', 'Banana', 'Cherry', 'Date'])\n self.add_output(\"selected\", \"string\")\n # [AUTO-GENERATED-PORTS-END]\n \n async def execute(self, inputs):\n choice = inputs.get(\"choice\", \"Apple\")\n await self.set_output(\"exec_out\", True)\n return {\"selected\": choice}\n async def on_plug(self, port_name, is_input, other_node, other_port_name):\n # Called when a connection is established\n print(f\"Connected {port_name} to {other_node.name}.{other_port_name}\")\n self.log_info(f\"Connected {port_name} to {other_node.name}.{other_port_name}\")\n\n async def on_unplug(self, port_name, is_input):\n # Called when a connection is removed\n self.log_info(f\"Disconnected {port_name}\")\n\ndef register_node():\n return Fruit_SelectorNode\n"
|
|
37
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"node_id": "example_json_parser",
|
|
3
|
+
"name": "JSON Parser",
|
|
4
|
+
"description": "Parses a JSON string into a dictionary.",
|
|
5
|
+
"category": "Data",
|
|
6
|
+
"inputs": [
|
|
7
|
+
{
|
|
8
|
+
"name": "exec_in",
|
|
9
|
+
"type": "exec"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "json_str",
|
|
13
|
+
"type": "string",
|
|
14
|
+
"widget_type": "text_area"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"outputs": [
|
|
18
|
+
{
|
|
19
|
+
"name": "exec_out",
|
|
20
|
+
"type": "exec"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "data",
|
|
24
|
+
"type": "dict"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"icon_path": "icons/braces.svg",
|
|
28
|
+
"python_code": "import json\nfrom src.nodes.base import BaseNode\n\nclass JsonParserNode(BaseNode):\n name = \"JSON Parser\"\n \n def __init__(self):\n super().__init__()\n self.icon_path = \"icons/braces.svg\"\n # [AUTO-GENERATED-PORTS-START]\n self.add_input(\"json_str\", \"string\", widget_type=\"text_area\")\n self.add_output(\"data\", \"dict\")\n # [AUTO-GENERATED-PORTS-END]\n \n async def execute(self, inputs):\n s = inputs.get('json_str', '{}')\n try:\n await self.set_output(\"exec_out\", True)\n return {'data': json.loads(s)}\n except:\n return {'data': {}}\n\ndef register_node():\n return JsonParserNode\n"
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"node_id": "example_line_counter",
|
|
3
|
+
"name": "Line Counter",
|
|
4
|
+
"description": "Counts the number of lines in a text string.",
|
|
5
|
+
"category": "String",
|
|
6
|
+
"inputs": [
|
|
7
|
+
{
|
|
8
|
+
"name": "exec_in",
|
|
9
|
+
"type": "exec"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "text",
|
|
13
|
+
"type": "string",
|
|
14
|
+
"widget_type": "text_area"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"outputs": [
|
|
18
|
+
{
|
|
19
|
+
"name": "exec_out",
|
|
20
|
+
"type": "exec"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "count",
|
|
24
|
+
"type": "int"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"icon_path": "icons/hash.svg",
|
|
28
|
+
"python_code": "from src.nodes.base import BaseNode\n\nclass LineCounterNode(BaseNode):\n name = \"Line Counter\"\n \n def __init__(self):\n super().__init__()\n self.icon_path = \"icons/hash.svg\"\n # [AUTO-GENERATED-PORTS-START]\n self.add_input(\"text\", \"string\", widget_type=\"text_area\")\n self.add_output(\"count\", \"int\")\n # [AUTO-GENERATED-PORTS-END]\n \n async def execute(self, inputs):\n text = inputs.get('text', '')\n await self.set_output(\"exec_out\", True)\n return {'count': len(str(text).splitlines())}\n\ndef register_node():\n return LineCounterNode\n"
|
|
29
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"node_id": "example_list_append",
|
|
3
|
+
"name": "List Append",
|
|
4
|
+
"description": "Appends an item to a list.",
|
|
5
|
+
"category": "List",
|
|
6
|
+
"inputs": [
|
|
7
|
+
{
|
|
8
|
+
"name": "exec_in",
|
|
9
|
+
"type": "exec"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "list",
|
|
13
|
+
"type": "list"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "item",
|
|
17
|
+
"type": "any"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"outputs": [
|
|
21
|
+
{
|
|
22
|
+
"name": "exec_out",
|
|
23
|
+
"type": "exec"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "result",
|
|
27
|
+
"type": "list"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"icon_path": "icons/list-plus.svg",
|
|
31
|
+
"python_code": "from src.nodes.base import BaseNode\n\nclass ListAppendNode(BaseNode):\n name = \"List Append\"\n \n def __init__(self):\n super().__init__()\n self.icon_path = \"icons/list-plus.svg\"\n # [AUTO-GENERATED-PORTS-START]\n self.add_input(\"list\", \"list\")\n self.add_input(\"item\", \"any\")\n self.add_output(\"result\", \"list\")\n # [AUTO-GENERATED-PORTS-END]\n \n async def execute(self, inputs):\n lst = inputs.get('list', [])\n item = inputs.get('item')\n new_list = list(lst)\n new_list.append(item)\n await self.set_output(\"exec_out\", True)\n return {'result': new_list}\n\ndef register_node():\n return ListAppendNode\n"
|
|
32
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"node_id": "list_images_recursive",
|
|
3
|
+
"name": "list_images_recursive",
|
|
4
|
+
"description": "Scans a directory for image files (.jpg, .png, .webp, etc.) and returns a list of paths.",
|
|
5
|
+
"category": "File System",
|
|
6
|
+
"icon_path": "icons/folder.svg",
|
|
7
|
+
"use_exec": true,
|
|
8
|
+
"inputs": [
|
|
9
|
+
{
|
|
10
|
+
"name": "exec_in",
|
|
11
|
+
"type": "exec",
|
|
12
|
+
"widget_type": null,
|
|
13
|
+
"options": null,
|
|
14
|
+
"default": null
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "folder_path",
|
|
18
|
+
"type": "string",
|
|
19
|
+
"widget_type": null,
|
|
20
|
+
"options": null,
|
|
21
|
+
"default": null
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "recursive",
|
|
25
|
+
"type": "bool",
|
|
26
|
+
"widget_type": null,
|
|
27
|
+
"options": null,
|
|
28
|
+
"default": null
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"outputs": [
|
|
32
|
+
{
|
|
33
|
+
"name": "exec_out",
|
|
34
|
+
"type": "exec",
|
|
35
|
+
"widget_type": null,
|
|
36
|
+
"options": null,
|
|
37
|
+
"default": null
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "image_paths",
|
|
41
|
+
"type": "list",
|
|
42
|
+
"widget_type": null,
|
|
43
|
+
"options": null,
|
|
44
|
+
"default": null
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "count",
|
|
48
|
+
"type": "int",
|
|
49
|
+
"widget_type": null,
|
|
50
|
+
"options": null,
|
|
51
|
+
"default": null
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"python_code": "import os\nfrom pathlib import Path\nfrom src.nodes.base import BaseNode\n\nclass List_Images_RecursiveNode(BaseNode):\n name = \"list_images_recursive\"\n\n def __init__(self):\n super().__init__() # [AUTO-GENERATED-PORTS-START]\n self.add_input(\"exec_in\", \"exec\")\n self.add_input(\"folder_path\", \"string\")\n self.add_input(\"recursive\", \"bool\")\n self.add_output(\"exec_out\", \"exec\")\n self.add_output(\"image_paths\", \"list\")\n self.add_output(\"count\", \"int\")\n # [AUTO-GENERATED-PORTS-END]\n # Execution Ports\n self.add_exec_input(\"exec_in\")\n self.add_exec_output(\"exec_out\")\n \n # Data Ports\n self.add_input(\"folder_path\", \"string\", widget_type=\"string\")\n self.add_input(\"recursive\", \"bool\", widget_type=\"checkbox\")\n \n self.add_output(\"image_paths\", \"list\")\n self.add_output(\"count\", \"int\")\n\n async def execute(self, inputs):\n folder_path = inputs.get(\"folder_path\", \"\")\n recursive = inputs.get(\"recursive\", True)\n \n self.log_info(f\"Scanning directory: {folder_path} (Recursive: {recursive})\")\n \n image_extensions = {'.jpg', '.jpeg', '.png', '.gif', '.bmp', '.webp', '.tiff'}\n found_images = []\n\n if folder_path:\n # Robust path handling for Windows drive roots\n if len(folder_path) == 2 and folder_path[1] == \":\":\n folder_path += \"/\"\n \n if os.path.isdir(folder_path):\n path_obj = Path(folder_path)\n # Use rglob (via **) for recursive search, glob for top-level only\n pattern = \"**/*\" if recursive else \"*\"\n \n try:\n for file_path in path_obj.glob(pattern):\n if file_path.is_file() and file_path.suffix.lower() in image_extensions:\n found_images.append(str(file_path.absolute()))\n except Exception as e:\n self.log_error(f\"Error scanning directory: {e}\")\n else:\n self.log_error(f\"Invalid directory: {folder_path}\")\n else:\n self.log_error(\"No folder path provided\")\n\n self.log_success(f\"Found {len(found_images)} images\")\n \n # Push data outputs BEFORE exec_out trigger to avoid race condition in engine\n await self.set_output(\"image_paths\", found_images)\n await self.set_output(\"count\", len(found_images))\n await self.set_output(\"exec_out\", True)\n \n return {\n \"image_paths\": found_images,\n \"count\": len(found_images)\n }\n\ndef register_node():\n return List_Images_RecursiveNode"
|
|
55
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"node_id": "example_logic_and",
|
|
3
|
+
"name": "Logic AND",
|
|
4
|
+
"description": "Performs logical AND operation.",
|
|
5
|
+
"category": "Logic",
|
|
6
|
+
"inputs": [
|
|
7
|
+
{
|
|
8
|
+
"name": "exec_in",
|
|
9
|
+
"type": "exec"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "a",
|
|
13
|
+
"type": "bool",
|
|
14
|
+
"widget_type": "bool"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "b",
|
|
18
|
+
"type": "bool",
|
|
19
|
+
"widget_type": "bool"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"outputs": [
|
|
23
|
+
{
|
|
24
|
+
"name": "exec_out",
|
|
25
|
+
"type": "exec"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "result",
|
|
29
|
+
"type": "bool"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"icon_path": "icons/logic.svg",
|
|
33
|
+
"python_code": "from src.nodes.base import BaseNode\n\nclass LogicAndNode(BaseNode):\n name = \"Logic AND\"\n \n def __init__(self):\n super().__init__()\n self.icon_path = \"icons/logic.svg\"\n # [AUTO-GENERATED-PORTS-START]\n self.add_input(\"a\", \"bool\", widget_type=\"bool\")\n self.add_input(\"b\", \"bool\", widget_type=\"bool\")\n self.add_output(\"result\", \"bool\")\n # [AUTO-GENERATED-PORTS-END]\n \n async def execute(self, inputs):\n a = inputs.get('a', False)\n b = inputs.get('b', False)\n await self.set_output(\"exec_out\", True)\n return {'result': bool(a) and bool(b)}\n\ndef register_node():\n return LogicAndNode\n"
|
|
34
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"node_id": "logic_compare",
|
|
3
|
+
"name": "Logic Compare",
|
|
4
|
+
"description": "Compares two values (a > b).",
|
|
5
|
+
"category": "Logic",
|
|
6
|
+
"icon_path": "icons/scales.svg",
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"name": "exec_in",
|
|
10
|
+
"type": "exec"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "a",
|
|
14
|
+
"type": "any"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "b",
|
|
18
|
+
"type": "any"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"outputs": [
|
|
22
|
+
{
|
|
23
|
+
"name": "exec_out",
|
|
24
|
+
"type": "exec"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "greater",
|
|
28
|
+
"type": "boolean"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "equal",
|
|
32
|
+
"type": "boolean"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"python_code": "from src.nodes.base import BaseNode\n\nclass LogicCompareNode(BaseNode):\n name = \"Logic Compare\"\n \n def __init__(self):\n super().__init__()\n self.icon_path = \"icons/scales.svg\"\n # [AUTO-GENERATED-PORTS-START]\n self.add_input(\"a\", \"any\")\n self.add_input(\"b\", \"any\")\n self.add_output(\"greater\", \"boolean\")\n self.add_output(\"equal\", \"boolean\")\n # [AUTO-GENERATED-PORTS-END]\n \n async def execute(self, inputs):\n a = inputs.get(\"a\")\n b = inputs.get(\"b\")\n \n greater = False\n equal = False\n \n try:\n greater = a > b\n equal = a == b\n except:\n pass\n \n await self.set_output(\"exec_out\", True)\n return {\n \"greater\": greater,\n \"equal\": equal\n }\n\ndef register_node():\n return LogicCompareNode\n"
|
|
36
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"node_id": "example_math_abs",
|
|
3
|
+
"name": "Math Absolute",
|
|
4
|
+
"description": "Returns the absolute value of a number.",
|
|
5
|
+
"category": "Math",
|
|
6
|
+
"inputs": [
|
|
7
|
+
{
|
|
8
|
+
"name": "exec_in",
|
|
9
|
+
"type": "exec"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "value",
|
|
13
|
+
"type": "float",
|
|
14
|
+
"widget_type": "float"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"outputs": [
|
|
18
|
+
{
|
|
19
|
+
"name": "exec_out",
|
|
20
|
+
"type": "exec"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "result",
|
|
24
|
+
"type": "float"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"icon_path": "icons/math.svg",
|
|
28
|
+
"python_code": "from src.nodes.base import BaseNode\n\nclass MathAbsNode(BaseNode):\n name = \"Math Absolute\"\n \n def __init__(self):\n super().__init__()\n self.icon_path = \"icons/math.svg\"\n # [AUTO-GENERATED-PORTS-START]\n self.add_input(\"value\", \"float\", widget_type=\"float\")\n self.add_output(\"result\", \"float\")\n # [AUTO-GENERATED-PORTS-END]\n \n async def execute(self, inputs):\n val = float(inputs.get('value', 0.0))\n await self.set_output(\"exec_out\", True)\n return {'result': abs(val)}\n\ndef register_node():\n return MathAbsNode\n"
|
|
29
|
+
}
|