meshagent-cli 0.55.0__tar.gz → 0.55.1__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.
- {meshagent_cli-0.55.0/meshagent_cli.egg-info → meshagent_cli-0.55.1}/PKG-INFO +18 -17
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/agents.py +47 -40
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/agents_test.py +131 -30
- meshagent_cli-0.55.1/meshagent/cli/managed_python.py +371 -0
- meshagent_cli-0.55.1/meshagent/cli/managed_python_test.py +96 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/sqlite_test.py +3 -2
- meshagent_cli-0.55.1/meshagent/cli/version.py +1 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1/meshagent_cli.egg-info}/PKG-INFO +18 -17
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent_cli.egg-info/SOURCES.txt +2 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent_cli.egg-info/requires.txt +17 -16
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/pyproject.toml +17 -16
- meshagent_cli-0.55.0/meshagent/cli/version.py +0 -1
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/LICENSE +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/README.md +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/__init__.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/_filedrop.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/agent.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/agent_cli_options_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/agent_package_cli.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/agent_package_cli_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/ask.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/ask_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/async_typer.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/async_typer_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/auth.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/auth_async.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/auth_async_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/auth_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/call.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/chatbot.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/cli.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/cli_mcp.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/cli_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/common_options.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/config.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/config_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/containers.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/containers_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/create.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/__init__.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/python/backend-agent/server.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/python/contact-form/server.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/python/slack-channel/channel.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/python/slack-channel/scripts/configure-slack.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/python/slack-channel/scripts/setup-slack-dev-route.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/python/slack-channel/server.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/python/task-queue-dashboard/server.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/python/telegram-channel/channel.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/python/telegram-channel/scripts/configure-telegram.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/python/telegram-channel/scripts/create-bot-token.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/python/telegram-channel/server.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/python/twilio-channel/channel.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/python/twilio-channel/server.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/python/webserver/server.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/python/whatsapp-channel/channel.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/python/whatsapp-channel/server.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/create_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/custom_domains.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/custom_domains_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/dataset.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/dataset_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/developer.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/developer_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/doctor.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/doctor_dockerfiles/__init__.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/doctor_templates/__init__.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/doctor_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/feeds.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/feeds_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/helper.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/helper_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/helpers.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/host.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/iam.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/iam_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/image.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/image_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/launch.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/launch_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/llm.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/llm_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/local_settings.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/local_settings_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/mailbot.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/mailbot_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/mailboxes.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/mailboxes_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/meeting_transcriber.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/memory.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/memory_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/meshagent_images.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/meshagent_images_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/messaging.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/messaging_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/mounts.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/multi.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/oauth_clients.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/oauth_clients_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/oci_archive.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/oci_archive_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/participant_token.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/port.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/port_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/preamble_rules.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/preamble_rules_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/process.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/process_live_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/process_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/projects.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/projects_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/queue.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/queue_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/registry.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/registry_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/room.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/room_connect.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/room_connect_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/room_services.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/room_services_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/rooms.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/rooms_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/root_commands.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/root_commands_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/routes.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/routes_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/sample_channel_http_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/sample_channel_live_e2e_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/scheduled_tasks.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/scheduled_tasks_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/secrets.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/secrets_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/service_accounts.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/service_accounts_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/services.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/services_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/sessions.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/sessions_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/sqlite.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/sqlite_recovery.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/sqlite_recovery_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/sqlite_transfer_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/storage.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/storage_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/subscriptions.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/sync.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/sync_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/sysadmin.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/task_runner.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/task_runner_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/testing.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/thread_inspect.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/thread_inspect_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/thread_sidebar.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/tool_call_summary.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/tool_call_summary_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/tool_integrations.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/tool_integrations_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/tui/__init__.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/tui/auth_switch.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/tui/auth_switch_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/tui/create.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/tui/deploy_room.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/tui/deploy_room_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/tui/project_activate.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/tui/project_activate_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/tui/setup.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/tui/setup_splash_frames.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/tui/setup_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/users.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/users_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/version_check.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/version_check_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/voicebot.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/volumes.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/volumes_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/webserver.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/webserver_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/worker.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent/cli/worker_test.py +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent_cli.egg-info/dependency_links.txt +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent_cli.egg-info/entry_points.txt +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/meshagent_cli.egg-info/top_level.txt +0 -0
- {meshagent_cli-0.55.0 → meshagent_cli-0.55.1}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: meshagent-cli
|
|
3
|
-
Version: 0.55.
|
|
3
|
+
Version: 0.55.1
|
|
4
4
|
Summary: CLI for Meshagent
|
|
5
5
|
License-Expression: Apache-2.0
|
|
6
6
|
Project-URL: Documentation, https://docs.meshagent.com
|
|
@@ -22,8 +22,8 @@ Requires-Dist: openpyxl~=3.1
|
|
|
22
22
|
Requires-Dist: xlsxwriter~=3.2
|
|
23
23
|
Requires-Dist: pathspec<2,>=1.0.3
|
|
24
24
|
Requires-Dist: zstandard~=0.25.0
|
|
25
|
-
Requires-Dist: meshagent-llm-proxy==0.55.
|
|
26
|
-
Requires-Dist: meshagent-codex==0.55.
|
|
25
|
+
Requires-Dist: meshagent-llm-proxy==0.55.1
|
|
26
|
+
Requires-Dist: meshagent-codex==0.55.1
|
|
27
27
|
Requires-Dist: rich~=14.3.0
|
|
28
28
|
Requires-Dist: sounddevice~=0.5
|
|
29
29
|
Requires-Dist: textual<9.0,>=8.2.3
|
|
@@ -31,24 +31,25 @@ Requires-Dist: textual-image[textual]~=0.12.0
|
|
|
31
31
|
Requires-Dist: prompt-toolkit~=3.0.52
|
|
32
32
|
Requires-Dist: ascii-magic~=2.3
|
|
33
33
|
Requires-Dist: pillow~=11.3.0
|
|
34
|
+
Requires-Dist: pydantic-monty==1.2.0
|
|
34
35
|
Provides-Extra: all
|
|
35
|
-
Requires-Dist: meshagent-agents[all]==0.55.
|
|
36
|
-
Requires-Dist: meshagent-api[all]==0.55.
|
|
37
|
-
Requires-Dist: meshagent-commoncrawl==0.55.
|
|
38
|
-
Requires-Dist: meshagent-scrapy==0.55.
|
|
39
|
-
Requires-Dist: meshagent-computers==0.55.
|
|
40
|
-
Requires-Dist: meshagent-openai==0.55.
|
|
41
|
-
Requires-Dist: meshagent-anthropic==0.55.
|
|
42
|
-
Requires-Dist: meshagent-otel==0.55.
|
|
43
|
-
Requires-Dist: meshagent-mcp==0.55.
|
|
44
|
-
Requires-Dist: meshagent-tools==0.55.
|
|
36
|
+
Requires-Dist: meshagent-agents[all]==0.55.1; extra == "all"
|
|
37
|
+
Requires-Dist: meshagent-api[all]==0.55.1; extra == "all"
|
|
38
|
+
Requires-Dist: meshagent-commoncrawl==0.55.1; extra == "all"
|
|
39
|
+
Requires-Dist: meshagent-scrapy==0.55.1; extra == "all"
|
|
40
|
+
Requires-Dist: meshagent-computers==0.55.1; extra == "all"
|
|
41
|
+
Requires-Dist: meshagent-openai==0.55.1; extra == "all"
|
|
42
|
+
Requires-Dist: meshagent-anthropic==0.55.1; extra == "all"
|
|
43
|
+
Requires-Dist: meshagent-otel==0.55.1; extra == "all"
|
|
44
|
+
Requires-Dist: meshagent-mcp==0.55.1; extra == "all"
|
|
45
|
+
Requires-Dist: meshagent-tools==0.55.1; extra == "all"
|
|
45
46
|
Requires-Dist: supabase-auth~=2.28.0; extra == "all"
|
|
46
47
|
Requires-Dist: prompt-toolkit~=3.0.52; extra == "all"
|
|
47
48
|
Provides-Extra: mcp-service
|
|
48
|
-
Requires-Dist: meshagent-agents[all]==0.55.
|
|
49
|
-
Requires-Dist: meshagent-api==0.55.
|
|
50
|
-
Requires-Dist: meshagent-mcp==0.55.
|
|
51
|
-
Requires-Dist: meshagent-tools==0.55.
|
|
49
|
+
Requires-Dist: meshagent-agents[all]==0.55.1; extra == "mcp-service"
|
|
50
|
+
Requires-Dist: meshagent-api==0.55.1; extra == "mcp-service"
|
|
51
|
+
Requires-Dist: meshagent-mcp==0.55.1; extra == "mcp-service"
|
|
52
|
+
Requires-Dist: meshagent-tools==0.55.1; extra == "mcp-service"
|
|
52
53
|
Requires-Dist: supabase-auth~=2.28.0; extra == "mcp-service"
|
|
53
54
|
Dynamic: license-file
|
|
54
55
|
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import asyncio
|
|
2
1
|
import json
|
|
3
2
|
from pathlib import Path
|
|
4
|
-
import shutil
|
|
5
3
|
import os
|
|
6
4
|
from typing import Annotated, Any, Awaitable, Callable, Literal, Optional
|
|
7
5
|
|
|
@@ -22,6 +20,7 @@ from meshagent.agents.messages import (
|
|
|
22
20
|
from meshagent.cli import async_typer
|
|
23
21
|
from meshagent.cli.common_options import OutputFormatOption, ProjectIdOption
|
|
24
22
|
from meshagent.cli.helper import get_client, print_json_table, resolve_project_id
|
|
23
|
+
from meshagent.cli.managed_python import run_embedded_tool
|
|
25
24
|
from meshagent.cli.storage import app as storage_app
|
|
26
25
|
|
|
27
26
|
app = async_typer.AsyncTyper(
|
|
@@ -769,6 +768,7 @@ async def test_python_tool(
|
|
|
769
768
|
input_json: Annotated[
|
|
770
769
|
str, typer.Option("--input", help="JSON arguments for the tool")
|
|
771
770
|
],
|
|
771
|
+
project_id: ProjectIdOption,
|
|
772
772
|
allow_private_http: Annotated[
|
|
773
773
|
bool,
|
|
774
774
|
typer.Option(
|
|
@@ -788,51 +788,58 @@ async def test_python_tool(
|
|
|
788
788
|
if selected is None:
|
|
789
789
|
raise RoomException(f"Unknown Python tool: {tool}")
|
|
790
790
|
arguments = _maybe_parse_json_object("input", input_json)
|
|
791
|
-
binary = os.environ.get("MESHAGENT_PYTHON_TOOLS_BIN") or shutil.which(
|
|
792
|
-
"meshagent-python-tools"
|
|
793
|
-
)
|
|
794
|
-
if binary is None:
|
|
795
|
-
raise RoomException(
|
|
796
|
-
"Install meshagent-python-tools and Monty, or set MESHAGENT_PYTHON_TOOLS_BIN and MESHAGENT_MONTY_BIN"
|
|
797
|
-
)
|
|
798
791
|
proxy = None
|
|
799
792
|
if any(
|
|
800
|
-
connection.use_proxy_secret
|
|
793
|
+
connection.use_proxy_secret
|
|
794
|
+
or any(header.secret is not None for header in connection.headers)
|
|
795
|
+
for connection in configuration.connections.values()
|
|
801
796
|
):
|
|
802
797
|
client = await get_client()
|
|
803
798
|
try:
|
|
804
799
|
proxy = {"base_url": client.base_url, "token": client.token}
|
|
805
800
|
finally:
|
|
806
801
|
await client.close()
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
for
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
802
|
+
environment = {}
|
|
803
|
+
if configuration.environment:
|
|
804
|
+
client = None
|
|
805
|
+
try:
|
|
806
|
+
if any(entry.secret is not None for entry in configuration.environment):
|
|
807
|
+
project_id = await resolve_project_id(project_id=project_id)
|
|
808
|
+
client = await get_client()
|
|
809
|
+
for entry in configuration.environment:
|
|
810
|
+
if entry.value is not None:
|
|
811
|
+
environment[entry.name] = entry.value
|
|
812
|
+
else:
|
|
813
|
+
assert entry.secret is not None and client is not None
|
|
814
|
+
secret = await client.get_service_account_secret(
|
|
815
|
+
project_id=project_id,
|
|
816
|
+
service_account_id="self",
|
|
817
|
+
secret_id=entry.secret.id,
|
|
818
|
+
include_value=True,
|
|
819
|
+
)
|
|
820
|
+
if secret.value_base64 is None:
|
|
821
|
+
raise RoomException("Environment secret has no value")
|
|
822
|
+
import base64
|
|
823
|
+
|
|
824
|
+
environment[entry.name] = base64.b64decode(
|
|
825
|
+
secret.value_base64, validate=True
|
|
826
|
+
).decode("utf-8")
|
|
827
|
+
finally:
|
|
828
|
+
if client is not None:
|
|
829
|
+
await client.close()
|
|
823
830
|
try:
|
|
824
|
-
|
|
825
|
-
|
|
831
|
+
result = await run_embedded_tool(
|
|
832
|
+
selected,
|
|
833
|
+
configuration.connections,
|
|
834
|
+
arguments,
|
|
835
|
+
environment,
|
|
836
|
+
proxy,
|
|
837
|
+
allow_private_http,
|
|
826
838
|
)
|
|
827
|
-
except
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
error = json.loads(stdout)["error"]
|
|
835
|
-
except (ValueError, KeyError):
|
|
836
|
-
error = stderr.decode() or "Python tool runner failed"
|
|
837
|
-
raise RoomException(error)
|
|
838
|
-
typer.echo(stdout.decode().rstrip())
|
|
839
|
+
except Exception as error:
|
|
840
|
+
message = str(error)
|
|
841
|
+
for secret in [*environment.values(), proxy["token"] if proxy else ""]:
|
|
842
|
+
if secret:
|
|
843
|
+
message = message.replace(secret, "[REDACTED]")
|
|
844
|
+
raise RoomException(message) from None
|
|
845
|
+
typer.echo(json.dumps(result))
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import json
|
|
2
|
+
from types import SimpleNamespace
|
|
2
3
|
|
|
3
4
|
import pytest
|
|
4
5
|
import typer
|
|
@@ -450,67 +451,167 @@ async def test_python_tool_test_runs_embedded_source_without_login(
|
|
|
450
451
|
{"metadata": {"name": "test"}, "allowed_models": [], "tools": [definition]}
|
|
451
452
|
)
|
|
452
453
|
)
|
|
453
|
-
monkeypatch.setenv("MESHAGENT_PYTHON_TOOLS_BIN", "/test/runner")
|
|
454
454
|
|
|
455
455
|
async def unexpected_login():
|
|
456
456
|
raise AssertionError("plain tools must not require login")
|
|
457
457
|
|
|
458
|
-
class Process:
|
|
459
|
-
returncode = 0
|
|
460
|
-
|
|
461
|
-
async def communicate(self, data):
|
|
462
|
-
payload = json.loads(data)
|
|
463
|
-
assert payload["tool"]["source"] == definition["source"]
|
|
464
|
-
assert payload["input"] == {"id": "abc"}
|
|
465
|
-
assert payload["proxy"] is None
|
|
466
|
-
return b'{"result":{"id":"abc"},"logs":"","requests":[]}', b""
|
|
467
|
-
|
|
468
|
-
async def spawn(*args, **kwargs):
|
|
469
|
-
assert args == ("/test/runner",)
|
|
470
|
-
return Process()
|
|
471
|
-
|
|
472
458
|
monkeypatch.setattr(agents, "get_client", unexpected_login)
|
|
473
|
-
|
|
474
|
-
|
|
459
|
+
await agents.test_python_tool(
|
|
460
|
+
spec=spec, tool="lookup", input_json='{"id":"abc"}', project_id=None
|
|
461
|
+
)
|
|
475
462
|
assert json.loads(capsys.readouterr().out)["result"] == {"id": "abc"}
|
|
476
463
|
|
|
477
464
|
|
|
478
465
|
@pytest.mark.asyncio
|
|
479
|
-
async def
|
|
480
|
-
|
|
466
|
+
async def test_python_tool_test_supplies_proxy_for_secret_headers(
|
|
467
|
+
monkeypatch, tmp_path
|
|
468
|
+
):
|
|
469
|
+
spec = tmp_path / "agent.yaml"
|
|
470
|
+
spec.write_text(
|
|
471
|
+
json.dumps(
|
|
472
|
+
{
|
|
473
|
+
"metadata": {"name": "test"},
|
|
474
|
+
"allowed_models": [],
|
|
475
|
+
"tools": [
|
|
476
|
+
{
|
|
477
|
+
"type": "python",
|
|
478
|
+
"name": "lookup",
|
|
479
|
+
"input_schema": {
|
|
480
|
+
"type": "object",
|
|
481
|
+
"properties": {},
|
|
482
|
+
"required": [],
|
|
483
|
+
"additionalProperties": False,
|
|
484
|
+
},
|
|
485
|
+
"source": "async def lookup(args): return args",
|
|
486
|
+
}
|
|
487
|
+
],
|
|
488
|
+
"connections": {
|
|
489
|
+
"crm": {
|
|
490
|
+
"base_url": "https://api.example.com",
|
|
491
|
+
"headers": [{"name": "X-API-Key", "secret": {"id": "api-key"}}],
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
}
|
|
495
|
+
)
|
|
496
|
+
)
|
|
497
|
+
|
|
498
|
+
class Client:
|
|
499
|
+
base_url = "https://api.meshagent.test"
|
|
500
|
+
token = "runtime-token"
|
|
501
|
+
|
|
502
|
+
async def close(self):
|
|
503
|
+
pass
|
|
504
|
+
|
|
505
|
+
async def run_embedded_tool(
|
|
506
|
+
tool, connections, arguments, environment, proxy, allow_private_http
|
|
507
|
+
):
|
|
508
|
+
assert proxy == {
|
|
509
|
+
"base_url": Client.base_url,
|
|
510
|
+
"token": Client.token,
|
|
511
|
+
}
|
|
512
|
+
assert connections["crm"].headers[0].secret.id == "api-key"
|
|
513
|
+
return {"result": {}, "logs": "", "requests": []}
|
|
514
|
+
|
|
515
|
+
async def get_client():
|
|
516
|
+
return Client()
|
|
517
|
+
|
|
518
|
+
monkeypatch.setattr(agents, "get_client", get_client)
|
|
519
|
+
monkeypatch.setattr(agents, "run_embedded_tool", run_embedded_tool)
|
|
520
|
+
await agents.test_python_tool(
|
|
521
|
+
spec=spec, tool="lookup", input_json="{}", project_id=None
|
|
522
|
+
)
|
|
523
|
+
|
|
481
524
|
|
|
525
|
+
@pytest.mark.asyncio
|
|
526
|
+
async def test_python_tool_test_resolves_secret_environment_with_current_identity(
|
|
527
|
+
monkeypatch, tmp_path
|
|
528
|
+
):
|
|
482
529
|
spec = tmp_path / "agent.yaml"
|
|
483
530
|
spec.write_text(
|
|
484
531
|
json.dumps(
|
|
485
532
|
{
|
|
486
533
|
"metadata": {"name": "test"},
|
|
487
534
|
"allowed_models": [],
|
|
535
|
+
"run_as": {
|
|
536
|
+
"email": "agent@service.project.example.test",
|
|
537
|
+
"scopes": ["secrets:read"],
|
|
538
|
+
},
|
|
539
|
+
"environment": [{"name": "API_KEY", "secret": {"id": "secret-1"}}],
|
|
488
540
|
"tools": [
|
|
489
541
|
{
|
|
490
542
|
"name": "lookup",
|
|
543
|
+
"source": "async def lookup(args): return args",
|
|
491
544
|
"input_schema": {
|
|
492
545
|
"type": "object",
|
|
493
546
|
"properties": {},
|
|
494
547
|
"required": [],
|
|
495
548
|
"additionalProperties": False,
|
|
496
549
|
},
|
|
497
|
-
"source": "async def lookup(args): raise ValueError('bad customer')",
|
|
498
550
|
}
|
|
499
551
|
],
|
|
500
552
|
}
|
|
501
553
|
)
|
|
502
554
|
)
|
|
503
|
-
monkeypatch.setenv("MESHAGENT_PYTHON_TOOLS_BIN", "/test/runner")
|
|
504
555
|
|
|
505
|
-
class
|
|
506
|
-
|
|
556
|
+
class Client:
|
|
557
|
+
async def get_service_account_secret(self, **kwargs):
|
|
558
|
+
assert kwargs == {
|
|
559
|
+
"project_id": "project-1",
|
|
560
|
+
"service_account_id": "self",
|
|
561
|
+
"secret_id": "secret-1",
|
|
562
|
+
"include_value": True,
|
|
563
|
+
}
|
|
564
|
+
return SimpleNamespace(value_base64="Y29uZmlndXJlZC1zZWNyZXQ=")
|
|
565
|
+
|
|
566
|
+
async def close(self):
|
|
567
|
+
pass
|
|
568
|
+
|
|
569
|
+
async def run_embedded_tool(
|
|
570
|
+
tool, connections, arguments, environment, proxy, allow_private_http
|
|
571
|
+
):
|
|
572
|
+
assert environment == {"API_KEY": "configured-secret"}
|
|
573
|
+
return {"result": {}, "logs": "", "requests": []}
|
|
574
|
+
|
|
575
|
+
async def get_client():
|
|
576
|
+
return Client()
|
|
577
|
+
|
|
578
|
+
async def resolve_project_id(*, project_id):
|
|
579
|
+
return project_id
|
|
580
|
+
|
|
581
|
+
monkeypatch.setattr(agents, "get_client", get_client)
|
|
582
|
+
monkeypatch.setattr(agents, "resolve_project_id", resolve_project_id)
|
|
583
|
+
monkeypatch.setattr(agents, "run_embedded_tool", run_embedded_tool)
|
|
584
|
+
await agents.test_python_tool(
|
|
585
|
+
spec=spec, tool="lookup", input_json="{}", project_id="project-1"
|
|
586
|
+
)
|
|
507
587
|
|
|
508
|
-
async def communicate(self, data):
|
|
509
|
-
return b'{"error":"tool lookup: bad customer"}', b""
|
|
510
588
|
|
|
511
|
-
|
|
512
|
-
|
|
589
|
+
@pytest.mark.asyncio
|
|
590
|
+
async def test_python_tool_test_reports_runner_failure(monkeypatch, tmp_path):
|
|
591
|
+
from meshagent.api import RoomException
|
|
513
592
|
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
593
|
+
spec = tmp_path / "agent.yaml"
|
|
594
|
+
spec.write_text(
|
|
595
|
+
json.dumps(
|
|
596
|
+
{
|
|
597
|
+
"metadata": {"name": "test"},
|
|
598
|
+
"allowed_models": [],
|
|
599
|
+
"tools": [
|
|
600
|
+
{
|
|
601
|
+
"name": "lookup",
|
|
602
|
+
"input_schema": {
|
|
603
|
+
"type": "object",
|
|
604
|
+
"properties": {},
|
|
605
|
+
"required": [],
|
|
606
|
+
"additionalProperties": False,
|
|
607
|
+
},
|
|
608
|
+
"source": "async def lookup(args): raise ValueError('bad customer')",
|
|
609
|
+
}
|
|
610
|
+
],
|
|
611
|
+
}
|
|
612
|
+
)
|
|
613
|
+
)
|
|
614
|
+
with pytest.raises(RoomException, match="bad customer"):
|
|
615
|
+
await agents.test_python_tool(
|
|
616
|
+
spec=spec, tool="lookup", input_json="{}", project_id=None
|
|
617
|
+
)
|