meshagent-cli 0.54.2__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.54.2 → meshagent_cli-0.55.1}/PKG-INFO +18 -17
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/agents.py +93 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/agents_test.py +188 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/auth.py +18 -2
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/auth_test.py +1 -1
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/local_settings.py +163 -43
- meshagent_cli-0.55.1/meshagent/cli/local_settings_test.py +363 -0
- 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.54.2 → meshagent_cli-0.55.1}/meshagent/cli/sqlite.py +110 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/sqlite_test.py +18 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/storage.py +6 -6
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/storage_test.py +70 -1
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/tui/auth_switch.py +6 -6
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/tui/auth_switch_test.py +35 -5
- meshagent_cli-0.55.1/meshagent/cli/version.py +1 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent_cli.egg-info/PKG-INFO +18 -17
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent_cli.egg-info/SOURCES.txt +2 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent_cli.egg-info/requires.txt +17 -16
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/pyproject.toml +17 -16
- meshagent_cli-0.54.2/meshagent/cli/local_settings_test.py +0 -155
- meshagent_cli-0.54.2/meshagent/cli/version.py +0 -1
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/LICENSE +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/README.md +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/__init__.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/_filedrop.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/agent.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/agent_cli_options_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/agent_package_cli.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/agent_package_cli_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/ask.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/ask_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/async_typer.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/async_typer_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/auth_async.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/auth_async_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/call.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/chatbot.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/cli.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/cli_mcp.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/cli_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/common_options.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/config.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/config_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/containers.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/containers_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/create.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/__init__.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/python/backend-agent/server.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/python/contact-form/server.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/python/slack-channel/channel.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/python/slack-channel/scripts/configure-slack.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/python/slack-channel/scripts/setup-slack-dev-route.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/python/slack-channel/server.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/python/task-queue-dashboard/server.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/python/telegram-channel/channel.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/python/telegram-channel/scripts/configure-telegram.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/python/telegram-channel/scripts/create-bot-token.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/python/telegram-channel/server.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/python/twilio-channel/channel.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/python/twilio-channel/server.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/python/webserver/server.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/python/whatsapp-channel/channel.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/create_project_templates/python/whatsapp-channel/server.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/create_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/custom_domains.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/custom_domains_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/dataset.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/dataset_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/developer.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/developer_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/doctor.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/doctor_dockerfiles/__init__.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/doctor_templates/__init__.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/doctor_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/feeds.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/feeds_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/helper.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/helper_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/helpers.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/host.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/iam.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/iam_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/image.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/image_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/launch.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/launch_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/llm.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/llm_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/mailbot.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/mailbot_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/mailboxes.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/mailboxes_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/meeting_transcriber.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/memory.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/memory_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/meshagent_images.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/meshagent_images_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/messaging.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/messaging_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/mounts.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/multi.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/oauth_clients.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/oauth_clients_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/oci_archive.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/oci_archive_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/participant_token.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/port.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/port_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/preamble_rules.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/preamble_rules_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/process.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/process_live_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/process_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/projects.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/projects_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/queue.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/queue_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/registry.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/registry_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/room.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/room_connect.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/room_connect_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/room_services.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/room_services_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/rooms.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/rooms_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/root_commands.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/root_commands_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/routes.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/routes_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/sample_channel_http_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/sample_channel_live_e2e_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/scheduled_tasks.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/scheduled_tasks_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/secrets.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/secrets_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/service_accounts.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/service_accounts_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/services.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/services_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/sessions.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/sessions_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/sqlite_recovery.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/sqlite_recovery_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/sqlite_transfer_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/subscriptions.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/sync.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/sync_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/sysadmin.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/task_runner.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/task_runner_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/testing.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/thread_inspect.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/thread_inspect_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/thread_sidebar.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/tool_call_summary.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/tool_call_summary_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/tool_integrations.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/tool_integrations_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/tui/__init__.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/tui/create.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/tui/deploy_room.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/tui/deploy_room_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/tui/project_activate.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/tui/project_activate_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/tui/setup.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/tui/setup_splash_frames.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/tui/setup_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/users.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/users_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/version_check.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/version_check_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/voicebot.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/volumes.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/volumes_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/webserver.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/webserver_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/worker.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent/cli/worker_test.py +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent_cli.egg-info/dependency_links.txt +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent_cli.egg-info/entry_points.txt +0 -0
- {meshagent_cli-0.54.2 → meshagent_cli-0.55.1}/meshagent_cli.egg-info/top_level.txt +0 -0
- {meshagent_cli-0.54.2 → 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.
|
|
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.
|
|
26
|
-
Requires-Dist: meshagent-codex==0.
|
|
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.
|
|
36
|
-
Requires-Dist: meshagent-api[all]==0.
|
|
37
|
-
Requires-Dist: meshagent-commoncrawl==0.
|
|
38
|
-
Requires-Dist: meshagent-scrapy==0.
|
|
39
|
-
Requires-Dist: meshagent-computers==0.
|
|
40
|
-
Requires-Dist: meshagent-openai==0.
|
|
41
|
-
Requires-Dist: meshagent-anthropic==0.
|
|
42
|
-
Requires-Dist: meshagent-otel==0.
|
|
43
|
-
Requires-Dist: meshagent-mcp==0.
|
|
44
|
-
Requires-Dist: meshagent-tools==0.
|
|
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.
|
|
49
|
-
Requires-Dist: meshagent-api==0.
|
|
50
|
-
Requires-Dist: meshagent-mcp==0.
|
|
51
|
-
Requires-Dist: meshagent-tools==0.
|
|
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,4 +1,5 @@
|
|
|
1
1
|
import json
|
|
2
|
+
from pathlib import Path
|
|
2
3
|
import os
|
|
3
4
|
from typing import Annotated, Any, Awaitable, Callable, Literal, Optional
|
|
4
5
|
|
|
@@ -19,11 +20,17 @@ from meshagent.agents.messages import (
|
|
|
19
20
|
from meshagent.cli import async_typer
|
|
20
21
|
from meshagent.cli.common_options import OutputFormatOption, ProjectIdOption
|
|
21
22
|
from meshagent.cli.helper import get_client, print_json_table, resolve_project_id
|
|
23
|
+
from meshagent.cli.managed_python import run_embedded_tool
|
|
22
24
|
from meshagent.cli.storage import app as storage_app
|
|
23
25
|
|
|
24
26
|
app = async_typer.AsyncTyper(
|
|
25
27
|
help="Create, list, and manage managed agents in a project"
|
|
26
28
|
)
|
|
29
|
+
tools_app = async_typer.AsyncTyper(
|
|
30
|
+
help="Run embedded Python tools locally without deploying"
|
|
31
|
+
)
|
|
32
|
+
app.add_typer(tools_app, name="tools")
|
|
33
|
+
|
|
27
34
|
app.add_typer(
|
|
28
35
|
storage_app,
|
|
29
36
|
name="storage",
|
|
@@ -750,3 +757,89 @@ async def agent_use_command(
|
|
|
750
757
|
raise typer.Exit(1)
|
|
751
758
|
finally:
|
|
752
759
|
await account_client.close()
|
|
760
|
+
|
|
761
|
+
|
|
762
|
+
@tools_app.command("test")
|
|
763
|
+
async def test_python_tool(
|
|
764
|
+
spec: Annotated[
|
|
765
|
+
Path, typer.Argument(help="Agent YAML file", exists=True, dir_okay=False)
|
|
766
|
+
],
|
|
767
|
+
tool: Annotated[str, typer.Option("--tool", help="Tool name to invoke")],
|
|
768
|
+
input_json: Annotated[
|
|
769
|
+
str, typer.Option("--input", help="JSON arguments for the tool")
|
|
770
|
+
],
|
|
771
|
+
project_id: ProjectIdOption,
|
|
772
|
+
allow_private_http: Annotated[
|
|
773
|
+
bool,
|
|
774
|
+
typer.Option(
|
|
775
|
+
"--allow-private-http",
|
|
776
|
+
help="Allow local/private HTTP destinations for development",
|
|
777
|
+
),
|
|
778
|
+
] = False,
|
|
779
|
+
):
|
|
780
|
+
"""Run the current embedded source with live HTTP, without saving or deploying.
|
|
781
|
+
|
|
782
|
+
Secret-backed connections use your current authenticated identity.
|
|
783
|
+
"""
|
|
784
|
+
import yaml
|
|
785
|
+
|
|
786
|
+
configuration = ManagedAgentSpec.model_validate(yaml.safe_load(spec.read_text()))
|
|
787
|
+
selected = next((item for item in configuration.tools if item.name == tool), None)
|
|
788
|
+
if selected is None:
|
|
789
|
+
raise RoomException(f"Unknown Python tool: {tool}")
|
|
790
|
+
arguments = _maybe_parse_json_object("input", input_json)
|
|
791
|
+
proxy = None
|
|
792
|
+
if any(
|
|
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()
|
|
796
|
+
):
|
|
797
|
+
client = await get_client()
|
|
798
|
+
try:
|
|
799
|
+
proxy = {"base_url": client.base_url, "token": client.token}
|
|
800
|
+
finally:
|
|
801
|
+
await client.close()
|
|
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()
|
|
830
|
+
try:
|
|
831
|
+
result = await run_embedded_tool(
|
|
832
|
+
selected,
|
|
833
|
+
configuration.connections,
|
|
834
|
+
arguments,
|
|
835
|
+
environment,
|
|
836
|
+
proxy,
|
|
837
|
+
allow_private_http,
|
|
838
|
+
)
|
|
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
|
|
@@ -427,3 +428,190 @@ async def test_agent_use_command_runs_tui_with_resolved_project(
|
|
|
427
428
|
}
|
|
428
429
|
]
|
|
429
430
|
assert client.closed is True
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
@pytest.mark.asyncio
|
|
434
|
+
async def test_python_tool_test_runs_embedded_source_without_login(
|
|
435
|
+
monkeypatch, tmp_path, capsys
|
|
436
|
+
):
|
|
437
|
+
definition = {
|
|
438
|
+
"type": "python",
|
|
439
|
+
"name": "lookup",
|
|
440
|
+
"input_schema": {
|
|
441
|
+
"type": "object",
|
|
442
|
+
"properties": {"id": {"type": "string"}},
|
|
443
|
+
"required": ["id"],
|
|
444
|
+
"additionalProperties": False,
|
|
445
|
+
},
|
|
446
|
+
"source": "async def lookup(args): return args",
|
|
447
|
+
}
|
|
448
|
+
spec = tmp_path / "agent.yaml"
|
|
449
|
+
spec.write_text(
|
|
450
|
+
json.dumps(
|
|
451
|
+
{"metadata": {"name": "test"}, "allowed_models": [], "tools": [definition]}
|
|
452
|
+
)
|
|
453
|
+
)
|
|
454
|
+
|
|
455
|
+
async def unexpected_login():
|
|
456
|
+
raise AssertionError("plain tools must not require login")
|
|
457
|
+
|
|
458
|
+
monkeypatch.setattr(agents, "get_client", unexpected_login)
|
|
459
|
+
await agents.test_python_tool(
|
|
460
|
+
spec=spec, tool="lookup", input_json='{"id":"abc"}', project_id=None
|
|
461
|
+
)
|
|
462
|
+
assert json.loads(capsys.readouterr().out)["result"] == {"id": "abc"}
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
@pytest.mark.asyncio
|
|
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
|
+
|
|
524
|
+
|
|
525
|
+
@pytest.mark.asyncio
|
|
526
|
+
async def test_python_tool_test_resolves_secret_environment_with_current_identity(
|
|
527
|
+
monkeypatch, tmp_path
|
|
528
|
+
):
|
|
529
|
+
spec = tmp_path / "agent.yaml"
|
|
530
|
+
spec.write_text(
|
|
531
|
+
json.dumps(
|
|
532
|
+
{
|
|
533
|
+
"metadata": {"name": "test"},
|
|
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"}}],
|
|
540
|
+
"tools": [
|
|
541
|
+
{
|
|
542
|
+
"name": "lookup",
|
|
543
|
+
"source": "async def lookup(args): return args",
|
|
544
|
+
"input_schema": {
|
|
545
|
+
"type": "object",
|
|
546
|
+
"properties": {},
|
|
547
|
+
"required": [],
|
|
548
|
+
"additionalProperties": False,
|
|
549
|
+
},
|
|
550
|
+
}
|
|
551
|
+
],
|
|
552
|
+
}
|
|
553
|
+
)
|
|
554
|
+
)
|
|
555
|
+
|
|
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
|
+
)
|
|
587
|
+
|
|
588
|
+
|
|
589
|
+
@pytest.mark.asyncio
|
|
590
|
+
async def test_python_tool_test_reports_runner_failure(monkeypatch, tmp_path):
|
|
591
|
+
from meshagent.api import RoomException
|
|
592
|
+
|
|
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
|
+
)
|
|
@@ -10,6 +10,7 @@ from meshagent.cli.local_settings import (
|
|
|
10
10
|
DEFAULT_API_URL,
|
|
11
11
|
SavedProfileRecord,
|
|
12
12
|
list_saved_profiles,
|
|
13
|
+
normalize_api_url,
|
|
13
14
|
resolve_api_url,
|
|
14
15
|
switch_active_profile,
|
|
15
16
|
)
|
|
@@ -99,10 +100,21 @@ async def switch(
|
|
|
99
100
|
),
|
|
100
101
|
),
|
|
101
102
|
] = None,
|
|
103
|
+
api_url: Annotated[
|
|
104
|
+
str | None,
|
|
105
|
+
typer.Option(
|
|
106
|
+
"--api-url", help="Select the environment containing the saved profile."
|
|
107
|
+
),
|
|
108
|
+
] = None,
|
|
102
109
|
):
|
|
103
110
|
selected_profile_selector = profile
|
|
104
111
|
if selected_profile_selector is None:
|
|
105
112
|
saved_profiles = list_saved_profiles()
|
|
113
|
+
environment = normalize_api_url(api_url)
|
|
114
|
+
if environment is not None:
|
|
115
|
+
saved_profiles = [
|
|
116
|
+
saved for saved in saved_profiles if saved.api_url == environment
|
|
117
|
+
]
|
|
106
118
|
if len(saved_profiles) == 0:
|
|
107
119
|
typer.echo("No saved local profiles.")
|
|
108
120
|
return
|
|
@@ -118,14 +130,18 @@ async def switch(
|
|
|
118
130
|
typer.echo(result.message)
|
|
119
131
|
return
|
|
120
132
|
|
|
121
|
-
selected_profile_selector = result.selected_profile.
|
|
133
|
+
selected_profile_selector = result.selected_profile.key
|
|
122
134
|
else:
|
|
123
135
|
for saved_profile in saved_profiles:
|
|
124
136
|
typer.echo(_format_saved_profile(saved_profile))
|
|
125
137
|
return
|
|
126
138
|
|
|
127
139
|
try:
|
|
128
|
-
selected_profile =
|
|
140
|
+
selected_profile = (
|
|
141
|
+
switch_active_profile(selected_profile_selector, api_url=api_url)
|
|
142
|
+
if api_url is not None
|
|
143
|
+
else switch_active_profile(selected_profile_selector)
|
|
144
|
+
)
|
|
129
145
|
except LookupError as exc:
|
|
130
146
|
typer.echo(str(exc))
|
|
131
147
|
raise typer.Exit(code=1) from exc
|
|
@@ -249,7 +249,7 @@ async def test_switch_launches_tui_when_no_selector_in_tty(monkeypatch) -> None:
|
|
|
249
249
|
|
|
250
250
|
await auth.switch()
|
|
251
251
|
|
|
252
|
-
assert selected_selectors == [
|
|
252
|
+
assert selected_selectors == [saved_profiles[1].key]
|
|
253
253
|
assert output == [
|
|
254
254
|
"Active profile: * Taylor Swift [user-456] @ https://api.meshagent.test",
|
|
255
255
|
]
|