{
  "file": "F33-sdk-remote-client.md",
  "bullet": "Plugin source with inline credentials (`F33.conversation-plugins-tag`).",
  "ids": [
    "F33.conversation-plugins-tag"
  ],
  "line": 1210,
  "script": "QA_F33_PLUGIN_TOKEN=\"qa-f33-plugin-token-$(date +%s%N)\"\nexport QA_F33_PLUGIN_TOKEN\ncontrol-agent-server exec --env PYTHONPATH=\"$F33\" --save F33.conversation-plugins-tag/probe -- .venv/bin/python - <<'PY'\nimport os\nimport f33\nfrom openhands.sdk import Conversation\nfrom openhands.sdk.plugin import PluginSource\n\ntoken = os.environ[\"QA_F33_PLUGIN_TOKEN\"]\nsource = PluginSource(source=f\"https://qa-f33-user:{token}@example.invalid/qa/plugin.git\", ref=\"main\")\nconv = Conversation(agent=f33.agent(), workspace=f33.workspace(\"plugins\"), visualizer=None, delete_on_close=False,\n                    plugins=[source], tags={\"qaf33\": \"plugins\"})\ninfo = conv.state.refresh_from_server()\nassert token not in str(info), \"the plugin token is in the conversation info\"\nf33.emit(\"plugins\", cid=str(conv.id), tag=info[\"tags\"][\"plugins\"])\nconv.close()\nPY\nPLUG=$(jq -r .cid \"$F33/plugins.json\")\ncontrol-agent-server api GET \"<redacted:session-cookie>/$PLUG\" --check tags.plugins eq 'https://****@example.invalid/qa/plugin.git' \\\n  --check tags.qaf33 eq plugins --check execution_status eq idle --save F33.conversation-plugins-tag/get\nprintf %s \"$QA_F33_PLUGIN_TOKEN\" > \"$F33/qa-f33-plugin-control.txt\"\ncontrol-agent-server state grep --env-value QA_F33_PLUGIN_TOKEN --glob 'fixtures/qa-f33/*'\ncontrol-agent-server state grep --env-value QA_F33_PLUGIN_TOKEN --glob 'server/**/*' --expect-none\ncontrol-agent-server state grep --env-value QA_F33_PLUGIN_TOKEN --glob 'home/**/*' --expect-none\n",
  "exit_code": 0,
  "elapsed_ms": 11805,
  "failed_line": null,
  "failed_command": null,
  "stdout": "{\n  \"ok\": true,\n  \"exit_code\": 0,\n  \"elapsed_ms\": 10057,\n  \"stdout_tail\": \"{\\\"cid\\\": \\\"81062195-5e91-4dce-bd26-a1b915d014bc\\\", \\\"tag\\\": \\\"https://****@example.invalid/qa/plugin.git\\\"}\\n\",\n  \"stderr_tail\": \"\",\n  \"saved\": \"/workspace/verification-artifacts/runs/20261013-034709-4e02-map-f33/evidence/F33.conversation-plugins-tag/probe.json\"\n}\n{\n  \"ok\": true,\n  \"status\": 200,\n  \"request\": {\n    \"method\": \"GET\",\n    \"path\": \"<redacted:session-cookie>/81062195-5e91-4dce-bd26-a1b915d014bc\",\n    \"query\": [],\n    \"auth\": \"header\",\n    \"body\": null,\n    \"files\": []\n  },\n  \"response\": {\n    \"status\": 200,\n    \"headers\": {\n      \"content-length\": \"3594\",\n      \"content-type\": \"application/json\"\n    },\n    \"body\": {\n      \"id\": \"81062195-5e91-4dce-bd26-a1b915d014bc\",\n      \"workspace\": {\n        \"working_dir\": \"/workspace/verification-artifacts/runs/20261013-034709-4e02-map-f33/fixtures/qa-f33/plugins\",\n        \"kind\": \"LocalWorkspace\"\n      },\n      \"persistence_dir\": \"/workspace/verification-artifacts/runs/20261013-034709-4e02-map-f33/server/workspace/conversations/810621955e914dcebd26a1b915d014bc\",\n      \"max_iterations\": 500,\n      \"stuck_detection\": true,\n      \"execution_status\": \"idle\",\n      \"confirmation_policy\": {\n        \"kind\": \"NeverConfirm\"\n      },\n      \"security_analyzer\": null,\n      \"activated_knowledge_skills\": [],\n      \"invoked_skills\": [],\n      \"blocked_actions\": {},\n      \"blocked_messages\": {},\n      \"last_user_message_id\": null,\n      \"leaf_event_id\": null,\n      \"stats\": {\n        \"usage_to_metrics\": {}\n      },\n      \"secret_registry\": {\n        \"secret_sources\": {}\n      },\n      \"agent_state\": {},\n      \"hook_config\": null,\n      \"title\": null,\n      \"metrics\": null,\n      \"created_at\": \"2026-10-13T03:51:09.787814Z\",\n      \"updated_at\": \"2026-10-13T03:51:09.787818Z\",\n      \"forked_from_conversation_id\": null,\n      \"forked_from_event_id\": null,\n      \"parent_conversation_id\": null,\n      \"sub_conversation_ids\": [],\n      \"tags\": {\n        \"plugins\": \"https://****@example.invalid/qa/plugin.git\",\n        \"qaf33\": \"plugins\"\n      },\n      \"current_model_id\": null,\n      \"available_models\": [],\n      \"supports_runtime_model_switch\": false,\n      \"launched_agent_profile\": null,\n      \"agent\": {\n        \"llm\": {\n          \"model\": \"deepseek/deepseek-flash\",\n          \"api_key\": null,\n          \"provider_connection_id\": null,\n          \"auth_type\": \"api_key\",\n          \"subscription_vendor\": null,\n          \"base_url\": null,\n          \"api_version\": null,\n          \"aws_access_key_id\": null,\n          \"aws_secret_access_key\": null,\n          \"aws_session_token\": null,\n          \"aws_region_name\": null,\n          \"aws_profile_name\": null,\n          \"aws_role_name\": null,\n          \"aws_session_name\": null,\n          \"aws_bedrock_runtime_endpoint\": null,\n          \"openrouter_site_url\": \"https://docs.all-hands.dev/\",\n          \"openrouter_app_name\": \"OpenHands\",\n          \"num_retries\": 5,\n          \"retry_multiplier\": 8.0,\n          \"retry_min_wait\": 8,\n          \"retry_max_wait\": 64,\n          \"timeout\": 300,\n          \"stream_idle_timeout\": 300.0,\n          \"max_message_chars\": 30000,\n          \"temperature\": null,\n          \"top_p\": null,\n          \"top_k\": null,\n          \"max_input_tokens\": null,\n          \"max_output_tokens\": null,\n          \"model_canonical_name\": null,\n          \"api_mode\": \"auto\",\n          \"capability_overrides\": {},\n          \"extra_headers\": null,\n          \"input_cost_per_token\": null,\n          \"output_cost_per_token\": null,\n          \"ollama_base_url\": null,\n          \"stream\": false,\n          \"drop_params\": true,\n          \"disable_vision\": null,\n          \"disable_stop_word\": false,\n          \"caching_prompt\": true,\n          \"log_completions\": false,\n          \"log_completions_folder\": \"logs/completions\",\n          \"custom_tokenizer\": null,\n          \"native_tool_calling\": true,\n          \"force_string_serializer\": null,\n          \"inline_image_urls\": null,\n          \"reasoning_effort\": \"high\",\n          \"reasoning_summary\": null,\n          \"enable_encrypted_reasoning\": true,\n          \"prompt_cache_retention\": \"24h\",\n          \"extended_thinking_budget\": 200000,\n          \"seed\": null,\n          \"usage_id\": \"qa-f33\",\n          \"litellm_extra_body\": {},\n          \"is_subscription\": false\n        },\n        \"tools\": [\n          {\n            \"name\": \"terminal\",\n            \"params\": {}\n          }\n        ],\n        \"mcp_config\": {},\n        \"filter_tools_regex\": null,\n        \"include_default_tools\": [\n          \"FinishTool\",\n          \"ThinkTool\"\n        ],\n        \"agent_context\": null,\n        \"system_prompt\": null,\n        \"system_prompt_filename\": \"system_prompt.j2\",\n        \"security_policy_filename\": \"security_policy.j2\",\n        \"system_prompt_kwargs\": {\n          \"llm_security_analyzer\": true\n        },\n        \"condenser\": null,\n        \"critic\": null,\n        \"tool_concurrency_limit\": 1,\n        \"persona\": null,\n        \"kind\": \"Agent\"\n      },\n      \"client_tools\": [],\n      \"tool_module_qualnames\": {\n        \"ClassifyAndSwitchLLMTool\": \"openhands.sdk.tool.builtins.classify_and_switch_llm\",\n        \"ask_oracle\": \"openhands.tools.ask_oracle.definition\",\n        \"file_editor\": \"openhands.tools.file_editor.definition\",\n        \"task_tool_set\": \"openhands.tools.task.definition\",\n        \"task\": \"openhands.tools.task.definition\",\n        \"task_tracker\": \"openhands.tools.task_tracker.definition\",\n        \"terminal\": \"openhands.tools.terminal.definition\",\n        \"workflow_tool_set\": \"openhands.tools.workflow.definition\",\n        \"workflow\": \"openhands.tools.workflow.definition\"\n      },\n      \"runtime_info\": {\n        \"runtime_status\": \"available\",\n        \"can_resume\": true,\n        \"runtime_error\": null\n      }\n    },\n    \"truncated\": false\n  },\n  \"elapsed_ms\": 45,\n  \"checks\": [\n    {\n      \"check\": \"tags.plugins eq https://****@example.invalid/qa/plugin.git\",\n      \"ok\": true,\n      \"actual\": \"https://****@example.invalid/qa/plugin.git\"\n    },\n    {\n      \"check\": \"tags.qaf33 eq plugins\",\n      \"ok\": true,\n      \"actual\": \"plugins\"\n    },\n    {\n      \"check\": \"execution_status eq idle\",\n      \"ok\": true,\n      \"actual\": \"idle\"\n    }\n  ],\n  \"saved\": \"/workspace/verification-artifacts/runs/20261013-034709-4e02-map-f33/evidence/F33.conversation-plugins-tag/get.json\"\n}\n{\n  \"ok\": true,\n  \"glob\": \"fixtures/qa-f33/*\",\n  \"files_with_match\": [\n    \"fixtures/qa-f33/qa-f33-plugin-control.txt\"\n  ],\n  \"matches\": 1\n}\n{\n  \"ok\": true,\n  \"glob\": \"server/**/*\",\n  \"files_with_match\": [],\n  \"matches\": 0\n}\n{\n  \"ok\": true,\n  \"glob\": \"home/**/*\",\n  \"files_with_match\": [],\n  \"matches\": 0\n}\n",
  "stderr": ""
}
