neuralnode 2.1.13__tar.gz → 2.2.0__tar.gz
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.
- {neuralnode-2.1.13 → neuralnode-2.2.0}/PKG-INFO +23 -2
- {neuralnode-2.1.13 → neuralnode-2.2.0}/README.md +14 -1
- {neuralnode-2.1.13 → neuralnode-2.2.0}/docker-compose.yml +0 -1
- neuralnode-2.2.0/examples/openclaw_demo.py +105 -0
- neuralnode-2.2.0/examples/whatsapp_bot_demo.py +141 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/publish.bat +9 -1
- {neuralnode-2.1.13 → neuralnode-2.2.0}/publish.sh +5 -3
- {neuralnode-2.1.13 → neuralnode-2.2.0}/pyproject.toml +9 -1
- {neuralnode-2.1.13 → neuralnode-2.2.0}/scripts/setup.py +1 -1
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/__init__.py +35 -14
- neuralnode-2.2.0/src/neuralnode/core/openai_blocker.py +29 -0
- neuralnode-2.2.0/src/neuralnode/integrations/__init__.py +23 -0
- neuralnode-2.2.0/src/neuralnode/integrations/openclaw.py +487 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.cursor/rules/README.md +107 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.cursor/rules/core-development.mdc +167 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.cursor/rules/cursor.json +179 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.cursor/rules/project-context.mdc +174 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.cursor/rules/specialized-rules/controller-rules.mdc +342 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.cursor/rules/specialized-rules/dto-rules.mdc +433 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.cursor/rules/specialized-rules/guard-rules.mdc +416 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.cursor/rules/specialized-rules/integration-channel-rules.mdc +552 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.cursor/rules/specialized-rules/integration-chatbot-rules.mdc +597 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.cursor/rules/specialized-rules/integration-event-rules.mdc +851 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.cursor/rules/specialized-rules/integration-storage-rules.mdc +608 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.cursor/rules/specialized-rules/route-rules.mdc +416 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.cursor/rules/specialized-rules/service-rules.mdc +294 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.cursor/rules/specialized-rules/type-rules.mdc +490 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.cursor/rules/specialized-rules/util-rules.mdc +653 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.cursor/rules/specialized-rules/validate-rules.mdc +498 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.dockerignore +6 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.env.example +403 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.eslintignore +2 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.eslintrc.js +39 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.github/ISSUE_TEMPLATE/-en--bug-report.yaml +107 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.github/ISSUE_TEMPLATE/-en--feature-request.yaml +86 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.github/ISSUE_TEMPLATE/-pt--reportar-bug.yaml +108 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.github/ISSUE_TEMPLATE/-pt--solicitar-recurso.yaml +86 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.github/ISSUE_TEMPLATE/bug_report.yml +81 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.github/ISSUE_TEMPLATE/feature_request.yml +85 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.github/pull_request_template.md +41 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.github/workflows/check_code_quality.yml +42 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.github/workflows/publish_docker_image.yml +50 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.github/workflows/publish_docker_image_homolog.yml +50 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.github/workflows/publish_docker_image_latest.yml +50 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.github/workflows/security.yml +55 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.gitignore +48 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.gitmodules +3 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.husky/README.md +51 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.husky/commit-msg +1 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.husky/pre-commit +1 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.husky/pre-push +2 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.prettierrc.js +12 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/.vscode/settings.json +16 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/AGENTS.md +355 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/CHANGELOG.md +1321 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/CLAUDE.md +223 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/CONTRIBUTING.md +88 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/Docker/kafka/docker-compose.yaml +51 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/Docker/minio/docker-compose.yaml +31 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/Docker/mysql/docker-compose.yaml +27 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/Docker/postgres/docker-compose.yaml +42 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/Docker/rabbitmq/docker-compose.yaml +25 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/Docker/redis/docker-compose.yaml +23 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/Docker/scripts/deploy_database.sh +32 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/Docker/scripts/env_functions.sh +18 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/Docker/scripts/generate_database.sh +23 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/Docker/swarm/evolution_api_v2.yaml +146 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/Dockerfile +60 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/Dockerfile.metrics +19 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/Extras/chatwoot/configurar_admin.json +241 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/Extras/chatwoot/criador_de_empresas.json +456 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/Extras/chatwoot/criador_de_inbox.json +577 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/LICENSE +208 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/NOTICE +19 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/README.md +224 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/SECURITY.md +68 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/TRADEMARKS.md +101 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/commitlint.config.js +34 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/docker-compose.dev.yaml +35 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/docker-compose.yaml +84 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/env.example +302 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/grafana-dashboard.json.example +238 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/local_install.sh +150 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/manager/dist/assets/images/evolution-logo.png +0 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/manager/dist/assets/index-CO3NSIFj.js +485 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/manager/dist/assets/index-DsIrum0U.css +1 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/manager/dist/index.html +14 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/manager_install.sh +8 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/package-lock.json +16284 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/package.json +158 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/mysql-migrations/20240809105427_init/migration.sql +588 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/mysql-migrations/20240813153900_add_unique_index_for_remoted_jid_and_instance_in_contacts/migration.sql +173 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/mysql-migrations/20240814173138_add_ignore_jids_chatwoot/migration.sql +150 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/mysql-migrations/20240814214314_integrations_unification/migration.sql +208 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/mysql-migrations/20240821203259_add_postgres_migrations/migration.sql +269 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/mysql-migrations/20240824162012_add_type_on_integration_sessions/migration.sql +159 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/mysql-migrations/20240825131301_change_to_evolution_bot/migration.sql +219 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/mysql-migrations/20241001172800_add_message_status/migration.sql +174 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/mysql-migrations/20241108101333_fix_message_status_as_string/migration.sql +232 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/mysql-migrations/20250214181954_add_wavoip_token_column/migration.sql +175 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/mysql-migrations/20250225180031_add_nats_integration/migration.sql +17 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/mysql-migrations/20250510035200_add_wavoip_token_to_settings_table/migration.sql +26 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/mysql-migrations/20250514232744_add_n8n_table/migration.sql +62 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/mysql-migrations/20250515211815_add_evoai_table/migration.sql +61 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/mysql-migrations/20250516012152_remove_unique_atribute_for_file_name_in_media/migration.sql +2 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/mysql-migrations/20250612155048_add_coluns_trypebot_tables/migration.sql +7 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/mysql-migrations/20250613143000_add_lid_column_to_is_onwhatsapp/migration.sql +2 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/mysql-migrations/20250918183910_add_kafka_integration/migration.sql +231 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/mysql-migrations/migration_lock.toml +3 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/mysql-schema.prisma +757 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240609181238_init/migration.sql +375 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240610144159_create_column_profile_name_instance/migration.sql +2 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240611125754_create_columns_whitelabel_chatwoot/migration.sql +3 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240611202817_create_columns_debounce_time_typebot/migration.sql +5 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240712144948_add_business_id_column_to_instances/migration.sql +2 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240712150256_create_templates_table/migration.sql +21 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240712155950_adjusts_in_templates_table/migration.sql +2 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240712162206_remove_templates_table/migration.sql +11 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240712223655_column_fallback_typebot/migration.sql +8 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240712230631_column_ignore_jids_typebot/migration.sql +5 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240713184337_add_media_table/migration.sql +24 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240718121437_add_openai_tables/migration.sql +118 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240718123923_adjusts_openai_tables/migration.sql +2 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240722173259_add_name_column_to_openai_creds/migration.sql +12 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240722173518_add_name_column_to_openai_creds/migration.sql +2 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240723152648_adjusts_in_column_openai_creds/migration.sql +8 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240723200254_add_webhookurl_on_message/migration.sql +2 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240725184147_create_template_table/migration.sql +21 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240725202651_add_webhook_url_template_table/migration.sql +2 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240725221646_modify_token_instance_table/migration.sql +2 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240729115127_modify_trigger_type_openai_typebot_table/migration.sql +2 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240729180347_modify_typebot_session_status_openai_typebot_table/migration.sql +20 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240730152156_create_dify_tables/migration.sql +103 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240801193907_add_column_speech_to_text_openai_setting_table/migration.sql +2 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240803163908_add_column_description_on_integrations_table/migration.sql +8 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240808210239_add_column_function_url_openaibot_table/migration.sql +7 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240811021156_add_chat_name_column/migration.sql +2 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240811183328_add_unique_index_for_remoted_jid_and_instance_in_contacts/migration.sql +17 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240813003116_make_label_unique_for_instance/migration.sql +11 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240814173033_add_ignore_jids_chatwoot/migration.sql +2 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240814202359_integrations_unification/migration.sql +92 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240817110155_add_trigger_type_advanced/migration.sql +2 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240819154941_add_context_to_integration_session/migration.sql +2 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240821120816_bot_id_integration_session/migration.sql +22 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240821171327_add_generic_bot_table/migration.sql +57 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240821194524_add_flowise_table/migration.sql +57 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240824161333_add_type_on_integration_sessions/migration.sql +2 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240825130616_change_to_evolution_bot/migration.sql +79 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240828140837_add_is_on_whatsapp_table/migration.sql +14 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240828141556_remove_name_column_from_on_whatsapp_table/migration.sql +8 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240830193533_changed_table_case/migration.sql +22 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20240906202019_add_headers_on_webhook_config/migration.sql +2 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20241001180457_add_message_status/migration.sql +2 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20241006130306_alter_status_on_message_table/migration.sql +7 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20241007164026_add_unread_messages_on_chat_table/migration.sql +2 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20241011085129_create_pusher_table/migration.sql +22 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20241011100803_split_messages_and_time_per_char_integrations/migration.sql +31 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20241017144950_create_index/migration.sql +26 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20250116001415_add_wavoip_token_to_settings_table/migration.sql +9 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20250225180031_add_nats_integration/migration.sql +17 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20250514232744_add_n8n_table/migration.sql +62 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20250515211815_add_evoai_table/migration.sql +61 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20250516012152_remove_unique_atribute_for_file_name_in_media/migration.sql +2 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20250612155048_add_coluns_trypebot_tables/migration.sql +7 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20250613143000_add_lid_column_to_is_onwhatsapp/migration.sql +2 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20250918182355_add_kafka_integration/migration.sql +17 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/20251122003044_add_chat_instance_remotejid_unique/migration.sql +16 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-migrations/migration_lock.toml +3 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/postgresql-schema.prisma +763 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prisma/psql_bouncer-schema.prisma +763 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/prometheus.yml.example +76 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/public/hover-evolution.png +0 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/public/images/atendai-logo.png +0 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/public/images/bmc_qr.png +0 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/public/images/code.png +0 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/public/images/cover.png +0 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/public/images/evolution-logo.png +0 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/public/images/evolution-pro.png +0 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/public/images/picpay-image.png +0 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/public/images/picpay-qr.jpeg +0 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/public/images/qrcode-pix.png +0 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/public/images/video-cover.png +0 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/runWithProvider.js +52 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/@types/express.d.ts +9 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/abstract/abstract.cache.ts +19 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/abstract/abstract.repository.ts +66 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/abstract/abstract.router.ts +226 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/controllers/business.controller.ts +15 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/controllers/call.controller.ts +11 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/controllers/chat.controller.ts +116 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/controllers/group.controller.ts +84 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/controllers/instance.controller.ts +477 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/controllers/label.controller.ts +15 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/controllers/proxy.controller.ts +74 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/controllers/sendMessage.controller.ts +107 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/controllers/settings.controller.ts +16 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/controllers/template.controller.ts +26 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/dto/business.dto.ts +14 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/dto/call.dto.ts +8 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/dto/chat.dto.ts +129 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/dto/chatbot.dto.ts +12 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/dto/group.dto.ts +56 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/dto/instance.dto.ts +59 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/dto/label.dto.ts +12 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/dto/proxy.dto.ts +8 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/dto/sendMessage.dto.ts +169 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/dto/settings.dto.ts +10 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/dto/template.dto.ts +21 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/guards/auth.guard.ts +53 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/guards/instance.guard.ts +55 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/guards/telemetry.guard.ts +12 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/channel/channel.controller.ts +95 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/channel/channel.router.ts +17 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/channel/evolution/evolution.channel.service.ts +888 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/channel/evolution/evolution.controller.ts +39 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/channel/evolution/evolution.router.ts +18 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/channel/meta/meta.controller.ts +72 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/channel/meta/meta.router.ts +24 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/channel/meta/whatsapp.business.service.ts +1771 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/channel/whatsapp/baileys.controller.ts +60 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/channel/whatsapp/baileys.router.ts +105 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/channel/whatsapp/baileysMessage.processor.ts +75 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/channel/whatsapp/voiceCalls/transport.type.ts +78 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/channel/whatsapp/voiceCalls/useVoiceCallsBaileys.ts +181 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts +5122 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/base-chatbot.controller.ts +950 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/base-chatbot.dto.ts +42 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/base-chatbot.service.ts +419 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/chatbot.controller.ts +215 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/chatbot.router.ts +27 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/chatbot.schema.ts +8 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/chatwoot/controllers/chatwoot.controller.ts +84 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/chatwoot/dto/chatwoot.dto.ts +41 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/chatwoot/libs/postgres.client.ts +47 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/chatwoot/routes/chatwoot.router.ts +46 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/chatwoot/services/chatwoot.service.ts +2714 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/chatwoot/utils/chatwoot-import-helper.ts +579 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/chatwoot/validate/chatwoot.schema.ts +45 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/dify/controllers/dify.controller.ts +126 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/dify/dto/dify.dto.ts +13 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/dify/routes/dify.router.ts +123 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/dify/services/dify.service.ts +320 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/dify/validate/dify.schema.ts +116 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/evoai/controllers/evoai.controller.ts +122 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/evoai/dto/evoai.dto.ts +10 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/evoai/routes/evoai.router.ts +124 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/evoai/services/evoai.service.ts +207 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/evoai/validate/evoai.schema.ts +115 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/evolutionBot/controllers/evolutionBot.controller.ts +96 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/evolutionBot/dto/evolutionBot.dto.ts +10 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/evolutionBot/routes/evolutionBot.router.ts +124 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/evolutionBot/services/evolutionBot.service.ts +164 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/evolutionBot/validate/evolutionBot.schema.ts +115 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/flowise/controllers/flowise.controller.ts +118 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/flowise/dto/flowise.dto.ts +10 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/flowise/routes/flowise.router.ts +124 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/flowise/services/flowise.service.ts +150 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/flowise/validate/flowise.schema.ts +111 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/n8n/controllers/n8n.controller.ts +127 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/n8n/dto/n8n.dto.ts +17 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/n8n/routes/n8n.router.ts +114 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/n8n/services/n8n.service.ts +98 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/n8n/validate/n8n.schema.ts +116 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/openai/controllers/openai.controller.ts +482 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/openai/dto/openai.dto.ts +24 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/openai/routes/openai.router.ts +164 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/openai/services/openai.service.ts +734 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/openai/validate/openai.schema.ts +129 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/typebot/controllers/typebot.controller.ts +318 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/typebot/dto/typebot.dto.ts +17 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/typebot/routes/typebot.router.ts +134 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/typebot/services/typebot.service.ts +1022 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/chatbot/typebot/validate/typebot.schema.ts +97 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/event/event.controller.ts +171 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/event/event.dto.ts +96 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/event/event.manager.ts +210 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/event/event.router.ts +24 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/event/event.schema.ts +46 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/event/kafka/kafka.controller.ts +416 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/event/kafka/kafka.router.ts +36 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/event/kafka/kafka.schema.ts +21 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/event/nats/nats.controller.ts +163 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/event/nats/nats.router.ts +36 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/event/pusher/pusher.controller.ts +215 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/event/pusher/pusher.router.ts +32 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/event/pusher/pusher.schema.ts +50 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/event/rabbitmq/rabbitmq.controller.ts +431 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/event/rabbitmq/rabbitmq.router.ts +36 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/event/sqs/sqs.controller.ts +305 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/event/sqs/sqs.router.ts +36 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/event/webhook/webhook.controller.ts +306 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/event/webhook/webhook.router.ts +40 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/event/webhook/webhook.schema.ts +51 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/event/websocket/websocket.controller.ts +172 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/event/websocket/websocket.router.ts +36 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/integration.dto.ts +6 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/storage/s3/controllers/s3.controller.ts +15 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/storage/s3/dto/media.dto.ts +6 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/storage/s3/libs/minio.server.ts +139 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/storage/s3/routes/s3.router.ts +35 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/storage/s3/services/s3.service.ts +50 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/storage/s3/validate/s3.schema.ts +43 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/integrations/storage/storage.router.ts +12 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/provider/sessions.ts +149 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/repository/repository.service.ts +28 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/routes/business.router.ts +56 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/routes/call.router.ts +25 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/routes/chat.router.ts +288 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/routes/group.router.ts +202 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/routes/index.router.ts +232 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/routes/instance.router.ts +102 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/routes/label.router.ts +36 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/routes/proxy.router.ts +37 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/routes/sendMessage.router.ts +188 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/routes/settings.router.ts +37 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/routes/template.router.ts +94 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/routes/view.router.ts +21 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/server.module.ts +141 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/services/auth.service.ts +22 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/services/cache.service.ts +101 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/services/channel.service.ts +855 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/services/monitor.service.ts +448 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/services/proxy.service.ts +32 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/services/settings.service.ts +31 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/services/template.service.ts +224 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/api/types/wa.types.ts +157 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/cache/cacheengine.ts +31 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/cache/localcache.ts +100 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/cache/rediscache.client.ts +56 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/cache/rediscache.ts +118 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/config/env.config.ts +910 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/config/error.config.ts +21 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/config/event.config.ts +11 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/config/logger.config.ts +154 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/config/path.config.ts +7 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/exceptions/400.exception.ts +11 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/exceptions/401.exception.ts +11 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/exceptions/403.exception.ts +11 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/exceptions/404.exception.ts +11 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/exceptions/500.exception.ts +11 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/exceptions/index.ts +5 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/main.ts +169 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/railway.json +19 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/utils/advancedOperatorsSearch.ts +45 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/utils/createJid.ts +71 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/utils/errorResponse.ts +47 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/utils/fetchLatestWaWebVersion.ts +37 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/utils/findBotByTrigger.ts +134 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/utils/getConversationMessage.ts +80 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/utils/i18n.ts +32 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/utils/instrumentSentry.ts +13 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/utils/makeProxyAgent.ts +111 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/utils/onWhatsappCache.ts +211 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/utils/renderStatus.ts +10 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/utils/sendTelemetry.ts +37 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/utils/server-up.ts +28 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/utils/translations/en.json +27 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/utils/translations/es.json +27 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/utils/translations/pt-BR.json +27 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/utils/use-multi-file-auth-state-prisma.ts +213 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/utils/use-multi-file-auth-state-provider-files.ts +151 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/utils/use-multi-file-auth-state-redis-db.ts +93 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/validate/business.schema.ts +17 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/validate/chat.schema.ts +318 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/validate/group.schema.ts +193 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/validate/instance.schema.ts +229 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/validate/label.schema.ts +38 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/validate/message.schema.ts +449 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/validate/proxy.schema.ts +36 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/validate/settings.schema.ts +38 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/validate/template.schema.ts +36 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/validate/templateDelete.schema.ts +32 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/validate/templateEdit.schema.ts +35 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/src/validate/validate.schema.ts +14 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/tsconfig.json +37 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution-api/tsup.config.ts +20 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp/evolution_rebrander.py +61 -0
- neuralnode-2.2.0/src/neuralnode/integrations/whatsapp.py +408 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/providers/__init__.py +17 -5
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/providers/base.py +42 -8
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/providers/chat/__init__.py +15 -0
- neuralnode-2.2.0/src/neuralnode/providers/chat/bedrock.py +115 -0
- neuralnode-2.2.0/src/neuralnode/providers/chat/openai.py +188 -0
- neuralnode-2.2.0/src/neuralnode/providers/chat/vertex.py +98 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/providers/horus.py +74 -27
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/providers/local/__init__.py +36 -19
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/providers/local_providers.py +1 -2
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/rag/__init__.py +71 -9
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/tools/advanced.py +20 -8
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/tools/system/operations.py +155 -125
- neuralnode-2.2.0/tests/test_openclaw.py +24 -0
- neuralnode-2.2.0/tests/test_refactoring.py +48 -0
- neuralnode-2.2.0/tests/test_release_readiness.py +60 -0
- neuralnode-2.1.13/src/neuralnode/core/openai_blocker.py +0 -93
- neuralnode-2.1.13/src/neuralnode/integrations/whatsapp.py +0 -273
- neuralnode-2.1.13/src/neuralnode/providers/chat_models.py +0 -1597
- neuralnode-2.1.13/src/neuralnode/rag/loaders.py +0 -704
- {neuralnode-2.1.13 → neuralnode-2.2.0}/.env.example +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/.github/workflows/tests.yml +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/Dockerfile +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/LICENSE +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/docs/documentation.md +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/docs/ecosystem_plan.md +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/docs/replica_voice_ids.csv +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/docs/replica_voice_ids.md +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/docs/telegram_guide.md +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/agent_with_tools.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/basic_chat.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/horus_codes_camples/01_basic_usage.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/horus_codes_camples/02_horus_lens.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/horus_codes_camples/03_one_liner.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/horus_codes_camples/04_custom_cache.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/horus_codes_camples/05_4bit_quantization.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/horus_codes_camples/06_8bit_quantization.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/horus_codes_camples/07_multi_gpu.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/horus_codes_camples/08_flash_attention.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/horus_codes_camples/09_data_types.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/horus_codes_camples/10_generation_params.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/horus_codes_camples/11_streaming.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/horus_codes_camples/12_chat_templates.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/horus_codes_camples/13_offline_mode.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/horus_codes_camples/14_force_download.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/horus_codes_camples/15_model_info.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/horus_codes_camples/16_cpu_offloading.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/horus_codes_camples/17_cpu_only.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/horus_codes_camples/18_production_setup.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/horus_codes_camples/19_gguf_4bit.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/horus_codes_camples/20_gguf_5bit.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/horus_codes_camples/21_gguf_6bit.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/horus_codes_camples/22_gguf_8bit.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/horus_codes_camples/23_gguf_16bit.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/horus_codes_camples/24_list_models.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/horus_codes_camples/25_interactive_chat.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/horus_codes_camples/README.md +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/horus_download_guide.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/horus_examples.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/horus_tq_ready_gguf.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/horus_transformers_features.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/local_models.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/neuralnode_v21_complete_demo.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/shade_model_with_tools.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/telegram_bot_demo.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/thinking_mode_example.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/tts_demo.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/turboquant_example.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/examples/v3_features.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/horus_chat_voice.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/neuralnode_horus_replica_telegram.ipynb +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/requirements_shade.txt +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/debug_import.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/agents/__init__.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/chains/__init__.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/config/__init__.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/core/__init__.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/diagnostics/__init__.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/integrations/discord.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/integrations/slack.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/integrations/telegram.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/memory/__init__.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/memory/advanced.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/prompts/__init__.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/providers/chat/ai21.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/providers/chat/anthropic.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/providers/chat/cohere.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/providers/chat/deepseek.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/providers/chat/fireworks.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/providers/chat/google.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/providers/chat/groq.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/providers/chat/mistral.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/providers/chat/perplexity.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/providers/chat/together.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/providers/embeddings.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/providers/text_generation.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/providers/universal_local.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/reasoning/__init__.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/replica.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/speech/__init__.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/thinking.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/tools/__init__.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/tools/multisearch.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/tools/system/__init__.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/tools/web/__init__.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/tts/__init__.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/turboquant.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/utils/__init__.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/utils/dependencies.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/utils/logger.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/utils/metrics.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/vectorstores/__init__.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/neuralnode/vision/__init__.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/src/nn/__init__.py +0 -0
- {neuralnode-2.1.13 → neuralnode-2.2.0}/temp_header.gguf +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: neuralnode
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.2.0
|
|
4
4
|
Summary: Comprehensive AI Framework with 50+ LLM Providers, Advanced Agents, Chains, Memory, RAG, and 100+ Tools
|
|
5
5
|
Project-URL: Homepage, https://assem.cloud/
|
|
6
6
|
Project-URL: Documentation, https://neuralnode.readthedocs.io
|
|
@@ -38,6 +38,7 @@ Requires-Dist: cohere>=4.0.0; extra == 'all'
|
|
|
38
38
|
Requires-Dist: edge-tts>=6.1.0; extra == 'all'
|
|
39
39
|
Requires-Dist: einops>=0.7.0; extra == 'all'
|
|
40
40
|
Requires-Dist: faiss-cpu>=1.7.4; extra == 'all'
|
|
41
|
+
Requires-Dist: fastapi>=0.110.0; extra == 'all'
|
|
41
42
|
Requires-Dist: gguf; extra == 'all'
|
|
42
43
|
Requires-Dist: google-generativeai>=0.3.0; extra == 'all'
|
|
43
44
|
Requires-Dist: groq>=0.4.0; extra == 'all'
|
|
@@ -59,6 +60,8 @@ Requires-Dist: speechrecognition>=3.10.0; extra == 'all'
|
|
|
59
60
|
Requires-Dist: sqlalchemy>=2.0.0; extra == 'all'
|
|
60
61
|
Requires-Dist: torch>=2.0.0; extra == 'all'
|
|
61
62
|
Requires-Dist: transformers>=4.35.0; extra == 'all'
|
|
63
|
+
Requires-Dist: twilio>=9.0.0; extra == 'all'
|
|
64
|
+
Requires-Dist: uvicorn>=0.27.0; extra == 'all'
|
|
62
65
|
Provides-Extra: anthropic
|
|
63
66
|
Requires-Dist: anthropic>=0.8.0; extra == 'anthropic'
|
|
64
67
|
Provides-Extra: aws
|
|
@@ -133,6 +136,9 @@ Provides-Extra: ollama
|
|
|
133
136
|
Requires-Dist: ollama>=0.1.0; extra == 'ollama'
|
|
134
137
|
Provides-Extra: openai
|
|
135
138
|
Requires-Dist: openai>=1.0.0; extra == 'openai'
|
|
139
|
+
Provides-Extra: openclaw
|
|
140
|
+
Requires-Dist: fastapi>=0.110.0; extra == 'openclaw'
|
|
141
|
+
Requires-Dist: uvicorn>=0.27.0; extra == 'openclaw'
|
|
136
142
|
Provides-Extra: pinecone
|
|
137
143
|
Requires-Dist: pinecone-client>=2.2.0; extra == 'pinecone'
|
|
138
144
|
Provides-Extra: qdrant
|
|
@@ -168,9 +174,11 @@ Requires-Dist: wikipedia>=1.4.0; extra == 'tools'
|
|
|
168
174
|
Provides-Extra: turboquant
|
|
169
175
|
Provides-Extra: weaviate
|
|
170
176
|
Requires-Dist: weaviate-client>=3.0.0; extra == 'weaviate'
|
|
177
|
+
Provides-Extra: whatsapp
|
|
178
|
+
Requires-Dist: twilio>=9.0.0; extra == 'whatsapp'
|
|
171
179
|
Description-Content-Type: text/markdown
|
|
172
180
|
|
|
173
|
-
# NeuralNode
|
|
181
|
+
# NeuralNode v2.2.0
|
|
174
182
|
|
|
175
183
|
NeuralNode is a Python AI framework focused on:
|
|
176
184
|
- real cloud providers that are implemented
|
|
@@ -402,3 +410,16 @@ If the `turboquant` package is not installed or the backend cannot use it, Neura
|
|
|
402
410
|
- OpenAI is intentionally blocked in NeuralNode.
|
|
403
411
|
- GGUF Horus models require `llama-cpp-python`.
|
|
404
412
|
- Horus downloads from Hugging Face require `huggingface_hub`.
|
|
413
|
+
|
|
414
|
+
## OpenClaw Integration
|
|
415
|
+
|
|
416
|
+
NeuralNode 2.2.0 introduces full end-to-end integration with OpenClaw. You can easily set up, start, and control OpenClaw directly through the framework.
|
|
417
|
+
|
|
418
|
+
The integration operates by running a local FastAPI server in the background that exposes an OpenAI-compatible API to the OpenClaw Node gateway. This server proxies LLM requests directly to NeuralNode providers, allowing seamless interaction.
|
|
419
|
+
|
|
420
|
+
It also fully supports the WhatsApp API, allowing users to activate it and bind it to their phone numbers entirely via code and OpenClaw.
|
|
421
|
+
|
|
422
|
+
## Links
|
|
423
|
+
|
|
424
|
+
- **TokenAI**: [https://tokenai.cloud/](https://tokenai.cloud/)
|
|
425
|
+
- **NeuralNode**: [https://neuralnode.tokenai.cloud/](https://neuralnode.tokenai.cloud/)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# NeuralNode
|
|
1
|
+
# NeuralNode v2.2.0
|
|
2
2
|
|
|
3
3
|
NeuralNode is a Python AI framework focused on:
|
|
4
4
|
- real cloud providers that are implemented
|
|
@@ -230,3 +230,16 @@ If the `turboquant` package is not installed or the backend cannot use it, Neura
|
|
|
230
230
|
- OpenAI is intentionally blocked in NeuralNode.
|
|
231
231
|
- GGUF Horus models require `llama-cpp-python`.
|
|
232
232
|
- Horus downloads from Hugging Face require `huggingface_hub`.
|
|
233
|
+
|
|
234
|
+
## OpenClaw Integration
|
|
235
|
+
|
|
236
|
+
NeuralNode 2.2.0 introduces full end-to-end integration with OpenClaw. You can easily set up, start, and control OpenClaw directly through the framework.
|
|
237
|
+
|
|
238
|
+
The integration operates by running a local FastAPI server in the background that exposes an OpenAI-compatible API to the OpenClaw Node gateway. This server proxies LLM requests directly to NeuralNode providers, allowing seamless interaction.
|
|
239
|
+
|
|
240
|
+
It also fully supports the WhatsApp API, allowing users to activate it and bind it to their phone numbers entirely via code and OpenClaw.
|
|
241
|
+
|
|
242
|
+
## Links
|
|
243
|
+
|
|
244
|
+
- **TokenAI**: [https://tokenai.cloud/](https://tokenai.cloud/)
|
|
245
|
+
- **NeuralNode**: [https://neuralnode.tokenai.cloud/](https://neuralnode.tokenai.cloud/)
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"""
|
|
2
|
+
NeuralNode OpenClaw Integration Demo
|
|
3
|
+
====================================
|
|
4
|
+
|
|
5
|
+
This script demonstrates how to download, setup, configure, start, and control
|
|
6
|
+
the OpenClaw gateway from within your NeuralNode framework.
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
import time
|
|
10
|
+
import os
|
|
11
|
+
import neuralnode as nn
|
|
12
|
+
from neuralnode.integrations.openclaw import OpenClawManager
|
|
13
|
+
|
|
14
|
+
def main():
|
|
15
|
+
print("🚀 NeuralNode OpenClaw Manager Demo")
|
|
16
|
+
print("=" * 60)
|
|
17
|
+
|
|
18
|
+
# 1. Initialize any NeuralNode LLM instance (cloud or local)
|
|
19
|
+
# OpenClaw will route its API requests to this model.
|
|
20
|
+
print("\n1. Initializing NeuralNode...")
|
|
21
|
+
|
|
22
|
+
# We will use auto-select provider or default mock provider for demonstration.
|
|
23
|
+
# In production, set your API keys (e.g. GEMINI_API_KEY, GROQ_API_KEY, etc.)
|
|
24
|
+
try:
|
|
25
|
+
ai = nn.NeuralNode(provider="auto")
|
|
26
|
+
except Exception:
|
|
27
|
+
# Fallback to a mock provider if no keys are set
|
|
28
|
+
print(" ⚠️ No provider keys found. Falling back to ollama for demonstration.")
|
|
29
|
+
ai = nn.NeuralNode(provider="ollama", model="llama3.2")
|
|
30
|
+
|
|
31
|
+
print(f" Using LLM Provider: {ai.provider_name} (Model: {ai.model})")
|
|
32
|
+
|
|
33
|
+
# 2. Instantiate the OpenClawManager
|
|
34
|
+
# This downloader and process runner resides in NeuralNode.
|
|
35
|
+
print("\n2. Initializing OpenClawManager...")
|
|
36
|
+
manager = OpenClawManager(
|
|
37
|
+
node=ai,
|
|
38
|
+
install_dir="./openclaw_runtime", # Download path for OpenClaw repo
|
|
39
|
+
gateway_port=18789, # OpenClaw client gateway port
|
|
40
|
+
api_server_port=18788, # OpenAI-compatible API server port
|
|
41
|
+
api_key="neuralnode-secret-key" # Gateway authorization key
|
|
42
|
+
)
|
|
43
|
+
print(f" Runtime Directory: {manager.install_dir}")
|
|
44
|
+
|
|
45
|
+
# 3. Setup OpenClaw (Clone git repository & npm install dependencies)
|
|
46
|
+
# Note: Ensure git and node/npm (or pnpm) are installed on your machine.
|
|
47
|
+
print("\n3. Setting up OpenClaw gateway...")
|
|
48
|
+
print(" (Cloning repo and installing Node dependencies; this can take a minute)...")
|
|
49
|
+
try:
|
|
50
|
+
# Check if already installed
|
|
51
|
+
if not (manager.install_dir / "openclaw").exists():
|
|
52
|
+
manager.setup()
|
|
53
|
+
print(" ✅ OpenClaw successfully cloned and dependencies installed!")
|
|
54
|
+
else:
|
|
55
|
+
print(" ✅ OpenClaw runtime already exists.")
|
|
56
|
+
# Ensure configurations are up to date
|
|
57
|
+
manager.configure()
|
|
58
|
+
except Exception as e:
|
|
59
|
+
print(f" ❌ Setup failed: {e}")
|
|
60
|
+
print(" Make sure Node.js, npm/pnpm, and git are installed and on your PATH.")
|
|
61
|
+
return
|
|
62
|
+
|
|
63
|
+
# 4. Start OpenClaw Gateway (Runs uvicorn API and OpenClaw Node gateway process)
|
|
64
|
+
print("\n4. Starting OpenClaw Gateway...")
|
|
65
|
+
try:
|
|
66
|
+
manager.start()
|
|
67
|
+
print(" ✅ OpenClaw API server and Node gateway started successfully!")
|
|
68
|
+
except Exception as e:
|
|
69
|
+
print(f" ❌ Failed to start: {e}")
|
|
70
|
+
return
|
|
71
|
+
|
|
72
|
+
# 5. Use OpenClawClient to control the running agent gateway
|
|
73
|
+
print("\n5. Controlling OpenClaw Gateway...")
|
|
74
|
+
client = manager.get_client()
|
|
75
|
+
|
|
76
|
+
# Check gateway status
|
|
77
|
+
if client.check_health():
|
|
78
|
+
print(" ✅ OpenClaw Gateway is online and healthy.")
|
|
79
|
+
|
|
80
|
+
# Create a new session
|
|
81
|
+
session_id = "test-session-1"
|
|
82
|
+
print(f" Creating session '{session_id}'...")
|
|
83
|
+
client.create_session(session_id)
|
|
84
|
+
|
|
85
|
+
# Send a prompt/task to the agent
|
|
86
|
+
task = "Introduce yourself in one sentence."
|
|
87
|
+
print(f" Sending task: '{task}'...")
|
|
88
|
+
response = client.send_task(session_id, task)
|
|
89
|
+
print(f" Response: {response}")
|
|
90
|
+
|
|
91
|
+
# Get status/logs of execution
|
|
92
|
+
status = client.get_session_status(session_id)
|
|
93
|
+
print(f" Session Status: {status.get('status', 'N/A')}")
|
|
94
|
+
else:
|
|
95
|
+
print(" ❌ OpenClaw Gateway did not respond to health check.")
|
|
96
|
+
|
|
97
|
+
# 6. Shutting down the gateway processes safely
|
|
98
|
+
print("\n6. Stopping OpenClaw Gateway...")
|
|
99
|
+
manager.stop()
|
|
100
|
+
print(" ✅ OpenClaw stopped successfully.")
|
|
101
|
+
print("=" * 60)
|
|
102
|
+
print("🎉 Demo finished!")
|
|
103
|
+
|
|
104
|
+
if __name__ == "__main__":
|
|
105
|
+
main()
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
"""
|
|
2
|
+
NeuralNode WhatsApp AI Chatbot & Agent Demo
|
|
3
|
+
==========================================
|
|
4
|
+
|
|
5
|
+
This script demonstrates how to start the WhatsApp Gateway (Evolution API),
|
|
6
|
+
link a WhatsApp account (via QR code or Pairing code), setup a local webhook
|
|
7
|
+
listener, and run an automated AI Agent chatbot on WhatsApp.
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
import time
|
|
11
|
+
import os
|
|
12
|
+
import sys
|
|
13
|
+
from pathlib import Path
|
|
14
|
+
import neuralnode as nn
|
|
15
|
+
from neuralnode.integrations.whatsapp import EvolutionWhatsAppBot
|
|
16
|
+
|
|
17
|
+
def main():
|
|
18
|
+
print("🚀 NeuralNode WhatsApp AI Chatbot Demo")
|
|
19
|
+
print("=" * 60)
|
|
20
|
+
|
|
21
|
+
# 1. Initialize the NeuralNode Agent
|
|
22
|
+
print("\n1. Initializing AI Agent...")
|
|
23
|
+
try:
|
|
24
|
+
# Using auto-select provider or local Ollama
|
|
25
|
+
ai = nn.NeuralNode(provider="auto")
|
|
26
|
+
except Exception:
|
|
27
|
+
print(" ⚠️ No provider API keys found. Falling back to ollama.")
|
|
28
|
+
ai = nn.NeuralNode(provider="ollama", model="llama3.2")
|
|
29
|
+
|
|
30
|
+
# Give the agent some tools/skills
|
|
31
|
+
agent = ai.agent(skills=["web_search", "datetime"], system_prompt="You are a helpful WhatsApp AI Assistant.")
|
|
32
|
+
print(f" Agent initialized with capabilities: {ai.provider_name} (Model: {ai.model})")
|
|
33
|
+
|
|
34
|
+
# 2. Initialize the Evolution WhatsApp Bot
|
|
35
|
+
print("\n2. Initializing Evolution WhatsApp Bot...")
|
|
36
|
+
bot = EvolutionWhatsAppBot(
|
|
37
|
+
api_url="http://localhost:8080",
|
|
38
|
+
global_apikey="my-secret-key",
|
|
39
|
+
agent=agent
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
# 3. Start the local WhatsApp Gateway
|
|
43
|
+
# Note: This will run `npm install` and start the gateway process in background.
|
|
44
|
+
print("\n3. Starting WhatsApp Gateway...")
|
|
45
|
+
print(" (This runs the Node.js Baileys gateway under the hood. Wait ~15s)...")
|
|
46
|
+
try:
|
|
47
|
+
bot.start_gateway(port=8080, wait_seconds=15)
|
|
48
|
+
print(" ✅ WhatsApp Gateway is running.")
|
|
49
|
+
except Exception as e:
|
|
50
|
+
print(f" ❌ Failed to start WhatsApp Gateway: {e}")
|
|
51
|
+
print(" Please check that Node.js (v18+) is installed and on your PATH.")
|
|
52
|
+
return
|
|
53
|
+
|
|
54
|
+
instance_name = "neuralnode-bot"
|
|
55
|
+
|
|
56
|
+
# 4. Linking your WhatsApp Account
|
|
57
|
+
# You can connect via QR Code (scanning it on your phone) OR Pairing Code (entering it on your phone).
|
|
58
|
+
print("\n4. Linking Account to WhatsApp...")
|
|
59
|
+
print(" Choose your connection method:")
|
|
60
|
+
print(" [1] QR Code (recommended - generates a PNG to scan)")
|
|
61
|
+
print(" [2] Pairing Code (enter your phone number to get an 8-character code)")
|
|
62
|
+
|
|
63
|
+
choice = input("Select connection method (1/2) [Default: 1]: ").strip() or "1"
|
|
64
|
+
|
|
65
|
+
if choice == "2":
|
|
66
|
+
phone_number = input("Enter your WhatsApp phone number with country code (e.g. +20123456789): ").strip()
|
|
67
|
+
if not phone_number:
|
|
68
|
+
print(" ❌ Phone number is required for pairing code. Exiting.")
|
|
69
|
+
bot.stop_gateway()
|
|
70
|
+
return
|
|
71
|
+
|
|
72
|
+
print(f" Requesting pairing code for {phone_number}...")
|
|
73
|
+
try:
|
|
74
|
+
pairing_code = bot.connect_phone(instance_name, phone_number)
|
|
75
|
+
print("\n" + "*" * 50)
|
|
76
|
+
print(f"👉 PAIRING CODE: {pairing_code}")
|
|
77
|
+
print("To link your phone:")
|
|
78
|
+
print("1. Open WhatsApp -> Linked Devices -> Link with Phone Number.")
|
|
79
|
+
print(f"2. Enter the Pairing Code above: {pairing_code}")
|
|
80
|
+
print("*" * 50 + "\n")
|
|
81
|
+
except Exception as e:
|
|
82
|
+
print(f" ❌ Failed to get pairing code: {e}")
|
|
83
|
+
bot.stop_gateway()
|
|
84
|
+
return
|
|
85
|
+
else:
|
|
86
|
+
print(" Generating QR code...")
|
|
87
|
+
try:
|
|
88
|
+
qr_path = bot.connect_qr(instance_name)
|
|
89
|
+
print("\n" + "*" * 50)
|
|
90
|
+
print(f"👉 QR CODE SAVED TO: {qr_path}")
|
|
91
|
+
print("To link your phone:")
|
|
92
|
+
print("1. Open WhatsApp -> Linked Devices -> Link a Device.")
|
|
93
|
+
print(f"2. Scan the QR code image saved at the path above.")
|
|
94
|
+
print("*" * 50 + "\n")
|
|
95
|
+
except Exception as e:
|
|
96
|
+
print(f" ❌ Failed to generate QR code: {e}")
|
|
97
|
+
bot.stop_gateway()
|
|
98
|
+
return
|
|
99
|
+
|
|
100
|
+
# 5. Start the Webhook Listener & configure gateway webhook
|
|
101
|
+
# Baileys gateway will POST incoming messages to this webhook,
|
|
102
|
+
# which will then run the agent and automatically reply back.
|
|
103
|
+
print("\n5. Starting Webhook Listener and Router...")
|
|
104
|
+
webhook_port = 5000
|
|
105
|
+
try:
|
|
106
|
+
# Start a local HTTP server on port 5000
|
|
107
|
+
bot.start_webhook_listener(port=webhook_port)
|
|
108
|
+
|
|
109
|
+
# Configure the gateway to send updates to our listener
|
|
110
|
+
# In a real environment, you'd use a public URL (e.g., ngrok or production domain)
|
|
111
|
+
# For local development with docker/local processes, use localhost
|
|
112
|
+
webhook_url = f"http://localhost:{webhook_port}"
|
|
113
|
+
bot.set_webhook(instance_name, webhook_url)
|
|
114
|
+
print(f" ✅ Webhook listener online at {webhook_url}")
|
|
115
|
+
except Exception as e:
|
|
116
|
+
print(f" ❌ Failed to initialize webhook: {e}")
|
|
117
|
+
bot.stop_gateway()
|
|
118
|
+
return
|
|
119
|
+
|
|
120
|
+
# 6. Wait and handle chat chatbot conversations
|
|
121
|
+
print("\n6. Bot is running! Waiting for messages...")
|
|
122
|
+
print(" Send a message to your connected WhatsApp number from another phone.")
|
|
123
|
+
print(" The chatbot agent will process it and respond automatically.")
|
|
124
|
+
print(" Press Ctrl+C to terminate.")
|
|
125
|
+
|
|
126
|
+
try:
|
|
127
|
+
# Keep the script running to listen to webhook events
|
|
128
|
+
while True:
|
|
129
|
+
state = bot.connection_state(instance_name)
|
|
130
|
+
print(f" [Status Check] Current connection state: '{state}'", end="\r", flush=True)
|
|
131
|
+
time.sleep(5)
|
|
132
|
+
except KeyboardInterrupt:
|
|
133
|
+
print("\n\n👋 Stopping WhatsApp Bot and Gateway...")
|
|
134
|
+
finally:
|
|
135
|
+
# Cleanup
|
|
136
|
+
bot.stop_webhook_listener()
|
|
137
|
+
bot.stop_gateway()
|
|
138
|
+
print("✅ Shutdown complete.")
|
|
139
|
+
|
|
140
|
+
if __name__ == "__main__":
|
|
141
|
+
main()
|
|
@@ -47,7 +47,15 @@ twine check dist/*
|
|
|
47
47
|
|
|
48
48
|
REM Upload to PyPI
|
|
49
49
|
echo 📤 Uploading to PyPI...
|
|
50
|
-
|
|
50
|
+
if "%TWINE_USERNAME%"=="" (
|
|
51
|
+
echo Error: set TWINE_USERNAME and TWINE_PASSWORD before publishing.
|
|
52
|
+
exit /b 1
|
|
53
|
+
)
|
|
54
|
+
if "%TWINE_PASSWORD%"=="" (
|
|
55
|
+
echo Error: set TWINE_USERNAME and TWINE_PASSWORD before publishing.
|
|
56
|
+
exit /b 1
|
|
57
|
+
)
|
|
58
|
+
twine upload dist/*
|
|
51
59
|
|
|
52
60
|
REM Verify upload
|
|
53
61
|
echo ✅ Verifying upload...
|
|
@@ -46,9 +46,11 @@ twine check dist/*
|
|
|
46
46
|
|
|
47
47
|
# Upload to PyPI
|
|
48
48
|
echo "📤 Uploading to PyPI..."
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
if [ -z "$TWINE_USERNAME" ] || [ -z "$TWINE_PASSWORD" ]; then
|
|
50
|
+
echo "Error: set TWINE_USERNAME and TWINE_PASSWORD before publishing."
|
|
51
|
+
exit 1
|
|
52
|
+
fi
|
|
53
|
+
twine upload dist/*
|
|
52
54
|
|
|
53
55
|
# Verify upload
|
|
54
56
|
echo "✅ Verifying upload..."
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "neuralnode"
|
|
7
|
-
version = "2.
|
|
7
|
+
version = "2.2.0"
|
|
8
8
|
description = "Comprehensive AI Framework with 50+ LLM Providers, Advanced Agents, Chains, Memory, RAG, and 100+ Tools"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.9"
|
|
@@ -155,6 +155,11 @@ telegram = [
|
|
|
155
155
|
]
|
|
156
156
|
discord = ["discord.py>=2.3.0"]
|
|
157
157
|
slack = ["slack-sdk>=3.21.0"]
|
|
158
|
+
whatsapp = ["twilio>=9.0.0"]
|
|
159
|
+
openclaw = [
|
|
160
|
+
"fastapi>=0.110.0",
|
|
161
|
+
"uvicorn>=0.27.0",
|
|
162
|
+
]
|
|
158
163
|
|
|
159
164
|
# All features
|
|
160
165
|
all = [
|
|
@@ -179,6 +184,9 @@ all = [
|
|
|
179
184
|
"einops>=0.7.0",
|
|
180
185
|
"sentence-transformers>=2.2.0",
|
|
181
186
|
"python-telegram-bot>=20.0",
|
|
187
|
+
"twilio>=9.0.0",
|
|
188
|
+
"fastapi>=0.110.0",
|
|
189
|
+
"uvicorn>=0.27.0",
|
|
182
190
|
"edge-tts>=6.1.0",
|
|
183
191
|
"SpeechRecognition>=3.10.0",
|
|
184
192
|
"pydub>=0.25.1",
|
|
@@ -105,7 +105,7 @@ def setup_neuralnode():
|
|
|
105
105
|
print("✅ Setup complete! You can now use NeuralNode.")
|
|
106
106
|
print("\nQuick start:")
|
|
107
107
|
print(" import neuralnode as nn")
|
|
108
|
-
print(" ai = nn.NeuralNode(provider='
|
|
108
|
+
print(" ai = nn.NeuralNode(provider='groq', model='llama-3.1-8b-instant')")
|
|
109
109
|
print(" print(ai.chat('Hello!'))")
|
|
110
110
|
print("\nRun tests:")
|
|
111
111
|
print(" pytest tests/ -v")
|
|
@@ -42,7 +42,7 @@ Quick Start::
|
|
|
42
42
|
text = sr.listen()
|
|
43
43
|
"""
|
|
44
44
|
|
|
45
|
-
__version__ = "2.
|
|
45
|
+
__version__ = "2.2.0"
|
|
46
46
|
__author__ = "NeuralNode Contributors"
|
|
47
47
|
|
|
48
48
|
# ── Core types ────────────────────────────────────────────────────────────────
|
|
@@ -190,9 +190,6 @@ try:
|
|
|
190
190
|
except ImportError:
|
|
191
191
|
_THINKING_AVAILABLE = False
|
|
192
192
|
|
|
193
|
-
# OpenAI blocker
|
|
194
|
-
from .core.openai_blocker import check_openai_blocked
|
|
195
|
-
|
|
196
193
|
# Chains module
|
|
197
194
|
try:
|
|
198
195
|
from .chains import (
|
|
@@ -229,6 +226,26 @@ try:
|
|
|
229
226
|
except ImportError:
|
|
230
227
|
_SLACK_AVAILABLE = False
|
|
231
228
|
|
|
229
|
+
try:
|
|
230
|
+
from .integrations.whatsapp import (
|
|
231
|
+
EvolutionWhatsAppBot,
|
|
232
|
+
TwilioWhatsAppBot,
|
|
233
|
+
create_twilio_whatsapp_bot,
|
|
234
|
+
)
|
|
235
|
+
_WHATSAPP_AVAILABLE = True
|
|
236
|
+
except ImportError:
|
|
237
|
+
_WHATSAPP_AVAILABLE = False
|
|
238
|
+
|
|
239
|
+
try:
|
|
240
|
+
from .integrations.openclaw import (
|
|
241
|
+
OpenClawManager,
|
|
242
|
+
OpenClawServer,
|
|
243
|
+
OpenClawClient,
|
|
244
|
+
)
|
|
245
|
+
_OPENCLAW_AVAILABLE = True
|
|
246
|
+
except ImportError:
|
|
247
|
+
_OPENCLAW_AVAILABLE = False
|
|
248
|
+
|
|
232
249
|
# Logging helper
|
|
233
250
|
from .utils.logger import get_logger, setup_logging
|
|
234
251
|
from .utils.dependencies import ensure_feature_dependencies
|
|
@@ -289,7 +306,8 @@ class NeuralNode:
|
|
|
289
306
|
|
|
290
307
|
Example::
|
|
291
308
|
|
|
292
|
-
# OpenAI is
|
|
309
|
+
# OpenAI is fully supported — use any of these:
|
|
310
|
+
ai = NeuralNode(provider="openai") # OpenAI GPT-4o/mini
|
|
293
311
|
ai = NeuralNode(provider="anthropic") # Claude
|
|
294
312
|
ai = NeuralNode(provider="google") # Gemini
|
|
295
313
|
ai = NeuralNode(provider="groq") # Groq
|
|
@@ -307,13 +325,6 @@ class NeuralNode:
|
|
|
307
325
|
model_settings: dict = None,
|
|
308
326
|
**kwargs,
|
|
309
327
|
):
|
|
310
|
-
# Block OpenAI before doing anything else
|
|
311
|
-
check_openai_blocked(
|
|
312
|
-
provider=provider,
|
|
313
|
-
model=model,
|
|
314
|
-
api_key=api_key,
|
|
315
|
-
)
|
|
316
|
-
|
|
317
328
|
self.provider_name = provider.lower()
|
|
318
329
|
self.model = model
|
|
319
330
|
self.system_prompt = system_prompt or "You are a helpful AI assistant."
|
|
@@ -684,10 +695,8 @@ __all__ = [
|
|
|
684
695
|
"RouterChain", "RetrievalQAChain", "TransformChain", "APIChain",
|
|
685
696
|
"create_llm_chain", "create_sequential_chain", "create_retrieval_qa_chain",
|
|
686
697
|
|
|
687
|
-
# Utilities
|
|
688
698
|
"get_logger", "setup_logging",
|
|
689
699
|
"ensure_feature_dependencies",
|
|
690
|
-
"check_openai_blocked",
|
|
691
700
|
]
|
|
692
701
|
|
|
693
702
|
# Add optional exports
|
|
@@ -721,3 +730,15 @@ if _TURBOQUANT_AVAILABLE:
|
|
|
721
730
|
__all__ += ["TurboQuant", "TurboQuantEngine", "TurboQuantConfig"]
|
|
722
731
|
if _THINKING_AVAILABLE:
|
|
723
732
|
__all__ += ["ThinkingMode", "ThinkingResponse", "enable_thinking"]
|
|
733
|
+
if _WHATSAPP_AVAILABLE:
|
|
734
|
+
__all__ += [
|
|
735
|
+
"EvolutionWhatsAppBot",
|
|
736
|
+
"TwilioWhatsAppBot",
|
|
737
|
+
"create_twilio_whatsapp_bot",
|
|
738
|
+
]
|
|
739
|
+
if _OPENCLAW_AVAILABLE:
|
|
740
|
+
__all__ += [
|
|
741
|
+
"OpenClawManager",
|
|
742
|
+
"OpenClawServer",
|
|
743
|
+
"OpenClawClient",
|
|
744
|
+
]
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"""Compatibility shim for historical OpenAI blocking hooks.
|
|
2
|
+
|
|
3
|
+
The current NeuralNode feature set includes OpenAI-compatible providers, so the
|
|
4
|
+
old blocker API remains as a no-op to avoid breaking imports.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
from __future__ import annotations
|
|
8
|
+
|
|
9
|
+
from typing import Optional
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def is_openai_key(api_key: Optional[str]) -> bool:
|
|
13
|
+
return False
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def is_openai_model(model: Optional[str]) -> bool:
|
|
17
|
+
return False
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def check_openai_blocked(
|
|
21
|
+
provider: Optional[str] = None,
|
|
22
|
+
model: Optional[str] = None,
|
|
23
|
+
api_key: Optional[str] = None,
|
|
24
|
+
base_url: Optional[str] = None,
|
|
25
|
+
) -> None:
|
|
26
|
+
return None
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
__all__ = ["check_openai_blocked", "is_openai_key", "is_openai_model"]
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"""NeuralNode Messaging and Agent Gateways integrations."""
|
|
2
|
+
|
|
3
|
+
from .telegram import TelegramBot, TelegramAgent, TelegramBotConfig, TelegramBotBuilder, create_telegram_bot
|
|
4
|
+
from .discord import DiscordBot
|
|
5
|
+
from .slack import SlackBot
|
|
6
|
+
from .whatsapp import EvolutionWhatsAppBot, TwilioWhatsAppBot, create_twilio_whatsapp_bot
|
|
7
|
+
from .openclaw import OpenClawManager, OpenClawServer, OpenClawClient
|
|
8
|
+
|
|
9
|
+
__all__ = [
|
|
10
|
+
"TelegramBot",
|
|
11
|
+
"TelegramAgent",
|
|
12
|
+
"TelegramBotConfig",
|
|
13
|
+
"TelegramBotBuilder",
|
|
14
|
+
"create_telegram_bot",
|
|
15
|
+
"DiscordBot",
|
|
16
|
+
"SlackBot",
|
|
17
|
+
"EvolutionWhatsAppBot",
|
|
18
|
+
"TwilioWhatsAppBot",
|
|
19
|
+
"create_twilio_whatsapp_bot",
|
|
20
|
+
"OpenClawManager",
|
|
21
|
+
"OpenClawServer",
|
|
22
|
+
"OpenClawClient",
|
|
23
|
+
]
|